:root {
  --boy-blue: #4cb3ff;
  --midnight: #0d1b2a;
  --cream: #fff7ef;
  --lavender: #d7ddff;
  --muted-blue: #7da0c3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  background: radial-gradient(circle at top, #d6ecff, #b0d7ff, #90c2ff);
  color: #1b2a41;
  position: relative;
  min-height: 100vh;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

audio {
  display: none;
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-subtle-cross-lines.png");
  opacity: 0.3;
}

.page-content {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 900px;
}

.baby-name {
  font-family: "Playfair Display", serif;
  color: var(--midnight);
}

.sparkles {
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--muted-blue);
  text-transform: uppercase;
}

.status-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.1);
}

.status-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-blue);
  margin-bottom: 0.4rem;
}

.btn-celebrate {
  border-radius: 999px;
  padding-inline: 1.75rem;
  font-weight: 600;
}

.hero-actions .btn {
  min-width: 160px;
}

.shadow-soft {
  box-shadow: 0 30px 60px rgba(13, 27, 42, 0.15);
  border-radius: 2rem;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  min-height: 360px;
}

.section-title {
  font-family: "Playfair Display", serif;
}

.baby-highlights li {
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.baby-highlights span {
  color: var(--midnight);
  font-weight: 600;
}

.boy-theme {
  background: linear-gradient(135deg, var(--boy-blue), #3772ff);
  position: relative;
  overflow: hidden;
}

.boy-theme::before,
.boy-theme::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.boy-theme::before {
  top: -50px;
  left: 5%;
}

.boy-theme::after {
  bottom: -60px;
  right: 10%;
}

.dream-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 1.5rem;
  min-height: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.playbook-card,
.message-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(13, 27, 42, 0.12);
}

.playbook-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.playbook-list li {
  background: rgba(215, 221, 255, 0.35);
  border-radius: 1.2rem;
  padding: 1rem 1.25rem;
}

.playbook-list span {
  display: block;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}

.text-bg-primary-soft {
  background-color: rgba(76, 179, 255, 0.2);
  color: var(--midnight);
}

.wish-zone {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
}

.wish-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 247, 239, 0.6), rgba(215, 221, 255, 0.4));
  z-index: 0;
}

.wish-zone > .row {
  position: relative;
  z-index: 1;
}

.wish-form .form-control {
  border-radius: 1rem;
  border: 1px solid rgba(13, 27, 42, 0.1);
}

.wish-form input[type="file"] {
  padding: 0.75rem;
}

.wish-form .btn {
  border-radius: 999px;
  font-weight: 600;
}

.privacy-hint {
  font-size: 0.85rem;
  color: var(--muted-blue);
}

.modal-content {
  border: none;
  border-radius: 1.5rem;
  background: var(--cream);
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.2);
}

.toast {
  border-radius: 1rem;
  font-weight: 600;
}

.celebration-bubble {
  position: fixed;
  bottom: -60px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  opacity: 0.8;
  animation: floatUp 4s ease-in forwards;
  z-index: 0;
}

@keyframes floatUp {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 576px) {
  .baby-name {
    font-size: 2.4rem;
  }

  .status-card {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

}

@media (max-width: 768px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .baby-name {
    font-size: 2.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .status-card {
    flex: 1 1 45%;
  }

  .carousel-item img {
    min-height: 280px;
  }

  .dream-card,
  .playbook-card,
  .message-card {
    padding: 1.5rem;
  }

  .wish-zone {
    border-radius: 1.5rem;
  }

  .wish-zone::before {
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-inline: 1rem;
  }

  .sparkles {
    letter-spacing: 0.12em;
  }

  .carousel-item img {
    min-height: 220px;
  }

  .playbook-list li {
    padding: 0.9rem;
  }

  .wish-form .form-control {
    font-size: 0.95rem;
  }
}
