* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff7ff;
  background:
    radial-gradient(circle at top left, rgba(255, 193, 245, 0.25), transparent 30%),
    linear-gradient(135deg, #15001f, #271044 45%, #4b1d6b);
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
  z-index: -1;
}

.glow-one {
  top: 80px;
  right: -80px;
  background: #ff8ad8;
}

.glow-two {
  bottom: 100px;
  left: -90px;
  background: #8b5cf6;
}

.hero {
  min-height: 100vh;
  padding: 24px 7%;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #f5defc;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 880px;
}

.eyebrow,
.section-label {
  color: #ffd1f3;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 0.95;
  margin-bottom: 26px;
}

h1 span {
  color: #ffe27a;
  text-shadow: 0 0 35px rgba(255, 226, 122, 0.45);
}

.subtitle {
  max-width: 650px;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #f1ddff;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.primary {
  color: #261036;
  background: #ffe27a;
  box-shadow: 0 12px 35px rgba(255, 226, 122, 0.25);
}

.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.card-section,
.memories-section,
.surprise-section {
  padding: 90px 7%;
}

.card,
.surprise-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.message-card h2,
.memories-section h2,
.surprise-box h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 22px;
}

.message-card p {
  color: #f5e9ff;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.signature {
  color: #ffe27a !important;
  font-weight: 800;
}

.memories-section {
  max-width: 1180px;
  margin: 0 auto;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.memory-card {
  padding: 30px;
  min-height: 250px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.memory-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.16);
}

.memory-card span {
  display: inline-block;
  color: #ffe27a;
  font-weight: 900;
  margin-bottom: 28px;
}

.memory-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.memory-card p,
.surprise-box p {
  color: #f5e9ff;
  line-height: 1.7;
}

.surprise-box {
  text-align: center;
}

.verdict-text {
  min-height: 40px;
  margin-top: 24px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffe27a !important;
}

footer {
  text-align: center;
  padding: 30px;
  color: #efd8ff;
}

.confetti {
  position: fixed;
  top: -20px;
  width: 10px;
  height: 18px;
  border-radius: 3px;
  animation: fall linear forwards;
  z-index: 999;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

@media (max-width: 800px) {
  .navbar {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .memory-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .surprise-box {
    padding: 28px;
  }
}
