: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% 32%, rgba(35, 115, 255, 0.28), transparent 36%),
    radial-gradient(circle at 83% 65%, rgba(126, 31, 255, 0.24), transparent 34%),
    radial-gradient(circle at 14% 76%, rgba(0, 194, 255, 0.12), transparent 29%),
    linear-gradient(145deg, #01040f 0%, #07183d 48%, #1a0740 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(19, 111, 255, 0.27);
}

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

.orb-three {
  width: 22rem;
  height: 22rem;
  left: 44%;
  bottom: -13rem;
  background: rgba(0, 220, 255, 0.16);
  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(64px, 8vw, 92px);
  display: grid;
  place-items: center;
  z-index: 20;
}

.brand-logo {
  display: block;
  width: clamp(220px, 28vw, 360px);
  height: auto;
  user-select: none;
  filter:
    drop-shadow(0 8px 22px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 14px rgba(255, 66, 83, 0.22));
}

.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 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: 66px;
  }

  .brand-logo {
    width: clamp(205px, 50vw, 300px);
  }

  .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: 210px;
  }

  .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: 62px; }
  .brand-logo { width: 245px; }
  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;
  }
}
