/* comeliveipl7 — Stadium Emerald Newsroom
   Color: DARK_COLOR_SYSTEM_290_STADIUM_EMERALD
   Typography: TYPOGRAPHY_SYSTEM_014 (Nunito Sans + Noto Sans Devanagari)
   Layout: LAYOUT_CSS_PROMPT_098_NICHE_NEWS_PORTAL
   Menu: MENU_SYSTEM_014
   CTA: CTA_VARIANT_016
*/

:root {
  --primary: #37CB6E;
  --primary-dark: #2B9E56;
  --primary-soft: rgba(55, 203, 110, 0.16);
  --accent: #FAD028;
  --accent-soft: rgba(250, 208, 40, 0.14);

  --background: #041312;
  --surface: #09231C;
  --surface-2: #123C31;
  --surface-3: #0B1F19;
  --surface-elev: #10352A;

  --text: #F8FAFC;
  --text-strong: #FFFFFF;
  --muted: #CBD5E1;
  --muted-soft: #94A3B8;
  --danger: #F25C5C;
  --info: #59A6FF;

  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.22);

  --gradient: linear-gradient(135deg, #041312 0%, #09231C 48%, #123C31 100%);
  --gradient-accent: linear-gradient(135deg, rgba(55,203,110,0.20) 0%, rgba(250,208,40,0.10) 100%);
  --gradient-deep: linear-gradient(180deg, #041312 0%, #04180F 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(0,0,0,0.25);
  --shadow: 0 10px 32px rgba(0,0,0,0.40);
  --shadow-lg: 0 22px 60px rgba(0,0,0,0.55);

  --container: 1280px;

  --font-sans: 'Nunito Sans', 'Noto Sans Devanagari', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  background-image:
    radial-gradient(900px 600px at 8% -10%, rgba(55,203,110,0.10), transparent 65%),
    radial-gradient(700px 500px at 100% 20%, rgba(250,208,40,0.06), transparent 70%),
    linear-gradient(180deg, #041312 0%, #04180F 60%, #041312 100%);
  background-attachment: fixed;
  min-height: 100dvh;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: #ffe489; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { font-weight: 800; color: var(--text-strong); line-height: 1.18; letter-spacing: -0.012em; margin: 0 0 0.6em; }
h1 { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.16; }
h3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.28; }
h4 { font-size: 17px; line-height: 1.4; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.7; max-width: 70ch; }

.container { width: min(100%, var(--container)); margin-inline: auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

/* =================== Skip Link =================== */
.skip-link {
  position: absolute; left: -200px; top: -200px; background: var(--accent); color: #0a0a0a;
  padding: 10px 14px; font-weight: 800; border-radius: 6px; z-index: 999; transition: top .2s;
}
.skip-link:focus { left: 12px; top: 12px; }

/* =================== Header / Nav =================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(4, 19, 18, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px; padding: 12px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: grid; place-items: center; color: #042014;
  font-weight: 900; font-size: 19px; letter-spacing: -0.04em;
  box-shadow: 0 6px 18px rgba(55,203,110,0.35);
}
.brand-text { line-height: 1; }
.brand-name {
  font-weight: 900; font-size: 19px; letter-spacing: -0.02em; color: var(--text-strong);
  display: block;
}
.brand-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-top: 4px; display: block;
}

.main-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
  justify-content: flex-end;
}
.main-nav a {
  color: var(--muted); font-weight: 700; font-size: 15px;
  padding: 10px 14px; border-radius: 10px;
  transition: background .15s ease, color .15s ease;
  position: relative;
}
.main-nav a:hover { color: var(--text-strong); background: rgba(255,255,255,0.06); }
.main-nav a.is-active { color: var(--text-strong); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.main-nav-cta { display: inline-flex; align-items: center; gap: 10px; margin-left: 14px; }

.hamburger {
  display: none; background: transparent; border: 1px solid var(--border); color: var(--text);
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
  position: relative; z-index: 220;
}
.hamburger .bar {
  display: block; width: 22px; height: 2px; background: var(--text-strong);
  margin: 4px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0; width: min(88vw, 360px); height: 100dvh;
  background: linear-gradient(180deg, #04201A 0%, #021513 100%);
  border-left: 1px solid var(--border);
  padding: 92px 22px 28px; z-index: 215;
  transform: translateX(105%); transition: transform .28s ease;
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }

/* Accessible close control lives inside the drawer so it cannot be covered by
   the header's lower stacking context. */
.drawer-close {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  color: var(--text-strong);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.drawer-close:hover { background: rgba(255,255,255,0.12); border-color: var(--accent); }
.drawer-close:active { transform: scale(.97); }
.drawer-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.mobile-drawer a {
  color: var(--text); font-weight: 700; font-size: 17px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid transparent;
}
.mobile-drawer a:hover { background: rgba(255,255,255,0.05); border-color: var(--border-soft); }
.mobile-drawer .drawer-cta { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 210;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .main-nav > a:not(.is-cta),
  .main-nav > .main-nav-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* =================== Buttons =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 800; font-size: 15px; letter-spacing: 0.005em;
  padding: 12px 22px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #042014;
  box-shadow: 0 10px 26px rgba(55, 203, 110, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #51d97e 0%, #34b167 100%); color: #02140c; }
.btn-ghost {
  background: transparent; color: var(--text-strong);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #08240d; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* =================== Hero =================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 110px);
  border-bottom: 1px solid var(--border-soft);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 78% 18%, rgba(55,203,110,0.20), transparent 60%),
    radial-gradient(700px 480px at 100% 90%, rgba(250,208,40,0.10), transparent 60%);
  pointer-events: none; z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid rgba(250,208,40,0.28); margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--primary); }
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 10px; background: rgba(55,203,110,0.30); border-radius: 6px; z-index: -1;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-trust {
  margin-top: 30px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(11, 31, 25, 0.7); border: 1px solid var(--border-soft);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px;
}
.hero-trust-item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-item strong { font-size: 19px; color: var(--text-strong); font-weight: 900; }
.hero-trust-item span { color: var(--muted-soft); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

/* Hero visual — scoreboard */
.hero-visual {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #062a22 0%, #0c3a30 100%);
  padding: 24px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(55,203,110,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.scorecard-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.scorecard-top-left { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse 1.6s infinite; box-shadow: 0 0 12px var(--danger); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.scorecard-top-right { color: var(--muted); font-size: 12px; }

.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 22px 0; }
.team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.team-flag {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #1B5B49, #0E3B2F);
  display: grid; place-items: center; font-weight: 900; font-size: 22px; color: var(--primary);
  border: 1px solid var(--border);
}
.team-name { font-weight: 800; color: var(--text-strong); font-size: 15px; line-height: 1.2; }
.team-form { color: var(--muted-soft); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.vs-pill {
  background: rgba(250,208,40,0.16); color: var(--accent); border: 1px solid rgba(250,208,40,0.32);
  padding: 8px 14px; border-radius: 12px; font-weight: 900; letter-spacing: 0.14em;
}

.score-strip { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 18px; padding: 16px; background: rgba(0,0,0,0.32); border-radius: 12px; }
.score-side { text-align: center; }
.score-side .name { font-size: 12px; color: var(--muted-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.score-side .total { font-size: 30px; font-weight: 900; color: var(--text-strong); line-height: 1; font-feature-settings: "tnum"; }
.score-side .overs { font-size: 12px; color: var(--muted); margin-top: 4px; }
.score-divider { color: var(--accent); font-size: 22px; align-self: center; }

.fixture-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.fixture-meta span { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.fixture-meta strong { color: var(--text-strong); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero { padding: 36px 0 48px; min-height: auto; }
}

/* =================== Sections =================== */
.section {
  padding: clamp(48px, 6vw, 88px) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--border-soft); }
.section-header {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap;
}
.section-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.section-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section-title { margin: 0; }
.section-subtitle { color: var(--muted); max-width: 56ch; margin: 14px 0 0; }
.section-action a { color: var(--accent); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* Compliance strip */
.compliance-strip {
  background: linear-gradient(90deg, rgba(55,203,110,0.18) 0%, rgba(250,208,40,0.10) 50%, rgba(55,203,110,0.18) 100%);
  border-block: 1px solid var(--border);
  padding: 14px 0;
}
.compliance-strip-inner {
  display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); font-weight: 600;
}
.compliance-strip-inner strong { color: var(--text-strong); }
.compliance-strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.compliance-strip-inner .pill {
  background: rgba(4,19,18,0.6); border: 1px solid var(--border); padding: 4px 10px;
  border-radius: var(--radius-pill); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); font-weight: 800;
}

/* Hub Grid */
.hub-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
@media (max-width: 880px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; min-height: 196px; text-decoration: none; color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.hub-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.hub-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.hub-card:hover::before { transform: scaleY(1); }
.hub-card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 14px;
  border: 1px solid rgba(55,203,110,0.28);
}
.hub-card .icon svg { width: 22px; height: 22px; }
.hub-card h3 { margin: 0 0 8px; font-size: 19px; }
.hub-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.hub-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border-soft); }
.hub-card .meta span { color: var(--muted-soft); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.hub-card .meta .arrow { color: var(--accent); font-weight: 800; transition: transform .2s ease; }
.hub-card:hover .meta .arrow { transform: translateX(4px); }

.hub-card.is-live { border-color: rgba(242, 92, 92, 0.28); }
.hub-card.is-live .icon { background: rgba(242,92,92,0.16); color: var(--danger); border-color: rgba(242,92,92,0.32); }
.hub-card.is-featured {
  background: linear-gradient(140deg, #0c3a30 0%, #054b35 100%);
  border-color: rgba(55,203,110,0.34);
}
.hub-card.is-featured .icon { background: rgba(250,208,40,0.18); color: var(--accent); border-color: rgba(250,208,40,0.34); }

/* Featured row */
.feature-row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px;
}
@media (max-width: 880px) { .feature-row { grid-template-columns: 1fr; } }

.feature-lead {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, #0c3528 0%, #06221b 100%);
  display: flex; flex-direction: column;
}
.feature-lead .feature-body { padding: 28px; }
.feature-lead .tag { display: inline-flex; padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(250,208,40,0.16); border: 1px solid rgba(250,208,40,0.32); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-lead h2 { margin: 16px 0 12px; font-size: clamp(22px, 2.4vw, 30px); }
.feature-lead p { color: var(--muted); margin: 0; }
.feature-lead .feature-meta { display: flex; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--border); color: var(--muted-soft); font-size: 13px; flex-wrap: wrap; }
.feature-lead .feature-meta strong { color: var(--text-strong); }

.feature-stack { display: flex; flex-direction: column; gap: 18px; }
.feature-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; flex: 1;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }
.feature-card .feature-card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-soft); }
.feature-card .feature-card-row .time { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Match strip */
.match-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px; padding: 18px; background: linear-gradient(120deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
@media (max-width: 880px) { .match-strip { grid-template-columns: 1fr; } }
.match-tile {
  background: rgba(4,19,18,0.55); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.match-tile .row { display: flex; justify-content: space-between; align-items: center; }
.match-tile .row .label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-soft); font-weight: 800; }
.match-tile .row .live { color: var(--danger); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.match-tile .row .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 8px var(--danger); animation: pulse 1.6s infinite; }
.match-tile .row .upcoming { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.match-tile .versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.match-tile .team-side { display: flex; align-items: center; gap: 8px; }
.match-tile .team-crest { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); display: grid; place-items: center; font-weight: 900; font-size: 13px; color: var(--primary); border: 1px solid var(--border); }
.match-tile .team-side .name { font-weight: 800; font-size: 13px; color: var(--text-strong); line-height: 1.2; }
.match-tile .team-side.right { justify-content: end; text-align: right; }
.match-tile .vs { font-size: 12px; color: var(--accent); font-weight: 900; padding: 6px 10px; border-radius: 8px; background: rgba(250,208,40,0.10); border: 1px solid rgba(250,208,40,0.28); }
.match-tile .score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--border-soft); border-bottom: 1px dashed var(--border-soft); }
.match-tile .score .cell { font-size: 18px; font-weight: 900; color: var(--text-strong); line-height: 1; font-feature-settings: "tnum"; text-align: center; }
.match-tile .score .cell .over { display: block; font-size: 11px; color: var(--muted-soft); margin-top: 4px; font-weight: 600; }
.match-tile .score .vs-line { color: var(--accent); font-weight: 900; }
.match-tile .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.match-tile .meta strong { color: var(--text-strong); }

/* Stat tiles */
.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .stat-band { grid-template-columns: 1fr; } }
.stat-tile {
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.stat-tile::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px;
  border-radius: 50%; background: radial-gradient(circle, rgba(55,203,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.stat-tile .label { font-size: 12px; color: var(--muted-soft); letter-spacing: 0.10em; text-transform: uppercase; font-weight: 800; }
.stat-tile .value { font-size: 36px; font-weight: 900; color: var(--text-strong); letter-spacing: -0.02em; line-height: 1; font-feature-settings: "tnum"; }
.stat-tile .delta { font-size: 13px; color: var(--primary); font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.stat-tile.is-gold .value, .stat-tile.is-gold .delta { color: var(--accent); }
.stat-tile.is-gold::after { background: radial-gradient(circle, rgba(250,208,40,0.18) 0%, transparent 70%); }
.stat-tile .helper { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* News grid (article cards) */
.news-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none; color: inherit;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.news-card .cover {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0f3a2e, #06241b);
  display: grid; place-items: center; position: relative;
}
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .cover .pill {
  position: absolute; left: 12px; top: 12px;
  background: rgba(4,19,18,0.85); border: 1px solid var(--border); color: var(--accent);
  padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase;
}
.news-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card h3 { font-size: 18px; margin: 0; }
.news-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }
.news-card .meta { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-soft); color: var(--muted-soft); font-size: 12px; }
.news-card .meta strong { color: var(--text-strong); font-weight: 800; }
.news-card .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-soft); display: inline-block; }

/* Rankings table */
.rank-table-wrap {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px;
  overflow-x: auto;
}
.rank-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.rank-table th, .rank-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--border-soft); }
.rank-table th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-soft); font-weight: 800; }
.rank-table td { font-size: 14px; color: var(--text); }
.rank-table td strong { color: var(--text-strong); font-weight: 800; }
.rank-table tr:last-child td { border-bottom: 0; }
.rank-table tr.is-leader td { background: linear-gradient(90deg, rgba(55,203,110,0.10) 0%, transparent 100%); }
.rank-table .rank-num { width: 40px; font-weight: 900; color: var(--accent); }
.rank-table .crest { width: 28px; height: 28px; border-radius: 6px; background: var(--surface-2); display: inline-grid; place-items: center; color: var(--primary); font-weight: 900; margin-right: 8px; vertical-align: middle; border: 1px solid var(--border); }

/* How it works */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; counter-reset: step;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; position: relative; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; right: 16px; top: 14px;
  font-size: 36px; font-weight: 900; color: rgba(255,255,255,0.07); letter-spacing: -0.02em; line-height: 1;
}
.step .icon-wrap { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.step .icon-wrap svg { width: 20px; height: 20px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(250,208,40,0.32); }
.faq-item summary {
  cursor: pointer; font-weight: 800; color: var(--text-strong); font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 600; transition: transform .2s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #041312 0%, #02080A 100%);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px; margin-top: 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; font-weight: 800;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .15s ease; }
.footer-col a:hover { color: var(--text-strong); }
.footer-brand p { color: var(--muted-soft); font-size: 14px; margin: 12px 0 18px; max-width: 36ch; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--muted);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.footer-social a:hover { background: var(--accent); color: #08240d; border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  color: var(--muted-soft); font-size: 13px;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a { color: var(--muted-soft); }
.footer-bottom-links a:hover { color: var(--text-strong); }

.disclaimer {
  font-size: 12px; color: var(--muted-soft); line-height: 1.6; max-width: 90ch;
  padding: 16px 18px; border-radius: var(--radius);
  border: 1px dashed var(--border-soft); background: rgba(0,0,0,0.20);
  margin-top: 18px;
}

/* Sticky mobile CTA */
.sticky-mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  background: rgba(4,19,18,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.sticky-mobile-cta-inner {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
}
.sticky-mobile-cta .btn { flex: 1; padding: 12px; font-size: 14px; border-radius: 10px; }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .sticky-mobile-cta { display: block; }
}

/* Page layouts (child pages) */
.page-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(700px 460px at 90% 10%, rgba(55,203,110,0.18), transparent 60%),
    linear-gradient(180deg, #06241C 0%, #041312 100%);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero .breadcrumb { font-size: 13px; color: var(--muted-soft); margin-bottom: 12px; }
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb strong { color: var(--accent); }
.below-hero-band { background: var(--surface-3); border-bottom: 1px solid var(--border-soft); padding: 14px 0; }
.below-hero-band-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.below-hero-band-inner .pill { padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: rgba(0,0,0,0.30); color: var(--accent); font-weight: 800; letter-spacing: 0.06em; font-size: 11px; text-transform: uppercase; }

.page-body { padding: clamp(40px, 5vw, 80px) 0; }
.page-body h2 { margin-top: 38px; scroll-margin-top: 90px; }
.page-body h3 { margin-top: 28px; scroll-margin-top: 90px; }
.page-body p, .page-body li { color: var(--text); }
.page-body ul, .page-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.page-body li { margin-bottom: 6px; line-height: 1.65; }
.page-body blockquote {
  margin: 24px 0; padding: 18px 22px;
  border-left: 3px solid var(--accent); border-radius: 8px;
  background: rgba(250,208,40,0.06); color: var(--text);
  font-style: italic;
}
.page-body code { font-family: var(--font-mono); background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }

.callout {
  margin: 28px 0; padding: 22px 24px;
  border: 1px solid rgba(55,203,110,0.32); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(55,203,110,0.10), rgba(4,19,18,0.10));
  display: flex; gap: 18px; align-items: start;
}
.callout .icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.callout h4 { font-size: 16px; margin: 0 0 6px; color: var(--text-strong); }
.callout p { margin: 0; color: var(--muted); font-size: 14px; }

.image-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0;
}
@media (max-width: 720px) { .image-row { grid-template-columns: 1fr; } }
.image-row figure { margin: 0; }
.image-row figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.image-row figcaption { font-size: 13px; color: var(--muted); padding: 10px 4px 0; }

.pull-quote {
  margin: 36px 0; padding: 32px;
  background: linear-gradient(135deg, rgba(55,203,110,0.10), transparent);
  border-left: 4px solid var(--primary); border-radius: 6px;
}
.pull-quote blockquote { margin: 0; font-size: 22px; font-weight: 700; color: var(--text-strong); line-height: 1.4; font-style: normal; }
.pull-quote cite { display: block; margin-top: 14px; color: var(--accent); font-style: normal; font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

.toc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin: 0 0 32px;
}
.toc-card h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.toc-card ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-card li { counter-increment: toc; padding: 8px 0; border-bottom: 1px dashed var(--border-soft); font-size: 14px; }
.toc-card li:last-child { border-bottom: 0; }
.toc-card li::before { content: counter(toc, decimal-leading-zero) ".  "; color: var(--accent); font-weight: 800; }
.toc-card a { color: var(--text); font-weight: 600; }
.toc-card a:hover { color: var(--accent); }

.page-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 4vw, 48px); align-items: start;
}
.page-grid > * { min-width: 0; }
.inline-figure img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 980px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.sidebar-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; position: sticky; top: 96px;
}
.sidebar-card h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sidebar-card li a { color: var(--text); font-size: 14px; font-weight: 600; }
.sidebar-card li a:hover { color: var(--accent); }

.related-posts { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-soft); }
.related-posts h2 { margin-bottom: 22px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
@media (max-width: 880px) { .related-posts-grid { grid-template-columns: 1fr; } }

/* Bank/data tiles */
.bank-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 28px 0;
}
@media (max-width: 880px) { .bank-grid { grid-template-columns: 1fr; } }
.bank-tile {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.bank-tile h4 { font-size: 16px; margin: 0; }
.bank-tile .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--border-soft); margin-top: auto; }
.bank-tile .row strong { color: var(--text-strong); }
.bank-tile .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(250,208,40,0.28); text-transform: uppercase; letter-spacing: 0.08em; align-self: start; }

/* Sitemap / section index */
.index-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 880px) { .index-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .index-grid { grid-template-columns: 1fr; } }
.index-col h5 { color: var(--accent); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; }
.index-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.index-col a { color: var(--muted); font-size: 14px; font-weight: 600; }
.index-col a:hover { color: var(--text-strong); }

/* Inline image figure (used in article body) */
.inline-figure { margin: 28px 0; }
.inline-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.inline-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* TOC skip */
.anchor-target { scroll-margin-top: 92px; }

/* Subtle motion */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .fade-up.in { opacity: 1; transform: none; }
}

/* Print styles */
@media print {
  .site-header, .site-footer, .sticky-mobile-cta, .hamburger, .mobile-drawer, .scrim { display: none !important; }
  body { background: white; color: black; }
}

/* Selection */
::selection { background: var(--accent); color: #08240d; }
