:root {
  --rose: #ff4d79;
  --gold: #ffd700;
  --glass: rgba(255, 255, 255, 0.05);
}

body {
  margin: 0;
  padding: 0;
  background-color: #0b0c1a;
  background-image: url("https://cdn.pixabay.com/photo/2018/02/21/15/06/galaxy-3166015_1280.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">❤️</text></svg>') 16 16, auto;
}

#bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}

#first-whisper {
  display: none;
  position: fixed;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  animation: appear 2s forwards;
  z-index: 5;
  font-family: 'Great Vibes', cursive;
  font-size: 1.4rem;
}

@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.moments-wrapper {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255,255,255,0.05);
  text-align: center;
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: var(--rose);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid white;
  animation: typing 4s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink { from, to { border-color: transparent } 50% { border-color: white; } }

.subtitle {
  font-size: 1.1rem;
  color: var(--gold);
  margin: 1rem 0 2rem;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.moment-card {
  background: rgba(255,255,255,0.04);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255,255,255,0.02);
  text-align: left;
  transition: 0.3s ease;
  position: relative;
}

.moment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px var(--rose);
}

.moment-card h2 {
  color: var(--rose);
  font-size: 1.3rem;
}

.moment-card p {
  color: #f8f8f8;
  line-height: 1.5;
}

/* Shooting Star */
.shooting-star {
  position: fixed;
  top: 20%;
  right: -10%;
  width: 120px;
  height: 2px;
  background: linear-gradient(to left, white, transparent);
  opacity: 0.8;
  transform: rotate(-15deg);
  animation: shootLeft 1.2s linear forwards;
  z-index: 1;
}

@keyframes shootLeft {
  from {
    right: -10%;
    top: 20%;
    opacity: 1;
  }
  to {
    right: 110%;
    top: 80%;
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .moments-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }
}
/**************************************************************************************************/
/* 🪽 wing-1 magical flutter effect */
.wing-1 {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(white, #ff4d79);
  border-radius: 50%;
  pointer-events: none;
  animation: flutter 1s ease-out forwards;
  z-index: 100;
  opacity: 0.8;
}

@keyframes flutter {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) translate(-100px, -150px) rotate(720deg);
    opacity: 0;
  }
}

/* 🌟 AR Button */
.ar-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd700;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  text-decoration: none;
  z-index: 10;
  transition: 0.3s ease;
}

.ar-button:hover {
  background: #ff4d79;
  color: white;
  box-shadow: 0 0 15px #ff4d79;
}
