:root {
  --verde: #009739;
  --verde-escuro: #004d22;
  --amarelo: #ffdf00;
  --azul: #002776;
  --laranja: #ff8921;
  --ouro: #ffb300;
  --bg: radial-gradient(120% 100% at 50% 0%, #0a5c2e 0%, #022c15 45%, #011a0d 100%);
}
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: #fff;
}
.stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(255, 223, 0, 0.15), transparent 55%),
    repeating-linear-gradient(105deg, transparent, transparent 12px, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.02) 14px);
  pointer-events: none;
}
.titulo-roleta {
  position: relative;
  z-index: 2;
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  text-align: center;
  text-shadow:
    0 0 20px rgba(255, 137, 33, 0.6),
    0 2px 0 var(--verde-escuro);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.sub-roleta {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 20px;
  text-align: center;
  max-width: min(92vw, 360px);
  padding: 0 8px;
}

.spin-dim {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s ease;
  background: radial-gradient(
    ellipse 130% 115% at 50% 42%,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.88) 100%
  );
}
.spin-dim.is-active {
  opacity: 0.8;
}
@media (prefers-reduced-motion: reduce) {
  .spin-dim {
    transition: opacity 0.25s ease;
  }
}

.stage.is-sorting .wheel-wrap {
  transform: scale(1.14);
  transform-origin: center center;
  z-index: 110;
}
.stage.is-sorting .spin-cta-wrap {
  z-index: 50;
}
.stage.is-sorting .spin-status.visible {
  position: relative;
  z-index: 105;
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-sorting .wheel-wrap {
    transform: scale(1.06);
  }
}
.spin-status {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  min-height: 1.35em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--amarelo);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  text-align: center;
  max-width: min(92vw, 360px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.spin-status.visible {
  opacity: 1;
}

.money-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.money-rain.active {
  opacity: 1;
}
.money-rain-bill {
  position: absolute;
  top: -18vh;
  width: min(13vw, 58px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
  animation: moneyFall linear infinite;
  will-change: transform, opacity;
}
@keyframes moneyFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--rot, 8deg));
    opacity: 0;
  }
  4% {
    opacity: 0.95;
  }
  100% {
    transform: translate3d(var(--drift-x, 0px), 120vh, 0) rotate(calc(var(--rot, 8deg) + 720deg));
    opacity: 0.88;
  }
}
.wheel-wrap {
  position: relative;
  z-index: 1;
  width: min(98vw, 480px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0.35, 1);
}
.wheel-glow {
  position: absolute;
  width: 118%;
  height: 118%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.25) 0%, transparent 65%);
  pointer-events: none;
  animation: pulseGlow 2.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.wheel-bg-ring {
  position: absolute;
  width: 104%;
  height: auto;
  z-index: 0;
  animation: wheelRingBreathe 3.4s ease-in-out infinite;
}
@keyframes wheelRingBreathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.wheel-light-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  overflow: visible;
  opacity: 0.9;
  isolation: isolate;
  animation: spinSlow 24s linear infinite;
}
.wheel-light-halo::before {
  content: "";
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 88% 78% at 44% 36%, rgba(255, 250, 230, 0.55) 0%, rgba(255, 215, 160, 0.12) 42%, transparent 58%),
    radial-gradient(ellipse 58% 72% at 64% 58%, rgba(255, 195, 110, 0.28) 0%, transparent 54%),
    radial-gradient(circle at 50% 52%, rgba(255, 200, 130, 0.2) 0%, transparent 62%);
  box-shadow:
    inset 0 0 50px rgba(255, 220, 170, 0.15),
    0 0 40px rgba(255, 150, 50, 0.22);
  filter: blur(2.5px) saturate(1.08);
  mix-blend-mode: soft-light;
}
.wheel-light-halo::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: conic-gradient(
    from 40deg at 50% 50%,
    rgba(255, 210, 160, 0.14),
    rgba(255, 235, 210, 0.06),
    rgba(255, 185, 100, 0.1),
    rgba(255, 225, 190, 0.08),
    rgba(255, 210, 160, 0.14)
  );
  filter: blur(14px);
  opacity: 0.75;
  mix-blend-mode: soft-light;
}
@keyframes spinSlow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.wheel-disc {
  position: relative;
  z-index: 2;
  width: 88%;
  height: auto;
  transform: rotate(0deg);
  transition: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}
.wheel-disc.is-spinning {
  transition: transform 3.1s cubic-bezier(0.12, 0, 0.06, 1);
}
.wheel-pointer {
  position: absolute;
  z-index: 5;
  width: 14%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  pointer-events: none;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#overlayPrize {
  background: rgba(2, 18, 10, 0.38);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}
.card-premio {
  position: relative;
  width: min(100%, 400px);
  border-radius: 20px;
  animation: popIn 0.55s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
  
  isolation: isolate;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@keyframes popIn {
  from { transform: scale(0.88) translateY(16px); }
  to { transform: scale(1) translateY(0); }
}
.card-premio .bg-img {
  width: 100%;
  display: block;
  vertical-align: middle;
  opacity: 1;
  mix-blend-mode: normal;
  position: relative;
  z-index: 0;
}

.card-premio .rosette {
  display: none;
}

.rosette {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 1;
  overflow: visible;
  opacity: 0.94;
  isolation: isolate;
  animation: rosetteSpin 14s linear infinite;
}
.rosette::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 52% 44% at 36% 32%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 245, 210, 0.25) 22%, transparent 48%),
    radial-gradient(ellipse 70% 58% at 58% 42%, rgba(255, 220, 140, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 56%, rgba(18, 8, 0, 0.82) 0%, rgba(95, 48, 10, 0.55) 44%, rgba(230, 140, 45, 0.42) 62%, rgba(35, 16, 2, 0.92) 100%);
  box-shadow:
    inset 0 14px 36px rgba(255, 232, 190, 0.55),
    inset 0 -26px 48px rgba(25, 10, 0, 0.72),
    inset 0 0 28px rgba(255, 175, 60, 0.18),
    0 6px 28px rgba(255, 110, 20, 0.38);
  filter: saturate(1.12) contrast(1.06);
}
.rosette::after {
  content: "";
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(
    circle,
    rgba(255, 190, 90, 0.42) 0%,
    rgba(255, 130, 30, 0.15) 48%,
    transparent 68%
  );
  filter: blur(16px);
  opacity: 0.88;
}
@keyframes rosetteSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.premio-titulo {
  position: absolute;
  z-index: 3;
  top: 10%;
  left: 0; right: 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2rem);
  text-shadow: 0 0 18px rgba(255, 180, 0, 0.8), 0 2px 4px rgba(0,0,0,0.5);
}
.premio-valor {
  position: absolute;
  z-index: 3;
  top: 42%;
  left: 0; right: 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 2.75rem);
  color: var(--laranja);
  text-shadow: 0 0 22px rgba(255, 152, 0, 0.9);
}

@keyframes btnSpinPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 223, 0, 0.35),
      0 0 0 2px rgba(0, 40, 20, 0.5),
      0 4px 0 #023a1c,
      0 12px 28px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 14px rgba(255, 220, 100, 0.2);
  }
  
  18% {
    transform: scale(1.06);
    filter: brightness(1.14);
    box-shadow:
      0 0 0 1px rgba(255, 240, 160, 0.75),
      0 0 0 2px rgba(0, 40, 20, 0.45),
      0 4px 0 #023a1c,
      0 12px 28px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 0 28px rgba(255, 210, 80, 0.65);
  }
  28% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 223, 0, 0.35),
      0 0 0 2px rgba(0, 40, 20, 0.5),
      0 4px 0 #023a1c,
      0 12px 28px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 14px rgba(255, 220, 100, 0.2);
  }
  48% {
    transform: scale(1.045);
    filter: brightness(1.1);
    box-shadow:
      0 0 0 1px rgba(255, 235, 140, 0.65),
      0 0 0 2px rgba(0, 40, 20, 0.48),
      0 4px 0 #023a1c,
      0 12px 28px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 22px rgba(255, 200, 60, 0.5);
  }
  58% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 223, 0, 0.35),
      0 0 0 2px rgba(0, 40, 20, 0.5),
      0 4px 0 #023a1c,
      0 12px 28px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 14px rgba(255, 220, 100, 0.2);
  }
}
@keyframes btnSpinRing {
  0% {
    transform: scale(0.88);
    opacity: 0.75;
  }
  55% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}
.btn-spin {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(72vw, 260px);
  padding: 15px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #fffbeb;
  cursor: pointer;
  overflow: visible;
  isolation: isolate;
  background: linear-gradient(
    165deg,
    #0f9d4f 0%,
    var(--verde) 38%,
    #007a3d 72%,
    #045a2e 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 223, 0, 0.35),
    0 0 0 2px rgba(0, 40, 20, 0.5),
    0 4px 0 #023a1c,
    0 12px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 2px rgba(0, 30, 15, 0.65);
  transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-spin:not(:disabled)::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(255, 230, 140, 0.7);
  box-sizing: border-box;
  pointer-events: none;
  transform-origin: center center;
  animation: btnSpinRing 0.95s cubic-bezier(0.25, 0.9, 0.35, 1) infinite;
  z-index: 0;
}
.btn-spin:not(:disabled) {
  animation: btnSpinPulse 0.95s cubic-bezier(0.45, 0.02, 0.55, 0.98) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn-spin:not(:disabled),
  .btn-spin:not(:disabled)::before {
    animation: none !important;
  }
  .btn-spin:not(:disabled)::before {
    opacity: 0;
  }
}
.btn-spin:hover:not(:disabled)::before {
  animation-play-state: paused;
}
.btn-spin:hover:not(:disabled) {
  animation-play-state: paused;
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(255, 235, 140, 0.55),
    0 0 0 2px rgba(0, 40, 20, 0.45),
    0 5px 0 #023a1c,
    0 14px 32px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 20px rgba(255, 210, 100, 0.45);
}
.btn-spin:active:not(:disabled) {
  animation: none;
  transform: translateY(2px) scale(0.98);
  filter: brightness(0.98);
  box-shadow:
    0 0 0 1px rgba(255, 223, 0, 0.35),
    0 0 0 2px rgba(0, 40, 20, 0.5),
    0 2px 0 #023a1c,
    0 8px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-spin:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 223, 0, 0.55),
    0 0 0 1px rgba(255, 223, 0, 0.35),
    0 4px 0 #023a1c,
    0 12px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-spin:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: saturate(0.75);
  box-shadow:
    0 0 0 1px rgba(255, 223, 0, 0.15),
    0 3px 0 #022a16,
    0 8px 18px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@keyframes btnSaqueEntice {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    filter: brightness(1);
    box-shadow:
      0 8px 24px rgba(255, 100, 0, 0.45),
      0 0 0 rgba(255, 200, 100, 0);
  }
  22% {
    transform: translateX(-50%) scale(1.07);
    filter: brightness(1.15);
    box-shadow:
      0 12px 36px rgba(255, 90, 0, 0.58),
      0 0 28px rgba(255, 200, 80, 0.65);
  }
  40% {
    transform: translateX(-50%) scale(1.02);
    filter: brightness(1.06);
    box-shadow: 0 8px 24px rgba(255, 100, 0, 0.5);
  }
  58% {
    transform: translateX(-50%) scale(1.06);
    filter: brightness(1.12);
    box-shadow:
      0 10px 32px rgba(255, 110, 20, 0.55),
      0 0 22px rgba(255, 220, 120, 0.5);
  }
}
@keyframes btnSaqueRing {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  55% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}
.card-premio .btn-saque {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(180deg, #ffa033 0%, var(--laranja) 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 100, 0, 0.45);
  white-space: nowrap;
  overflow: visible;
  isolation: isolate;
  animation: btnSaqueEntice 0.92s cubic-bezier(0.42, 0.02, 0.58, 1) infinite;
}
.card-premio .btn-saque::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 2px solid rgba(255, 220, 140, 0.75);
  box-sizing: border-box;
  pointer-events: none;
  transform-origin: center center;
  animation: btnSaqueRing 0.92s cubic-bezier(0.28, 0.85, 0.4, 1) infinite;
  z-index: 0;
}
.card-premio .btn-saque:hover {
  animation-play-state: paused;
}
.card-premio .btn-saque:hover::before {
  animation-play-state: paused;
}
.card-premio .btn-saque:active {
  animation: none;
  transform: translateX(-50%) scale(0.97);
  filter: brightness(0.98);
}
.card-premio .btn-saque:active::before {
  animation: none;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .card-premio .btn-saque {
    animation: none;
  }
  .card-premio .btn-saque::before {
    display: none;
  }
}
.modal-login {
  width: min(100%, 380px);
  background: linear-gradient(165deg, #0d3d24 0%, #052012 100%);
  border-radius: 20px;
  padding: 24px 22px 28px;
  border: 1px solid rgba(255, 223, 0, 0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  animation: popIn 0.45s ease forwards;
}
.modal-login h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  color: var(--amarelo);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal-login h2 .login-wa-logo {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: block;
}
.modal-login p.hint {
  margin: 0 0 18px;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}
.modal-login .otp-block {
  margin-top: 14px;
}
.otp-code-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.otp-code {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  word-break: break-all;
  cursor: pointer;
  user-select: text;
  -webkit-user-select: text;
}
.otp-code:focus-visible {
  outline: none;
  border-color: var(--laranja);
  box-shadow: 0 0 0 2px rgba(255, 137, 33, 0.35);
}
.btn-copy-otp {
  flex-shrink: 0;
  align-self: stretch;
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  background: linear-gradient(180deg, #3d8f5c 0%, #1e6b3a 100%);
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 223, 0, 0.35);
  white-space: nowrap;
}
.btn-copy-otp:active:not(:disabled) {
  filter: brightness(0.95);
}
.btn-copy-otp:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.9);
}
.row-tel {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.row-tel input:first-child {
  width: 76px;
  flex-shrink: 0;
}
.row-tel input:last-child { flex: 1; }
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
input::placeholder { color: rgba(255,255,255,0.35); }
input:focus {
  outline: none;
  border-color: var(--laranja);
  box-shadow: 0 0 0 2px rgba(255, 137, 33, 0.35);
}
.btn-otp {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #2e7d4a 0%, var(--verde) 100%);
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 223, 0, 0.35);
}
.btn-otp:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.msg-erro {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #ff8a80;
  min-height: 1.2em;
}
.hidden-params {
  display: none;
}

@keyframes guideFingerTap {
  0%, 100% {
    transform: translate(0, 0) rotate(-2deg) scale(1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.38));
  }
  20% {
    transform: translate(-5px, -9px) rotate(3deg) scale(0.95);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 10px rgba(255, 230, 120, 0.5));
  }
  35% {
    transform: translate(-2px, -3px) rotate(0deg) scale(1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.38));
  }
  52% {
    transform: translate(-7px, -12px) rotate(5deg) scale(0.92);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 12px rgba(255, 220, 100, 0.6));
  }
  68% {
    transform: translate(-3px, -5px) rotate(1deg) scale(0.98);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.38));
  }
  82% {
    transform: translate(0, 0) rotate(-2deg) scale(1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.38));
  }
}
@keyframes guideFingerGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.spin-cta-wrap {
  position: relative;
  display: inline-block;
  margin-top: 28px;
  z-index: 999;
}
.spin-cta-wrap .btn-spin {
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.spin-guide {
  position: absolute;
  left: auto;
  right: 0;
  
  bottom: -40px;
  width: min(19vw, 72px);
  transform: translate(
    var(--spin-guide-nudge-x, 0px),
    var(--spin-guide-nudge-y, 0px)
  );
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  transform-origin: 96% 98%;
  isolation: isolate;
  z-index: 999;
}
.spin-guide.is-visible {
  opacity: 1;
  visibility: visible;
}
.spin-guide.is-dismissed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.spin-guide.is-dismissed .spin-guide-img {
  animation: none !important;
}
.spin-guide::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  margin: -59% 0 0 -59%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 160, 0.35) 0%, transparent 68%);
  animation: guideFingerGlow 0.75s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.spin-guide-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  animation: guideFingerTap 0.95s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .spin-guide-img {
    animation: none;
  }
  .spin-guide::after {
    animation: none;
    opacity: 0.4;
  }
}
