:root {
  --night: #020617;
  --moon: #c7d2fe;
  --star: #ffffff;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #0b1c3d, var(--night));
  color: #e5e7eb;
  overflow-x: hidden;
}

/* STARS */
.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(2px 2px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 20% 60%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 30% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 80%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 50% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 70%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 50%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 75%, #fff 50%, transparent 51%);
  animation: drift 220s linear infinite;
  opacity: .85;
}

.sky2 {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(1px 1px at 15% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 60%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 75% 70%, #fff 50%, transparent 51%);
  animation: drift 360s linear infinite;
  opacity: .5;
}

@keyframes drift {
  to {
    transform: translateY(-500px)
  }
}

/* MOON — Mobile first (phones) */
.moon {
  position: fixed;
  top: clamp(6%, 10vw, 14%);
  left: 50%;
  transform: translateX(25%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #c7d2fe 60%);
  box-shadow: 0 0 40px rgba(199, 210, 254, .6);
  z-index: -1;
}

/* MOON — iPads & laptops */
@media (min-width: 768px) {
  .moon {
    top: 8%;
    left: 70%;
    transform: none;
  }
}

/* SHOOTING STAR */
.shooting-star {
  position: fixed;
  top: -20%;
  left: 10%;
  width: 2px;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .9), transparent);
  opacity: 0;
  transform: rotate(25deg);
  z-index: -1;
  animation: shoot 28s ease-in-out infinite;
}

@keyframes shoot {

  0%,
  85% {
    opacity: 0;
    transform: translate(0, 0) rotate(25deg)
  }

  88% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(80vw, 80vh) rotate(25deg)
  }
}

/* HEADER */
header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: var(--moon);
  margin-bottom: 0.4rem;
  /* tighter gap */
}

/* Subheading */
.tag {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  opacity: 0.75;
  text-transform: uppercase;

  /* KEY PART */
  display: inline-block;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.intro {
  max-width: 520px;
  margin-top: 2rem;
  line-height: 1.8;
}

/* SECTIONS */
section {
  max-width: 1000px;
  margin: auto;
  padding: 5rem 1.5rem;
}

.whisper {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1.9;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: 1.4s ease;
}

.whisper.show {
  opacity: 1;
  transform: none;
}

/* WAND */
.wand {
  width: 120px;
  height: 2px;
  margin: 3rem auto 0;
  background: linear-gradient(90deg, transparent, #c7d2fe, transparent);
  box-shadow: 0 0 18px #c7d2fe;
}

/* MEDIA */
.media {
  display: grid;
  gap: 1.8rem;
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.frame {
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

/* VIDEO */
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-frame .blur {
  filter: blur(22px);
  transform: scale(1.3);
  z-index: -1;
}

/* IMAGE */
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CAPTION */
figcaption {
  font-size: .9rem;
  opacity: .75;
  text-align: center;
  font-style: italic;
}

/* MUSIC */
.music {
  text-align: center;
}

.music button {
  border: 1px solid rgba(255, 255, 255, .4);
  background: none;
  color: #e5e7eb;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    opacity: .6
  }
}

.song-label {
  margin-top: .6rem;
  font-size: .85rem;
  opacity: .7;
}

/* FOOTER */
footer {
  padding: 4rem 1.5rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  opacity: .85;
}

.sign {
  display: block;
  margin-top: 1.2rem;
  opacity: .7;
}