/* ==========================================================================
   ANIVERSARIO 11 MESES - HOJA DE ESTILOS DE ALTO IMPACTO EMOCIONAL Y VISUAL
   Desarrollado con Mobile-First, Glassmorphism, CSS Grid & Flexbox Moderno
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & CONFIGURACIÓN BASE
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Pastel Romántica */
  --color-bg-1: #ffe6fa;
  --color-bg-2: #ffebd8;
  --color-bg-3: #fff0f0;
  --color-bg-4: #fce4ec;
  --color-bg-5: #f3e5f5;

  --color-primary: #e85d88;
  --color-primary-hover: #d84572;
  --color-primary-light: #ff8fab;
  --color-primary-soft: rgba(232, 93, 136, 0.12);
  --color-secondary: #ffb703;
  --color-accent: #ff4d6d;
  
  --color-text-main: #3d2b3d;
  --color-text-muted: #6f5b6f;
  --color-text-light: #947e94;
  --color-white: #ffffff;
  --color-paper: #fffdf8;
  --color-paper-shadow: rgba(85, 45, 60, 0.08);

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.52);
  --glass-bg-hover: rgba(255, 255, 255, 0.72);
  --glass-border: 1px solid rgba(255, 255, 255, 0.85);
  --glass-border-soft: 1px solid rgba(232, 93, 136, 0.18);
  --glass-blur: blur(16px);
  --glass-shadow: 0 16px 36px rgba(225, 95, 140, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  --glass-shadow-hover: 0 22px 45px rgba(225, 95, 140, 0.2), 0 8px 18px rgba(0, 0, 0, 0.06);

  /* Tipografías */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-handwriting: 'Dancing Script', cursive;

  /* Transiciones y Curvas de Animación */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --------------------------------------------------------------------------
   2. RESET & ESTILOS GLOBALES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background: linear-gradient(-45deg, var(--color-bg-1), var(--color-bg-2), var(--color-bg-3), var(--color-bg-4), var(--color-bg-5));
  background-size: 400% 400%;
  animation: gradientBackground 20s ease infinite;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Animación del fondo en degradado pastel suave */
@keyframes gradientBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. PARTÍCULAS DE CORAZONES FLOTANTES
   -------------------------------------------------------------------------- */
#hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  bottom: -40px;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatUpward linear forwards;
  filter: drop-shadow(0 2px 8px rgba(232, 93, 136, 0.3));
}

@keyframes floatUpward {
  0% {
    transform: translateY(0) translateX(0) scale(0.6) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-110vh) translateX(var(--drift, 40px)) scale(1.15) rotate(var(--rot, 25deg));
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   4. REPRODUCTOR DE MÚSICA FLOTANTE (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.music-player-glass {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 40px;
  padding: 10px 18px 10px 12px;
  box-shadow: var(--glass-shadow-hover);
  transition: var(--transition-smooth);
  max-width: calc(100vw - 40px);
}

.music-player-glass:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-3px);
}

.player-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.player-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(232, 93, 136, 0.35);
  font-size: 1.15rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.player-disc.is-playing {
  animation: spinVinyl 4s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.player-info {
  display: flex;
  flex-direction: column;
  min-width: 140px;
  max-width: 190px;
}

.track-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-subtitle {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.progress-container {
  width: 100%;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(232, 93, 136, 0.2);
  border-radius: 6px;
  position: relative;
  overflow: visible;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  border-radius: 6px;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.progress-container:hover .progress-bar::after {
  transform: translateY(-50%) scale(1.25);
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--color-text-light);
  margin-top: -2px;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-control-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.mini-control-btn:hover {
  background: #ffffff;
  color: var(--color-primary-hover);
  transform: scale(1.1);
}

.mini-control-btn:active {
  transform: scale(0.92);
}

.svg-icon-sm {
  width: 15px;
  height: 15px;
}

.play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(232, 93, 136, 0.4);
  transition: var(--transition-bounce);
  flex-shrink: 0;
}

.play-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.08);
}

.play-btn:active {
  transform: scale(0.95);
}

.playlist-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.playlist-btn:hover {
  background: #ffffff;
  color: var(--color-primary-hover);
  transform: scale(1.06);
}

.svg-icon {
  width: 18px;
  height: 18px;
}

.is-hidden {
  display: none !important;
}

/* Menú Desplegable de Canciones */
.playlist-drawer {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 290px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow-hover);
  padding: 14px;
  transition: var(--transition-bounce);
  transform-origin: bottom right;
}

.playlist-drawer.is-collapsed {
  opacity: 0;
  transform: scale(0.85) translateY(12px);
  pointer-events: none;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(232, 93, 136, 0.15);
}

.close-mini-btn {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1;
}

.playlist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.playlist-item:hover, .playlist-item.is-active {
  background: rgba(232, 93, 136, 0.12);
  transform: translateX(4px);
}

.playlist-item.is-active {
  border-left: 3px solid var(--color-primary);
}

.p-info {
  display: flex;
  flex-direction: column;
}

.p-info strong {
  font-size: 0.8rem;
  color: var(--color-text-main);
}

.p-info small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .music-player-glass {
    bottom: 12px;
    right: 8px;
    left: 8px;
    max-width: calc(100vw - 16px);
    padding: 8px 10px;
    border-radius: 28px;
  }
  .player-wrapper {
    gap: 8px;
    justify-content: space-between;
  }
  .player-disc {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .player-info {
    min-width: 75px;
    max-width: 100px;
  }
  .track-title {
    font-size: 0.72rem;
  }
  .track-subtitle {
    display: none;
  }
  .player-actions {
    gap: 4px;
  }
  .mini-control-btn {
    width: 25px;
    height: 25px;
  }
  .svg-icon-sm {
    width: 13px;
    height: 13px;
  }
  .play-btn {
    width: 32px;
    height: 32px;
  }
  .play-btn .svg-icon {
    width: 15px;
    height: 15px;
  }
  .playlist-btn {
    width: 25px;
    height: 25px;
  }
  .playlist-btn .svg-icon {
    width: 13px;
    height: 13px;
  }
  .playlist-drawer {
    width: min(290px, 90vw);
  }
}

/* --------------------------------------------------------------------------
   5. CONTENEDOR GENERAL & SECCIONES CON PADDING GENEROSO
   -------------------------------------------------------------------------- */
.page-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-container {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  border: 1px solid rgba(232, 93, 136, 0.2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. HEADER / HERO SECTION (ESPECTACULAR AL ABRIR)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 6rem) 0 2rem 0;
}

.hero-glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--glass-shadow-hover);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  width: 100%;
  max-width: 900px;
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(232, 93, 136, 0.15);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232, 93, 136, 0.25);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  font-weight: 800;
  color: #2b172a;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  /* Text Shadow Brillante Elegante */
  text-shadow: 
    0 0 20px rgba(255, 143, 171, 0.45),
    0 4px 12px rgba(232, 93, 136, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

/* Contador Romántico */
.love-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

@media (min-width: 640px) {
  .love-counter-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.counter-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(225, 95, 140, 0.08);
  transition: var(--transition-smooth);
}

.counter-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(225, 95, 140, 0.16);
}

.counter-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.counter-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(232, 93, 136, 0.35);
  transition: var(--transition-bounce);
}

.hero-scroll-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(232, 93, 136, 0.45);
}

.arrow-down {
  width: 18px;
  height: 18px;
  animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* --------------------------------------------------------------------------
   7. NUESTRA GALERÍA (FOTOS ESTILO POLAROID ASIMÉTRICO / MASONRY)
   -------------------------------------------------------------------------- */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem 1.8rem;
  padding: 1.5rem 0.5rem;
}

@media (min-width: 1024px) {
  .polaroid-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.polaroid-card {
  background: #ffffff;
  padding: 14px 14px 38px 14px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  will-change: transform;
}

/* Variaciones de rotación asimétrica natural */
.tilt-1 { transform: rotate(-2.5deg); }
.tilt-2 { transform: rotate(2deg); }
.tilt-3 { transform: rotate(-1.5deg); }
.tilt-4 { transform: rotate(2.8deg); }

/* Cinta adhesiva decorativa estilo Washi Tape en la parte superior */
.tape-strip {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: rgba(255, 230, 240, 0.8);
  border: 1px dashed rgba(232, 93, 136, 0.35);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  z-index: 2;
  backdrop-filter: blur(2px);
}

.polaroid-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: #f8f6f8;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.polaroid-caption {
  font-family: var(--font-handwriting);
  font-size: 1.35rem;
  font-weight: 600;
  color: #4a3449;
  text-align: center;
  margin-top: 14px;
  line-height: 1.2;
}

/* Hover: scale(1.05) y rotación suave requerida */
.polaroid-card:hover {
  transform: scale(1.06) rotate(0deg) translateY(-8px);
  box-shadow: 0 22px 42px rgba(225, 95, 140, 0.25), 0 8px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.04);
}

.gallery-expand-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.secondary-glass-btn {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(232, 93, 136, 0.3);
  color: var(--color-primary);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(225, 95, 140, 0.1);
  transition: var(--transition-smooth);
}

.secondary-glass-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 95, 140, 0.25);
}

/* --------------------------------------------------------------------------
   8. CINE DE LOS DOS (VIDEOS CON BORDES REDONDEADOS & SOMBRA PROFUNDA)
   -------------------------------------------------------------------------- */
.cinema-container-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 30px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--glass-shadow-hover);
  max-width: 860px;
  margin: 0 auto;
}

.cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232, 93, 136, 0.2);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff3366;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.video-frame-wrapper {
  width: 100%;
  max-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  /* Sombra Paralela Profunda Requerida */
  box-shadow: 0 25px 50px -10px rgba(225, 80, 130, 0.35), 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.cinema-video-player {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.video-selector-wrapper {
  margin-top: 1.8rem;
  text-align: center;
}

.video-selector-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.8rem;
}

.video-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.video-pill {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(232, 93, 136, 0.25);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.video-pill:hover, .video-pill.is-active {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 136, 0.3);
}

/* --------------------------------------------------------------------------
   9. LA CARTA DE AMOR (EFECTO PAPEL FÍSICO / DANCING SCRIPT)
   -------------------------------------------------------------------------- */
.letter-outer-wrapper {
  max-width: 800px;
  margin: 0 auto;
  perspective: 1000px;
}

.physical-letter-sheet {
  background: var(--color-paper);
  /* Textura y aspecto de hoja de papel física */
  background-image: 
    radial-gradient(#fae3d9 0.75px, transparent 0.75px),
    linear-gradient(to right, rgba(255, 210, 220, 0.15) 1px, transparent 1px);
  background-size: 20px 20px, 100% 32px;
  border-radius: 12px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 20px 45px -10px rgba(120, 60, 80, 0.15),
    inset 0 0 40px rgba(255, 240, 230, 0.5);
  border: 1px solid rgba(235, 215, 205, 0.8);
  position: relative;
  transition: var(--transition-smooth);
}

.physical-letter-sheet:hover {
  box-shadow: 
    0 25px 55px -10px rgba(120, 60, 80, 0.2),
    inset 0 0 50px rgba(255, 240, 230, 0.7);
}

/* Sello de lacre decorativo */
.letter-stamp-seal {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #e63946, #c1121f);
  box-shadow: 0 4px 12px rgba(193, 18, 31, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  transform: rotate(12deg);
}

.seal-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.seal-text {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.letter-date {
  font-family: var(--font-handwriting);
  font-size: 1.25rem;
  color: #8c7284;
  margin-bottom: 1.5rem;
}

.letter-salutation {
  font-family: var(--font-handwriting);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.letter-body {
  font-family: var(--font-handwriting);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: #3b2838;
  line-height: 1.7;
}

.letter-body p {
  margin-bottom: 1.5rem;
  text-indent: 1.5rem;
}

.letter-poem-block {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  background: rgba(232, 93, 136, 0.06);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 14px 14px 0;
}

.poem-line {
  margin-bottom: 0.7rem !important;
  text-indent: 0 !important;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  color: #4a2542;
  line-height: 1.5;
}

.poem-line:last-child {
  margin-bottom: 0 !important;
}

.letter-highlight {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem) !important;
  font-weight: 700;
  color: var(--color-primary) !important;
  text-align: center;
  margin: 2.2rem 0 1.2rem 0 !important;
  text-indent: 0 !important;
  letter-spacing: 0.5px;
}

.letter-closing {
  font-family: var(--font-handwriting);
  margin-top: 2.5rem;
}

.signature-intro {
  font-size: 1.4rem;
  color: #7b6276;
}

.signature-name {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--color-primary);
}

.letter-footer-hearts {
  text-align: center;
  margin-top: 2rem;
  color: #d88fa7;
  font-size: 1rem;
  letter-spacing: 6px;
}

/* --------------------------------------------------------------------------
   10. 11 RAZONES POR LAS QUE TE AMO (INTERACTIVO / CARDS CON STAGGER)
   -------------------------------------------------------------------------- */
.reasons-cta-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

/* Botón principal interactivo con efecto Ripple / Pulsación */
.ripple-primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: var(--color-white);
  padding: 18px 36px;
  border-radius: 50px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(232, 93, 136, 0.45);
  overflow: hidden;
  transition: var(--transition-bounce);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(232, 93, 136, 0.45);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 40px rgba(255, 77, 109, 0.65);
  }
}

.ripple-primary-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.btn-heart-pulse {
  font-size: 1.4rem;
  display: inline-block;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
}

.reasons-hint {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* Efecto Ripple al hacer clic */
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleAnimation 0.65s linear;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Cuadrícula de las 11 Razones */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tarjeta individual con Glassmorphism y animación fade-in-up con retraso de 200ms */
.reason-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--stagger-delay, 0s);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.reason-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reason-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reason-number-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(232, 93, 136, 0.35);
}

.reason-icon {
  font-size: 1.5rem;
}

.reason-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.reason-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

/* Banner de felicitación final */
.reasons-completed-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(255, 235, 240, 0.9), rgba(255, 245, 250, 0.9));
  backdrop-filter: var(--glass-blur);
  border: 2px dashed rgba(232, 93, 136, 0.4);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(225, 95, 140, 0.15);
  animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.completed-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.8rem;
}

.completed-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.completed-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   11. FOOTER ROMÁNTICO
   -------------------------------------------------------------------------- */
.romantic-footer {
  padding: 4rem 1.25rem 6rem 1.25rem;
  position: relative;
  z-index: 2;
}

.footer-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 28px;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
}

.footer-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.footer-symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.infinity-symbol {
  font-size: 2rem;
  font-weight: 700;
}

.footer-anniversary {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. MODAL LIGHTBOX PARA FOTOS
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 15, 25, 0.75);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: zoomLightbox 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomLightbox {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.lightbox-caption-text {
  font-family: var(--font-handwriting);
  font-size: 1.6rem;
  color: #ffffff;
  margin-top: 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  font-size: 2.2rem;
  color: #ffffff;
  transition: transform 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* --------------------------------------------------------------------------
   13. ACCESIBILIDAD & REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
  .floating-heart {
    animation: none;
    display: none;
  }
  .player-disc.is-playing {
    animation: none;
  }
  .reason-card {
    animation: none;
    opacity: 1;
  }
  .ripple-primary-btn {
    animation: none;
  }
}
