/* Concepto: una noche en el cementerio del cansancio. La verja se abre al hacer scroll,
   el logo flota en 3D dentro de la luna y seis pociones Fuxion esperan en dos filas. */
:root {
  color-scheme: dark;
  --night: #0E0817;
  --crypt: #170E25;
  --grave: #2A1A40;
  --bone: #F4ECDD;
  --mist: #B9AACB;
  --pumpkin: #FF7A1A;
  --candle: #FFC93D;
  --slime: #8BE04A;
  --f-drip: 'Rubik Wet Paint', 'Rubik', Impact, 'Arial Black', sans-serif;
  --f-head: 'Rubik', system-ui, 'Segoe UI', Arial, sans-serif;
  --f-body: 'Rubik', system-ui, 'Segoe UI', Arial, sans-serif;
  --f-mono: 'Rubik Mono One', 'Rubik', ui-monospace, Menlo, monospace;
  --ground-h: clamp(110px, 16vw, 240px);
  --moon-d: clamp(186px, min(26vw, 30vh), 290px);
  --moon-top: clamp(62px, 8vh, 96px);
  --logo-d: calc(var(--moon-d) * .74);
  --potion: #8B4FD1;
  --potion-t: #C7A4FF;
}

@media (orientation: portrait) and (min-width: 600px) and (min-height: 900px) { :root { --moon-top: clamp(80px, 13vh, 170px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--candle); color: #1C0B00; padding: .6em 1em; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-head); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-pumpkin { background: var(--pumpkin); color: #1C0B00; box-shadow: 0 5px 0 #9C3A00, 0 12px 26px rgba(255, 122, 26, .32); }
.btn-pumpkin:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #9C3A00, 0 18px 32px rgba(255, 122, 26, .42); }
.btn-pumpkin:active { transform: translateY(4px); box-shadow: 0 1px 0 #9C3A00, 0 6px 14px rgba(255, 122, 26, .3); }
.btn-slime { background: var(--slime); color: #0D1A05; box-shadow: 0 5px 0 #3E7A14, 0 12px 26px rgba(139, 224, 74, .22); }
.btn-slime:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #3E7A14, 0 18px 32px rgba(139, 224, 74, .3); }
.btn-slime:active { transform: translateY(4px); box-shadow: 0 1px 0 #3E7A14; }
.btn-ghost { background: rgba(14, 8, 23, .35); color: var(--bone); border-color: rgba(244, 236, 221, .38); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(244, 236, 221, .08); }
.btn-ask { background: transparent; color: var(--slime); border-color: rgba(139, 224, 74, .5); }
.btn-ask:hover { border-color: var(--slime); background: rgba(139, 224, 74, .08); }

/* ---------- Barra superior ---------- */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-block: 16px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 800 italic .92rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--bone); }
.brand b { color: var(--pumpkin); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { font: 500 .95rem var(--f-head); color: var(--mist); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--bone); }
.nav .btn { min-height: 40px; padding: .5em 1.05em; font-size: .9rem; box-shadow: 0 4px 0 #3E7A14; }
@media (max-width: 780px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 440px) { .brand-x { display: none; } }

/* ---------- Hero con parallax ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 660px; min-height: max(660px, 100svh);
  display: flex; flex-direction: column;
  padding-bottom: calc(var(--ground-h) * .62);
  background:
    radial-gradient(70% 40% at 50% 100%, rgba(255, 122, 26, .45), rgba(255, 122, 26, 0) 70%),
    radial-gradient(95% 60% at 50% 100%, rgba(150, 36, 118, .38), rgba(150, 36, 118, 0) 75%),
    linear-gradient(180deg, #04020A 0%, #0B0618 30%, #1A0C2D 62%, #2D1131 100%);
}
.layer { position: absolute; pointer-events: none; will-change: transform; }
.stars { inset: 0 0 38% 0; z-index: 0; }
.star { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #FFF6E0; opacity: var(--o); }
.star.tw { animation: twinkle var(--d) ease-in-out var(--dl) infinite alternate; }
@keyframes twinkle { to { opacity: .08; } }

.moon {
  z-index: 1; left: 50%; top: var(--moon-top); width: var(--moon-d); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background:
    radial-gradient(circle at 66% 28%, rgba(205, 152, 70, .32) 0 7%, transparent 7.5%),
    radial-gradient(circle at 28% 64%, rgba(205, 152, 70, .26) 0 10%, transparent 10.5%),
    radial-gradient(circle at 72% 72%, rgba(205, 152, 70, .22) 0 5%, transparent 5.5%),
    radial-gradient(circle at 40% 34%, #FFFBEA 0%, #FFEDB5 46%, #F6D07B 78%, #E5AF57 100%);
  box-shadow: 0 0 46px 10px rgba(255, 214, 130, .42), 0 0 170px 60px rgba(255, 150, 60, .2), inset -16px -12px 38px rgba(176, 108, 34, .32);
}

/* Murciélagos: unos lejos (detrás del logo) y otros cerca (por delante) */
.bat svg, .fbat svg, .sb svg { display: block; width: 100%; height: auto; fill: #06030B; overflow: visible; }
.bat .wl, .bat .wr, .fbat .wl, .fbat .wr, .sb .wl, .sb .wr { transform-origin: 32px 15px; animation: flap .2s ease-in-out infinite alternate; }
@keyframes flap { to { transform: scaleY(-.45); } }

.bats-back { inset: 0 0 45% 0; z-index: 2; }
.bat { position: absolute; left: 0; top: var(--y); width: var(--w); opacity: .85; animation: fly var(--t) linear var(--dl) infinite; }
.bat.rev { animation-direction: reverse; }
.bat.rev svg { transform: scaleX(-1); }
@keyframes fly { from { translate: -18vw 0; } 50% { translate: 48vw 3vh; } to { translate: 118vw 0; } }

.bats-front { inset: 0; z-index: 12; }
.fbat {
  position: absolute; left: 0; top: calc(var(--moon-top) + var(--moon-d) * var(--k));
  width: calc(clamp(58px, 7vw, 108px) * var(--m)); translate: -30vw 0;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35));
  animation: fly-front var(--t) linear var(--dl) infinite backwards;
}
.fbat.rev { animation-direction: reverse; }
.fbat.rev svg { transform: scaleX(-1); }
.fbat .wl, .fbat .wr { animation-duration: .15s; }
.fbat svg, .sb svg { filter: drop-shadow(0 0 1.2px rgba(255, 228, 165, .85)) drop-shadow(0 0 7px rgba(170, 130, 255, .38)); }
@keyframes fly-front {
  0% { translate: -24vw 0; }
  12% { translate: 14vw -3vh; }
  24% { translate: 50vw 2vh; }
  36% { translate: 86vw -2vh; }
  45%, 100% { translate: 126vw 0; }
}

.swarm { z-index: 13; left: 50%; top: var(--moon-top); width: var(--moon-d); aspect-ratio: 1; translate: -50% 0; }
.sb {
  --bw: clamp(26px, 3.2vw, 42px);
  position: absolute; left: 50%; top: 52%; width: var(--bw); margin-left: calc(var(--bw) / -2);
  opacity: 0; animation: burst 10s cubic-bezier(.3, .1, .55, 1) var(--dl) infinite backwards;
}
.sb .wl, .sb .wr { animation-duration: .12s; }
@keyframes burst {
  0% { transform: translate(0, 0) scale(.08) rotate(0deg); opacity: 0; }
  3% { opacity: 1; }
  27% { opacity: 1; }
  33%, 100% { transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(var(--r)); opacity: 0; }
}

.castle { z-index: 3; right: clamp(2%, 11vw, 16%); bottom: calc(var(--ground-h) * .6); width: clamp(150px, 21vw, 320px); height: auto; }
.castle .win { fill: #FFB347; filter: drop-shadow(0 0 4px #FF9A2E); animation: windows 4s ease-in-out infinite alternate; }
.castle .win:nth-child(odd) { animation-delay: -2s; }
@keyframes windows { 0%, 70% { opacity: 1; } 85% { opacity: .55; } 100% { opacity: .95; } }

.fog { z-index: 4; left: 0; width: 200%; height: clamp(110px, 20vh, 220px); bottom: calc(var(--ground-h) * .3);
  background: radial-gradient(closest-side, rgba(225, 205, 255, .16), rgba(225, 205, 255, 0)) 0 50% / 22% 100% repeat-x;
  filter: blur(10px); animation: drift 80s linear infinite; }
.fog.front { z-index: 8; bottom: -20px; opacity: .7; animation-duration: 55s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

.tree { z-index: 5; bottom: calc(var(--ground-h) * .42); width: clamp(160px, 30vw, 520px); height: auto; overflow: visible; }
.tree-l { left: -3vw; }
.tree-r { right: -3vw; }
.gate { z-index: 6; bottom: calc(var(--ground-h) * .28); width: clamp(130px, 25vw, 380px); height: auto; overflow: visible; }
.gate-l { left: 0; }
.gate-r { right: 0; }
.ground { z-index: 7; left: 0; bottom: -1px; width: 100%; height: var(--ground-h); }
.ground .epi { font: 800 10px var(--f-head); letter-spacing: .06em; fill: #6C5A88; }
.ground .epi.big { font-size: 12px; fill: #7D6A99; }
.ground .glow { animation: flicker 2.6s ease-in-out infinite alternate; }
.ground .glow:nth-of-type(2n) { animation-delay: -1.3s; }
.pk-face { filter: drop-shadow(0 0 3px rgba(255, 196, 70, .95)); animation: flicker 1.8s ease-in-out infinite alternate; }
@keyframes flicker { 0% { opacity: 1; } 40% { opacity: .78; } 55% { opacity: .95; } 70% { opacity: .7; } 100% { opacity: 1; } }

.hero-copy {
  position: relative; z-index: 10; flex: 1; will-change: transform, opacity;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-inline: 16px;
  padding-top: calc(var(--moon-top) + (var(--moon-d) - var(--logo-d)) / 2);
}

/* Logo 3D: capas apiladas en profundidad, balanceo, brillo y giro al tocarlo */
.logo3d-wrap { width: var(--logo-d); aspect-ratio: 1; filter: drop-shadow(0 16px 18px rgba(36, 6, 40, .55)); }
.logo3d { position: relative; width: 100%; height: 100%; perspective: 820px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.logo3d-tilt, .logo3d-flip, .logo3d-spin { position: absolute; inset: 0; transform-style: preserve-3d; }
.logo3d-tilt { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.logo3d-spin { animation: logo-swing 7.5s ease-in-out infinite; }
.logo3d-flip.flip { animation: logo-flip 1.2s cubic-bezier(.45, 0, .2, 1) 1; }
.logo3d img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.l3-face, .l3-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.l3-shine {
  position: absolute; inset: 0; transform: translateZ(.6px); pointer-events: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 58%) no-repeat;
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: logo-shine 6.5s ease-in-out 1.2s infinite;
}
@keyframes logo-swing {
  0%, 100% { transform: translateY(0) rotateY(-27deg) rotateX(8deg); }
  50% { transform: translateY(-5%) rotateY(27deg) rotateX(-6deg); }
}
.l3-face { animation: face-light 7.5s ease-in-out infinite; }
@keyframes face-light { 0%, 100% { filter: brightness(.93); } 25%, 75% { filter: brightness(1.04); } 50% { filter: brightness(.97); } }
@keyframes logo-flip { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes logo-shine { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0% 0; } }

.hero h1 {
  margin: calc((var(--moon-d) - var(--logo-d)) / 2 + 4px) 0 0;
  font: 400 clamp(2.7rem, min(9vw, 11.5vh), 6.6rem)/.9 var(--f-drip);
  text-transform: uppercase; letter-spacing: .01em; text-wrap: balance;
}
.h1-a, .h1-b {
  display: inline-block; padding: .04em .06em .3em; margin-bottom: -.26em;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h1-a {
  background-image: linear-gradient(180deg, #FFFCF2 15%, #F2DBAE 92%);
  filter: drop-shadow(0 3px 0 #4E2C70) drop-shadow(0 3px 0 #351C4E) drop-shadow(0 3px 0 #1E0F2E) drop-shadow(0 14px 18px rgba(0, 0, 0, .55));
}
.h1-b {
  background-image: linear-gradient(180deg, #FFE45C 5%, #FFB31F 42%, #FF7A1A 78%, #FF5A0E 100%);
  filter: drop-shadow(0 3px 0 #7A2600) drop-shadow(0 3px 0 #561A00) drop-shadow(0 3px 0 #361000) drop-shadow(0 14px 18px rgba(0, 0, 0, .55));
}
.lead {
  max-width: 46ch; margin: 14px auto 0;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem); line-height: 1.5; color: #EDE3F7;
  text-shadow: 0 2px 14px rgba(8, 3, 14, .85);
}
.lead strong { color: var(--candle); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }

.countdown { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-label { font: 600 .76rem/1.2 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.cd-grid { display: flex; gap: 10px; }
.cd-cell {
  width: clamp(62px, 7vw, 76px); padding: 11px 0 8px; text-align: center;
  border-radius: 40px 40px 8px 8px / 32px 32px 8px 8px;
  background: linear-gradient(180deg, #2E1E44, #1A1028);
  border: 1px solid #44305F;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .25), 0 10px 24px rgba(0, 0, 0, .45);
}
.cd-num { display: block; font: 400 clamp(1.2rem, 2.2vw, 1.6rem)/1 var(--f-mono); color: var(--bone); font-variant-numeric: tabular-nums; }
.cd-unit { display: block; margin-top: 7px; font: 600 .64rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.countdown.is-today .cd-grid { display: none; }
.countdown.is-today .cd-label { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--f-drip); letter-spacing: .02em; color: var(--pumpkin); text-transform: none; padding-bottom: .2em; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.sec-head { display: grid; gap: 6px; margin-bottom: clamp(26px, 4vw, 44px); max-width: 820px; }
.eyebrow { font: 700 .8rem/1.2 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--pumpkin); margin: 0; }
.h2 { font: 900 italic clamp(2.3rem, 5.6vw, 4.3rem)/.98 var(--f-head); letter-spacing: -.01em; text-transform: uppercase; margin: .15em 0 .3em; text-wrap: balance; }
.h2 .hl { color: var(--pumpkin); }
.intro { max-width: 62ch; margin: 0; color: var(--mist); font-size: 1.1rem; }

/* ---------- Pociones: dos filas de tres que se deslizan ---------- */
.spider { position: absolute; top: 0; right: clamp(20px, 9vw, 140px); width: 38px; z-index: 1; animation: dangle 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes dangle { from { transform: translateY(-36px); } to { transform: translateY(24px); } }
.rows { display: grid; gap: clamp(28px, 4.5vw, 48px); }
.row { position: relative; min-width: 0; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 44px; }
.row-title { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 italic clamp(.95rem, 1.5vw, 1.12rem)/1.25 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); }
.row-title::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px; background: var(--pumpkin); }
.row-nav { display: flex; gap: 8px; flex: none; }
.arrow {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1.5px solid rgba(185, 170, 203, .42); background: rgba(255, 255, 255, .04); color: var(--bone); cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s, transform .2s;
}
.arrow svg { width: 20px; height: 20px; }
.arrow:hover:not(:disabled) { border-color: var(--pumpkin); color: var(--pumpkin); transform: translateY(-1px); }
.arrow:disabled { opacity: .3; cursor: default; }
.track {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(300px, 82%), 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-inline: -16px; padding: 14px 16px 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track > .card { scroll-snap-align: start; }
.row-bar { position: relative; width: min(220px, 60%); height: 4px; margin: -4px auto 0; border-radius: 2px; background: rgba(185, 170, 203, .18); overflow: hidden; }
.row-bar span { position: absolute; inset: 0 auto 0 0; width: 33%; border-radius: 2px; background: linear-gradient(90deg, var(--pumpkin), var(--candle)); }
.row.is-static .row-nav, .row.is-static .row-bar { display: none; }
@media (max-width: 520px) {
  .row-title { gap: 9px; font-size: .86rem; letter-spacing: .07em; }
  .row-title::before { width: 16px; }
}

.card {
  --c: #8B4FD1; --ct: #C7A4FF; --glow: rgba(139, 79, 209, .5);
  position: relative; display: flex; flex-direction: column; min-width: 0; container: card / inline-size;
  padding: 16px 20px 20px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 42%), var(--crypt);
  border: 1px solid rgba(255, 255, 255, .1);
  border-color: color-mix(in srgb, var(--c) 42%, transparent);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  scroll-margin-top: 24px;
}
.card:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 18px 34px -18px var(--glow); }
.card.is-chosen { animation: chosen 1.8s ease-out 1; border-color: var(--c); }
@keyframes chosen { 0% { box-shadow: 0 0 0 0 var(--glow); } 35% { box-shadow: 0 0 0 10px var(--glow); } 100% { box-shadow: 0 0 0 0 transparent; } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mon { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 italic .98rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ct); }
.mon svg { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag { font: 600 .68rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); border: 1px solid rgba(185, 170, 203, .3); border-radius: 999px; padding: .5em .75em; white-space: nowrap; }
.tag .t-short { display: none; }
@container card (max-width: 300px) {
  .mon { gap: 8px; font-size: .9rem; letter-spacing: .09em; }
  .mon svg { width: 26px; height: 26px; }
  .tag { font-size: .62rem; letter-spacing: .08em; padding: .45em .65em; }
  .tag .t-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tag .t-short { display: inline; }
}
.stage { position: relative; margin: 8px -8px 2px; aspect-ratio: 4 / 3; }
.stage::before { content: ""; position: absolute; inset: 6% 2% 0; background: radial-gradient(52% 55% at 50% 60%, var(--glow), transparent 72%); filter: blur(4px); }
.stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 11%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); }
.stage img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; padding: 2% 2% 5%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .stage img { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); }
.pname { font: 900 italic clamp(1.6rem, 2.3vw, 1.95rem)/1.05 var(--f-head); letter-spacing: -.005em; margin: 6px 0 6px; }
.hook { font: 500 italic 1.08rem/1.4 var(--f-head); color: var(--candle); margin: 0 0 10px; }
.desc { color: var(--mist); font-size: .98rem; margin: 0 0 12px; }
.helps { font: 700 .7rem/1.2 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin: 0 0 8px; }
.benefits { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.benefits li { position: relative; padding-left: 22px; font-size: .98rem; line-height: 1.45; }
.benefits li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: var(--ct); }
.ingr { font-size: .85rem; line-height: 1.55; color: var(--mist); margin: 0 0 14px; }
.ingr b { color: var(--bone); font-weight: 600; }
.ingr i { font-style: normal; font-weight: 800; color: var(--ct); }
.warn { font-size: .78rem; line-height: 1.45; color: #E0BDBD; margin: -4px 0 14px; padding-left: 10px; border-left: 2px solid rgba(232, 37, 58, .55); }
.buy { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 16px; border-top: 1px dashed rgba(185, 170, 203, .24); }
.price { grid-column: 1 / -1; margin: 0 0 4px; display: flex; flex-direction: column; line-height: 1.25; }
.price b { font: 800 1.55rem/1.1 var(--f-head); font-variant-numeric: tabular-nums; }
.price span { font-size: .78rem; color: var(--mist); }
.buy .btn { width: 100%; min-height: 46px; padding: .6em .9em; font-size: .98rem; }
.buy-note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 0; font-size: .76rem; color: var(--mist); }
.buy-note svg { width: 14px; height: 14px; flex: none; color: var(--slime); }

/* ---------- El caldero de mezclas ---------- */
.caldero-sec {
  overflow: hidden; overflow: clip;
  background: radial-gradient(46% 52% at 26% 46%, color-mix(in srgb, var(--potion) 18%, transparent), transparent 70%);
}
.lab {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "pot copy" "pot pick"; grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 5vw, 72px); row-gap: 22px; align-items: start;
}
.lab-copy { grid-area: copy; align-self: end; }
.lab-pot { grid-area: pot; min-width: 0; display: grid; justify-items: center; }
.lab-pick { grid-area: pick; min-width: 0; }
.pot-stage { position: relative; width: min(360px, 86%); margin-top: 8px; padding-top: 34px; }
.pot-stage .cauldron { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
.pot-flash {
  position: absolute; z-index: 0; left: 50%; top: 34%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--potion-t) 75%, #fff), transparent 72%);
  opacity: 0; pointer-events: none;
}
.pot-stage.flash .pot-flash { animation: pot-flash .8s ease-out; }
.pot-fx { position: absolute; z-index: 3; left: -30%; top: -45%; width: 160%; height: 150%; pointer-events: none; }
.pot-count {
  margin: 10px 0 0; padding: .5em 1.05em; border-radius: 999px; text-align: center;
  font: 700 .76rem/1.25 var(--f-head); letter-spacing: .12em; text-transform: uppercase;
  color: var(--mist); background: rgba(255, 255, 255, .04); border: 1px solid rgba(185, 170, 203, .22);
}

.cauldron .bubble { fill: var(--bf, #4A3868); transform-box: fill-box; transform-origin: center; animation: rise 2.6s ease-in infinite; }
.cauldron.is-empty .bubble { animation-duration: 4.2s; }
.cauldron .liq-shine { transition: opacity .4s; }
.cauldron.is-empty .liq-shine { opacity: .3; }
.cauldron .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flame .45s ease-in-out infinite alternate; }
.cauldron .flame:nth-child(2) { animation-delay: -.2s; animation-duration: .38s; }
.cauldron .flame:nth-child(3) { animation-delay: -.1s; animation-duration: .52s; }
.cauldron .steam { fill: var(--potion-t); opacity: 0; filter: blur(5px); transform-box: fill-box; transform-origin: center; }
.cauldron .swirl { opacity: 0; transition: opacity .3s; }
.cauldron .swirl ellipse { animation: swirl 1.1s linear infinite; }
.cauldron .swirl ellipse:nth-child(2) { animation-duration: .8s; animation-direction: reverse; }
.cauldron .ripple { fill: none; stroke: var(--splash, #fff); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.cauldron .sp { fill: var(--splash, #fff); opacity: 0; transform-box: fill-box; transform-origin: center; }
.cauldron .puff { fill: var(--pf, #E9DDFF); opacity: 0; filter: blur(3px); transform-box: fill-box; transform-origin: center; }
.cauldron .collar { opacity: 0; transition: opacity .25s; }
.cauldron .monster { transform: translateY(150px); transition: transform .45s ease-in; }
.cauldron.has-monster .monster { transform: translateY(0); transition: transform 1s cubic-bezier(.2, 1.45, .45, 1); }
.cauldron.has-monster .collar { opacity: 1; transition-delay: .2s; }
.mon-bob { animation: mon-bob 2.2s ease-in-out infinite alternate; }
.mon-arm-l { transform-box: fill-box; transform-origin: 100% 100%; animation: wave-l .45s ease-in-out infinite alternate; }
.mon-arm-r { transform-box: fill-box; transform-origin: 0% 100%; animation: wave-r .45s ease-in-out infinite alternate; }
.mon-eyes { transform-box: fill-box; transform-origin: center; animation: blink 3.6s linear infinite; }
.mon-pupils { animation: look 5s ease-in-out infinite; }
.cauldron:not(.has-monster) .monster * { animation-play-state: paused; }
.cauldron.stir { animation: shake .13s linear infinite; }
.cauldron.stir .bubble { animation-duration: .8s; }
.cauldron.stir .flame { animation-duration: .18s; }
.cauldron.stir .swirl { opacity: .6; }
.cauldron.stir .steam { animation: steam 1.1s ease-out infinite; }
.cauldron.stir .steam:nth-child(2) { animation-delay: .25s; }
.cauldron.stir .steam:nth-child(3) { animation-delay: .5s; }
.cauldron.splashing .ripple { animation: ripple .7s ease-out; }
.cauldron.splashing .sp { animation: sp .75s cubic-bezier(.25, .7, .4, 1); }
.cauldron.boom .puff { animation: puff 1.3s ease-out; }
.cauldron.boom .puff:nth-child(2n) { animation-delay: .08s; }
@keyframes rise { 0% { transform: translateY(0) scale(.5); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-74px) scale(1.15); opacity: 0; } }
@keyframes flame { to { transform: scaleY(1.18) skewX(5deg); } }
@keyframes steam { 0% { transform: translateY(10px) scale(.4); opacity: 0; } 30% { opacity: .75; } 100% { transform: translateY(-90px) scale(1.8); opacity: 0; } }
@keyframes swirl { to { stroke-dashoffset: -140; } }
@keyframes shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-2px, 1px) rotate(-1deg); }
  50% { transform: translate(2px, -1px) rotate(1deg); }
  75% { transform: translate(-1px, -1px) rotate(-.5deg); }
}
@keyframes ripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes sp {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  55% { opacity: 1; transform: translate(calc(var(--dx) * .6), var(--dy)) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), 4px) scale(.5); }
}
@keyframes puff { 0% { opacity: .95; transform: translate(0, 0) scale(.3); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(2.2); } }
@keyframes pot-flash { 0% { opacity: 0; transform: scale(.4); } 22% { opacity: .9; } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes mon-bob { from { transform: translateY(2px); } to { transform: translateY(-4px); } }
@keyframes wave-l { from { transform: rotate(10deg); } to { transform: rotate(-16deg); } }
@keyframes wave-r { from { transform: rotate(-10deg); } to { transform: rotate(16deg); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes look { 0%, 28% { transform: translate(0, 0); } 38%, 58% { transform: translate(-3px, 1px); } 68%, 100% { transform: translate(2.5px, -1px); } }

/* Gota que vuela de la poción al caldero */
.drop-x { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
.drop-y { display: block; }
.drop {
  display: block; width: 18px; height: 22px; margin: -11px 0 0 -9px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 36% 34%, rgba(255, 255, 255, .75) 0 16%, transparent 18%), var(--c);
  box-shadow: 0 0 14px var(--c);
}

/* Pociones para echar al caldero */
.flasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.flask {
  --c: #8B4FD1; --ct: #C7A4FF;
  position: relative; display: grid; justify-items: center; align-content: start; gap: 5px; min-width: 0;
  padding: 12px 8px 13px; border-radius: 18px; border: 1.5px solid rgba(185, 170, 203, .26);
  background: rgba(255, 255, 255, .03); color: var(--bone); font: inherit; text-align: center; cursor: pointer;
  transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}
.flask:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 75%, transparent); }
.flask[aria-pressed="true"] {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, var(--crypt));
  box-shadow: 0 10px 26px -14px var(--c);
}
.fl-svg { width: 42px; height: 54px; overflow: visible; transform-origin: 50% 80%; }
.flask.pour .fl-svg { animation: pour .7s ease-in-out; }
.fl-glass { fill: rgba(255, 255, 255, .07); stroke: #F4ECDD; stroke-width: 2; stroke-linejoin: round; }
.fl-liq { fill: var(--c); transform-box: fill-box; transition: transform .6s ease; }
.flask[aria-pressed="true"] .fl-liq { transform: translateY(13px); }
.fl-b { fill: var(--ct); opacity: .8; transform-box: fill-box; transform-origin: center; animation: fl-bub 2.4s ease-in infinite; }
.fl-b.b2 { animation-delay: -1.2s; animation-duration: 2s; }
.fl-cork { fill: #9A6A44; }
.fl-shine { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .55; }
.fl-fear { font: 700 .9rem/1.2 var(--f-head); text-wrap: balance; overflow-wrap: anywhere; }
.fl-name { font: 500 .74rem/1.2 var(--f-body); color: var(--mist); overflow-wrap: anywhere; }
.fl-check {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c); color: #fff; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.fl-check svg { width: 13px; height: 13px; }
.flask[aria-pressed="true"] .fl-check { transform: scale(1); }
@keyframes pour { 0%, 100% { transform: rotate(0); } 35%, 60% { transform: rotate(-38deg) translate(-2px, -4px); } }
@keyframes fl-bub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(-14px) scale(1); opacity: 0; } }
.lab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mix-btn { flex: 1 1 240px; }
.mix-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: 0 3px 0 #3E7A14; }
.mix-btn.ready { animation: wiggle 2.6s ease-in-out infinite; }
.empty-btn { flex: 0 1 auto; }
@keyframes wiggle {
  0%, 84%, 100% { transform: none; }
  87% { transform: rotate(-2.5deg) scale(1.03); }
  90% { transform: rotate(2.5deg) scale(1.03); }
  93% { transform: rotate(-1.5deg); }
}

/* Resultado de la mezcla */
.brew-result {
  width: 100%; max-width: 520px; margin-top: 16px; padding: 18px 18px 20px; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 40%), var(--crypt);
  border: 1px solid rgba(255, 255, 255, .12); border-color: color-mix(in srgb, var(--potion) 55%, transparent);
  box-shadow: 0 24px 60px -30px var(--potion);
  opacity: 0; transform: translateY(14px) scale(.97);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, 1.3, .4, 1);
}
.brew-result.show { opacity: 1; transform: none; }
.br-eyebrow { margin: 0; font: 800 italic .78rem/1.35 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--potion-t); }
.br-title {
  margin: 6px 0 2px; padding-bottom: .16em; font: 400 clamp(1.6rem, 6.4vw, 2.6rem)/1 var(--f-drip); color: var(--candle); text-wrap: balance;
  filter: drop-shadow(0 3px 0 #6B3A00) drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
}
.brew-result.is-mix .br-title {
  color: var(--slime);
  filter: drop-shadow(0 3px 0 #2D5A10) drop-shadow(0 3px 0 #1C3A08) drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
}
.br-name { margin: 0 auto 14px; max-width: 40ch; font: 700 italic 1.02rem/1.35 var(--f-head); color: var(--bone); text-wrap: balance; }
.br-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.br-item {
  --c: #8B4FD1;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 6px 8px 6px 4px; border-radius: 14px; background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--c) 45%, transparent);
}
.br-item img { width: 56px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.br-info { min-width: 0; }
.br-pname { display: block; font: 900 italic 1rem/1.15 var(--f-head); color: var(--bone); text-decoration: none; }
.br-pname:hover { text-decoration: underline; text-decoration-color: var(--c); }
.br-meta { display: block; margin-top: 2px; font-size: .78rem; color: var(--mist); }
.br-item .btn { min-height: 40px; padding: .45em .85em; font-size: .9rem; }
.br-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.br-actions .btn { min-height: 44px; font-size: .95rem; }
.br-note { margin: 12px auto 0; max-width: 46ch; font-size: .82rem; line-height: 1.45; color: var(--mist); }

@media (max-width: 860px) {
  .lab { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "pot" "pick"; grid-template-rows: none; row-gap: 18px; }
  .pot-stage { width: min(300px, 80%); }
}
@media (max-width: 420px) {
  .flasks { gap: 8px; }
  .flask { padding: 10px 6px 11px; border-radius: 16px; }
  .fl-fear { font-size: .84rem; }
  .brew-result { padding: 16px 12px 18px; }
  .br-item { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 8px; }
  .br-item img { width: 50px; height: 40px; }
  .br-item .btn { padding: .45em .7em; }
}

/* Cada mezcla despierta a un monstruo distinto */
.cauldron .mv, .cauldron .tr-gift { display: none; }
.cauldron.m-bruja .mv-bruja, .cauldron.m-vampiro .mv-vampiro, .cauldron.m-zombi .mv-zombi,
.cauldron.m-momia .mv-momia, .cauldron.m-fantasma .mv-fantasma, .cauldron.m-calabaza .mv-calabaza,
.cauldron.has-gift .tr-gift { display: inline; }
.cauldron.m-fantasma .collar { visibility: hidden; }
.zarm-l { transform-box: fill-box; transform-origin: 100% 40%; animation: zsway-l 1.8s ease-in-out infinite alternate; }
.zarm-r { transform-box: fill-box; transform-origin: 0% 40%; animation: zsway-r 1.8s ease-in-out infinite alternate; }
.ghost-float { animation: ghost-float 2s ease-in-out infinite alternate; }
.ghost-halo { opacity: .4; filter: blur(10px); }
.gflap-l { transform-box: fill-box; transform-origin: 100% 60%; animation: flap-l .9s ease-in-out infinite alternate; }
.gflap-r { transform-box: fill-box; transform-origin: 0% 60%; animation: flap-r .9s ease-in-out infinite alternate; }
.cauldron.has-gift .mon-arm-r, .cauldron.has-gift .zarm-r, .cauldron.has-gift .gflap-r { animation: lift 1s ease-in-out infinite alternate; }
.gift-spark path { transform-box: fill-box; transform-origin: center; animation: spark 1.4s ease-in-out infinite; }
.gift-spark path:nth-child(2) { animation-delay: -.5s; }
.gift-spark path:nth-child(3) { animation-delay: -.9s; }
@keyframes zsway-l { from { transform: rotate(4deg); } to { transform: rotate(-5deg); } }
@keyframes zsway-r { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
@keyframes ghost-float { from { transform: translateY(2px); } to { transform: translateY(-8px); } }
@keyframes flap-l { from { transform: rotate(8deg); } to { transform: rotate(-12deg); } }
@keyframes flap-r { from { transform: rotate(-8deg); } to { transform: rotate(12deg); } }
@keyframes lift { from { transform: rotate(-3deg); } to { transform: rotate(7deg); } }
@keyframes spark { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.2); opacity: 1; } }

/* Contador del 4+1 */
.promo41 {
  width: min(360px, 100%); margin-top: 12px; padding: 10px 14px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(185, 170, 203, .2);
  transition: border-color .4s, background-color .4s;
}
.p41-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 .78rem/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.p41-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--bone); }
.p41-tag svg { width: 17px; height: 17px; color: var(--slime); }
.p41-pv { letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.p41-pv b { color: var(--bone); font-weight: 800; }
.p41-bar { position: relative; height: 8px; margin: 8px 0 7px; border-radius: 99px; background: rgba(185, 170, 203, .18); overflow: hidden; }
.p41-bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--pumpkin), var(--candle)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.p41-text { margin: 0; font-size: .86rem; line-height: 1.35; color: var(--mist); text-align: center; text-wrap: balance; }
.promo41.done { border-color: rgba(139, 224, 74, .55); background: rgba(139, 224, 74, .08); }
.promo41.done .p41-bar span { background: linear-gradient(90deg, #5FBF2A, var(--slime)); }
.promo41.done .p41-text { color: var(--slime); font-weight: 700; }
.promo41.done .p41-tag svg { animation: gift-wiggle 1.6s ease-in-out infinite; }
@keyframes gift-wiggle { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(-14deg) scale(1.15); } 86% { transform: rotate(12deg) scale(1.15); } }

/* Premio del 4+1 en el resultado */
.br-promo { margin-top: 14px; padding: 12px 14px; border-radius: 16px; text-align: left; background: rgba(139, 224, 74, .1); border: 1px dashed rgba(139, 224, 74, .55); }
.bp-title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 900 italic 1.08rem/1.2 var(--f-head); color: var(--slime); }
.bp-title svg { width: 20px; height: 20px; flex: none; }
.bp-text { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--bone); }
.bp-text b { color: var(--slime); }
.bp-cond { margin: 6px 0 0; font-size: .76rem; line-height: 1.45; color: var(--mist); }
.bp-cond a { color: var(--bone); text-underline-offset: 2px; }

/* Franja del 4+1 bajo los productos */
.promo-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(24px, 4vw, 36px); padding: 14px 16px;
  border-radius: 18px; background: linear-gradient(90deg, rgba(139, 224, 74, .12), rgba(255, 122, 26, .12)); border: 1px dashed rgba(139, 224, 74, .45);
}
.promo-strip p { flex: 1 1 240px; min-width: 0; margin: 0; font-size: 1rem; line-height: 1.45; }
.promo-strip b { color: var(--slime); }
.promo-strip .btn { min-height: 44px; }
.ps-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(139, 224, 74, .16); color: var(--slime); }
.ps-ico svg { width: 24px; height: 24px; }

/* ---------- Cómo pedir: pasos compactos con iconos animados ---------- */
.steps-sec { padding-block: clamp(48px, 7vw, 88px); }
.steps-sec .sec-head { margin-bottom: clamp(20px, 3vw, 32px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(12px, 2vw, 20px); margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--crypt); border: 1px solid var(--grave);
  transition: border-color .3s, transform .3s;
}
.step::after { content: ""; position: absolute; top: 0; right: 0; width: 54px; height: 54px; background: var(--web) top right / contain no-repeat; opacity: .22; pointer-events: none; }
.step:hover { border-color: rgba(255, 122, 26, .45); transform: translateY(-2px); }
.step-ico {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px;
  background: radial-gradient(circle at 50% 62%, rgba(255, 122, 26, .2), rgba(255, 122, 26, 0) 68%), #1F1331;
  border: 1px solid rgba(255, 255, 255, .06);
}
.step-ico .ico { width: 56px; height: 56px; overflow: visible; }
.step h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 3px; font: 800 italic 1.08rem/1.2 var(--f-head); }
.step-n { position: relative; flex: none; font: 400 1.55rem/1 var(--f-drip); font-style: normal; color: var(--pumpkin); padding-bottom: .12em; }
.step p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--mist); }
.step p a { color: var(--bone); font-weight: 600; text-decoration-color: var(--pumpkin); text-underline-offset: 3px; }
.step .num { color: var(--bone); font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.ico * { transform-box: fill-box; }
.ico-potion .glow { transform-origin: center; animation: glow-pulse 2.4s ease-in-out infinite alternate; }
.ico-potion .liq { animation: wave 1.6s linear infinite; }
.ico-potion .liq-in { animation: slosh 2.2s ease-in-out infinite alternate; }
.ico-potion .pb { transform-origin: center; animation: bub 2.2s ease-in infinite; }
.ico-potion .pb.b2 { animation-duration: 1.9s; animation-delay: -.8s; }
.ico-potion .pb.b3 { animation-duration: 2.5s; animation-delay: -1.5s; }
.ico-potion .pop { transform-origin: center; opacity: 0; animation: pop 2.4s ease-out infinite; }
.ico-potion .pop.p2 { animation-delay: -1.2s; }
@keyframes glow-pulse { from { opacity: .14; transform: scale(.92); } to { opacity: .34; transform: scale(1.06); } }
@keyframes wave { to { transform: translateX(32px); } }
@keyframes slosh { from { transform: translateY(-1px); } to { transform: translateY(1.5px); } }
@keyframes bub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-16px) scale(1.1); opacity: 0; } }
@keyframes pop { 0% { transform: translateY(5px) scale(.4); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-11px) scale(1.25); opacity: 0; } }

.ico-bat .carry { animation: carry 1s ease-in-out infinite alternate; }
.ico-bat .parcel { transform-origin: 50% 0%; animation: swing 1.3s ease-in-out infinite alternate; }
.ico-bat .wl { transform-origin: 100% 70%; animation: flap .17s ease-in-out infinite alternate; }
.ico-bat .wr { transform-origin: 0% 70%; animation: flap .17s ease-in-out infinite alternate; }
.ico-bat .speed path { animation: speed .9s linear infinite; }
.ico-bat .speed path:nth-child(2) { animation-delay: -.3s; }
.ico-bat .speed path:nth-child(3) { animation-delay: -.6s; }
@keyframes carry { from { transform: translate(-1px, -2.5px); } to { transform: translate(1px, 2.5px); } }
@keyframes swing { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@keyframes speed { 0% { transform: translateX(6px); opacity: 0; } 30% { opacity: .75; } 100% { transform: translateX(-8px); opacity: 0; } }

.ico-ghost .gh { transform-origin: 50% 100%; animation: ghost 2.6s ease-in-out infinite alternate; }
.ico-ghost .eye { transform-origin: center; animation: blink 4.2s linear infinite; }
.ico-ghost .bub { transform-origin: 0% 100%; animation: bubble 2.8s ease-in-out infinite; }
.ico-ghost .dt { animation: typing 1.2s ease-in-out infinite; }
.ico-ghost .dt.d2 { animation-delay: .15s; }
.ico-ghost .dt.d3 { animation-delay: .3s; }
@keyframes ghost { from { transform: translateY(1.5px) rotate(-4deg); } to { transform: translateY(-3px) rotate(4deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bubble { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }

/* ---------- ¿Truco o trato? Tarjeta con calabazas desfilando ---------- */
.final-sec { padding-block: clamp(16px, 3vw, 40px) clamp(64px, 9vw, 112px); }
.final-card {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1000px; margin-inline: auto; border-radius: 28px;
  background:
    radial-gradient(90% 55% at 50% 112%, rgba(255, 122, 26, .5), rgba(255, 122, 26, 0) 70%),
    radial-gradient(60% 50% at 50% 0%, rgba(139, 79, 209, .26), rgba(139, 79, 209, 0) 70%),
    linear-gradient(180deg, #1C0F2E, #120A1E 55%, #1F0D24);
  border: 1px solid rgba(255, 122, 26, .3);
  box-shadow: 0 30px 80px -34px rgba(255, 122, 26, .45);
}
.pk-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pk-lane { position: absolute; left: 0; right: 0; }
.pk-strip { position: absolute; inset: 0; width: 200%; animation: lane-l var(--t) linear infinite; will-change: transform; }
.pk-lane.r .pk-strip { animation-name: lane-r; }
@keyframes lane-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lane-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.pkf { position: absolute; bottom: 0; width: calc(var(--s) * var(--k, 1)); aspect-ratio: 100 / 92; background: center / contain no-repeat; transform-origin: 50% 100%; }
.lane-far { top: 12px; height: 40px; opacity: .32; --t: 84s; }
.lane-mid { bottom: 50px; height: 70px; opacity: .62; --t: 54s; }
.lane-near { bottom: -12px; height: 130px; --t: 36s; }
.lane-mid .pkf { animation: bob 3.2s ease-in-out var(--d) infinite alternate; }
.lane-near .pkf { animation: hop 1.6s ease-in-out var(--d) infinite; filter: drop-shadow(0 0 14px rgba(255, 140, 40, .45)); }
@keyframes bob { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-7px) rotate(4deg); } }
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1.05, .95); }
  40% { transform: translateY(-16px) scale(.97, 1.03) rotate(-3deg); }
  60% { transform: translateY(-16px) scale(.97, 1.03) rotate(3deg); }
  85% { transform: translateY(0) scale(1.03, .97); }
}
.final-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(70px, 8vw, 92px) clamp(14px, 5vw, 56px) clamp(156px, 17vw, 196px);
}
.final-inner::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 44%; width: min(760px, 125%); height: 78%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(14, 8, 23, .85), rgba(14, 8, 23, 0));
}
.final-inner h2 {
  margin: 0; padding-bottom: .18em; font: 400 clamp(2.05rem, 7.6vw, 5.8rem)/.95 var(--f-drip); color: var(--pumpkin); text-wrap: balance;
  filter: drop-shadow(0 4px 0 #7A2600) drop-shadow(0 3px 0 #4A1600) drop-shadow(0 14px 22px rgba(0, 0, 0, .5));
}
.final-inner p { max-width: 44ch; margin: 6px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #EDE3F7; text-shadow: 0 2px 12px rgba(10, 4, 16, .9); }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; width: 100%; }
@media (max-width: 720px) {
  .final-cta { flex-direction: column; align-items: stretch; max-width: 320px; }
  .final-cta .btn { width: 100%; }
}
@media (max-width: 400px) {
  .final-cta .btn { font-size: .95rem; padding-inline: .8em; white-space: nowrap; }
}
@media (max-width: 640px) {
  .pkf { --k: .72; }
  .pkf.sparse { display: none; }
  .lane-mid { bottom: 40px; }
}

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--grave); padding-block: 40px 96px; color: var(--mist); font-size: .92rem; }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.f-brand { display: flex; align-items: center; gap: 14px; }
.f-brand img { width: 60px; height: 60px; }
.f-brand strong { display: block; font: 900 italic 1.15rem/1.1 var(--f-head); color: var(--bone); text-transform: uppercase; }
.f-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.f-links a { color: var(--bone); text-decoration-color: rgba(244, 236, 221, .35); text-underline-offset: 3px; }
.legal { margin-top: 28px; display: grid; gap: 8px; font-size: .8rem; line-height: 1.55; max-width: 92ch; }
.legal p { margin: 0; }

/* ---------- Botón flotante de WhatsApp ---------- */
.fab {
  position: fixed; z-index: 50; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: .78em 1.15em; border-radius: 999px;
  background: var(--slime); color: #0D1A05; font: 800 .95rem/1 var(--f-head); text-decoration: none;
  box-shadow: 0 4px 0 #3E7A14, 0 14px 30px rgba(0, 0, 0, .5);
  transform: translateY(160%); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.fab svg { width: 20px; height: 20px; }
.fab.show { transform: none; opacity: 1; }
@media (max-width: 520px) {
  .fab { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fab svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .star, .bat, .bat .wl, .bat .wr, .fog, .castle .win, .ground .glow, .pk-face, .spider,
  .cauldron .flame, .cauldron.stir .steam, .card.is-chosen,
  .logo3d-spin, .logo3d-flip.flip, .l3-shine, .l3-face, .ico *, .pk-strip, .pkf { animation: none !important; }
  .cauldron.stir, .cauldron .bubble, .cauldron .swirl ellipse, .cauldron.splashing .ripple, .cauldron.splashing .sp,
  .cauldron.boom .puff, .mon-bob, .mon-arm-l, .mon-arm-r, .mon-eyes, .mon-pupils, .flask.pour .fl-svg, .fl-b,
  .mix-btn.ready, .pot-stage.flash .pot-flash, .cauldron.has-gift .mon-arm-r, .gift-spark path,
  .zarm-l, .zarm-r, .ghost-float, .gflap-l, .gflap-r, .cauldron.has-gift .zarm-r, .cauldron.has-gift .gflap-r,
  .promo41.done .p41-tag svg { animation: none !important; }
  .cauldron .monster, .brew-result, .fl-liq, .flask, .fl-check, .p41-bar span { transition: none !important; }
  .bat { translate: var(--rx) 0; }
  .bats-front, .swarm { display: none; }
  .card, .card .stage img, .btn, .fab, .logo3d-tilt, .step, .arrow { transition: none; }
}

.steps { --web: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjQzlCOEUwIiBzdHJva2Utd2lkdGg9Ii45IiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik02MCAwTDQ5LjIgNjEuMU02MCAwTDI5LjAgNTMuN002MCAwTDEyLjUgMzkuOU02MCAwTDEuNyAyMS4yTTYwIDBMLTEuOCA1LjRNNTcuOSAxMS44UTU2LjcgOS4xIDU0LjAgMTAuNE01NC4wIDEwLjRRNTMuOCA3LjQgNTAuOCA3LjdNNTAuOCA3LjdRNTEuNiA0LjggNDguNyA0LjFNNDguNyA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