/* ============================================================
   YONO Arcade Games — design system
   Theme: editorial-white-canvas + lime-sport accent
   Typography: editorial-sans-contrast (Inter + Spectral)
   Mode: adaptive (light default, dark opt-in via [data-theme="dark"])
   ============================================================ */

:root {
  /* Brand palette */
  --bg: #ffffff;
  --bg-soft: #f6f8f3;
  --bg-tint: #f1f5f9;
  --paper: #ffffff;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #475569;
  --muted-2: #64748b;
  --rule: #e2e8f0;
  --rule-2: #cbd5e1;

  /* Action colors */
  --accent: #84cc16;        /* lime-500 */
  --accent-strong: #65a30d; /* lime-600 */
  --accent-soft: #ecfccb;
  --accent-tint: #f7fee7;

  /* Feedback */
  --danger: #b91c1c;
  --warn: #b45309;
  --info: #1d4ed8;

  /* Surface elevations */
  --surface-1: #ffffff;
  --surface-2: #f8fafc;
  --shadow-1: 0 1px 2px rgba(15,23,42,.04), 0 2px 8px rgba(15,23,42,.04);
  --shadow-2: 0 4px 16px rgba(15,23,42,.06), 0 8px 32px rgba(15,23,42,.04);
  --shadow-pop: 0 10px 24px rgba(132,204,22,.18), 0 2px 6px rgba(15,23,42,.08);

  /* Type scale */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Layout */
  --max-w: 1240px;
  --max-w-narrow: 880px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  /* Header */
  --header-h: 72px;
  --sticky-cta-h: 60px;
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--s-5); }
.container-narrow { width: 100%; max-width: var(--max-w-narrow); margin-inline: auto; padding-inline: var(--s-5); }

.section { padding-block: clamp(var(--s-6), 6vw, var(--s-9)); }
.section-tight { padding-block: clamp(var(--s-5), 4vw, var(--s-7)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; background: var(--accent); display: inline-block;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.012em;
  color: var(--ink);
}
h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.14; font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.22; font-weight: 600; }
h4 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.28; font-weight: 600; }

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

/* ============================================================
   Skip link + accessibility
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px;
  z-index: 10000;
}
.skip-link:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Site header — sticky on scroll
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
  height: var(--header-h);
}
.site-header.scrolled {
  box-shadow: var(--shadow-1);
  background: rgba(255,255,255,0.97);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: var(--s-4);
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--ink);
}
.brand .mark {
  width: 38px; height: 38px;
  background: var(--ink);
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.brand .mark span {
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1;
}
.brand .mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
}
.brand small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}

.primary-nav {
  display: none;
}
.primary-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  display: inline-block; padding: 10px 14px;
  color: var(--ink-2); font-weight: 500; font-size: 14.5px;
  border-radius: 8px;
}
.primary-nav a:hover, .primary-nav a:focus-visible {
  background: var(--bg-soft); color: var(--ink);
}

.header-cta {
  display: none; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 0;
  white-space: nowrap;
}
@media (min-width: 720px) { .header-cta { display: inline-flex; } }
.header-cta:hover { background: var(--ink-2); }
.header-cta-ghost {
  display: none;
  padding: 10px 14px; font-weight: 600; font-size: 14px;
  color: var(--ink); border-radius: 10px;
  white-space: nowrap;
}
.header-cta-ghost:hover { background: var(--bg-soft); }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--rule);
  border-radius: 10px;
  position: relative; z-index: 60;
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--ink);
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }

@media (min-width: 960px) {
  .primary-nav { display: block; }
  .header-cta-ghost { display: inline-flex; }
  .hamburger { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: #fff;
  z-index: 55;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -8px 0 32px rgba(15,23,42,.18);
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer header {
  padding: 16px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.mobile-drawer .close {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--rule);
  background: #fff; font-size: 22px; line-height: 1;
}
.mobile-drawer nav ul { list-style: none; padding: 12px; margin: 0; }
.mobile-drawer nav a {
  display: block; padding: 14px 12px;
  border-radius: 10px; font-weight: 500; font-size: 16px;
}
.mobile-drawer nav a:hover, .mobile-drawer nav a:focus-visible { background: var(--bg-soft); }
.mobile-drawer .affiliate-strip {
  padding: 16px; margin-top: auto;
  border-top: 1px solid var(--rule);
}

.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.4);
  z-index: 53;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }

body.drawer-open { overflow: hidden; }

/* ============================================================
   Hero — product profile (split-axis timeline)
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(var(--s-6), 6vw, var(--s-9)) clamp(var(--s-6), 5vw, var(--s-8));
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(132,204,22,.10), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
.hero h1 { margin-top: var(--s-4); }
.hero .lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 56ch;
  margin-block: var(--s-4);
}
.hero .meta-row {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--muted); font-size: 14px; margin-block: var(--s-3);
}
.hero .meta-row b { color: var(--ink); font-weight: 600; }

.hero-figure {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.hero-figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  background: var(--bg-soft);
}
.hero-figure figcaption {
  margin-top: 12px; font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}

.fact-strip {
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 580px;
}
.fact-strip .item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.fact-strip .item b { display: block; font-size: 16px; color: var(--ink); font-weight: 700; }
.fact-strip .item span { display: block; font-size: 13px; color: var(--muted); }
.fact-strip .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

@media (min-width: 960px) {
  .hero .row {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--s-8);
  }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); }
.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  box-shadow: var(--shadow-1);
}
.card-tinted {
  background: var(--bg-soft);
  border-color: transparent;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: 1fr; }
.card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 720px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
  .card-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ============================================================
   Game tile
   ============================================================ */
.game-tile {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-width: 0;
}
.game-tile:hover {
  transform: translateY(-2px);
  border-color: var(--rule-2);
  box-shadow: var(--shadow-2);
}
.game-tile .thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--bg-soft), var(--accent-tint));
  display: flex; align-items: center; justify-content: center;
}
.game-tile .thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.game-tile .meta {
  padding: 12px 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.game-tile .name {
  font-weight: 600; font-size: 14px; line-height: 1.25;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-tile .provider {
  font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
  text-transform: uppercase;
}
.game-tile .provider-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
}
.game-tile .badge {
  font-size: 10.5px; padding: 2px 7px;
  background: var(--accent-tint); color: var(--accent-strong);
  border-radius: 999px; font-weight: 600;
}

/* Game tile grid with 5-col desktop target */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 560px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .game-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1320px) { .game-grid { grid-template-columns: repeat(6, 1fr); } }

/* ============================================================
   App tile (YONO apps)
   ============================================================ */
.app-tile {
  display: flex; gap: 14px; align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none; color: inherit;
  min-width: 0;
}
.app-tile:hover { border-color: var(--rule-2); box-shadow: var(--shadow-1); }
.app-tile .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--bg-soft);
  flex-shrink: 0;
  overflow: hidden;
}
.app-tile .icon img { width: 100%; height: 100%; object-fit: cover; }
.app-tile .name {
  font-weight: 600; font-size: 15px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.app-tile .cat { font-size: 12px; color: var(--muted); margin-top: 4px; }
.app-tile .arrow {
  margin-left: auto; color: var(--muted); font-size: 18px;
}

/* ============================================================
   Provider chip row
   ============================================================ */
.provider-strip {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.provider-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.provider-chip:hover { border-color: var(--rule-2); }
.provider-chip.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.provider-chip .count {
  font-size: 11px; color: var(--muted); font-weight: 600;
}
.provider-chip.active .count { color: var(--accent); }

/* ============================================================
   Search box
   ============================================================ */
.search {
  position: relative;
  display: flex; align-items: center;
}
.search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 11px;
  font-size: 14.5px;
}
.search input:focus { outline: 0; border-color: var(--ink); }
.search::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background:
    radial-gradient(circle at 35% 35%, transparent 5px, var(--ink) 5px 6px, transparent 6px),
    radial-gradient(circle at 35% 35%, transparent 0, transparent 0);
  border: 2px solid var(--ink);
  border-radius: 50%;
  clip-path: polygon(0 0, 70% 0, 70% 70%, 100% 100%, 100% 100%, 70% 70%, 70% 100%, 0 100%);
  width: 14px; height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.search::after {
  content: ""; position: absolute; left: 25px; top: 50%;
  width: 7px; height: 2px; background: var(--ink);
  transform: translateY(2px) rotate(45deg);
}

/* ============================================================
   Section header
   ============================================================ */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: var(--s-5);
}
.sec-head .lead {
  max-width: 56ch; color: var(--muted); margin-top: 8px; font-size: 15px;
}
.sec-head .actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* ============================================================
   Trust strip / comparison-ledger
   ============================================================ */
.ledger {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ledger table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.ledger th, .ledger td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--rule);
}
.ledger th {
  background: var(--bg-soft); font-weight: 600; color: var(--ink-2);
  font-size: 13px; letter-spacing: .02em;
}
.ledger tr:last-child td { border-bottom: 0; }
.ledger .check { color: var(--accent-strong); font-weight: 700; }
.ledger .cross { color: var(--muted-2); }
@media (max-width: 720px) {
  .ledger table, .ledger thead, .ledger tbody, .ledger tr, .ledger td, .ledger th {
    display: block;
  }
  .ledger thead { display: none; }
  .ledger tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .ledger td { padding: 4px 16px; border-bottom: 0; }
  .ledger td::before {
    content: attr(data-label); display: block;
    font-size: 11px; color: var(--muted); text-transform: uppercase;
    letter-spacing: .08em; margin-bottom: 2px;
  }
}

/* ============================================================
   Feature row (overview / features)
   ============================================================ */
.feature-row {
  display: grid; grid-template-columns: 1fr; gap: var(--s-5);
  align-items: center;
}
.feature-row.flag-alt { background: var(--bg-soft); border-radius: var(--radius-lg); padding: var(--s-6); }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .feature-row.reverse > :first-child { order: 2; }
}
.feature-row .img-frame {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.feature-row .img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 15px;
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-weight: 600; font-size: 16px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; line-height: 1; color: var(--accent-strong);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 22px 18px;
  color: var(--ink-2); font-size: 15px;
}
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ============================================================
   News
   ============================================================ */
.news-list { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .news-list { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.news-card:hover { border-color: var(--rule-2); box-shadow: var(--shadow-1); }
.news-card .thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.news-card .meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.news-card .meta .tag {
  background: var(--accent-tint); color: var(--accent-strong);
  padding: 2px 8px; border-radius: 999px; font-weight: 600;
}
.news-card h3 { font-size: 17px; line-height: 1.28; margin-top: 4px; }
.news-card p { color: var(--muted); font-size: 14px; }
.news-card .read {
  margin-top: auto; padding-top: 10px;
  color: var(--accent-strong); font-weight: 600; font-size: 14px;
}

/* ============================================================
   Sticky section index — left/right rail navigation on detail pages
   ============================================================ */
.layout-with-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 1100px) {
  .layout-with-index { grid-template-columns: 220px 1fr; }
}
.section-index {
  position: sticky; top: calc(var(--header-h) + 16px);
  align-self: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px;
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
}
.section-index h4 {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.section-index ol { list-style: none; padding: 0; margin: 0; counter-reset: ix; }
.section-index li { counter-increment: ix; }
.section-index a {
  display: flex; gap: 8px; padding: 6px 4px;
  font-size: 13.5px; color: var(--ink-2);
  border-radius: 6px;
}
.section-index a::before {
  content: counter(ix, decimal-leading-zero);
  color: var(--muted); font-variant-numeric: tabular-nums; min-width: 26px;
}
.section-index a:hover, .section-index a:focus-visible { background: var(--bg-soft); }

/* ============================================================
   Site footer
   ============================================================ */
.site-footer {
  background: #0b1320;
  color: #cbd5e1;
  padding-block: var(--s-8) var(--s-5);
  margin-top: var(--s-9);
}
.site-footer a { color: inherit; }
.site-footer a:hover { color: #fff; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h5 {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #94a3b8; margin-bottom: 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer .legal {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid #1e293b;
  font-size: 13px; color: #94a3b8;
  display: grid; gap: 12px;
}
@media (min-width: 720px) {
  .site-footer .legal { grid-template-columns: 1fr auto; align-items: center; }
}
.site-footer .brand-line { color: #fff; }
.site-footer .cookie-btn {
  background: transparent; border: 1px solid #334155; color: #cbd5e1;
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
}
.site-footer .cookie-btn:hover { border-color: #fff; color: #fff; }

/* ============================================================
   Mobile sticky affiliate CTA
   ============================================================ */
.mobile-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--rule);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
  box-shadow: 0 -8px 24px rgba(15,23,42,.08);
}
.mobile-sticky-cta .btn {
  width: 100%; font-size: 15px;
}
@media (max-width: 720px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: calc(var(--sticky-cta-h) + 12px); }
  .site-footer { padding-bottom: calc(var(--s-5) + var(--sticky-cta-h)); }
}

/* ============================================================
   Cookie consent panel
   ============================================================ */
.cookie-panel {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 70;
  background: #0b1320; color: #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: none;
  box-shadow: 0 18px 36px rgba(0,0,0,.36);
  max-width: 560px;
  margin-inline: auto;
}
.cookie-panel.show { display: block; }
.cookie-panel h4 { color: #fff; font-family: var(--font-body); font-size: 14px; margin-bottom: 6px; }
.cookie-panel p { font-size: 13px; color: #cbd5e1; margin-bottom: 12px; }
.cookie-panel .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-panel button {
  padding: 8px 14px; border-radius: 8px; border: 0;
  font-weight: 600; font-size: 13px;
}
.cookie-panel .accept { background: var(--accent); color: var(--ink); }
.cookie-panel .reject { background: transparent; color: #cbd5e1; border: 1px solid #334155; }
.cookie-panel .manage { background: transparent; color: #cbd5e1; border: 1px solid #334155; }

.cookie-settings {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.6);
  z-index: 75;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.cookie-settings.show { display: flex; }
.cookie-settings .panel {
  background: #fff; border-radius: 18px; padding: 24px;
  max-width: 480px; width: 100%; max-height: 90vh; overflow: auto;
  color: var(--ink);
}
.cookie-settings h3 { font-size: 22px; margin-bottom: 6px; }
.cookie-settings label.toggle {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.cookie-settings label.toggle:last-of-type { border-bottom: 0; }
.cookie-settings label.toggle input { margin-top: 4px; }
.cookie-settings label.toggle strong { display: block; font-size: 14px; }
.cookie-settings label.toggle span { font-size: 13px; color: var(--muted); }

/* ============================================================
   Article (News)
   ============================================================ */
.article {
  max-width: 760px; margin-inline: auto;
}
.article .meta-bar { color: var(--muted); font-size: 14px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.article .meta-bar .tag {
  background: var(--accent-tint); color: var(--accent-strong);
  padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px;
}
.article figure.hero {
  margin: var(--s-5) 0; padding: 0;
  background: var(--bg-soft); border-radius: var(--radius-lg);
  overflow: hidden;
}
.article figure.hero img { width: 100%; height: auto; }
.article figure.hero figcaption { padding: 10px 18px; font-size: 13px; color: var(--muted); }
.article .prose { font-size: 17px; line-height: 1.65; }
.article .prose h2 { font-size: 26px; margin-top: var(--s-6); margin-bottom: var(--s-3); }
.article .prose h3 { font-size: 20px; margin-top: var(--s-5); margin-bottom: var(--s-3); }
.article .prose p, .article .prose ul, .article .prose ol { margin-bottom: var(--s-4); color: var(--ink-2); }
.article .prose ul, .article .prose ol { padding-left: 1.4rem; }
.article .prose blockquote {
  margin: var(--s-5) 0;
  padding: 14px 22px;
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.45;
  color: var(--ink);
  border-radius: 0 12px 12px 0;
}
.article .prose figure {
  margin: var(--s-5) 0;
}
.article .prose figure img { border-radius: var(--radius); }
.article .prose figcaption {
  font-size: 13px; color: var(--muted); margin-top: 8px;
}
.article .pull {
  background: var(--accent-tint);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.4; color: var(--ink);
  margin: var(--s-5) 0;
  border-left: 4px solid var(--accent-strong);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13.5px; color: var(--muted);
  margin-bottom: var(--s-3);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--rule-2); }

/* ============================================================
   Detail page (game)
   ============================================================ */
.game-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 900px) {
  .game-detail { grid-template-columns: 320px 1fr; }
}
.game-detail .poster {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.game-detail .poster img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
}
.game-detail .poster .meta {
  padding: 14px 16px;
}
.game-detail .specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: var(--s-4);
}
.game-detail .specs .cell {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.game-detail .specs .cell b {
  display: block; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.game-detail .specs .cell span { font-size: 15px; font-weight: 600; color: var(--ink); }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (min-width: 720px) { .fact-grid { grid-template-columns: repeat(4, 1fr); } }
.fact-grid .item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.fact-grid .item b { display: block; font-size: 24px; font-weight: 700; color: var(--ink); }
.fact-grid .item span { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }

/* ============================================================
   Promo cards
   ============================================================ */
.promo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-tint), #fff);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}
.promo-card .amt { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--ink); }
.promo-card .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); font-weight: 700; }
.promo-card .body { color: var(--ink-2); font-size: 14px; }

/* ============================================================
   Misc
   ============================================================ */
.kicker {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong); font-weight: 700;
}
.divider {
  height: 1px; background: var(--rule); margin-block: var(--s-6);
}
.band {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
}
.tag {
  display: inline-block;
  background: var(--accent-tint); color: var(--accent-strong);
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.muted-text { color: var(--muted); }
.text-right { text-align: right; }

/* Visually-hidden but accessible */
.visually-hidden { position: absolute; left: -9999px; }
