/* khelo bet24 — indiakhelobet24.com
   Light editorial marketplace · ice-blue trust accent · technical-grotesk UI
   Stack: native HTML + CSS + vanilla JS. No framework, no Tailwind, no Motion.
*/

:root {
  /* Light surface palette */
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --bg-tinted: #EEF3FA;
  --bg-elev: #F9FBFE;
  --line: #DCE3EE;
  --line-soft: #E8EDF5;

  /* Ink */
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --ink-4: #94A3B8;
  --ink-on-dark: #E2E8F0;

  /* Accent — ice-blue trust */
  --accent: #2563EB;
  --accent-2: #1D4ED8;
  --accent-3: #3B82F6;
  --accent-soft: #DBEAFE;
  --accent-ink: #FFFFFF;

  /* Status */
  --ok: #047857;
  --warn: #B45309;
  --err: #B91C1C;
  --live: #DC2626;

  /* Numerals / signature */
  --numeral: #1E293B;
  --numeral-faint: rgba(30, 41, 59, 0.07);

  /* Type */
  --ff-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --container-wide: 1400px;
  --nav-h: 64px;
  --tabbar-h: 64px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--s-12) 0; }

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.5vw, 40px); line-height: 1.12; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.22; }
h4 { font-size: 18px; line-height: 1.32; }

p { margin: 0 0 var(--s-4) 0; }
p:last-child { margin-bottom: 0; }

/* Layout containers */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: var(--s-6);
  background: var(--ink); color: #fff; padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md); z-index: 999; transition: top 0.15s;
}
.skip-link:focus { top: var(--s-3); }

/* ===== UTILITY MASTHEAD (Header) ===== */
.masthead {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: var(--s-6);
}
.brand {
  display: flex; align-items: center; gap: var(--s-3); color: var(--ink);
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 700; color: #fff;
  font-size: 18px; letter-spacing: -0.02em;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.brand-name {
  font-family: var(--ff-display); font-weight: 700; font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-top: -2px;
}
.nav-primary { display: flex; align-items: center; gap: 4px; }
.nav-primary a {
  display: inline-flex; align-items: center; height: 36px;
  padding: 0 var(--s-4); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.nav-primary a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-primary a.is-active { background: var(--accent-soft); color: var(--accent-2); }
.nav-utility { display: flex; align-items: center; gap: var(--s-3); }
.nav-utility a {
  display: inline-flex; align-items: center; height: 36px;
  padding: 0 var(--s-4); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.nav-utility a:hover { background: var(--bg-soft); }

/* Mobile menu trigger */
.menu-trigger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.menu-trigger span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.18s, opacity 0.18s;
}
.menu-trigger span + span { margin-top: 4px; }
.menu-trigger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-trigger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(15,23,42,0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.18s;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100dvh;
  width: min(320px, 90vw); background: #fff;
  padding: calc(var(--nav-h) + var(--s-4)) var(--s-5) var(--s-5);
  overflow-y: auto; transform: translateX(100%); transition: transform 0.22s ease;
  display: flex; flex-direction: column; gap: var(--s-2);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-panel a {
  display: flex; align-items: center; height: 44px; padding: 0 var(--s-4);
  border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink);
}
.drawer-panel a:hover { background: var(--bg-soft); }
.drawer-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 22px; color: var(--ink);
}

/* ===== SCORE STRIP ===== */
.score-strip {
  background: var(--ink); color: var(--ink-on-dark);
  font-family: var(--ff-mono); font-size: 12px;
  border-bottom: 1px solid #1E293B;
}
.score-strip-inner {
  display: flex; gap: var(--s-6); padding: var(--s-3) 0;
  overflow-x: auto; scrollbar-width: none;
}
.score-strip-inner::-webkit-scrollbar { display: none; }
.score-cell {
  display: inline-flex; align-items: center; gap: var(--s-2);
  white-space: nowrap;
}
.score-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.score-dot.live { background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.score-value { color: #fff; font-weight: 600; }
.score-divider { color: var(--ink-4); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: 44px; padding: 0 var(--s-5); border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s, transform 0.06s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 4px 16px rgba(37, 99, 235, 0.32); }
.btn-ghost {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-dark {
  background: var(--ink); color: #fff;
}
.btn-lg { height: 52px; padding: 0 var(--s-6); font-size: 15px; }
.btn-sm { height: 36px; padding: 0 var(--s-4); font-size: 13px; }

/* ===== HOMEPAGE HERO — asymmetric lead ===== */
.hero {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
  padding: var(--s-16) 0 var(--s-20);
}
.hero::before {
  content: ''; position: absolute; top: 0; right: -8%; width: 60%; height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(37,99,235,0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s-10);
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 12px; font-weight: 600; color: var(--accent-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px var(--s-3); border-radius: 999px;
  background: var(--accent-soft);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin-top: var(--s-5);
  font-size: clamp(40px, 6vw, 72px);
}
.hero h1 .accent { color: var(--accent); }
.hero-lede {
  margin-top: var(--s-5);
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: var(--s-6); margin-top: var(--s-8);
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3);
  border-top: 1px solid var(--line-soft); padding-top: var(--s-4);
}
.hero-meta strong { display: block; font-family: var(--ff-display); font-size: 22px; color: var(--ink); font-weight: 700; margin-bottom: 2px; }

.hero-visual {
  position: relative; aspect-ratio: 1 / 1;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl);
  padding: var(--s-5);
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-4);
  box-shadow: var(--shadow-md);
}
.hero-visual-num {
  position: absolute; right: var(--s-3); top: -28px;
  font-family: var(--ff-display); font-weight: 700;
  font-size: 140px; line-height: 1; color: var(--numeral-faint);
  pointer-events: none; user-select: none;
}
.hero-visual-header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-visual-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2);
  align-content: center;
}
.tile {
  aspect-ratio: 1; border-radius: 10px; background: var(--bg-soft);
  border: 1px solid var(--line-soft); overflow: hidden; position: relative;
  display: grid; place-items: center;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-label {
  position: absolute; bottom: 4px; left: 4px; right: 4px;
  background: rgba(15,23,42,0.85); color: #fff;
  font-family: var(--ff-mono); font-size: 9px; padding: 2px 4px;
  border-radius: 4px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-visual-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: var(--s-3);
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3);
}
.hero-visual-footer .live-tag { color: var(--live); font-weight: 700; }

/* Section signature numeral */
.section {
  padding: var(--s-16) 0;
  position: relative;
}
.section-tight { padding: var(--s-12) 0; }
.section-soft { background: var(--bg-soft); }
.section-tinted { background: var(--bg-tinted); }
.section-elev { background: var(--bg-elev); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s-6);
  margin-bottom: var(--s-10);
  position: relative;
}
.section-num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(72px, 10vw, 144px); line-height: 0.85;
  color: var(--numeral-faint);
  pointer-events: none; user-select: none;
  position: absolute; right: -8px; top: -48px;
  z-index: 0;
}
.section-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.section-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.section-title { position: relative; z-index: 1; }
.section-title h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-title p { margin-top: var(--s-3); color: var(--ink-2); max-width: 60ch; }
.section-aside { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-end; }
.section-aside a { font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }

/* ===== EXPLAINER TIMELINE (chapter rail) ===== */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: #fff;
}
.timeline-step {
  padding: var(--s-6);
  border-right: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-3);
  background: #fff;
}
.timeline-step:last-child { border-right: 0; }
.timeline-num {
  font-family: var(--ff-display); font-weight: 700; font-size: 40px;
  color: var(--accent); line-height: 1;
}
.timeline-step h3 { font-size: 18px; }
.timeline-step p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ===== EVIDENCE GALLERY (mixed panels) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--s-4);
}
.gallery-feature {
  grid-row: span 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.gallery-feature .img-frame {
  aspect-ratio: 16 / 10; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--bg-tinted), var(--bg-soft));
  border: 1px solid var(--line-soft); overflow: hidden;
}
.gallery-feature .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery-feature h3 { font-size: 22px; }
.gallery-feature p { color: var(--ink-2); font-size: 15px; }
.gallery-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.gallery-tile h4 { font-size: 16px; }
.gallery-tile p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* ===== COMPARISON DESK (data table) ===== */
.compare {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: var(--s-4) var(--s-5); text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare thead th {
  background: var(--bg-soft); color: var(--ink-2); font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .tick { color: var(--ok); font-weight: 700; }
.compare .cross { color: var(--ink-4); }

/* ===== NEWS STREAM ===== */
.news-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-6);
}
.news-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.news-feature .img-frame {
  aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-soft); margin-bottom: var(--s-2);
}
.news-feature .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.news-meta {
  display: flex; gap: var(--s-3); align-items: center;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em;
}
.news-meta .pill {
  background: var(--accent-soft); color: var(--accent-2);
  padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.news-feature h3 { font-size: 24px; line-height: 1.2; }
.news-feature p { color: var(--ink-2); font-size: 15px; }
.news-list { display: flex; flex-direction: column; gap: var(--s-4); }
.news-row {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-4);
  display: grid; grid-template-columns: 100px 1fr; gap: var(--s-4);
}
.news-row .img-frame {
  aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-soft);
}
.news-row .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.news-row h4 { font-size: 15px; line-height: 1.32; }
.news-row time { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); }

/* ===== TRUST FOOTER ===== */
.trust-footer {
  background: var(--ink); color: var(--ink-on-dark);
  padding: var(--s-16) 0 var(--s-6);
}
.trust-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-8);
}
.trust-footer h4 {
  color: #fff; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: var(--s-4); font-weight: 600;
}
.trust-footer ul li { margin-bottom: var(--s-2); }
.trust-footer a { color: var(--ink-on-dark); font-size: 14px; }
.trust-footer a:hover { color: #fff; }
.trust-footer .brand-block { max-width: 320px; }
.trust-footer .brand-block p { color: var(--ink-3); font-size: 13px; margin-top: var(--s-3); }
.trust-footer .legal-row {
  border-top: 1px solid #1E293B; margin-top: var(--s-10); padding-top: var(--s-6);
  display: flex; justify-content: space-between; gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
}
.trust-footer .legal-row a { color: var(--ink-3); }
.trust-footer .legal-row a:hover { color: #fff; }
.trust-footer .socials { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.trust-footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: #1E293B; display: grid; place-items: center;
  color: var(--ink-on-dark);
}
.trust-footer .socials a:hover { background: var(--accent); color: #fff; }

/* ===== TRUST / RESPONSIBLE BAND ===== */
.trust-band {
  background: var(--bg-tinted); border-top: 1px solid var(--line);
  padding: var(--s-10) 0;
}
.trust-band-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.trust-pill {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 13px; font-weight: 500;
}
.trust-pill svg { color: var(--accent); flex-shrink: 0; }
.trust-pill strong { display: block; font-weight: 600; color: var(--ink); }
.trust-pill span { color: var(--ink-3); font-size: 12px; }

/* ===== LOBBY (game grid) ===== */
.lobby {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s-3);
}
.game-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.game-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.game-card .gc-img {
  aspect-ratio: 1; overflow: hidden; background: var(--bg-soft);
  position: relative;
}
.game-card .gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.game-card:hover .gc-img img { transform: scale(1.05); }
.game-card .gc-body { padding: var(--s-3); display: flex; flex-direction: column; gap: 4px; }
.game-card .gc-name { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card .gc-meta { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); }

/* Provider filter chips */
.filter-bar {
  display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-5);
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px var(--s-3); border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.filter-chip:hover { background: var(--bg-soft); }
.filter-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-chip .count { font-family: var(--ff-mono); font-size: 11px; opacity: 0.7; }

/* Search */
.search-box {
  display: flex; align-items: center; gap: var(--s-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0 var(--s-4); height: 44px;
  width: 100%; max-width: 420px;
}
.search-box input {
  border: 0; outline: 0; background: transparent;
  font-size: 14px; flex: 1; color: var(--ink);
}
.search-box input::placeholder { color: var(--ink-3); }
.search-box svg { color: var(--ink-3); }

/* Progressive load sentinel */
.load-sentinel {
  display: flex; justify-content: center; padding: var(--s-6) 0;
  color: var(--ink-3); font-size: 14px;
}

/* ===== CTA / Primary action bands ===== */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: var(--s-12);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center; gap: var(--s-8);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; right: -10%; top: -50%; width: 60%; height: 200%;
  background: radial-gradient(circle at center, rgba(37,99,235,0.3), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); }
.cta-band p { color: var(--ink-3); margin-top: var(--s-3); max-width: 52ch; }
.cta-band .btn { position: relative; }

/* ===== MOBILE STICKY CTA (single, full width, PLAY NOW) ===== */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  background: #fff;
  padding: var(--s-3) var(--s-4) calc(env(safe-area-inset-bottom, 0px) + var(--s-3));
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(15,23,42,0.08);
}
.mobile-cta .btn { width: 100%; height: 48px; }
.mobile-cta-disclosure {
  display: block; margin-top: var(--s-2);
  font-size: 11px; color: var(--ink-3); text-align: center; line-height: 1.4;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  width: 100%; padding: var(--s-4) var(--s-5);
  font-family: var(--ff-display); font-size: 16px; font-weight: 600;
  color: var(--ink); text-align: left;
  background: transparent; border: 0;
}
.faq-q::after {
  content: ''; flex-shrink: 0; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); margin-top: -4px;
  transition: transform 0.2s;
}
.faq-item.is-open .faq-q::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-a {
  padding: 0 var(--s-5) var(--s-5);
  font-size: 15px; color: var(--ink-2); line-height: 1.6;
  display: none;
}
.faq-item.is-open .faq-a { display: block; }

/* ===== Breadcrumbs ===== */
.crumbs {
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.04em;
  padding: var(--s-4) 0; text-transform: uppercase;
}
.crumbs a { color: var(--ink-3); }
.crums a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); }

/* ===== Cookie consent ===== */
.cookie-panel {
  position: fixed; bottom: var(--s-4); left: var(--s-4); right: var(--s-4);
  max-width: 480px; z-index: 250;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-lg);
  display: none;
}
.cookie-panel.is-open { display: block; }
.cookie-panel h3 { font-size: 16px; }
.cookie-panel p { font-size: 13px; color: var(--ink-2); margin-top: var(--s-2); }
.cookie-panel .actions { display: flex; gap: var(--s-2); margin-top: var(--s-4); flex-wrap: wrap; }
.cookie-panel .btn-sm { flex: 1; min-width: 90px; }
.cookie-panel .granular { margin-top: var(--s-4); border-top: 1px solid var(--line-soft); padding-top: var(--s-4); display: none; }
.cookie-panel .granular.is-open { display: block; }
.cookie-panel .granular label {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: 13px; padding: 6px 0;
}
.cookie-panel .granular input { accent-color: var(--accent); }
.cookie-panel .granular label small { display: block; font-size: 11px; color: var(--ink-3); margin-left: 22px; }

/* ===== Misc ===== */
.kbd {
  font-family: var(--ff-mono); font-size: 12px;
  background: var(--bg-soft); padding: 2px 6px; border-radius: 4px;
  border: 1px solid var(--line);
}
.divider-numeral {
  display: flex; align-items: center; gap: var(--s-4);
  margin: var(--s-12) 0;
}
.divider-numeral .line { flex: 1; height: 1px; background: var(--line); }
.divider-numeral .n {
  font-family: var(--ff-display); font-weight: 700; font-size: 28px;
  color: var(--ink);
}
.divider-numeral .n small {
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3);
  font-weight: 400; margin-left: var(--s-2);
}

.stat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-5);
}
.stat-tile .stat-num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 36px; color: var(--accent); line-height: 1; letter-spacing: -0.02em;
}
.stat-tile .stat-label {
  margin-top: var(--s-2); font-size: 13px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.stat-tile .stat-sub { font-size: 13px; color: var(--ink-2); margin-top: var(--s-2); }

/* ===== ARTICLE (news) ===== */
.article-shell { background: var(--bg-soft); }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-10);
}
.article-hero {
  aspect-ratio: 16 / 9; border-radius: var(--r-md);
  background: var(--bg-soft); overflow: hidden; margin-bottom: var(--s-6);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 70ch; margin: 0 auto; }
.article-body h2 {
  font-size: clamp(22px, 2.6vw, 30px); margin-top: var(--s-8);
  margin-bottom: var(--s-3);
}
.article-body p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: var(--s-4); }
.article-body ul li, .article-body ol li {
  font-size: 16px; color: var(--ink-2); line-height: 1.7;
  margin-bottom: var(--s-2); padding-left: var(--s-5); position: relative;
}
.article-body ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.article-meta {
  display: flex; gap: var(--s-3); align-items: center;
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--ink-3); margin-bottom: var(--s-3);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav-primary { display: none; }
  .menu-trigger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-step:nth-child(2) { border-right: 0; }
  .timeline-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-feature { grid-row: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .trust-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-band-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .article { padding: var(--s-6); }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline-step:last-child { border-bottom: 0; }
  .section { padding: var(--s-10) 0; }
  .section-num { font-size: 80px; right: 0; top: -32px; }
  .trust-footer .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .trust-band-grid { grid-template-columns: 1fr; }
  .hero { padding: var(--s-10) 0 var(--s-12); }
  .hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .news-row { grid-template-columns: 80px 1fr; gap: var(--s-3); }
  .lobby { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  .nav-utility { display: none; }
  .container { padding: 0 var(--s-4); }
  .article-body h2 { font-size: 22px; }
}

/* Section anchor offset for sticky nav */
section[id], div[id] { scroll-margin-top: 84px; }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible {
  outline-offset: 3px;
}

/* Print */
@media print {
  .masthead, .mobile-cta, .score-strip, .drawer, .cookie-panel { display: none; }
  body { background: #fff; color: #000; }
}
