/* ============================================================
   Roleta dos Noivos — aparência da tela
   Cores no bloco :root logo abaixo: mudar ali muda tudo.
   ============================================================ */

:root {
  --fundo:        #1B1611;
  --ouro:         #E9C46A;
  --ouro-forte:   #D4AF37;
  --ouro-claro:   #FFF1B8;
  --ouro-escuro:  #9C7A2B;
  --creme:        #FAF6F0;
  --creme-2:      #F3EBE0;
  --borda:        #E5D9C8;
  --caramelo:     #A87F55;
  --caramelo-tx:  #8E6945;
  --carvao:       #2E2822;
  --texto:        #564D42;
  --texto-claro:  #F3EBE0;
  --texto-suave:  #BCAF9C;
  --vermelho:     #B4453A;
  --led-apagado:  #6B5326;

  /* Nunito Sans só nos números, no & e no + (ver o link da fonte no HTML) */
  --serif: "Nunito Sans", "Cormorant Garamond", Georgia, serif;
  --sans:  "Nunito Sans", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num:   "Nunito Sans", "Jost", system-ui, sans-serif;

  /* tamanho de cada roda: cresce com a tela */
  --roda: min(19vw, 44vh);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html, body { margin: 0; }
body {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--texto-claro);
  background:
    radial-gradient(ellipse 70% 60% at 42% 42%, rgba(233, 196, 106, .10), transparent 70%),
    radial-gradient(ellipse at 50% 30%, #3A2E22 0%, #1B1611 55%, #120E0B 100%);
  background-color: var(--fundo);
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; }

#efeitos { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ---------- topo ---------- */
.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(10px, 1.6vh, 20px) clamp(16px, 2.2vw, 36px) 0;
}
.marca-sobre {
  display: block; font-size: clamp(.68rem, .85vw, .95rem); letter-spacing: .28em;
  text-transform: uppercase; color: var(--texto-suave);
}
.marca h1 {
  margin: 2px 0 0; line-height: 1; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 3.4rem); letter-spacing: .02em;
  background: linear-gradient(100deg, #B8912A 0%, var(--ouro-claro) 35%, var(--ouro) 55%, #B8912A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topo-botoes { display: flex; gap: 10px; }
.icone {
  width: clamp(40px, 3.2vw, 52px); height: clamp(40px, 3.2vw, 52px); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 196, 106, .35); color: var(--ouro);
}
.icone svg { width: 55%; height: 55%; }
.icone:hover { background: rgba(233, 196, 106, .14); }
#btnSom .mudo { display: none; }
#btnSom[aria-pressed="false"] .ondas { display: none; }
#btnSom[aria-pressed="false"] .mudo { display: inline; }

/* ---------- palco ---------- */
.palco {
  display: grid;
  grid-template-columns: 1fr clamp(250px, 22vw, 380px);
  gap: clamp(12px, 2vw, 36px);
  padding: clamp(6px, 1.4vh, 18px) clamp(16px, 2.2vw, 36px) clamp(12px, 2vh, 28px);
  min-height: 0;
}
.maquina {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3vh, 34px); min-height: 0; min-width: 0;
}

/* ---------- moldura com luzes ---------- */
.moldura {
  position: relative;
  padding: calc(var(--roda) * .17) calc(var(--roda) * .17) calc(var(--roda) * .08);
  border-radius: calc(var(--roda) * .26);
  background: linear-gradient(180deg, #2C231B 0%, #1A1511 100%);
  box-shadow:
    0 0 0 3px var(--ouro-escuro),
    0 0 0 7px #33291F,
    0 0 0 10px var(--ouro),
    0 0 0 12px #6E5520,
    0 30px 90px rgba(0, 0, 0, .65),
    inset 0 0 70px rgba(0, 0, 0, .65);
}
.luzes { position: absolute; inset: calc(var(--roda) * .055); pointer-events: none; }

.led {
  --led: clamp(8px, .75vw, 14px);
  position: absolute; width: var(--led); height: var(--led); margin: calc(var(--led) / -2);
  border-radius: 50%;
  background: var(--led-apagado);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .45);
  animation: corre 1.9s linear infinite;
  animation-delay: calc(var(--i) * -0.075s);
}
@keyframes corre {
  0%, 62%, 100% { background: var(--led-apagado); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .45); }
  74%           { background: var(--ouro-claro); box-shadow: 0 0 10px 3px rgba(255, 226, 140, .9), 0 0 2px #fff; }
}
.rapido .led { animation-duration: .5s; }
.festa .led, .esp-luzes .led {
  animation: festa .36s steps(1) infinite;
  animation-delay: calc(var(--p) * -.18s);
}
@keyframes festa {
  0%   { background: var(--ouro-claro); box-shadow: 0 0 14px 4px rgba(255, 226, 140, .95), 0 0 3px #fff; }
  50%  { background: var(--led-apagado); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .45); }
}

/* ---------- rodas ---------- */
.rodas { display: flex; gap: calc(var(--roda) * .11); position: relative; }
.roda {
  position: relative; width: var(--roda); height: var(--roda); border-radius: 50%;
  overflow: hidden; isolation: isolate; background: #0F0C09;
  box-shadow:
    0 0 0 calc(var(--roda) * .018) var(--ouro-forte),
    0 0 0 calc(var(--roda) * .032) #2B2219,
    0 0 0 calc(var(--roda) * .042) var(--ouro-escuro),
    0 14px 34px rgba(0, 0, 0, .65);
}
.roda::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .30), transparent 36%),
    radial-gradient(circle, transparent 60%, rgba(0, 0, 0, .5) 100%);
}
.faixa { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.simbolo { width: var(--roda); height: var(--roda); }
.simbolo img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.roda.parou .simbolo { animation: quique .38s ease-out; }
@keyframes quique { 0% { transform: translateY(-7%); } 55% { transform: translateY(2.5%); } 100% { transform: none; } }

.roda.ganhou { animation: rodaBrilha .9s ease-in-out infinite; }
@keyframes rodaBrilha {
  50% {
    box-shadow:
      0 0 0 calc(var(--roda) * .018) var(--ouro-claro),
      0 0 0 calc(var(--roda) * .032) #2B2219,
      0 0 0 calc(var(--roda) * .042) var(--ouro),
      0 0 60px 16px rgba(233, 196, 106, .75);
  }
}

.letreiro {
  margin: calc(var(--roda) * .085) 0 0; min-height: 1.3em; text-align: center;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 2.3rem);
  color: var(--ouro); text-shadow: 0 0 18px rgba(233, 196, 106, .35);
}
.letreiro.ganhou { color: var(--ouro-claro); animation: pulsar .55s ease-in-out 5; }
@keyframes pulsar { 50% { transform: scale(1.07); text-shadow: 0 0 26px rgba(255, 226, 140, .9); } }

/* ---------- painel de baixo ---------- */
.painel {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(10px, 1.5vw, 26px);
}
.jogador {
  display: flex; align-items: center; gap: 12px; cursor: pointer; text-align: left;
  padding: 8px 20px 8px 8px; border-radius: 999px; color: var(--texto-claro);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 196, 106, .35);
}
.jogador:hover { background: rgba(233, 196, 106, .12); }
.jogador img {
  width: clamp(46px, 4.4vw, 76px); height: clamp(46px, 4.4vw, 76px); border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 3px var(--ouro-forte); background: #2B2219;
}
.jogador small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); }
.jogador strong { display: block; font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.6rem); max-width: 12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jogador-trocar { font-size: .82rem; color: var(--ouro); border-bottom: 1px dashed rgba(233, 196, 106, .6); margin-left: 4px; }

.creditos {
  min-width: clamp(96px, 9vw, 160px); padding: 8px 18px; text-align: center; border-radius: 18px;
  background: #0F0C09; box-shadow: inset 0 0 0 2px var(--ouro-escuro), inset 0 0 24px rgba(0, 0, 0, .7);
}
.creditos small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); }
.creditos strong {
  display: block; line-height: 1.05; font-family: var(--num); font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 4rem); color: var(--ouro-claro); text-shadow: 0 0 14px rgba(233, 196, 106, .6);
}
.creditos.subiu strong { animation: subiu .7s ease-out; }
@keyframes subiu { 30% { transform: scale(1.35); color: #fff; text-shadow: 0 0 26px rgba(255, 226, 140, 1); } }

.girar {
  cursor: pointer; border: 0; border-radius: 999px;
  padding: .42em 1.7em; font-family: var(--serif); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2.8rem); color: var(--carvao);
  background: linear-gradient(180deg, var(--ouro-claro) 0%, var(--ouro) 45%, #B8912A 100%);
  box-shadow: 0 6px 0 #7A5C1D, 0 14px 34px rgba(233, 196, 106, .35);
  animation: chamar 2.2s ease-in-out infinite;
  transition: transform .08s, box-shadow .08s, filter .2s;
}
.girar:active { transform: translateY(4px); box-shadow: 0 2px 0 #7A5C1D, 0 8px 20px rgba(233, 196, 106, .3); }
.girar:disabled { cursor: default; animation: none; filter: grayscale(.55) brightness(.7); }
.girar.sem-credito { animation: none; }
@keyframes chamar { 50% { box-shadow: 0 6px 0 #7A5C1D, 0 14px 50px rgba(255, 226, 140, .7); } }

.mais {
  cursor: pointer; padding: .7em 1.3em; border-radius: 999px; font-size: clamp(.95rem, 1.2vw, 1.2rem);
  color: var(--ouro); background: transparent; border: 2px solid rgba(233, 196, 106, .6);
}
.mais:hover { background: rgba(233, 196, 106, .12); }

/* ---------- lateral ---------- */
.lateral { display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px); min-height: 0; }
.cartao {
  padding: clamp(14px, 1.4vw, 24px); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(233, 196, 106, .28);
}
.cartao h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; color: var(--ouro); font-size: clamp(1.2rem, 1.7vw, 1.8rem); }
.qr-fixo { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; border-color: rgba(233, 196, 106, .55); }
.qr-fixo-img { flex-shrink: 0; }
.qr-fixo-img img {
  display: block; width: clamp(108px, min(9.5vw, 17vh), 230px); height: auto; padding: 7px; border-radius: 12px;
  background: #fff; image-rendering: pixelated; box-shadow: 0 0 0 3px var(--ouro-forte), 0 0 30px rgba(233, 196, 106, .35);
}
.qr-fixo h2 { margin-bottom: 2px; }
.qr-fixo .preco { margin: 4px 0 0; padding: 0; border: 0; color: var(--ouro); }
.lateral .cartao { padding: clamp(12px, 1.1vw, 20px) clamp(14px, 1.3vw, 22px); }
.lateral .cartao h2 { margin-bottom: 6px; }
.ranking { min-height: 130px; }

/* telas baixas (notebook com a barra do navegador, TV em 720p):
   tira os títulos menos importantes para o ranking caber */
@media (min-width: 901px) and (max-height: 700px) {
  .premios h2, .qr-instrucao { display: none; }
  .qr-fixo { gap: 4px; }
  .ranking { min-height: 110px; }
}
.qr-fixo p { margin: 0; color: var(--texto-claro); font-size: clamp(.85rem, 1vw, 1.05rem); line-height: 1.45; }

.premio { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.premio p { margin: 0; }
.premio strong { display: block; font-weight: 500; font-size: clamp(.9rem, 1vw, 1.1rem); }
.premio span { font-family: var(--num); color: var(--ouro); font-size: clamp(.9rem, 1vw, 1.1rem); }
.premio.dourado span { color: var(--ouro-claro); font-weight: 700; }
.mini-trio { display: flex; flex-shrink: 0; }
.mini-trio img {
  width: clamp(28px, 2.3vw, 42px); height: clamp(28px, 2.3vw, 42px); border-radius: 50%; object-fit: cover;
  margin-left: -7px; box-shadow: 0 0 0 2px #1B1611, 0 0 0 3px var(--ouro-escuro);
}
.mini-trio img:first-child { margin-left: 0; }
.preco { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(233, 196, 106, .16); color: var(--texto-suave); font-size: .95rem; }
.preco strong { font-family: var(--num); color: var(--texto-claro); }

.ranking { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ranking ol { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; min-height: 0; }
.ranking li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ranking li.novo { animation: entrar .7s ease-out; }
@keyframes entrar { from { opacity: 0; transform: translateX(20px); background: rgba(233, 196, 106, .25); } }
.ranking .pos { width: 1.5em; text-align: center; font-family: var(--num); font-weight: 800; color: var(--ouro); }
.ranking img { width: clamp(34px, 2.6vw, 46px); height: clamp(34px, 2.6vw, 46px); border-radius: 50%; object-fit: cover; }
.ranking .nome { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selos { display: flex; gap: 5px; flex-shrink: 0; }
.selo { padding: 2px 8px; border-radius: 999px; font-size: .74rem; background: rgba(233, 196, 106, .14); color: var(--ouro); white-space: nowrap; }
.selo.ouro { color: var(--carvao); font-weight: 700; background: linear-gradient(180deg, var(--ouro-claro), var(--ouro-forte)); }
.vazio, .giros-noite { margin: 8px 0 0; color: var(--texto-suave); font-size: .92rem; }
.giros-noite strong { font-family: var(--num); color: var(--texto-claro); }

/* ---------- janelas (escolher pessoa / créditos) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px;
  background: rgba(10, 8, 6, .74); backdrop-filter: blur(4px);
}
.janela {
  position: relative; width: min(540px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  padding: clamp(20px, 2.4vw, 34px); border-radius: 24px;
  background: var(--creme); color: var(--carvao); font-family: var(--sans);
  border: 1px solid var(--borda); box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  animation: subir .25s ease-out;
}
@keyframes subir { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.janela.larga { width: min(1040px, 100%); }
.janela h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.3vw, 2.3rem); color: var(--carvao); }
.fechar {
  position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; background: none;
  font-size: 2rem; line-height: 1; color: #8A7F71; cursor: pointer; border-radius: 50%;
}
.fechar:hover { background: var(--creme-2); }

#busca {
  width: 100%; margin-bottom: 18px; padding: 12px 18px; border-radius: 999px; font: inherit;
  border: 1px solid var(--borda); background: #fff; color: var(--carvao);
}
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 14px; }
.pessoa {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; cursor: pointer;
  border: 0; border-radius: 18px; background: none; color: var(--carvao);
}
.pessoa:hover, .pessoa:focus-visible { background: var(--creme-2); outline: none; }
.pessoa img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #C9AC8C;
}
.pessoa.escolhida img { box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--ouro-forte); }
.pessoa strong { font-weight: 500; font-size: 1.02rem; text-align: center; }
.pessoa small { margin-top: -6px; font-size: .78rem; color: var(--caramelo-tx); }
.grade-vazia { grid-column: 1 / -1; text-align: center; color: var(--texto); }

.cred-topo { display: flex; align-items: center; gap: 14px; margin: 0 40px 6px 0; }
.cred-topo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ouro-forte); }
.cred-topo small { color: var(--caramelo-tx); letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.cred-topo h2 { margin: 0; }
.instrucao { margin: 8px 0 14px; color: var(--texto); line-height: 1.5; }
.instrucao.centro { text-align: center; font-size: 1.15rem; }
.pacotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pacote {
  padding: 18px 10px; border-radius: 18px; cursor: pointer; text-align: center;
  border: 2px solid var(--borda); background: #fff; color: var(--carvao);
  transition: border-color .15s, transform .1s;
}
.pacote:hover, .pacote:focus-visible { border-color: var(--ouro-forte); outline: none; }
.pacote:active { transform: scale(.98); }
.pacote strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.1; }
.pacote span { font-family: var(--num); color: var(--caramelo-tx); font-size: 1.05rem; }

.qr { display: grid; place-items: center; }
.qr img {
  width: min(310px, 72vw); height: auto; image-rendering: pixelated; background: #fff;
  padding: 10px; border-radius: 14px; border: 1px solid var(--borda);
}
.valor { margin: 12px 0; text-align: center; font-family: var(--num); font-weight: 800; font-size: 1.8rem; color: var(--carvao); }
.aguardando { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; color: var(--texto); }
.bolinha { width: 11px; height: 11px; border-radius: 50%; background: var(--ouro-forte); animation: piscar 1s ease-in-out infinite; }
@keyframes piscar { 50% { opacity: .25; transform: scale(.7); } }
.ok-grande { margin: 6px 0 0; text-align: center; font-family: var(--num); font-weight: 900; font-size: 5.5rem; line-height: 1; color: #B8912A; }

.botao {
  display: block; width: 100%; padding: 14px 18px; cursor: pointer; border: 0; border-radius: 999px;
  font-weight: 500; font-size: 1rem; color: var(--carvao);
  background: linear-gradient(180deg, var(--ouro-claro), var(--ouro) 50%, #C9A240);
}
.botao.claro { background: #fff; border: 1px solid var(--borda); }
.botao:hover { filter: brightness(1.04); }
.link { display: block; margin: 6px auto 0; border: 0; background: none; cursor: pointer; color: var(--caramelo-tx); text-decoration: underline; }
.erro { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; color: var(--vermelho); background: #FBEDEB; }

details.teste { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--borda); }
details.teste summary { cursor: pointer; color: #8A7F71; font-size: .9rem; }
#formTeste { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: end; margin-top: 12px; }
#formTeste label { display: grid; gap: 4px; font-size: .82rem; color: var(--texto); }
#formTeste input { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borda); font: inherit; background: #fff; }
#formTeste .botao { grid-column: 1 / -1; }

/* ---------- aviso rápido ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70;
  padding: 12px 22px; border-radius: 999px; max-width: calc(100% - 32px);
  background: var(--creme); color: var(--carvao); box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  animation: subir .25s ease-out;
}

/* ---------- PRÊMIO DOS NOIVOS ---------- */
.especial {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(84, 56, 14, .94) 0%, rgba(14, 10, 6, .98) 72%);
}
.especial.ativo { animation: abrirEsp .45s ease-out; }
@keyframes abrirEsp { from { opacity: 0; } }
.esp-feixes {
  position: absolute; inset: -60%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 140, .16) 0deg 8deg, transparent 8deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 58%);
  mask-image: radial-gradient(circle, #000 0%, transparent 58%);
  animation: girarFeixes 16s linear infinite;
}
@keyframes girarFeixes { to { transform: rotate(360deg); } }
.esp-luzes { position: absolute; inset: 18px; pointer-events: none; }
.esp-luzes .led { --led: clamp(12px, 1.1vw, 20px); }
.esp-conteudo { position: relative; z-index: 2; text-align: center; padding: 16px; }
.esp-pre {
  margin: 0 0 3vh; font-family: var(--serif); font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  font-size: clamp(1.2rem, 2.8vw, 2.9rem); color: var(--ouro-claro);
  text-shadow: 0 0 24px rgba(255, 226, 140, .8);
  animation: deCima .8s .15s both;
}
@keyframes deCima { from { opacity: 0; transform: translateY(-40px); } }
.esp-trio { display: flex; align-items: center; justify-content: center; gap: 3vw; margin-bottom: 3vh; }
.esp-trio img {
  width: min(21vw, 32vh); height: min(21vw, 32vh); border-radius: 50%; object-fit: cover; background: #1B1611;
  box-shadow: 0 0 0 6px var(--ouro-claro), 0 0 0 12px #B8912A, 0 0 70px 24px rgba(233, 196, 106, .55);
}
.esp-p1  { animation: aparecer .75s .35s cubic-bezier(.2, 1.6, .4, 1) both; }
.esp-anel { animation: aparecer .75s .65s cubic-bezier(.2, 1.6, .4, 1) both, anelGira 2.6s 1.5s ease-in-out infinite; }
.esp-p3  { animation: aparecer .75s .95s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes aparecer { from { opacity: 0; transform: scale(.2) rotate(-20deg); } }
@keyframes anelGira {
  0%, 100% { transform: rotateY(0) scale(1); }
  50%      { transform: rotateY(180deg) scale(1.08); box-shadow: 0 0 0 6px #fff, 0 0 0 12px var(--ouro), 0 0 110px 40px rgba(255, 226, 140, .8); }
}
.esp-valor {
  margin: 0; line-height: 1; font-family: var(--num); font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 12rem);
  background: linear-gradient(100deg, #B8912A 0%, var(--ouro-claro) 28%, var(--ouro) 42%, #fff 50%, var(--ouro) 58%, #B8912A 82%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(233, 196, 106, .65));
  animation: estourar .9s 1.15s cubic-bezier(.2, 1.8, .4, 1) both, brilhoTexto 2.4s 1.2s linear infinite;
}
@keyframes estourar { from { opacity: 0; transform: scale(.3); } }
@keyframes brilhoTexto { from { background-position: 120% 0; } to { background-position: -140% 0; } }
.esp-para {
  margin: 1.5vh 0 3vh; font-size: clamp(1.3rem, 2.6vw, 2.6rem); color: var(--texto-claro);
  animation: deBaixo .8s 1.6s both;
}
.esp-para strong { color: var(--ouro-claro); font-weight: 500; }
@keyframes deBaixo { from { opacity: 0; transform: translateY(30px); } }
.esp-continuar {
  opacity: 0; pointer-events: none; transition: opacity .5s;
  padding: .6em 2em; border: 0; border-radius: 999px; cursor: pointer;
  font-size: clamp(1rem, 1.4vw, 1.4rem); color: var(--carvao);
  background: linear-gradient(180deg, var(--ouro-claro), var(--ouro) 50%, #B8912A);
}
.esp-continuar.visivel { opacity: 1; pointer-events: auto; }

body.clarao::after {
  content: ""; position: fixed; inset: 0; z-index: 55; pointer-events: none;
  background: #FFF6D8; animation: clarao .7s ease-out forwards;
}
@keyframes clarao { from { opacity: .95; } to { opacity: 0; } }

/* ---------- telas em pé (celular) e estreitas ---------- */
@media (max-width: 900px), (orientation: portrait) {
  :root { --roda: min(25vw, 30vh); }
  body { height: auto; min-height: 100dvh; overflow: auto; }
  .palco { grid-template-columns: 1fr; }
  .lateral { min-height: auto; }
  .ranking ol { max-height: 50vh; }
  .jogador strong { max-width: 8em; }
}
/* no celular o QR não serve (ninguém lê a própria tela) */
@media (max-width: 600px) {
  .qr-fixo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .esp-feixes, .girar { animation: none; }
}
