:root {
  --loinex: #1b8f4a;
  --loinex-glow: #4be584;
  --freecustoms: #1c4ea8;
  --freecustoms-glow: #5b9aff;
  --ink: #0a1422;
  --ink-2: #122236;
  --paper: #f6f8fb;
  --accent: #00d4ff;          /* electric cyan — structural */
  --accent-warm: #ffb627;     /* warm gold — celebration */
  --success: #5fe69a;
  --danger: #ff6b6b;
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.25);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0; padding: 0; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--ink); color: var(--paper);
}
/* TV is a fixed-viewport experience — no scroll. Phone needs scroll for the form. */
html:has(body.tv), body.tv { overflow: hidden; }
body.phone { overflow-y: auto; min-height: 100vh; }
body.tv {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(28, 78, 168, 0.25), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(27, 143, 74, 0.15), transparent 60%),
    var(--ink);
}

/* Animated background canvas behind everything on the TV */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
body.tv main, body.tv .brand-bar, body.tv .footer { position: relative; z-index: 1; }

/* Scale lobby/question/reveal/done content to 80% so it breathes on
   large TVs. The bg canvas (#bg-canvas) is position:fixed outside main,
   so it stays full-viewport. */
body.tv main {
  transform: scale(0.8);
  transform-origin: top center;
  width: 125%;
  margin-left: -12.5%;
}
body.tv .brand-title { font-size: 24px; letter-spacing: 3px; }

/* Audio unlock prompt — invisible overlay, dismissed on first touch */
#audio-unlock {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center;
  background: rgba(10, 20, 34, 0.85); backdrop-filter: blur(8px);
  cursor: pointer; transition: opacity 0.4s ease;
}
#audio-unlock.hidden { opacity: 0; pointer-events: none; }
#audio-unlock .tap-hint {
  font-size: 48px; font-weight: 800; letter-spacing: 2px;
  padding: 32px 56px; border: 2px solid var(--accent); border-radius: 100px;
  box-shadow: var(--shadow-glow);
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.25); transform: scale(1); }
  50% { box-shadow: 0 0 100px rgba(0, 212, 255, 0.55); transform: scale(1.03); }
}

/* ─── Brand bar ─── */
.brand-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px; background: #fff; color: var(--ink);
  border-bottom: 6px solid; border-image: linear-gradient(90deg, var(--loinex), var(--freecustoms)) 1;
}
.brand-bar.small { padding: 12px 16px; font-size: 14px; letter-spacing: 2px; }
.brand-title { font-weight: 800; font-size: 28px; letter-spacing: 4px; }
.logo { height: 48px; object-fit: contain; }

/* ─── Screens ─── */
.screen { display: none; padding: 48px 32px; }
.screen.active { display: block; }

/* ─── TV view (1080×1920 vertical) ─── */
body.tv main { min-height: calc(100vh - 120px); text-align: center; }
body.tv h1 {
  font-size: 72px; margin: 24px 0 8px; letter-spacing: -1px;
  background: linear-gradient(180deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.tv .sub { font-size: 32px; opacity: 0.85; }
body.tv .hint { font-size: 24px; opacity: 0.6; margin-top: 32px; }
body.tv #qr-wrap {
  margin: 48px auto; padding: 32px; background: #fff;
  display: inline-block; border-radius: 32px;
  box-shadow: 0 20px 80px rgba(0, 212, 255, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
  animation: qrFloat 4s ease-in-out infinite;
}
@keyframes qrFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
body.tv #qr { width: 540px; height: 540px; display: block; }

/* ─── Phone view ─── */
body.phone main { padding: 20px; max-width: 480px; margin: 0 auto; }
body.phone h2 { margin: 0 0 4px; font-size: 24px; }
body.phone .sub { opacity: 0.75; margin-bottom: 20px; }
body.phone form label { display: block; margin: 12px 0; font-size: 14px; opacity: 0.85; }
body.phone form input, body.phone form select {
  width: 100%; padding: 14px; margin-top: 4px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06);
  color: var(--paper); font-size: 16px;
}
body.phone fieldset { margin: 16px 0; border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px 14px; }
body.phone legend { padding: 0 8px; opacity: 0.7; font-size: 13px; }
body.phone label.inline {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; line-height: 1.3; padding: 8px 0;
}
body.phone label.inline span, body.phone label.inline { word-wrap: break-word; }
/* Override the generic "input width 100%" rule for checkboxes */
body.phone form input[type="checkbox"] {
  width: 24px; height: 24px;
  margin: 0; padding: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
body.phone label.consent { margin-top: 16px; font-size: 14px; opacity: 0.85; }
body.phone button {
  width: 100%; padding: 18px; margin-top: 20px; border: 0; border-radius: 14px;
  background: linear-gradient(90deg, var(--loinex), var(--freecustoms));
  color: white; font-size: 18px; font-weight: 700; letter-spacing: 1px;
}
body.phone #control-area {
  width: 100%; aspect-ratio: 1; display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border-radius: 24px; font-size: 22px; opacity: 0.8;
}

/* ─── Leaderboard ─── */
body.leaderboard #board { list-style: none; padding: 32px; margin: 0; }
body.leaderboard #board li {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 12px;
  background: rgba(255,255,255,0.06); border-radius: 12px; font-size: 22px;
}
body.leaderboard .rank { font-weight: 800; opacity: 0.6; min-width: 60px; }
body.leaderboard .who { flex: 1; }
body.leaderboard .who em { display: block; font-style: normal; font-size: 14px; opacity: 0.6; }
body.leaderboard .pts { font-weight: 800; color: var(--accent); }

/* ─── Trivia: TV ─── */
body.tv h2 {
  font-size: 56px; line-height: 1.15; margin: 16px 32px 32px;
  text-shadow: 0 2px 30px rgba(0, 212, 255, 0.2);
  animation: qEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
body.tv .q-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 32px 0; font-size: 22px; opacity: 0.85;
}
.sponsor-chip {
  padding: 8px 16px; border-radius: 999px; font-size: 18px; letter-spacing: 2px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  animation: chipPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sponsor-chip.loinex {
  background: linear-gradient(135deg, var(--loinex), var(--loinex-glow));
  color: white; box-shadow: 0 6px 30px rgba(75, 229, 132, 0.35);
}
.sponsor-chip.freecustoms {
  background: linear-gradient(135deg, var(--freecustoms), var(--freecustoms-glow));
  color: white; box-shadow: 0 6px 30px rgba(91, 154, 255, 0.35);
}
.sponsor-chip:empty { display: none; }
@keyframes chipPop {
  0% { opacity: 0; transform: scale(0.6) translateY(-10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

body.tv .options { list-style: none; padding: 0 32px; margin: 0 0 24px; }
body.tv .options li {
  display: flex; gap: 20px; align-items: center;
  padding: 24px 28px; margin-bottom: 16px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 18px; font-size: 32px; line-height: 1.2;
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateX(-20px);
  animation: optIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
body.tv .options li:nth-child(1) { animation-delay: 0.10s; }
body.tv .options li:nth-child(2) { animation-delay: 0.18s; }
body.tv .options li:nth-child(3) { animation-delay: 0.26s; }
body.tv .options li:nth-child(4) { animation-delay: 0.34s; }
@keyframes optIn {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes qEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
body.tv .options li .letter {
  display: inline-grid; place-items: center;
  min-width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #6efbff);
  color: var(--ink); font-weight: 900; font-size: 28px;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
  animation: letterFloat 3s ease-in-out infinite;
}
body.tv .options li:nth-child(2) .letter { animation-delay: 0.4s; }
body.tv .options li:nth-child(3) .letter { animation-delay: 0.8s; }
body.tv .options li:nth-child(4) .letter { animation-delay: 1.2s; }
@keyframes letterFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 212, 255, 0.6); }
}
body.tv .options li.correct {
  border-color: var(--success);
  background: rgba(95, 230, 154, 0.12);
  box-shadow: 0 0 40px rgba(95, 230, 154, 0.35);
  position: relative; overflow: hidden;
}
body.tv .options li.correct::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(95, 230, 154, 0.55), transparent);
  animation: sweep 1.2s ease-out;
}
@keyframes sweep {
  0% { left: -120%; }
  100% { left: 180%; }
}
body.tv .options li.wrong-pick {
  border-color: var(--danger);
  background: rgba(255, 107, 107, 0.12);
}

.timer-wrap {
  margin: 0 32px; height: 14px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.3);
}
.timer-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--loinex-glow), var(--accent-warm));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}
.timer-bar.urgent {
  background: linear-gradient(90deg, var(--danger), var(--accent-warm));
  animation: shimmer 0.6s linear infinite, urgentPulse 0.4s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
@keyframes urgentPulse {
  0%, 100% { transform: scaleY(1); filter: brightness(1); }
  50% { transform: scaleY(1.6); filter: brightness(1.4); }
}
.small { font-size: 20px !important; margin-top: 12px !important; }

.countdown {
  font-size: 280px; font-weight: 900; text-align: center;
  background: linear-gradient(180deg, var(--accent), var(--loinex-glow), var(--freecustoms-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 60px rgba(0, 212, 255, 0.4));
  animation: countPop 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes countPop {
  0% { opacity: 0; transform: scale(0.4) rotate(-8deg); }
  60% { transform: scale(1.1) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.banner {
  font-size: 56px; font-weight: 900; text-align: center;
  padding: 24px; border-radius: 24px; margin: 24px 32px;
  animation: bannerEnter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.banner.ok {
  background: linear-gradient(135deg, rgba(95, 230, 154, 0.18), rgba(0, 212, 255, 0.12));
  color: var(--success);
  border: 2px solid rgba(95, 230, 154, 0.4);
  box-shadow: 0 0 60px rgba(95, 230, 154, 0.3);
  text-shadow: 0 0 30px rgba(95, 230, 154, 0.6);
}
.banner.bad {
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
  border: 2px solid rgba(255, 107, 107, 0.4);
}
.banner.big { font-size: 96px; padding: 60px 24px; }
@keyframes bannerEnter {
  0% { opacity: 0; transform: scale(0.6) translateY(-30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.reveal-q { font-size: 32px; opacity: 0.7; margin: 8px 32px; }
.reveal-answer { font-size: 36px; margin: 24px 32px; }
.reveal-answer strong { color: var(--accent); }
.fact {
  font-size: 24px; opacity: 0.9; margin: 16px 32px; padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0, 212, 255, 0.05));
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(8px);
}
.fact.loinex { border-color: var(--loinex-glow); background: linear-gradient(135deg, rgba(75, 229, 132, 0.08), rgba(255,255,255,0.04)); }
.fact.freecustoms { border-color: var(--freecustoms-glow); background: linear-gradient(135deg, rgba(91, 154, 255, 0.08), rgba(255,255,255,0.04)); }
#reveal-score { text-align: center; font-size: 28px; margin-top: 32px; }
#reveal-score strong {
  font-size: 56px; color: var(--accent-warm);
  text-shadow: 0 0 30px rgba(255, 182, 39, 0.5);
  margin-left: 12px;
}

.final-score {
  font-size: 220px; font-weight: 900; text-align: center;
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 80px rgba(255, 182, 39, 0.5));
  line-height: 1; margin: 24px 0;
  animation: finalEnter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes finalEnter {
  0% { opacity: 0; transform: scale(0.3) rotate(-5deg); }
  60% { transform: scale(1.15) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Floating "+points" indicator on correct reveal */
.points-pop {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 180px; font-weight: 900;
  background: linear-gradient(180deg, var(--accent-warm), var(--success));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 60px rgba(255, 182, 39, 0.7));
  pointer-events: none; z-index: 30;
  animation: pointsFly 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pointsFly {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  100% { opacity: 0; transform: translate(-50%, -160%) scale(1); }
}

/* Subtle pulse on the question card when timer is urgent */
body.tv.urgent #question { animation: screenShake 0.4s ease-in-out infinite; }
@keyframes screenShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* Smooth screen transitions */
.screen { transition: opacity 0.35s ease; }
.screen:not(.active) { opacity: 0; }
.screen.active { opacity: 1; }

/* ─── Trivia: Phone ─── */
.qhint { text-align: center; font-size: 16px; opacity: 0.7; margin: 8px 0 16px; }
.answer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 4px;
}
.answer-grid .ans {
  aspect-ratio: 1; border: 0; border-radius: 24px;
  background: rgba(255,255,255,0.08); color: var(--paper);
  font-size: 64px; font-weight: 800; display: grid; place-items: center;
  transition: transform 0.1s ease, background 0.15s ease;
}
.answer-grid .ans:active { transform: scale(0.96); }
.answer-grid .ans.picked { background: var(--accent); color: var(--ink); }
.answer-grid .ans[disabled] { opacity: 0.55; }
.center { text-align: center; }

.cta {
  display: block; text-align: center; padding: 16px; margin: 24px 0 8px;
  background: #25d366; color: white; text-decoration: none;
  border-radius: 14px; font-weight: 700; font-size: 18px;
}

/* Smaller final-score on phone so it fits the viewport without wrapping.
   Max possible score = 2000 × 8 questions = 16000 → 5 digits. */
body.phone .final-score {
  margin: 16px 0 8px;
  padding: 0 8px;
  font-size: clamp(48px, 16vw, 110px);
  line-height: 0.95;
  letter-spacing: -2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
body.phone h2 { font-size: 22px; }
body.phone #rev-banner-p { font-size: 56px; padding: 32px 16px; }
body.phone .banner.big { font-size: clamp(48px, 16vw, 80px); padding: 32px 16px; }

/* ─── Modo duelo: lobby (TV táctil) ─── */
/* Toggle de idioma — más chico que el de modo: se toca una vez por feria,
   no una vez por partida. */
.lang-toggle {
  /* flex + width:max-content = renglón propio, centrado, sin pisar el toggle
     de modo (que también es inline-flex) */
  display: flex; width: max-content; gap: 0; margin: 4px auto 12px;
  background: rgba(255,255,255,0.06); border-radius: 999px; padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
}
.lang-btn {
  border: 0; border-radius: 999px; padding: 10px 30px;
  font-size: 22px; font-weight: 800; letter-spacing: 2px;
  font-family: inherit; background: transparent; color: var(--paper);
  opacity: 0.5; cursor: pointer;
}
.lang-btn.active {
  opacity: 1; color: var(--ink); background: var(--paper);
}

.mode-toggle {
  display: inline-flex; gap: 0; margin: 8px auto 0;
  background: rgba(255,255,255,0.06); border-radius: 999px; padding: 6px;
  border: 1px solid rgba(255,255,255,0.12);
}
.mode-btn {
  border: 0; border-radius: 999px; padding: 18px 44px;
  font-size: 26px; font-weight: 800; letter-spacing: 2px;
  font-family: inherit; background: transparent; color: var(--paper);
  opacity: 0.55; cursor: pointer;
}
.mode-btn.active {
  opacity: 1; color: var(--ink);
  background: linear-gradient(135deg, var(--accent), #6efbff);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
}
.lobby-players {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin: 24px 48px 0; min-height: 64px;
}
.player-chip {
  padding: 14px 28px; border-radius: 999px; font-size: 26px; font-weight: 700;
  background: rgba(255,255,255,0.08); border: 2px solid rgba(0, 212, 255, 0.4);
  animation: chipPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.start-btn {
  margin-top: 28px; border: 0; border-radius: 24px; padding: 28px 72px;
  font-size: 36px; font-weight: 900; letter-spacing: 3px; font-family: inherit;
  color: white; cursor: pointer;
  background: linear-gradient(90deg, var(--loinex), var(--freecustoms));
  box-shadow: 0 12px 50px rgba(0, 212, 255, 0.35);
  animation: pulseGlow 2s ease-in-out infinite;
}
.start-btn[disabled] { opacity: 0.35; animation: none; box-shadow: none; }

/* ─── Modo duelo: overlay "responde X" en la TV ─── */
.buzz-overlay {
  position: fixed; inset: 0; z-index: 15;
  display: grid; place-items: center; align-content: center; gap: 8px;
  background: rgba(10, 20, 34, 0.88); backdrop-filter: blur(10px);
  text-align: center;
}
.buzz-label {
  font-size: 44px; font-weight: 800; letter-spacing: 6px; opacity: 0.8;
}
.buzz-name {
  font-size: 120px; font-weight: 900; line-height: 1.05;
  max-width: 90vw; overflow-wrap: anywhere; padding: 0 24px;
  background: linear-gradient(180deg, #fff, var(--accent-warm));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 50px rgba(255, 182, 39, 0.45));
  animation: bannerEnter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.buzz-count {
  font-size: 220px; font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, var(--accent), var(--danger));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 60px rgba(255, 107, 107, 0.4));
  animation: countPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* ─── Modo duelo: puntajes en vivo (TV) ─── */
.scores-strip {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: 20px 32px 0;
}
.score-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px; font-size: 22px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
}
.score-chip strong { color: var(--accent-warm); }
.score-chip.leader { border-color: var(--accent-warm); box-shadow: 0 0 24px rgba(255, 182, 39, 0.25); }

.reveal-scores, .podium { list-style: none; padding: 0; margin: 24px 120px 0; }
.reveal-scores .score-row, .podium .score-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; margin-bottom: 10px; border-radius: 14px; font-size: 28px;
  background: rgba(255,255,255,0.06);
}
.reveal-scores .score-row strong, .podium .score-row strong { color: var(--accent-warm); }
.score-row.leader {
  border: 2px solid var(--accent-warm);
  background: rgba(255, 182, 39, 0.10);
  box-shadow: 0 0 30px rgba(255, 182, 39, 0.25);
}
.podium .score-row { font-size: 34px; padding: 18px 32px; }

/* ─── Modo duelo: pulsador en el celular ─── */
body.phone .buzz-btn {
  display: grid; place-items: center;
  width: min(78vw, 340px); aspect-ratio: 1; border-radius: 50%;
  margin: 28px auto 20px; padding: 0; border: 0;
  font-size: 42px; font-weight: 900; letter-spacing: 1px; color: white;
  background: radial-gradient(circle at 35% 28%, #ff8a8a, #e53935 55%, #a02020);
  box-shadow: 0 14px 0 #7c1a1a, 0 26px 60px rgba(229, 57, 53, 0.45);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
body.phone .buzz-btn:active {
  transform: translateY(10px);
  box-shadow: 0 4px 0 #7c1a1a, 0 12px 30px rgba(229, 57, 53, 0.35);
}
body.phone .buzz-btn[disabled] {
  filter: grayscale(0.75) brightness(0.55);
  box-shadow: 0 8px 0 #333, 0 14px 30px rgba(0,0,0,0.3);
}

/* Countdown de 5s cuando ganaste el buzz (celular) */
.answer-count {
  text-align: center; font-size: 72px; font-weight: 900; line-height: 1;
  margin: 4px 0 14px;
  background: linear-gradient(180deg, var(--accent), var(--danger));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: countPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* ─── Footer ─── */
.footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 24px; background: rgba(0,0,0,0.4);
  font-size: 14px; opacity: 0.7; text-align: center;
}
