/* La mega pantalla: lienzo fijo de 1920x1080 que se escala a la ventana */
.modo-pantalla { background: #000; overflow: hidden; }
.escenario-wrap { position: fixed; inset: 0; overflow: hidden; }
.escenario {
  width: 1920px; height: 1080px; position: absolute; left: 50%; top: 50%; overflow: hidden; transform-origin: center; display: flex; flex-direction: column;
  background: radial-gradient(1100px 700px at 50% -10%, rgba(59, 226, 122, .32), transparent 70%), linear-gradient(180deg, #0a2215, #050d08);
}
.escenario::before { content: ""; position: absolute; inset: 0; background-image: var(--hex); background-size: 84px 150px; opacity: 1.4; }
.escenario > * { position: relative; }
.p-top { display: flex; justify-content: space-between; align-items: center; padding: 40px 72px 0; }
.p-marca { display: flex; align-items: center; gap: 22px; font-family: 'Space Grotesk'; font-weight: 700; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; color: var(--verde); }
.p-marca .logo-puma { border-radius: 14px; padding: 9px 14px; }
.p-marca .logo-puma img { height: 38px; }
.p-vs { display: flex; align-items: center; gap: 18px; font-family: 'Space Grotesk'; font-size: 30px; }
.p-vs i { font-style: normal; color: var(--suave); font-size: 24px; }
.p-main { flex: 1; padding: 30px 72px 0; display: flex; flex-direction: column; }
.p-pie { display: flex; justify-content: space-between; padding: 0 72px 30px; font-size: 18px; color: var(--tenue); letter-spacing: .06em; }

/* Espera */
.p-espera { margin: auto; text-align: center; }
.p-pelota { font-size: 150px; display: block; }
.p-espera h1 { font-size: 104px; margin-top: 20px; }
.p-espera p { font-size: 38px; color: var(--suave); margin-top: 18px; }

/* Sala abierta */
.p-lobby { display: grid; grid-template-columns: 900px 1fr; gap: 64px; align-items: center; flex: 1; }
.p-host { position: relative; border-radius: 30px; overflow: hidden; border: 2px solid rgba(59, 226, 122, .55); box-shadow: 0 0 90px rgba(59, 226, 122, .25); aspect-ratio: 16 / 9; background: #000; }
.p-host video { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-host .ejemplo { font-size: 18px; padding: 8px 14px; left: 18px; top: 18px; }
.p-sumate h1 { font-size: 76px; line-height: 1.02; }
.p-pasos { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 16px; }
.p-pasos li { display: flex; align-items: center; gap: 20px; font-size: 36px; font-weight: 600; }
.p-pasos span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: #062b15; font-family: 'Space Grotesk'; font-weight: 700; font-size: 30px; flex: none; }
.p-sala { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.p-sala > div { padding: 22px 28px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 2px solid currentColor; }
.p-sala small { display: block; font-size: 22px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.p-sala b { font-family: 'Space Grotesk'; font-size: 84px; color: #fff; line-height: 1.05; }
.p-sala span { font-size: 22px; color: var(--suave); margin-left: 10px; }
.p-nombres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; min-height: 100px; align-content: flex-start; }
.p-nombres span { font-size: 22px; font-weight: 700; padding: 7px 16px; border-radius: 99px; background: rgba(255, 255, 255, .07); animation: entra .3s ease-out; }

/* Pregunta y respuesta */
.p-preg { flex: 1; display: flex; flex-direction: column; }
.pp-cab { display: flex; align-items: center; gap: 30px; }
.pp-num { font-family: 'Space Grotesk'; font-weight: 700; font-size: 30px; letter-spacing: .2em; text-transform: uppercase; color: var(--verde); }
.pp-resp { margin-left: auto; font-size: 30px; color: var(--suave); }
.pp-resp b { color: #fff; font-family: 'Space Grotesk'; font-size: 40px; }
.pp-ok { font-family: 'Space Grotesk'; font-weight: 700; font-size: 28px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 26px; border-radius: 99px; background: var(--verde); color: #062b15; }
.anillo { width: 120px; height: 120px; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 9; stroke: rgba(255, 255, 255, .12); }
.anillo .js-anillo { stroke: var(--verde); stroke-dasharray: 100; stroke-linecap: round; }
.anillo text { transform: rotate(90deg); transform-origin: 50px 50px; text-anchor: middle; font-family: 'Space Grotesk'; font-weight: 700; font-size: 36px; fill: #fff; }
.pp-texto { font-size: 66px; line-height: 1.12; margin: 26px 0 36px; max-width: 1640px; }
.pp-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pp-op {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; padding: 30px 34px; border-radius: 24px;
  background: var(--op); font-size: 42px; font-weight: 700; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .2); transition: opacity .4s;
}
.pp-op svg { width: 48px; height: 48px; fill: rgba(255, 255, 255, .92); }
.pp-op span, .pp-op svg, .pp-op em { position: relative; z-index: 1; }
.pp-op em { margin-left: auto; font-style: normal; font-family: 'Space Grotesk'; }
.pp-op i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 255, 255, .2); }
.revelada .pp-op.no-ok { opacity: .32; }
.revelada .pp-op.es-ok { box-shadow: 0 0 0 6px #fff, 0 0 60px rgba(255, 255, 255, .45); }
.revelada .pp-op.es-ok span::after { content: "  ✓"; }

.p-marcador { display: grid; grid-template-columns: 300px 1fr 300px; gap: 34px; align-items: center; margin-top: auto; padding: 22px 34px 26px; border-radius: 26px; background: rgba(0, 0, 0, .35); border: 1px solid var(--linea); }
.pm-team small { display: block; font-size: 22px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pm-team b { font-family: 'Space Grotesk'; font-size: 72px; color: #fff; line-height: 1; }
.pm-team.t-haedo { text-align: right; }
.pm-centro small { display: block; text-align: center; font-size: 20px; color: var(--suave); margin-bottom: 12px; letter-spacing: .06em; }
.pm-barra { height: 26px; border-radius: 99px; overflow: hidden; background: var(--rojo); }
.pm-barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--verde-2), var(--verde)); transition: width .8s; }
.p-preg .p-marcador { margin-top: 36px; }

/* Ranking y final */
.p-ranking h1, .p-final h1 { font-size: 92px; text-align: center; }
.p-ranking .p-marcador { margin: 30px 0 0; }
.p-ranking h2 { font-size: 40px; margin: 36px 0 16px; color: var(--suave); }
.p-top5 { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.p-top5 li { display: grid; grid-template-columns: 64px 1fr 240px 160px; align-items: center; padding: 14px 26px; border-radius: 18px; background: rgba(255, 255, 255, .06); font-size: 34px; }
.p-top5 li span { font-family: 'Space Grotesk'; font-weight: 700; }
.p-top5 li b { color: #fff; }
.p-top5 li small { font-size: 22px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.p-top5 li em { font-style: normal; text-align: right; color: #fff; font-family: 'Space Grotesk'; }
.p-final { text-align: center; flex: 1; display: flex; flex-direction: column; }
.p-final > small { font-size: 30px; color: var(--suave); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.p-final h1 { font-size: 120px; margin: 4px 0 22px; text-shadow: 0 0 60px currentColor; }
.p-final .p-marcador { margin-top: 0; text-align: left; }
.pf-abajo { display: grid; grid-template-columns: 1fr 520px; gap: 30px; margin-top: 26px; text-align: left; }
.pf-abajo .p-top5 li { font-size: 28px; padding: 10px 22px; grid-template-columns: 50px 1fr 200px 130px; }
.pf-premio { padding: 28px; border-radius: 24px; background: rgba(245, 165, 36, .12); border: 2px solid rgba(245, 165, 36, .45); font-size: 64px; }
.pf-premio p { font-size: 30px; line-height: 1.4; margin-top: 10px; color: #f4ecdc; }
.confeti { position: absolute; inset: -40px 0 0; pointer-events: none; overflow: hidden; }
.confeti i {
  position: absolute; top: -20px; width: 14px; height: 24px; border-radius: 3px; animation: cae 3s linear infinite;
}
@keyframes cae { to { transform: translateY(1150px) rotate(720deg); } }
