:root {
  --red-950: #56070c;
  --red-900: #7d0b10;
  --red-800: #a41418;
  --red-700: #c92420;
  --orange: #f05a24;
  --gold: #ffc84a;
  --gold-light: #fff0a3;
  --cream: #fff8e8;
  --ink: #36150d;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(73, 5, 8, 0.25);
}

* {
  box-sizing: border-box;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: #31060a;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: max(18px, env(safe-area-inset-top)) 20px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 229, 94, 0.34), transparent 31%),
    linear-gradient(155deg, #e94a25 0%, #b21418 50%, #6f080e 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 218, 103, 0.15);
  border-radius: 50%;
}

.hero::before {
  top: 120px;
  left: -170px;
  box-shadow: 0 0 0 24px rgba(255, 218, 103, 0.04), 0 0 0 48px rgba(255, 218, 103, 0.03);
}

.hero::after {
  right: -165px;
  bottom: 80px;
  box-shadow: 0 0 0 24px rgba(255, 218, 103, 0.04), 0 0 0 48px rgba(255, 218, 103, 0.03);
}

.sky-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 440px;
  height: 440px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 213, 88, 0.13);
  filter: blur(8px);
}

.hero-beams {
  position: absolute;
  z-index: 0;
  top: -95px;
  left: 50%;
  width: 520px;
  height: 520px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 235, 144, 0.15) 0deg 8deg,
    transparent 8deg 25deg
  );
  border-radius: 50%;
  filter: blur(1px);
  mask-image: radial-gradient(circle, #000 0 36%, transparent 72%);
  pointer-events: none;
  transform: translateX(-50%);
  animation: beam-rotate 24s linear infinite;
}

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

.ambient-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #ffe978;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffd543, 0 0 18px rgba(255, 206, 49, 0.75);
  opacity: 0;
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-decoration: none;
}

.brand-mark,
.footer-brand .footer-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--red-900);
  background: linear-gradient(145deg, #fff2a8, #e9a91d);
  border: 2px solid #ffe576;
  border-radius: 9px 9px 14px 14px;
  box-shadow: 0 3px 0 #9d5d0b;
}

.brand-mark svg,
.footer-mark svg {
  width: 17px;
  height: 17px;
}

.sound-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--gold-light);
  background: rgba(71, 3, 8, 0.24);
  border: 1px solid rgba(255, 230, 147, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sound-toggle[aria-pressed="false"]::after {
  position: absolute;
  width: 20px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: rotate(-45deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(32px, 6vh, 64px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 13px;
  font-size: clamp(34px, 9vw, 49px);
  line-height: 1.12;
  letter-spacing: -2px;
}

html:not([lang^="zh"]) h1 {
  font-size: clamp(30px, 8vw, 44px);
  letter-spacing: -1.3px;
}

html:not([lang^="zh"]) .eyebrow { letter-spacing: 2px; }

h1 span {
  color: var(--gold-light);
  text-shadow: 0 3px 0 rgba(104, 36, 0, 0.45);
}

.hero-subtitle {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.tiger-stage {
  position: relative;
  z-index: 2;
  height: clamp(145px, 22vh, 210px);
  margin-top: 8px;
}

.tiger-stage::after {
  position: absolute;
  z-index: 0;
  bottom: -10px;
  left: 50%;
  width: 210px;
  height: 34px;
  content: "";
  background: radial-gradient(ellipse, rgba(255, 224, 91, 0.52), rgba(255, 171, 35, 0.14) 48%, transparent 73%);
  filter: blur(5px);
  transform: translateX(-50%);
}

.tiger-aura {
  position: absolute;
  z-index: 0;
  bottom: -28px;
  left: 50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 164, 0.32) 0 24%, rgba(255, 190, 48, 0.12) 46%, transparent 67%);
  pointer-events: none;
  transform: translateX(-50%);
  animation: aura-breathe 2.6s ease-in-out infinite;
}

.aura-ring,
.aura-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.aura-ring {
  border: 1px solid rgba(255, 226, 105, 0.5);
  box-shadow: inset 0 0 12px rgba(255, 207, 57, 0.12), 0 0 12px rgba(255, 198, 47, 0.16);
}

.aura-ring::before,
.aura-ring::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  background: #ffe36e;
  border-radius: 50%;
  box-shadow: 0 0 9px #ffd23f;
}

.aura-ring::before { top: -4px; left: 50%; }
.aura-ring::after { right: -4px; bottom: 28%; }
.aura-ring-one { width: 152px; height: 152px; animation: aura-spin 9s linear infinite; }
.aura-ring-two { width: 184px; height: 184px; border-style: dashed; animation: aura-spin-reverse 13s linear infinite; }

.aura-core {
  width: 116px;
  height: 116px;
  background: radial-gradient(circle, rgba(255, 247, 185, 0.18), rgba(255, 176, 29, 0.08) 55%, transparent 70%);
  box-shadow: 0 0 38px rgba(255, 201, 49, 0.38);
}

.tiger-platform {
  position: absolute;
  z-index: 1;
  bottom: -2px;
  left: 50%;
  width: 150px;
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(255, 231, 120, 0.85), transparent);
  border-radius: 50%;
  filter: blur(2px);
  transform: translateX(-50%);
}

.tiger {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 150px;
  height: 145px;
  transform: translateX(-50%);
  animation: tiger-float 2.8s ease-in-out infinite;
  z-index: 2;
}

.has-anime .tiger {
  animation: none;
  transform-origin: 50% 100%;
  will-change: transform;
}

.has-anime .tiger-face,
.has-anime .tiger-body,
.has-anime .tiger-ear,
.has-anime .tiger-paw,
.has-anime .lantern {
  will-change: transform;
}

.has-anime .tiger-face { transform-origin: 50% 76%; }
.has-anime .tiger-body { transform-origin: 50% 100%; }
.has-anime .tiger-ear-left { transform-origin: 80% 90%; }
.has-anime .tiger-ear-right { transform-origin: 20% 90%; }
.has-anime .tiger-paw { transform-origin: 50% 76%; }
.has-anime .lantern { transform-origin: 50% -10px; }
.has-anime .game-card { will-change: transform, box-shadow; }

.tiger-face {
  position: absolute;
  z-index: 3;
  top: 4px;
  left: 23px;
  width: 104px;
  height: 92px;
  background: #ffb62f;
  border: 5px solid #7c2409;
  border-radius: 49% 49% 44% 44%;
  box-shadow: inset 0 -10px 0 rgba(255, 132, 19, 0.45), 0 7px 0 #7c2409;
}

.tiger-face::before,
.tiger-face::after {
  position: absolute;
  bottom: 13px;
  width: 31px;
  height: 24px;
  content: "";
  background: #fff3cf;
  border-radius: 50%;
}

.tiger-face::before { left: 20px; }
.tiger-face::after { right: 20px; }

.tiger-ear {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 39px;
  height: 42px;
  background: #ff9e21;
  border: 5px solid #7c2409;
  border-radius: 50% 50% 35% 35%;
}

.tiger-ear-left { left: 16px; transform: rotate(-24deg); }
.tiger-ear-right { right: 16px; transform: rotate(24deg); }

.tiger-stripe {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 23px;
  height: 4px;
  background: #7c2409;
  border-radius: 4px;
  transform: translateX(-50%);
}

.tiger-stripe::before,
.tiger-stripe::after {
  position: absolute;
  left: 4px;
  width: 15px;
  height: 4px;
  content: "";
  background: #7c2409;
  border-radius: 4px;
}

.tiger-stripe::before { top: 7px; }
.tiger-stripe::after { top: 14px; }

.tiger-eye {
  position: absolute;
  z-index: 2;
  top: 38px;
  width: 8px;
  height: 11px;
  background: #3a1104;
  border-radius: 50%;
  animation: blink 4.2s infinite;
}

.tiger-eye-left { left: 25px; }
.tiger-eye-right { right: 25px; }

.tiger-nose {
  position: absolute;
  z-index: 3;
  top: 55px;
  left: 50%;
  width: 13px;
  height: 9px;
  background: #8c2017;
  border-radius: 45% 45% 60% 60%;
  transform: translateX(-50%);
}

.tiger-mouth {
  position: absolute;
  z-index: 3;
  top: 56px;
  left: 50%;
  color: #6c200e;
  font-size: 30px;
  transform: translateX(-50%);
}

.tiger-body {
  position: absolute;
  bottom: 0;
  left: 19px;
  width: 112px;
  height: 71px;
  color: #ffe781;
  background: #d62e1c;
  border: 5px solid #7c2409;
  border-radius: 46% 46% 35% 35%;
  text-align: center;
}

.tiger-body span {
  display: inline-block;
  margin-top: 30px;
  max-width: 80px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tiger-paw {
  position: absolute;
  z-index: 5;
  bottom: 13px;
  color: #7c2409;
  width: 34px;
  height: 36px;
  background: #ffac27;
  border: 4px solid #7c2409;
  border-radius: 50%;
}

.tiger-paw::before,
.tiger-paw::after {
  position: absolute;
  top: 8px;
  width: 5px;
  height: 7px;
  content: "";
  background: #9e3910;
  border-radius: 50%;
}

.tiger-paw::before { left: 7px; }
.tiger-paw::after { right: 7px; }

.tiger-paw-left { left: 5px; transform: rotate(14deg); }
.tiger-paw-right { right: 5px; transform: rotate(-14deg); }

.lantern {
  position: absolute;
  top: 20px;
  width: 43px;
  height: 56px;
  color: #ffe28a;
  background: #d4271d;
  border: 3px solid #ffbc2e;
  border-radius: 18px;
  box-shadow: inset 8px 0 rgba(112, 12, 14, 0.25), 0 8px 20px rgba(62, 3, 6, 0.25);
  text-align: center;
  z-index: 3;
}

.lantern::before,
.lantern::after {
  position: absolute;
  left: 7px;
  width: 23px;
  height: 5px;
  content: "";
  background: #ffc23c;
  border-radius: 3px;
}

.lantern::before { top: -8px; }
.lantern::after { bottom: -8px; }
.lantern svg { width: 23px; height: 23px; margin-top: 13px; }
.lantern-left { left: 9%; transform: rotate(-5deg); }
.lantern-right { right: 9%; transform: rotate(5deg); }

.spark {
  position: absolute;
  animation: twinkle 1.8s ease-in-out infinite alternate;
}

.spark-one { top: 14px; left: 27%; width: 18px; height: 18px; }
.spark-two { top: 64px; right: 23%; width: 12px; height: 12px; animation-delay: 0.5s; }
.spark-three { bottom: 17px; left: 19%; width: 10px; height: 10px; animation-delay: 1s; }

.game-card {
  position: relative;
  z-index: 3;
  padding: 28px 17px 19px;
  background: linear-gradient(#fff9e9, #ffe7a8);
  border: 4px solid #ffc446;
  border-radius: 25px;
  box-shadow: 0 7px 0 #8b250d, var(--shadow), inset 0 0 0 2px #fff7bd;
  isolation: isolate;
}

.card-glint {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  border-radius: 21px;
  pointer-events: none;
}

.card-glint::before {
  position: absolute;
  top: -30%;
  left: -65%;
  width: 34%;
  height: 170%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  filter: blur(3px);
  transform: rotate(14deg);
  animation: card-glint 4.2s ease-in-out infinite 1.8s;
}

.card-ribbon {
  position: absolute;
  top: -17px;
  left: 50%;
  display: flex;
  width: 78%;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.card-ribbon p {
  min-width: 190px;
  margin: 0;
  padding: 7px 14px;
  color: #ffe9a0;
  background: linear-gradient(#c83223, #941213);
  border: 2px solid #f6a62b;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: #8e1715;
  border: 2px solid #6d100f;
  border-radius: 16px;
  box-shadow: inset 0 4px 10px rgba(52, 2, 3, 0.5);
  perspective: 560px;
  isolation: isolate;
}

.reels::after {
  position: absolute;
  z-index: 4;
  right: 10px;
  left: 10px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 247, 184, 0.95), transparent);
  box-shadow: 0 0 8px rgba(255, 221, 92, 0.8);
  opacity: 0;
  pointer-events: none;
}

.is-charging .reels::after { animation: reel-scanner 0.58s linear infinite; }

.reel {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 0.86;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(#fffdf2, #ffd884 48%, #fff9df);
  border: 2px solid #f7bd3d;
  border-radius: 11px;
  box-shadow: inset 0 0 15px rgba(126, 43, 4, 0.18);
}

.reel::before,
.reel::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 16px;
  content: "";
}

.reel::before { top: 0; background: linear-gradient(rgba(79, 23, 5, 0.13), transparent); }
.reel::after { bottom: 0; background: linear-gradient(transparent, rgba(79, 23, 5, 0.13)); }

.reel-icon {
  display: inline-block;
  width: clamp(46px, 14vw, 62px);
  height: clamp(46px, 14vw, 62px);
  filter: drop-shadow(0 4px 2px rgba(91, 23, 0, 0.15));
}

.reel-icon svg { width: 100%; height: 100%; }

.reel.spinning .reel-icon {
  animation: reel-spin 0.14s linear infinite;
  filter: blur(0.7px) drop-shadow(0 7px 3px rgba(91, 23, 0, 0.22));
}

.reel.spinning { animation: reel-depth 0.28s ease-in-out infinite alternate; }

.spin-ripple {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}

.spin-button,
.primary-cta {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: #6d2105;
  background: linear-gradient(180deg, #fff09c 0%, #ffc42f 52%, #e89013 100%);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 5px 0 #a94c08, 0 10px 20px rgba(116, 38, 4, 0.28), inset 0 2px rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: none;
}

.spin-button {
  flex-direction: column;
  min-height: 66px;
  margin-top: 12px;
}

.spin-button:active,
.primary-cta:active {
  box-shadow: 0 2px 0 #a94c08, 0 5px 12px rgba(116, 38, 4, 0.25);
  transform: translateY(3px);
}

.spin-button:disabled {
  cursor: wait;
  filter: saturate(0.7);
}

.spin-label {
  font-size: 18px;
  font-weight: 900;
}

.spin-button small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.72;
}

.spin-shine {
  position: absolute;
  top: -30px;
  left: -50%;
  width: 30%;
  height: 130px;
  background: rgba(255, 255, 255, 0.46);
  transform: rotate(18deg);
  animation: button-shine 2.8s ease-in-out infinite;
}

[hidden] { display: none !important; }

.choice-stage,
.reveal-stage {
  position: relative;
  margin-top: 14px;
  padding: 14px 11px 12px;
  color: #6d2105;
  background: rgba(255, 250, 225, 0.72);
  border: 1px solid rgba(196, 72, 12, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
  text-align: center;
  animation: stage-rise 0.55s cubic-bezier(.2, .8, .2, 1) both;
}

.step-chip {
  display: inline-flex;
  padding: 3px 8px;
  color: #fff2bd;
  background: #9b1715;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.choice-stage h3,
.reveal-stage h3 {
  margin: 8px 0 3px;
  font-size: 16px;
  line-height: 1.25;
}

.choice-stage > p,
.reveal-stage > p {
  margin: 0;
  color: #9a5a3a;
  font-size: 10px;
  line-height: 1.5;
}

.lucky-choices {
  display: grid;
  margin-top: 11px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lucky-choice {
  display: flex;
  min-width: 0;
  padding: 9px 4px 7px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  color: #7b2410;
  background: linear-gradient(180deg, #fff9d9, #ffd36c);
  border: 2px solid #efae2c;
  border-radius: 13px;
  box-shadow: 0 3px 0 #b6530d;
  cursor: pointer;
  font: 800 10px/1.2 system-ui, sans-serif;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.lucky-choice svg { width: 42px; height: 42px; }
.lucky-choice:active { transform: translateY(2px); box-shadow: 0 1px 0 #b6530d; }
.lucky-choice.is-selected { transform: translateY(-4px) scale(1.06); filter: saturate(1.25); box-shadow: 0 6px 0 #9f3d09, 0 0 18px rgba(255, 181, 31, 0.7); }
.lucky-choice:disabled:not(.is-selected) { opacity: 0.38; filter: grayscale(0.5); }

.reveal-button {
  display: grid;
  width: 100%;
  margin-top: 11px;
  padding: 8px 12px;
  grid-template-columns: 50px 1fr 38px;
  align-items: center;
  color: #fff2b5;
  background: linear-gradient(135deg, #bb231b, #7a0c10);
  border: 2px solid #f0a32b;
  border-radius: 15px;
  box-shadow: 0 4px 0 #5e0a0d;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.reveal-button::after { content: "›"; font-size: 26px; }
.reveal-orb,
.loader-orb {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #8a190f;
  background: radial-gradient(circle at 35% 30%, #fff7b0, #ffc72f 58%, #e77d10);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 190, 42, 0.72);
}

.reveal-orb svg,
.loader-orb svg { width: 22px; height: 22px; }

.reveal-loader {
  display: flex;
  min-height: 84px;
  margin-top: 11px;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: #8d3a20;
  font-size: 11px;
  font-weight: 800;
}

.loader-orb { animation: loader-orb 1.15s ease-in-out infinite alternate; }

.view-fortune-button {
  width: 100%;
  margin-top: 11px;
  padding: 13px 10px;
  color: #6d2105;
  background: linear-gradient(#fff09c, #f5ab18);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 4px 0 #a94c08;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  animation: result-pulse 1.3s ease-in-out infinite alternate;
}

.progress-wrap { margin-top: 15px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #762216;
  font-size: 10px;
  font-weight: 700;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  background: rgba(124, 47, 10, 0.16);
  border-radius: 8px;
}

.progress-bar {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #e2391d, #ff9d21);
  border-radius: inherit;
  transition: width 0.4s ease;
}

.progress-bar::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: translateX(-120%);
  animation: progress-shimmer 1.65s ease-in-out infinite;
}

.fx-particle {
  position: absolute;
  width: var(--size, 8px);
  height: var(--size, 8px);
  background: var(--color, #ffd84e);
  border-radius: 2px 50% 2px 50%;
  box-shadow: 0 0 10px var(--color, #ffd84e);
  pointer-events: none;
}

.win-shockwave {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 237, 127, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(255, 209, 69, 0.75), inset 0 0 18px rgba(255, 229, 111, 0.35);
  pointer-events: none;
  transform: translateX(-50%) scale(0.2);
}

.is-winning .hero {
  animation: hero-win-flash 0.8s ease-out;
}

.scroll-cue {
  position: relative;
  z-index: 3;
  display: flex;
  width: fit-content;
  margin: 25px auto 0;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 244, 205, 0.7);
  font-size: 10px;
  text-decoration: none;
}

.scroll-cue > svg { width: 21px; height: 21px; margin-top: 2px; animation: cue 1.2s ease-in-out infinite; }

.fortune-section {
  position: relative;
  padding: 74px 20px 80px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(242, 184, 67, 0.2), transparent 30%),
    var(--cream);
}

.section-heading { max-width: 390px; }
.section-heading .eyebrow { color: #bf2a1d; }

.section-heading h2,
.final-cta h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: -1.3px;
}

.section-heading > p:last-child {
  color: #77554b;
  font-size: 14px;
  line-height: 1.8;
}

.fortune-card {
  position: relative;
  display: grid;
  margin: 35px 0;
  padding: 25px 20px;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  color: #fff8dc;
  background: linear-gradient(140deg, #a41718, #71100f);
  border: 2px solid #df8c24;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.fortune-card::after {
  position: absolute;
  right: -32px;
  bottom: -35px;
  width: 120px;
  height: 120px;
  content: "";
  background: radial-gradient(circle, rgba(255, 214, 96, 0.14) 0 8%, transparent 9% 22%, rgba(255, 214, 96, 0.08) 23% 25%, transparent 26%);
  border: 2px solid rgba(255, 214, 96, 0.07);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.fortune-seal {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #9a1715;
  background: #ffd861;
  border: 3px double #a42118;
  border-radius: 50%;
}

.fortune-seal svg { width: 30px; height: 30px; }

.fortune-kicker {
  margin-bottom: 5px;
  color: #eebf67;
  font-size: 10px;
  letter-spacing: 2px;
}

.fortune-card h3 { margin-bottom: 9px; font-size: 18px; }
.fortune-card p:last-child { margin-bottom: 0; color: rgba(255, 248, 220, 0.75); font-size: 12px; line-height: 1.7; }

.feature-grid { display: grid; gap: 12px; }
.feature-grid article {
  position: relative;
  padding: 20px 20px 18px 70px;
  background: #fffdf7;
  border: 1px solid rgba(154, 53, 21, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(92, 40, 15, 0.07);
}

.feature-grid article > span {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #ca2e1d;
  font-weight: 900;
}

.feature-grid h3 { margin-bottom: 4px; font-size: 15px; }
.feature-grid p { margin-bottom: 0; color: #806159; font-size: 12px; line-height: 1.65; }

.locked-section {
  opacity: 0.45;
  filter: blur(3px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.locked-section.is-unlocked { opacity: 1; filter: none; }

.final-cta {
  position: relative;
  padding: 82px 26px 75px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(122, 10, 14, 0.86), rgba(86, 7, 12, 0.96)),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 25px, rgba(255, 211, 80, 0.12) 26px 27px);
}

.final-cta > p:not(.eyebrow):not(.responsible-note) {
  margin: 0 auto 25px;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.primary-cta {
  min-height: 62px;
  max-width: 350px;
  margin: 0 auto;
  gap: 22px;
  font-size: 18px;
  font-weight: 900;
}

.primary-cta > svg { width: 22px; height: 22px; transition: transform 0.2s ease; }
.primary-cta:hover > svg { transform: translateX(5px); }
.responsible-note { margin: 20px 0 0; color: rgba(255, 241, 190, 0.5); font-size: 10px; }

.coin {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
}

.coin svg { width: 100%; height: 100%; }

.coin-one { top: 48px; left: -9px; transform: rotate(17deg); }
.coin-two { right: -6px; bottom: 55px; transform: rotate(-15deg) scale(0.75); }

footer {
  padding: 30px 20px max(32px, env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.5);
  background: #35060a;
  font-size: 10px;
}

.footer-brand { margin-bottom: 23px; }
footer nav { display: flex; gap: 18px; margin-bottom: 15px; }
footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
footer p { margin-bottom: 0; }

.toast {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: calc(25px + env(safe-area-inset-bottom));
  left: 20px;
  max-width: 430px;
  margin: auto;
  padding: 13px 18px;
  color: #6a2208;
  background: #fff4c7;
  border: 1px solid #eaa92d;
  border-radius: 13px;
  box-shadow: 0 10px 40px rgba(49, 2, 4, 0.28);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible { opacity: 1; transform: none; }

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

.confetti {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 15px;
  animation: confetti-fall 2.2s cubic-bezier(0.15, 0.6, 0.45, 1) forwards;
}

@keyframes tiger-float { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-7px) rotate(1deg); } }
@keyframes beam-rotate { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes aura-breathe { 0%, 100% { opacity: 0.62; filter: saturate(0.9); } 50% { opacity: 1; filter: saturate(1.35); } }
@keyframes aura-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes aura-spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes card-glint { 0%, 38% { left: -65%; opacity: 0; } 48% { opacity: 1; } 70%, 100% { left: 140%; opacity: 0; } }
@keyframes reel-scanner { from { top: 12px; opacity: 0; } 15%, 85% { opacity: 1; } to { top: calc(100% - 12px); opacity: 0; } }
@keyframes reel-depth { from { transform: rotateX(-2deg) scale(0.985); } to { transform: rotateX(2deg) scale(1.015); } }
@keyframes progress-shimmer { 0%, 35% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
@keyframes hero-win-flash { 0%, 100% { filter: brightness(1); } 35% { filter: brightness(1.22) saturate(1.18); } }
@keyframes blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(0.1); } }
@keyframes twinkle { to { opacity: 0.3; transform: scale(0.7) rotate(20deg); } }
@keyframes reel-spin { 0% { transform: translateY(-70px) scale(0.8); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(70px) scale(1.2); opacity: 0; } }
@keyframes button-shine { 0%, 35% { left: -50%; } 62%, 100% { left: 135%; } }
@keyframes stage-rise { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes loader-orb { from { transform: scale(0.88) rotate(-8deg); filter: brightness(0.9); } to { transform: scale(1.12) rotate(8deg); filter: brightness(1.22); } }
@keyframes result-pulse { to { transform: translateY(-2px); box-shadow: 0 6px 0 #a94c08, 0 0 20px rgba(255, 187, 44, 0.45); } }
@keyframes cue { 50% { transform: translateY(5px); } }
@keyframes confetti-fall { to { transform: translate(var(--drift), 105vh) rotate(720deg); opacity: 0.8; } }

@media (max-height: 720px) {
  .hero-copy { padding-top: 20px; }
  .tiger-stage { height: 130px; }
  .tiger { transform: translateX(-50%) scale(0.88); transform-origin: bottom; }
  .game-card { padding-top: 24px; }
  .reel { aspect-ratio: 1 / 0.68; }
  .spin-button { min-height: 58px; }
  .scroll-cue { margin-top: 17px; }
}

html.motion-off { scroll-behavior: auto; }
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
