/* ═══════════════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  --primary:        #6366f1;
  --primary-light:  #818cf8;
  --primary-dim:    rgba(99,102,241,.15);
  --accent:         #1D9E75;
  --accent-dim:     rgba(29,158,117,.15);
  --danger:         #ef4444;
  --danger-dim:     rgba(239,68,68,.15);
  --warning:        #f59e0b;
  --warning-dim:    rgba(245,158,11,.15);
  --success:        #22c55e;
  --success-dim:    rgba(34,197,94,.15);
  --bg:             #0f172a;
  --bg-2:           #131f35;
  --bg-card:        #1e293b;
  --bg-card-hover:  #273449;
  --text:           #f1f5f9;
  --text-2:         #cbd5e1;
  --text-muted:     #94a3b8;
  --border:         #334155;
  --font:           'Inter', system-ui, sans-serif;
  --mono:           'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --radius:         12px;
  --radius-sm:      8px;
  --shadow:         0 4px 24px rgba(0,0,0,.4);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.3);
}

/* ═══════════════════════════════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input  { font-family: inherit; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════════ */
h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.container      { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.game-container { max-width: 720px;  margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════════════════
   SITE NAV (unified across all pages)
═══════════════════════════════════════════════════════════════ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: #0f0f1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-logo strong { color: var(--primary-light); }
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links li { display: flex; }
.nav-links a {
  padding: 6px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); text-decoration: none; }
.nav-links a.active { color: var(--primary-light); background: var(--primary-dim); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
@media (max-width: 640px) {
  .site-nav { padding: 0 1rem; position: relative; flex-wrap: wrap; height: auto; min-height: 52px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 52px; left: 0; right: 0;
    background: #0f0f1a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    gap: 2px;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 12px; font-size: 0.9rem; }
  .nav-toggle { display: block; }
  .nav-logo { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER (legacy — kept for any remaining references)
═══════════════════════════════════════════════════════════════ */
.site-header {
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  padding: 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 20px;
}
.logo {
  display: inline-flex; align-items: center;
  font-size: 1.1rem; font-weight: 800; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.3rem; margin-right: 6px; flex-shrink: 0; }
.logo > span:not(.logo-icon) { color: var(--primary-light); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  transition: all .15s;
}
.nav-link:hover { color: var(--text); background: var(--bg-card); text-decoration: none; }
.nav-link.active { color: var(--primary-light); background: var(--primary-dim); }
.nav-link.soon { opacity: .45; cursor: default; pointer-events: none; }
.header-streak {
  font-size: .8rem; font-weight: 600; color: var(--warning);
  background: var(--warning-dim); padding: 5px 11px;
  border-radius: 100px; white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 80px;
  text-align: center;
}
.site-footer p { font-size: .85rem; color: var(--text-muted); }
.site-footer a { color: var(--primary-light); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.footer-links a { font-size: .85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   HERO — HOMEPAGE
═══════════════════════════════════════════════════════════════ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(99,102,241,.12) 0%, transparent 70%);
}
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--primary-light); }
.hero-sub { font-size: 1.1rem; max-width: 520px; margin: 0 auto 32px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   STREAK BANNER
═══════════════════════════════════════════════════════════════ */
.streak-banner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding: 12px 20px; margin-bottom: 32px;
  background: var(--warning-dim); border: 1px solid rgba(245,158,11,.3);
  border-radius: 100px;
  font-size: .95rem; font-weight: 600; color: var(--warning);
  max-width: 400px; margin-left: auto; margin-right: auto; margin-bottom: 32px;
}
.streak-hint { font-weight: 400; font-size: .8rem; color: rgba(245,158,11,.7); }

/* ═══════════════════════════════════════════════════════════════
   DAILY CHALLENGE CARD
═══════════════════════════════════════════════════════════════ */
.challenge-card {
  background: var(--bg-card);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 480px;
  margin: 0 auto 60px;
  text-align: left;
  box-shadow: 0 0 40px rgba(99,102,241,.15);
}
.challenge-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 10px;
}
.challenge-desc { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.challenge-status {
  font-size: .875rem; color: var(--text-muted); margin-bottom: 16px;
}
.challenge-btn {
  display: inline-block; padding: 10px 22px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); font-weight: 700; font-size: .9rem;
  transition: background .15s, transform .1s;
}
.challenge-btn:hover { background: #4f46e5; transform: translateY(-1px); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════════════ */
.section { padding: 48px 0; }
.section-header { margin-bottom: 28px; }
.section-header h2 { margin-bottom: 6px; }
.section-header p { font-size: .95rem; }
.section-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 8px;
}
.tag-live   { background: var(--accent-dim); color: var(--accent); }
.tag-soon   { background: var(--border); color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   GAME CARDS GRID
═══════════════════════════════════════════════════════════════ */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s, background .15s, transform .12s;
  cursor: pointer;
}
.game-card:hover { border-color: var(--primary); background: var(--bg-card-hover); transform: translateY(-2px); text-decoration: none; }
.game-icon { font-size: 2rem; line-height: 1; }
.game-info h3 { color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.game-info p  { font-size: .82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 6px; }
.personal-best { font-size: .78rem; font-weight: 600; color: var(--accent); }
.play-btn { font-size: .8rem; font-weight: 700; color: var(--primary-light); margin-top: auto; }

/* Hub-style larger cards */
.hub-card { padding: 26px 24px; }
.hub-card .game-icon { font-size: 2.5rem; }
.hub-card .game-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.hub-card .game-info p  { font-size: .9rem; }
.global-avg { font-size: .78rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   COMING SOON CATEGORY CARDS
═══════════════════════════════════════════════════════════════ */
.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coming-card {
  padding: 22px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  opacity: .45;
}
.coming-card .cat-icon { font-size: 1.75rem; margin-bottom: 10px; }
.coming-card h3 { font-size: .95rem; color: var(--text-muted); margin-bottom: 4px; }
.coming-badge {
  display: inline-block; margin-top: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 100px;
  background: var(--border); color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   GAME PAGE LAYOUT
═══════════════════════════════════════════════════════════════ */
.game-page { padding: 40px 0 80px; }
.game-title { text-align: center; margin-bottom: 8px; }
.game-desc  { text-align: center; font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { margin: 0 6px; }

/* Game stage: the main interactive area */
.game-stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 32px;
  transition: background .2s, border-color .2s;
}

/* Generic state visibility */
.g-state { display: none; width: 100%; }
.g-state.active { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem;
  transition: all .15s; cursor: pointer;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #4f46e5; transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover  { border-color: var(--primary); color: var(--primary-light); }
.btn-success  { background: var(--accent); color: #fff; }
.btn-success:hover { background: #169965; }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-danger:hover  { background: #dc2626; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn.copied { background: var(--accent) !important; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   RESULT DISPLAY
═══════════════════════════════════════════════════════════════ */
.result-score {
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 800; color: var(--accent);
  font-family: var(--mono); line-height: 1;
}
.result-score.fast    { color: var(--accent); }
.result-score.ok      { color: var(--warning); }
.result-score.slow    { color: var(--danger); }
.result-label  { font-size: .85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.result-rating { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 4px 0; }
.result-row    { display: flex; justify-content: space-between; width: 100%; max-width: 320px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.result-row:last-child { border-bottom: none; }
.result-row span:first-child { color: var(--text-muted); }
.result-row span:last-child  { font-weight: 700; color: var(--text); font-family: var(--mono); }
.result-divider { width: 100%; max-width: 320px; border: none; border-top: 1px solid var(--border); margin: 8px 0; }

/* ═══════════════════════════════════════════════════════════════
   REACTION TIME GAME
═══════════════════════════════════════════════════════════════ */
.rt-screen {
  width: 100%; min-height: 320px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; cursor: pointer;
  transition: background .1s;
  border-radius: var(--radius);
  user-select: none; -webkit-user-select: none;
  padding: 40px;
}
.rt-screen.green { background: #22c55e; }
.rt-instruction  { font-size: 1.5rem; font-weight: 700; color: var(--text-muted); }
.rt-screen.green .rt-instruction { color: var(--bg); font-size: 2.5rem; }
.rt-rounds { display: flex; gap: 8px; margin-bottom: 8px; }
.rt-round-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
}
.rt-round-dot.done { background: var(--primary); }
.rt-round-dot.current { background: var(--warning); }

/* ═══════════════════════════════════════════════════════════════
   NUMBER MEMORY GAME
═══════════════════════════════════════════════════════════════ */
.memory-number {
  font-family: var(--mono); font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700; letter-spacing: .15em;
  color: var(--text); text-align: center;
}
.memory-input {
  font-family: var(--mono); font-size: 1.75rem; font-weight: 700;
  text-align: center; width: 100%; max-width: 320px;
  padding: 14px 20px; background: var(--bg);
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); letter-spacing: .1em;
  transition: border-color .15s;
}
.memory-input:focus { outline: none; border-color: var(--primary); }
.memory-level { font-size: .85rem; font-weight: 600; color: var(--primary-light); }

/* ═══════════════════════════════════════════════════════════════
   AIM TRAINER GAME
═══════════════════════════════════════════════════════════════ */
.play-area {
  position: relative; width: 100%;
  height: 400px; background: var(--bg);
  border-radius: var(--radius-sm); overflow: hidden;
  cursor: crosshair; border: 1px solid var(--border);
}
.target {
  position: absolute; width: 60px; height: 60px;
  background: var(--primary); border-radius: 50%;
  cursor: pointer; display: none;
  border: 3px solid var(--primary-light);
  transition: transform .05s;
  box-shadow: 0 0 20px rgba(99,102,241,.5);
}
.target:hover { transform: scale(1.05); }
.target:active { transform: scale(.95); }
.aim-stat { display: flex; justify-content: space-between; padding: 10px 0; font-size: .9rem; }
.aim-stat span:last-child { font-weight: 700; font-family: var(--mono); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   SEQUENCE MEMORY GAME
═══════════════════════════════════════════════════════════════ */
.seq-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; max-width: 300px; width: 100%;
}
.seq-btn {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  background: var(--bg-card-hover); border: 2px solid var(--border);
  font-size: 1.1rem; font-weight: 700; color: var(--text-muted);
  transition: background .1s, border-color .1s, transform .08s;
  cursor: pointer; user-select: none;
}
.seq-btn:hover { border-color: var(--primary); }
.seq-btn.flash { background: var(--primary); border-color: var(--primary-light); color: #fff; }
.seq-btn.correct { background: var(--accent); border-color: var(--accent); }
.seq-btn.wrong   { background: var(--danger); border-color: var(--danger); }
.seq-btn:disabled { opacity: .5; cursor: not-allowed; }
.seq-level { font-size: 3rem; font-weight: 800; font-family: var(--mono); color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   MATH SPRINT GAME
═══════════════════════════════════════════════════════════════ */
.math-timer {
  font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 800;
  font-family: var(--mono); color: var(--text);
  transition: color .3s;
}
.math-timer.urgent { color: var(--danger); }
.math-question {
  font-size: clamp(2.5rem, 10vw, 4.5rem); font-weight: 800;
  font-family: var(--mono); color: var(--text); line-height: 1;
}
.math-score-display { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.answer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  width: 100%; max-width: 320px;
}
.answer-btn {
  padding: 16px 20px; background: var(--bg-card-hover);
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1.3rem; font-weight: 700; font-family: var(--mono);
  color: var(--text); cursor: pointer;
  transition: background .1s, border-color .1s, transform .08s;
}
.answer-btn:hover { border-color: var(--primary); background: var(--primary-dim); }
.answer-btn.correct { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.answer-btn.wrong   { background: var(--danger-dim); border-color: var(--danger);  color: var(--danger); }

/* ═══════════════════════════════════════════════════════════════
   STROOP TEST GAME
═══════════════════════════════════════════════════════════════ */
.stroop-word {
  font-size: clamp(3rem, 12vw, 5rem); font-weight: 900;
  line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.4);
  letter-spacing: -.02em;
}
.color-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 10px; width: 100%; max-width: 360px;
}
.color-btn {
  padding: 14px 10px; border-radius: var(--radius-sm);
  background: var(--bg-card-hover); border: 2px solid var(--border);
  font-size: .9rem; font-weight: 700; color: var(--text);
  cursor: pointer; transition: transform .08s, border-color .1s;
}
.color-btn:hover { transform: translateY(-2px); }
.color-btn.correct { border-color: var(--accent); background: var(--accent-dim); }
.color-btn.wrong   { border-color: var(--danger); background: var(--danger-dim); }
.stroop-progress {
  width: 100%; max-width: 360px;
  height: 4px; background: var(--border); border-radius: 100px; overflow: hidden;
}
.stroop-progress-bar {
  height: 100%; background: var(--primary); border-radius: 100px;
  transition: width .2s;
}
.stroop-q-count { font-size: .8rem; color: var(--text-muted); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT / INFO SECTIONS
═══════════════════════════════════════════════════════════════ */
.how-it-works {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px; margin-top: 32px;
}
.how-it-works h2 { font-size: 1.2rem; margin-bottom: 12px; }
.how-it-works p  { font-size: .9rem; line-height: 1.75; }

.benchmarks { margin-top: 24px; }
.benchmarks h3 { font-size: 1rem; margin-bottom: 10px; }
.benchmark-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: var(--radius-sm);
  margin-bottom: 4px; font-size: .875rem;
}
.benchmark-row:nth-child(odd) { background: rgba(255,255,255,.03); }

/* ═══════════════════════════════════════════════════════════════
   MISC UTILITIES
═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary-light); }
.text-warning { color: var(--warning); }
.text-danger  { color: var(--danger); }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 100px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge-primary { background: var(--primary-dim); color: var(--primary-light); }
.badge-accent  { background: var(--accent-dim); color: var(--accent); }
.badge-muted   { background: var(--border); color: var(--text-muted); }

/* Early-click warning */
.warning-flash {
  background: var(--danger-dim) !important;
  border-color: var(--danger) !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .games-grid  { grid-template-columns: repeat(2, 1fr); }
  .coming-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .games-grid  { grid-template-columns: 1fr 1fr; }
  .coming-grid { grid-template-columns: 1fr; }
  .game-stage  { padding: 28px 20px; }
  .answer-grid { max-width: 100%; }
  .color-grid  { grid-template-columns: 1fr 1fr; }
  .seq-grid    { max-width: 260px; }
  .play-area   { height: 320px; }
  .btn-row     { flex-direction: column; align-items: center; }
  .challenge-card { padding: 20px; }
  .header-streak { display: none; }
  .nav-link { padding: 6px 8px; font-size: .8rem; }
}
@media (max-width: 420px) {
  .games-grid  { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
}

/* ═══════════════════════════════════════════════════════════════
   GAME INFO CONTENT SECTIONS
═══════════════════════════════════════════════════════════════ */
.game-info {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px; margin-top: 32px;
}
.game-info h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--text);
  margin: 28px 0 12px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.game-info h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.game-info p  { font-size: .9rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 10px; }
.game-info ul { padding-left: 20px; margin-bottom: 10px; }
.game-info li { font-size: .9rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 4px; }
.game-faq-list { margin-top: 8px; }
.game-faq-item { border-bottom: 1px solid var(--border); }
.game-faq-item:last-child { border-bottom: none; }
.game-faq-q {
  padding: 12px 0; font-weight: 600; color: var(--text);
  cursor: pointer; font-size: .9rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .15s;
}
.game-faq-q::-webkit-details-marker { display: none; }
.game-faq-q::after { content: '+'; font-size: 1.1rem; color: var(--primary-light); flex-shrink: 0; transition: transform .2s; }
details[open] > .game-faq-q::after { transform: rotate(45deg); }
.game-faq-a { padding: 0 0 14px; font-size: .875rem; color: var(--text-muted); line-height: 1.7; }
.try-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.try-next-card {
  display: flex; flex-direction: column; gap: 5px; padding: 14px 16px;
  background: var(--bg-card-hover); border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-decoration: none; transition: border-color .15s;
}
.try-next-card:hover { border-color: var(--primary); text-decoration: none; }
.try-next-icon { font-size: 1.4rem; }
.try-next-name { font-size: .875rem; font-weight: 700; color: var(--text); }
.try-next-desc { font-size: .75rem; color: var(--text-muted); }
@media (max-width: 600px) {
  .game-info     { padding: 20px 18px; }
  .try-next-grid { grid-template-columns: 1fr 1fr; }
}
