/* ═════════════════════════════════════════════════════════════
   BONO ×10 — Landing premium · mobile first
   ═════════════════════════════════════════════════════════════ */
:root {
  --bg: #060608;
  --bg-2: #0b0b0f;
  --graphite: #131318;
  --graphite-2: #1a1a21;
  --graphite-3: #23232c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-gold: rgba(222, 190, 120, 0.32);
  --gold: #d6b26a;
  --gold-hi: #f6dea0;
  --gold-lo: #8d6a2c;
  --champagne: #efe2c4;
  --text: #f6f3ec;
  --muted: #b0a998;
  --dim: #7d776b;
  --err: #ff8a7a;
  --ok: #86e0ae;
  --metal: linear-gradient(135deg, #7d5d24 0%, #f6e2ab 18%, #c79f55 38%, #fff3cf 52%, #b48a43 70%, #e9cd8b 86%, #8d6a2c 100%);
  --metal-flat: linear-gradient(180deg, #fbe9b8 0%, #e2bf76 48%, #b98c41 100%);
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 64px;
  --sticky-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --intensity: 0.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 10px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: #111; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
.gold-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link { background: none; border: 0; padding: 0; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246, 222, 160, 0.4); cursor: pointer; font-size: inherit; }
.link:hover { text-decoration-color: currentColor; }
.noscript { padding: 40px 16px; text-align: center; }

/* ───────────── Botones ───────────── */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, opacity 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.25s var(--ease); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { cursor: not-allowed; opacity: 0.55; }
.btn--sm { --h: 40px; padding: 0 14px; font-size: 0.74rem; letter-spacing: 0.08em; }
.btn--xl { --h: 60px; padding: 0 30px; font-size: 1rem; }
.btn--xxl { --h: 68px; padding: 0 30px; font-size: clamp(1rem, 4.4vw, 1.2rem); letter-spacing: 0.04em; }
.btn--block { width: 100%; }

.btn--gold {
  color: #1a1206;
  background: var(--metal-flat);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(120, 80, 20, 0.45), 0 10px 30px -10px rgba(214, 178, 106, 0.65);
  overflow: hidden;
}
.btn--gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn--gold:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(120, 80, 20, 0.45), 0 14px 40px -10px rgba(246, 222, 160, 0.8); }
.btn--gold:hover:not(:disabled)::after { transform: translateX(120%); }
.btn--gold:hover:not(:disabled) svg { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-gold); }
.btn--outline { --h: 48px; background: transparent; border: 1px solid var(--line-gold); color: var(--gold-hi); font-size: 0.85rem; }
.btn--outline:hover { background: rgba(214, 178, 106, 0.1); border-color: var(--gold); }

/* Fichas 3D */
.chip3d, .float-chip {
  --s: 22px;
  display: block; width: var(--s); height: var(--s); border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #17171c 0 34%, transparent 35%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(255, 255, 255, 0.25) 43% 45%, transparent 46%),
    repeating-conic-gradient(from 0deg, #f3d995 0 22.5deg, #a07733 22.5deg 45deg);
  box-shadow: inset 0 0 0 2px rgba(255, 240, 200, 0.6), 0 3px 0 #6d5020, 0 6px 12px rgba(0, 0, 0, 0.6);
}
.float-chip { position: absolute; --s: 64px; opacity: 0.9; animation: float 7s ease-in-out infinite; filter: blur(0.2px); }
.deposits { width: 100%; margin-top: 6px; }
.deposits__legend { width: 100%; margin-bottom: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); text-align: center; }
.deposits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dep-card {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 6px;
  min-height: 118px; padding: 14px 6px 12px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.3s var(--spring), border-color 0.25s, background 0.3s, box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.dep-card:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.dep-card__chips { display: flex; height: 26px; align-items: flex-end; }
.dep-card__chips .chip3d { --s: 22px; margin-left: -9px; transition: transform 0.35s var(--spring); }
.dep-card__chips .chip3d:first-child { margin-left: 0; }
.dep-card__amount { font-size: clamp(1.02rem, 4.6vw, 1.35rem); font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.dep-card__tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; transition: color 0.25s; }
.dep-card__check { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all 0.25s var(--spring); }
.dep-card:has(:checked) {
  transform: translateY(-5px);
  border-color: var(--gold);
  background: radial-gradient(120% 90% at 50% 0%, rgba(214, 178, 106, 0.28), transparent 60%), linear-gradient(180deg, #2a2316, #16130d);
  box-shadow: 0 0 0 1px rgba(246, 222, 160, 0.5), 0 16px 36px -14px rgba(214, 178, 106, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.dep-card:has(:checked) .dep-card__amount { color: #fff; text-shadow: 0 0 18px rgba(246, 222, 160, 0.5); }
.dep-card:has(:checked) .dep-card__tag { color: var(--gold-hi); }
.dep-card:has(:checked) .dep-card__check { border-color: transparent; background: var(--gold-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 12px var(--gold); }
.dep-card:has(:checked) .chip3d { transform: translateY(-3px); }
.dep-card:has(:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.dep-card.is-popping { animation: pop 0.45s var(--spring); }
.dep-card.is-popping .chip3d { animation: chipHop 0.5s var(--spring) both; }
.dep-card.is-popping .chip3d:nth-child(2) { animation-delay: 0.05s; }
.dep-card.is-popping .chip3d:nth-child(3) { animation-delay: 0.1s; }
.deposits:disabled .dep-card { cursor: not-allowed; opacity: 0.6; }
@keyframes pop { 0% { transform: translateY(-5px) scale(1); } 40% { transform: translateY(-7px) scale(1.05); } 100% { transform: translateY(-5px) scale(1); } }
@keyframes chipHop { 0% { transform: translateY(0); } 45% { transform: translateY(-12px) rotate(180deg); } 100% { transform: translateY(-3px) rotate(360deg); } }

.load-summary { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); text-align: left; }
.load-summary__label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); }
.load-summary__amount { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.load-summary__amount.is-bump { animation: bump 0.45s var(--spring); }
.load-summary__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font-size: 0.82rem; font-weight: 600; text-align: right; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246, 222, 160, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(246, 222, 160, 0); } }
@keyframes bump { 40% { transform: scale(1.08); color: var(--gold-hi); } }

/* ───────────── Ruleta ───────────── */
.wheel-stage { --w: min(90vw, 440px); position: relative; width: var(--w); aspect-ratio: 1; transition: width 0.6s var(--ease), filter 0.6s; }
.wheel-halo { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 178, 106, 0.28) 0%, rgba(214, 178, 106, 0.06) 45%, transparent 68%); opacity: calc(0.5 + var(--intensity) * 0.5); transition: opacity 0.5s, transform 0.6s var(--ease); pointer-events: none; }
.wheel { position: absolute; inset: 0; border-radius: 50%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.75)); }
.wheel__rim {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 calc(43.5% - 1px), #0a0a0d 43.5% 44.3%, transparent 44.5%),
    conic-gradient(from 20deg, #6f5220, #f6e2ab, #b48a43, #fff3cf, #8d6a2c, #e9cd8b, #6f5220, #f6e2ab, #b48a43, #fff3cf, #8d6a2c, #e9cd8b, #6f5220);
  box-shadow: inset 0 0 0 2px rgba(255, 245, 210, 0.5), inset 0 0 18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.8);
}
.wheel__rim::before { content: ''; position: absolute; inset: 2.6%; border-radius: 50%; background: radial-gradient(circle, transparent 0 46.6%, rgba(0, 0, 0, 0.55) 47.5%, #121216 48.4% 100%); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.25); }
.bulb { position: absolute; left: 50%; top: 50%; width: 2.1%; height: 2.1%; margin: -1.05%; border-radius: 50%; transform: rotate(var(--a)) translateY(calc(var(--w) * -0.467)); background: radial-gradient(circle at 40% 35%, #fffaf0, #ffd982 55%, #b07d26); box-shadow: 0 0 8px 2px rgba(255, 210, 120, 0.75); animation: bulb 1.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bulb { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.wheel__face { position: absolute; inset: 6.4%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #0a0a0d, inset 0 0 30px rgba(0, 0, 0, 0.8); }
.wheel__rotor { position: absolute; inset: 0; will-change: transform; }
.wheel__canvas { width: 100%; height: 100%; }
.wheel__win {
  position: absolute; inset: 0; border-radius: 50%; opacity: 0;
  background: conic-gradient(from var(--from), rgba(255, 228, 150, 0.6) 0deg var(--seg), transparent var(--seg) 360deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 35%, #000 36%);
  mask: radial-gradient(circle closest-side, transparent 35%, #000 36%);
  mix-blend-mode: screen;
  transition: opacity 0.3s;
}
.wheel__gloss { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(120% 80% at 30% 10%, rgba(255, 255, 255, 0.16), transparent 45%), radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.45) 100%); }
.wheel__pointer { position: absolute; left: 50%; top: -3.5%; width: 10.5%; transform: translateX(-50%); transform-origin: 50% 30%; z-index: 3; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(246, 222, 160, 0.35)); }

.wheel__hub {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-content: center; gap: 2px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 30%, #fff4d2 0%, #e3bf75 38%, #a77c34 72%, #6d5020 100%);
  box-shadow: 0 0 0 3px #0b0b0e, 0 0 0 5px rgba(246, 222, 160, 0.6), 0 12px 30px rgba(0, 0, 0, 0.7), inset 0 -6px 14px rgba(90, 60, 15, 0.6), inset 0 4px 8px rgba(255, 255, 255, 0.6);
  color: #1a1206;
  transition: transform 0.2s var(--ease), box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.wheel__hub-label { font-size: calc(var(--w) * 0.05); font-weight: 800; letter-spacing: 0.08em; line-height: 1; }
.wheel__hub-amount { font-size: calc(var(--w) * 0.027); font-weight: 700; opacity: 0.75; font-variant-numeric: tabular-nums; }
.wheel__hub:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.04); }
.wheel__hub:active:not(:disabled) { transform: translate(-50%, -50%) scale(0.95); }
.wheel__hub:disabled { cursor: default; }
.wheel__hub-won { display: none; font-size: calc(var(--w) * 0.075); font-weight: 800; line-height: 1; }
.wheel-stage.is-won .wheel__hub-label, .wheel-stage.is-won .wheel__hub-amount { display: none; }
.wheel-stage.is-won .wheel__hub-won { display: block; }

/* Estados de la ruleta */
.wheel-stage.is-ready .wheel__hub, .wheel-stage.is-ready ~ .wheel-cta .btn--spin { animation: readyPulse 1.6s ease-in-out infinite; }
@keyframes readyPulse { 50% { box-shadow: 0 0 0 3px #0b0b0e, 0 0 0 5px rgba(246, 222, 160, 0.9), 0 0 40px 8px rgba(246, 222, 160, 0.5); } }
.wheel-stage.is-spinning .bulb { animation-duration: 0.35s; }
.wheel-stage.is-spinning .wheel-halo { opacity: 1; transform: scale(1.06); }
.wheel-stage.is-spinning .wheel__hub-label { animation: hubBlink 0.5s steps(2) infinite; }
@keyframes hubBlink { 50% { opacity: 0.5; } }
.wheel-stage.is-landed .wheel__win { opacity: 1; animation: winPulse 1.4s ease-in-out infinite; }
.wheel-stage.is-landed .bulb { animation: bulbWin 0.9s ease-in-out infinite; animation-delay: 0s; }
.wheel-stage.is-landed .wheel-halo { opacity: 1; background: radial-gradient(circle, rgba(246, 222, 160, 0.45) 0%, rgba(214, 178, 106, 0.1) 45%, transparent 68%); }
.wheel-stage.is-landed .wheel__pointer { animation: pointerWin 0.6s var(--spring); }
@keyframes winPulse { 50% { opacity: 0.55; } }
@keyframes bulbWin { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes pointerWin { 40% { transform: translateX(-50%) scale(1.25); } }

.wheel-cta { width: 100%; max-width: 440px; display: grid; justify-items: center; gap: 10px; }
.btn--spin {
  --h: 66px; width: 100%;
  font-size: 1.15rem; letter-spacing: 0.12em;
  color: #1a1206;
  background: var(--metal-flat);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -3px 0 rgba(120, 80, 20, 0.5), 0 0 0 1px rgba(246, 222, 160, 0.4), 0 18px 40px -12px rgba(214, 178, 106, 0.8);
  border-radius: 999px;
  overflow: hidden;
}
.btn--spin::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 48%, transparent 64%); transform: translateX(-120%); animation: sheen 3.2s ease-in-out infinite; }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn--spin[aria-busy='true'] .btn__label::after { content: '…'; }
.btn--spin:disabled { opacity: 0.5; }
.btn--spin:disabled::before { animation: none; }
.wheel-note { font-size: 0.8rem; color: var(--champagne); text-align: center; letter-spacing: 0.02em; }
.wheel-note--sub { color: var(--dim); font-size: 0.74rem; max-width: 40ch; }


/* Jerarquía post-giro: protagonista = la cantidad */

/* ───────────── Resultado ───────────── */
.result {
  position: relative; display: grid; justify-items: center; gap: 14px;
  padding: 26px 18px 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(100% 60% at 50% 0%, rgba(214, 178, 106, 0.22), transparent 70%), linear-gradient(180deg, rgba(30, 26, 18, 0.92), rgba(12, 12, 16, 0.95));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.result::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--metal); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.8; pointer-events: none; }
.result__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; color: var(--gold-hi); text-shadow: 0 0 16px rgba(246, 222, 160, 0.6); }
.spark { width: 10px; height: 10px; background: var(--gold-hi); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 1.4s ease-in-out infinite; }
.spark:last-child { animation-delay: -0.7s; }
@keyframes twinkle { 50% { transform: scale(0.5) rotate(45deg); opacity: 0.5; } }
.result__title { font-size: clamp(1.35rem, 6vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; outline: none; }
.result__math { width: 100%; display: grid; justify-items: center; gap: 4px; margin: 6px 0 4px; }
.result__label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; color: var(--muted); }
.result__label--gold { color: var(--gold-hi); }
.result__from { display: grid; justify-items: center; }
.result__from-amount { font-size: 1.6rem; font-weight: 700; color: var(--champagne); font-variant-numeric: tabular-nums; }
.result__mult { position: relative; display: grid; place-items: center; height: 54px; width: 100%; }
.result__mult::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(transparent, var(--gold), transparent); }
.result__mult span { position: relative; padding: 6px 16px; border-radius: 999px; background: var(--metal-flat); color: #1a1206; font-weight: 800; font-size: 1.05rem; box-shadow: 0 0 24px rgba(246, 222, 160, 0.6); }
.result__total { display: grid; justify-items: center; gap: 2px; }
.result__amount {
  position: relative; display: block;
  font-size: clamp(2.9rem, 15.5vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(214, 178, 106, 0.45));
  padding: 0.04em 0.06em;
}
.result__hint { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.result__cta { width: 100%; }
.result__again { --h: 48px; font-size: 0.82rem; }
.result__legal { font-size: 0.75rem; color: var(--dim); }

.result.is-entering { animation: resultIn 0.7s var(--ease) both; }
.result.is-entering .result__eyebrow { animation: fadeUp 0.5s 0.1s var(--ease) both; }
.result.is-entering .result__title { animation: fadeUp 0.5s 0.18s var(--ease) both; }
.result.is-entering .result__mult span { animation: multIn 0.6s 0.3s var(--spring) both; }
.result.is-entering .result__hint, .result.is-entering .result__cta, .result.is-entering .result__again, .result.is-entering .result__legal { animation: fadeUp 0.5s 1.6s var(--ease) both; }
.result.is-impact .result__amount { animation: impact 0.6s var(--spring); }
.result.is-impact .result__amount::after { content: ''; position: absolute; inset: -30% -10%; background: radial-gradient(closest-side, rgba(255, 240, 200, 0.55), transparent); animation: flash 0.7s ease-out forwards; pointer-events: none; }
.result.is-done .result__cta { animation: ctaGlow 2.4s 0.4s ease-in-out infinite; }
@keyframes resultIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
@keyframes multIn { from { opacity: 0; transform: scale(0.3) rotate(-20deg); } }
@keyframes impact { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes flash { from { opacity: 1; transform: scale(0.6); } to { opacity: 0; transform: scale(1.4); } }
@keyframes ctaGlow { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 0 4px rgba(246, 222, 160, 0.18), 0 14px 44px -6px rgba(246, 222, 160, 0.85); } }

.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

.pending-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; color: #f0c98a; background: rgba(240, 201, 138, 0.1); border: 1px dashed rgba(240, 201, 138, 0.4); }
/* ───────────── Diálogos ───────────── */
dialog { padding: 0; border: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(3, 3, 5, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet { width: 100%; height: 100%; margin: 0; }
.sheet[open] { display: flex; align-items: flex-end; justify-content: center; }
.sheet__panel {
  position: relative; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #16151a, #0d0d11);
  border: 1px solid var(--line-gold); border-bottom: 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.7);
  animation: sheetUp 0.5s var(--ease);
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); cursor: pointer; color: var(--text); }
.sheet__close:hover { border-color: var(--line-gold); }
.sheet__close svg { width: 18px; height: 18px; }
.sheet__body { padding: 8px 18px 26px; }
.sheet__title { font-size: 1.5rem; font-weight: 800; outline: none; }
.sheet__sub { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }

.promo-summary { position: sticky; top: 0; z-index: 1; margin: 0; padding: 18px 60px 14px 18px; background: linear-gradient(180deg, #1f1a11, #15130f); border-bottom: 1px solid var(--line-gold); }
.promo-summary__title { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.22em; color: var(--gold-hi); }
.promo-summary__list { margin-top: 8px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; }
.promo-summary__list dt { font-size: 0.62rem; color: var(--muted); line-height: 1.2; }
.promo-summary__list dd { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.promo-summary__x { color: var(--gold-hi); }
.promo-summary__total dd { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.15rem; }
.promo-summary__terms { display: none; margin-top: 16px; font-size: 0.8rem; }

@media (min-width: 760px) {
  .sheet[open] { align-items: center; padding: 24px; }
  .sheet__panel { max-width: 880px; border-radius: 28px; border-bottom: 1px solid var(--line-gold); display: grid; grid-template-columns: 300px 1fr; animation: modalIn 0.45s var(--ease); max-height: 92dvh; }
  .promo-summary { position: relative; padding: 34px 26px; border-bottom: 0; border-right: 1px solid var(--line-gold); background: radial-gradient(120% 60% at 50% 0%, rgba(214, 178, 106, 0.22), transparent 70%), linear-gradient(180deg, #1f1a11, #110f0c); }
  .promo-summary__list { grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
  .promo-summary__list dt { font-size: 0.75rem; }
  .promo-summary__list dd { font-size: 1.5rem; }
  .promo-summary__total { padding-top: 18px; border-top: 1px solid var(--line-gold); }
  .promo-summary__total dd { font-size: 2.3rem; line-height: 1.1; }
  .promo-summary__terms { display: inline-block; }
  .sheet__body { padding: 34px 30px; }
}
@keyframes modalIn { from { transform: translateY(16px) scale(0.98); opacity: 0; } }

/* Formulario */
.form { margin-top: 20px; display: grid; gap: 14px; }
.field__label { display: block; margin-bottom: 6px; font-size: 0.82rem; font-weight: 600; color: var(--champagne); }
.field__control { position: relative; }
.field__input {
  width: 100%; height: 52px; padding: 0 44px 0 16px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field__input::placeholder { color: var(--dim); }
.field__input:hover { border-color: rgba(255, 255, 255, 0.24); }
.field__input:focus { outline: none; border-color: var(--gold); background: rgba(214, 178, 106, 0.06); box-shadow: 0 0 0 4px rgba(214, 178, 106, 0.18); }
.field__ok { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%) scale(0.4); opacity: 0; color: var(--ok); transition: all 0.3s var(--spring); }
.field.is-valid .field__ok { opacity: 1; transform: translateY(-50%) scale(1); }
.field.is-invalid .field__input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 138, 122, 0.12); }
.field__error { font-size: 0.8rem; color: var(--err); min-height: 0; }
.field.is-invalid .field__error { margin-top: 6px; display: flex; gap: 6px; }
.field.is-invalid .field__error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--err); color: #1a0a08; font-size: 0.7rem; font-weight: 800; margin-top: 1px; }
.field__hint { margin-top: 6px; font-size: 0.76rem; color: var(--dim); }
.field__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.field__toggle svg { width: 20px; height: 20px; }
.pw-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line-2); transition: background 0.3s; }
.pw-meter[data-score='1'] i:nth-child(-n + 1) { background: var(--err); }
.pw-meter[data-score='2'] i:nth-child(-n + 2) { background: var(--gold); }
.pw-meter[data-score='3'] i { background: var(--ok); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.88rem; color: var(--champagne); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all 0.2s var(--spring); color: #1a1206; }
.check__box svg { width: 15px; height: 15px; opacity: 0; transform: scale(0.4); transition: all 0.25s var(--spring); stroke-width: 3; }
.check input:checked + .check__box { background: var(--metal-flat); border-color: transparent; }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.field--check.is-invalid .check__box { border-color: var(--err); }
.form__error { padding: 12px 14px; border-radius: 12px; background: rgba(255, 138, 122, 0.1); border: 1px solid rgba(255, 138, 122, 0.4); color: var(--err); font-size: 0.88rem; }
.form__submit { margin-top: 4px; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(26, 18, 6, 0.25); border-top-color: #1a1206; animation: spin 0.8s linear infinite; }
.is-loading .btn__spinner { display: block; }
.is-loading .btn__label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__fine { text-align: center; font-size: 0.76rem; color: var(--dim); }

.done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 18px 0 6px; }
.done__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--metal-flat); color: #1a1206; box-shadow: 0 0 40px rgba(246, 222, 160, 0.5); animation: multIn 0.6s var(--spring) both; }
.done__icon svg { width: 36px; height: 36px; stroke-width: 2.6; }
.done .btn[aria-disabled] { opacity: 0.6; cursor: not-allowed; }
.done__note { font-size: 0.8rem; color: var(--dim); }
.demo-badge { font-size: 0.74rem; color: #f0c98a; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(240, 201, 138, 0.4); background: rgba(240, 201, 138, 0.06); }
.demo-badge code { font-size: 0.72rem; }

/* Modales informativos */
.modal[open] { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 16px; }
.modal__panel { width: 100%; max-width: 640px; max-height: 86dvh; overflow-y: auto; border-radius: 24px; background: linear-gradient(180deg, #17161b, #0d0d11); border: 1px solid var(--line-gold); box-shadow: var(--shadow); animation: modalIn 0.4s var(--ease); }
.modal__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 22px; background: #17161b; border-bottom: 1px solid var(--line); }
.modal__head .sheet__close { position: static; }
.modal__title { font-size: 1.2rem; font-weight: 800; }
.modal__body { padding: 18px 22px 24px; display: grid; gap: 16px; }
.modal__meta { font-size: 0.78rem; color: var(--dim); }
.terms { display: grid; gap: 2px; }
.terms__row { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.terms__row dt { font-weight: 700; font-size: 0.9rem; color: var(--champagne); }
.terms__row dd { color: var(--muted); font-size: 0.9rem; }
.rg { display: grid; gap: 12px; }
.rg li { display: flex; gap: 12px; align-items: flex-start; color: var(--champagne); font-size: 0.94rem; }
.rg svg { flex: none; width: 22px; height: 22px; color: var(--gold-hi); }

/* ───────────── Movimiento reducido ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  
  [data-reveal] { opacity: 1; transform: none; }
}


/* Celebración cinematográfica exclusiva del ×10 */
.wheel-stage.is-jackpot { isolation:isolate; }
.wheel-stage.is-jackpot::before { content:"";position:absolute;inset:-18%;border-radius:50%;z-index:-1;pointer-events:none;background:conic-gradient(from 0deg,transparent,#ffd45c99,transparent,#48baffaa,transparent,#fff1b5aa,transparent);filter:blur(22px);animation:olJackpotAura 1.4s ease-in-out infinite alternate; }
.wheel-stage.is-jackpot .wheel-halo { opacity:1;animation:olJackpotAura 1.2s ease-in-out infinite alternate; }
.wheel-stage.is-jackpot .wheel__hub {animation:olJackpotHub .7s ease-in-out 5 alternate;box-shadow:0 0 28px 10px #ffda72,0 0 75px 20px #3aafffaa,inset 0 0 18px #fff5c8;}
.wheel-stage.is-jackpot .wheel__hub-won {font-size:calc(var(--w) * .10);text-shadow:0 0 12px #fff,0 0 24px #ffc45c;}
.wheel-stage.is-jackpot .bulb {animation-duration:.18s;}
@keyframes olJackpotAura {from{transform:scale(.96) rotate(-5deg);opacity:.5}to{transform:scale(1.12) rotate(8deg);opacity:1}}
@keyframes olJackpotHub {from{filter:brightness(1)}to{filter:brightness(1.65)}}
@media(prefers-reduced-motion:reduce){.wheel-stage.is-jackpot::before,.wheel-stage.is-jackpot .wheel-halo,.wheel-stage.is-jackpot .wheel__hub{animation:none!important}}
