/* ============================================================
   Amigo Secreto — Reveal page
   Fortune-Tiger-inspired slot UI · Christmas × Huawei red/gold
   ============================================================ */

:root {
  --red: #C7000B;
  --red-deep: #5c0009;
  --red-mid: #8f0f16;
  --gold: #FFD700;
  --gold-2: #D4AF37;
  --gold-deep: #8a6508;
  --cream: #FFF8E7;

  --cell-h: 84px;

  --font-display: 'Lilita One', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* deep crimson atmosphere, richer toward the top */
  background:
    radial-gradient(120% 90% at 50% -10%, #a5161d 0%, #8f0f16 30%, #6e0509 62%, #4a0206 100%);
  background-attachment: fixed;
}

/* ── Ambient background: CSS-only snow drift + warm glow ── */
.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fx__snow {
  position: absolute;
  inset: -20% 0 -20% 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .85) 1.3px, transparent 1.9px);
  background-size: 120px 120px;
  opacity: .30;
  animation: snowDrift 20s linear infinite;
}
.fx__snow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 248, 231, .6) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 215, 0, .5) 1.4px, transparent 2px);
  background-size: 190px 190px, 260px 260px;
  background-position: 40px 60px, 130px 20px;
  opacity: .7;
  animation: snowDrift 34s linear infinite reverse;
}
@keyframes snowDrift {
  from { background-position: 0 0; }
  to   { background-position: 0 120px; }
}

.fx__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(680px, 120vw);
  height: min(680px, 120vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 215, 0, .18) 0%, rgba(255, 215, 0, 0) 62%);
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* soft edge vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(130% 100% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45) 100%);
}

/* ── Mute button ─────────────────────────────────────────── */
.mute-btn {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--cream);
  background: rgba(30, 0, 4, .55);
  border: 1px solid rgba(255, 215, 0, .35);
  border-radius: 50%;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.mute-btn:hover { background: rgba(60, 0, 8, .72); border-color: var(--gold); }
.mute-btn:active { transform: scale(.9); }
.mute-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Screens ─────────────────────────────────────────────── */
.screen {
  position: relative;
  z-index: 1;
  display: none;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 28px);
  padding-top: max(clamp(16px, 4vw, 28px), env(safe-area-inset-top));
}
.screen.is-active {
  display: flex;
  flex-direction: column;
  animation: screenIn .5s cubic-bezier(.2, .8, .25, 1) both;
}
@keyframes screenIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* ── Anniversary banner on a light chip ──────────────────── */
/* The banner's red + near-black artwork disappears on the dark
   crimson page, so it sits on a white rounded chip for contrast. */
.brand-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(86vw, 360px);
  padding: 12px 14px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(212, 175, 55, .55),
    0 0 22px rgba(255, 215, 0, .25);
}
.brand-banner__img {
  display: block;
  height: clamp(48px, 13vw, 56px);
  width: auto;
  max-width: 100%;
}

/* ── Screen 1: landing ───────────────────────────────────── */
.screen--landing {
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vh, 26px);
  min-height: 100dvh;
  text-align: center;
}

.title {
  margin: .1em 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10.5vw, 4.4rem);
  line-height: .94;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #FFF6C4 0%, var(--gold) 42%, #e8a800 76%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(90, 20, 0, .45)) drop-shadow(0 0 24px rgba(255, 215, 0, .5));
}

.subtitle {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(.98rem, 3.6vw, 1.1rem);
  font-weight: 600;
  color: rgba(255, 248, 231, .88);
}

/* code input */
.code-wrap {
  width: 100%;
  max-width: 320px;
  margin: 4px auto 0;
}
#codeInput {
  width: 100%;
  padding: .5em .3em .5em .55em;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 7vw, 2.15rem);
  letter-spacing: .32em;
  color: var(--cream);
  caret-color: var(--gold);
  background: rgba(30, 0, 4, .42);
  border: 2px solid rgba(255, 215, 0, .5);
  border-radius: 16px;
  outline: none;
  -webkit-box-shadow: inset 0 0 22px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 215, 0, .08);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 215, 0, .08);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#codeInput::placeholder {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .68em;
  letter-spacing: .16em;
  color: rgba(255, 248, 231, .38);
  text-transform: uppercase;
}
#codeInput:focus {
  border-color: var(--gold);
  background: rgba(30, 0, 4, .58);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, .4), 0 0 28px rgba(255, 215, 0, .38);
}

/* ── Gold button ─────────────────────────────────────────── */
.btn-gold {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #5a1a00;
  background: linear-gradient(180deg, #FFE874 0%, var(--gold) 36%, var(--gold-2) 68%, #b8860b 100%);
  border-radius: 999px;
  min-width: 64px;
  min-height: 64px;
  box-shadow:
    0 6px 0 var(--gold-deep),
    0 10px 24px rgba(0, 0, 0, .45),
    inset 0 2px 0 rgba(255, 255, 255, .7),
    inset 0 -6px 14px rgba(138, 101, 8, .55);
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%);
  pointer-events: none;
  z-index: -1;
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-gold:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--gold-deep), 0 6px 16px rgba(0, 0, 0, .4), inset 0 2px 0 rgba(255, 255, 255, .6);
}
.btn-gold:focus-visible { outline: 3px solid rgba(255, 248, 231, .8); outline-offset: 3px; }
.btn-gold:disabled { cursor: default; filter: saturate(.85) brightness(.94); }

/* big round idle button (landing) */
.btn-gold--round {
  width: clamp(104px, 32vw, 132px);
  height: clamp(104px, 32vw, 132px);
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  animation: pulseGlow 2.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 6px 0 var(--gold-deep), 0 10px 24px rgba(0, 0, 0, .45),
      inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -6px 14px rgba(138, 101, 8, .55),
      0 0 22px 2px rgba(255, 215, 0, .45);
  }
  50% {
    box-shadow:
      0 6px 0 var(--gold-deep), 0 10px 24px rgba(0, 0, 0, .45),
      inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -6px 14px rgba(138, 101, 8, .55),
      0 0 40px 10px rgba(255, 215, 0, .55);
  }
}

/* pill form (machine) */
.btn-gold--pill {
  width: min(100%, 320px);
  padding: 18px 28px;
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
}
.btn-gold.is-spinning { animation: btnBreath 1.1s ease-in-out infinite; }
@keyframes btnBreath {
  0%, 100% { filter: brightness(.96); }
  50%      { filter: brightness(1.04); }
}

/* ── Status badge ────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.badge--live {
  color: #4a2300;
  background: linear-gradient(180deg, #FFE874, var(--gold));
  box-shadow: 0 4px 14px rgba(255, 215, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.badge--idle {
  color: rgba(255, 248, 231, .72);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  margin: clamp(8px, 2vh, 22px) 0 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255, 248, 231, .5);
}

/* quiet utility link to the organizer area */
.footer-link {
  display: inline-block;
  padding: 2px 1px;
  color: rgba(255, 248, 231, .5);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.footer-link:hover {
  color: var(--gold-2);
  border-bottom-color: rgba(212, 175, 55, .55);
}
.footer-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
  color: var(--gold);
}

/* signup prompt on the landing — a touch brighter than the footer */
.signup-link {
  margin: clamp(0px, .5vh, 6px) 0 0;
  font-size: clamp(.9rem, 3.4vw, .98rem);
  font-weight: 700;
  color: rgba(255, 248, 231, .78);
}
.signup-link a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 215, 0, .5);
  border-radius: 2px;
  transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}
.signup-link a:hover {
  color: #FFF3B0;
  border-bottom-color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, .5);
}
.signup-link a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Screen 2: machine ───────────────────────────────────── */
.screen--machine {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 100dvh;
  padding-bottom: max(clamp(18px, 3vh, 30px), env(safe-area-inset-bottom));
}

.mascot-wrap {
  position: relative;
  width: clamp(148px, 42vw, 208px);
  margin: 0 auto;
  animation: mascotBob 3s ease-in-out infinite;
}
.mascot-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 54%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 215, 0, .22) 0%, rgba(255, 215, 0, 0) 65%);
  z-index: -1;
}
.mascot-wrap img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45));
}
@keyframes mascotBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.reel-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ornate gold frame */
.reel-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(180deg, #FFE874 0%, var(--gold-2) 28%, var(--gold-deep) 52%, var(--gold) 78%, #b8860b 100%);
  box-shadow:
    0 0 0 2px rgba(255, 215, 0, .3),
    0 16px 40px rgba(0, 0, 0, .55),
    0 0 40px rgba(255, 215, 0, .18),
    inset 0 0 20px rgba(255, 255, 255, .3);
}
.reel-frame::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(74, 10, 0, .7), inset 0 0 28px rgba(0, 0, 0, .6);
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #3a0206, #1c0003);
}

.reel {
  position: relative;
  height: calc(var(--cell-h) * 3);
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255, 215, 0, .1), rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, #4a0408, #260003);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .6);
}

/* gold payline across the middle row */
.payline {
  position: absolute;
  left: 6px;
  right: 6px;
  top: calc(6px + var(--cell-h));
  height: var(--cell-h);
  border-radius: 8px;
  border-top: 2px solid rgba(255, 215, 0, .5);
  border-bottom: 2px solid rgba(255, 215, 0, .5);
  box-shadow: 0 0 18px rgba(255, 215, 0, .22), inset 0 0 20px rgba(255, 215, 0, .1);
  pointer-events: none;
  z-index: 3;
}

.reel-strip { will-change: transform; }
.reel-cell {
  height: var(--cell-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-align: center;
  font-size: clamp(1.5rem, 7.5vw, 2.1rem);
  line-height: 1;
  overflow: hidden;
  user-select: none;
}
.reel-cell--name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(.78rem, 3.4vw, 1rem);
  color: var(--cream);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  word-break: break-word;
  hyphens: auto;
}
.reel-cell--win {
  font-family: var(--font-display);
  font-size: clamp(.9rem, 4.2vw, 1.28rem);
  line-height: 1.02;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 215, 0, .85), 0 2px 2px rgba(0, 0, 0, .6);
  word-break: break-word;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, .22), rgba(255, 215, 0, .03) 72%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 215, 0, .85),
    inset 0 0 16px rgba(255, 215, 0, .5),
    0 0 18px rgba(255, 215, 0, .4);
}
.reel-cell.flash { animation: winFlash .45s ease-in-out 2; }
@keyframes winFlash {
  0%, 100% {
    box-shadow:
      inset 0 0 0 2px rgba(255, 215, 0, .85),
      inset 0 0 16px rgba(255, 215, 0, .5),
      0 0 18px rgba(255, 215, 0, .4);
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, .22), rgba(255, 215, 0, .03) 72%);
  }
  50% {
    box-shadow:
      inset 0 0 0 3px #FFF3B0,
      inset 0 0 28px rgba(255, 215, 0, .95),
      0 0 38px rgba(255, 215, 0, .9);
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, .55), rgba(255, 215, 0, .1) 78%);
  }
}

/* ── Result overlay ──────────────────────────────────────── */
.result-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(circle at 50% 28%, rgba(120, 6, 12, .86), rgba(18, 0, 3, .95));
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.result-overlay.is-open { opacity: 1; visibility: visible; }

.result-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: clamp(26px, 6vw, 42px) clamp(20px, 5vw, 32px);
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 50% 0%, #7a0a12 0%, #4a0206 55%, #2a0003 100%);
  border: 2px solid rgba(255, 215, 0, .55);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .62),
    0 0 0 6px rgba(255, 215, 0, .06),
    inset 0 0 40px rgba(255, 215, 0, .08);
  transform: scale(.82) translateY(10px);
  opacity: 0;
  transition: transform .55s cubic-bezier(.18, 1.5, .42, 1), opacity .4s ease;
}
.result-overlay.is-open .result-card { transform: scale(1) translateY(0); opacity: 1; }

.result-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #FFF6C4, var(--gold) 46%, #e8a800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, .55));
}
.result-sub {
  margin-top: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 248, 231, .85);
}
.result-name {
  margin: .16em 0 .08em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 11vw, 3.3rem);
  line-height: 1.02;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 215, 0, .65), 0 3px 3px rgba(0, 0, 0, .5);
  word-break: break-word;
}
.result-gift {
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ── Secondary buttons ───────────────────────────────────── */
.btn-ghost {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-ghost:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-ghost:active { transform: scale(.97); }
.btn-primary-sm {
  border: none;
  color: #5a1a00;
  background: linear-gradient(180deg, #FFE874, var(--gold) 45%, var(--gold-2));
  box-shadow: 0 4px 0 var(--gold-deep), 0 8px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-primary-sm:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-deep), 0 4px 10px rgba(0, 0, 0, .3); }
.btn-outline {
  color: var(--cream);
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 215, 0, .4);
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); }

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(26px, env(safe-area-inset-bottom));
  transform: translate(-50%, 14px);
  z-index: 90;
  max-width: 88vw;
  padding: 12px 20px;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  color: var(--cream);
  background: rgba(20, 0, 3, .92);
  border: 1px solid rgba(255, 215, 0, .4);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* input shake on invalid code */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(4px); }
}
.shake { animation: shakeX .45s ease; }

/* ── Responsive tuning ───────────────────────────────────── */
@media (max-width: 360px) {
  .reel-frame { padding: 8px; border-radius: 22px; }
}

@media (min-width: 820px) {
  .screen { max-width: 600px; }
  .reel-frame { max-width: 480px; }
}

/* short landscape phones — keep everything reachable */
@media (max-height: 620px) and (orientation: landscape) {
  .screen--landing { min-height: auto; padding-top: 20px; padding-bottom: 20px; }
  .screen--machine { min-height: auto; }
  .mascot-wrap { width: clamp(96px, 18vh, 140px); }
}

/* ── Reduced motion: respect the user's preference ───────── */
@media (prefers-reduced-motion: reduce) {
  .fx__snow,
  .fx__snow::after,
  .fx__glow,
  .mascot-wrap,
  .btn-gold--round,
  .btn-gold.is-spinning,
  .screen.is-active {
    animation: none !important;
  }
  .result-card { transition: opacity .3s ease; transform: none; }
  .result-overlay { transition: opacity .3s ease; }
}
