/* =====================================================================
   Feliz cumple, Anahí — base de marca Lumoo (tokens.css) + paleta fiesta
   ===================================================================== */
:root {
  /* Marca Lumoo */
  --coral: #fe756f;
  --coral-soft: #fec0c0;
  --sol: #fed463;
  --cielo: #7fd7eb;
  --crema: #fff5eb;
  --crema-alt: #fbeddd;
  --coral-strong: #b9483f;
  --cielo-deep: #1d5e6d;
  --tinta: #3a3a38;
  --tinta-soft: #6e6a64;
  --sol-tinta: #4a3a00;

  /* Extras de fiesta */
  --rosa: #ff8fc7;
  --lila: #b69cff;
  --menta: #7ee0b5;
  --noche: #170a2b;
  --neon: #ff4fa3;
  --salsa: #5a0d0d;
  --salsa-oscura: #2a0505;
  --tlaq-rojo: #e3262b;
  --tlaq-azul: #1f2a7a;

  --f-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texto: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  --radio: 1.25rem;
  --sombra: 0 14px 40px -18px rgba(58, 20, 20, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked { overflow: hidden; height: 100vh; height: 100dvh; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Secciones ---------- */
.sec {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 5rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.h2 {
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(2.3rem, 9vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--coral-strong);
}
.h2 span { font-style: italic; color: var(--cielo-deep); }
.sec__intro { margin: 0 auto 1.5rem; max-width: 30ch; color: var(--tinta-soft); }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1.2); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.8rem 1.75rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 12px 24px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--coral { background: var(--coral-strong); color: #fff; }
.btn--sol { background: var(--sol); color: var(--sol-tinta); }
.btn:focus-visible, .guino:focus-visible, .vaso:focus-visible { outline: 3px solid var(--cielo-deep); outline-offset: 3px; }
/* Todos los botones se aplastan como squishy */
.squish:active { transform: scale(1.08, 0.86); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
.btn[disabled] { opacity: 0.6; }

/* ---------- Controles flotantes ---------- */
.flotante {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  z-index: 60;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.flotante--sonido { left: 12px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; }
.flotante--siguiente {
  right: 12px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral-strong); color: #fff;
  box-shadow: 0 6px 16px rgba(120, 30, 30, 0.4);
  transition: opacity 0.3s, transform 0.3s;
  animation: rebote 2.4s ease-in-out infinite;
}
.flotante--siguiente svg { width: 26px; height: 26px; }
.flotante--siguiente.is-fuera { opacity: 0; transform: scale(0.6); pointer-events: none; }

.confeti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1200; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1100;
  width: min(92vw, 380px);
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  background: rgba(30, 22, 40, 0.94);
  color: #fff;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.4;
  transform: translate(-50%, calc(100% + 60px));
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.3), visibility 0s 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.toast b { font-size: 1.35rem; margin-right: 0.35rem; vertical-align: -0.15em; }
.toast small { display: block; margin-top: 0.25rem; opacity: 0.75; font-size: 0.8rem; }

/* ---------- Recuadros de "pendiente" ---------- */
.pendiente {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  display: grid;
  place-content: center;
  gap: 0.25rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}
.pendiente span { font-size: 2.4rem; }
.pendiente--logo { aspect-ratio: 3 / 1; background: repeating-linear-gradient(45deg, #fff 0 12px, #f3e9e9 12px 24px); color: var(--tlaq-azul); text-shadow: none; border: 3px dashed var(--tlaq-rojo); }

/* =====================================================================
   0. PORTADA
   ===================================================================== */
.portada {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #fe756f, #ff8fc7, #b69cff, #7fd7eb, #fed463, #fe756f);
  background-size: 400% 400%;
  animation: degradado 14s ease infinite;
  cursor: pointer;
  transition: opacity 0.7s ease;
  text-align: center;
  padding: 2rem;
}
.portada.is-fuera { opacity: 0; pointer-events: none; }
.portada__brillos {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.6) 0 1.5px, transparent 2.5px);
  background-size: 90px 90px, 55px 55px;
  background-position: 0 0, 25px 35px;
  animation: brillos 20s linear infinite;
  opacity: 0.6;
}
.portada__texto {
  position: relative;
  margin: 0;
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.15), 0 8px 24px rgba(120, 20, 60, 0.35);
  animation: latido 1.6s ease-in-out infinite;
}
.portada__sub { position: relative; margin: 0; color: #fff; font-weight: 600; opacity: 0.9; }

.regalo { position: relative; width: 190px; height: 200px; animation: tambaleo 2.2s ease-in-out infinite; }
.regalo__caja {
  position: absolute;
  left: 10px; right: 10px; bottom: 0;
  height: 140px;
  border-radius: 14px;
  background: var(--coral);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.12), 0 16px 30px -10px rgba(80, 0, 30, 0.5);
}
.regalo__cinta { position: absolute; left: 50%; top: 0; bottom: 0; width: 30px; transform: translateX(-50%); background: var(--sol); }
.regalo__logo { position: absolute; width: 64px; left: 50%; top: 50%; transform: translate(-50%, -40%); background: #fff; border-radius: 50%; padding: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.regalo__tapa {
  position: absolute;
  left: 0; right: 0; top: 34px;
  height: 40px;
  border-radius: 10px;
  background: #ff8a85;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: transform 0.8s cubic-bezier(.3,1.6,.5,1), opacity 0.8s;
}
.regalo__tapa::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 34px; transform: translateX(-50%); background: var(--sol); }
.regalo__moño { position: absolute; left: 50%; top: -30px; width: 0; height: 0; }
.regalo__moño::before, .regalo__moño::after {
  content: "";
  position: absolute;
  top: 0;
  width: 46px; height: 34px;
  border: 9px solid var(--cielo);
  border-radius: 50%;
}
.regalo__moño::before { right: 0; transform: rotate(-20deg); }
.regalo__moño::after { left: 0; transform: rotate(20deg); }
.portada.is-abriendo .regalo { animation: none; }
.portada.is-abriendo .regalo__tapa { transform: translate(40px, -260px) rotate(35deg); opacity: 0; }
.portada.is-abriendo .regalo__caja { animation: brinco 0.5s ease; }

/* =====================================================================
   1. TÍTULO
   ===================================================================== */
.sec--titulo {
  background:
    radial-gradient(40rem 30rem at 0% 0%, rgba(254,117,111,.35), transparent 60%),
    radial-gradient(35rem 30rem at 100% 20%, rgba(127,215,235,.45), transparent 60%),
    radial-gradient(35rem 25rem at 50% 110%, rgba(254,212,99,.55), transparent 60%),
    var(--crema);
}
.titulo {
  position: relative;
  margin: 0;
  font-family: var(--f-titulo);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.titulo > span { display: block; }
.titulo__l1 { font-size: clamp(3.4rem, 17vw, 6rem); }
.titulo__l2 { font-size: clamp(2.4rem, 12vw, 4.4rem); font-style: italic; }
.titulo__l3 { font-size: clamp(4rem, 21vw, 7.5rem); margin-top: 0.1em; }
.letra {
  display: inline-block;
  color: var(--c);
  -webkit-text-stroke: 1.5px rgba(58, 58, 56, 0.25);
  text-shadow: 0 4px 0 rgba(58, 58, 56, 0.12);
  opacity: 0;
  transform: translateY(60px) scale(0.3) rotate(-20deg);
}
.titulo.is-in .letra {
  animation: letraEntra 0.7s cubic-bezier(.3,1.7,.5,1) forwards, letraBaila 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 45ms), calc(1.2s + var(--i) * 90ms);
}
.titulo__l3 .letra { color: var(--c); }
.titulo__sub { margin-top: 1.5rem; font-size: 1.1rem; color: var(--tinta-soft); }

/* Burbujas que suben */
.burbujas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.burbujas span {
  position: absolute;
  bottom: -40px;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.25) 40%, rgba(127,215,235,.25));
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: sube var(--t) linear infinite;
  animation-delay: var(--d);
}

.flota { position: absolute; z-index: -1; animation: flotar 6s ease-in-out infinite alternate; }
.flota--1 { width: 72px; top: 9%; left: 6%; }
.flota--2 { width: 58px; top: 15%; right: 7%; animation-delay: -2s; }
.flota--3 { width: 80px; bottom: 9%; right: 8%; animation-delay: -4s; opacity: 0.8; }
.flota--4 { width: 40px; bottom: 16%; left: 10%; animation-delay: -1s; }

/* =====================================================================
   GUIÑOS (botones escondidos)
   ===================================================================== */
.guino {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background: none;
  width: 52px;
  height: 52px;
  opacity: 0.9;
  animation: guiño 7s ease-in-out infinite;
}
.guino svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(0,0,0,.18)); }
.guino.is-pop { animation: pop 0.6s cubic-bezier(.3,1.8,.5,1); }
.guino--nopal { width: 40px; height: 54px; bottom: 4.5rem; left: 1.2rem; animation-delay: -1s; }
.guino--cafe { width: 46px; height: 52px; bottom: 1.4rem; right: 1.2rem; animation-delay: -3s; }
.guino--pulsera { width: 60px; height: 38px; top: 5rem; left: 1rem; opacity: 0.75; }
.guino--reloj { width: 40px; height: 40px; bottom: 6rem; right: 1.2rem; animation-delay: -2s; opacity: 0.8; }
.guino--cigarro { width: 62px; height: 22px; bottom: 2.2rem; left: 50%; margin-left: -31px; animation-delay: -5s; opacity: 0.7; }
.guino--chips { width: 56px; height: 44px; bottom: 1.5rem; right: 1rem; }
.guino--cubos { width: 40px; height: 40px; top: 5.5rem; left: 1.2rem; transform: rotate(-8deg); }
.guino--eval { width: 38px; height: 48px; bottom: 2rem; right: 1.4rem; animation-delay: -4s; }
.guino--tecla { width: 42px; height: 42px; bottom: 1.4rem; left: 1.2rem; }
.guino--infinito { width: 60px; height: 30px; top: 1.6rem; right: 1.2rem; animation-delay: -2s; }
.guino--flor { width: 40px; height: 48px; top: 5.5rem; right: 1.2rem; animation-delay: -3s; }

.humo { position: absolute; left: 50%; top: 0; pointer-events: none; }
.guino--reloj.is-pop .humo::before, .guino--reloj.is-pop .humo::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(220, 225, 230, 0.75);
  animation: humo 1.6s ease-out forwards;
}
.guino--reloj.is-pop .humo::after { animation-delay: 0.25s; left: 10px; }

/* =====================================================================
   2. FOTOS
   ===================================================================== */
.sec--fotos {
  background:
    radial-gradient(circle at 1px 1px, rgba(185,72,63,.18) 1.5px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--crema-alt), #ffe3dd);
}
.carrusel {
  display: flex;
  gap: 1.25rem;
  width: 100vw;
  padding: 1.5rem calc(50vw - min(36vw, 150px)) 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carrusel::-webkit-scrollbar { display: none; }
.polaroid {
  flex: 0 0 min(72vw, 300px);
  margin: 0;
  padding: 10px 10px 14px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--sombra);
  transform: rotate(var(--r));
  scroll-snap-align: center;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: #eee; }
.polaroid figcaption { padding-top: 10px; font-size: 1rem; line-height: 1.3; }
.polaroid figcaption b { display: block; font-family: var(--f-titulo); font-size: 1.4rem; color: var(--coral-strong); }
.sec--fotos.is-vacia .carrusel { display: none; }

/* =====================================================================
   3. VIDEO
   ===================================================================== */
.sec--video { background: linear-gradient(180deg, #e8f6fb, #c9eef8); }
.sec--video .h2 { color: var(--cielo-deep); }
.videos { display: grid; gap: 1.25rem; width: min(100%, 420px); }
.videos video, .videos .pendiente { width: 100%; aspect-ratio: 9 / 16; max-height: 75vh; border-radius: var(--radio); background: #000; box-shadow: var(--sombra); object-fit: cover; }
.videos .pendiente { background: linear-gradient(135deg, var(--cielo), var(--lila)); }

/* =====================================================================
   4. DROP
   ===================================================================== */
.sec--drop {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.6) 0 1px, transparent 2px) 0 0 / 70px 70px,
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.4) 0 1px, transparent 2px) 0 0 / 110px 110px,
    radial-gradient(60rem 40rem at 50% 120%, #3b1470, transparent 70%),
    var(--noche);
  color: #fff;
}
.h2--neon { color: #fff; text-shadow: 0 0 12px var(--neon), 0 0 30px rgba(255, 79, 163, 0.6); }
.btn--neon {
  background: linear-gradient(90deg, var(--neon), var(--lila), var(--cielo));
  color: #fff;
  margin-top: 1.5rem;
  box-shadow: 0 0 24px rgba(255, 79, 163, 0.6), 0 6px 0 rgba(0, 0, 0, 0.3);
  animation: latido 1.4s ease-in-out infinite;
  transition: opacity 0.3s, transform 0.3s;
}
.btn--neon.is-oculto { opacity: 0; transform: scale(0.5); pointer-events: none; height: 0; min-height: 0; padding: 0; margin: 0; }
.drop__contenido { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.drop__cuenta { font-family: var(--f-titulo); font-weight: 900; font-size: 8rem; line-height: 1; min-height: 0; color: var(--sol); text-shadow: 0 0 30px rgba(254, 212, 99, 0.7); }
.drop__cuenta.is-pulso { animation: cuenta 0.8s cubic-bezier(.2,1.4,.5,1); }
.drop__frase {
  margin: 1rem auto 0;
  max-width: 22ch;
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,1.4,.5,1);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.drop__frase:empty { margin: 0; }
.drop__frase.is-in { opacity: 1; transform: none; }
.drop__frase--2 { color: var(--sol); }
.drop__frase--3 { font-family: var(--f-texto); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--rosa); max-width: 26ch; }

.drop__escena { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.drop__espiral {
  position: absolute;
  left: 50%; top: 45%;
  width: 150vmax; height: 150vmax;
  margin: -75vmax 0 0 -75vmax;
  stroke: var(--neon);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.sec--drop.is-drop .drop__espiral { opacity: 0.35; animation: girar 9s linear infinite, tono 20s linear infinite; }
.drop__haz {
  position: absolute;
  left: 50%; bottom: -10%;
  width: 14px; height: 130%;
  transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(255,255,255,.0), var(--c) 40%, rgba(255,255,255,0));
  opacity: 0;
  filter: blur(2px);
  transition: opacity 1s ease;
}
.drop__haz--1 { --c: rgba(255, 79, 163, 0.7); --a: -35deg; --b: 10deg; }
.drop__haz--2 { --c: rgba(127, 215, 235, 0.7); --a: 30deg; --b: -15deg; }
.drop__haz--3 { --c: rgba(254, 212, 99, 0.6); --a: -10deg; --b: 25deg; }
.sec--drop.is-drop .drop__haz { opacity: 1; animation: barrer 5s ease-in-out infinite alternate; }
.sec--drop.is-drop .drop__haz--2 { animation-duration: 6.5s; }
.sec--drop.is-drop .drop__haz--3 { animation-duration: 4.2s; }
.drop__eq { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26%; opacity: 0; transition: opacity 1s; }
.sec--drop.is-drop .drop__eq { opacity: 0.85; }

/* ---------- Galería (Swiper, efecto tarjetas) ---------- */
.galeria { width: min(76vw, 310px); aspect-ratio: 3 / 4; margin: 1.5rem auto 0.5rem; overflow: visible; }
.galeria__slide {
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, #fff, var(--fondo));
  border: 6px solid #fff;
  box-shadow: 0 16px 36px -14px rgba(80, 20, 40, 0.55);
  overflow: hidden;
}
.galeria__slide img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Guiños con foto (stickers) ---------- */
.guino--foto { width: 78px; height: 96px; padding: 4px; background: #fff; border-radius: 10px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); }
.guino--foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.guino--joven { z-index: 0; bottom: 1rem; left: 0.8rem; width: 74px; height: 92px; opacity: 0.8; transform: rotate(-10deg); animation: none; }
.guino--joven.is-pop { opacity: 1; animation: pop 0.6s cubic-bezier(.3,1.8,.5,1); }
.guino--collarin { top: 5rem; right: 0.9rem; transform: rotate(8deg); animation-delay: -2.5s; }
.guino--yago { bottom: 0; left: 0; border-radius: 0 12px 0 0; width: 92px; height: 112px; animation: none; }

/* ---------- Sección final: regalo ---------- */
.sec--regalo { background: linear-gradient(170deg, var(--coral), #ff8fc7 55%, var(--lila)); color: #fff; }
.sec--regalo .h2 { color: #fff; text-shadow: 0 4px 0 rgba(120, 20, 60, 0.25); }
.regalo-final__logo { width: 96px; margin-bottom: 1rem; background: #fff; border-radius: 50%; padding: 12px; box-shadow: var(--sombra); }
.regalo-final__texto { max-width: 30ch; margin: 0 auto 2rem; font-size: 1.2rem; line-height: 1.55; }
.regalo-final__texto p { margin: 0 0 1rem; }
.regalo-final__texto strong { color: #fff; text-decoration: underline wavy var(--sol); text-underline-offset: 4px; }
.modal__pie--grande { font-size: 1.5rem; }

/* =====================================================================
   6. VALES (fondo marino)
   ===================================================================== */
.sec--vales { background: linear-gradient(180deg, #8fe0f0 0%, #3fb2cf 45%, #1d5e6d 100%); color: #fff; }
.h2--claro { color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.15); }
.sec__intro--claro { color: #f0fbff; }
.mar { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mar__ola { position: absolute; left: -50%; width: 200%; height: 90px; top: -40px; border-radius: 45%; background: rgba(255, 255, 255, 0.25); animation: ola 12s linear infinite; }
.mar__ola--2 { top: -55px; opacity: 0.6; animation-duration: 17s; animation-direction: reverse; }
.burbujas--mar span { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.15) 50%); }
.pez { position: absolute; width: 64px; animation: nadar 16s linear infinite; }
.pez--1 { top: 22%; left: -80px; }
.pez--2 { top: 64%; left: -80px; width: 48px; animation-duration: 22s; animation-delay: -9s; }
.estrella-mar { position: absolute; width: 60px; bottom: 14px; left: 12px; transform: rotate(-15deg); }

.vales { display: grid; gap: 1.1rem; width: min(100%, 380px); }
.vale {
  position: relative;
  height: 158px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
  color: var(--tinta);
}
.vale--0 { background: linear-gradient(135deg, #fff7e6, #ffe0b8); }
.vale--1 { background: linear-gradient(135deg, #ffe3e3, #ffb1a8); }
.vale--2 { background: linear-gradient(135deg, #ffd6ec, #ff8fc7); }
.vale::before { content: ""; position: absolute; top: 50%; left: -12px; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #3fb2cf; box-shadow: calc(min(100vw - 2.5rem, 380px)) 0 0 #3fb2cf; z-index: 1; }
.vale__premio { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.5rem 1.5rem; }
.vale__emoji { font-size: 2.2rem; line-height: 1; }
.vale__premio small { margin-top: 0.3rem; font-weight: 700; letter-spacing: 0.2em; font-size: 0.72rem; color: var(--tinta-soft); }
.vale__premio strong { font-family: var(--f-titulo); font-weight: 800; font-size: 1.55rem; line-height: 1.1; color: var(--coral-strong); }
.vale__det { font-size: 0.92rem; color: var(--tinta-soft); }
.vale__rasca { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; touch-action: none; cursor: grab; transition: opacity 0.6s ease; }
.vale__rasca.is-fuera { opacity: 0; pointer-events: none; }
.vale__candado { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; background: rgba(40, 30, 60, 0.55); color: #fff; font-size: 2rem; border-radius: 20px; }
.vale__candado small { font-size: 0.85rem; font-weight: 700; }
.vale.is-bloqueado .vale__candado { display: flex; }
.vale.is-descubierto .vale__premio { animation: pop 0.6s cubic-bezier(.3,1.8,.5,1); }

/* =====================================================================
   8. SQUISHY
   ===================================================================== */
.sec--squishy { background: radial-gradient(circle at 50% 45%, #fff6d8, #ffd6ec 55%, #d9cbff); }
.squishy { width: min(64vw, 240px); aspect-ratio: 1; padding: 0; border: 0; background: none; touch-action: manipulation; transition: transform 0.12s ease; filter: drop-shadow(0 18px 18px rgba(150, 80, 0, 0.25)); }
.squishy svg { width: 100%; height: 100%; }
.squishy.is-aplastado { transform: scale(1.22, 0.74) translateY(14%); }
.squishy.is-gelatina { animation: gelatina 0.8s ease; }
.squishy__cuenta { margin-top: 1rem; font-weight: 700; color: var(--tinta-soft); }
.corazon { position: fixed; z-index: 70; font-size: 1.6rem; pointer-events: none; animation: corazon 1.4s ease-out forwards; }

/* =====================================================================
   9. CARTA
   ===================================================================== */
.sec--carta { background: linear-gradient(180deg, #ffe3dd, var(--crema)); }
.carta {
  position: relative;
  width: min(100%, 460px);
  min-height: 60vh;
  padding: 2rem 1.5rem 1.5rem;
  text-align: left;
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(127, 215, 235, 0.35) 31px 32px),
    #fffdf7;
  border-radius: 8px;
  box-shadow: var(--sombra);
  transform: rotate(-0.8deg);
  line-height: 32px;
  font-size: 1.08rem;
}
.carta::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1rem; width: 2px; background: rgba(254, 117, 111, 0.45); }
.carta__texto p { margin: 0 0 32px; padding-left: 0.6rem; }
.carta__texto p:first-child { font-family: var(--f-titulo); font-style: italic; font-weight: 700; font-size: 1.5rem; color: var(--coral-strong); }
.carta:not(.is-fin) .carta__texto p:last-child::after { content: "▍"; color: var(--coral); animation: cursor 1s steps(1) infinite; }
.carta.is-fin .carta__texto p:last-child { font-family: var(--f-titulo); font-weight: 800; font-size: 1.4rem; color: var(--coral-strong); }
.carta__saltar { position: absolute; right: 0.75rem; bottom: -2.8rem; padding: 0.4rem 0.9rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.8); font-size: 0.85rem; color: var(--tinta-soft); }

/* =====================================================================
   MODALES
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.25s; }
.modal.is-on { opacity: 1; }
.modal__fondo { position: absolute; inset: 0; background: rgba(30, 15, 35, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__caja { position: relative; width: min(100%, 380px); max-height: 88vh; overflow: auto; padding: 1.5rem 1.25rem 1.25rem; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.modal__caja h3 { margin: 0 2rem 0.25rem 0; font-family: var(--f-titulo); font-size: 1.4rem; line-height: 1.15; color: var(--coral-strong); }
.modal__cerrar { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--coral-strong); color: #fff; font-size: 1.1rem; font-weight: 800; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); }
.modal__caja--foto { width: min(82vw, 330px); padding: 12px 12px 14px; transition: transform 0.35s cubic-bezier(.3,1.6,.5,1); }
.modal__foto img, .modal__foto .pendiente { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.modal__pie { margin: 0.6rem 0 0; text-align: center; font-family: var(--f-titulo); font-weight: 800; font-size: 1.2rem; color: var(--coral-strong); }

.eval__nota { margin: 0 0 1rem; font-size: 0.85rem; color: var(--tinta-soft); }
.eval__preg { padding: 0.6rem 0; border-top: 1px dashed #e7daca; }
.eval__preg p { margin: 0 0 0.4rem; font-size: 0.98rem; }
.eval__preg div { display: flex; gap: 0.5rem; }
.btn--mini { min-height: 38px; padding: 0.3rem 1.1rem; font-size: 0.95rem; background: var(--cielo); color: var(--cielo-deep); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12); }
.btn--mini-alt { background: var(--coral-soft); color: var(--coral-strong); }
.eval__preg.is-ok .btn--mini:not(.is-elegido) { opacity: 0.35; }
.eval__resultado { margin-top: 1rem; padding: 1rem; border-radius: 14px; background: #fff6d8; text-align: center; font-size: 1.15rem; animation: pop 0.6s cubic-bezier(.3,1.8,.5,1); }
.eval__resultado small { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--tinta-soft); }

.guinos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.guinos-lista li { padding: 0.55rem 0.75rem; border-radius: 12px; background: #f4f0f8; color: var(--tinta-soft); font-size: 0.92rem; }
.guinos-lista li.is-ok { background: #fff6d8; color: var(--tinta); }

/* Altar de Camila */
.modal__caja--altar { background: linear-gradient(180deg, #3b1d5e, #1f0f33); color: #fff; text-align: center; padding-top: 0; overflow: hidden; }
.papel-picado { display: flex; margin: 0 -1.25rem 1rem; }
.papel-picado span {
  flex: 1;
  height: 46px;
  background: var(--c, #ff4fa3);
  -webkit-mask: radial-gradient(circle at 50% 40%, transparent 5px, #000 6px) 0 0 / 14px 14px, linear-gradient(#000, #000);
  -webkit-mask-composite: source-in;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 85% 100%, 70% 80%, 50% 100%, 30% 80%, 15% 100%, 0 80%);
  animation: ondear 3s ease-in-out infinite alternate;
}
.papel-picado span:nth-child(2) { --c: #fed463; animation-delay: -0.5s; }
.papel-picado span:nth-child(3) { --c: #7ee0b5; animation-delay: -1s; }
.papel-picado span:nth-child(4) { --c: #ff9a1f; animation-delay: -1.5s; }
.papel-picado span:nth-child(5) { --c: #7fd7eb; animation-delay: -2s; }
.papel-picado span:nth-child(6) { --c: #b69cff; animation-delay: -2.5s; }
.altar { display: flex; flex-direction: column; align-items: center; }
.altar__foto { width: 130px; height: 150px; padding: 8px; background: #fff; border: 4px solid #ff9a1f; border-radius: 10px 10px 4px 4px; display: grid; place-items: center; box-shadow: 0 0 30px rgba(255, 154, 31, 0.45); }
.altar__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.altar__huella { font-size: 3.5rem; }
.altar__nivel { display: flex; justify-content: center; align-items: flex-end; gap: 0.35rem; width: 100%; padding: 0.4rem; background: #7a3b1b; border-top: 6px solid #a85628; }
.altar__nivel--1 { width: 85%; margin-top: 0.5rem; font-size: 1.5rem; }
.altar__nivel--2 { font-size: 1.2rem; gap: 0.15rem; }
.vela { position: relative; display: inline-block; width: 12px; height: 34px; background: #fff7e0; border-radius: 3px; margin: 0 6px; }
.vela__flama { position: absolute; left: 50%; top: -16px; width: 10px; height: 16px; margin-left: -5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fff6b0, #ffb627 60%, #ff6a1f); box-shadow: 0 0 14px 4px rgba(255, 182, 39, 0.55); transform-origin: 50% 100%; animation: flama 1.8s ease-in-out infinite alternate; }
.altar__texto { margin: 1rem 0 0.25rem; font-family: var(--f-titulo); font-size: 1.2rem; font-weight: 700; }

/* =====================================================================
   ANIMACIONES
   ===================================================================== */
@keyframes rebote { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes degradado { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes brillos { to { background-position: 90px 900px, 80px 585px; } }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes tambaleo { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-6deg); } 20% { transform: rotate(5deg); } 30% { transform: rotate(-3deg); } 40% { transform: rotate(0); } }
@keyframes brinco { 50% { transform: scale(1.1, 0.9); } }
@keyframes letraEntra { to { opacity: 1; transform: none; } }
@keyframes letraBaila { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes sube { from { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-55vh) translateX(14px); } to { transform: translateY(-110vh) translateX(-10px); opacity: 0; } }
@keyframes flotar { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-16px) rotate(6deg); } }
@keyframes guiño { 0%, 88%, 100% { transform: rotate(0) scale(1); } 92% { transform: rotate(-12deg) scale(1.12); } 96% { transform: rotate(10deg) scale(1.08); } }
@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes humo { from { transform: translate(-50%, 0) scale(0.4); opacity: 0.9; } to { transform: translate(-50%, -70px) scale(2.2); opacity: 0; } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes tono { to { filter: hue-rotate(360deg); } }
@keyframes barrer { from { transform: translateX(-50%) rotate(var(--a)); } to { transform: translateX(-50%) rotate(var(--b)); } }
@keyframes cuenta { 0% { transform: scale(2.4); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1); } }
@keyframes burla { 0%, 100% { transform: translateX(-50%) rotate(0); } 25% { transform: translateX(-50%) rotate(-8deg); } 75% { transform: translateX(-50%) rotate(8deg); } }
@keyframes temblor { 0% { transform: translate(0); } 25% { transform: translate(-6px, 3px); } 50% { transform: translate(5px, -4px); } 75% { transform: translate(-3px, -2px); } 100% { transform: translate(0); } }
@keyframes jitter { 0%, 100% { transform: none; } 10% { transform: translate(-2px, 1px); } 11% { transform: none; } 47% { transform: translate(3px, 0) skewX(-2deg); } 48% { transform: none; } 80% { transform: translate(-1px, -2px); } 81% { transform: none; } }
@keyframes ola { to { transform: translateX(25%); } }
@keyframes nadar { from { transform: translateX(0) translateY(0); } 50% { transform: translateX(60vw) translateY(-14px); } to { transform: translateX(130vw) translateY(0); } }
@keyframes gotear { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 15% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(70vh) scale(1); } }
@keyframes gelatina { 0% { transform: scale(1.22, 0.74); } 30% { transform: scale(0.82, 1.2); } 50% { transform: scale(1.12, 0.9); } 70% { transform: scale(0.95, 1.05); } 100% { transform: scale(1); } }
@keyframes corazon { from { transform: translate(-50%, 0) scale(0.6); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), -160px) scale(1.3); opacity: 0; } }
@keyframes cursor { 50% { opacity: 0; } }
@keyframes sello { to { opacity: 0.92; transform: rotate(-14deg) scale(1); } }
@keyframes ondear { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(3px) rotate(1deg); } }
@keyframes flama { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.12, 0.92) rotate(3deg); } }

/* Si pidió menos movimiento: se quitan los movimientos continuos y bruscos */
@media (prefers-reduced-motion: reduce) {
  .flotante--siguiente, .portada, .portada__brillos, .regalo, .flota, .burbujas span, .guino, .mar__ola, .pez, .btn--neon, .cierre__teamo span, .portada__texto { animation: none !important; }
  .sec--drop.is-drop .drop__espiral, .sec--drop.is-drop .drop__haz { animation: none !important; }
  body.is-temblor main, .error__capa { animation: none !important; }
  .titulo.is-in .letra { animation: letraEntra 0.3s ease forwards !important; animation-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
