/* ================= PALETA ================= */
:root {
  --rojo: #c8102e;
  --rojo-oscuro: #8b0a1f;
  --vino: #5c0615;
  --rosa: #f7c6cf;
  --rosa-suave: #fdecef;
  --blanco: #fffafa;
  --dorado: #d4a373;
  --texto: #3a1a20;
  --sombra: 0 10px 30px rgba(139, 10, 31, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
  line-height: 1.6;
}
body.locked { overflow: hidden; }

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ================= INTRO ================= */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, var(--rojo) 0%, var(--vino) 100%);
  transition: opacity .8s ease, visibility .8s;
}
.intro.hide { opacity: 0; visibility: hidden; }
.intro-card {
  background: var(--blanco); padding: 2.5rem 2rem; border-radius: 24px;
  text-align: center; width: min(90%, 380px); box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.intro-heart { font-size: 3.5rem; color: var(--rojo); animation: latido 1.2s infinite; }
.intro-card h2 { font-family: 'Great Vibes', cursive; font-size: 2.6rem; color: var(--rojo-oscuro); font-weight: 400; }
.intro-card p { margin: .5rem 0 1rem; font-size: .95rem; }
.intro-card input {
  width: 100%; padding: .8rem 1rem; border: 2px solid var(--rosa); border-radius: 12px;
  font-size: 1.1rem; text-align: center; outline: none; margin-bottom: 1rem; font-family: inherit;
}
.intro-card input:focus { border-color: var(--rojo); }
.intro-error { color: var(--rojo); min-height: 1.5em; font-size: .9rem; }
.shake { animation: shake .4s; }

/* ================= CORAZONES DE FONDO ================= */
.hearts-bg { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.float-heart {
  position: absolute; bottom: -40px; color: var(--rojo); opacity: .55;
  animation: subir linear forwards;
}
.click-heart {
  position: fixed; pointer-events: none; z-index: 999; color: var(--rojo);
  animation: explotar 1s ease-out forwards;
}

/* ================= MÚSICA ================= */
.music-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: var(--rojo); color: #fff; font-size: 1.5rem; cursor: pointer;
  box-shadow: var(--sombra); transition: transform .2s;
}
.music-btn:hover { transform: scale(1.1); }
.music-btn.playing { animation: girar 3s linear infinite; }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.4rem;
  padding: .8rem 1rem;
  background: rgba(255, 250, 250, .85); backdrop-filter: blur(8px);
  box-shadow: 0 2px 15px rgba(139,10,31,.08);
}
.nav a { color: var(--rojo-oscuro); text-decoration: none; font-size: .9rem; position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background: var(--rojo); transition: width .3s;
}
.nav a:hover::after { width: 100%; }

/* ================= BOTONES ================= */
.btn {
  display: inline-block; padding: .8rem 1.8rem; border-radius: 50px; border: none;
  background: var(--rojo); color: #fff; font-family: inherit; font-size: 1rem;
  cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 18px rgba(200,16,46,.35);
}
.btn:hover { transform: translateY(-3px); background: var(--rojo-oscuro); }
.btn-light { background: #fff; color: var(--rojo); }
.btn-light:hover { background: var(--rosa-suave); }
.btn-outline { background: transparent; color: var(--rojo); border: 2px solid var(--rojo); box-shadow: none; }
.btn-big { font-size: 1.3rem; padding: 1rem 2.4rem; }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden; z-index: 2;
}
.hero-photo {
  position: absolute; inset: 0; background: linear-gradient(135deg, var(--rojo), var(--vino));
  background-size: cover; background-position: center; transform: scale(1.05);
  animation: zoomLento 20s ease-in-out infinite alternate;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(92,6,21,.55), rgba(139,10,31,.75)); }
.hero-content { position: relative; padding: 6rem 1.5rem 3rem; max-width: 800px; }
.hero-small { letter-spacing: .4em; text-transform: uppercase; font-size: .85rem; opacity: .9; }
.hero-title { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: clamp(3rem, 10vw, 6.5rem); line-height: 1.1; margin: .5rem 0; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.amp { color: var(--rosa); }
.hero-sub { font-size: 1.2rem; }
.big-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; vertical-align: middle; }
.hero-frase { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.15rem; margin: 1.2rem 0 2rem; opacity: .95; }

/* ================= SECCIONES ================= */
.section { position: relative; z-index: 2; padding: 6rem 1.5rem; text-align: center; background: var(--blanco); }
.section-red { background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%); color: #fff; }
.section-soft { background: var(--rosa-suave); }
.section-title { font-size: clamp(2rem, 5vw, 3rem); color: var(--rojo-oscuro); margin-bottom: .3rem; }
.section-title::after { content: '❤'; display: block; font-size: 1rem; color: var(--rojo); margin-top: .3rem; }
.section-title.light, .section-sub.light { color: #fff; }
.section-title.light::after { color: var(--rosa); }
.section-sub { color: #8a5a63; margin-bottom: 3rem; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ================= CONTADOR ================= */
.counter { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.counter-box {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px; padding: 1.2rem 1rem; min-width: 110px; backdrop-filter: blur(4px);
}
.counter-box span { display: block; font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; }
.counter-box small { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; opacity: .85; }
.counter-note { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.2rem; }
.counter-extra { margin-top: 1rem; opacity: .85; font-size: .95rem; }

/* ================= LÍNEA DE TIEMPO ================= */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--rosa), var(--rojo), var(--rosa)); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 1rem 3rem 3rem; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; text-align: left; }
.tl-dot {
  position: absolute; top: 1.4rem; right: -18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--rojo); color: #fff; display: grid; place-items: center; font-size: 1rem;
  box-shadow: 0 0 0 6px var(--rosa-suave); z-index: 2;
}
.tl-item:nth-child(even) .tl-dot { left: -18px; right: auto; }
.tl-card {
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra);
  transition: transform .3s;
}
.tl-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.tl-card .img-wrap { aspect-ratio: 4/3; }
.tl-body { padding: 1.3rem 1.5rem 1.6rem; }
.tl-date { color: var(--rojo); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.tl-body h3 { color: var(--rojo-oscuro); font-size: 1.4rem; margin: .2rem 0 .5rem; }
.tl-body p { font-size: .95rem; color: #5b3a40; }

/* Imagen o espacio vacío */
.img-wrap { position: relative; width: 100%; overflow: hidden; background: var(--rosa-suave); cursor: zoom-in; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.img-wrap:hover img { transform: scale(1.06); }
.img-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 3px dashed var(--rosa); color: var(--rojo); font-size: .9rem; gap: .3rem; padding: 1rem; text-align: center;
}
.img-placeholder .ph-icon { font-size: 2.2rem; }

/* ================= GALERÍA (estilo polaroid) ================= */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.polaroid {
  background: #fff; padding: .8rem .8rem 2.8rem; box-shadow: var(--sombra); position: relative;
  transition: transform .35s;
}
.polaroid:nth-child(odd) { transform: rotate(-3deg); }
.polaroid:nth-child(even) { transform: rotate(2.5deg); }
.polaroid:hover { transform: rotate(0) scale(1.05); z-index: 3; }
.polaroid .img-wrap { aspect-ratio: 1; }
.polaroid p { position: absolute; bottom: .5rem; left: 0; right: 0; font-family: 'Great Vibes', cursive; font-size: 1.5rem; color: var(--rojo-oscuro); }
.polaroid::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 80px; height: 24px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(200,16,46,.25); z-index: 2;
}

/* ================= CARTAS DE RAZONES ================= */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto 3rem; }
.flip { perspective: 1000px; height: 240px; cursor: pointer; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .8s; transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.4rem; box-shadow: var(--sombra);
}
.flip-front { background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro)); color: #fff; }
.flip-front .num { font-family: 'Playfair Display', serif; font-size: 3rem; }
.flip-front small { opacity: .8; }
.flip-back { background: #fff; color: var(--rojo-oscuro); transform: rotateY(180deg); border: 2px solid var(--rosa); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; }
.jar { max-width: 500px; margin: 0 auto; }
.jar p:first-child { margin-bottom: 1rem; }
.razon-azar { margin-top: 1.5rem; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; color: var(--rojo); min-height: 2em; transition: opacity .4s; }

/* ================= SOBRE / CARTA ================= */
.envelope-wrap { display: grid; place-items: center; padding-top: 8rem; min-height: 520px; }
.envelope {
  position: relative; width: min(90vw, 420px); height: 260px; background: #f3d3d9; cursor: pointer;
  border-radius: 0 0 10px 10px; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.env-flap {
  position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 4;
  border-left: calc(min(90vw, 420px) / 2) solid transparent; border-right: calc(min(90vw, 420px) / 2) solid transparent;
  border-top: 150px solid #e8b4be; transform-origin: top; transition: transform .6s .1s, z-index 0s .4s;
}
.env-front {
  position: absolute; inset: 0; z-index: 3; border-radius: 0 0 10px 10px;
  background:
    linear-gradient(to top right, #f7dde2 50%, transparent 50.5%) left/50% 100% no-repeat,
    linear-gradient(to top left, #f7dde2 50%, transparent 50.5%) right/50% 100% no-repeat;
}
.env-seal {
  position: absolute; top: 120px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%; background: var(--rojo); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 4px 10px rgba(0,0,0,.25); transition: opacity .3s;
}
.env-letter {
  position: absolute; left: 5%; right: 5%; top: 10px; height: 240px; z-index: 2;
  background: #fff; border-radius: 6px; padding: 1.5rem; text-align: left; color: var(--texto);
  overflow: hidden; transition: transform .8s .5s, height .8s .5s; box-shadow: 0 2px 10px rgba(0,0,0,.1);
  background-image: repeating-linear-gradient(transparent, transparent 31px, #f5dfe3 32px);
}
.envelope.open .env-flap { transform: rotateX(180deg); z-index: 1; }
.envelope.open .env-seal { opacity: 0; }
.envelope.open .env-letter { transform: translateY(-170px); height: 540px; overflow-y: auto; z-index: 6; }
.letter-title { font-family: 'Great Vibes', cursive; font-size: 2rem; color: var(--rojo-oscuro); }
.letter-body p { margin-bottom: .8rem; font-size: .95rem; line-height: 2em; }
.letter-sign { font-family: 'Great Vibes', cursive; font-size: 1.6rem; color: var(--rojo); text-align: right; margin-top: 1rem; }
#carta { padding-bottom: 14rem; }

/* ================= CUPONES ================= */
.coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.coupon {
  position: relative; background: #fff; border: 2px dashed var(--rojo); border-radius: 14px;
  padding: 1.5rem 1.2rem; cursor: pointer; transition: transform .25s, opacity .3s;
}
.coupon:hover { transform: scale(1.04); }
.coupon .c-icon { font-size: 2rem; }
.coupon h4 { font-family: 'Playfair Display', serif; color: var(--rojo-oscuro); font-size: 1.15rem; margin: .3rem 0; }
.coupon small { color: #8a5a63; }
.coupon.used { opacity: .55; }
.coupon.used::after {
  content: 'CANJEADO'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-15deg);
  border: 3px solid var(--rojo); color: var(--rojo); padding: .2rem .8rem; font-weight: 600; letter-spacing: .15em; border-radius: 6px;
}

/* ================= PREGUNTA FINAL ================= */
.big-question { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 4vw, 2.2rem); max-width: 700px; margin: 1rem auto 2.5rem; }
.question-btns { position: relative; display: flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 120px; }
#btn-no { position: relative; transition: transform .2s; }
.respuesta { animation: aparecer 1s ease; }
.respuesta h3 { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: clamp(2.5rem, 8vw, 4rem); color: var(--rojo); }
.respuesta p { font-size: 1.2rem; }
.hidden { display: none; }

/* ================= FOOTER ================= */
.footer { position: relative; z-index: 2; background: var(--vino); color: #fff; text-align: center; padding: 2rem 1rem; font-size: .9rem; }
.beat { display: inline-block; color: var(--rosa); animation: latido 1.2s infinite; }

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(40,0,8,.92);
  display: none; flex-direction: column; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.show { display: flex; animation: aparecer .3s; }
.lightbox img { max-width: 92vw; max-height: 80vh; border: 8px solid #fff; border-radius: 6px; }
.lightbox p { color: #fff; margin-top: 1rem; font-family: 'Great Vibes', cursive; font-size: 1.8rem; }
.lb-close { position: absolute; top: 15px; right: 25px; background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; }

/* ================= TOAST ================= */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 150%); z-index: 950;
  background: var(--rojo-oscuro); color: #fff; padding: 1rem 1.6rem; border-radius: 50px;
  box-shadow: var(--sombra); transition: transform .4s; max-width: 90vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ================= ANIMACIONES ================= */
@keyframes latido { 0%,100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@keyframes subir { to { transform: translateY(-110vh) rotate(360deg); opacity: 0; } }
@keyframes explotar { 0% { transform: translate(-50%,-50%) scale(.5); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.4); opacity: 0; } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes zoomLento { to { transform: scale(1.15); } }
@keyframes aparecer { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }

/* ================= ROMPECABEZAS ================= */
.puzzle-wrap { display: flex; justify-content: center; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.puzzle {
  --n: 3; width: min(88vw, 420px); aspect-ratio: 1; display: grid;
  grid-template-columns: repeat(var(--n), 1fr); gap: 3px; padding: 6px;
  background: #fff; border-radius: 14px; box-shadow: var(--sombra);
}
.pieza {
  border-radius: 6px; cursor: pointer; background-repeat: no-repeat;
  transition: transform .2s, box-shadow .2s, outline-color .2s; outline: 3px solid transparent;
}
.pieza:hover { transform: scale(.97); }
.pieza.sel { outline-color: var(--rojo); transform: scale(.92); box-shadow: 0 0 0 4px rgba(200,16,46,.25); }
.puzzle.resuelto { gap: 0; transition: gap .6s; }
.puzzle.resuelto .pieza { border-radius: 0; cursor: default; }
.puzzle-side { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.puzzle-moves { font-size: 1.1rem; color: var(--rojo-oscuro); }
.puzzle-preview { width: 140px; aspect-ratio: 1; border-radius: 10px; background-size: cover; background-position: center; border: 4px solid #fff; box-shadow: var(--sombra); }
.puzzle-btns { display: flex; flex-direction: column; gap: .6rem; }
.puzzle-ok { margin: 2rem auto 0; max-width: 600px; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.4rem; color: var(--rojo); animation: aparecer .8s; }

/* ================= GALÁPAGOS ================= */
.viaje { color: #fff; overflow: hidden; }
.viaje-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: linear-gradient(160deg, #0e7490 0%, #155e75 45%, var(--rojo-oscuro) 100%);
}
.viaje-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,116,144,.45), rgba(92,6,21,.7)); }
.viaje-content { position: relative; max-width: 900px; margin: 0 auto; }
.viaje-title { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1.1; margin: .3rem 0 1rem; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.viaje-texto { max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.viaje-fecha { margin-top: 1.5rem; opacity: .9; font-style: italic; }
.barco { max-width: 600px; margin: 2.5rem auto 0; }
.barco-linea { position: relative; height: 10px; border-radius: 10px; background: rgba(255,255,255,.25); }
.barco-progreso { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--rosa), #fff); width: 0; transition: width 1s; }
.barco-icono { position: absolute; top: -30px; left: 0; font-size: 1.8rem; transform: translateX(-50%); transition: left 1s; animation: mecer 2.5s ease-in-out infinite; }
.barco-labels { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .9rem; }

/* ================= DESQUITE / MUÑECO ================= */
.armas { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.arma { border: 2px solid var(--rosa); background: #fff; color: var(--rojo-oscuro); padding: .45rem 1rem; border-radius: 50px; cursor: pointer; font-family: inherit; transition: all .2s; }
.arma.activa, .arma:hover { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.ring { position: relative; height: 430px; display: flex; justify-content: center; align-items: flex-end; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.muneco { position: relative; width: 200px; height: 400px; transform-origin: 50% 100%; cursor: pointer; }
.muneco.golpe-izq { animation: golpeIzq .55s cubic-bezier(.3,1.6,.5,1); }
.muneco.golpe-der { animation: golpeDer .55s cubic-bezier(.3,1.6,.5,1); }
.mn-cabeza {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 130px; height: 130px; border-radius: 50%;
  background: #ffd9c2; border: 4px solid #e8b49a; z-index: 3; overflow: visible;
}
.mn-cabeza::before { /* pelito */
  content: ''; position: absolute; top: -8px; left: 10px; right: 10px; height: 45px; border-radius: 60px 60px 20px 20px; background: #3b2418;
}
.mn-cara-foto { position: absolute; inset: 0; border-radius: 50%; background-size: cover; background-position: center; display: none; z-index: 1; }
.muneco.con-foto .mn-cara-foto { display: block; }
.muneco.con-foto .mn-cabeza::before, .muneco.con-foto .mn-ojos, .muneco.con-foto .mn-cachetes, .muneco.con-foto .mn-boca { display: none; }
.mn-ojos { position: absolute; top: 55px; left: 0; right: 0; display: flex; justify-content: center; gap: 30px; z-index: 2; }
.mn-ojo { width: 14px; height: 18px; border-radius: 50%; background: #2a1a14; position: relative; }
.mn-ojo::after { content: ''; position: absolute; top: 3px; left: 3px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.muneco.mareado .mn-ojo { background: none; width: 18px; height: 18px; }
.muneco.mareado .mn-ojo::before, .muneco.mareado .mn-ojo::after {
  content: ''; position: absolute; top: 8px; left: -1px; width: 20px; height: 4px; border-radius: 2px; background: #2a1a14; transform: rotate(45deg);
}
.muneco.mareado .mn-ojo::after { transform: rotate(-45deg); }
.mn-cachetes { position: absolute; top: 75px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 14px; z-index: 2; }
.mn-cachetes span { width: 22px; height: 12px; border-radius: 50%; background: rgba(240,110,130,.55); }
.mn-boca { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); width: 34px; height: 17px; border: 4px solid #8b2b2b; border-top: none; border-radius: 0 0 34px 34px; z-index: 2; transition: all .2s; }
.muneco.auch .mn-boca { width: 22px; height: 22px; border: 4px solid #8b2b2b; border-radius: 50%; background: #6b1a1a; }
.mn-curita { position: absolute; top: 18px; right: 4px; z-index: 4; background: #f6d7a7; color: #d9a35c; font-size: .8rem; padding: 0 10px; border-radius: 6px; transform: rotate(35deg) scale(0); transition: transform .3s; }
.muneco.lvl1 .mn-curita { transform: rotate(35deg) scale(1); }
.mn-chichon { position: absolute; top: -18px; left: 30px; width: 30px; height: 30px; border-radius: 50%; background: #ffc4a8; border: 3px solid #e8b49a; z-index: 0; transform: scale(0); transition: transform .3s; }
.muneco.lvl2 .mn-chichon { transform: scale(1); }
.mn-estrellas { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font-size: 1.3rem; white-space: nowrap; opacity: 0; z-index: 5; }
.muneco.mareado .mn-estrellas { opacity: 1; animation: orbita 1.2s linear infinite; }
.mn-cuerpo {
  position: absolute; top: 140px; left: 50%; transform: translateX(-50%); width: 120px; height: 140px; border-radius: 50px 50px 30px 30px;
  background: linear-gradient(180deg, var(--rojo), var(--rojo-oscuro)); z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
}
.mn-corazon { font-size: 2rem; animation: latido 1.2s infinite; }
.mn-nombre { font-family: 'Great Vibes', cursive; font-size: 1.5rem; }
.mn-brazo { position: absolute; top: 160px; width: 30px; height: 95px; border-radius: 20px; background: var(--rojo); z-index: 1; }
.mn-brazo.izq { left: 22px; transform: rotate(25deg); transform-origin: top; }
.mn-brazo.der { right: 22px; transform: rotate(-25deg); transform-origin: top; }
.mn-brazo::after { content: ''; position: absolute; bottom: -12px; left: -2px; width: 34px; height: 34px; border-radius: 50%; background: #ffd9c2; border: 3px solid #e8b49a; }
.mn-resorte { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 34px; height: 95px; background: repeating-linear-gradient(0deg, #9aa0a6 0 6px, #d7dbdf 6px 12px); border-radius: 6px; z-index: 0; }
.mn-base { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 170px; height: 34px; border-radius: 50%; background: var(--vino); box-shadow: 0 10px 20px rgba(0,0,0,.2); }
.mn-bocadillo {
  position: absolute; top: -40px; left: 75%; z-index: 6; background: #fff; color: var(--rojo-oscuro); padding: .5rem 1rem; border-radius: 18px;
  box-shadow: var(--sombra); white-space: nowrap; font-weight: 600; opacity: 0; transform: scale(.6); transition: all .2s; pointer-events: none;
}
.mn-bocadillo.show { opacity: 1; transform: scale(1); }
.mn-bocadillo::after { content: ''; position: absolute; bottom: -8px; left: 20px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.pow {
  position: fixed; z-index: 998; pointer-events: none; font-size: 2.6rem; font-weight: 800; transform: translate(-50%,-50%);
  animation: pow .7s ease-out forwards;
}
.pow b { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: #fff; background: var(--rojo); padding: 0 .6rem; border-radius: 6px; white-space: nowrap; }
.golpes { font-size: 1.2rem; color: var(--rojo-oscuro); margin-top: 1rem; }
.dq-final { margin-top: 1.5rem; animation: aparecer .6s; }
.dq-final p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.4rem; color: var(--rojo); margin-bottom: 1rem; }
.muneco.abrazo { animation: abrazo 1s ease-in-out infinite; }

@keyframes golpeIzq { 0% { transform: rotate(0); } 30% { transform: rotate(-24deg); } 60% { transform: rotate(12deg); } 80% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@keyframes golpeDer { 0% { transform: rotate(0); } 30% { transform: rotate(24deg); } 60% { transform: rotate(-12deg); } 80% { transform: rotate(5deg); } 100% { transform: rotate(0); } }
@keyframes pow { 0% { transform: translate(-50%,-50%) scale(.3) rotate(-20deg); opacity: 1; } 60% { transform: translate(-50%,-90%) scale(1.3) rotate(10deg); opacity: 1; } 100% { transform: translate(-50%,-140%) scale(1); opacity: 0; } }
@keyframes orbita { 0% { transform: translateX(-50%) rotate(-8deg); } 50% { transform: translateX(-50%) rotate(8deg); } 100% { transform: translateX(-50%) rotate(-8deg); } }
@keyframes mecer { 0%,100% { transform: translateX(-50%) rotate(-6deg); } 50% { transform: translateX(-50%) rotate(6deg); } }
@keyframes abrazo { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ================= MÓVIL ================= */
@media (max-width: 760px) {
  .nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 1rem; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .8rem; white-space: nowrap; }
  .ring { height: 400px; transform: scale(.9); transform-origin: bottom; }
  .timeline::before { left: 20px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 1rem 0 2.5rem 55px; text-align: left; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 2px; right: auto; }
  .counter-box { min-width: 90px; padding: 1rem .6rem; }
  .counter-box span { font-size: 2rem; }
}
