/* ═══════════════════════════════════════════════════════════════
   WELUCCI PRO — ROLETA DO EVENTO · TOTEM PORTRAIT-FIRST
═══════════════════════════════════════════════════════════════ */

:root {
  --bg:           #0D1C21;
  --bg-2:         #0A161A;
  --bg-card:      rgba(20, 46, 55, 0.92);
  --bg-glass:     rgba(20, 46, 55, 0.55);
  --bg-input:     rgba(6, 15, 19, 0.9);

  --t1: #FFFFFF;
  --t2: rgba(255,255,255,0.62);
  --t3: rgba(255,255,255,0.30);

  --b1: rgba(255,255,255,0.07);
  --b2: rgba(255,255,255,0.14);
  --b3: rgba(255,255,255,0.28);

  --accent:     #FFFFFF;
  --cyan:       #38BDF8;
  --mint:       #10FFAC;
  --pink:       #F472B6;
  --gold:       #FCD34D;

  /* Escala fluida — cresce em totem portrait / telas grandes */
  --fs-body:  clamp(15px, 1.6vmin, 19px);
  --fs-small: clamp(12px, 1.2vmin, 14px);
  --fs-btn:   clamp(15px, 1.7vmin, 20px);
  --fs-h1:    clamp(38px, 7vmin, 84px);
  --fs-h2:    clamp(22px, 3.2vmin, 38px);
  --fs-h3:    clamp(17px, 2.2vmin, 26px);

  --pad-card: clamp(24px, 3.2vmin, 42px);
  --tap:      clamp(52px, 6.5vmin, 68px);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }

body {
  background: var(--bg);
  color: var(--t1);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: hidden;
  touch-action: manipulation;
}

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input  { font: inherit; color: inherit; }
img    { display: block; max-width: 100%; }

svg { display: block; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] svg { width: 100%; height: 100%; }

/* ── Atmosfera minimalista: apenas a cor base ─────────────── */
.bg-atmo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--bg);
}

/* ── Screens ─────────────────────────────────────────────── */
.screen {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: none;
  animation: screenIn .55s var(--ease-expo) both;
}
.screen.active { display: flex; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   WELCOME — Totem de abertura · "toque para continuar"
═══════════════════════════════════════════════════════════════ */
.screen-welcome {
  align-items: center; justify-content: center;
  padding: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}
.screen-welcome.leaving {
  animation: welcomeLeave 0.55s var(--ease-expo) forwards;
}
@keyframes welcomeLeave {
  to { opacity: 0; transform: scale(1.04); filter: blur(6px); }
}

.welcome-shell {
  width: 100%;
  max-width: 960px;
  height: 100vh; height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 3.5vmin, 64px) clamp(26px, 3.5vmin, 56px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: clamp(18px, 2.4vmin, 36px);
  position: relative; z-index: 1;
  text-align: center;
}

/* Top bar — logo centralizada em destaque */
.welcome-top {
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(10px, 1.4vmin, 18px);
  padding: clamp(10px, 1.8vmin, 22px) clamp(4px, 0.8vmin, 12px) clamp(16px, 2.2vmin, 28px);
  border-bottom: 1px solid var(--b1);
  position: relative;
}
.welcome-top::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: clamp(60px, 8vmin, 120px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 10px var(--cyan);
}
.welcome-brand {
  height: clamp(72px, 10vmin, 124px);
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(56,189,248,0.22)) drop-shadow(0 6px 14px rgba(0,0,0,0.4));
}
.welcome-edition {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--b2);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.25vmin, 13px);
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--t2); font-weight: 600;
}
.welcome-edition b { color: var(--t1); font-weight: 700; }

/* Hero central — reusa hero-stage / auth-headline / auth-lead */
.welcome-hero {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: clamp(10px, 1.6vmin, 20px);
  flex: 1;
  justify-content: center;
}

/* CTA — "toque para continuar" */
.welcome-cta {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(10px, 1.4vmin, 16px);
  padding-top: clamp(8px, 1.4vmin, 18px);
}
.welcome-tap {
  position: relative;
  width: clamp(78px, 10vmin, 120px);
  height: clamp(78px, 10vmin, 120px);
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(56,189,248,0.18), rgba(16,255,172,0.12));
  border: 1px solid rgba(56,189,248,0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 10px 40px rgba(56,189,248,0.25);
  color: var(--t1);
  animation: tapBob 1.6s ease-in-out infinite;
}
@keyframes tapBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.welcome-tap .tap-ic {
  width: 48%; height: 48%;
  color: var(--t1);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.tap-ring,
.tap-ring-2 {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(56,189,248,0.55);
  animation: tapPulse 1.8s ease-out infinite;
  pointer-events: none;
}
.tap-ring-2 { animation-delay: 0.9s; border-color: rgba(16,255,172,0.45); }
@keyframes tapPulse {
  0%   { transform: scale(1);    opacity: 0.9; }
  80%  { transform: scale(1.7);  opacity: 0; }
  100% { transform: scale(1.7);  opacity: 0; }
}

.welcome-tap-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3.2vmin, 36px);
  letter-spacing: -0.01em;
  color: var(--t1);
  line-height: 1.1;
  background: linear-gradient(110deg, #FFFFFF 0%, #D5E9F0 50%, #FFFFFF 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: tapShine 3.5s ease-in-out infinite;
}
@keyframes tapShine {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.welcome-tap-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.25vmin, 14px);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--t2);
  font-weight: 600;
}

.welcome-foot {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  padding-top: clamp(10px, 1.4vmin, 18px);
  border-top: 1px solid var(--b1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.2vmin, 14px);
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--t3); font-weight: 600;
}
.welcome-foot i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--t3);
}

/* ═══════════════════════════════════════════════════════════════
   AUTH — Totem portrait · editorial / institucional
═══════════════════════════════════════════════════════════════ */
.screen-auth {
  align-items: stretch; justify-content: center;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.stars-canvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.55;
}

.auth-shell {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(26px, 3vmin, 56px) clamp(26px, 3.5vmin, 56px) clamp(28px, 3.5vmin, 56px);
  display: flex; flex-direction: column;
  gap: clamp(22px, 3vmin, 40px);
  position: relative; z-index: 1;
}
.auth-shell > * { animation: heroIn 0.85s var(--ease-expo) both; }
.auth-shell > *:nth-child(1) { animation-delay: 0.00s; }
.auth-shell > *:nth-child(2) { animation-delay: 0.08s; }
.auth-shell > *:nth-child(3) { animation-delay: 0.18s; }
.auth-shell > *:nth-child(4) { animation-delay: 0.26s; }
.auth-shell > *:nth-child(5) { animation-delay: 0.34s; }
.auth-shell > *:nth-child(6) { animation-delay: 0.46s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(0.75); }
}

/* ── TOP BAR ────────────────────────────────────────────── */
.auth-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: clamp(8px, 1.4vmin, 18px);
  border-bottom: 1px solid var(--b1);
}
.auth-brand {
  height: clamp(46px, 7vmin, 78px);
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.auth-edition {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--b2);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.25vmin, 13px);
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--t2); font-weight: 600;
}
.auth-edition b { color: var(--t1); font-weight: 700; }
.edition-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   AUTH INTRO — bloco minimalista acima do card
═══════════════════════════════════════════════════════════════ */
.auth-intro {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: clamp(10px, 1.4vmin, 18px);
  padding-top: clamp(4px, 1vmin, 14px);
}
.auth-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.4vmin, 52px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--t1);
  max-width: 18ch;
}
.auth-title em {
  font-style: normal;
  background: linear-gradient(110deg, var(--cyan) 0%, var(--mint) 50%, #FCD34D 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradFlow 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   HERO 3D — Roleta holográfica + texto cinemático
═══════════════════════════════════════════════════════════════ */
.auth-hero {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: clamp(10px, 1.4vmin, 18px);
  padding-top: clamp(4px, 1vmin, 14px);
}

/* ── Stage 3D ──────────────────────────────────────────── */
.hero-stage {
  position: relative;
  width: 100%;
  height: clamp(260px, 38vmin, 420px);
  display: grid; place-items: center;
  margin-bottom: clamp(8px, 1.5vmin, 18px);
  perspective: 1400px;
}
.stage-glow {
  position: absolute;
  width: 90%; height: 70%;
  bottom: 6%;
  background:
    radial-gradient(ellipse at center, rgba(56,189,248,0.35) 0%, rgba(16,255,172,0.15) 35%, transparent 70%);
  filter: blur(40px);
  animation: glowPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%,100% { opacity: .7; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.08); }
}

.stage-3d {
  position: relative;
  width: clamp(240px, 36vmin, 380px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(28deg) rotateZ(-3deg);
  animation: stageHover 6s ease-in-out infinite;
}
@keyframes stageHover {
  0%,100% { transform: rotateX(28deg) rotateZ(-3deg) translateY(0); }
  50%     { transform: rotateX(26deg) rotateZ(-2deg) translateY(-6px); }
}

/* Anéis orbitais */
.orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.18);
  pointer-events: none;
}
.orbit-a { inset: -8%; animation: orbitSpin 22s linear infinite; }
.orbit-b {
  inset: -18%;
  border: 1px dashed rgba(16,255,172,0.22);
  animation: orbitSpin 35s linear infinite reverse;
}
.orbit-c {
  inset: -28%;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 0 30px rgba(56,189,248,0.12),
    0 0 50px rgba(56,189,248,0.08);
  animation: orbitSpin 50s linear infinite;
}
@keyframes orbitSpin { to { transform: rotateZ(360deg); } }

/* ── Roleta preview ────────────────────────────────────── */
.hero-wheel {
  position: absolute; inset: 8%;
  display: grid; place-items: center;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55));
}
.hero-wheel-disc {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #F472B6 0deg 51.4deg,
    #38BDF8 51.4deg 102.8deg,
    #FCD34D 102.8deg 154.2deg,
    #FB923C 154.2deg 205.7deg,
    #10FFAC 205.7deg 257.1deg,
    #A78BFA 257.1deg 308.5deg,
    #F87171 308.5deg 360deg
  );
  box-shadow:
    inset 0 0 0 4px rgba(13,28,33,0.6),
    inset 0 0 0 6px rgba(255,255,255,0.08),
    0 0 60px rgba(56,189,248,0.35);
  animation: wheelSpin 22s linear infinite;
  overflow: hidden;
}
@keyframes wheelSpin { to { transform: rotate(360deg); } }

.hero-wheel-ticks {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(13,28,33,0.55) 0deg 0.6deg,
      transparent 0.6deg 51.4deg
    );
  mix-blend-mode: multiply;
}
.hero-wheel-glass {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.32) 0%, transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(13,28,33,0.45) 0%, transparent 50%);
  pointer-events: none;
}

/* Pin/seta no topo */
.hero-wheel-pin {
  position: absolute; top: -4%; left: 50%;
  width: 10%; aspect-ratio: 24/32;
  transform: translateX(-50%) translateZ(20px);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  z-index: 4;
}
.hero-wheel-pin svg { width: 100%; height: 100%; }

/* Hub central com logo */
.hero-wheel-hub {
  position: absolute;
  width: 32%; aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFFFFF 0%, #D5E9F0 100%);
  display: grid; place-items: center;
  transform: translateZ(30px);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.5),
    0 0 0 3px rgba(255,255,255,0.18),
    inset 0 2px 6px rgba(255,255,255,0.9),
    inset 0 -3px 8px rgba(0,0,0,0.2),
    0 0 30px rgba(56,189,248,0.5);
  z-index: 3;
  animation: hubPulse 2.4s ease-in-out infinite;
}
.hero-wheel-hub img {
  width: 65%; height: auto;
  filter: brightness(0) saturate(100%) invert(6%) sepia(40%) saturate(1200%) hue-rotate(155deg) brightness(95%) contrast(96%);
}
@keyframes hubPulse {
  0%,100% { box-shadow: 0 12px 28px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,255,255,0.18), inset 0 2px 6px rgba(255,255,255,0.9), inset 0 -3px 8px rgba(0,0,0,0.2), 0 0 30px rgba(56,189,248,0.5); }
  50%     { box-shadow: 0 12px 28px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,255,255,0.28), inset 0 2px 6px rgba(255,255,255,0.9), inset 0 -3px 8px rgba(0,0,0,0.2), 0 0 50px rgba(16,255,172,0.55); }
}

/* Sparkles orbitando */
.spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #FFFFFF, 0 0 20px var(--cyan);
  top: 50%; left: 50%;
  pointer-events: none;
  opacity: 0;
}
.spark::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; background: inherit; opacity: .35; filter: blur(3px);
}
@keyframes sparkOrbit {
  0%   { transform: rotate(var(--start)) translateX(var(--radius)) rotate(calc(var(--start) * -1)) scale(0.4); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: rotate(calc(var(--start) + 360deg)) translateX(var(--radius)) rotate(calc((var(--start) + 360deg) * -1)) scale(1); opacity: 0; }
}
.sp-1 { --start:   0deg; --radius: 56%; animation: sparkOrbit 7s linear infinite; }
.sp-2 { --start:  60deg; --radius: 62%; animation: sparkOrbit 9s linear infinite -1.5s; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.sp-3 { --start: 120deg; --radius: 58%; animation: sparkOrbit 8s linear infinite -3s; background: #FCD34D; box-shadow: 0 0 10px #FCD34D; }
.sp-4 { --start: 180deg; --radius: 64%; animation: sparkOrbit 10s linear infinite -4.5s; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sp-5 { --start: 240deg; --radius: 60%; animation: sparkOrbit 8.5s linear infinite -2s; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.sp-6 { --start: 300deg; --radius: 66%; animation: sparkOrbit 11s linear infinite -5.5s; background: #A78BFA; box-shadow: 0 0 10px #A78BFA; }

/* ── Texto centralizado ────────────────────────────────── */
.auth-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.25vmin, 13px);
  letter-spacing: 5px; font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.auth-eyebrow::before,
.auth-eyebrow::after {
  content: ''; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.auth-eyebrow::after {
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.auth-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8.5vmin, 110px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--t1);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25em;
}
.auth-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(-40deg);
  animation: wordReveal 0.85s var(--ease-spring) forwards;
}
.auth-headline .w-1 { animation-delay: 0.35s; }
.auth-headline .w-2 { animation-delay: 0.55s; }
.auth-headline .w-3 {
  animation-delay: 0.75s;
  background: linear-gradient(110deg, var(--cyan) 0%, var(--mint) 50%, #FCD34D 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(16,255,172,0.4);
}
.auth-headline .w-3::after {
  content: ''; display: block;
  margin: 4px auto 0;
  width: 60%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  box-shadow: 0 0 12px var(--mint);
  animation: underlineGlow 2.5s ease-in-out infinite 1.5s;
}
@keyframes wordReveal {
  0%   { opacity: 0; transform: translateY(28px) rotateX(-40deg); filter: blur(6px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) rotateX(0);          filter: blur(0); }
}
@keyframes underlineGlow {
  0%,100% { width: 60%; opacity: 0.7; }
  50%     { width: 90%; opacity: 1; }
}
/* gradient flow no Realize */
.auth-headline .w-3 {
  animation: wordReveal 0.85s var(--ease-spring) forwards 0.75s,
             gradFlow 4s ease-in-out infinite 1.5s;
}
@keyframes gradFlow {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.auth-lead {
  color: var(--t2);
  font-size: calc(var(--fs-body) + 2px);
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: leadIn 0.8s var(--ease-expo) forwards 1s;
}
@keyframes leadIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .stage-3d, .hero-wheel-disc, .orbit, .stage-glow, .hub, .spark { animation: none !important; }
  .auth-headline .word, .auth-lead { opacity: 1; transform: none; animation: none; }
}

/* ── PILARES (4 cards institucionais) ──────────────────── */
.auth-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.4vmin, 16px);
}
.auth-pillars li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px; row-gap: 2px;
  padding: clamp(14px, 1.8vmin, 22px) clamp(16px, 2vmin, 24px);
  border: 1px solid var(--b1);
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: border-color .25s, transform .25s var(--ease-expo);
}
.auth-pillars li::before {
  content: ''; position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity .3s;
}
.auth-pillars li:hover { border-color: var(--b2); transform: translateY(-2px); }
.auth-pillars li:hover::before { opacity: 1; }
.pillar-ic {
  grid-row: 1 / span 2;
  width: clamp(38px, 4.6vmin, 48px); height: clamp(38px, 4.6vmin, 48px);
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.22);
  color: var(--cyan);
}
.pillar-ic svg { width: 55%; height: 55%; }
.auth-pillars b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: calc(var(--fs-body) + 1px);
  font-weight: 700; color: var(--t1);
  letter-spacing: -0.005em;
}
.auth-pillars small {
  font-size: var(--fs-small); color: var(--t2);
  line-height: 1.45;
}

/* ── STEP BREADCRUMB — fluxo de progresso ─────────────── */
.step-breadcrumb {
  padding: clamp(12px, 1.6vmin, 18px) clamp(14px, 1.8vmin, 22px);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--b1);
  overflow-x: auto;
  scrollbar-width: none;
}
.step-breadcrumb::-webkit-scrollbar { display: none; }
.step-breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: max-content;
  gap: 0;
}
.step-breadcrumb li {
  --sb-size: clamp(26px, 3vmin, 32px);
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 12px;
}
.step-breadcrumb li:last-child { flex: 0 0 auto; }
.step-breadcrumb li .sb-line {
  flex: 1 1 auto;
  min-width: 24px;
  height: 2px;
  background: var(--b2);
  border-radius: 2px;
}
.step-breadcrumb li[data-status="complete"] .sb-line {
  background: var(--mint);
  box-shadow: 0 0 10px rgba(16,255,172,0.45);
}

.sb-marker {
  position: relative;
  flex-shrink: 0;
  width: var(--sb-size);
  height: var(--sb-size);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.2vmin, 12px);
  font-weight: 700;
  background: var(--bg);
  border: 2px solid var(--b2);
  color: var(--t3);
  transition: all .25s var(--ease-expo);
}
.sb-marker .sb-check {
  position: absolute;
  width: 55%; height: 55%;
  opacity: 0;
  color: #0D1C21;
  transition: opacity .2s;
}

.step-breadcrumb li[data-status="current"] .sb-marker {
  border-color: var(--mint);
  color: var(--mint);
  box-shadow:
    0 0 0 4px rgba(16,255,172,0.15),
    0 0 16px rgba(16,255,172,0.35);
}
.step-breadcrumb li[data-status="complete"] .sb-marker {
  background: var(--mint);
  border-color: var(--mint);
  color: #0D1C21;
}
.step-breadcrumb li[data-status="complete"] .sb-id { display: none; }
.step-breadcrumb li[data-status="complete"] .sb-check { opacity: 1; }

.sb-name {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--t2);
  white-space: nowrap;
}
.step-breadcrumb li[data-status="current"] .sb-name { color: var(--mint); }
.step-breadcrumb li[data-status="complete"] .sb-name { color: var(--t1); }

/* ── RODAPÉ INSTITUCIONAL ─────────────────────────────── */
.auth-foot {
  margin-top: clamp(2px, 1vmin, 12px);
  padding-top: clamp(16px, 2vmin, 24px);
  border-top: 1px solid var(--b1);
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center;
  text-align: center;
}
.foot-row {
  display: inline-flex; align-items: center; gap: 14px;
}
.foot-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #0D1C21;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900; font-size: 20px;
  box-shadow: 0 8px 18px rgba(56,189,248,0.25);
}
.foot-text { text-align: left; }
.foot-text b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: calc(var(--fs-small) + 2px);
  font-weight: 800; color: var(--t1);
  letter-spacing: 0.2px; display: block;
}
.foot-text small { color: var(--t3); font-size: var(--fs-small); }
.foot-meta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.1vmin, 12px);
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--t3); font-weight: 600;
  flex-wrap: wrap; justify-content: center;
}
.foot-meta i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--b3); display: inline-block;
}

/* ────────────────────────────────────────────────────────
   CARD DE CADASTRO — borda neon animada
──────────────────────────────────────────────────────── */
.auth-card {
  position: relative;
  width: 100%;
  background: linear-gradient(155deg, rgba(20,46,55,0.95) 0%, rgba(10,22,26,0.98) 100%);
  border: 1px solid var(--b2);
  border-radius: 28px;
  padding: var(--pad-card);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.55),
    0 0 60px rgba(56,189,248,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}
.card-edge-1, .card-edge-2 {
  position: absolute; pointer-events: none;
  border-radius: inherit;
}
.card-edge-1 {
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0, rgba(56,189,248,0.4) 90deg, transparent 180deg, rgba(16,255,172,0.4) 270deg, transparent 360deg);
  animation: edgeSpin 8s linear infinite;
  opacity: 0.5;
}
.card-edge-2 {
  inset: 1.5px;
  background: linear-gradient(155deg, rgba(20,46,55,0.98) 0%, rgba(10,22,26,1) 100%);
}
@keyframes edgeSpin { to { transform: rotate(360deg); } }
.auth-card > *:not(.card-edge-1):not(.card-edge-2) { position: relative; z-index: 1; }

.card-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px;
  border-radius: 999px; font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; letter-spacing: 2.2px; font-weight: 700;
  color: var(--cyan); background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.3);
  margin-bottom: 14px;
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseDot 1.4s ease-in-out infinite;
}
.card-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em;
}
.card-head p { color: var(--t2); margin-top: 6px; font-size: var(--fs-body); }

.form { display: grid; gap: 16px; margin-top: clamp(18px, 2.4vmin, 30px); }
.field { display: grid; gap: 7px; position: relative; }
.field > span {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.7px;
  color: var(--t3); font-weight: 700; font-family: 'Space Grotesk', sans-serif;
}
.field input {
  width: 100%;
  min-height: var(--tap);
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--b2);
  border-radius: 14px;
  color: var(--t1);
  font-size: calc(var(--fs-body) + 1px); font-weight: 500;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: var(--t3); }
.field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.18), 0 0 30px rgba(56,189,248,0.18);
  background: rgba(6,15,19,1);
}
.field-line {
  position: absolute; left: 18px; right: 18px; bottom: 1px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-expo);
  pointer-events: none;
  box-shadow: 0 0 10px var(--cyan);
}
.field input:focus ~ .field-line { transform: scaleX(1); }

.form-error {
  padding: 12px 15px; border-radius: 12px;
  background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.3);
  color: #fecdd3; font-size: var(--fs-small);
  animation: shake 0.4s;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* CTA magnetico */
.btn-primary {
  position: relative; overflow: hidden;
  margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap);
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFFFFF 0%, #CDE7F0 100%);
  color: #0D1C21;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: var(--fs-btn); letter-spacing: 0.3px;
  transition: transform .2s var(--ease-spring), box-shadow .25s;
  box-shadow:
    0 14px 28px rgba(56,189,248,0.22),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 40px rgba(56,189,248,0.2);
  width: 100%;
}
.btn-primary::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan), var(--mint), var(--gold));
  z-index: -1; filter: blur(16px); opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.01); }
.btn-primary:hover::before { opacity: 0.55; }
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary svg { width: 20px; height: 20px; transition: transform .25s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-shine {
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.7) 50%, transparent 70%);
  transform: skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes btnShine {
  0%,85% { left: -100%; }
  100%   { left: 200%; }
}
.btn-magnetic .btn-label { position: relative; z-index: 1; }

.fine-print { font-size: var(--fs-small); color: var(--t3); text-align: center; margin-top: 10px; }

/* ═══════════════════════════════════════════════════════════════
   WHEEL SCREEN
═══════════════════════════════════════════════════════════════ */
.screen-wheel {
  flex-direction: column;
  padding: clamp(14px, 2vmin, 28px);
  padding-bottom: clamp(20px, 3vmin, 48px);
}

.hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 2px;
  margin-bottom: 10px;
}
.hdr-logo {
  height: clamp(26px, 3.4vmin, 40px);
  filter: drop-shadow(0 8px 24px rgba(56,189,248,0.28));
}
.hdr-right { display: flex; align-items: center; gap: 10px; }
.hdr-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  background: var(--bg-glass); border: 1px solid var(--b1);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: var(--fs-small); font-weight: 600;
  max-width: 60vw;
  overflow: hidden;
}
.hdr-user-name {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 180px;
}
.hdr-user-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #0D1C21; display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.hdr-exit {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--b1); background: var(--bg-glass);
  color: var(--t2);
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.hdr-exit svg { width: 20px; height: 20px; }
.hdr-exit:hover { color: var(--t1); border-color: var(--b3); }

.wheel-stage {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vmin, 28px);
  padding: 6px 0;
}
.stage-hint { text-align: center; padding: 0 10px; }
.stage-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px; font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; letter-spacing: 2.2px; font-weight: 700;
  color: var(--mint); background: rgba(16,255,172,0.1);
  border: 1px solid rgba(16,255,172,0.28);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.chip-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint), 0 0 0 0 rgba(16,255,172,0.6);
  animation: chipPulseRing 1.6s ease-out infinite;
}
@keyframes chipPulseRing {
  0%   { box-shadow: 0 0 10px var(--mint), 0 0 0 0 rgba(16,255,172,0.65); }
  100% { box-shadow: 0 0 10px var(--mint), 0 0 0 12px rgba(16,255,172,0); }
}
.stage-hint h2 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: var(--fs-h2); font-weight: 800;
  letter-spacing: -0.02em;
}
.stage-hint h2 em {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-style: italic; font-weight: 700;
  background: linear-gradient(110deg, var(--cyan), var(--mint) 55%, #FCD34D);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Expande o bounding-box do clip para não cortar a inclinação do R italic */
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.08em;
}
.stage-hint p {
  color: var(--t2); font-size: var(--fs-body); margin-top: 4px;
}

.wheel-box {
  position: relative;
  width: min(96vmin, 720px);
  aspect-ratio: 1;
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* Atmosfera ao redor da roleta */
.wheel-atmo {
  position: absolute; inset: -8%;
  pointer-events: none;
  z-index: 0;
}
.atmo-aura {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(56,189,248,0.18) 0%, rgba(16,255,172,0.10) 35%, transparent 65%);
  filter: blur(30px);
  animation: atmoBreath 4.5s ease-in-out infinite;
}
@keyframes atmoBreath {
  0%,100% { transform: scale(1);    opacity: .85; }
  50%     { transform: scale(1.06); opacity: 1; }
}
.atmo-grid {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(255,255,255,0.04) 0deg 1.5deg,
      transparent 1.5deg 30deg);
  mask-image: radial-gradient(circle, transparent 45%, black 60%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle, transparent 45%, black 60%, transparent 90%);
  animation: orbitSpin 90s linear infinite;
  opacity: .55;
}
.atmo-bars {
  position: absolute; inset: -4%;
}
.atmo-bars span {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 14px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  transform-origin: center -300%;
  border-radius: 2px;
  opacity: .5;
}
.atmo-bars span:nth-child(1) { transform: translate(-50%, -50%) rotate(  0deg) translateY(-52%); }
.atmo-bars span:nth-child(2) { transform: translate(-50%, -50%) rotate( 45deg) translateY(-52%); background: linear-gradient(180deg, var(--mint), transparent); }
.atmo-bars span:nth-child(3) { transform: translate(-50%, -50%) rotate( 90deg) translateY(-52%); }
.atmo-bars span:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg) translateY(-52%); background: linear-gradient(180deg, #FCD34D, transparent); }
.atmo-bars span:nth-child(5) { transform: translate(-50%, -50%) rotate(180deg) translateY(-52%); }
.atmo-bars span:nth-child(6) { transform: translate(-50%, -50%) rotate(225deg) translateY(-52%); background: linear-gradient(180deg, var(--pink), transparent); }
.atmo-bars span:nth-child(7) { transform: translate(-50%, -50%) rotate(270deg) translateY(-52%); }
.atmo-bars span:nth-child(8) { transform: translate(-50%, -50%) rotate(315deg) translateY(-52%); background: linear-gradient(180deg, #A78BFA, transparent); }

.wheel-rings { position: absolute; inset: -24px; pointer-events: none; z-index: 1; }
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.ring-a { inset: 0; animation: spinA 60s linear infinite; }
.ring-b { inset: 18px; border-style: dashed; opacity: .4; animation: spinB 90s linear infinite reverse; }
.ring-c { inset: -10px; border: 1px solid rgba(56,189,248,0.2); box-shadow: 0 0 60px rgba(56,189,248,0.18); }
@keyframes spinA { to { transform: rotate(360deg); } }
@keyframes spinB { to { transform: rotate(360deg); } }

.wheel-pointer {
  position: absolute; top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 62px;
  z-index: 5;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.55));
}
.wheel-pointer svg { width: 100%; height: 100%; }

#wheelCanvas {
  width: 100%; height: 100%;
  display: block;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.55));
}

.wheel-go {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28%; aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFFFFF 0%, #D5E9F0 100%);
  color: #0D1C21;
  display: grid; place-items: center;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 1.9vmin, 22px); letter-spacing: 0.6px;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.45),
    0 0 0 4px rgba(255,255,255,0.12),
    inset 0 2px 6px rgba(255,255,255,0.8),
    inset 0 -3px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform .12s var(--ease-spring), box-shadow .2s;
  z-index: 4;
  animation: goPulse 2s ease-in-out infinite;
}
.wheel-go:hover { transform: translate(-50%, -50%) scale(1.06); }
.wheel-go:active { transform: translate(-50%, -50%) scale(0.95); }
.wheel-go:disabled { opacity: .55; cursor: not-allowed; animation: none; }
.wheel-go-inner {
  width: 82%; height: 82%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(56,189,248,0.18), transparent 65%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(4px, 0.8vmin, 10px);
  padding: 8% 10%;
  border: 1px dashed rgba(13,28,33,0.2);
  text-align: center;
  line-height: 1.1;
}
.wheel-go-label {
  display: block;
  line-height: 1.1;
}
.wheel-go-sub {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 58%;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: rgba(13,28,33,0.6);
  line-height: 1.15;
}
.wheel-go-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  pointer-events: none;
  animation: goRing 2.4s ease-out infinite;
  opacity: 0;
}
.wheel-go-pulse-2 { animation-delay: 1.2s; }
@keyframes goRing {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wheel-go:disabled .wheel-go-pulse { animation: none; opacity: 0; }
@keyframes goPulse {
  0%,100% { box-shadow: 0 10px 24px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,255,255,0.12), 0 0 0 14px rgba(255,255,255,0), inset 0 2px 6px rgba(255,255,255,0.8), inset 0 -3px 8px rgba(0,0,0,0.2); }
  50%     { box-shadow: 0 10px 24px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,255,255,0.18), 0 0 0 22px rgba(56,189,248,0), inset 0 2px 6px rgba(255,255,255,0.8), inset 0 -3px 8px rgba(0,0,0,0.2); }
}

/* Tile elegante de avisos */
.wheel-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}
.wf-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--b1);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}
.wf-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.22);
  color: var(--cyan);
  flex-shrink: 0;
}
.wf-ic svg { width: 18px; height: 18px; }
.wf-item b {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--fs-small);
  font-weight: 700; color: var(--t1);
}
.wf-item small {
  font-size: clamp(10px, 1.05vmin, 11px);
  color: var(--t3);
  letter-spacing: 0.2px;
}

.prize-legend {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 900px;
  padding: 0 6px;
}
.legend-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--bg-glass); border: 1px solid var(--b1);
  backdrop-filter: blur(12px);
  font-size: var(--fs-small); font-weight: 600;
  color: var(--t2);
  white-space: nowrap;
}
.legend-ic {
  width: 18px; height: 18px;
  display: grid; place-items: center;
}
.legend-ic svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════════════════════
   DONE SCREEN — Identidade Welucci Pro · Edição 2026
═══════════════════════════════════════════════════════════════ */
.screen-done {
  align-items: safe center; justify-content: safe center;
  padding: clamp(20px, 3vmin, 48px);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}
.done-aura {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.done-aura-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: doneAuraFloat 9s ease-in-out infinite;
}
.done-aura-orb-1 {
  width: 50vmax; height: 50vmax;
  top: -18vmax; left: -10vmax;
  background: radial-gradient(circle, var(--cyan), transparent 65%);
}
.done-aura-orb-2 {
  width: 55vmax; height: 55vmax;
  bottom: -22vmax; right: -14vmax;
  background: radial-gradient(circle, var(--mint), transparent 65%);
  animation-delay: -3.5s;
  opacity: .42;
}
@keyframes doneAuraFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(2%, -3%) scale(1.06); }
}

.done-card {
  position: relative; z-index: 1;
  width: 100%;
  max-width: min(94vw, 720px);
  text-align: center;
  padding: clamp(32px, 5vmin, 64px) clamp(26px, 4.5vmin, 56px);
  background: linear-gradient(155deg, rgba(20,46,55,0.96) 0%, rgba(10,22,26,0.98) 100%);
  border: 1px solid var(--b2);
  border-radius: clamp(22px, 3vmin, 32px);
  box-shadow:
    0 50px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(56,189,248,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(14px, 2vmin, 22px);
  animation: doneCardIn 0.7s var(--ease-expo) both;
}
@keyframes doneCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.done-brand {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  gap: 14px;
  margin-bottom: clamp(4px, 1vmin, 10px);
}
.done-logo {
  height: clamp(40px, 5.5vmin, 64px);
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(56,189,248,0.25));
}
.done-edition {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--b2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.2vmin, 12px);
  letter-spacing: 1.6px; font-weight: 600;
  color: var(--t2); text-transform: uppercase;
}
.done-edition b { color: var(--mint); font-weight: 800; margin-left: 2px; }

.done-badge {
  width: clamp(72px, 9vmin, 110px); height: clamp(72px, 9vmin, 110px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  display: grid; place-items: center;
  color: #0D1C21;
  box-shadow:
    0 12px 36px rgba(16,255,172,0.45),
    0 0 0 6px rgba(16,255,172,0.10),
    inset 0 2px 4px rgba(255,255,255,0.4);
  position: relative;
  animation: doneBadgePulse 2.4s ease-in-out infinite;
}
.done-badge::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(16,255,172,0.4);
  animation: spinA 14s linear infinite;
}
.done-badge svg { width: 50%; height: 50%; }
@keyframes doneBadgePulse {
  0%,100% { box-shadow: 0 12px 36px rgba(16,255,172,0.45), 0 0 0 6px rgba(16,255,172,0.10), inset 0 2px 4px rgba(255,255,255,0.4); }
  50%     { box-shadow: 0 12px 36px rgba(16,255,172,0.55), 0 0 0 14px rgba(16,255,172,0), inset 0 2px 4px rgba(255,255,255,0.4); }
}

.done-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(16,255,172,0.10);
  border: 1px solid rgba(16,255,172,0.32);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.2vmin, 13px);
  letter-spacing: 2.2px; font-weight: 700;
  color: var(--mint); text-transform: uppercase;
}

.done-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(120deg, #FFFFFF 0%, #FFFFFF 50%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.done-hello {
  color: var(--t2); font-size: var(--fs-body);
  margin-top: -6px;
}

.done-prize {
  width: 100%;
  padding: clamp(20px, 3vmin, 32px);
  background: rgba(0,0,0,0.32);
  border: 1px solid var(--b2);
  border-radius: clamp(16px, 2vmin, 22px);
  display: flex; align-items: center;
  gap: clamp(14px, 2vmin, 22px); text-align: left;
  position: relative;
  overflow: hidden;
}
.done-prize::before {
  content: ''; position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: cardShine 6s linear infinite;
  pointer-events: none;
}
.done-prize-ic {
  width: clamp(60px, 7vmin, 88px); height: clamp(60px, 7vmin, 88px);
  border-radius: clamp(14px, 1.8vmin, 18px);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--b2);
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.done-prize-ic svg { width: 55%; height: 55%; }
.done-prize-body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.done-prize b {
  font-size: calc(var(--fs-body) + 2px);
  font-weight: 700;
  display: block;
  line-height: 1.25;
}
.done-prize small {
  color: var(--t2);
  font-size: var(--fs-small);
  display: block;
  margin-top: 4px;
}

.done-foot {
  margin-top: clamp(6px, 1.5vmin, 14px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.1vmin, 12px);
  letter-spacing: 2px;
  color: var(--t3);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   WIN OVERLAY
═══════════════════════════════════════════════════════════════ */
.win-overlay {
  position: fixed; inset: 0; z-index: 999;
  display: none;
  /* layout em coluna: área rolável em cima, ações fixas embaixo */
  flex-direction: column;
  align-items: stretch; justify-content: stretch;
  background: radial-gradient(ellipse at center, rgba(13,28,33,0.92) 0%, rgba(2,6,8,0.98) 70%);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.win-scroll {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  /* safe center — quando conteúdo é maior que a área rolável, começa do topo */
  align-items: safe center; justify-content: safe center;
  padding: clamp(18px, 3vmin, 40px) clamp(18px, 3vmin, 40px) clamp(8px, 1.4vmin, 16px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.win-actions {
  flex-shrink: 0;
  width: 100%;
  display: flex; justify-content: center;
  padding: 0 clamp(18px, 3vmin, 40px) clamp(16px, 2.4vmin, 28px);
  margin-top: calc(-1 * clamp(8px, 1.4vmin, 16px));
  z-index: 12;
  pointer-events: auto;
}
.win-actions .btn-primary {
  width: 100%;
  max-width: min(94vw, 640px);
}

/* ─── Raios radiais ─── */
.light-rays {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
.light-rays span {
  position: absolute;
  width: 4px; height: 140vmin;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform-origin: center;
  filter: blur(2px);
  mix-blend-mode: screen;
}
.light-rays span:nth-child(1)  { transform: rotate(  0deg); }
.light-rays span:nth-child(2)  { transform: rotate( 30deg); background: linear-gradient(180deg, transparent, rgba(56,189,248,0.45), transparent); }
.light-rays span:nth-child(3)  { transform: rotate( 60deg); }
.light-rays span:nth-child(4)  { transform: rotate( 90deg); background: linear-gradient(180deg, transparent, rgba(16,255,172,0.45), transparent); }
.light-rays span:nth-child(5)  { transform: rotate(120deg); }
.light-rays span:nth-child(6)  { transform: rotate(150deg); background: linear-gradient(180deg, transparent, rgba(252,211,77,0.45), transparent); }
.light-rays span:nth-child(7)  { transform: rotate(180deg); }
.light-rays span:nth-child(8)  { transform: rotate(210deg); background: linear-gradient(180deg, transparent, rgba(244,114,182,0.45), transparent); }
.light-rays span:nth-child(9)  { transform: rotate(240deg); }
.light-rays span:nth-child(10) { transform: rotate(270deg); background: linear-gradient(180deg, transparent, rgba(167,139,250,0.45), transparent); }
.light-rays span:nth-child(11) { transform: rotate(300deg); }
.light-rays span:nth-child(12) { transform: rotate(330deg); background: linear-gradient(180deg, transparent, rgba(56,189,248,0.45), transparent); }
.light-rays.spinning {
  animation: raysIn 0.6s ease-out forwards, raysSpin 14s linear infinite 0.6s;
}
@keyframes raysIn  { from { opacity: 0; } to { opacity: 0.6; } }
@keyframes raysSpin { to { transform: rotate(360deg); } }
#particleCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.win-glow-burst {
  position: absolute; top: 50%; left: 50%;
  width: 1200px; height: 1200px;
  max-width: 180vw; max-height: 180vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
}
.win-content {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(14px, 2.2vmin, 24px);
  width: 100%;
  max-width: min(94vw, 720px);
  max-height: 100%;
  padding: clamp(8px, 1.5vmin, 16px) 0;
}

.win-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(16,255,172,0.10);
  border: 1px solid rgba(16,255,172,0.35);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; letter-spacing: 3px; font-weight: 700;
  color: var(--mint);
  text-transform: uppercase;
}
.winTag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulseDot 1.4s ease-in-out infinite;
}

.win-congrats {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 7.5vmin, 88px);
  letter-spacing: 0.04em;
  display: flex; gap: 2px;
  color: #FFFFFF;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.6));
}
.win-congrats span {
  position: relative;
  display: inline-block;
}
/* Chromatic split — RGB shadows */
.win-congrats span::before,
.win-congrats span::after {
  content: attr(data-l);
  position: absolute; left: 0; top: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .85;
}
.win-congrats span::before { color: #38BDF8; transform: translate(-2px, 0); }
.win-congrats span::after  { color: #F472B6; transform: translate(2px, 0); }

.prize-card {
  /* Largura escala com a tela mas nunca passa de 75% da altura disponível
     (evita overflow em landscape baixo) */
  width: min(82vw, 56vh, 540px);
  aspect-ratio: 3/4;
  position: relative;
  transform-style: preserve-3d;
  flex-shrink: 0;
}
.prize-card-face {
  position: absolute; inset: 0;
  border-radius: 26px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.prize-card-back {
  background: linear-gradient(145deg, #0D1C21 0%, #14313b 100%);
  border: 2px solid var(--b3);
  display: grid; place-items: center;
}
.pcb-logo img { height: clamp(54px, 8vmin, 80px); opacity: .9; }
.pcb-shine {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(56,189,248,0.18) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: cardShine 3s linear infinite;
}
@keyframes cardShine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.prize-card-front {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, rgba(20,46,55,0.98), rgba(10,22,26,0.98));
  border: 2px solid var(--card-color, #FFFFFF);
  padding: clamp(32px, 4.5vmin, 56px) clamp(26px, 3.5vmin, 42px) clamp(48px, 6vmin, 72px);
  /* Tudo centralizado vertical e horizontalmente */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: clamp(16px, 2.4vmin, 26px);
}
.pcf-stamp {
  position: absolute;
  top: 14px; right: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: var(--card-color);
  opacity: .8;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 4px 8px;
  border-radius: 999px;
}
.prize-card-front::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--card-color-alpha, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.pcf-ic {
  width: clamp(110px, 22vmin, 200px); height: clamp(110px, 22vmin, 200px);
  border-radius: clamp(22px, 3vmin, 32px);
  display: grid; place-items: center;
  background: var(--card-color-alpha);
  border: 2px solid var(--card-color);
  color: var(--card-color);
  box-shadow: 0 0 50px var(--card-glow), inset 0 0 30px rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.pcf-ic svg { width: 58%; height: 58%; }
.prize-card-front h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 3.6vmin, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 90%;
}
.prize-card-front p {
  color: var(--t2);
  font-size: clamp(14px, 2vmin, 20px);
  line-height: 1.45;
  max-width: 92%;
}
.pcf-rarity {
  position: absolute;
  left: 50%; bottom: clamp(20px, 3vmin, 32px);
  transform: translateX(-50%);
  width: 50%; height: 4px; border-radius: 2px;
  background: var(--card-color);
  box-shadow: 0 0 12px var(--card-color);
}

/* ─── Card de contato (overlay + done) ─── */
.contact-card,
.done-contact {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(56,189,248,0.12), rgba(16,255,172,0.06));
  border: 1px solid rgba(56,189,248,0.32);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  text-align: left;
}
.cc-ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #0D1C21;
  box-shadow: 0 6px 18px rgba(56,189,248,0.45);
  animation: contactRing 2.2s ease-in-out infinite;
}
.cc-ic svg { width: 20px; height: 20px; }
@keyframes contactRing {
  0%,100% { box-shadow: 0 6px 18px rgba(56,189,248,0.45), 0 0 0 0 rgba(16,255,172,0.5); }
  60%     { box-shadow: 0 6px 18px rgba(56,189,248,0.45), 0 0 0 14px rgba(16,255,172,0); }
}
.cc-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cc-body small {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; letter-spacing: 1.6px;
  color: var(--t3);
  text-transform: uppercase;
  font-weight: 600;
}
.cc-body b {
  font-size: var(--fs-small);
  color: var(--t1);
  font-weight: 600;
  line-height: 1.35;
}
.cc-body b span {
  color: var(--mint);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.4px;
}
.done-contact { margin: 0 auto 22px; }

.win-content .contact-card { max-width: 520px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════════════════════════ */

/* Mobile pequeno */
@media (max-width: 480px) {
  .hdr-user-name { display: none; }
  .wheel-pointer { width: 40px; height: 54px; top: -12px; }
  .auth-shell { padding: 22px 18px 28px; gap: 22px; }
  .auth-pillars { grid-template-columns: 1fr; }
  .step-breadcrumb ol { flex-direction: column; gap: 12px; min-width: 0; }
  .step-breadcrumb li { padding-right: 0; align-items: center; }
  .step-breadcrumb li::after { display: none; }
  .sb-name { margin-top: 0; white-space: normal; }
  .auth-headline { font-size: clamp(34px, 9vw, 46px); }
  .foot-meta { gap: 8px; font-size: 10px; }
}

/* Totem portrait alto (1080x1920 — WT32V etc) */
@media (orientation: portrait) and (min-height: 1200px) {
  :root {
    --fs-body:  clamp(18px, 1.7vw, 24px);
    --fs-small: clamp(13px, 1.2vw, 17px);
    --fs-btn:   clamp(20px, 1.9vw, 26px);
    --fs-h1:    clamp(62px, 6.8vw, 104px);
    --fs-h2:    clamp(30px, 2.9vw, 46px);
    --fs-h3:    clamp(22px, 2.1vw, 32px);
    --tap:      clamp(56px, 5vw, 76px);
  }
  /* Welcome totem — mais ar e hero maior */
  .welcome-shell {
    max-width: min(94vw, 1000px);
    padding: clamp(24px, 2.6vh, 48px) clamp(28px, 3vw, 56px);
    gap: clamp(18px, 2vh, 36px);
  }
  .welcome-brand { height: clamp(110px, 11vw, 170px); }
  .welcome-top   { padding: clamp(12px, 1.6vh, 24px) clamp(4px, 0.6vw, 10px) clamp(18px, 2.2vh, 32px); }
  .welcome-hero .hero-stage { height: clamp(320px, 28vh, 500px); margin-bottom: clamp(8px, 1vh, 16px); }
  .welcome-hero .stage-3d   { width: clamp(300px, 26vh, 460px); }
  .welcome-hero .auth-headline { font-size: clamp(72px, 7.5vw, 120px); line-height: 0.95; }
  .welcome-hero .auth-lead     { font-size: calc(var(--fs-body) + 2px); }
  .welcome-tap { width: clamp(110px, 9vw, 150px); height: clamp(110px, 9vw, 150px); }
  .welcome-tap-label { font-size: clamp(30px, 3vw, 46px); }
  .welcome-tap-sub   { font-size: clamp(13px, 1.3vw, 18px); letter-spacing: 3px; }
  .welcome-foot { font-size: clamp(13px, 1.2vw, 16px); letter-spacing: 2.8px; gap: clamp(10px, 1.2vw, 18px); }

  /* Tela única sem scroll — tudo encaixado */
  .screen-auth { height: 100vh; overflow: hidden; padding: 0; }
  .auth-shell {
    max-width: min(94vw, 1000px);
    height: 100vh; max-height: 100vh;
    gap: clamp(14px, 1.6vh, 26px);
    padding: clamp(20px, 1.8vh, 32px) clamp(28px, 3vw, 56px);
    justify-content: space-between;
  }
  .auth-top    { padding-bottom: clamp(10px, 1vh, 16px); }
  .auth-intro  { gap: clamp(10px, 1.4vh, 20px); padding-top: 0; }
  .auth-title  { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.05; max-width: 20ch; }
  .auth-hero   { gap: clamp(6px, 0.9vh, 14px); padding-top: 0; }
  .hero-stage  { height: clamp(220px, 17vh, 320px); margin-bottom: clamp(4px, 0.6vh, 10px); }
  .stage-3d    { width: clamp(200px, 16vh, 300px); }
  .auth-headline { font-size: clamp(58px, 6.5vw, 92px); line-height: 0.95; }
  .auth-lead   { font-size: calc(var(--fs-body) + 1px); }
  .auth-card   { border-radius: clamp(20px, 2vw, 28px); padding: clamp(22px, 2.4vh, 40px) clamp(26px, 3vw, 48px); }
  .auth-pillars { gap: clamp(10px, 1.2vw, 16px); }
  .auth-pillars li { padding: clamp(12px, 1.4vw, 20px) clamp(14px, 1.6vw, 22px); border-radius: clamp(14px, 1.4vw, 18px); }
  .pillar-ic { width: clamp(40px, 3.8vw, 54px); height: clamp(40px, 3.8vw, 54px); border-radius: clamp(10px, 1vw, 14px); }
  .step-breadcrumb { padding: clamp(10px, 1vh, 16px) clamp(14px, 1.4vw, 20px); border-radius: clamp(12px, 1.2vw, 16px); }
  .step-breadcrumb li { --sb-size: clamp(28px, 2.8vw, 36px); }
  .field input { border-radius: clamp(12px, 1.2vw, 16px); padding: clamp(12px, 1.2vh, 18px) clamp(16px, 1.6vw, 22px); font-size: var(--fs-body); }
  .field span  { font-size: calc(var(--fs-small) - 1px); }
  .form        { gap: clamp(10px, 1.2vh, 16px); margin-top: clamp(10px, 1.2vh, 18px); }
  .card-head h2 { font-size: var(--fs-h2); }
  .card-head p  { font-size: calc(var(--fs-body) - 1px); margin-top: 4px; }
  .btn-primary { padding: clamp(14px, 1.6vh, 22px) clamp(22px, 2vw, 30px); border-radius: clamp(14px, 1.4vw, 18px); }
  .fine-print  { margin-top: clamp(4px, 0.6vh, 10px); font-size: calc(var(--fs-small) - 1px); }
  .auth-foot   { padding-top: clamp(10px, 1.2vh, 18px); margin-top: 0; gap: clamp(6px, 0.8vh, 12px); }
  .wheel-box  { width: min(94vw, 1040px); }
  .hdr {
    padding: clamp(14px, 1.6vw, 24px) clamp(18px, 1.8vw, 28px);
    margin-bottom: clamp(18px, 2vw, 32px);
    border-radius: clamp(18px, 2vw, 28px);
    background: linear-gradient(135deg, rgba(20,46,55,0.72), rgba(10,22,26,0.72));
    border: 1px solid var(--b2);
    backdrop-filter: blur(14px);
    box-shadow:
      0 12px 40px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }
  .hdr-logo   {
    height: clamp(80px, 8.4vw, 128px);
    filter: drop-shadow(0 10px 28px rgba(56,189,248,0.38));
  }
  .hdr-right  { gap: clamp(14px, 1.4vw, 22px); }
  .hdr-user   { padding: clamp(12px, 1.2vw, 18px) clamp(22px, 2vw, 32px) clamp(12px, 1.2vw, 18px) clamp(12px, 1.2vw, 18px); font-size: clamp(18px, 1.8vw, 26px); gap: clamp(12px, 1.2vw, 18px); }
  .hdr-user-av { width: clamp(52px, 4.8vw, 72px); height: clamp(52px, 4.8vw, 72px); font-size: clamp(20px, 1.9vw, 28px); }
  .hdr-user-name { max-width: 360px; }
  .hdr-exit { width: clamp(64px, 5.8vw, 84px); height: clamp(64px, 5.8vw, 84px); border-radius: clamp(14px, 1.4vw, 20px); }
  .hdr-exit svg { width: clamp(28px, 2.6vw, 38px); height: clamp(28px, 2.6vw, 38px); }
  .auth-brand { height: clamp(80px, 8vw, 120px); }
  .foot-mark  { width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px); font-size: clamp(22px, 2vw, 30px); }
  .wheel-pointer { width: clamp(56px, 5vw, 80px); height: clamp(72px, 6.5vw, 100px); top: clamp(-24px, -1.6vw, -16px); }
  .stage-chip { font-size: clamp(13px, 1.2vw, 18px); padding: clamp(9px, 0.9vw, 14px) clamp(16px, 1.4vw, 22px) clamp(9px, 0.9vw, 14px) clamp(13px, 1.2vw, 18px); }
  .wf-item { padding: clamp(16px, 1.5vw, 24px); border-radius: clamp(14px, 1.4vw, 20px); }
  .wf-ic   { width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px); border-radius: clamp(12px, 1.2vw, 16px); }
  .wf-ic svg { width: clamp(22px, 2vw, 28px); height: clamp(22px, 2vw, 28px); }
  .wheel-foot { max-width: min(94vw, 1040px); gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(24px, 3vw, 48px); }
  .wheel-go       { letter-spacing: 0.8px; }
  .wheel-go-inner { gap: clamp(6px, 0.9vw, 12px); padding: 12% 14%; }
  .wheel-go-label { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.1; letter-spacing: 0.5px; }
  .wheel-go-sub   { font-size: clamp(12px, 1.1vw, 17px); letter-spacing: 1.2px; line-height: 1.2; }

  /* Win overlay & done card maiores no totem */
  .win-content { max-width: min(94vw, 920px); gap: clamp(22px, 2.8vw, 36px); }
  .prize-card  { width: min(82vw, 56vh, 720px); }
  .pcf-ic      { width: clamp(160px, 18vw, 240px); height: clamp(160px, 18vw, 240px); }
  .pcf-ic svg  { width: 60%; height: 60%; }
  .prize-card-front h3 { font-size: clamp(36px, 4.2vw, 58px); max-width: 94%; line-height: 1.15; }
  .prize-card-front p  { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4; max-width: 94%; }
  .prize-card-front    { padding: clamp(44px, 5vw, 72px) clamp(32px, 4vw, 52px) clamp(60px, 7vw, 90px); gap: clamp(20px, 2.8vw, 34px); }
  .pcf-stamp   { font-size: clamp(13px, 1.3vw, 18px); padding: 6px 12px; top: 18px; right: 18px; letter-spacing: 2px; }
  .pcf-rarity  { height: 6px; bottom: clamp(24px, 3vw, 36px); }
  .win-congrats { font-size: clamp(78px, 9.5vw, 150px); }
  .win-tag      { font-size: clamp(15px, 1.6vw, 22px); padding: 12px 22px 12px 16px; letter-spacing: 3.5px; }
  .contact-card, .done-contact { max-width: min(94vw, 780px); padding: clamp(22px, 2.4vw, 32px) clamp(24px, 2.6vw, 34px); border-radius: clamp(18px, 1.8vw, 24px); gap: clamp(16px, 1.8vw, 22px); }
  .cc-ic        { width: clamp(64px, 5.8vw, 88px); height: clamp(64px, 5.8vw, 88px); border-radius: clamp(14px, 1.4vw, 18px); }
  .cc-ic svg    { width: clamp(28px, 2.8vw, 40px); height: clamp(28px, 2.8vw, 40px); }
  .cc-body small { font-size: clamp(13px, 1.3vw, 18px); letter-spacing: 2px; }
  .cc-body b     { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; }
  .win-content .contact-card { max-width: min(94vw, 780px); }
  .win-actions .btn-primary  { max-width: min(94vw, 780px); padding: clamp(22px, 2.4vw, 34px) clamp(26px, 2.8vw, 40px); font-size: var(--fs-btn); }
  .done-card    { max-width: min(94vw, 960px); padding: clamp(48px, 5vw, 88px) clamp(40px, 4.5vw, 72px); gap: clamp(20px, 2.4vw, 32px); }
  .done-logo    { height: clamp(60px, 6vw, 96px); }
  .done-badge   { width: clamp(110px, 11vw, 160px); height: clamp(110px, 11vw, 160px); }
  .done-chip    { font-size: clamp(15px, 1.5vw, 20px); padding: 10px 18px 10px 14px; letter-spacing: 2.6px; }
  .done-edition { font-size: clamp(13px, 1.3vw, 17px); padding: 8px 14px; letter-spacing: 2px; }
  .done-hello   { font-size: clamp(22px, 2.2vw, 32px); margin-top: 2px; }
  .done-prize   { padding: clamp(24px, 2.8vw, 36px); border-radius: clamp(18px, 2vw, 24px); gap: clamp(18px, 2.2vw, 28px); }
  .done-prize-ic { width: clamp(100px, 10vw, 140px); height: clamp(100px, 10vw, 140px); border-radius: clamp(18px, 2vw, 24px); }
  .done-prize b  { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
  .done-prize small { font-size: clamp(18px, 1.9vw, 26px); margin-top: 6px; line-height: 1.4; }
  .done-foot    { font-size: clamp(13px, 1.3vw, 17px); letter-spacing: 2.4px; }
}

/* Totem Full HD (1080x1920 exato — WT32V) — afina ainda mais */
@media (orientation: portrait) and (min-width: 1000px) and (min-height: 1700px) {
  .wheel-box  { width: min(96vw, 1040px); }
  .wheel-stage { gap: clamp(28px, 3vw, 56px); }
  .prize-card  { width: min(86vw, 60vh, 820px); }
}

/* Tablet portrait (iPad-like, 700–1079px width) — entre mobile e totem */
@media (orientation: portrait) and (min-width: 700px) and (max-width: 1079px) {
  :root {
    --fs-h2: clamp(28px, 4vw, 44px);
    --fs-h3: clamp(20px, 2.6vw, 30px);
    --fs-body: clamp(16px, 1.9vw, 22px);
  }
  .wheel-box  { width: min(86vw, 720px); }
  .win-content { max-width: min(92vw, 640px); }
  .prize-card  { width: min(78vw, 58vh, 560px); }
  .pcf-ic      { width: clamp(120px, 18vw, 180px); height: clamp(120px, 18vw, 180px); }
  .win-congrats { font-size: clamp(58px, 9vw, 96px); }
  .done-card   { max-width: min(92vw, 640px); padding: clamp(40px, 5vw, 60px) clamp(32px, 4.5vw, 52px); }
  .done-badge  { width: clamp(88px, 11vw, 120px); height: clamp(88px, 11vw, 120px); }
  .done-logo   { height: clamp(48px, 6vw, 72px); }
}

/* Tablet landscape (iPad-like) */
@media (orientation: landscape) and (min-width: 900px) and (max-width: 1366px) {
  .win-content { max-width: min(80vw, 720px); }
  .prize-card  { width: min(45vw, 62vh, 460px); }
  .done-card   { max-width: min(70vw, 700px); }
}

/* Desktop landscape (≥1280px) — win overlay e done lado a lado / proporcionais */
@media (orientation: landscape) and (min-width: 1280px) and (min-height: 700px) {
  .win-content {
    max-width: min(90vw, 1100px);
    gap: clamp(18px, 2.2vmin, 28px);
  }
  .prize-card  { width: min(40vw, 78vh, 560px); }
  .pcf-ic      { width: clamp(140px, 22vh, 220px); height: clamp(140px, 22vh, 220px); }
  .win-congrats { font-size: clamp(64px, 8vmin, 110px); }
  .win-tag      { font-size: 12px; padding: 8px 16px 8px 12px; }
  .contact-card { max-width: 600px; padding: 16px 22px; }
  .done-card    { max-width: min(70vw, 760px); padding: clamp(40px, 5vmin, 64px) clamp(36px, 4vmin, 56px); }
  .done-badge   { width: clamp(90px, 11vmin, 130px); height: clamp(90px, 11vmin, 130px); }
  .done-prize-ic{ width: clamp(72px, 8vmin, 100px); height: clamp(72px, 8vmin, 100px); }
}

/* Desktop wide (≥1600px) */
@media (orientation: landscape) and (min-width: 1600px) and (min-height: 800px) {
  .win-content { max-width: 1200px; }
  .prize-card  { width: min(36vw, 80vh, 640px); }
  .done-card   { max-width: 820px; }
}

/* Telas curtas em portrait — compacta o hero */
@media (orientation: portrait) and (max-height: 720px) {
  .auth-lead { display: none; }
  .auth-shell { gap: 18px; }
}

/* Landscape baixo (notebook) — reduz hero na wheel + win overlay compacto */
@media (orientation: landscape) and (max-height: 700px) {
  .stage-hint h2 { font-size: 20px; }
  .stage-hint p  { display: none; }
  .wheel-box { width: min(85vh, 540px); }
  /* Win overlay: prioriza altura disponível (era o bug em landscape baixo) */
  .win-content  { gap: 10px; max-width: 92vw; }
  .prize-card   { width: min(40vw, 70vh, 360px); }
  .pcf-ic       { width: clamp(72px, 14vh, 110px); height: clamp(72px, 14vh, 110px); margin-top: 4px; }
  .win-congrats { font-size: clamp(34px, 7vh, 64px); }
  .win-tag      { padding: 5px 12px; font-size: 10px; }
  .contact-card { padding: 10px 14px; }
  .done-card    { padding: clamp(20px, 3vh, 32px) clamp(20px, 3vw, 36px); gap: clamp(8px, 1.5vh, 16px); }
  .done-badge   { width: clamp(48px, 8vh, 72px); height: clamp(48px, 8vh, 72px); }
  .done-logo    { height: clamp(28px, 5vh, 44px); }
  .done-foot    { display: none; }
}

/* Garantia anti-overflow em qualquer tela muito baixa (telefone landscape) */
@media (max-height: 480px) {
  .win-content  { gap: 8px; }
  .prize-card   { width: min(38vw, 70vh, 320px); }
  .win-congrats { font-size: clamp(28px, 8vh, 48px); }
}
