:root {
  color-scheme: light;
}

body {
  scroll-behavior: smooth;
}

.hero {
  background: linear-gradient(155deg, #f6f9ff 0%, #eaf2ff 45%, #d2e2ff 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(79, 134, 247, 0.25), transparent 40%);
  animation: drift 12s ease-in-out infinite alternate;
}

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section h2 {
  font-family: "Cormorant Garamond", serif;
  color: #1f3769;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.section p,
.section li {
  line-height: 1.75;
}

.timeline {
  border-left: 2px solid #a9c8ff;
  padding-left: 1.25rem;
  display: grid;
  gap: 1rem;
}

.timeline article span {
  display: inline-block;
  background: #4f86f7;
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.card {
  background: #fff;
  border: 1px solid #d2e2ff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(31, 55, 105, 0.08);
}

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

.gift-card img {
  border-radius: 0.9rem;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.button {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: #386ad9;
  color: #fff;
  font-weight: 500;
}

.button-outline {
  background: transparent;
  border: 1px solid #386ad9;
  color: #386ad9;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 38, 0.6);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 30;
}

.modal-content {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  font-size: 1.8rem;
  color: #1f3769;
}

#petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.petal {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 60% 40% 60% 40%;
  background: linear-gradient(170deg, #ffffff, #d2e2ff);
  opacity: 0.7;
  animation: fall linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fall {
  from {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  to {
    transform: translate3d(var(--drift), 110vh, 0) rotate(360deg);
  }
}

@keyframes drift {
  from {
    transform: translateY(0px) scale(1);
  }
  to {
    transform: translateY(-12px) scale(1.04);
  }
}
