:root{--red:#cc0000;--red2:#aa0000;--bg:#0a0a0a;--bg2:#111;--bg3:#1a1a1a;--border:#1e1e1e;--text:#e0e0e0;--muted:#888;--dim:#555}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Noto Sans',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;min-height:100vh}
body.light{--bg:#f5f5f5;--bg2:#fff;--bg3:#eee;--border:#ddd;--text:#111;--muted:#666;--dim:#999}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

/* TOP BAR */
.topbar{background:#0d0d0d;border-bottom:1px solid var(--border);padding:5px 20px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--dim)}
.topbar-r{display:flex;align-items:center;gap:14px}.topbar-r a{color:var(--dim)}.topbar-r a:hover{color:var(--red)}
.live-dot{display:flex;align-items:center;gap:5px;color:#22c55e;font-weight:600;font-size:11px}
.live-dot span{width:7px;height:7px;border-radius:50%;background:#22c55e;animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.4)}}
.sep{color:var(--border)}
.theme-toggle{background:none;border:none;color:var(--muted);cursor:pointer;font-size:14px;padding:2px 4px}

/* ANNOUNCEMENT */
.announce-bar{background:var(--red);color:#fff;padding:8px 20px;text-align:center;font-size:13px;font-weight:600;display:flex;justify-content:space-between;align-items:center}
.announce-bar button{background:none;border:none;color:#fff;cursor:pointer;font-size:16px}

/* HEADER */
.site-header{background:#111;border-bottom:2px solid var(--red);padding:0 20px;position:sticky;top:0;z-index:200}
.header-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}
.logo-img{height:46px;object-fit:contain}
.logo-link:hover{opacity:.9}
.search-wrap{flex:1;max-width:480px;position:relative}
.search-form{display:flex;background:var(--bg3);border:1px solid var(--border);border-radius:8px;overflow:hidden;transition:.2s}
.search-form:focus-within{border-color:var(--red)}
.search-input{flex:1;background:none;border:none;padding:10px 14px;color:var(--text);font-size:14px;outline:none}
.search-btn{background:var(--red);border:none;color:#fff;padding:0 16px;cursor:pointer;transition:.15s}
.search-btn:hover{background:var(--red2)}
.srch-suggest{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--bg2);border:1px solid var(--border);border-radius:8px;z-index:300;display:none}
.srch-suggest.show{display:block}
.suggest-item{padding:10px 14px;font-size:13px;cursor:pointer;border-bottom:1px solid var(--border)}
.suggest-item:last-child{border-bottom:none}
.suggest-item:hover{background:var(--bg3);color:var(--red)}
.header-r{display:flex;align-items:center;gap:10px}
.admin-btn{background:var(--red);color:#fff;padding:7px 14px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}
.admin-btn:hover{background:var(--red2)}
.hamburger{display:none;background:none;border:none;color:var(--text);cursor:pointer}

/* NAVIGATION */
.main-nav{background:var(--bg2);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;overflow-x:auto;gap:2px;padding:0 20px;scrollbar-width:none}
.nav-inner::-webkit-scrollbar{display:none}
.nav-link{padding:10px 14px;font-size:13px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap;transition:.15s}
.nav-link:hover,.nav-link.active{color:var(--red);border-bottom-color:var(--red)}

/* BREAKING BAR */
.breaking-bar{background:#1a0000;border-bottom:1px solid #330000;display:flex;align-items:center;overflow:hidden;height:34px}
.breaking-label{background:var(--red);color:#fff;padding:0 14px;font-size:11px;font-weight:800;letter-spacing:1px;white-space:nowrap;display:flex;align-items:center;gap:6px;height:100%}
.ticker-wrap{flex:1;overflow:hidden;position:relative}
.ticker{white-space:nowrap;animation:ticker 30s linear infinite;font-size:13px;color:#ffcccc;padding:0 20px;line-height:34px}
@keyframes ticker{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}

/* READING PROGRESS */
.read-progress{position:fixed;top:0;left:0;height:3px;background:var(--red);width:0;z-index:999;transition:width .1s}

/* MAIN LAYOUT */
.main{max-width:1280px;margin:0 auto;padding:24px 20px}
.page-wrap{display:grid;grid-template-columns:1fr 320px;gap:28px}
.content-col{min-width:0}

/* SHIMMER LOADING */
.shimmer{position:relative;background:var(--bg3);overflow:hidden;display:flex;align-items:center;justify-content:center}
.shimmer.loaded{display:none}
.shimmer-logo{opacity:.12;pointer-events:none}
.shimmer-logo img{height:40px;object-fit:contain}
.shimmer-shine{position:absolute;top:0;left:-100%;width:60%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);animation:shimmer 1.6s infinite}
@keyframes shimmer{0%{left:-100%}100%{left:200%}}

/* HERO CARD */
.hero-card{display:block;border-radius:12px;overflow:hidden;margin-bottom:24px;position:relative;cursor:pointer;transition:.2s}
.hero-card:hover{transform:translateY(-2px)}
.hero-img-wrap{position:relative;height:440px;overflow:hidden}
.hero-img-wrap .shimmer{height:440px;border-radius:0}
.hero-img{width:100%;height:100%;object-fit:cover;display:block}
.hero-overlay{position:absolute;bottom:0;left:0;right:0;padding:28px;background:linear-gradient(transparent,rgba(0,0,0,.9))}
.hero-overlay h1{font-size:26px;font-weight:900;color:#fff;line-height:1.3;margin:8px 0}

/* SECTION HEADERS */
.sec-head{display:flex;align-items:center;gap:12px;margin:28px 0 16px}
.sec-head h2{font-size:18px;font-weight:800;color:var(--text);white-space:nowrap}
.sec-line{height:3px;background:var(--red);flex:0 0 4px;border-radius:2px}
.sec-head::after{content:'';flex:1;height:1px;background:var(--border)}
.see-all{font-size:12px;color:var(--red);white-space:nowrap;font-weight:600}
.see-all:hover{text-decoration:underline}

/* NEWS CARDS GRID */
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px}
.cards-grid.four-col{grid-template-columns:repeat(4,1fr)}
.card{display:block;background:var(--bg2);border:1px solid var(--border);border-radius:10px;overflow:hidden;transition:.2s;cursor:pointer}
.card:hover{transform:translateY(-3px);border-color:var(--red);box-shadow:0 8px 24px rgba(204,0,0,.15)}
.card-img-wrap{position:relative;height:180px;overflow:hidden;background:var(--bg3)}
.card-img-wrap .shimmer{height:180px}
.card-img{width:100%;height:100%;object-fit:cover;transition:.3s;display:block}
.card:hover .card-img{transform:scale(1.05)}
.card-body{padding:14px}
.card-title{font-size:14px;font-weight:700;line-height:1.4;margin:6px 0;color:var(--text)}
.card-sum{font-size:12px;color:var(--muted);line-height:1.5;margin-top:4px}
.card-img-wrap.tall{height:260px}.card-img-wrap.tall .shimmer{height:260px}

/* CATEGORY GRID */
.cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}
.cat-big{display:block;border-radius:10px;overflow:hidden;position:relative;cursor:pointer}
.cat-overlay{position:absolute;bottom:0;left:0;right:0;padding:16px;background:linear-gradient(transparent,rgba(0,0,0,.88))}
.cat-overlay h3{font-size:15px;font-weight:700;color:#fff;line-height:1.35}
.cat-sm-list{display:flex;flex-direction:column;gap:10px}
.sm-card{display:flex;gap:10px;padding:8px;background:var(--bg2);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:.15s}
.sm-card:hover{border-color:var(--red)}
.sm-img-wrap{width:80px;height:60px;flex-shrink:0;border-radius:6px;overflow:hidden;background:var(--bg3);position:relative}
.sm-img-wrap img{width:100%;height:100%;object-fit:cover}
.sm-img-wrap .shimmer{height:60px}
.sm-body p{font-size:13px;font-weight:600;line-height:1.35;color:var(--text)}

/* META */
.meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--dim);margin-top:6px}
.meta-sm{font-size:11px;color:var(--dim)}

/* CAT TAGS / BADGES */
.cat-tag{display:inline-block;padding:3px 9px;border-radius:4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;background:var(--red);color:#fff;margin-bottom:4px}
.cat-tag.xs{font-size:10px;padding:2px 6px}
.politics{background:#7c3aed}.sports{background:#0284c7}.business{background:#059669}
.technology{background:#0891b2}.entertainment{background:#d97706}.world{background:#4338ca}
.health{background:#dc2626}.science{background:#0f766e}.rashifal{background:#b45309}

/* SIDEBAR */
.sidebar{position:sticky;top:70px;height:fit-content}
.widget{background:var(--bg2);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:20px}
.widget-head{padding:12px 16px;font-size:13px;font-weight:800;color:var(--text);border-bottom:1px solid var(--border);background:var(--bg3)}
.trend-item{display:flex;align-items:flex-start;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border);cursor:pointer;transition:.15s}
.trend-item:last-child{border-bottom:none}
.trend-item:hover{background:var(--bg3)}
.trend-num{font-size:20px;font-weight:900;color:var(--border);min-width:28px;line-height:1}
.trend-num.hot{color:var(--red)}
.trend-item p{font-size:12.5px;font-weight:600;line-height:1.4;color:var(--text)}
.sm-img-wrap.tiny{width:60px;height:46px;border-radius:5px}

/* AD AREAS */
.ad-wrap{background:var(--bg3);border:1px dashed var(--border);border-radius:8px;min-height:90px;margin:20px 0;display:flex;align-items:center;justify-content:center;text-align:center}
.ad-footer{max-width:1280px;margin:0 auto;padding:0 20px 16px}
.sticky-ad{position:sticky;top:70px}

/* ARTICLE PAGE */
.art-wrap{max-width:760px}
.breadcrumb{font-size:12px;color:var(--dim);margin-bottom:14px;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.breadcrumb a:hover{color:var(--red)}
.art-title{font-size:28px;font-weight:900;line-height:1.3;color:var(--text);margin:10px 0 12px}
.art-lead{font-size:16px;color:var(--muted);line-height:1.6;margin-bottom:14px;border-left:3px solid var(--red);padding-left:14px}
.art-byline{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--dim);margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.byline-author{color:var(--red);font-weight:600}
.byline-author:hover{text-decoration:underline}
.read-time{background:var(--bg3);padding:3px 8px;border-radius:4px;font-size:11px}

/* SHARE ROW */
.share-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.share-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--bg3);color:var(--text);transition:.15s}
.share-btn:hover{opacity:.85}
.share-btn.wa{background:#1a472a;border-color:#22c55e;color:#4ade80}
.share-btn.tw{background:#0a1a2a;border-color:#1d9bf0;color:#7dd3fc}
.share-btn.fb{background:#0a1a3a;border-color:#1877f2;color:#93c5fd}
.share-btn.copy{background:var(--bg3)}

/* COVER IMAGE */
.cover-wrap{position:relative;border-radius:10px;overflow:hidden;margin-bottom:22px;height:420px}
.cover-wrap .shimmer{height:420px}
.cover-img{width:100%;height:100%;object-fit:cover;display:block}

/* ARTICLE BODY */
.art-body{font-size:16px;line-height:1.8;color:var(--text);margin-bottom:24px}
.art-body h2,.art-body h3{color:var(--text);margin:24px 0 12px;font-weight:800}
.art-body h2{font-size:22px}.art-body h3{font-size:18px}
.art-body p{margin-bottom:16px}
.art-body img{border-radius:8px;margin:16px 0}
.art-body a{color:var(--red)}
.art-body blockquote{border-left:3px solid var(--red);padding:12px 18px;background:var(--bg2);margin:20px 0;border-radius:0 8px 8px 0;font-style:italic}
.art-body ul,.art-body ol{margin:12px 0 12px 24px}
.art-body li{margin-bottom:6px}

/* REACTIONS */
.reactions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px;background:var(--bg2);border:1px solid var(--border);border-radius:10px;margin-bottom:18px}
.reactions>span{font-size:13px;font-weight:600;color:var(--muted);margin-right:4px}
.react-btn{background:var(--bg3);border:1px solid var(--border);border-radius:7px;padding:8px 14px;font-size:13px;cursor:pointer;color:var(--text);transition:.2s;display:flex;align-items:center;gap:6px}
.react-btn:hover{border-color:var(--red);background:#1a0000}
.react-btn.reacted{border-color:var(--red);background:#1a0000;color:var(--red)}

/* TAGS */
.tags-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.tag-chip{background:var(--bg3);border:1px solid var(--border);padding:5px 12px;border-radius:20px;font-size:12px;color:var(--muted);transition:.15s}
.tag-chip:hover{border-color:var(--red);color:var(--red)}

/* COMMENTS */
.comments-sec{margin-top:28px}
.comment{display:flex;gap:12px;margin-bottom:18px}
.comment-av{width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;flex-shrink:0}
.comment p{font-size:13.5px;color:var(--text);margin-top:4px;line-height:1.6}
.comment-form{background:var(--bg2);border:1px solid var(--border);border-radius:10px;padding:20px;margin-top:20px}
.comment-form h4{font-size:15px;font-weight:700;margin-bottom:14px}
.comment-form input,.comment-form textarea{width:100%;background:var(--bg3);border:1px solid var(--border);border-radius:7px;padding:10px 14px;color:var(--text);font-size:14px;outline:none;margin-bottom:12px;font-family:inherit;resize:vertical}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--red)}
.comment-form button{background:var(--red);color:#fff;border:none;border-radius:7px;padding:10px 20px;font-size:14px;font-weight:700;cursor:pointer}
.comment-form button:hover{background:var(--red2)}

/* CATEGORY HERO */
.cat-hero{background:linear-gradient(135deg,#1a0000,var(--bg2));border-bottom:3px solid var(--red);padding:32px 20px;text-align:center}
.cat-hero h1{font-size:30px;font-weight:900;color:#fff;margin-bottom:6px}
.cat-hero p{color:var(--muted);font-size:14px}

/* PAGINATION */
.pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:28px 0}
.page-btn{background:var(--bg2);border:1px solid var(--border);color:var(--text);padding:9px 18px;border-radius:7px;font-size:13px;font-weight:600;cursor:pointer;transition:.15s}
.page-btn:hover{border-color:var(--red);color:var(--red)}
.page-num{font-size:13px;color:var(--muted)}

/* SEARCH PAGE */
.search-page{max-width:900px;margin:0 auto;padding:28px 20px}
.search-hero{text-align:center;margin-bottom:28px}
.search-hero h1{font-size:28px;font-weight:900;margin-bottom:18px}
.search-big-form{display:flex;gap:10px;max-width:600px;margin:0 auto}
.search-big-form input{flex:1;background:var(--bg2);border:1px solid var(--border);border-radius:8px;padding:11px 16px;color:var(--text);font-size:15px;outline:none}
.search-big-form input:focus{border-color:var(--red)}
.search-big-form select{background:var(--bg2);border:1px solid var(--border);border-radius:8px;padding:11px 12px;color:var(--text);font-size:14px;outline:none}
.search-big-form button{background:var(--red);color:#fff;border:none;border-radius:8px;padding:11px 20px;font-size:14px;font-weight:700;cursor:pointer}
.search-count{text-align:center;color:var(--muted);font-size:14px;margin-bottom:20px}
.container{max-width:1280px;margin:0 auto;padding:24px 20px}

/* AUTHOR PAGE */
.author-hero{background:var(--bg2);border-bottom:1px solid var(--border);padding:32px 20px;max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:24px}
.author-av{width:90px;height:90px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:900;color:#fff;flex-shrink:0;overflow:hidden;border:3px solid var(--red)}
.author-av img{width:100%;height:100%;object-fit:cover}
.author-hero h1{font-size:24px;font-weight:900;margin-bottom:4px}
.author-role{color:var(--red);font-size:14px;font-weight:600;margin-bottom:6px}
.author-bio{font-size:14px;color:var(--muted);line-height:1.6}

/* STATIC PAGE */
.static-page{max-width:800px;margin:0 auto;padding:40px 20px}
.static-page h1{font-size:28px;font-weight:900;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--red)}
.static-body{font-size:15px;line-height:1.8;color:var(--text)}
.static-body h3{font-size:18px;font-weight:700;margin:24px 0 10px;color:var(--text)}
.static-body p{margin-bottom:14px;color:var(--muted)}
.static-body ul{margin:10px 0 14px 20px;color:var(--muted)}
.static-body li{margin-bottom:6px}

/* ERROR PAGES */
.error-page{text-align:center;padding:80px 20px}
.error-code{font-size:96px;font-weight:900;color:var(--red);line-height:1;margin-bottom:16px}
.error-page h2{font-size:24px;font-weight:800;margin-bottom:10px}
.error-page p{color:var(--muted);font-size:15px;margin-bottom:24px}
.error-links{display:flex;justify-content:center;gap:12px}
.btn-primary{background:var(--red);color:#fff;padding:10px 22px;border-radius:7px;font-size:14px;font-weight:700}
.btn-primary:hover{background:var(--red2)}
.btn-secondary{background:var(--bg2);border:1px solid var(--border);color:var(--text);padding:10px 22px;border-radius:7px;font-size:14px;font-weight:700}
.btn-back{display:inline-block;background:var(--red);color:#fff;padding:9px 20px;border-radius:7px;font-size:13px;font-weight:700;margin-top:14px}

/* EMPTY STATE */
.empty-state{text-align:center;padding:60px 20px;color:var(--dim)}
.empty-icon{font-size:48px;margin-bottom:14px}
.empty-state h3{font-size:20px;font-weight:700;margin-bottom:8px;color:var(--muted)}

/* FLASH */
.flash-zone{position:sticky;top:0;z-index:500;max-width:1280px;margin:0 auto;padding:8px 20px}
.flash{padding:10px 16px;border-radius:7px;font-size:13px;margin-bottom:6px;display:flex;justify-content:space-between;align-items:center;animation:fadeIn .3s}
.flash-success{background:#0a2a0a;border:1px solid #166534;color:#4ade80}
.flash-info{background:#0a1a2a;border:1px solid #1e3a5f;color:#60a5fa}
.flash-danger{background:#2a0a0a;border:1px solid #7a1010;color:#f87171}
.flash button{background:none;border:none;color:inherit;cursor:pointer;font-size:16px}
@keyframes fadeIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

/* FOOTER */
.site-footer{background:#080808;border-top:2px solid var(--red);margin-top:40px;padding:40px 20px 0}
.footer-top{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:32px;margin-bottom:32px}
.footer-logo{height:40px;margin-bottom:12px;object-fit:contain}
.site-footer p{font-size:13px;color:var(--dim);line-height:1.6}
.footer-col h4{font-size:13px;font-weight:800;color:var(--text);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:8px}
.footer-col ul li a{font-size:13px;color:var(--dim);transition:.15s}
.footer-col ul li a:hover{color:var(--red)}
.social-row{display:flex;gap:12px;margin-top:14px}
.social-row a{width:34px;height:34px;background:var(--bg3);border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--muted);transition:.15s}
.social-row a:hover{background:var(--red);color:#fff}
.newsletter-form{display:flex;margin-top:10px;border-radius:7px;overflow:hidden;border:1px solid var(--border)}
.newsletter-form input{flex:1;background:var(--bg3);border:none;padding:9px 12px;color:var(--text);font-size:13px;outline:none}
.newsletter-form button{background:var(--red);border:none;color:#fff;padding:9px 14px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.footer-bottom{border-top:1px solid var(--border);padding:16px 0;display:flex;justify-content:space-between;align-items:center;max-width:1280px;margin:0 auto;font-size:12px;color:var(--dim)}
.footer-bottom div{display:flex;gap:14px}
.footer-bottom a{color:var(--dim)}.footer-bottom a:hover{color:var(--red)}

/* BACK TO TOP */
.btt{position:fixed;bottom:24px;right:24px;background:var(--red);color:#fff;border:none;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:16px;display:none;align-items:center;justify-content:center;z-index:500;box-shadow:0 4px 12px rgba(204,0,0,.4)}
.btt.show{display:flex}
.btt:hover{background:var(--red2)}

/* MOBILE */
@media(max-width:900px){
.page-wrap{grid-template-columns:1fr}
.sidebar{position:static}
.cards-grid{grid-template-columns:repeat(2,1fr)}
.cards-grid.four-col{grid-template-columns:repeat(2,1fr)}
.cat-grid{grid-template-columns:1fr}
.footer-top{grid-template-columns:1fr 1fr}
.hero-img-wrap{height:260px}.hero-img-wrap .shimmer{height:260px}
.hero-overlay h1{font-size:18px}
.art-title{font-size:22px}
.cover-wrap{height:220px}.cover-wrap .shimmer{height:220px}
.hamburger{display:block}
.main-nav{display:none}
.main-nav.open{display:block}
.nav-inner{flex-direction:column;align-items:flex-start;padding:8px}
.nav-link{width:100%;border-left:none;border-bottom:1px solid var(--border)}
}
@media(max-width:560px){
.cards-grid{grid-template-columns:1fr}
.footer-top{grid-template-columns:1fr}
.author-hero{flex-direction:column;text-align:center}
.share-row{gap:6px}
.share-btn{padding:5px 9px;font-size:11px}
}

/* FADE IN UTILITY */
.lazy-loaded{animation:fadeImg .4s}
@keyframes fadeImg{from{opacity:0}to{opacity:1}}
