* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at center, #140018 0%, #000000 100%);
  height: 100vh;
  overflow: hidden;
  font-family: 'Georgia', serif;
}

#heart-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

#heart {
  font-size: 4rem;
  background: none;
  border: none;
  color: #ff66cc;
  cursor: pointer;
  animation: pulse 1.2s infinite, glowHeart 2s infinite ease-in-out;
  filter: drop-shadow(0 0 8px #ff66cc);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes glowHeart {
  0% {
    text-shadow: 0 0 4px #ff99ff, 0 0 8px #ff66cc, 0 0 12px #cc33cc;
  }
  50% {
    text-shadow: 0 0 8px #ff99ff, 0 0 16px #ff66cc, 0 0 24px #cc00ff;
  }
  100% {
    text-shadow: 0 0 4px #ff99ff, 0 0 8px #ff66cc, 0 0 12px #cc33cc;
  }
}

.hidden {
  display: none;
}

#main-interface {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  padding-bottom: 100px;
}

#main-interface::-webkit-scrollbar {
  display: none;
}

#float-wrapper {
  width: 100%;
  min-height: 150vh;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  padding-bottom: 200px;
}

#floating-words {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.word {
  position: absolute;
  bottom: -50px;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: bold;
  color: hsl(320, 100%, 70%);
  animation: floatUp 12s linear infinite;
  text-shadow: 0 0 6px #ff99ff, 0 0 12px #cc33cc;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateY(-150vh);
    opacity: 0;
  }
}

#floating-img {
  display: block;
  margin: 100px auto 20px auto;
  width: 220px;
  max-width: 80vw;
  opacity: 0;
  z-index: 2;
  border-radius: 12px;
  box-shadow:
    0 0 12px #ff99ff,
    0 0 24px #cc33cc,
    0 0 36px #ff66cc,
    0 0 48px #cc00ff;
  animation: fadeInPhoto 2s ease forwards 1.5s, glowPulse 2s infinite ease-in-out;
}

@keyframes fadeInPhoto {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 8px #ff99ff,
      0 0 16px #cc33cc,
      0 0 24px #ff66cc,
      0 0 32px #cc00ff;
  }
  50% {
    box-shadow:
      0 0 16px #ff99ff,
      0 0 32px #cc33cc,
      0 0 48px #ff66cc,
      0 0 64px #cc00ff;
  }
  100% {
    box-shadow:
      0 0 8px #ff99ff,
      0 0 16px #cc33cc,
      0 0 24px #ff66cc,
      0 0 32px #cc00ff;
  }
}

#caption-message {
  display: block;
  margin: 0 auto;
  width: 90%;
  max-width: 400px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  color: #ffe6f5;
  font-family: 'Georgia', serif;
  font-size: clamp(14px, 2vw, 18px);
  box-shadow: 0 0 10px #cc33cc66, 0 0 20px #cc33cc33;
  backdrop-filter: blur(4px);
  opacity: 0;
  animation: fadeInCaption 2s ease 2.5s forwards, glowPulse 3s infinite ease-in-out;
  z-index: 3;
}

.caption-line {
  line-height: 1.6;
  font-size: 1rem;
}

.caption-line .glow-word {
  color: #ffccff;
  font-weight: bold;
  text-shadow:
    0 0 4px #ff99ff,
    0 0 8px #cc33cc,
    0 0 12px #ff66cc;
  animation: glowWavePurple 2.5s infinite ease-in-out;
}

@keyframes glowWavePurple {
  0%, 100% {
    text-shadow: 0 0 4px #ff99ff, 0 0 8px #cc33cc;
  }
  50% {
    text-shadow: 0 0 8px #ff66cc, 0 0 12px #cc00ff;
  }
}

@keyframes fadeInCaption {
  to {
    opacity: 1;
  }
}
