/* ==========================================================
   GOOGLE FONTS IMPORT
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=Pinyon+Script&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Sacramento&display=swap');

/* ==========================================================
   SISTEMA DE DISEÑO: EDITORIAL LUXURY ROMANCE
   ========================================================== */

:root {
  /* Paleta de Colores - Modo Claro (Champagne & Velvet Rose) */
  --bg-primary: #FAF6F0;
  --bg-secondary: #F3ECE2;
  --bg-card: rgba(255, 255, 255, 0.76);
  --bg-card-hover: rgba(255, 255, 255, 0.94);
  --bg-modal: rgba(250, 246, 240, 0.97);
  --bg-glass: rgba(255, 255, 255, 0.5);

  --text-primary: #231B1B;
  --text-secondary: #584A4A;
  --text-muted: #8E7E7E;

  --accent-rose: #C9685B;
  --accent-rose-light: #E79B8F;
  --accent-blush: #F7EAE5;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F6E6B4;
  --accent-burgundy: #541722;
  --accent-purple: #9C51B6;
  --accent-purple-light: #E4C1F9;

  --border-subtle: rgba(201, 104, 91, 0.16);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-glass: rgba(255, 255, 255, 0.75);

  --shadow-sm: 0 4px 16px rgba(35, 27, 27, 0.04);
  --shadow-md: 0 14px 36px rgba(35, 27, 27, 0.07);
  --shadow-lg: 0 24px 56px rgba(35, 27, 27, 0.11);
  --shadow-glow: 0 0 35px rgba(201, 104, 91, 0.22);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.25);
  --shadow-purple: 0 0 30px rgba(156, 81, 182, 0.25);

  /* Tipografías Editoriales */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-script: 'Pinyon Script', 'Sacramento', cursive;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* Modo Nocturno Romántico (Midnight Obsidian & Purple Nebula - DEFAULT) */
[data-theme="dark"] {
  --bg-primary: #0D0A0F;
  --bg-secondary: #16111A;
  --bg-card: rgba(26, 20, 29, 0.78);
  --bg-card-hover: rgba(38, 28, 43, 0.94);
  --bg-modal: rgba(18, 14, 20, 0.97);
  --bg-glass: rgba(255, 255, 255, 0.05);

  --text-primary: #FAF5F0;
  --text-secondary: #D9CECA;
  --text-muted: #998B8B;

  --accent-rose: #E68577;
  --accent-rose-light: #F2AEA3;
  --accent-blush: #261A1D;
  --accent-gold: #F5D061;
  --accent-gold-light: #FBECBA;
  --accent-burgundy: #8C2B3B;
  --accent-purple: #C471ED;
  --accent-purple-light: #E7B8FF;

  --border-subtle: rgba(230, 133, 119, 0.2);
  --border-gold: rgba(245, 208, 97, 0.35);
  --border-glass: rgba(255, 255, 255, 0.09);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 40px rgba(230, 133, 119, 0.28);
  --shadow-gold: 0 0 35px rgba(245, 208, 97, 0.28);
  --shadow-purple: 0 0 35px rgba(196, 113, 237, 0.3);
}

/* ==========================================================
   RESET & ESTILOS BASE
   ========================================================== */

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

html {
  font-size: 16px;
  overflow-x: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.7s cubic-bezier(0.16, 1, 0.3, 1), color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.timeline-title,
.reason-title,
.song-title,
.modal-card h2,
.modal-card h3,
.footer-dedication {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}

button,
input,
select,
textarea,
.nav-btn,
.blow-candle-btn,
.primary-hug-btn {
  font-family: var(--font-sans);
}

/* ==========================================================
   AMBIENT GLOWING MESH ORBS (ATMÓSFERA VISUAL)
   ========================================================== */

.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.45;
  will-change: transform, opacity;
  animation: float-orb 18s infinite alternate ease-in-out;
}

.ambient-orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--accent-rose-light) 0%, rgba(201, 104, 91, 0.1) 70%, transparent 100%);
  animation-duration: 22s;
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  top: 35%;
  right: -150px;
  background: radial-gradient(circle, var(--accent-purple-light) 0%, rgba(156, 81, 182, 0.1) 70%, transparent 100%);
  animation-duration: 28s;
  animation-delay: -7s;
}

.ambient-orb-3 {
  width: 550px;
  height: 550px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, var(--accent-gold-light) 0%, rgba(212, 175, 55, 0.08) 70%, transparent 100%);
  animation-duration: 25s;
  animation-delay: -12s;
}

[data-theme="dark"] .ambient-orb {
  opacity: 0.28;
  filter: blur(110px);
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 60px) scale(1.1);
  }

  100% {
    transform: translate(-30px, -40px) scale(0.95);
  }
}

/* Canvas de fondo y confeti */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Visualizador de audio (espectro de la música) */
#audio-visualizer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 90px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#audio-visualizer.visible {
  opacity: 1;
}

/* ==========================================================
   BARRA SUPERIOR (HEADER DE LUJO)
   ========================================================== */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(250, 246, 240, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

[data-theme="dark"] .top-nav {
  background: rgba(13, 10, 15, 0.78);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.nav-brand-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blush), var(--bg-card));
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.nav-icon-sparkle {
  width: 16px;
  height: 16px;
  color: var(--accent-rose);
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-rose);
  box-shadow: var(--shadow-glow);
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple));
  color: #FFF;
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}

/* Sound Wave Bars Animados */
.sound-wave {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.sound-wave .bar {
  width: 2.5px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.nav-btn.active .sound-wave .bar-1 {
  animation: wave-anim 1.2s infinite ease-in-out 0.1s;
}

.nav-btn.active .sound-wave .bar-2 {
  animation: wave-anim 1.2s infinite ease-in-out 0.3s;
}

.nav-btn.active .sound-wave .bar-3 {
  animation: wave-anim 1.2s infinite ease-in-out 0.5s;
}

.nav-btn.active .sound-wave .bar-4 {
  animation: wave-anim 1.2s infinite ease-in-out 0.2s;
}

@keyframes wave-anim {

  0%,
  100% {
    height: 4px;
  }

  50% {
    height: 14px;
  }
}

/* ==========================================================
   LAYOUT GENERAL & CONTENEDORES
   ========================================================== */

.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section-container {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-rose);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.15;
}

.divider-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-rose), var(--accent-gold), transparent);
  margin: 1.4rem auto 0;
  border-radius: 2px;
}

.section-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.9rem;
  font-weight: 300;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   1. HERO SECTION (EDITORIAL MASTERPIECE)
   ========================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1rem 5rem;
  position: relative;
}

.hero-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  backdrop-filter: blur(14px);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.badge-tag:hover {
  border-color: var(--accent-rose);
  box-shadow: var(--shadow-glow);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.hero-title .highlight-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-purple) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding: 0 0.2rem;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 660px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, var(--bg-card), var(--accent-blush));
  border: 1px solid var(--border-gold);
  padding: 0.85rem 2.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-rose);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.hero-date-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#birthday-date-text {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-down-hint {
  margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.mouse-indicator {
  width: 22px;
  height: 38px;
  border: 2px solid var(--accent-rose);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 0 0 12px rgba(201, 104, 91, 0.25);
}

.mouse-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-rose);
  border-radius: 2px;
  animation: scroll-wheel 1.8s infinite ease-in-out;
}

/* ==========================================================
   2. CARTA INTERACTIVA / SOBRE CON SELLO REALISTA
   ========================================================== */

/* ==========================================================
   2. CARTA INTERACTIVA / SOBRE CON SELLO REALISTA
   ========================================================== */

.envelope-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.envelope {
  position: relative;
  width: 350px;
  height: 240px;
  background: linear-gradient(145deg, #EFE6DE 0%, #DCCDC2 100%);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg), 0 12px 35px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .envelope {
  background: linear-gradient(145deg, #2D232F 0%, #1E1620 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), var(--shadow-purple);
}

.envelope:hover {
  transform: translateY(-10px) rotateX(4deg);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

/* Front Pocket covering the lower half */
.envelope-pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 175px solid #281F2A;
  border-right: 175px solid #281F2A;
  border-bottom: 125px solid #332736;
  border-top: 115px solid transparent;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 3;
  pointer-events: none;
}

[data-theme="light"] .envelope-pocket {
  border-left-color: #E2D4C8;
  border-right-color: #E2D4C8;
  border-bottom-color: #D6C4B6;
}

/* Top Flap */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 175px solid transparent;
  border-right: 175px solid transparent;
  border-top: 135px solid #D1BFB0;
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

[data-theme="dark"] .envelope-flap {
  border-top-color: #392B3C;
}

/* Wax Seal */
.wax-seal {
  position: absolute;
  top: 100px;
  z-index: 5;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 35% 35%, #8C2433 0%, var(--accent-burgundy) 70%, #300A11 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(84, 23, 34, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.wax-seal:hover {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 10px 25px rgba(84, 23, 34, 0.6), var(--shadow-gold);
}

/* Letter inside: completely hidden when envelope is closed */
.letter-preview {
  position: absolute;
  width: 300px;
  height: 190px;
  background: #FFF;
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.04);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

[data-theme="dark"] .letter-preview {
  background: #1C161E;
  border-color: rgba(255, 255, 255, 0.08);
}

/* On hover: flap opens, letter slides up gracefully, seal lifts */
.envelope:hover .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.envelope:hover .wax-seal {
  transform: translateY(-40px) scale(0.85);
  opacity: 0;
}

.envelope:hover .letter-preview {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-80px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.letter-header {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-rose);
  font-weight: 600;
}

.letter-snippet {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.letter-open-prompt {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--accent-rose);
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.02em;
}

/* ==========================================================
   3. LÍNEA DE TIEMPO / NUESTRA HISTORIA (EDITORIAL LUXE)
   ========================================================== */

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-rose-light) 15%, var(--accent-purple) 50%, var(--accent-gold) 85%, transparent 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.8rem 2.8rem;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple));
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--accent-rose-light), var(--shadow-sm);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 6px var(--accent-rose-light), var(--shadow-glow);
}

.timeline-item.left .timeline-dot {
  right: -16px;
}

.timeline-item.right .timeline-dot {
  left: -16px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.2rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-rose);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.timeline-text {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ==========================================================
   4. COSAS QUE AMO DE TI (BENTO GRID LUXURY)
   ========================================================== */

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

/* ==========================================================
   UNIVERSAL CARD HOVER SYSTEM (LUXURY SPOTLIGHT & GLOW)
   ========================================================== */

/* Universal Base Smooth Transition for ALL Interactive Cards */
.reason-card,
.timeline-card,
.days-box,
.days-sub-box,
.open-when-card,
.song-card,
.distance-map-card,
.hug-card,
.wish-revealed-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    background 0.45s ease;
  will-change: transform, box-shadow;
}

.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

/* Dynamic Interactive Cursor Spotlight Glow for ALL cards */
.card-shine,
.reason-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 260px at var(--mouse-x, 80%) var(--mouse-y, 20%), rgba(201, 104, 91, 0.18), rgba(156, 81, 182, 0.12) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .card-shine,
[data-theme="dark"] .reason-card-shine {
  background: radial-gradient(circle 280px at var(--mouse-x, 80%) var(--mouse-y, 20%), rgba(230, 133, 119, 0.24), rgba(196, 113, 237, 0.18) 45%, transparent 75%);
}

/* Glowing Top Accent Border for ALL cards */
.reason-card::before,
.timeline-card::before,
.days-box::before,
.days-sub-box::before,
.open-when-card::before,
.song-card::before,
.distance-map-card::before,
.hug-card::before,
.wish-revealed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-purple), var(--accent-gold));
  opacity: 0.3;
  transition: opacity 0.5s ease, height 0.5s ease;
  z-index: 2;
  pointer-events: none;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Universal Smooth 3D Lift & Box-Shadow on Hover */
.reason-card:hover,
.timeline-card:hover,
.days-box:hover,
.days-sub-box:hover,
.open-when-card:hover,
.song-card:hover,
.distance-map-card:hover,
.hug-card:hover,
.wish-revealed-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), var(--shadow-glow);
  border-color: var(--accent-rose-light);
}

[data-theme="dark"] .reason-card:hover,
[data-theme="dark"] .timeline-card:hover,
[data-theme="dark"] .days-box:hover,
[data-theme="dark"] .days-sub-box:hover,
[data-theme="dark"] .open-when-card:hover,
[data-theme="dark"] .song-card:hover,
[data-theme="dark"] .distance-map-card:hover,
[data-theme="dark"] .hug-card:hover,
[data-theme="dark"] .wish-revealed-card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(230, 133, 119, 0.22), 0 0 20px rgba(196, 113, 237, 0.18);
}

/* Activate Spotlight & Top Border on Hover */
.reason-card:hover .reason-card-shine,
.reason-card:hover .card-shine,
.timeline-card:hover .card-shine,
.days-box:hover .card-shine,
.days-sub-box:hover .card-shine,
.open-when-card:hover .card-shine,
.song-card:hover .card-shine,
.distance-map-card:hover .card-shine,
.hug-card:hover .card-shine,
.wish-revealed-card:hover .card-shine {
  opacity: 1;
}

.reason-card:hover::before,
.timeline-card:hover::before,
.days-box:hover::before,
.days-sub-box:hover::before,
.open-when-card:hover::before,
.song-card:hover::before,
.distance-map-card:hover::before,
.hug-card:hover::before,
.wish-revealed-card:hover::before {
  opacity: 1;
  height: 4px;
}

.reason-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-rose-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 0.85;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  position: relative;
  z-index: 1;
}

.reason-card:hover .reason-number {
  transform: scale(1.1) translateX(4px);
  filter: drop-shadow(0 0 10px rgba(245, 208, 97, 0.5));
}

.reason-body-content {
  position: relative;
  z-index: 1;
}

.reason-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.reason-card:hover .reason-title {
  color: var(--accent-rose);
}

.reason-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.reason-icon {
  align-self: flex-end;
  margin-top: 1.4rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.reason-card:hover .reason-icon {
  transform: scale(1.3) rotate(12deg);
  filter: drop-shadow(0 0 10px var(--accent-rose));
}

/* ==========================================================
   5. PASTEL 3D INTERACTIVO & PIDE UN DESEO
   ========================================================== */

.cake-section {
  text-align: center;
}

.cake-interactive-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  max-width: 660px;
  margin: 0 auto;
}

.cake-3d-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.cake-3d-canvas-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 440px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: grab;
  touch-action: none;
}

.cake-3d-canvas-container:active {
  cursor: grabbing;
}

#cake-3d-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
  background: transparent;
}

.cake-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 10;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--accent-rose);
  font-weight: 500;
}

.cake-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cake-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--accent-blush);
  border-top-color: var(--accent-rose);
  border-radius: 50%;
  animation: spin-slow 1s linear infinite;
}

.blow-candle-btn {
  background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-purple) 50%, var(--accent-burgundy) 100%);
  color: #FFF;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transition: var(--transition-smooth);
}

.blow-candle-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: var(--shadow-lg), 0 10px 35px rgba(201, 104, 91, 0.4);
}

.wish-revealed-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  animation: fade-scale-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 540px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.wish-revealed-card.active {
  display: block;
}

.wish-revealed-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 1.1rem;
}

.wish-revealed-card p {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.6rem;
  font-weight: 300;
}

.wish-heart-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-blush);
  color: var(--accent-rose);
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ==========================================================
   6. CÁPSULAS "ABRE CUANDO..."
   ========================================================== */

.open-when-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.open-when-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.6rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  z-index: 1;
}

.open-when-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.open-when-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--accent-rose);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
}

/* ==========================================================
   7. SECCIÓN DE CANCIONES (VINILOS DE LUJO & PLAYER CARDS)
   ========================================================== */

.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.single-song-grid {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.single-song-grid .song-card {
  width: 100%;
  max-width: 640px;
}

.song-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Ambient Card Glow */
.song-card-ambient-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.bts-song-card {
  border-color: rgba(196, 113, 237, 0.3);
  background: linear-gradient(145deg, rgba(26, 20, 29, 0.85) 0%, rgba(38, 24, 46, 0.6) 100%);
}

[data-theme="light"] .bts-song-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 238, 250, 0.8) 100%);
  border-color: rgba(156, 81, 182, 0.25);
  box-shadow: var(--shadow-md), 0 10px 30px rgba(156, 81, 182, 0.1);
}

.bts-song-card .song-card-ambient-glow {
  background: radial-gradient(circle, var(--accent-purple), transparent 70%);
}

.bts-song-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6), var(--shadow-purple);
}

[data-theme="light"] .bts-song-card:hover {
  box-shadow: var(--shadow-lg), 0 16px 40px rgba(156, 81, 182, 0.22);
}

.perfect-song-card {
  border-color: rgba(245, 208, 97, 0.3);
  background: linear-gradient(145deg, rgba(26, 20, 29, 0.85) 0%, rgba(45, 34, 22, 0.6) 100%);
}

.perfect-song-card .song-card-ambient-glow {
  background: radial-gradient(circle, var(--accent-gold), transparent 70%);
}

.perfect-song-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: var(--accent-gold);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6), var(--shadow-gold);
}

/* Player Header with Vinyl Sleeve */
.song-player-header {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.vinyl-sleeve-container {
  position: relative;
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  perspective: 600px;
}

.vinyl-sleeve {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.sleeve-art {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.bts-art {
  background: linear-gradient(135deg, #4A154B 0%, #200E2E 50%, #0F0517 100%);
}

.perfect-art {
  background: linear-gradient(135deg, #6B4E1B 0%, #302008 50%, #150E03 100%);
}

.sleeve-badge {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.sleeve-icon-bts {
  width: 20px;
  height: 20px;
  color: var(--accent-purple-light);
  align-self: flex-end;
}

.sleeve-icon-gold {
  width: 20px;
  height: 20px;
  color: var(--accent-gold-light);
  align-self: flex-end;
}

/* Vinyl Disc Sliding Effect */
.vinyl-disc {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 78px;
  height: 78px;
  background: radial-gradient(circle, #251D24 25%, #150F14 65%, #080608 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  transform: translateX(18px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vinyl-groove-ring {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.song-card:hover .vinyl-disc {
  transform: translateX(36px) rotate(90deg);
}

.vinyl-disc.spinning {
  animation: spin-slow 6s linear infinite !important;
  transform: translateX(36px);
}

.vinyl-center {
  width: 28px;
  height: 28px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

/* Song Header Info */
.song-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.song-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.2rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.bts-tag {
  color: var(--accent-purple);
  border-color: rgba(196, 113, 237, 0.35);
  background: rgba(196, 113, 237, 0.1);
}

.gold-tag {
  color: var(--accent-gold);
  border-color: rgba(245, 208, 97, 0.35);
  background: rgba(245, 208, 97, 0.1);
}

.song-mini-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}

.song-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
}

.song-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.song-artist {
  color: var(--accent-rose);
  font-weight: 600;
}

.meta-dot {
  opacity: 0.5;
}

.song-album {
  font-weight: 300;
  color: var(--text-muted);
}

/* Editorial Quote Box */
.song-quote-box {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-purple);
  padding: 1.1rem 1.3rem 1.1rem 1.8rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0.2rem 0;
}

[data-theme="light"] .song-quote-box {
  background: rgba(156, 81, 182, 0.06);
}

.gold-quote-box {
  border-left-color: var(--accent-gold);
}

.quote-mark {
  position: absolute;
  top: -4px;
  left: 6px;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent-purple);
  opacity: 0.5;
}

.gold-mark {
  color: var(--accent-gold);
}

.song-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Interactive Playbar Widget */
.song-player-widget {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

[data-theme="light"] .song-player-widget {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-subtle);
}

.song-play-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-rose));
  border: none;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(156, 81, 182, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.song-play-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(156, 81, 182, 0.6);
}

.play-icon-inner {
  width: 18px;
  height: 18px;
  stroke-width: 2.5px;
  fill: currentColor;
}

.player-progress-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.player-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="light"] .player-progress-bar {
  background: rgba(0, 0, 0, 0.08);
}

.player-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-rose));
  border-radius: 4px;
  transition: width 0.3s linear;
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Soundwave spectrum bars inside player */
.player-wave-indicator {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 10px;
}

.player-wave-indicator .w-bar {
  width: 2px;
  height: 3px;
  background: var(--accent-purple);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.player-wave-indicator.active .w-bar:nth-child(1) {
  animation: wave-anim 0.9s infinite ease-in-out 0.1s;
}

.player-wave-indicator.active .w-bar:nth-child(2) {
  animation: wave-anim 0.9s infinite ease-in-out 0.3s;
}

.player-wave-indicator.active .w-bar:nth-child(3) {
  animation: wave-anim 0.9s infinite ease-in-out 0.5s;
}

.player-wave-indicator.active .w-bar:nth-child(4) {
  animation: wave-anim 0.9s infinite ease-in-out 0.2s;
}

.perfect-acoustic-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.disc-spin-icon {
  width: 18px;
  height: 18px;
  animation: spin-slow 8s linear infinite;
}

/* Badges row */
.song-badges {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.song-subtag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

[data-theme="light"] .song-subtag {
  background: rgba(255, 255, 255, 0.7);
}

.song-card:hover .song-subtag {
  border-color: var(--border-gold);
  color: var(--text-primary);
}

/* ==========================================================
   8. SECCIÓN DE ABRAZOS A DISTANCIA
   ========================================================== */

.hugs-section {
  text-align: center;
  padding: 4.5rem 0 7rem;
}

.hug-card {
  background: linear-gradient(135deg, var(--bg-card), var(--accent-blush));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3.8rem 2.2rem;
  max-width: 660px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hug-card h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.hug-card p {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.primary-hug-btn {
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple), var(--accent-burgundy));
  color: #FFF;
  border: none;
  padding: 1.1rem 2.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-md), var(--shadow-purple);
  transition: var(--transition-smooth);
}

.primary-hug-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg), 0 12px 35px rgba(156, 81, 182, 0.4);
}

.primary-hug-btn:active {
  transform: scale(0.96);
}

.hug-counter {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
}

.hug-status-message {
  opacity: 0;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--accent-rose);
  font-weight: 500;
  transition: opacity 0.4s ease;
}

.hug-status-message.visible {
  opacity: 1;
}

.floating-heart-particle {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  animation: float-heart-up 2.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* ==========================================================
   FOOTER ROMÁNTICO (FULL VIEWPORT WIDTH)
   ========================================================== */

.romantic-footer {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  text-align: center;
  padding: 5.5rem 2rem 4.5rem;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(13, 10, 15, 0.5) 0%, rgba(8, 6, 10, 0.96) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  z-index: 2;
  margin-top: 2rem;
}

[data-theme="light"] .romantic-footer {
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.85) 0%, #EDE3D5 100%);
  border-top-color: var(--border-subtle);
  box-shadow: 0 -10px 40px rgba(35, 27, 27, 0.04);
}

.romantic-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-purple) 25%, var(--accent-rose) 50%, var(--accent-gold) 75%, transparent 100%);
  opacity: 0.6;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-heart {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  color: var(--accent-rose);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.6rem;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(201, 104, 91, 0.4);
}

.footer-dedication {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ==========================================================
   MODALES (CARTA Y ABRE CUANDO)
   ========================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-modal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.8rem;
  position: relative;
  max-width: 620px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: var(--font-sans);
}

.modal-close-btn:hover {
  color: var(--accent-rose);
}

.modal-letter-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.modal-letter-header h2 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.modal-letter-date {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--accent-rose);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.modal-letter-body {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.9;
  color: var(--text-secondary);
  white-space: pre-line;
  margin-bottom: 2.8rem;
}

.modal-letter-signature {
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.modal-letter-signature .signature-name {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--accent-rose);
  display: block;
  margin-top: 0.4rem;
}

.modal-open-when-content {
  text-align: center;
}

.modal-open-when-content h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--text-primary);
  margin-bottom: 1.6rem;
}

.modal-ow-text {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-secondary);
  white-space: pre-line;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.modal-ow-footer {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--accent-rose);
  font-weight: 500;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.4rem;
}

/* Modal Deseo Concedido */
.wish-modal-card {
  text-align: center;
  max-width: 560px;
  background: var(--bg-modal);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  padding: 3.2rem 2.4rem;
}

.modal-wish-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wish-sparkle-badge {
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, rgba(245, 208, 97, 0.22), transparent 70%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(245, 208, 97, 0.4);
  box-shadow: 0 0 24px rgba(245, 208, 97, 0.35);
}

.wish-modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.wish-modal-text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
  white-space: pre-line;
}

/* ==========================================================
   ESTILOS PARA ICONOS LUCIDE
   ========================================================== */

.nav-icon-heart {
  width: 18px;
  height: 18px;
  color: var(--accent-rose);
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.btn-lucide-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}

.lucide-badge-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-gold);
  stroke-width: 2.2px;
}

.seal-lucide-icon {
  width: 26px;
  height: 26px;
  color: #FFF;
  stroke-width: 2px;
}

.timeline-mini-icon {
  width: 15px;
  height: 15px;
  color: #FFF;
  stroke-width: 2.5px;
}

.reason-lucide-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-rose);
  stroke-width: 1.8px;
  transition: transform 0.3s ease;
}

.open-when-icon-box {
  width: 56px;
  height: 56px;
  background: var(--accent-blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  transition: transform 0.35s ease, background-color 0.35s ease;
  border: 1px solid var(--border-subtle);
}

.open-when-card:hover .open-when-icon-box {
  transform: scale(1.15) rotate(6deg);
  background: linear-gradient(135deg, var(--accent-rose-light), var(--accent-purple-light));
}

.open-when-lucide-icon {
  width: 26px;
  height: 26px;
  color: var(--accent-rose);
  stroke-width: 2px;
}

.cta-arrow-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.5px;
  margin-left: 4px;
  vertical-align: middle;
}

.hug-icon-header {
  margin-bottom: 1.4rem;
}

.hug-lucide-hero-icon {
  width: 52px;
  height: 52px;
  color: var(--accent-rose);
  stroke-width: 1.8px;
}

.modal-icon-badge,
.open-when-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--accent-blush);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-subtle);
}

.modal-header-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-rose);
  stroke-width: 2px;
}

.wish-icon-gold {
  width: 34px;
  height: 34px;
  color: var(--accent-gold);
  stroke-width: 2px;
}

.badge-mini-heart {
  width: 15px;
  height: 15px;
  stroke-width: 2.5px;
  vertical-align: -2px;
  margin-right: 4px;
}

.footer-mini-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-rose);
  stroke-width: 2px;
  vertical-align: middle;
}

/* ==========================================================
   ANIMACIONES KEYFRAMES
   ========================================================== */

@keyframes fade-scale-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(12px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--accent-rose));
  }
}

@keyframes float-heart-up {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(var(--tx, -20px), -180px) scale(1.4) rotate(var(--tr, 20deg));
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================
   10. CONTADOR DE DÍAS JUNTOS
   ========================================================== */

.days-section {
  text-align: center;
}

.days-counter {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  max-width: 720px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.days-box,
.days-sub-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  min-width: 120px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.days-box {
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-burgundy));
  border: none;
}

.days-box .days-value {
  color: #FFF;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
}

.days-box .days-label {
  color: rgba(255, 255, 255, 0.9);
}

.days-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent-rose);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.days-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================
   11. MAPA DE LA DISTANCIA (CELESTIAL LOVE ROUTE)
   ========================================================== */

.distance-section {
  text-align: center;
  position: relative;
}

.distance-map-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
  z-index: 1;
}

[data-theme="light"] .distance-map-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 242, 248, 0.75) 100%);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.distance-map-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-rose-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), var(--shadow-purple);
}

[data-theme="light"] .distance-map-card:hover {
  box-shadow: var(--shadow-lg), 0 16px 45px rgba(201, 104, 91, 0.18);
}

.distance-card-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 250px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(196, 113, 237, 0.15), rgba(230, 133, 119, 0.1) 50%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

[data-theme="light"] .distance-card-ambient-glow {
  background: radial-gradient(ellipse, rgba(156, 81, 182, 0.12), rgba(201, 104, 91, 0.08) 50%, transparent 75%);
}

/* Top Badge */
.distance-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(245, 208, 97, 0.08);
  border: 1px solid rgba(245, 208, 97, 0.25);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
}

[data-theme="light"] .distance-top-badge {
  background: rgba(212, 175, 55, 0.12);
  color: #8A6D14;
  border-color: rgba(212, 175, 55, 0.35);
}

.dist-mini-sparkle {
  width: 14px;
  height: 14px;
}

/* Main Visual Route */
.distance-visual-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  padding: 1rem 0;
}

/* City Portals */
.distance-city-portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 150px;
  z-index: 2;
}

.portal-radar-ring {
  position: absolute;
  top: 2px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-rose);
  opacity: 0.6;
  animation: radar-pulse 3s infinite ease-out;
  pointer-events: none;
}

.portal-radar-ring.oaxaca-ring {
  border-color: var(--accent-purple);
  animation-delay: 1.5s;
}

@keyframes radar-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.portal-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.distance-map-card:hover .portal-icon-box {
  transform: scale(1.1);
}

.huix-box {
  background: linear-gradient(135deg, var(--accent-rose), #9E3A4B);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(201, 104, 91, 0.35);
  color: #FFF;
}

.oaxaca-box {
  background: linear-gradient(135deg, var(--accent-purple), #6A1B9A);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(156, 81, 182, 0.4);
  color: #FFF;
}

.portal-icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.2px;
}

.portal-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.portal-role {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent-rose);
}

.portal-role.target-role {
  color: var(--accent-purple);
}

.portal-city-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
}

.portal-state {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.portal-chip {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

[data-theme="light"] .portal-chip {
  background: rgba(0, 0, 0, 0.04);
}

.portal-chip.oaxaca-chip {
  background: rgba(196, 113, 237, 0.1);
  border-color: rgba(196, 113, 237, 0.3);
  color: var(--accent-purple);
}

[data-theme="light"] .portal-chip.oaxaca-chip {
  background: rgba(156, 81, 182, 0.1);
  border-color: rgba(156, 81, 182, 0.3);
  color: var(--accent-purple);
}

/* Central Energy Beam */
.distance-energy-beam {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 24px;
}

.beam-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-gold), var(--accent-purple));
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
}

.beam-traveling-pulse {
  position: absolute;
  top: 0;
  left: -40px;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #FFF, transparent);
  animation: travel-pulse 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes travel-pulse {
  0% {
    left: -40px;
  }

  100% {
    left: 100%;
  }
}

/* Bottom Love Metrics */
.distance-metrics-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-top: 0.5rem;
}

[data-theme="light"] .distance-metrics-grid {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.dist-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.dist-metric-val {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-rose-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

[data-theme="light"] .dist-metric-val {
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dist-metric-lbl {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.dist-metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
  opacity: 0.6;
}

.spotify-player-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
}

.spotify-player-card iframe {
  display: block;
  border: none;
}

/* ==========================================================
   RESPONSIVIDAD Y AJUSTES MÓVILES (FULL RESPONSIVE)
   ========================================================== */

/* Tablets y Pantallas Medianas (<= 992px) */
@media (max-width: 992px) {
  .content-wrapper {
    padding: 0 1.25rem;
  }

  .section-container {
    padding: 5rem 0;
  }

  .hero-section {
    padding: 7.5rem 1rem 3.5rem;
  }

  .songs-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0;
  }
}

/* Tablets en Vertical y Móviles Grandes (<= 768px) */
@media (max-width: 768px) {
  .top-nav {
    padding: 0.8rem 1.2rem;
  }

  .nav-btn .btn-text {
    display: none;
  }

  .nav-btn {
    padding: 0.5rem 0.8rem;
  }

  .section-container {
    padding: 4.2rem 0;
  }

  .section-header {
    margin-bottom: 2.8rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
  }

  /* Línea de Tiempo en 1 Columna */
  .timeline {
    padding: 1.5rem 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 55px;
    padding-right: 8px;
    text-align: left !important;
    margin-bottom: 1rem;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 7px;
    right: auto;
    top: 1.6rem;
  }

  .timeline-card {
    padding: 1.4rem 1.2rem;
  }

  .timeline-title {
    font-size: 1.3rem;
  }

  /* Sobre y Carta */
  .envelope {
    width: 310px;
    height: 210px;
  }

  .envelope-flap {
    border-left-width: 155px;
    border-right-width: 155px;
    border-top-width: 120px;
  }

  .envelope-pocket {
    border-left-width: 155px;
    border-right-width: 155px;
    border-bottom-width: 110px;
    border-top-width: 100px;
  }

  .letter-preview {
    width: 270px;
    height: 170px;
    padding: 1.2rem 1rem;
  }

  .wax-seal {
    top: 85px;
    width: 50px;
    height: 50px;
  }

  /* Pastel 3D */
  .cake-3d-canvas-container {
    height: 380px;
  }

  /* Dedicatorias de Canciones */
  .song-card {
    padding: 2.2rem 1.6rem;
    gap: 1.4rem;
  }

  .song-player-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.2rem;
  }

  .song-header-info {
    align-items: center;
  }

  .song-quote-box {
    text-align: center;
    padding: 1.1rem 1.2rem;
    border-left: none;
    border-top: 3px solid var(--accent-purple);
    border-radius: var(--radius-sm);
  }

  .gold-quote-box {
    border-top-color: var(--accent-gold);
  }

  .quote-mark {
    display: none;
  }

  .song-badges {
    justify-content: center;
  }

  /* Tarjeta de Abrazos */
  .hug-card {
    padding: 2.8rem 1.6rem;
  }

  /* Mapa de Distancia */
  .distance-map-card {
    padding: 2.2rem 1.4rem;
    gap: 2rem;
  }

  .distance-visual-route {
    flex-direction: column;
    gap: 1.8rem;
  }

  .distance-energy-beam {
    width: 100%;
    min-height: 80px;
  }

  .beam-line {
    width: 3px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .distance-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dist-metric-divider {
    width: 60%;
    height: 1px;
    margin: 0 auto;
  }

  .days-box,
  .days-sub-box {
    min-width: 90px;
    padding: 1.2rem 1rem;
  }

  /* Modales */
  .modal-card {
    padding: 2.4rem 1.6rem 2rem;
    max-width: min(94vw, 560px);
  }
}

/* Teléfonos Móviles (<= 480px) */
@media (max-width: 480px) {
  .content-wrapper {
    padding: 0 1rem;
  }

  .top-nav {
    padding: 0.7rem 0.9rem;
  }

  .nav-brand {
    font-size: 1.05rem;
    gap: 0.4rem;
  }

  .nav-controls {
    gap: 0.4rem;
  }

  .nav-btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero-section {
    padding: 6rem 0.5rem 2.8rem;
    min-height: auto;
  }

  .badge-tag {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1.4rem;
  }

  .hero-title {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
    margin-bottom: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
  }

  .hero-date-badge {
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    justify-content: center;
  }

  #birthday-date-text {
    gap: 0.4rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .scroll-down-hint {
    margin-top: 2.8rem;
    font-size: 0.72rem;
  }

  /* Sobre */
  .envelope {
    width: 280px;
    height: 190px;
  }

  .envelope-flap {
    border-left-width: 140px;
    border-right-width: 140px;
    border-top-width: 108px;
  }

  .envelope-pocket {
    border-left-width: 140px;
    border-right-width: 140px;
    border-bottom-width: 100px;
    border-top-width: 90px;
  }

  .letter-preview {
    width: 245px;
    height: 155px;
    padding: 1rem 0.8rem;
  }

  .letter-snippet {
    font-size: 0.95rem;
  }

  .wax-seal {
    top: 76px;
    width: 44px;
    height: 44px;
  }

  .seal-lucide-icon {
    width: 20px;
    height: 20px;
  }

  /* Razones Grid */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .reason-card {
    padding: 1.6rem 1.3rem;
  }

  .reason-number {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .reason-title {
    font-size: 1.25rem;
  }

  /* Pastel 3D */
  .cake-3d-canvas-container {
    height: 310px;
  }

  .blow-candle-btn {
    width: 100%;
    max-width: 290px;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
    justify-content: center;
  }

  .wish-revealed-card {
    padding: 2rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .wish-revealed-card h3 {
    font-size: 1.5rem;
  }

  .wish-revealed-card p {
    font-size: 0.92rem;
  }

  /* Cápsulas Abre Cuando */
  .open-when-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .open-when-card {
    padding: 1.6rem 1.2rem;
  }

  /* Contador de Días */
  .days-counter {
    gap: 0.8rem;
  }

  .days-box,
  .days-sub-box {
    min-width: 74px;
    padding: 1rem 0.7rem;
  }

  .days-box .days-value {
    font-size: 2.5rem;
  }

  .days-value {
    font-size: 1.8rem;
  }

  .days-label {
    font-size: 0.68rem;
  }

  .spotify-players {
    grid-template-columns: 1fr;
  }

  /* Abrazos */
  .hug-card {
    padding: 2.2rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .hug-card h2 {
    font-size: 1.6rem;
  }

  .hug-card p {
    font-size: 0.9rem;
  }

  .primary-hug-btn {
    width: 100%;
    max-width: 300px;
    padding: 0.85rem 1.2rem;
    font-size: 0.92rem;
    justify-content: center;
    gap: 0.5rem;
  }

  /* Footer */
  .romantic-footer {
    padding: 3.5rem 1rem 3rem;
  }

  .footer-dedication {
    font-size: 1.25rem;
  }

  .footer-tagline {
    font-size: 0.78rem;
  }

  /* Modales */
  .modal-overlay {
    padding: 1rem 0.6rem;
  }

  .modal-card {
    padding: 2rem 1.2rem 1.6rem;
    border-radius: var(--radius-md);
    max-height: 88vh;
  }

  .modal-close-btn {
    top: 0.6rem;
    right: 0.8rem;
    font-size: 1.7rem;
  }

  .modal-letter-header h2 {
    font-size: 1.5rem;
  }

  .modal-letter-body {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .modal-letter-signature .signature-name {
    font-size: 1.8rem;
  }

  .modal-open-when-content h3 {
    font-size: 1.45rem;
  }

  .modal-ow-text {
    font-size: 0.95rem;
  }
}

/* Pantallas Extra Pequeñas (<= 360px) */
@media (max-width: 360px) {
  .envelope {
    width: 250px;
    height: 170px;
  }

  .envelope-flap {
    border-left-width: 125px;
    border-right-width: 125px;
    border-top-width: 96px;
  }

  .envelope-pocket {
    border-left-width: 125px;
    border-right-width: 125px;
    border-bottom-width: 90px;
    border-top-width: 80px;
  }

  .letter-preview {
    width: 220px;
    height: 140px;
    padding: 0.8rem 0.6rem;
  }

  .wax-seal {
    top: 68px;
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .cake-3d-canvas-container {
    height: 280px;
  }
}