:root {
  color-scheme: dark;
  --navy-1000: #01030d;
  --navy-950: #030817;
  --navy-900: #071336;
  --blue-700: #1359ea;
  --blue-400: #55dfff;
  --violet-700: #5516ce;
  --violet-500: #8b4cff;
  --pink-500: #ed35bc;
  --gold-1: #fff7bd;
  --gold-2: #ffd943;
  --gold-3: #f49400;
  --red-1: #ff3852;
  --red-2: #9b001c;
  --white: #f8fbff;
  --stage-width: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy-1000);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 24%, rgba(14, 86, 255, 0.36), transparent 35%),
    radial-gradient(circle at 82% 64%, rgba(0, 210, 255, 0.18), transparent 32%),
    radial-gradient(circle at 14% 76%, rgba(255, 216, 82, 0.12), transparent 28%),
    linear-gradient(145deg, #01030c 0%, #021137 45%, #020818 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: 34% -10% -32%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(96, 184, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 184, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(680px) rotateX(64deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(transparent, #000 32%, #000 82%, transparent);
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    radial-gradient(circle at 15% 22%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 38% 15%, #7ce7ff 0 1px, transparent 2px),
    radial-gradient(circle at 72% 20%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 84% 44%, #ca8cff 0 1px, transparent 2px),
    radial-gradient(circle at 52% 68%, #fff 0 1px, transparent 2px);
  background-size: 190px 190px, 260px 260px, 220px 220px, 310px 310px, 280px 280px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.48;
  animation: float-orb 9s ease-in-out infinite alternate;
}

.orb-one {
  width: 31rem;
  height: 31rem;
  left: -13rem;
  top: 12%;
  background: rgba(0, 92, 255, 0.31);
}

.orb-two {
  width: 28rem;
  height: 28rem;
  right: -11rem;
  top: 8%;
  background: rgba(0, 210, 255, 0.15);
  animation-delay: -2.5s;
}

.orb-three {
  width: 22rem;
  height: 22rem;
  left: 44%;
  bottom: -13rem;
  background: rgba(255, 213, 70, 0.14);
  animation-delay: -4.6s;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #effdff;
  box-shadow: 0 0 10px 4px #52c8ff;
  animation: twinkle 2.4s ease-in-out infinite;
}

.spark-a { left: 17%; top: 18%; }
.spark-b { right: 18%; top: 27%; animation-delay: -0.8s; }
.spark-c { left: 53%; top: 9%; animation-delay: -1.4s; }
.spark-d { left: 75%; top: 70%; animation-delay: -1.9s; }

.landing {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(0.8rem, env(safe-area-inset-top)) 1rem max(0.8rem, env(safe-area-inset-bottom));
}

.topbar {
  position: relative;
  width: var(--stage-width);
  min-height: clamp(92px, 8.2vw, 128px);
  display: grid;
  place-items: center;
  z-index: 20;
}

.topbar::before {
  content: "";
  position: absolute;
  width: clamp(188px, 19vw, 286px);
  height: clamp(74px, 7vw, 104px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.24), transparent 55%),
    linear-gradient(135deg, rgba(2, 13, 44, 0.90), rgba(0, 54, 172, 0.50));
  border: 1px solid rgba(221, 242, 255, 0.42);
  box-shadow:
    inset 0 1px rgba(255,255,255,0.16),
    0 0 34px rgba(255, 255, 255, 0.18),
    0 0 46px rgba(0, 101, 255, 0.42),
    0 0 76px rgba(30, 232, 255, 0.18);
}

.brand-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(156px, 16vw, 238px);
  height: auto;
  object-fit: contain;
  user-select: none;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.62))
    drop-shadow(0 0 24px rgba(112, 220, 255, 0.46))
    drop-shadow(0 0 42px rgba(37, 109, 255, 0.34));
}

.sound-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  min-width: 82px;
  height: 42px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(119, 224, 255, 0.38);
  border-radius: 999px;
  color: rgba(240, 250, 255, 0.92);
  background: linear-gradient(180deg, rgba(20, 62, 131, 0.72), rgba(5, 17, 52, 0.82));
  box-shadow: inset 0 1px rgba(255,255,255,0.12), 0 8px 22px rgba(0,0,0,0.3), 0 0 18px rgba(54,176,255,0.16);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.sound-toggle:hover {
  transform: translateY(-50%) scale(1.04);
  filter: brightness(1.12);
}

.sound-toggle:focus-visible {
  outline: 3px solid #83ecff;
  outline-offset: 4px;
}

.sound-icon {
  position: relative;
  width: 20px;
  height: 17px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
}

.sound-icon i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: #71e9ff;
  box-shadow: 0 0 6px rgba(67, 210, 255, 0.75);
  transform-origin: bottom;
}

.sound-icon i:nth-child(1) { height: 7px; }
.sound-icon i:nth-child(2) { height: 13px; }
.sound-icon i:nth-child(3) { height: 17px; }

.sound-toggle.is-on .sound-icon i {
  animation: sound-bars 650ms ease-in-out infinite alternate;
}

.sound-toggle.is-on .sound-icon i:nth-child(2) { animation-delay: -220ms; }
.sound-toggle.is-on .sound-icon i:nth-child(3) { animation-delay: -410ms; }

.sound-toggle:not(.is-on) .sound-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -2px;
  width: 3px;
  height: 23px;
  border-radius: 4px;
  background: #ff7c8f;
  transform: rotate(-44deg);
  box-shadow: 0 0 5px rgba(255, 80, 103, 0.7);
}

.sound-toggle:not(.is-on) .sound-icon i {
  animation: none;
  opacity: 0.48;
}

.sound-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-copy {
  width: min(920px, 100%);
  margin: 0.15rem auto 0;
  padding-inline: 0.4rem;
  text-align: center;
  text-wrap: balance;
  z-index: 10;
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: #78e5ff;
  font-size: clamp(0.67rem, 1.25vw, 0.84rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 17px rgba(82, 211, 255, 0.72);
}

h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4.45rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #f9fcff;
  text-shadow: 0 3px 0 #153b9b, 0 9px 23px rgba(30, 111, 255, 0.46);
}

h1 span {
  display: inline;
  color: #72e5ff;
}

.subheadline {
  margin: 0.58rem auto 0;
  max-width: 620px;
  color: rgba(237, 247, 255, 0.82);
  font-size: clamp(0.84rem, 1.45vw, 1.02rem);
}

.subheadline strong {
  color: #8cecff;
}

.game-stage {
  position: relative;
  isolation: isolate;
  width: var(--stage-width);
  height: clamp(550px, 62vh, 700px);
  min-height: 550px;
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(510px, 1.22fr);
  align-items: end;
  justify-content: center;
}

.game-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 7%;
  right: 3%;
  bottom: 4.5%;
  height: 10%;
  border-radius: 50%;
  background: rgba(0, 4, 19, 0.62);
  filter: blur(22px);
  transform: perspective(240px) rotateX(62deg);
}

.zeus-wrap {
  position: relative;
  z-index: 2;
  grid-column: 1;
  width: 112%;
  height: 100%;
  display: grid;
  align-items: end;
  justify-items: center;
  transform: translateX(8%);
  pointer-events: none;
}

.zeus {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 18, 0.68))
    drop-shadow(0 0 18px rgba(38, 162, 255, 0.28));
  transition: filter 160ms ease;
}

.zeus-aura {
  position: absolute;
  z-index: 1;
  width: 82%;
  aspect-ratio: 1;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 194, 255, 0.22), transparent 66%);
  filter: blur(9px);
  animation: aura-pulse 2.8s ease-in-out infinite;
}

.hand-charge {
  position: absolute;
  z-index: 4;
  left: 69%;
  top: 43%;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, #fff 0 10%, #7eefff 24%, rgba(34, 126, 255, 0.64) 44%, transparent 72%);
  filter: blur(0.5px) drop-shadow(0 0 18px #42cfff);
  transform: scale(0.4);
}

.zeus-wrap.is-casting .zeus {
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 18, 0.68))
    drop-shadow(0 0 28px rgba(75, 207, 255, 0.58))
    brightness(1.08) contrast(1.04);
}

.zeus-wrap.is-casting .hand-charge {
  animation: hand-charge 820ms steps(2, end) forwards;
}

.wheel-zone {
  position: relative;
  z-index: 3;
  grid-column: 2;
  align-self: center;
  justify-self: center;
  width: min(100%, 685px);
  margin-left: -7%;
  display: grid;
  justify-items: center;
}

.wheel-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter:
    drop-shadow(0 32px 42px rgba(0, 0, 20, 0.68))
    drop-shadow(0 0 34px rgba(39, 139, 255, 0.34));
}

.wheel-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0.4%;
  border-radius: 50%;
  background: linear-gradient(145deg, #56ddff, #2556db 38%, #9c35ee 67%, #f33ea9);
  box-shadow:
    inset 0 0 0 6px #061334,
    inset 0 0 0 10px rgba(196, 236, 255, 0.72),
    0 0 0 4px rgba(12, 43, 104, 0.94),
    0 0 25px rgba(65, 182, 255, 0.54);
}

.wheel-rotor {
  position: absolute;
  z-index: 1;
  inset: 2.1%;
  overflow: hidden;
  border-radius: 50%;
  will-change: transform;
  transform: rotate(0deg) translateZ(0);
  transition: transform var(--spin-duration, 6.4s) cubic-bezier(0.075, 0.72, 0.075, 1);
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 2px rgba(230, 248, 255, 0.42);
}

.wheel-art {
  position: absolute;
  width: 106%;
  height: 106%;
  left: -3%;
  top: -3%;
  object-fit: cover;
  user-select: none;
  transform: translateZ(0);
  filter: saturate(1.08) contrast(1.06) brightness(0.99) hue-rotate(-3deg);
}

.rim-glow {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: clamp(6px, 0.7vw, 10px) solid rgba(64, 180, 255, 0.77);
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 17px rgba(62, 183, 255, 0.62),
    0 0 17px rgba(48, 142, 255, 0.58);
}

.wheel-shell::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: -2.6%;
  border: 3px solid rgba(126, 232, 255, 0.94);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 22px #51dcff, inset 0 0 16px #51dcff;
}

.wheel-shell.is-hit::after {
  animation: impact-ring 760ms ease-out forwards;
}

.pointer {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: -2.7%;
  width: 14%;
  aspect-ratio: 1 / 0.95;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 12px rgba(49, 185, 255, 0.9));
  pointer-events: none;
}

.pointer::before,
.pointer::after,
.pointer span {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 100%, 4% 8%, 96% 8%);
}

.pointer::before {
  background: linear-gradient(145deg, #f5fbff, #6f90b8 46%, #eaf8ff 100%);
}

.pointer::after {
  inset: 7%;
  background: linear-gradient(150deg, #5cecff, #176cff 57%, #4b23cf);
}

.pointer span {
  inset: 17%;
  background: linear-gradient(150deg, rgba(255,255,255,0.86), transparent 48%);
}

.spin-button {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  width: 27%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: clamp(4px, 0.55vw, 7px) solid #ff616b;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  color: #ffe76b;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.25), transparent 28%),
    radial-gradient(circle, #d61931 0 47%, #7c0016 72%, #3e000b 100%);
  box-shadow:
    0 0 0 clamp(5px, 0.7vw, 9px) #610010,
    0 0 0 clamp(8px, 1vw, 13px) #ff334b,
    inset 0 0 18px rgba(255,196,196,0.34),
    0 0 32px rgba(255,47,80,0.64);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.spin-button::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #fff 0deg 4deg, transparent 4deg 30deg);
  mask: radial-gradient(circle, transparent 0 77%, #000 79% 100%);
  filter: drop-shadow(0 0 4px #fff);
  opacity: 0.94;
}

.spin-button span {
  position: relative;
  display: block;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.25rem, 3.25vw, 2.8rem);
  letter-spacing: 0.035em;
  text-shadow:
    0 2px 0 #9c4700,
    0 4px 0 #5a2400,
    0 7px 13px rgba(0,0,0,0.55),
    0 0 10px rgba(255,231,97,0.55);
}

.spin-button:hover {
  transform: translate(-50%, -50%) scale(1.045);
  filter: brightness(1.1);
}

.spin-button:active {
  transform: translate(-50%, -50%) scale(0.965);
}

.spin-button:focus-visible {
  outline: 4px solid #8ceaff;
  outline-offset: 8px;
}

.spin-button[disabled] {
  cursor: wait;
  filter: saturate(0.82);
}

.wheel-shell.is-spinning .spin-button {
  animation: button-electric 620ms ease-in-out 2;
}

.wheel-shell.is-spinning .pointer {
  animation: pointer-tick 105ms ease-in-out 38;
  transform-origin: 50% 15%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.lightning-canvas {
  position: absolute;
  z-index: 9;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.screen-flash {
  position: fixed;
  z-index: 25;
  inset: 0;
  pointer-events: none;
  background: rgba(196, 246, 255, 0.92);
  mix-blend-mode: screen;
  opacity: 0;
}

.screen-flash.flash {
  animation: screen-flash 520ms ease-out forwards;
}

.legal {
  width: min(960px, calc(100% - 12px));
  min-height: 36px;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(112, 205, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(220, 235, 255, 0.58);
  font-size: clamp(0.61rem, 1.2vw, 0.74rem);
  line-height: 1.35;
  text-align: center;
}

.age-badge {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 24px;
  padding: 1px 7px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 7px;
  color: #f5f9ff;
  font-weight: 900;
  background: rgba(4,12,35,0.55);
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.45rem, 2.2vw, 1.25rem);
  overflow: hidden;
  background: rgba(1, 4, 18, 0.68);
  backdrop-filter: blur(18px) brightness(0.48) saturate(0.82);
  -webkit-backdrop-filter: blur(18px) brightness(0.48) saturate(0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.modal::before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 32%, rgba(28, 151, 255, 0.2), transparent 24%),
    radial-gradient(circle at 76% 70%, rgba(111, 39, 255, 0.18), transparent 28%);
  filter: blur(34px);
  opacity: 0;
  transform: scale(0.9);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal.is-open::before {
  animation: modal-ambient-in 900ms ease-out forwards;
}

.prize-art {
  position: relative;
  z-index: 2;
  width: min(92vw, 610px, calc(94svh * 0.867021));
  max-height: min(94svh, 900px);
  aspect-ratio: 652 / 752;
  transform: translateY(30px) scale(0.84);
  transform-origin: center;
  opacity: 0;
  filter:
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 36px rgba(53, 158, 255, 0.36));
}

.prize-art::before,
.prize-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.prize-art::before {
  inset: 8% 4%;
  background: radial-gradient(circle, rgba(71, 211, 255, 0.24), transparent 66%);
  filter: blur(28px);
}

.prize-art::after {
  left: 50%;
  top: 51%;
  width: 86%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.88);
  border: 2px solid rgba(102, 218, 255, 0.25);
  box-shadow: 0 0 52px rgba(61, 179, 255, 0.23);
  opacity: 0;
}

.modal.is-open .prize-art {
  animation: popup-art-arrive 680ms cubic-bezier(0.16, 1.18, 0.35, 1) forwards;
}

.modal.is-open .prize-art::after {
  animation: popup-impact-ring 1.2s ease-out 180ms forwards;
}

.prize-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.popup-close-hitbox,
.popup-redeem-hitbox {
  position: absolute;
  z-index: 4;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.popup-close-hitbox {
  left: 85.3%;
  top: 1.8%;
  width: 10.2%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.popup-redeem-hitbox {
  left: 16.6%;
  top: 77.0%;
  width: 66.8%;
  height: 11.0%;
  border-radius: 18px;
}

.popup-close-hitbox:hover,
.popup-redeem-hitbox:hover {
  background: rgba(255, 255, 255, 0.045);
}

.popup-redeem-hitbox:hover {
  filter: drop-shadow(0 0 16px rgba(255, 213, 48, 0.7));
}

.popup-close-hitbox:active,
.popup-redeem-hitbox:active {
  transform: scale(0.97);
}

.popup-close-hitbox:focus-visible,
.popup-redeem-hitbox:focus-visible {
  outline: 3px solid #85eaff;
  outline-offset: 3px;
  background: rgba(85, 220, 255, 0.08);
}

.confetti {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -8vh;
  width: 7px;
  height: 18px;
  border-radius: 2px;
  background: var(--confetti-color);
  transform: rotate(var(--rotation));
  animation: confetti-fall var(--duration) linear var(--delay) forwards;
}

@keyframes float-orb {
  to { transform: translate3d(30px, -20px, 0) scale(1.08); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.65); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes sound-bars {
  0% { transform: scaleY(0.45); opacity: 0.62; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes aura-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.42; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes hand-charge {
  0% { opacity: 0; transform: scale(0.25); }
  20%, 42%, 68% { opacity: 1; transform: scale(1.1); }
  30%, 55%, 78% { opacity: 0.25; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.5); }
}

@keyframes impact-ring {
  0% { opacity: 0; transform: scale(0.94); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes button-electric {
  0%, 100% { box-shadow: 0 0 0 7px #610010, 0 0 0 11px #ff334b, 0 0 32px rgba(255,47,80,0.64); }
  50% { box-shadow: 0 0 0 7px #610010, 0 0 0 11px #ff334b, 0 0 55px #46d9ff, 0 0 85px rgba(60,107,255,0.75); }
}

@keyframes pointer-tick {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  45% { transform: translateX(-50%) rotate(-9deg); }
}


@keyframes screen-flash {
  0% { opacity: 0; }
  14% { opacity: 0.42; }
  27% { opacity: 0.08; }
  38% { opacity: 0.26; }
  100% { opacity: 0; }
}

@keyframes card-arrive {
  0% { opacity: 0; transform: translateY(32px) scale(0.82) rotateX(10deg); }
  65% { opacity: 1; transform: translateY(-6px) scale(1.025) rotateX(0deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}

@keyframes card-shine {
  to { transform: translateX(140%); }
}

@keyframes icon-pulse {
  to { transform: scale(1.08); filter: brightness(1.2); }
}

@keyframes modal-bolt {
  0%, 100% { opacity: 0; transform: scaleX(0.25) rotate(18deg); }
  20%, 55% { opacity: 0.9; transform: scaleX(1) rotate(18deg); }
  35%, 70% { opacity: 0.18; }
}

@keyframes confetti-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(var(--rotation)); opacity: 1; }
  100% { transform: translate3d(var(--drift), 112vh, 0) rotate(calc(var(--rotation) + 720deg)); opacity: 0.25; }
}


@keyframes modal-ambient-in {
  0% { opacity: 0; transform: scale(0.86) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes popup-art-arrive {
  0% { opacity: 0; transform: translateY(34px) scale(0.82) rotateX(9deg); }
  62% { opacity: 1; transform: translateY(-7px) scale(1.025) rotateX(0deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}

@keyframes popup-impact-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.76); }
  28% { opacity: 0.72; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.14); }
}

@media (max-width: 980px) {
  .game-stage {
    grid-template-columns: minmax(250px, 0.72fr) minmax(470px, 1.28fr);
    height: clamp(540px, 64vh, 650px);
  }

  .zeus-wrap {
    width: 119%;
    transform: translateX(5%);
  }

  .wheel-zone {
    margin-left: -9%;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 82px;
  }

  .brand-logo {
    width: 142px;
  }

  .sound-toggle {
    right: 2px;
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .sound-label {
    display: none;
  }

  .hero-copy {
    margin-top: 0.1rem;
  }

  h1 {
    font-size: clamp(2.1rem, 8.8vw, 3.6rem);
  }

  .game-stage {
    display: block;
    width: 100%;
    height: 620px;
    overflow: clip;
    min-height: 620px;
    margin-top: 0.2rem;
  }

  .zeus-wrap {
    position: absolute;
    left: -9%;
    bottom: 4px;
    width: 51%;
    height: 76%;
    transform: none;
    opacity: 0.94;
  }

  .wheel-zone {
    position: absolute;
    right: -1.5%;
    top: 15px;
    width: 82%;
    margin: 0;
  }

  .hand-charge {
    left: 82%;
    top: 48%;
  }
}

@media (max-width: 520px) {
  .landing {
    min-height: 100svh;
    padding-inline: 0.55rem;
  }

  .topbar {
    width: 100%;
  }

  .brand-logo {
    width: 126px;
  }

  .eyebrow {
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(1.95rem, 10.7vw, 3rem);
  }

  .subheadline {
    margin-top: 0.42rem;
    max-width: 330px;
    font-size: 0.78rem;
  }

  .game-stage {
    height: 540px;
    min-height: 540px;
  }

  .zeus-wrap {
    left: -14%;
    bottom: 4px;
    width: 56%;
    height: 66%;
    opacity: 0.9;
  }

  .wheel-zone {
    right: 0;
    top: 12px;
    width: 86%;
  }

  .legal {
    margin-top: 0.2rem;
    align-items: flex-start;
    font-size: 0.56rem;
  }

  .prize-art {
    width: min(98vw, 560px, calc(97svh * 0.867021));
    max-height: 97svh;
  }

}

@media (max-height: 720px) and (min-width: 761px) {
  .topbar { min-height: 76px; }
  .brand-logo { width: 136px; }
  h1 { font-size: 3.15rem; }
  .subheadline { margin-top: 0.35rem; }
  .game-stage { height: 540px; min-height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .wheel-rotor {
    transition-duration: 1.4s;
  }
}

/* Ajuste de limpeza solicitado: nenhum elemento informativo sob a roleta. */

/* Fallback discreto: aparece somente quando o navegador bloqueia áudio automático. */
.audio-start-hint {
  position: fixed;
  z-index: 80;
  left: 50%;
  top: max(74px, calc(env(safe-area-inset-top) + 66px));
  transform: translate(-50%, -12px) scale(0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: max-content;
  max-width: calc(100vw - 28px);
  min-height: 42px;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(125, 225, 255, 0.78);
  border-radius: 999px;
  color: #f6fbff;
  background: rgba(3, 14, 45, 0.9);
  box-shadow: 0 10px 28px rgba(0,0,0,0.42), 0 0 22px rgba(43, 187, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.audio-start-hint[hidden] {
  display: none;
}

.audio-start-hint.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.audio-start-hint span {
  font-size: 1.05rem;
  animation: audio-hint-pulse 1.1s ease-in-out infinite alternate;
}

.audio-start-hint strong {
  font-size: clamp(0.67rem, 2vw, 0.78rem);
  letter-spacing: 0.095em;
  white-space: nowrap;
}

.audio-start-hint:focus-visible {
  outline: 3px solid #85eaff;
  outline-offset: 4px;
}

@keyframes audio-hint-pulse {
  to { transform: scale(1.14); filter: brightness(1.25); }
}

@media (max-width: 520px) {
  .audio-start-hint {
    top: max(66px, calc(env(safe-area-inset-top) + 58px));
    min-height: 38px;
    padding: 0.5rem 0.72rem;
  }
}

/* =========================================================
   V4 — CENÁRIO iGAMING, MOVIMENTO IDLE E LIMPEZA DO RAIO
   ========================================================= */

body {
  background:
    radial-gradient(circle at 50% 38%, rgba(42, 205, 255, 0.30), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(255, 48, 190, 0.25), transparent 31%),
    radial-gradient(circle at 12% 72%, rgba(37, 110, 255, 0.32), transparent 34%),
    linear-gradient(135deg, #031338 0%, #063c83 31%, #321080 65%, #74105f 100%);
}

.ambient {
  background:
    linear-gradient(180deg, rgba(0, 10, 48, 0.05), rgba(1, 3, 18, 0.42)),
    radial-gradient(ellipse at center 44%, rgba(65, 221, 255, 0.12), transparent 54%);
}

.ambient::before {
  inset: 28% -14% -28%;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(73, 218, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 79, 255, 0.10) 1px, transparent 1px);
  background-size: 58px 58px;
  filter: drop-shadow(0 -2px 12px rgba(49, 207, 255, 0.18));
}

.ambient::after {
  opacity: 0.28;
}

.casino-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.casino-scene::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -72vw;
  width: min(1760px, 142vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0.46;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(62, 226, 255, 0.22) 0deg 3deg,
      transparent 3deg 13deg,
      rgba(251, 72, 223, 0.16) 13deg 16deg,
      transparent 16deg 28deg
    );
  -webkit-mask-image: radial-gradient(circle, transparent 0 41%, #000 47% 67%, transparent 75%);
  mask-image: radial-gradient(circle, transparent 0 41%, #000 47% 67%, transparent 75%);
  filter: blur(7px);
  animation: casino-rays-spin 32s linear infinite;
}

.casino-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: min(1300px, 110vw);
  height: 46%;
  transform: translateX(-50%) perspective(720px) rotateX(64deg);
  transform-origin: center bottom;
  border-radius: 48% 48% 0 0;
  background:
    radial-gradient(ellipse at center top, rgba(58, 225, 255, 0.20), transparent 58%),
    repeating-linear-gradient(90deg, rgba(73, 207, 255, 0.10) 0 2px, transparent 2px 72px),
    repeating-linear-gradient(0deg, rgba(205, 76, 255, 0.08) 0 2px, transparent 2px 54px);
  border-top: 2px solid rgba(90, 224, 255, 0.22);
  box-shadow: 0 -18px 80px rgba(34, 126, 255, 0.18);
  opacity: 0.64;
}

.casino-beam {
  position: absolute;
  top: -16%;
  width: 26vw;
  min-width: 240px;
  height: 94vh;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.20;
  transform-origin: 50% 0;
  animation: beam-sweep 8.5s ease-in-out infinite alternate;
}

.beam-left {
  left: 2%;
  background: linear-gradient(180deg, rgba(39, 212, 255, 0.64), rgba(33, 94, 255, 0));
  transform: rotate(-18deg);
}

.beam-right {
  right: 0;
  background: linear-gradient(180deg, rgba(255, 48, 202, 0.58), rgba(107, 27, 255, 0));
  transform: rotate(18deg);
  animation-delay: -3.2s;
}

.beam-center {
  left: 42%;
  width: 20vw;
  background: linear-gradient(180deg, rgba(119, 105, 255, 0.46), rgba(33, 223, 255, 0));
  opacity: 0.13;
  animation-delay: -5.4s;
}

.ig-ball,
.ig-chip,
.ig-card,
.neon-gem {
  position: absolute;
  display: grid;
  place-items: center;
  user-select: none;
  will-change: transform;
}

.ig-ball {
  width: clamp(50px, 5vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1rem, 2vw, 1.65rem);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 10px 10px 16px rgba(255, 255, 255, 0.30),
    inset -13px -14px 22px rgba(0, 0, 0, 0.32),
    0 0 25px rgba(91, 217, 255, 0.32);
  opacity: 0.48;
  animation: token-float 6.8s ease-in-out infinite alternate;
}

.ig-ball b {
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.90);
  color: #13285b;
  text-shadow: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.28);
}

.ball-one {
  left: 4.5%;
  top: 24%;
  background: linear-gradient(145deg, #18d5ff, #124be8 70%);
  transform: rotate(-13deg);
}

.ball-two {
  right: 5%;
  top: 20%;
  background: linear-gradient(145deg, #ff56c9, #6d24e8 70%);
  transform: rotate(10deg);
  animation-delay: -2.2s;
}

.ball-three {
  right: 8%;
  bottom: 11%;
  background: linear-gradient(145deg, #34f0c7, #0b7ac6 70%);
  transform: rotate(-8deg);
  animation-delay: -4.5s;
}

.ig-chip {
  width: clamp(54px, 5.4vw, 86px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.38;
  background:
    radial-gradient(circle, #091b55 0 31%, #fff 32% 38%, #1f74ff 39% 57%, transparent 58%),
    repeating-conic-gradient(#fff 0 12deg, #306dff 12deg 30deg);
  border: 3px solid rgba(255,255,255,0.78);
  box-shadow: 0 0 24px rgba(57, 185, 255, 0.32), inset 0 0 10px rgba(0,0,0,0.36);
  animation: chip-drift 9s ease-in-out infinite alternate;
}

.chip-one {
  left: 10%;
  bottom: 10%;
  transform: rotate(24deg);
}

.chip-two {
  right: 17%;
  top: 43%;
  transform: rotate(-34deg) scale(0.78);
  animation-delay: -4.1s;
}

.ig-card {
  width: clamp(42px, 4.1vw, 64px);
  height: clamp(58px, 5.6vw, 88px);
  border-radius: 9px;
  border: 3px solid rgba(255,255,255,0.82);
  color: #fff;
  font-size: clamp(1.25rem, 2.3vw, 2.2rem);
  opacity: 0.30;
  background: linear-gradient(145deg, rgba(255, 55, 178, 0.95), rgba(70, 38, 212, 0.98));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.10), 0 0 24px rgba(217, 70, 255, 0.32);
  animation: card-drift 8s ease-in-out infinite alternate;
}

.card-one {
  left: 20%;
  top: 16%;
  transform: rotate(-18deg);
}

.card-two {
  right: 21%;
  bottom: 14%;
  transform: rotate(17deg) scale(0.9);
  background: linear-gradient(145deg, rgba(44, 213, 255, 0.96), rgba(20, 64, 210, 0.98));
  animation-delay: -3.7s;
}

.neon-gem {
  width: clamp(34px, 3.4vw, 54px);
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 91% 24%, 77% 78%, 50% 100%, 23% 78%, 9% 24%);
  opacity: 0.34;
  background: linear-gradient(145deg, #e9ffff, #47dfff 35%, #385eff 68%, #cf42ff);
  box-shadow: 0 0 28px rgba(72, 215, 255, 0.55);
  animation: gem-pulse 4.6s ease-in-out infinite alternate;
}

.gem-one { left: 29%; top: 33%; }
.gem-two { right: 29%; top: 12%; animation-delay: -2.1s; }

.game-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 1%;
  right: 1%;
  bottom: -1%;
  height: 27%;
  border-radius: 50% 50% 8% 8%;
  background:
    radial-gradient(ellipse at center top, rgba(48, 222, 255, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(48, 116, 255, 0.10), rgba(8, 5, 34, 0.06));
  border-top: 2px solid rgba(97, 226, 255, 0.22);
  box-shadow: 0 -14px 60px rgba(44, 155, 255, 0.20);
  filter: blur(0.2px);
}

.hero-copy {
  filter: drop-shadow(0 12px 26px rgba(4, 14, 62, 0.45));
}

h1 span {
  background: linear-gradient(180deg, #b4f7ff 0%, #3edcff 46%, #7b7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 15px rgba(57, 215, 255, 0.35));
}

.zeus {
  will-change: transform, filter;
  animation: zeus-idle-float 3.7s ease-in-out infinite;
  transform-origin: center bottom;
}

.zeus-wrap.is-casting .zeus {
  animation-play-state: paused;
  transform: translate3d(0, -5px, 0) scale(1.008);
}

.zeus-aura {
  background:
    radial-gradient(circle, rgba(82, 224, 255, 0.30), rgba(63, 79, 255, 0.10) 42%, transparent 68%);
}

.wheel-zone::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -13%;
  border-radius: 50%;
  opacity: 0.54;
  background: conic-gradient(from 0deg, #34dcff, #4858ff, #d33dff, #ff3f9d, #34dcff);
  -webkit-mask-image: radial-gradient(circle, transparent 0 55%, #000 66% 78%, transparent 87%);
  mask-image: radial-gradient(circle, transparent 0 55%, #000 66% 78%, transparent 87%);
  filter: blur(18px);
  animation: wheel-halo-spin 10s linear infinite;
}

.wheel-zone::after {
  content: "";
  position: absolute;
  z-index: -3;
  left: 50%;
  top: 52%;
  width: 112%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 204, 255, 0.22), rgba(94, 52, 255, 0.12) 44%, transparent 70%);
  filter: blur(28px);
  animation: wheel-aura-breathe 3.4s ease-in-out infinite alternate;
}

.wheel-energy {
  position: absolute;
  z-index: 2;
  inset: -2.2%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.42;
  background: conic-gradient(from 0deg, transparent 0 7%, #46e6ff 8% 11%, transparent 12% 27%, #f74fc9 28% 31%, transparent 32% 50%, #7c62ff 51% 54%, transparent 55% 75%, #45e7ff 76% 79%, transparent 80% 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 82%, #000 84% 92%, transparent 94%);
  mask-image: radial-gradient(circle, transparent 0 82%, #000 84% 92%, transparent 94%);
  filter: blur(2px) drop-shadow(0 0 8px #4edfff);
  animation: wheel-energy-spin 7.5s linear infinite;
}

.wheel-lights {
  position: absolute;
  z-index: 6;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-light {
  position: absolute;
  width: clamp(8px, 1.05vw, 14px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #f9ffff;
  opacity: 0.26;
  box-shadow:
    0 0 5px 2px rgba(255,255,255,0.68),
    0 0 12px 5px var(--bulb-color, #54ddff),
    0 0 24px 7px color-mix(in srgb, var(--bulb-color, #54ddff) 72%, transparent);
  animation: wheel-bulb-chase 1.44s steps(1, end) infinite;
  animation-delay: var(--bulb-delay, 0ms);
}

.wheel-shell.is-spinning .wheel-light {
  animation-duration: 0.68s;
}

.spin-button:not([disabled]) {
  animation: spin-cta-breathe 2.15s ease-in-out infinite;
}

.lightning-canvas {
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: screen;
  transition: opacity 45ms linear, visibility 0s linear 80ms;
  contain: strict;
}

.lightning-canvas.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

@keyframes casino-rays-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes beam-sweep {
  0% { translate: -4% 0; rotate: -5deg; opacity: 0.12; }
  100% { translate: 8% 2%; rotate: 6deg; opacity: 0.26; }
}

@keyframes token-float {
  0% { translate: 0 0; rotate: -8deg; }
  100% { translate: 18px -28px; rotate: 12deg; }
}

@keyframes chip-drift {
  0% { translate: 0 0; rotate: -16deg; }
  100% { translate: -12px -24px; rotate: 44deg; }
}

@keyframes card-drift {
  0% { translate: 0 0; rotate: -7deg; }
  100% { translate: 16px -23px; rotate: 10deg; }
}

@keyframes gem-pulse {
  0% { transform: translateY(0) scale(0.82) rotate(-8deg); filter: brightness(0.86); }
  100% { transform: translateY(-18px) scale(1.08) rotate(8deg); filter: brightness(1.35); }
}

@keyframes zeus-idle-float {
  0%, 100% { transform: translate3d(0, 4px, 0) rotate(-0.25deg); }
  50% { transform: translate3d(0, -11px, 0) rotate(0.35deg); }
}

@keyframes wheel-halo-spin {
  to { transform: rotate(360deg); }
}

@keyframes wheel-aura-breathe {
  to { transform: translate(-50%, -50%) scale(1.07); opacity: 0.78; }
}

@keyframes wheel-energy-spin {
  to { transform: rotate(360deg); }
}

@keyframes wheel-bulb-chase {
  0%, 11%, 100% { opacity: 0.24; filter: brightness(0.70); }
  12%, 34% { opacity: 1; filter: brightness(1.42); }
  35%, 46% { opacity: 0.42; filter: brightness(0.92); }
  47%, 58% { opacity: 0.82; filter: brightness(1.18); }
  59%, 99% { opacity: 0.24; filter: brightness(0.70); }
}

@keyframes spin-cta-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 clamp(5px, 0.7vw, 9px) #610010,
      0 0 0 clamp(8px, 1vw, 13px) #ff334b,
      inset 0 0 18px rgba(255,196,196,0.34),
      0 0 28px rgba(255,47,80,0.54);
  }
  50% {
    box-shadow:
      0 0 0 clamp(5px, 0.7vw, 9px) #610010,
      0 0 0 clamp(8px, 1vw, 13px) #ff334b,
      inset 0 0 22px rgba(255,225,225,0.42),
      0 0 42px rgba(255,47,80,0.84),
      0 0 62px rgba(77,206,255,0.18);
  }
}

@media (max-width: 760px) {
  .ig-ball,
  .ig-chip,
  .ig-card,
  .neon-gem {
    opacity: 0.18;
  }

  .ball-one,
  .chip-two,
  .card-one,
  .gem-two {
    display: none;
  }

  .casino-scene::before {
    top: -55vw;
    width: 180vw;
    opacity: 0.34;
  }

  .casino-beam {
    opacity: 0.12;
  }

  .zeus {
    animation-name: zeus-idle-float-mobile;
  }
}

@keyframes zeus-idle-float-mobile {
  0%, 100% { transform: translate3d(0, 2px, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .zeus,
  .wheel-energy,
  .wheel-zone::before,
  .wheel-light,
  .casino-scene::before,
  .casino-beam,
  .ig-ball,
  .ig-chip,
  .ig-card,
  .neon-gem {
    animation: none !important;
  }
}

/* Refinos finais de contraste e continuidade do cenário. */
html {
  background: linear-gradient(135deg, #031338 0%, #063c83 35%, #321080 68%, #74105f 100%);
}

body {
  background-attachment: fixed;
}

h1 span {
  background: linear-gradient(180deg, #ffffff 0%, #8df4ff 34%, #42d9ff 64%, #b887ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 3px 0 rgba(19, 65, 164, 0.50), 0 0 22px rgba(75, 222, 255, 0.54);
}

.wheel-light {
  box-shadow:
    0 0 5px 2px rgba(255,255,255,0.68),
    0 0 12px 5px var(--bulb-color, #54ddff),
    0 0 24px 7px var(--bulb-color, #54ddff);
}

@media (max-width: 760px) {
  .ball-two {
    display: none;
  }
}


/* Avisos de participação: destaque principal + disclaimer discreto. */
.chance-notice {
  position: relative;
  z-index: 12;
  width: fit-content;
  max-width: min(720px, calc(100vw - 28px));
  margin: 0.7rem auto 0;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  text-align: center;
}

.chance-notice strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  padding: 0.48rem 1.15rem 0.45rem;
  overflow: hidden;
  border: 1px solid rgba(118, 232, 255, 0.72);
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(21, 78, 177, 0.90), rgba(16, 20, 88, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(75, 224, 255, 0.32), transparent 58%);
  box-shadow:
    inset 0 1px rgba(255,255,255,0.22),
    0 10px 24px rgba(0, 0, 26, 0.34),
    0 0 20px rgba(54, 206, 255, 0.20);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(0.76rem, 1.45vw, 1.02rem);
  line-height: 1.08;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(9, 35, 109, 0.95), 0 0 12px rgba(107, 229, 255, 0.62);
}

.chance-notice strong::before,
.chance-notice strong::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  aspect-ratio: 1;
  margin-inline: 0.52rem;
  border-radius: 50%;
  background: #8ff4ff;
  box-shadow: 0 0 7px 2px rgba(94, 226, 255, 0.88), 0 0 15px 5px rgba(83, 115, 255, 0.42);
  animation: chance-dot-pulse 1.15s ease-in-out infinite alternate;
}

.chance-notice strong::after {
  animation-delay: -0.58s;
}

.chance-notice small {
  color: rgba(225, 239, 255, 0.68);
  font-size: clamp(0.57rem, 0.9vw, 0.69rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,20,0.66);
}

@keyframes chance-dot-pulse {
  from { opacity: 0.42; transform: scale(0.72); filter: brightness(0.86); }
  to { opacity: 1; transform: scale(1.12); filter: brightness(1.35); }
}

@media (max-width: 760px) {
  .chance-notice {
    margin-top: 0.56rem;
  }

  .chance-notice strong {
    min-height: 34px;
    padding: 0.42rem 0.7rem 0.39rem;
    font-size: clamp(0.67rem, 3.05vw, 0.84rem);
    letter-spacing: 0.075em;
  }

  .chance-notice strong::before,
  .chance-notice strong::after {
    width: 6px;
    margin-inline: 0.34rem;
  }

  .chance-notice small {
    font-size: 0.58rem;
  }
}

@media (max-width: 420px) {
  .chance-notice strong {
    width: 100%;
    border-radius: 13px;
    line-height: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chance-notice strong::before,
  .chance-notice strong::after {
    animation: none !important;
  }
}

/* Notificações promocionais demonstrativas — visuais de celebração, com indicação clara de simulação. */
.winner-feed {
  position: fixed;
  z-index: 70;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: min(455px, calc(100vw - 40px));
  min-height: 132px;
  pointer-events: none;
  isolation: isolate;
}

.winner-toast {
  --winner-accent: #4ee8ff;
  --winner-accent-2: #2870ff;
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 124px;
  padding: 14px 22px 15px 15px;
  overflow: visible;
  border: 2px solid color-mix(in srgb, var(--winner-accent) 66%, white 22%);
  border-radius: 26px;
  opacity: 0;
  transform: translate3d(-125%, 0, 0) scale(0.82) rotate(-2deg);
  transform-origin: left center;
  background:
    radial-gradient(circle at 15% 25%, color-mix(in srgb, var(--winner-accent) 28%, transparent), transparent 38%),
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--winner-accent-2) 25%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(5, 20, 63, 0.985), rgba(21, 8, 72, 0.985) 55%, rgba(61, 7, 75, 0.98));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.24),
    inset 0 -1px rgba(0, 0, 0, 0.28),
    0 22px 54px rgba(0, 0, 24, 0.62),
    0 0 0 6px rgba(255, 255, 255, 0.035),
    0 0 34px color-mix(in srgb, var(--winner-accent) 42%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.28);
  backdrop-filter: blur(18px) saturate(1.28);
  will-change: transform, opacity, filter;
}

.winner-toast::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(112deg, transparent 0 34%, rgba(255,255,255,0.03) 42%, rgba(255,255,255,0.24) 49%, rgba(255,255,255,0.04) 56%, transparent 65%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 9px);
  transform: translateX(-70%);
}

.winner-toast::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -16px;
  border-radius: 34px;
  opacity: 0;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--winner-accent) 34%, transparent), transparent 68%);
  filter: blur(12px);
}

.winner-toast.is-visible {
  animation: winner-toast-cycle 4.25s cubic-bezier(0.19, 0.88, 0.24, 1) both;
}

.winner-toast.is-visible::before {
  animation: winner-toast-sheen 1.25s ease-out 260ms both;
}

.winner-toast.is-visible::after {
  animation: winner-aura-pop 1.15s ease-out 100ms both;
}

.winner-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  aspect-ratio: 1;
  border: 3px solid rgba(255,255,255,0.88);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 26%, rgba(255,255,255,0.62), transparent 24%),
    linear-gradient(145deg, var(--winner-accent), var(--winner-accent-2) 58%, #7a24d9);
  box-shadow:
    inset 0 -9px 16px rgba(0,0,40,0.28),
    0 0 0 6px color-mix(in srgb, var(--winner-accent) 18%, transparent),
    0 0 28px color-mix(in srgb, var(--winner-accent) 64%, transparent);
}

.winner-emblem::before,
.winner-emblem::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid color-mix(in srgb, var(--winner-accent) 52%, transparent);
  border-radius: 50%;
  opacity: 0;
}

.winner-toast.is-visible .winner-emblem::before {
  animation: winner-ring 1.25s ease-out 120ms both;
}

.winner-toast.is-visible .winner-emblem::after {
  animation: winner-ring 1.25s ease-out 360ms both;
}

.winner-star {
  position: absolute;
  z-index: 2;
  right: -8px;
  top: -11px;
  display: grid;
  place-items: center;
  width: 31px;
  aspect-ratio: 1;
  border: 2px solid #fff6be;
  border-radius: 50%;
  color: #6b2900;
  background: linear-gradient(180deg, #fff5a3 0%, #ffd332 48%, #ff8f00 100%);
  box-shadow: 0 4px 12px rgba(75, 21, 0, 0.5), 0 0 18px rgba(255, 211, 51, 0.76);
  font-size: 1rem;
  line-height: 1;
  transform: rotate(10deg);
}

.winner-avatar {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.18rem;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 3px 3px rgba(0,0,45,0.54), 0 0 14px rgba(255,255,255,0.22);
}

.winner-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 2px;
  line-height: 1;
}

.winner-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.winner-alert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff2a4;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 211, 54, 0.36);
}

.winner-alert i {
  display: block;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #42ff8a;
  box-shadow: 0 0 0 4px rgba(66,255,138,0.12), 0 0 13px #42ff8a;
}


.winner-copy > strong {
  overflow: hidden;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  font-weight: 900;
  letter-spacing: -0.018em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 3px 12px rgba(0,0,30,0.82);
}

.winner-prize-line {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 3px;
  white-space: nowrap;
}

.winner-prize-line small {
  color: #fff7c4;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.winner-prize-line b {
  color: transparent;
  background: linear-gradient(180deg, #fffbd0 0%, #ffe158 26%, #ffb719 61%, #ff7a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.18rem, 4.1vw, 2.85rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.82;
  filter: drop-shadow(0 3px 0 rgba(110, 35, 0, 0.85)) drop-shadow(0 0 15px rgba(255, 174, 28, 0.28));
}

.winner-prize-line > span {
  overflow: hidden;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.82rem, 1.8vw, 1.05rem);
  font-weight: 950;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  text-shadow: 0 3px 8px rgba(0,0,40,0.72), 0 0 12px color-mix(in srgb, var(--winner-accent) 30%, transparent);
}

.winner-disclosure {
  justify-self: end;
  margin-top: 4px;
  color: rgba(231, 240, 255, 0.58);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.winner-toast.is-jackpot .winner-prize-line b {
  font-size: clamp(2.28rem, 4.4vw, 3rem);
}

.winner-ray {
  position: absolute;
  z-index: -3;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--winner-accent), #fff);
  box-shadow: 0 0 12px var(--winner-accent);
  transform-origin: right center;
}

.ray-a { left: -28px; top: 20px; transform: rotate(18deg); }
.ray-b { left: -38px; top: 62px; transform: rotate(0deg); }
.ray-c { left: -25px; bottom: 15px; transform: rotate(-20deg); }

.winner-toast.is-visible .winner-ray {
  animation: winner-ray-flash 1.05s ease-out 80ms both;
}

.winner-celebration {
  position: absolute;
  inset: -15px;
  z-index: 4;
  pointer-events: none;
}

.winner-celebration i {
  --x: 0px;
  --y: -36px;
  --r: 0deg;
  position: absolute;
  left: 17%;
  top: 50%;
  width: 7px;
  height: 16px;
  border-radius: 3px;
  opacity: 0;
  background: var(--winner-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--winner-accent) 65%, transparent);
}

.winner-celebration i:nth-child(1) { --x: -50px; --y: -56px; --r: -34deg; background: #fff; }
.winner-celebration i:nth-child(2) { --x: -26px; --y: -76px; --r: 26deg; background: #ffd73a; }
.winner-celebration i:nth-child(3) { --x: 18px; --y: -72px; --r: 74deg; background: #ff5edb; }
.winner-celebration i:nth-child(4) { --x: 57px; --y: -46px; --r: 112deg; background: #4feaff; }
.winner-celebration i:nth-child(5) { --x: -56px; --y: 42px; --r: -68deg; background: #ff5e75; }
.winner-celebration i:nth-child(6) { --x: -14px; --y: 70px; --r: 32deg; background: #fff; }
.winner-celebration i:nth-child(7) { --x: 34px; --y: 66px; --r: 76deg; background: #ffd73a; }
.winner-celebration i:nth-child(8) { --x: 67px; --y: 34px; --r: 122deg; background: #a970ff; }

.winner-toast.is-visible .winner-celebration i {
  animation: winner-confetti-pop 1.05s cubic-bezier(0.16, 0.78, 0.23, 1) 80ms both;
}

.winner-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 4px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--winner-accent), #ffffff 48%, var(--winner-accent-2));
  box-shadow: 0 0 12px color-mix(in srgb, var(--winner-accent) 68%, transparent);
}

.winner-toast.is-visible .winner-progress {
  animation: winner-progress 3.55s linear 420ms both;
}

@keyframes winner-toast-cycle {
  0% { opacity: 0; transform: translate3d(-125%, 0, 0) scale(0.82) rotate(-2deg); filter: brightness(1.4); }
  8% { opacity: 1; transform: translate3d(10px, 0, 0) scale(1.055) rotate(0.4deg); filter: brightness(1.18); }
  13% { transform: translate3d(0, 0, 0) scale(0.985) rotate(0deg); }
  18%, 82% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: brightness(1); }
  89% { opacity: 1; transform: translate3d(-5px, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(-34px, 10px, 0) scale(0.94); filter: brightness(0.92); }
}

@keyframes winner-toast-sheen {
  from { transform: translateX(-70%); }
  to { transform: translateX(155%); }
}

@keyframes winner-aura-pop {
  0% { opacity: 0; transform: scale(0.75); }
  45% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 0.15; transform: scale(1); }
}

@keyframes winner-ring {
  0% { opacity: 0.9; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.42); }
}

@keyframes winner-ray-flash {
  0% { opacity: 0; width: 10px; }
  32% { opacity: 1; width: 58px; }
  100% { opacity: 0; width: 74px; }
}

@keyframes winner-confetti-pop {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.5); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}

@keyframes winner-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  .winner-feed {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(11px, env(safe-area-inset-bottom));
    width: auto;
    min-height: 106px;
  }

  .winner-toast {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 101px;
    gap: 12px;
    padding: 12px 15px 13px 12px;
    border-radius: 21px;
  }

  .winner-emblem {
    width: 62px;
    border-width: 2px;
  }

  .winner-star {
    width: 25px;
    right: -6px;
    top: -8px;
    font-size: 0.78rem;
  }

  .winner-avatar {
    font-size: 1.72rem;
  }

  .winner-alert {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .winner-copy > strong {
    font-size: 1rem;
  }

  .winner-prize-line {
    gap: 5px;
  }

  .winner-prize-line b,
  .winner-toast.is-jackpot .winner-prize-line b {
    font-size: 2rem;
  }

  .winner-prize-line > span {
    font-size: 0.78rem;
  }

  .winner-prize-line small {
    font-size: 0.62rem;
  }

  .winner-ray { display: none; }
}

@media (max-width: 390px) {
  .winner-toast {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding-left: 10px;
    padding-right: 11px;
  }

  .winner-emblem { width: 56px; }
  .winner-copy > strong { font-size: 0.92rem; }
  .winner-prize-line b,
  .winner-toast.is-jackpot .winner-prize-line b { font-size: 1.77rem; }
  .winner-prize-line > span { font-size: 0.69rem; }
  .winner-alert { font-size: 0.59rem; }
}

@media (max-height: 670px) and (min-width: 761px) {
  .winner-feed {
    bottom: 12px;
    width: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .winner-toast.is-visible,
  .winner-toast.is-visible::before,
  .winner-toast.is-visible::after,
  .winner-toast.is-visible .winner-progress,
  .winner-toast.is-visible .winner-ray,
  .winner-toast.is-visible .winner-celebration i,
  .winner-toast.is-visible .winner-emblem::before,
  .winner-toast.is-visible .winner-emblem::after {
    animation-duration: 1ms !important;
  }
}



/* V9 — resultado dinâmico e pop-up adaptável ao prêmio sorteado */
.prize-card {
  --prize-accent: #47d8ff;
  --prize-accent-2: #5a48ff;
  position: relative;
  z-index: 2;
  width: min(92vw, 600px);
  max-height: 94svh;
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 2.5rem) clamp(1.1rem, 4.4vw, 2.65rem) clamp(1rem, 3.2vw, 1.55rem);
  border: 2px solid color-mix(in srgb, var(--prize-accent) 74%, #ffffff 26%);
  border-radius: clamp(24px, 5vw, 42px);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--prize-accent) 24%, transparent), transparent 30%),
    radial-gradient(circle at 84% 82%, color-mix(in srgb, var(--prize-accent-2) 22%, transparent), transparent 42%),
    linear-gradient(155deg, #10275c 0%, #091947 44%, #160b48 100%);
  box-shadow:
    inset 0 0 0 8px rgba(1, 10, 38, 0.72),
    inset 0 0 0 10px color-mix(in srgb, var(--prize-accent) 22%, transparent),
    0 34px 90px rgba(0, 0, 20, 0.78),
    0 0 54px color-mix(in srgb, var(--prize-accent) 34%, transparent);
  transform: translateY(32px) scale(0.82);
  transform-origin: center;
  opacity: 0;
  isolation: isolate;
}

.prize-card::before,
.prize-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.prize-card::before {
  inset: 0;
  opacity: 0.32;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 14% 20%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 88% 28%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 21% 78%, #fff 0 1px, transparent 2px);
}

.prize-card::after {
  left: 50%;
  top: 42%;
  width: 72%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--prize-accent) 24%, transparent), transparent 66%);
  filter: blur(18px);
}

.prize-card[data-theme="rabbit"] { --prize-accent: #ff5f9b; --prize-accent-2: #ff2e60; }
.prize-card[data-theme="joker"] { --prize-accent: #bb72ff; --prize-accent-2: #6b45ff; }
.prize-card[data-theme="ox"] { --prize-accent: #ff8c45; --prize-accent-2: #e42f45; }
.prize-card[data-theme="princess"] { --prize-accent: #63ddff; --prize-accent-2: #e94bff; }

.modal.is-open .prize-card {
  animation: prize-card-arrive 720ms cubic-bezier(0.16, 1.18, 0.35, 1) forwards;
}

.prize-close {
  position: absolute;
  z-index: 4;
  top: clamp(0.7rem, 2.6vw, 1.25rem);
  right: clamp(0.7rem, 2.6vw, 1.25rem);
  display: grid;
  place-items: center;
  width: clamp(38px, 8vw, 50px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 50%;
  color: rgba(255,255,255,0.88);
  background: rgba(3, 9, 34, 0.38);
  box-shadow: inset 0 0 16px rgba(0,0,0,0.26);
  font: 300 clamp(1.35rem, 4vw, 1.9rem)/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.prize-close:hover { transform: scale(1.06); background: rgba(255,255,255,0.11); }
.prize-close:active { transform: scale(0.96); }
.prize-close:focus-visible { outline: 3px solid #8ceaff; outline-offset: 3px; }

.prize-bolt {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(64px, 14vw, 88px);
  aspect-ratio: 1;
  margin: 0 auto clamp(0.6rem, 2vw, 0.9rem);
  border-radius: 50%;
  color: #ffe77b;
  background: linear-gradient(145deg, #1ebcff, #394dff 55%, #8c38ff);
  box-shadow:
    0 0 0 9px color-mix(in srgb, var(--prize-accent) 10%, transparent),
    0 0 32px color-mix(in srgb, var(--prize-accent) 72%, transparent),
    inset 0 0 18px rgba(255,255,255,0.28);
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.35));
  animation: prize-bolt-float 1.9s ease-in-out infinite;
}

.prize-kicker {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #7ceaff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.72rem, 2.2vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  text-shadow: 0 0 16px color-mix(in srgb, var(--prize-accent) 70%, transparent);
}

.prize-card h2 {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin: clamp(0.2rem, 1vw, 0.5rem) 0 0;
  line-height: 0.88;
}

.prize-prefix {
  margin-bottom: 0.05em;
  color: #f7fbff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.35rem, 5vw, 2.2rem);
  letter-spacing: 0.04em;
  text-shadow: 0 4px 0 #274a96, 0 0 18px rgba(89,190,255,0.58);
}

.prize-prefix[hidden] { display: none; }

.prize-card h2 strong {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #fff8bc 0%, #ffe164 20%, #ffb30d 58%, #ff7b00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(7.4rem, 26vw, 14.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.78;
  filter:
    drop-shadow(0 7px 0 #9d4300)
    drop-shadow(0 14px 0 #522000)
    drop-shadow(0 0 22px rgba(255,190,36,0.32));
}

.prize-card h2 strong[data-digits="2"] { font-size: clamp(8.3rem, 29vw, 15.4rem); }

.prize-unit {
  display: block;
  margin-top: clamp(0.7rem, 2.6vw, 1.25rem);
  color: #ffffff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 7.3vw, 3.9rem);
  letter-spacing: 0.025em;
  line-height: 0.92;
  text-shadow: 0 5px 0 #2d4c8f, 0 0 18px rgba(94,190,255,0.46);
}

.prize-message {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin: clamp(1.3rem, 4vw, 2rem) auto clamp(1rem, 3vw, 1.5rem);
  color: rgba(242,247,255,0.88);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.92rem, 2.8vw, 1.12rem);
  line-height: 1.45;
}

.prize-redeem {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1rem);
  width: min(100%, 445px);
  min-height: clamp(62px, 13vw, 82px);
  margin: 0 auto;
  border: 2px solid #fff7a3;
  border-radius: clamp(16px, 4vw, 24px);
  color: #4d1d00;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.72), transparent 35%),
    linear-gradient(180deg, #fff68b 0%, #ffd129 42%, #ff9000 100%);
  box-shadow:
    inset 0 -8px 0 rgba(175,60,0,0.24),
    0 10px 0 #8d3300,
    0 18px 32px rgba(0,0,0,0.34),
    0 0 26px rgba(255,205,45,0.48);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.prize-redeem span {
  font-size: clamp(2rem, 7vw, 3.25rem);
  letter-spacing: 0.035em;
  text-shadow: 0 2px 0 rgba(255,255,255,0.34);
}

.prize-redeem i {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-style: normal;
  filter: drop-shadow(0 0 8px rgba(34,118,255,0.68));
}

.prize-redeem:hover {
  transform: translateY(-3px) scale(1.015);
  filter: brightness(1.08);
  box-shadow:
    inset 0 -8px 0 rgba(175,60,0,0.2),
    0 13px 0 #8d3300,
    0 22px 38px rgba(0,0,0,0.38),
    0 0 34px rgba(255,205,45,0.66);
}

.prize-redeem:active { transform: translateY(5px) scale(0.99); box-shadow: inset 0 -4px 0 rgba(175,60,0,0.2), 0 5px 0 #8d3300; }
.prize-redeem:focus-visible { outline: 4px solid #8ceaff; outline-offset: 5px; }

.prize-legal {
  position: relative;
  z-index: 2;
  display: block;
  margin: clamp(1rem, 3vw, 1.4rem) auto 0;
  color: rgba(218,228,249,0.55);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.58rem, 1.8vw, 0.73rem);
  line-height: 1.35;
}

@keyframes prize-card-arrive {
  0% { opacity: 0; transform: translateY(34px) scale(0.78) rotateX(10deg); filter: blur(8px); }
  62% { opacity: 1; transform: translateY(-7px) scale(1.025) rotateX(0); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); }
}

@keyframes prize-bolt-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.045); }
}

@media (max-height: 760px) {
  .prize-card {
    width: min(89vw, 520px);
    padding-top: 0.9rem;
  }
  .prize-bolt { width: 58px; margin-bottom: 0.35rem; }
  .prize-card h2 strong { font-size: clamp(6.1rem, 23vw, 10.5rem); }
  .prize-card h2 strong[data-digits="2"] { font-size: clamp(6.7rem, 25vw, 11.2rem); }
  .prize-unit { font-size: clamp(1.7rem, 6vw, 3rem); }
  .prize-message { margin: 0.8rem auto; }
  .prize-redeem { min-height: 58px; }
  .prize-legal { margin-top: 0.75rem; }
}

@media (max-width: 430px) {
  .modal { padding: 0.4rem; }
  .prize-card { width: 96vw; border-radius: 27px; }
  .prize-card h2 strong { font-size: clamp(6.8rem, 30vw, 9.8rem); }
  .prize-card h2 strong[data-digits="2"] { font-size: clamp(7.4rem, 33vw, 10.6rem); }
}
