/* Outnumbered: "Y2K future" theme. Glossy blades, chrome type, soft glow. */
:root {
  --bg: #050b1f;
  --bg2: #0a1638;
  --panel: rgba(18, 34, 78, 0.72);
  --panel-hi: rgba(255, 255, 255, 0.14);
  --line: rgba(160, 200, 255, 0.22);
  --text: #eaf2ff;
  --muted: #8fa6d1;
  --cyan: #38e1ff;
  --lime: #b6ff3b;
  --violet: #9d7bff;
  --pink: #ff5fa2;
  --gold: #ffd25e;
  --danger: #ff4d6d;
  --good: #3dffa2;
  --radius: 18px;
  --font-display: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(56, 225, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 110% 20%, rgba(157, 123, 255, 0.22), transparent 60%),
    radial-gradient(800px 500px at 50% 120%, rgba(182, 255, 59, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

/* ---------- chrome logo ---------- */
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #cfe6ff 38%, #6f8fc4 52%, #e9f4ff 70%, #9fd7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(56, 225, 255, 0.35));
  line-height: 1;
}
.logo .one { color: var(--lime); -webkit-text-fill-color: var(--lime); }

/* ---------- glossy blade panel ---------- */
.blade {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 42%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--panel-hi), 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.08)), #1d3a7a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.12); }
a.btn { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.btn.primary { background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05) 50%), linear-gradient(90deg, #12b5e6, #6e5bff); }
.btn.go { color: #06220f; background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05) 50%), var(--lime); }
.btn.warn { background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.04) 50%), #b8284a; }
.btn.ghost { background: transparent; box-shadow: none; }

/* ---------- avatars ---------- */
.av {
  --c: #38bdf8;
  display: inline-grid;
  place-items: center;
  width: 2.2em; height: 2.2em;
  flex: none;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), transparent 34%), var(--c);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.25);
  color: #08122c;
  font-weight: 900;
  font-family: var(--font-display);
}
.av i { font-style: normal; font-size: 0.95em; }
.av-circle { border-radius: 50%; }
.av-square { border-radius: 26%; }
.av-diamond { border-radius: 18%; transform: rotate(45deg) scale(0.86); }
.av-diamond i { transform: rotate(-45deg); }
.av-hex { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }

/* ---------- answer blades ---------- */
.answer {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 50%), rgba(30, 60, 130, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 700;
  transition: background 0.25s, transform 0.2s, opacity 0.25s, box-shadow 0.25s;
}
.answer .letter {
  display: grid; place-items: center;
  width: 2em; height: 2em; flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--font-display); font-weight: 900; font-style: italic;
}
.answer .bar-wrap { margin-left: auto; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.answer.picked { box-shadow: inset 0 0 0 3px var(--cyan), 0 0 24px rgba(56, 225, 255, 0.45); }
.answer.correct { background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05) 50%), #19b86b; box-shadow: 0 0 32px rgba(61, 255, 162, 0.55); transform: scale(1.02); }
.answer.wrong { background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 50%), #8e1e3a; }
.answer.dim { opacity: 0.4; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85em; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.pill.one { color: #0b1a03; background: var(--lime); border-color: transparent; }
.pill.mob { color: #001a22; background: var(--cyan); border-color: transparent; }
.pill.out { background: rgba(255, 77, 109, 0.2); border-color: var(--danger); color: #ffc2cf; }
.pill.live { color: #fff; background: var(--danger); border-color: transparent; }

.timerbar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.timerbar > i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lime), var(--cyan)); transform-origin: left; border-radius: 99px; }
.timerbar.low > i { background: linear-gradient(90deg, var(--danger), var(--gold)); }

.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.pop { animation: pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.rise { animation: rise 0.4s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
