:root {
  --bg: #0b1220;
  --panel: #121c31;
  --panel-2: #18253f;
  --text: #edf2ff;
  --muted: #9fb0cf;
  --accent: #62d2a2;
  --accent-2: #68a7ff;
  --danger: #ff8d7f;
  --border: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #09111d 0%, #111c33 100%);
  color: var(--text);
}
.container { width: min(960px, calc(100% - 32px)); margin: 0 auto; }
header { padding: 28px 0; }
.hero, .panel { background: rgba(18,28,49,0.88); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.28); }
.hero { padding: 28px; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 10px 0 16px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.grid { display: grid; gap: 20px; grid-template-columns: 1.15fr 0.85fr; margin: 24px 0 60px; }
.panel { padding: 24px; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.choice-list { display: grid; gap: 12px; margin-top: 18px; }
.choice-btn, .button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}
.choice-btn:hover, .button:hover { border-color: rgba(104,167,255,0.45); }
.choice-btn.correct { border-color: rgba(98,210,162,0.7); background: rgba(98,210,162,0.12); }
.choice-btn.wrong { border-color: rgba(255,141,127,0.7); background: rgba(255,141,127,0.12); }
.stats, .share-box, .leaderboard { margin-top: 18px; }
.small { color: var(--muted); font-size: 0.95rem; }
input {
  width: 100%; padding: 12px 14px; margin: 12px 0; border-radius: 14px; border: 1px solid var(--border); background: #09111d; color: var(--text);
}
.button { background: var(--accent); color: #071b12; text-align: center; }
.secondary { background: transparent; color: var(--text); }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.metric { background: rgba(255,255,255,0.04); border-radius: 16px; padding: 14px; }
.metric strong { display: block; font-size: 1.4rem; }
ol { padding-left: 18px; color: var(--muted); }
@media (max-width: 780px) { .grid { grid-template-columns: 1fr; } .metric-row { grid-template-columns: 1fr; } }
