/* ═══════════ FUENTES LOCALES (sin Google Fonts = carga instantánea) ═══════════ */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/quicksand-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/great-vibes.woff2') format('woff2');
}

/* ═══════════ TEMA ═══════════ */
:root {
  --rosa: #ff6b8a;
  --rosa-medio: #f75d7e;
  --rosa-suave: #ffd9e2;
  --rosa-crema: #fff0f3;
  --rojo: #e63956;
  --dorado: #d4af37;
  --dorado-suave: #f0d98c;
  --texto: #4a2b33;
  --blanco: #ffffff;
  --sombra: 0 12px 30px rgba(230, 57, 86, 0.14);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(180deg, #fff5f7 0%, #ffe9ee 50%, #ffdfe7 100%);
  color: var(--texto);
  overflow-x: hidden;
}

.script { font-family: 'Great Vibes', cursive; font-weight: 400; }

.hidden { display: none !important; }

/* ═══════════ PANTALLA INICIAL — REGALO ═══════════ */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #ffc1cf 0%, #ff8fab 45%, #f76a8c 100%);
  transition: opacity 1s ease, transform 1s ease;
  overflow: hidden;
}
#intro-screen.fade-out { opacity: 0; transform: scale(1.08); pointer-events: none; }

.intro-sparkles {
  position: absolute;
  top: 8%;
  font-size: 40px;
  animation: floaty 3s ease-in-out infinite;
  opacity: .9;
}

.intro-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(44px, 8vw, 72px);
  color: #fff;
  text-shadow: 0 4px 18px rgba(160, 20, 60, .35);
  margin-bottom: 6px;
  animation: fadeUp 1.2s ease both;
}

.intro-sub {
  color: #fff3f5;
  font-size: clamp(14px, 2.4vw, 17px);
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 30px;
  animation: fadeUp 1.2s .2s ease both;
}

#gift {
  position: relative;
  width: 230px;
  height: 215px;
  cursor: pointer;
  animation: sway 3.2s ease-in-out infinite;
  transition: transform .3s ease;
  filter: drop-shadow(0 18px 25px rgba(140, 10, 50, .35));
}
#gift:hover { transform: scale(1.05); }

.gift-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 230px;
  height: 150px;
  background: linear-gradient(150deg, #ff7d9c 0%, #f7416b 55%, #e0264f 100%);
  border-radius: 10px;
  box-shadow: inset 0 -8px 18px rgba(0,0,0,.12);
}

.gift-lid {
  position: absolute;
  top: -6px;
  left: -12px;
  width: 254px;
  height: 56px;
  background: linear-gradient(150deg, #ff94ae 0%, #f75278 60%, #ef3a63 100%);
  border-radius: 10px;
  box-shadow: inset 0 -5px 12px rgba(0,0,0,.10);
  z-index: 3;
  transition: transform .8s cubic-bezier(.6,-0.2,.3,1.4), opacity .6s ease;
}

.gift-ribbon-v {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 150px;
  background: linear-gradient(180deg, var(--dorado-suave), var(--dorado));
  z-index: 2;
}

.gift-ribbon-h {
  position: absolute;
  top: 0;
  left: 0;
  width: 230px;
  height: 44px;
  background: linear-gradient(180deg, var(--dorado-suave), var(--dorado));
  z-index: 4;
  border-radius: 6px;
}

.gift-bow { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); z-index: 6; width: 90px; height: 60px; }
.bow-left, .bow-right {
  position: absolute; top: 0; width: 44px; height: 40px; background: var(--dorado);
  border-radius: 50% 50% 50% 50%;
}
.bow-left { left: 4px; transform: rotate(-24deg) skewX(-8deg); box-shadow: inset -4px -4px 8px rgba(140,100,0,.25); }
.bow-right { right: 4px; transform: rotate(24deg) skewX(8deg); box-shadow: inset -4px -4px 8px rgba(140,100,0,.25); }
.bow-center {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; background: #b8860b; border-radius: 50%; z-index: 2;
}

.gift-shadow {
  position: absolute; bottom: -12px; left: 10%;
  width: 80%; height: 22px;
  background: rgba(120, 0, 40, .25);
  border-radius: 50%;
  filter: blur(6px);
}

.gift-heart {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 64px;
  z-index: 7;
  text-shadow: 0 6px 16px rgba(160,20,60,.4);
  transition: transform .5s cubic-bezier(.5,1.6,.4,1);
}
.gift-heart.show { transform: translateX(-50%) scale(1); animation: heartBeat 1s ease infinite; }

/* Regalo abriéndose */
#gift.open .gift-lid { transform: translateY(-150px) rotate(-18deg); opacity: 0; }
#gift.open { animation: none; }

.intro-hint {
  margin-top: 34px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  animation: pulse 1.8s ease infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
@keyframes heartBeat {
  0%, 100% { transform: translateX(-50%) scale(1); }
  25% { transform: translateX(-50%) scale(1.25); }
  50% { transform: translateX(-50%) scale(1); }
  75% { transform: translateX(-50%) scale(1.15); }
}

/* ═══════════ CONFETTI ═══════════ */
#confetti-canvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2000;
}

/* ═══════════ NAV ═══════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 57, 86, .12);
}
.nav-logo {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: var(--rojo);
  font-weight: 700;
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 12px;
  border-radius: 30px;
  transition: all .25s ease;
}
.nav-links a:hover { background: var(--rosa-suave); color: var(--rojo); }

/* ═══════════ SECCIONES ═══════════ */
section { padding: 90px 24px; position: relative; }
.section-tag {
  display: inline-block;
  background: var(--rosa-suave);
  color: var(--rojo);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 10px;
}
.section-sub { color: #8a636d; font-size: 16.5px; margin-bottom: 42px; }

/* ═══════════ HERO ═══════════ */
#hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
  overflow: hidden;
}
.hero-eyebrow {
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--dorado);
  font-size: 14px;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 #fff;
}
.hero-title {
  font-size: clamp(40px, 8vw, 84px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--rojo);
  margin-bottom: 22px;
}
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(30px); animation: wordUp .7s ease forwards; }
.hero-title .word:nth-child(1) { animation-delay: .1s; }
.hero-title .word:nth-child(2) { animation-delay: .35s; }
.hero-title .word:nth-child(3) { font-size: 1.18em; animation-delay: .6s; color: var(--dorado); }
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  max-width: 560px;
  color: #7c4a56;
  font-size: 17.5px;
  font-weight: 500;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 1s .9s ease forwards;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadeUp 1s 1.15s ease forwards; }
.btn {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 28px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--rosa), var(--rojo)); color: #fff; box-shadow: 0 10px 24px rgba(230, 57, 86, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(230, 57, 86, .45); }
.btn-ghost { background: #fff; color: var(--rojo); border: 2px solid var(--rosa-suave); }
.btn-ghost:hover { border-color: var(--rosa); transform: translateY(-3px); }

.hero-scroll {
  position: absolute; bottom: 26px;
  font-size: 22px;
  color: var(--rosa);
  animation: bounceDown 1.6s ease infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

/* Pétalos */
.petals-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  top: -40px;
  font-size: 20px;
  opacity: .75;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  to { transform: translateY(105vh) rotate(360deg); opacity: .2; }
}

/* ═══════════ CONTADOR ═══════════ */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 640px;
  margin: 0 auto 26px;
}
.counter-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 28px 12px;
  text-align: center;
  box-shadow: var(--sombra);
  border-bottom: 4px solid var(--rosa);
}
.counter-num { font-size: clamp(32px, 5vw, 48px); font-weight: 700; color: var(--rojo); }
.counter-label { font-weight: 700; color: #9a6b76; font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.counter-note { text-align: center; color: #a07a84; font-weight: 600; }

/* ═══════════ CARTA ═══════════ */
#carta { text-align: center; }
#sobre {
  position: relative;
  width: min(560px, 92vw);
  height: 400px;
  margin: 0 auto;
  cursor: pointer;
  perspective: 1200px;
}
.sobre-back {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #ffb3c6, #ff8fab);
  border-radius: 14px;
  box-shadow: var(--sombra);
}
.sobre-carta {
  position: absolute;
  left: 6%; right: 6%; top: 8%;
  height: 78%;
  background: #fffdf7;
  border-radius: 10px;
  padding: 26px 30px;
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  color: #5c3a44;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  transform: translateY(0);
  transition: transform .9s cubic-bezier(.5,1.4,.4,1) .35s;
  overflow: hidden;
  cursor: default;
}
.carta-texto { white-space: pre-wrap; }
.carta-firma { margin-top: 14px; font-weight: 700; color: var(--rojo); font-size: 16px; }
.carta-firma .script { font-size: 24px; }
.sobre-front {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #ff9db6, #f76a8c);
  border-radius: 14px;
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
  transition: transform .7s ease;
  transform-origin: top;
}
.sobre-flap {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #ffc1cf, #ff9db6);
  border-radius: 14px;
  clip-path: polygon(0 0, 50% 55%, 100% 0);
  transform-origin: top;
  transition: transform .7s ease;
  z-index: 3;
}
.sobre-sello {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  background: radial-gradient(circle, #ff6b8a, #e63956);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 20, 60, .4);
  border: 3px dashed #fff;
  z-index: 4;
  transition: opacity .3s ease;
}
.sobre-hint {
  position: absolute; bottom: -34px; left: 0; right: 0;
  font-weight: 700; color: var(--rojo); letter-spacing: 1px;
  animation: pulse 1.8s ease infinite;
}

#sobre.open .sobre-flap { transform: rotateX(180deg); z-index: 1; }
#sobre.open .sobre-front { transform: rotateX(180deg); z-index: 2; }
#sobre.open .sobre-sello { opacity: 0; }
#sobre.open .sobre-carta { transform: translateY(-130px); }
#sobre.open .sobre-hint { opacity: 0; }

/* ═══════════ TIMELINE ═══════════ */
.timeline { position: relative; max-width: 620px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, var(--rosa-suave), var(--rosa), var(--dorado-suave));
  border-radius: 4px;
}
.tl-item { position: relative; padding-left: 76px; margin-bottom: 34px; opacity: 0; transform: translateX(-28px); transition: all .7s ease; }
.tl-item.visible { opacity: 1; transform: translateX(0); }
.tl-dot {
  position: absolute; left: 6px; top: 2px;
  width: 46px; height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  box-shadow: 0 4px 14px rgba(230,57,86,.25);
  border: 2px solid var(--rosa-suave);
}
.tl-card {
  background: var(--blanco);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--sombra);
  border-left: 4px solid var(--rosa);
}
.tl-date { font-weight: 700; color: var(--rojo); font-size: 15.5px; margin-bottom: 5px; }
.tl-text { color: #7c4a56; font-size: 15px; }

/* ═══════════ GALERÍA ═══════════ */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.foto-card {
  background: #fff;
  padding: 12px 12px 16px;
  border-radius: 12px;
  box-shadow: var(--sombra);
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.foto-card:nth-child(odd) { transform: rotate(-1.6deg); }
.foto-card:nth-child(even) { transform: rotate(1.4deg); }
.foto-card:hover { transform: rotate(0) scale(1.04); z-index: 5; }
.foto-img {
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: linear-gradient(135deg, var(--rosa-suave), var(--rosa-crema));
}
.foto-placeholder {
  width: 100%;
  aspect-ratio: 4/3.4;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, #ffe3e9, #ffd1dc);
}
.foto-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #9a6b76;
  font-family: 'Great Vibes', cursive;
  font-size: 19px;
  color: var(--rojo);
}

/* Lightbox */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(40, 8, 18, .92);
  z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
  animation: fadeIn .25s ease;
}
#lightbox img {
  max-width: 92vw; max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 22px; right: 28px;
  color: #fff; font-size: 34px; cursor: pointer; font-weight: 300;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════ SALUDOS ═══════════ */
.saludos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}
.saludo-card {
  background: var(--blanco);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  overflow: hidden;
  text-align: center;
  transition: transform .3s ease;
}
.saludo-card:hover { transform: translateY(-6px); }
.saludo-head { padding: 26px 20px 8px; }
.saludo-avatar {
  width: 86px; height: 86px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--rosa-suave), var(--rosa));
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(230,57,86,.25);
  overflow: hidden;
}
.saludo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.saludo-nombre { font-weight: 700; font-size: 19px; color: var(--texto); }
.saludo-relacion { color: var(--rosa); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }
.saludo-msg { padding: 12px 22px; color: #7c4a56; font-size: 14.5px; line-height: 1.6; }
.saludo-video {
  border-top: 1px solid #ffe3e9;
  aspect-ratio: 16/10;
  background: #fff0f3;
  position: relative;
}
.saludo-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: #c07a8a;
  font-weight: 600; font-size: 13.5px;
}
.video-placeholder .play-icon {
  width: 54px; height: 54px;
  background: var(--rosa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 8px 18px rgba(230,57,86,.35);
}

/* ═══════════ GUSTOS (FLIP) ═══════════ */
.gustos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}
.gusto-card {
  height: 200px;
  perspective: 900px;
  cursor: pointer;
}
.gusto-front, .gusto-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  transition: transform .7s cubic-bezier(.4,1.2,.4,1);
  box-shadow: var(--sombra);
}
.gusto-front {
  background: var(--blanco);
  color: var(--texto);
  font-size: 40px;
}
.gusto-front span { font-size: 16px; color: var(--rojo); }
.gusto-back {
  background: linear-gradient(150deg, var(--rosa), var(--rojo));
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
  padding: 22px;
  text-align: center;
  transform: rotateY(180deg);
}
.gusto-card.flipped .gusto-front { transform: rotateY(180deg); }
.gusto-card.flipped .gusto-back { transform: rotateY(0); }

/* ═══════════ QUIZ ═══════════ */
.quiz-box {
  max-width: 620px;
  margin: 0 auto;
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--sombra);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.quiz-progress {
  height: 10px;
  background: #ffe3e9;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 26px;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rosa), var(--rojo), var(--dorado));
  border-radius: 20px;
  transition: width .5s ease;
}
.quiz-question { font-size: 19px; font-weight: 700; margin-bottom: 22px; color: var(--texto); }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  font-family: 'Quicksand', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 20px;
  border: 2px solid #ffd9e2;
  border-radius: 14px;
  background: #fff;
  color: var(--texto);
  cursor: pointer;
  text-align: left;
  transition: all .2s ease;
}
.quiz-option:hover { border-color: var(--rosa); background: #fff5f7; transform: translateX(6px); }
.quiz-option.correct { border-color: #2ecc71; background: #eafaf1; color: #1e8449; }
.quiz-option.wrong { border-color: #e74c3c; background: #fdecea; color: #c0392b; animation: shake .4s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  75% { transform: translateX(7px); }
}
.quiz-result { text-align: center; padding: 20px 10px; animation: fadeUp .6s ease; }
.quiz-result-emoji { font-size: 64px; margin-bottom: 12px; }
.quiz-result-title { font-size: 24px; font-weight: 700; color: var(--rojo); margin-bottom: 10px; }
.quiz-result-msg { color: #7c4a56; font-size: 15.5px; margin-bottom: 24px; line-height: 1.6; }

/* ═══════════ GLOBOS ═══════════ */
.globos-area {
  position: relative;
  max-width: 900px;
  height: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffeef2 0%, #ffd9e2 100%);
  border-radius: 26px;
  border: 2px dashed #ffc1cf;
  overflow: hidden;
}
.globo {
  position: absolute;
  bottom: -130px;
  cursor: pointer;
  animation: globoFloat linear infinite;
  filter: drop-shadow(0 10px 14px rgba(200, 30, 70, .22));
  transition: transform .15s ease;
}
.globo:hover { transform: scale(1.12); }
.globo-body {
  width: 74px; height: 92px;
  border-radius: 50% 50% 48% 52%;
  position: relative;
}
.globo-body::after {
  content: '';
  position: absolute; top: 10px; left: 16px;
  width: 14px; height: 22px;
  background: rgba(255,255,255,.45);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.globo-string {
  width: 2px; height: 90px;
  background: rgba(120, 70, 80, .5);
  margin: 0 auto;
}
@keyframes globoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-680px); }
}
.globo.popped { animation: none; opacity: 0; transition: opacity .2s; }

.toast {
  position: fixed;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) scale(.7);
  background: rgba(74, 20, 34, .92);
  color: #fff;
  padding: 16px 26px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 16px;
  z-index: 1800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.5,1.5,.4,1);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ═══════════ FINAL ═══════════ */
#final { text-align: center; padding-top: 40px; padding-bottom: 70px; }
.final-title { font-size: clamp(44px, 7vw, 68px); color: var(--rojo); margin-bottom: 16px; }
.final-msg { max-width: 520px; margin: 0 auto 26px; color: #7c4a56; font-size: 17px; font-weight: 500; }
.final-hearts { font-size: 30px; letter-spacing: 10px; margin-bottom: 40px; animation: pulse 2s ease infinite; }
.final-footer { color: #b08a94; font-size: 13.5px; font-weight: 600; }

/* ═══════════ MÚSICA ═══════════ */
#music-btn {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa), var(--rojo));
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 950;
  box-shadow: 0 10px 24px rgba(230, 57, 86, .45);
  transition: all .3s ease;
}
#music-btn:hover { transform: scale(1.1); }
#music-btn.playing { animation: spinPulse 2.4s ease infinite; }
@keyframes spinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
#music-eq {
  position: fixed;
  bottom: 34px; right: 96px;
  display: flex; align-items: flex-end; gap: 4px;
  z-index: 950;
}
#music-eq span {
  width: 6px;
  background: var(--rojo);
  border-radius: 4px;
  animation: eq 1s ease infinite;
}
#music-eq span:nth-child(1) { height: 14px; animation-delay: 0s; }
#music-eq span:nth-child(2) { height: 22px; animation-delay: .2s; }
#music-eq span:nth-child(3) { height: 16px; animation-delay: .4s; }
@keyframes eq {
  0%, 100% { transform: scaleY(.4); }
  50% { transform: scaleY(1); }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 640px) {
  section { padding: 70px 18px; }
  .nav-links a { font-size: 12px; padding: 6px 9px; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .timeline::before { left: 22px; }
  .tl-item { padding-left: 64px; }
  .tl-dot { width: 38px; height: 38px; font-size: 17px; left: 5px; }
  #sobre { height: 360px; }
  .sobre-carta { font-size: 13.5px; padding: 20px 18px; }
  .globos-area { height: 440px; }
  .quiz-box { padding: 26px 18px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
