/* SportsNova CMS — public stylesheet (design tokens + components)
   Developer: Mr Arslan CEO (https://www.codester.com/mrdigitalceo) */

:root{
  --bg:#F6F7FB; --surface:#fff; --surface-2:#EFF2F8; --header-bg:rgba(255,255,255,.82);
  --footer-bg:#0A1120; --ink:#0B1220; --muted:#4B5567; --faint:#6B7385;
  --border:#E4E7F0; --border-2:#EFF1F7;
  /* Brand: pitch-green -> sky-blue (day-match gradient), amber = live/scoreboard accent */
  --teal:#159559; --teal-h:#0F7A47; --teal-l:#DCFBE9;
  --blue:#2563EB; --blue-h:#1D4ED8; --blue-l:#DBEAFE;
  --live:#F5A524; --live-h:#DB8F16; --live-l:#FEF3DA;
  --grad:linear-gradient(135deg,#159559 0%,#0E8C7A 45%,#2563EB 100%);
  --grad-fill:linear-gradient(90deg,#159559 0%,#2563EB 100%);
  --ok-bg:#ECFDF5; --ok-tx:#047857; --ok-bd:#A7F3D0;
  --r-sm:6px; --r-md:12px; --r-lg:16px; --r-xl:24px; --r-full:9999px;
  --sh-sm:0 1px 2px rgba(11,18,32,.05); --sh-md:0 4px 6px -1px rgba(11,18,32,.1),0 2px 4px -1px rgba(11,18,32,.06);
  --sh-lg:0 12px 28px -6px rgba(11,18,32,.14); --glow-teal:0 0 25px rgba(21,149,89,.32);
  --f-head:'Outfit','Noto Sans Arabic',system-ui,sans-serif;
  --f-body:'Plus Jakarta Sans','Noto Sans Arabic',system-ui,sans-serif;
  --f-mono:'JetBrains Mono',monospace;
  --container:1280px;
  --header-h:76px; --header-h-m:62px;
}
[data-theme="dark"]{
  --bg:#080C15; --surface:#111827; --surface-2:#1B2434; --header-bg:rgba(10,15,25,.82);
  --footer-bg:#05070D; --ink:#F7F9FC; --muted:#9CA6BA; --faint:#6B7385;
  --border:#212B3D; --border-2:#141B29;
  --teal:#22C577; --teal-h:#4ADE93; --teal-l:rgba(34,197,119,.15);
  --blue:#3B82F6; --blue-h:#60A5FA; --blue-l:rgba(59,130,246,.15);
  --live:#FBBF43; --live-h:#FCD27E; --live-l:rgba(245,165,36,.15);
  --grad:linear-gradient(135deg,#22C577 0%,#149E8A 45%,#3B82F6 100%);
  --grad-fill:linear-gradient(90deg,#22C577 0%,#3B82F6 100%);
  --ok-bg:rgba(16,185,129,.15); --ok-tx:#34D399; --ok-bd:rgba(52,211,153,.3);
  --sh-lg:0 12px 32px -6px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-body);line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--f-head);line-height:1.15;letter-spacing:-.02em;margin:0 0 .5em}
h1{font-weight:800}h2{font-weight:700}
a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-h)}
img{max-width:100%;display:block}
.container{max-width:var(--container);margin-inline:auto;padding-inline:24px}
::selection{background:var(--teal);color:#fff}
.skip-link{position:absolute;left:-999px;top:0;background:var(--teal);color:#fff;padding:10px 16px;border-radius:0 0 8px 0;z-index:1000}
.skip-link:focus{left:0}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:4px}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-head);font-weight:700;font-size:15px;
  padding:13px 26px;border-radius:var(--r-full);border:1.5px solid transparent;cursor:pointer;transition:transform .18s,box-shadow .25s,background-color .2s,color .2s;text-decoration:none;line-height:1}
.btn-sm{padding:9px 18px;font-size:14px}
.btn-lg{padding:16px 34px;font-size:16px}
.btn-primary{background:var(--grad);color:#fff;box-shadow:var(--sh-md)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--glow-teal);color:#fff}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--teal);color:var(--teal);transform:translateY(-2px)}
.btn-outline{background:var(--surface);color:var(--teal);border-color:var(--teal)}
.btn-outline:hover{background:var(--teal);color:#fff}
.btn-block{width:100%;justify-content:center}

/* Announcement */
.announce{background:var(--grad);color:#fff;text-align:center;font-size:13.5px;font-weight:600;padding:8px 16px;letter-spacing:.01em}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:var(--header-bg);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:20px;height:var(--header-h)}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--f-head);font-weight:800;font-size:20px;color:var(--ink);min-width:0}
.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--grad);display:grid;place-items:center;color:#fff;font-size:19px;box-shadow:var(--glow-teal);flex-shrink:0}
.brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.main-nav{display:flex;gap:4px;margin-inline-start:auto;flex-wrap:wrap}
.main-nav a{color:var(--muted);font-weight:600;font-size:15px;padding:8px 14px;border-radius:var(--r-md);transition:background-color .2s,color .2s;white-space:nowrap}
.main-nav a:hover{color:var(--teal);background:var(--surface-2)}
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.header-search input{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-full);padding:9px 16px;font-family:inherit;font-size:14px;color:var(--ink);width:150px;transition:width .3s}
.header-search input:focus{width:200px;outline:none;border-color:var(--teal)}
.icon-btn{background:var(--surface-2);border:1px solid var(--border);color:var(--ink);width:40px;height:40px;border-radius:var(--r-md);display:grid;place-items:center;cursor:pointer;transition:.2s;font-weight:700;font-size:13px;flex-shrink:0}
.icon-btn:hover{border-color:var(--teal);color:var(--teal)}
.lang-select{position:relative}
.lang-select .icon-btn{width:auto;padding:0 13px;gap:2px}
.lang-btn-flag{margin-inline-end:5px;font-size:14px}
.lang-menu{position:absolute;top:110%;inset-inline-end:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--sh-lg);min-width:170px;max-height:70vh;overflow-y:auto;padding:6px;display:none;z-index:110}
.lang-menu.open{display:block}
.lang-menu a{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:8px;color:var(--ink);font-size:14px}
.lang-menu a:hover{background:var(--surface-2);color:var(--teal)}
.theme-toggle .i-moon{display:none}
[data-theme="dark"] .theme-toggle .i-sun{display:none}
[data-theme="dark"] .theme-toggle .i-moon{display:block}
.nav-cta{display:inline-flex}

/* Drawer */
.drawer-overlay{position:fixed;inset:0;background:rgba(5,8,15,.55);opacity:0;visibility:hidden;transition:.3s;z-index:200}
.drawer-overlay.open{opacity:1;visibility:visible}
.mobile-drawer{position:fixed;top:0;inset-inline-end:0;width:310px;max-width:86vw;height:100%;height:100dvh;background:var(--surface);z-index:201;transform:translateX(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);padding:18px;box-shadow:var(--sh-lg);overflow-y:auto;display:flex;flex-direction:column}
[dir="rtl"] .mobile-drawer{transform:translateX(-100%)}
.mobile-drawer.open{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-family:var(--f-head);font-weight:800;font-size:18px;flex-shrink:0}
.drawer-search{margin-bottom:16px;flex-shrink:0}
.drawer-search input{width:100%;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-full);padding:11px 16px;font-family:inherit;font-size:14px;color:var(--ink)}
.drawer-search input:focus{outline:none;border-color:var(--teal)}
.drawer-nav{display:flex;flex-direction:column}
.drawer-nav a{display:block;padding:15px 12px;border-radius:var(--r-md);color:var(--ink);font-weight:600;border-bottom:1px solid var(--border-2);font-size:15.5px}
.drawer-nav a:hover{background:var(--surface-2);color:var(--teal)}
.drawer-cta{margin-top:18px}
.drawer-section-label{text-transform:uppercase;letter-spacing:.1em;font-size:11.5px;font-weight:700;color:var(--faint);margin:22px 0 8px;padding:0 12px}
.drawer-lang{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px}
.drawer-lang a{display:flex;align-items:center;gap:6px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-full);padding:7px 13px;font-size:13.5px;font-weight:600;color:var(--muted)}
.drawer-lang a:hover{border-color:var(--teal);color:var(--teal)}
.drawer-foot{margin-top:auto;padding:14px 12px 4px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border-2)}
.drawer-foot span{font-size:13px;color:var(--faint);font-weight:600}

/* Bottom nav (mobile-only app-style tab bar; see mobile media query for visible styles) */
.bottom-nav{display:none}

/* Toast */
.toast{position:fixed;top:82px;inset-inline-end:24px;z-index:300;padding:14px 20px;border-radius:var(--r-md);font-weight:600;font-size:14px;box-shadow:var(--sh-lg);animation:slideIn .4s;max-width:340px}
.toast-ok{background:var(--ok-bg);color:var(--ok-tx);border:1px solid var(--ok-bd)}
.toast-err{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}
@keyframes slideIn{from{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}

/* Hero */
.hero{position:relative;padding:56px 0 88px;overflow:hidden}
.hero::before{content:"";position:absolute;top:-30%;inset-inline-end:-10%;width:600px;height:600px;background:radial-gradient(circle,var(--teal-l),transparent 70%);opacity:.7;z-index:0}
.hero::after{content:"";position:absolute;bottom:-25%;inset-inline-start:-12%;width:480px;height:480px;background:radial-gradient(circle,var(--live-l),transparent 70%);opacity:.6;z-index:0}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;position:relative;z-index:1}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);color:var(--teal);font-weight:700;font-size:13px;padding:7px 15px;border-radius:var(--r-full);text-transform:uppercase;letter-spacing:.1em;box-shadow:var(--sh-sm);margin-bottom:20px}
.hero-eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px var(--live-l);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.hero h1{font-size:clamp(2.3rem,5vw + 1rem,3.85rem);margin-bottom:16px}
.hero h1 .hl{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-bottom:22px;color:var(--faint);font-family:var(--f-head);font-weight:600;font-size:14px}
.hero-tags span{white-space:nowrap}
.hero-tags .sep{color:var(--border);font-weight:400}
.hero-sub{font-size:clamp(1rem,1.5vw,1.18rem);color:var(--muted);max-width:560px;margin-bottom:30px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.hero-actions .btn-lg{gap:10px}
.hero-stats{display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--border);background:var(--surface);border-radius:var(--r-lg);margin-bottom:26px;box-shadow:var(--sh-sm);overflow:hidden}
.hero-stats .stat{flex:1 1 auto;min-width:110px;padding:12px 18px;border-inline-end:1px solid var(--border-2)}
.hero-stats .stat:last-child{border-inline-end:0}
.hero-stats .stat .k{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--faint);font-weight:700;margin-bottom:3px}
.hero-stats .stat .v{display:block;font-family:var(--f-head);font-weight:800;font-size:15px;color:var(--ink)}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px}
.trust-pill{display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-full);padding:7px 14px;font-size:12.5px;font-weight:600;color:var(--muted)}
.trust-pill .chk{color:var(--teal);font-weight:800}
.hero-visual{position:relative;max-width:300px;margin-inline:auto}
.hero-visual .shot{border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--sh-lg);border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center}
.hero-visual .shot img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.hero-badge{position:absolute;bottom:-16px;inset-inline-start:-22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:13px 17px;box-shadow:var(--sh-lg);display:flex;align-items:center;gap:12px;max-width:220px}
.hero-badge .num{font-family:var(--f-head);font-weight:800;font-size:22px;color:var(--teal);flex-shrink:0}
.hero-badge-2{position:absolute;top:14px;inset-inline-end:-18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:10px 15px;box-shadow:var(--sh-lg);display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--ink)}
.hero-badge-2 .ic{color:var(--teal);flex-shrink:0}

/* Sections */
.section{padding:72px 0}
.section-sm{padding:48px 0}
.section-head{text-align:center;max-width:640px;margin:0 auto 48px}
.section-head.left{text-align:start;margin-inline:0}
.section-head h2{font-size:clamp(1.6rem,3vw,2.3rem)}
.section-head p{color:var(--muted);font-size:1.05rem}
.overline{text-transform:uppercase;letter-spacing:.15em;font-size:12.5px;font-weight:700;color:var(--teal);margin-bottom:10px;display:block}

/* Post cards */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.post-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.post-card:hover{transform:translateY(-6px);box-shadow:var(--sh-lg)}
.post-card .thumb{aspect-ratio:16/9;overflow:hidden;background:var(--surface-2)}
.post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.post-card:hover .thumb img{transform:scale(1.06)}
.post-card .body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.chip{display:inline-block;background:var(--teal-l);color:var(--teal);font-size:12px;font-weight:700;padding:4px 11px;border-radius:var(--r-full);align-self:flex-start;text-transform:uppercase;letter-spacing:.04em}
.post-card h3{font-size:1.2rem;margin:0}
.post-card h3 a{color:var(--ink)}.post-card h3 a:hover{color:var(--teal)}
.post-card .excerpt{color:var(--muted);font-size:14.5px;flex:1}
.post-meta{display:flex;gap:14px;color:var(--faint);font-size:13px;margin-top:auto;padding-top:8px;border-top:1px solid var(--border-2)}

/* Featured post */
.featured-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--sh-md)}
.featured-wrap .thumb{aspect-ratio:4/3;overflow:hidden}
.featured-wrap .thumb img{width:100%;height:100%;object-fit:cover}
.featured-body{padding:40px}
.featured-body h3{font-size:clamp(1.5rem,2.5vw,2rem)}

/* Trust strip */
.trust-strip{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-xl);padding:34px 40px;display:flex;gap:24px;align-items:center;box-shadow:var(--sh-md)}
.trust-strip .ic{width:56px;height:56px;border-radius:var(--r-lg);background:var(--teal-l);display:grid;place-items:center;flex-shrink:0;color:var(--teal)}
.trust-strip p{margin:0;color:var(--muted)}
.trust-strip strong{color:var(--ink)}

/* Download cards */
.dl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:26px}
.dl-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;transition:transform .25s,box-shadow .25s}
.dl-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
.dl-head{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.dl-icon{width:64px;height:64px;border-radius:var(--r-md);object-fit:cover;flex-shrink:0;border:1px solid var(--border)}
.dl-head h3{font-size:1.15rem;margin:0 0 4px}
.dl-head .dev{color:var(--faint);font-size:13px}
.badge-verified{display:inline-flex;align-items:center;gap:6px;background:var(--ok-bg);color:var(--ok-tx);border:1px solid var(--ok-bd);font-size:12px;font-weight:700;padding:4px 11px;border-radius:var(--r-full)}
.pill-row{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.pill{background:var(--surface-2);border:1px solid var(--border);color:var(--muted);font-size:12px;font-weight:600;padding:4px 11px;border-radius:var(--r-full)}
.checksum{font-family:var(--f-mono);font-size:11.5px;color:var(--faint);background:var(--surface-2);padding:8px 12px;border-radius:var(--r-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--border)}

/* Article */
.article-layout{display:grid;grid-template-columns:1fr 300px;gap:48px;align-items:start}
.article{max-width:820px}
.article-hero img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:var(--r-lg);margin-bottom:28px}
.article-body{font-size:17px;color:var(--ink)}
.article-body h2{font-size:1.6rem;margin-top:1.6em}
.article-body h3{font-size:1.3rem;margin-top:1.4em}
.article-body p{margin:1em 0;color:var(--muted)}
.article-body ul,.article-body ol{color:var(--muted);padding-inline-start:24px}
.article-body li{margin:.5em 0}
.article-body blockquote{border-inline-start:4px solid var(--teal);background:var(--surface-2);padding:18px 24px;border-radius:0 var(--r-md) var(--r-md) 0;font-style:italic;margin:1.5em 0;color:var(--ink)}
.article-body img{border-radius:var(--r-md);margin:1.5em 0}
.article-head h1{font-size:clamp(2rem,4vw,2.8rem);margin-bottom:16px}
.article-meta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;color:var(--faint);font-size:14px;margin-bottom:8px}
.sidebar{position:sticky;top:90px;display:flex;flex-direction:column;gap:24px}
.widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:22px}
.widget h4{font-size:1rem;margin-bottom:14px;text-transform:uppercase;letter-spacing:.08em;font-size:13px;color:var(--faint)}
.toc a{display:block;padding:7px 0;color:var(--muted);font-size:14px;border-inline-start:2px solid transparent;padding-inline-start:12px}
.toc a:hover{color:var(--teal);border-color:var(--teal)}
.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.tag-row a{background:var(--surface-2);color:var(--muted);font-size:13px;padding:5px 13px;border-radius:var(--r-full);font-weight:600}
.tag-row a:hover{background:var(--teal);color:#fff}
.author-box{display:flex;gap:16px;align-items:center;background:var(--surface-2);border-radius:var(--r-lg);padding:20px;margin:32px 0}
.author-box img{width:60px;height:60px;border-radius:50%;object-fit:cover}
.sources-box{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-md);padding:18px 22px;margin:28px 0}
.sources-box h4{margin-bottom:8px}
.share-row{display:flex;gap:10px;margin:24px 0}
.share-row a{width:42px;height:42px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--border);display:grid;place-items:center;color:var(--muted);font-weight:700}
.share-row a:hover{background:var(--teal);color:#fff}

/* FAQ / accordion */
.faq-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden}
.faq-q{width:100%;text-align:start;background:none;border:0;padding:20px 24px;font-family:var(--f-head);font-weight:700;font-size:16px;color:var(--ink);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq-q .plus{transition:transform .3s;color:var(--teal);font-size:22px;flex-shrink:0}
.faq-item.open .faq-q .plus{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;color:var(--muted)}
.faq-item.open .faq-a{max-height:400px}
.faq-a-inner{padding:0 24px 20px}

/* Newsletter block */
.news-block{background:var(--grad);border-radius:var(--r-xl);padding:56px;text-align:center;color:#fff}
.news-block h2{color:#fff}
.news-block p{color:rgba(255,255,255,.9);max-width:520px;margin:0 auto 24px}
.news-block form{display:flex;gap:10px;max-width:460px;margin:0 auto;flex-wrap:wrap}
.news-block input{flex:1;min-width:200px;padding:14px 18px;border-radius:var(--r-full);border:0;font-family:inherit;font-size:15px}
.news-block .btn{background:#fff;color:var(--teal)}

/* Footer */
.site-footer{background:var(--footer-bg);color:#cbd5e1;margin-top:72px;padding-top:60px;position:relative;overflow:hidden}
.site-footer::before{content:"";position:absolute;top:0;inset-inline:0;height:3px;background:var(--grad)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:36px;padding-bottom:44px}
.footer-about .brand-footer{color:#fff;margin-bottom:14px}
.footer-about .brand-footer .brand-text{overflow:visible;white-space:normal}
.footer-about p{color:#94a3b8;font-size:14.5px;max-width:340px;line-height:1.7}
.social-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.social-ico{width:40px;height:40px;border-radius:var(--r-md);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);display:grid;place-items:center;color:#fff;font-weight:700;transition:.2s;flex-shrink:0}
.social-ico:hover{background:var(--teal);border-color:transparent;color:#fff;transform:translateY(-3px)}
.footer-links h4,.footer-news h4{color:#fff;font-size:13.5px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px;font-weight:700}
.footer-links a{display:block;color:#94a3b8;font-size:14.5px;padding:7px 0;transition:color .2s}
.footer-links a:hover{color:var(--teal-h)}
.footer-news p{color:#94a3b8;font-size:14px;margin-bottom:14px;line-height:1.6}
.news-form{display:flex;gap:8px;flex-wrap:wrap}
.news-form input{flex:1;min-width:0;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-full);padding:11px 16px;color:#fff;font-family:inherit;font-size:14px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;padding-bottom:28px;text-align:center;font-size:13.5px;color:#94a3b8}
.footer-bottom .dev-credit{margin:8px 0}
.footer-bottom .dev-credit a{color:var(--teal-h);font-weight:700}
.footer-bottom .disclaimer{font-size:12px;color:#64748b;max-width:760px;margin:12px auto 0;line-height:1.6}

/* Consent */
.consent-banner{position:fixed;bottom:20px;inset-inline:20px;max-width:640px;margin-inline:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-lg);padding:20px 24px;z-index:400;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.consent-banner p{margin:0;font-size:14px;color:var(--muted);flex:1;min-width:240px}
.consent-actions{display:flex;gap:10px}
.consent-banner.hide{display:none}

/* SafeLink progress bar (pipe style) */
.safelink{background:var(--surface);border:2px solid var(--teal);border-radius:var(--r-lg);padding:24px 26px;margin:28px 0;box-shadow:var(--glow-teal)}
.safelink.bottom{margin-top:40px}
.safelink-disclosure{font-size:13px;color:var(--faint);background:var(--surface-2);border-radius:var(--r-sm);padding:10px 14px;margin-bottom:18px}
.sl-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.sl-title{font-family:var(--f-head);font-weight:800;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);display:flex;align-items:center;gap:8px}
.sl-time{font-family:var(--f-mono);font-size:15px;font-weight:700;color:var(--teal)}
.sl-track{height:20px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-full);overflow:hidden;box-shadow:inset 0 2px 4px rgba(0,0,0,.12);position:relative}
.sl-fill{height:100%;width:0;background:var(--grad-fill);border-radius:var(--r-full);transition:width 1s linear;position:relative;overflow:hidden}
.sl-fill::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);animation:shimmer 1.6s infinite}
@keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.sl-meta{display:flex;justify-content:space-between;align-items:center;margin-top:12px;flex-wrap:wrap;gap:8px}
.sl-pct{font-weight:800;font-family:var(--f-head);color:var(--ink);font-size:15px}
.sl-remain{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--faint);font-weight:600}
.sl-action{margin-top:18px;display:none}
.sl-action.show{display:block;animation:slideIn .4s}
@media (prefers-reduced-motion:reduce){.sl-fill{transition:none}.sl-fill::after{animation:none}}

/* Verify standalone */
.verify-page{max-width:640px;margin:60px auto;padding:0 20px;text-align:center}
.verify-page h1{font-size:1.8rem}

/* Pagination */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:48px}
.pagination a,.pagination span{padding:10px 16px;border-radius:var(--r-md);border:1px solid var(--border);color:var(--muted);font-weight:600;background:var(--surface)}
.pagination a:hover{border-color:var(--teal);color:var(--teal)}
.pagination .active{background:var(--grad);color:#fff;border-color:transparent}

/* Page hero (legal / cms) */
.page-hero{background:var(--surface-2);border-bottom:1px solid var(--border);padding:56px 0}
.page-hero h1{font-size:clamp(1.8rem,3.5vw,2.6rem)}
.breadcrumb{display:flex;gap:8px;color:var(--faint);font-size:13.5px;margin-bottom:14px}
.breadcrumb a{color:var(--muted)}
.prose{max-width:820px;margin:48px auto;padding:0 20px}
.prose h2{margin-top:1.5em}.prose p,.prose li{color:var(--muted)}

/* empty */
.empty{text-align:center;padding:60px 20px;color:var(--faint)}

/* Forms */
.form-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:32px;max-width:640px}
.field{margin-bottom:18px}
.field label{display:block;font-weight:600;font-size:14px;margin-bottom:7px}
.field input,.field textarea,.field select{width:100%;padding:13px 15px;border:1px solid var(--border);border-radius:var(--r-md);font-family:inherit;font-size:15px;background:var(--surface);color:var(--ink)}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-l)}
.field textarea{min-height:140px;resize:vertical}
.hp{position:absolute;left:-9999px}

/* ===== Responsive: tablet ===== */
@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-visual{order:-1}
  .hero-copy{text-align:center}
  .hero-tags,.hero-actions,.hero-trust{justify-content:center}
  .hero-sub{margin-inline:auto}
  .hero-stats{max-width:480px;margin-inline:auto}
  .featured-wrap{grid-template-columns:1fr}
  .article-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* ===== Responsive: mobile (header + footer priority) ===== */
@media(max-width:768px){
  .container{padding-inline:18px}
  /* header */
  .site-header .header-inner{height:var(--header-h-m)}
  .main-nav,.header-search,.nav-cta,.header-actions>.lang-select{display:none}
  .header-inner{gap:10px}
  .brand-mark{width:34px;height:34px;font-size:17px;border-radius:9px}
  .brand-text{font-size:17px;max-width:46vw}
  .icon-btn{width:38px;height:38px}
  .announce{font-size:12.5px;padding:7px 14px}
  /* drawer already full-height; nothing else needed */
  /* hero */
  .hero{padding:32px 0 24px}
  .hero-badge-2{display:none}
  .hero-badge{padding:10px 14px;max-width:180px}
  .hero-badge .num{font-size:18px}
  .hero-visual{max-width:190px}
  .hero-visual .shot img{max-height:280px}
  .hero-stats .stat{padding:10px 14px;min-width:96px}
  /* sections */
  .section{padding:48px 0}
  .section-sm{padding:36px 0}
  .section-head{margin-bottom:36px}
  .featured-wrap .thumb{aspect-ratio:16/9}
  .featured-body{padding:24px}
  .trust-strip{flex-direction:column;text-align:center;padding:26px 22px}
  .news-block{padding:32px 22px}
  .news-block form{flex-direction:column}
  .news-block input{width:100%}
  /* footer (extra bottom padding so the fixed bottom-nav never overlaps it) */
  .site-footer{margin-top:56px;padding-top:44px;padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .footer-grid{grid-template-columns:1fr;gap:32px;text-align:center;padding-bottom:32px}
  .footer-about{display:flex;flex-direction:column;align-items:center}
  .footer-about .brand-footer{justify-content:center}
  .social-row{justify-content:center}
  .footer-links,.footer-news{padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
  .news-form{justify-content:center;max-width:380px;margin-inline:auto}
  .footer-bottom{padding-bottom:0}
  .toast{inset-inline:16px;max-width:none}

  /* Bottom nav — mobile-only app-style tab bar, replaces the old top hamburger */
  .bottom-nav{
    display:flex;position:fixed;bottom:0;inset-inline:0;z-index:150;
    background:var(--header-bg);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
    border-top:1px solid var(--border);
    padding:5px 4px calc(5px + env(safe-area-inset-bottom));
    box-shadow:0 -8px 24px rgba(11,18,32,.08);
  }
  .bn-item{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    padding:6px 2px;border-radius:var(--r-md);color:var(--faint);background:none;border:0;font-family:inherit;
    text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .15s}
  .bn-ico{display:flex;width:22px;height:22px;align-items:center;justify-content:center}
  .bn-ico svg{width:21px;height:21px}
  .bn-label{font-size:10.5px;font-weight:700;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70px}
  .bn-item.active,.bn-item:active{color:var(--teal)}
}

/* ===== Responsive: small phones ===== */
@media(max-width:420px){
  .container{padding-inline:14px}
  .header-inner{gap:8px}
  .brand-text{font-size:15.5px;max-width:34vw}
  .icon-btn{width:34px;height:34px}
  .header-actions{gap:6px}
  .hero h1{font-size:2rem}
  .hero-tags{font-size:12.5px}
  .hero-actions .btn{flex:1 1 auto;justify-content:center}
  .hero-stats{flex-direction:column}
  .hero-stats .stat{border-inline-end:0;border-bottom:1px solid var(--border-2);text-align:center}
  .hero-stats .stat:last-child{border-bottom:0}
  .mobile-drawer{width:88vw}
  .post-grid{grid-template-columns:1fr}
  .dl-grid{grid-template-columns:1fr}
  .footer-links,.footer-news{width:100%}
  .news-form{flex-direction:column}
  .news-form button{width:100%;justify-content:center}
  .bn-label{font-size:9.5px}
  .bn-item{padding:6px 1px}
}
