:root {
  --navy: #022460;
  --navy-2: #06173d;
  --noite: #030b22;
  --ouro: #f5c84c;
  --ouro-2: #ffe7a1;
  --ouro-3: #b8871b;
  --verm: #d7263d;
  --verde: #1f8a5b;
  --texto: #f4f6ff;
  --suave: #a9b4d6;
  --vidro: rgba(255, 255, 255, .07);
  --vidro-borda: rgba(255, 255, 255, .14);
  --raio: 18px;
  --sombra-ouro: 0 0 24px rgba(245, 200, 76, .45);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texto);
  background: radial-gradient(1200px 700px at 50% -10%, #0b3a8f 0%, var(--navy) 35%, var(--noite) 100%) fixed;
  background-color: var(--noite);
  overflow-x: hidden;
}
button { font-family: inherit; }
#neve { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
#confetes { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.camada { position: relative; z-index: 1; }

.logo-nkt { height: 34px; opacity: .95; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.titulo-ouro {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-weight: 700;
  background: linear-gradient(180deg, var(--ouro-2), var(--ouro) 45%, var(--ouro-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(245, 200, 76, .25);
  letter-spacing: .02em;
  padding-top: .14em; /* não cortar acentos (Ó) com background-clip */
}
.btn-ouro {
  appearance: none; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--ouro-2), var(--ouro) 50%, var(--ouro-3));
  color: #2a1c00; font-weight: 700; font-size: 1.05rem;
  padding: 15px 28px; border-radius: 999px;
  box-shadow: var(--sombra-ouro), inset 0 -3px 0 rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.btn-ouro:active { transform: scale(.96); }
.btn-ouro:disabled { opacity: .35; box-shadow: none; cursor: not-allowed; }
.btn-vidro {
  appearance: none; cursor: pointer; color: var(--texto);
  background: var(--vidro); border: 1px solid var(--vidro-borda);
  padding: 10px 16px; border-radius: 999px; font-size: .95rem;
}
.btn-vidro:hover { background: rgba(255, 255, 255, .12); }
.cartao {
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  border: 1px solid var(--vidro-borda);
  border-radius: var(--raio);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.avatar {
  --h: 210;
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; color: #fff;
  background: linear-gradient(145deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 65% 38%));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2), 0 4px 10px rgba(0, 0, 0, .25);
}
.luzes {
  position: fixed; top: 0; left: 0; right: 0; height: 26px; z-index: 2; pointer-events: none;
  display: flex; justify-content: space-around; padding: 0 6px;
  background: linear-gradient(transparent 9px, rgba(20, 40, 20, .9) 9px, rgba(20, 40, 20, .9) 11px, transparent 11px);
}
.luzes i {
  width: 9px; height: 14px; margin-top: 9px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  animation: piscar 1.6s infinite ease-in-out;
}
.luzes i:nth-child(4n+1) { background: var(--verm); color: var(--verm); }
.luzes i:nth-child(4n+2) { background: var(--ouro); color: var(--ouro); animation-delay: .4s; }
.luzes i:nth-child(4n+3) { background: #39d98a; color: #39d98a; animation-delay: .8s; }
.luzes i:nth-child(4n+4) { background: #5ab4ff; color: #5ab4ff; animation-delay: 1.2s; }
@keyframes piscar {
  0%, 100% { opacity: .35; box-shadow: none; }
  50% { opacity: 1; box-shadow: 0 0 12px 3px currentColor; }
}
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes brilho { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes entrar { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes girar { to { transform: rotate(360deg); } }
.entrar { animation: entrar .5s cubic-bezier(.2, .8, .2, 1) both; }
.oculto { display: none !important; }
.trofeu { filter: drop-shadow(0 0 18px rgba(245, 200, 76, .55)); }
.raios {
  position: absolute; inset: -40%; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255, 231, 161, .18) 0 8deg, transparent 8deg 20deg);
  animation: girar 26s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 62%); mask: radial-gradient(circle, #000 20%, transparent 62%);
}
.aviso {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(120px);
  background: #111a3a; border: 1px solid var(--vidro-borda); padding: 12px 18px; border-radius: 12px;
  z-index: 60; transition: transform .35s cubic-bezier(.2, .8, .2, 1); max-width: 90vw; text-align: center;
}
.aviso.ver { transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
