/* Número da Sorte — popup de ganhador (13/08/2026, Beto)
   Aparece por cima de tudo quando alguém crava o número secreto no chat.
   Arquivo separado de propósito: não encosta no overlay-plinko.css que já roda. */

.gp-tela {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(255, 190, 60, .22), rgba(0, 0, 0, .88) 60%);
  backdrop-filter: blur(3px);
  animation: gp-entrar .35s cubic-bezier(.2, .9, .3, 1.4);
}
.gp-tela.on { display: flex; }

@keyframes gp-entrar {
  from { opacity: 0; transform: scale(.86); }
  to   { opacity: 1; transform: scale(1); }
}

.gp-card {
  position: relative;
  text-align: center;
  padding: 42px 56px;
  border-radius: 26px;
  background: linear-gradient(160deg, #17130a, #0a0a0a 70%);
  border: 2px solid #ffb020;
  box-shadow: 0 0 0 1px rgba(255, 208, 96, .25),
              0 22px 70px rgba(255, 150, 0, .35),
              inset 0 1px 0 rgba(255, 220, 150, .25);
  animation: gp-pulsar 1.15s ease-in-out infinite;
}

@keyframes gp-pulsar {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,208,96,.25), 0 22px 70px rgba(255,150,0,.35), inset 0 1px 0 rgba(255,220,150,.25); }
  50%      { box-shadow: 0 0 0 2px rgba(255,224,140,.55), 0 26px 90px rgba(255,170,20,.6), inset 0 1px 0 rgba(255,235,190,.4); }
}

.gp-chamada {
  font-size: 15px;
  letter-spacing: 5px;
  color: #ffd166;
  text-transform: uppercase;
  margin-bottom: 10px;
  animation: gp-piscar .85s steps(2, jump-none) infinite;
}
@keyframes gp-piscar { 50% { opacity: .35; } }

.gp-nome {
  font-size: clamp(30px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 0 26px rgba(255, 190, 70, .85), 0 3px 0 rgba(0, 0, 0, .5);
  word-break: break-word;
  max-width: 12ch;
  margin: 0 auto;
}

.gp-numero {
  margin-top: 16px;
  font-size: clamp(40px, 9vw, 92px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;   /* número não "dança" ao trocar */
  color: #ffb020;
  text-shadow: 0 0 34px rgba(255, 176, 32, .8);
}
.gp-legenda { margin-top: 6px; font-size: 13px; letter-spacing: 3px; color: #9a8f7a; text-transform: uppercase; }

/* fogos: partículas que sobem e estouram, CSS puro (sem biblioteca) */
.gp-fogos { position: absolute; inset: -60px; pointer-events: none; overflow: hidden; }
.gp-faisca {
  position: absolute;
  bottom: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  opacity: 0;
  animation: gp-subir 1.6s ease-out infinite;
}
@keyframes gp-subir {
  0%   { transform: translateY(0) scale(.5);      opacity: 0; }
  12%  { opacity: 1; }
  70%  { transform: translateY(-260px) scale(1.15); opacity: 1; }
  100% { transform: translateY(-330px) scale(.2);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-tela, .gp-card, .gp-chamada, .gp-faisca { animation: none !important; }
}
