
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, #172c58 0%, #09152f 48%, #030817 100%);
  color: #eef4ff;
  font-family: Georgia, "Times New Roman", serif;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.intro,
.love-message {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  z-index: 2;
  pointer-events: none;
  transition: opacity 2s ease;
}

.intro {
  background: radial-gradient(
    circle,
    rgba(13, 29, 61, 0.05),
    rgba(3, 8, 23, 0.18)
  );
}

.intro.hidden {
  opacity: 0;
}

.moon {
  font-size: 65px;
  color: #d9e8ff;
  text-shadow: 0 0 25px #92bfff;
  margin-bottom: 25px;
  animation: moonGlow 4s ease-in-out infinite;
}

.small-title {
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 5px;
  color: #a9c9ff;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(35px, 8vw, 70px);
  font-weight: normal;
  letter-spacing: 2px;
  color: #f5f7ff;
  text-shadow: 0 0 25px rgba(135, 177, 255, 0.6);
}

h1 span {
  color: #f3b8df;
  text-shadow: 0 0 25px #e99bd0;
}

.subtitle {
  margin-top: 18px;
  color: #b6c7e9;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 1px;
}

button {
  font-family: Arial, sans-serif;
  cursor: pointer;
  border: 1px solid rgba(190, 213, 255, 0.45);
  border-radius: 30px;
  padding: 13px 23px;
  color: #eef4ff;
  background: rgba(25, 47, 88, 0.78);
  box-shadow: 0 0 20px rgba(105, 151, 255, 0.16);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

button:hover {
  background: rgba(64, 91, 147, 0.9);
  box-shadow: 0 0 25px rgba(141, 177, 255, 0.4);
  transform: translateY(-2px);
}

#startBtn {
  margin-top: 38px;
  pointer-events: auto;
}

.music-control {
  position: fixed;
  top: 20px;
  right: 18px;
  z-index: 5;
}

.replay {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 5;
}

.love-message {
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.5s ease;
}

.love-message.show {
  opacity: 1;
  visibility: visible;
}

.love-message h2 {
  font-size: clamp(27px, 6vw, 48px);
  font-weight: normal;
  color: #f7eaff;
  text-shadow: 0 0 20px #a3bdff, 0 0 40px #e99bd0;
}

.love-message p {
  margin-top: 16px;
  font-size: 15px;
  color: #c9d8f5;
  font-style: italic;
  letter-spacing: 1px;
}

.tiny-heart {
  margin-top: 18px;
  font-size: 28px;
  color: #f4b9e3;
  text-shadow: 0 0 18px #f4b9e3;
  animation: heartbeat 1.8s ease-in-out infinite;
}

@keyframes moonGlow {
  0%, 100% {
    text-shadow: 0 0 15px #92bfff;
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 0 35px #c8dcff;
    transform: translateY(-5px);
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@media (max-width: 600px) {
  .small-title {
    letter-spacing: 3px;
  }

  .music-control {
    top: 14px;
    right: 12px;
  }

  .music-control button,
  .replay {
    padding: 10px 14px;
    font-size: 12px;
  }

  .replay {
    bottom: 14px;
    left: 12px;
  }
}
