body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 214, 230, 0.45), transparent 30%),
    linear-gradient(135deg, #fff0f6, #f7e8ff, #ffeef5);
}

.main-container {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}

.card-love {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 40px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 50px rgba(180, 110, 160, 0.18);
  overflow: visible;
}

.screen {
  transition: all 0.7s ease;
}

.hidden {
  display: none;
}

.top-text {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: #b46d8d;
  margin-bottom: 12px;
}

.title-main {
  font-family: 'Great Vibes', cursive;
  font-size: 4.6rem;
  color: #d85b9f;
  margin-bottom: 8px;
}

.name-glow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #9b4d75;
  margin-bottom: 20px;
}

.text-main {
  color: #6f5563;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 540px;
  margin: 0 auto 24px;
}

.btn-love {
  background: linear-gradient(45deg, #ff79c6, #a66cff);
  border: none;
  color: white;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 12px 25px rgba(166, 108, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-love:hover {
  transform: translateY(-2px) scale(1.03);
  color: white;
  box-shadow: 0 16px 30px rgba(166, 108, 255, 0.35);
}

.song-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  color: #a43d79;
  margin-bottom: 20px;
}

.lyrics-box {
  background: rgba(255,255,255,0.60);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.lyrics-text {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  line-height: 1.9;
  color: #5d3b49;
  white-space: normal;
}

.firma {
  margin-top: 18px;
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #d85b9f;
}

.final-sorpresa {
  margin-top: 28px;
  padding: 26px 18px 10px;
  animation: fadeUp 1.2s ease;
}

.final-title {
  margin: 0;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 7vw, 5rem);
  color: #ff4fa0;
  text-shadow:
    0 0 8px rgba(255, 79, 160, 0.35),
    0 0 18px rgba(255, 79, 160, 0.30),
    0 0 32px rgba(255, 150, 214, 0.35);
  animation: glowPulse 1.8s ease-in-out infinite;
}

.final-subtitle {
  margin-top: 8px;
  margin-bottom: 18px;
  color: #9b4d75;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
}

.replay-btn {
  margin-top: 4px;
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    text-shadow:
      0 0 8px rgba(255, 79, 160, 0.35),
      0 0 18px rgba(255, 79, 160, 0.30),
      0 0 32px rgba(255, 150, 214, 0.35);
  }
  50% {
    transform: scale(1.03);
    text-shadow:
      0 0 12px rgba(255, 79, 160, 0.50),
      0 0 24px rgba(255, 79, 160, 0.45),
      0 0 40px rgba(255, 150, 214, 0.50);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hearts-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.heart {
  position: absolute;
  bottom: -30px;
  color: rgba(255, 105, 180, 0.55);
  animation: floatHeart linear forwards;
  user-select: none;
}

@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) translateX(30px) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .card-love {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .title-main {
    font-size: 3.2rem;
  }

  .lyrics-text {
    font-size: 1.3rem;
  }

  .final-title {
    font-size: 3rem;
  }
}