/* Tapmaca landing — Midnight Neon design tokens (mirror of tapmaca-mobile/DESIGN_SYSTEM.md) */
:root {
  color-scheme: light;
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --surface-muted: #EEF1F8;
  --elevated: #FFFFFF;
  --text: #0B0F1A;
  --text-muted: #5B6479;
  --text-faint: #9AA3B8;
  --border: rgba(11, 15, 26, .08);
  --border-strong: rgba(11, 15, 26, .16);
  --accent: #C6F135;
  --accent-ink: #4F8A00;
  --on-accent: #0B0F1A;
  --coral: #FF5C7A;
  --blue: #3D8BFF;
  --ink: #0B0F1A;
  --white: #FFFFFF;
  --shadow: 0 12px 32px rgba(11, 15, 26, .08);
  --shadow-lg: 0 24px 64px rgba(11, 15, 26, .14);
  --glow-a: rgba(198, 241, 53, .22);
  --glow-b: rgba(61, 139, 255, .16);
  --nav-h: 68px;
  --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0F1A;
  --surface: #141A2A;
  --surface-muted: #10151F;
  --elevated: #1B2233;
  --text: #F5F7FF;
  --text-muted: #A3ACC2;
  --text-faint: #5F6880;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --accent-ink: #C6F135;
  --shadow: 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .5);
  --glow-a: rgba(198, 241, 53, .14);
  --glow-b: rgba(61, 139, 255, .14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B0F1A;
    --surface: #141A2A;
    --surface-muted: #10151F;
    --elevated: #1B2233;
    --text: #F5F7FF;
    --text-muted: #A3ACC2;
    --text-faint: #5F6880;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .16);
    --accent-ink: #C6F135;
    --shadow: 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, .5);
    --glow-a: rgba(198, 241, 53, .14);
    --glow-b: rgba(61, 139, 255, .14);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: var(--r-pill); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.overline { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); }
.lead { margin-top: 14px; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, opacity .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px rgba(198, 241, 53, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(198, 241, 53, .38); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--text-faint); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand svg { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-pill); font-weight: 500; color: var(--text-muted); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.icon-btn:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun, .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
:root:not([data-theme]) .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .moon { display: none; }
  :root:not([data-theme]) .theme-toggle .sun { display: block; }
}
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px clamp(16px, 4vw, 40px) 20px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .nav.open .nav-links { display: flex; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 80px); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero::before { width: 640px; height: 640px; left: -200px; top: -240px; background: radial-gradient(closest-side, var(--glow-a), transparent 70%); }
.hero::after { width: 720px; height: 720px; right: -260px; bottom: -320px; background: radial-gradient(closest-side, var(--glow-b), transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 241, 53, .22); }
.hero h1 { margin-top: 22px; font-size: clamp(2.5rem, 1.6rem + 4.6vw, 4.6rem); letter-spacing: -.035em; }
.hero h1 .accent { color: var(--accent-ink); }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--text-muted); font-size: 14px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent-ink); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(320px, 82vw); aspect-ratio: 9 / 19;
  border-radius: 46px; background: #1B2233; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotate(-3deg);
}
.phone::before { content: ""; position: absolute; left: 50%; top: 18px; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #0B0F1A; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #0B0F1A; color: #F5F7FF; display: flex; flex-direction: column; font-family: var(--font-head); }
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 0; font-size: 12px; font-weight: 700; }
.screen-top .sig { display: flex; gap: 3px; align-items: flex-end; }
.screen-top .sig i { display: block; width: 3px; background: #F5F7FF; border-radius: 1px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 18px 0; }
.screen-head .title { font-size: 17px; font-weight: 700; }
.screen-head .sub { font-size: 11px; color: #A3ACC2; font-family: var(--font-body); }
.timer { padding: 6px 12px; border-radius: var(--r-pill); background: #141A2A; border: 1px solid rgba(255,255,255,.08); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sudoku { margin: 16px 16px 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; padding: 2px; background: rgba(255,255,255,.14); border-radius: 12px; overflow: hidden; }
.sudoku span { aspect-ratio: 1; display: grid; place-items: center; background: #141A2A; font-size: clamp(10px, 3.4vw, 14px); font-weight: 700; color: #F5F7FF; }
.sudoku span.u { color: #3D8BFF; }
.sudoku span.hl { background: rgba(61, 139, 255, .16); }
.sudoku span.sel { background: #3D8BFF; color: #fff; }
.sudoku span.b { border-right: 2px solid rgba(255,255,255,.28); }
.sudoku span.bb { border-bottom: 2px solid rgba(255,255,255,.28); }
.numpad { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; margin: 14px 16px 0; }
.numpad span { aspect-ratio: 1 / 1.15; display: grid; place-items: center; border-radius: 8px; background: #141A2A; border: 1px solid rgba(255,255,255,.08); font-size: 13px; font-weight: 700; }
.numpad span.hot { background: #C6F135; color: #0B0F1A; border-color: transparent; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 18px 22px; border-top: 1px solid rgba(255,255,255,.08); }
.tabbar i { display: block; width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.14); }
.tabbar i.on { background: #C6F135; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px; background: var(--elevated); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); z-index: 4; font-family: var(--font-head);
}
.float-card .avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #FF5C7A, #DB2777); }
.float-card .name { font-weight: 700; font-size: 14px; }
.float-card .meta { font-size: 12px; color: var(--text-muted); font-family: var(--font-body); }
.float-card .delta { margin-left: 6px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.float-duel { right: -6px; top: 18%; animation: floaty 6s ease-in-out infinite; }
.float-streak { left: -10px; bottom: 16%; animation: floaty 7s ease-in-out infinite reverse; }
.float-streak .avatar { background: linear-gradient(135deg, #FFB020, #F59E0B); color: #0B0F1A; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 420px) { .float-duel { right: 0; } .float-streak { left: 0; } }

/* ---------- Games ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text-muted); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); } }
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 400px) { .games-grid { grid-template-columns: 1fr; } }
.game-card {
  --tone: var(--blue);
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  overflow: hidden;
}
.game-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--tone) 18%, transparent), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 45%, var(--border)); }
.game-card:hover::before { opacity: 1; }
.game-card.hide { display: none; }
.game-logo { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--tone) 40%, transparent)); }
.game-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.game-card h3 { font-size: 18px; }
.game-card p { font-size: 14px; color: var(--text-muted); margin-top: 4px; line-height: 1.45; }
.game-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; font-family: var(--font-head); background: var(--surface-muted); color: var(--text-muted); border: 1px solid var(--border); }
.tag.tone { color: var(--tone); border-color: color-mix(in srgb, var(--tone) 35%, transparent); background: color-mix(in srgb, var(--tone) 10%, transparent); }
.tag svg { width: 12px; height: 12px; }

/* ---------- Features ---------- */
.features { background: var(--surface-muted); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-muted); color: var(--accent-ink); margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature.tone-blue .ico { color: var(--blue); }
.feature.tone-coral .ico { color: var(--coral); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 15px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.feature.wide .ico { margin-bottom: 0; }
@media (max-width: 600px) { .feature.wide { grid-column: span 1; grid-template-columns: 1fr; } .feature.wide .ico { margin-bottom: 18px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; }
.step .modes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- Stats ---------- */
.stats { padding-block: 0; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
@media (max-width: 800px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 28px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
@media (max-width: 800px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); letter-spacing: -.03em; line-height: 1; color: var(--text); }
.stat span { display: block; margin-top: 8px; color: var(--text-muted); font-size: 14px; }

/* ---------- Download ---------- */
.download-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl);
  background: var(--ink); color: var(--white); border: 1px solid rgba(255,255,255,.08);
}
.download-card::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198,241,53,.28), transparent 70%); pointer-events: none; }
.download-card > * { position: relative; z-index: 1; }
.download-card .overline { color: var(--accent); }
.download-card .lead { color: #A3ACC2; }
.download-card .h2 { color: #fff; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 20px 8px 14px; border-radius: 14px; background: #fff; color: #0B0F1A; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #5B6479; line-height: 1.2; }
.store-btn strong { display: block; font-family: var(--font-head); font-size: 18px; line-height: 1.15; }
.store-btn.ghost { background: transparent; color: #A3ACC2; border-color: rgba(255,255,255,.18); cursor: not-allowed; }
.store-btn.ghost:hover { transform: none; box-shadow: none; }
.store-btn.ghost strong { color: #F5F7FF; }
.store-btn.ghost small { color: #A3ACC2; }
.apk-note { margin-top: 18px; font-size: 14px; color: #A3ACC2; display: flex; align-items: center; gap: 8px; }
.apk-note svg { width: 16px; height: 16px; color: var(--accent); }
.download-art { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 320px; margin-left: auto; }
.download-art svg { width: 100%; height: auto; border-radius: 18px; transition: transform .3s var(--ease); }
.download-art svg:hover { transform: scale(1.06) rotate(-3deg); }
@media (max-width: 860px) { .download-card { grid-template-columns: 1fr; } .download-art { margin-left: 0; max-width: 100%; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .2s; }
.faq-list details[open] { border-color: var(--border-strong); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 17px; border-radius: var(--r-md); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; flex: none; color: var(--text-muted); transition: transform .25s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); color: var(--accent-ink); }
.faq-list .answer { padding: 0 20px 20px; color: var(--text-muted); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer .copy { font-size: 13px; color: var(--text-faint); width: 100%; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-duel, .float-streak { animation: none; }
  .btn, .game-card, .feature, .chip, .icon-btn, .store-btn { transition: none; }
  .game-card:hover, .feature:hover, .btn:hover { transform: none; }
}

/* ---------- 404 ---------- */
.err { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding-block: 64px; }
.err .code { font-family: var(--font-head); font-size: clamp(5rem, 20vw, 10rem); line-height: 1; letter-spacing: -.05em; color: var(--accent-ink); }
.err h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin-top: 8px; }
.err p { color: var(--text-muted); margin-top: 12px; }
