:root {
  color-scheme: dark;
  --bg: #090a12;
  --card: #151728;
  --muted: #9ca3af;
  --accent: #8b5cf6;
  --accent2: #22d3ee;
  --good: #22c55e;
  --bad: #ef4444;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% 0%, #1c1836 0, var(--bg) 50%); color: white; overflow: hidden; }
.screen { min-height: 100vh; width: 100vw; padding: 4vh 5vw; }
.hidden { display: none !important; }
.pair-screen { display: grid; place-items: center; align-content: center; gap: 1.2vh; }
.brand { font-size: clamp(42px, 7vw, 96px); font-weight: 900; letter-spacing: 0.04em; }
.brand.small { font-size: clamp(30px, 3.5vw, 52px); }
.slogan { color: #c4b5fd; font-size: clamp(18px, 2vw, 30px); }
.slogan.small { font-size: clamp(13px, 1.3vw, 20px); }
.pair-card { margin-top: 2vh; width: min(720px, 90vw); background: rgba(21,23,40,.94); border: 1px solid rgba(255,255,255,.1); border-radius: 32px; padding: clamp(24px, 4vw, 48px); text-align: center; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.eyebrow { color: #a78bfa; font-weight: 800; letter-spacing: .08em; }
h1 { margin: 12px 0; font-size: clamp(28px, 4vw, 50px); }
p { color: var(--muted); font-size: clamp(16px, 1.6vw, 22px); line-height: 1.6; }
.qr-wrap { background: white; width: min(360px, 55vw); aspect-ratio: 1; margin: 26px auto 18px; border-radius: 24px; padding: 16px; display: grid; place-items: center; }
.qr-wrap img { width: 100%; height: 100%; object-fit: contain; }
.status { color: #c4b5fd; font-size: 18px; }
.topbar { height: 12vh; display: flex; justify-content: space-between; align-items: center; }
.room-badge { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 999px; padding: 12px 24px; font-size: clamp(18px, 2vw, 28px); font-weight: 800; letter-spacing: .08em; }
.content { height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 2.5vh; }
.center { text-align: center; }
.stage-title { color: #c4b5fd; font-size: clamp(18px, 1.8vw, 28px); font-weight: 800; }
.question { font-size: clamp(38px, 5.2vw, 78px); line-height: 1.25; text-align: center; font-weight: 900; max-width: 1400px; margin: 0 auto 2vh; }
.timer { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; margin: auto; border: 7px solid #8b5cf6; font-size: 42px; font-weight: 900; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1400px; width: 100%; margin: 0 auto; }
.option { min-height: 100px; padding: 24px 30px; border-radius: 24px; background: rgba(255,255,255,.075); border: 2px solid rgba(255,255,255,.12); font-size: clamp(22px, 2.5vw, 38px); font-weight: 750; display: flex; align-items: center; gap: 18px; }
.option.correct { border-color: var(--good); background: rgba(34,197,94,.18); }
.option .letter { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.players { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1300px; margin: 0 auto; }
.player-chip { padding: 16px 24px; border-radius: 999px; border: 2px solid var(--player, #8b5cf6); background: rgba(255,255,255,.055); font-size: clamp(20px, 2vw, 30px); font-weight: 800; }
.ranking { width: min(1000px, 90vw); margin: 0 auto; display: grid; gap: 12px; }
.rank { display: grid; grid-template-columns: 75px 1fr auto; align-items: center; padding: 18px 26px; border-radius: 20px; background: rgba(255,255,255,.075); font-size: clamp(20px, 2vw, 30px); }
.rank strong { font-size: 1.1em; }
.points { color: #c4b5fd; font-weight: 900; }
.answers { width: min(1200px, 94vw); margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.answer-row { padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.06); display: flex; justify-content: space-between; gap: 18px; font-size: clamp(18px, 1.8vw, 26px); }
.answer-row .who { font-weight: 850; }
.answer-row .earned { color: #c4b5fd; font-weight: 900; }
.winner { font-size: clamp(32px, 4vw, 64px); font-weight: 950; text-align: center; }
@media (max-width: 900px) { .options, .answers { grid-template-columns: 1fr; } .screen { overflow-y: auto; } }
