/* ===========================
   AADRIT DEY — BABY WEBSITE
   =========================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff7eb3;
  --primary-dark: #e05a95;
  --secondary: #a78bfa;
  --accent: #fbbf24;
  --soft: #fff0f7;
  --bg: #0f0620;
  --bg2: #17082e;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f8eeff;
  --text-muted: #c4a8e0;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(255, 126, 179, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ========== PARTICLES ========== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.7;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 126, 179, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(167, 139, 250, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(251, 191, 36, 0.10) 0%, transparent 70%);
  z-index: 0;
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.f-icon {
  position: absolute;
  font-size: 2.2rem;
  animation: floatIcon 6s ease-in-out infinite;
  opacity: 0.65;
  filter: drop-shadow(0 0 10px rgba(255, 126, 179, 0.6));
}

.i1 {
  top: 10%;
  left: 8%;
  animation-delay: 0s;
  font-size: 2.8rem;
}

.i2 {
  top: 15%;
  right: 10%;
  animation-delay: 0.8s;
  font-size: 2rem;
}

.i3 {
  top: 70%;
  left: 5%;
  animation-delay: 1.2s;
  font-size: 2.4rem;
}

.i4 {
  top: 60%;
  right: 7%;
  animation-delay: 0.4s;
  font-size: 2.6rem;
}

.i5 {
  top: 30%;
  left: 4%;
  animation-delay: 1.8s;
  font-size: 1.8rem;
}

.i6 {
  top: 40%;
  right: 4%;
  animation-delay: 2.2s;
  font-size: 2.2rem;
}

.i7 {
  bottom: 15%;
  left: 12%;
  animation-delay: 0.6s;
  font-size: 2rem;
}

.i8 {
  bottom: 20%;
  right: 12%;
  animation-delay: 1.5s;
  font-size: 2.4rem;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-18px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 126, 179, 0.15);
  border: 1px solid rgba(255, 126, 179, 0.35);
  color: var(--primary);
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: fadeSlideDown 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  animation: fadeSlideDown 0.8s 0.15s ease both;
}

.name-first {
  display: block;
  background: linear-gradient(135deg, #ff7eb3 0%, #fbbf24 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 126, 179, 0.4));
}

.name-last {
  display: block;
  color: var(--text);
  font-style: italic;
  font-size: 70%;
  opacity: 0.85;
}

.hero-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.8s 0.3s ease both;
}

.birth-date-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.8s 0.45s ease both;
}

.date-icon {
  font-size: 1.8rem;
}

.date-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.date-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ========== LIVE COUNTER ========== */
.counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  animation: fadeSlideDown 0.8s 0.6s ease both;
  flex-wrap: wrap;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 126, 179, 0.12);
  border: 1px solid rgba(255, 126, 179, 0.25);
  border-radius: 14px;
  padding: 0.6rem 1.1rem;
  min-width: 70px;
}

.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.15s ease;
}

.counter-num.pop {
  transform: scale(1.3);
}

.counter-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.counter-sep {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.counter-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeSlideDown 0.8s 0.75s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 10px 35px rgba(255, 126, 179, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeSlideDown 0.8s 0.9s ease both;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 45px rgba(255, 126, 179, 0.55);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.6rem;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========== STATS ========== */
.stats-section {
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 126, 179, 0.18);
}

.stat-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ========== SECTION COMMON ========== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--secondary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #ffffff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== NEW SECTION COMMON ========== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--secondary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #ffffff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== NAME MEANING ========== */
.name-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.name-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.name-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr) 2fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}

.name-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.name-card-large {
  grid-column: 3;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, rgba(255, 126, 179, 0.08), rgba(167, 139, 250, 0.05));
  position: relative;
  overflow: hidden;
}

.name-card-large::after {
  content: 'A';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  color: rgba(255, 255, 255, 0.02);
  right: -2rem;
  bottom: -4rem;
  line-height: 1;
  pointer-events: none;
}

.name-big {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.name-meaning {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.name-meaning strong {
  color: #fff;
}

.name-stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.name-stat-card:hover {
  transform: translateY(-4px);
}

.ns-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.4));
}

.ns-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.ns-val {
  font-weight: 600;
  color: var(--text);
  font-size: 1.1rem;
}

/* ========== PROMISES ========== */
.promises-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.promises-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.promise-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transition: height 0.4s ease;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.promise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 126, 179, 0.15);
}

.promise-card:hover::before {
  height: 100%;
}

.promise-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.promise-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.promise-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== WORLD WHEN BORN ========== */
.world-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.world-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(251, 191, 36, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.world-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.world-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  transition: background 0.3s ease;
}

.world-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.world-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

.world-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.world-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== WISHES ========== */
.wishes-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.wishes-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(255, 126, 179, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.letter-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 3rem 3.5rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(255, 126, 179, 0.12);
}

.letter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 126, 179, 0.08), rgba(167, 139, 250, 0.05));
  pointer-events: none;
}

.letter-top {
  text-align: center;
  margin-bottom: 1.5rem;
}

.letter-angel {
  font-size: 3.5rem;
  filter: drop-shadow(0 0 20px rgba(255, 126, 179, 0.5));
}

.letter-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
}

.letter-text strong {
  color: var(--primary);
  font-weight: 600;
}

.letter-sig {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== MILESTONES ========== */
.milestones-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.milestones-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.3rem;
}

.milestone-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.milestone-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 126, 179, 0.18);
  border-color: rgba(255, 126, 179, 0.3);
}

.milestone-card:hover::after {
  opacity: 1;
}

.milestone-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(255, 126, 179, 0.4));
}

.milestone-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.milestone-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.milestone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.milestone-tag.pending {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--accent);
}

.milestone-tag.done {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

/* ========== FOOTER ========== */
.footer {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--card-border);
  background: linear-gradient(to top, rgba(255, 126, 179, 0.05), transparent);
}

.footer-angel {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 25px rgba(255, 126, 179, 0.5));
  animation: floatIcon 4s ease-in-out infinite;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-quote {
  max-width: 480px;
  margin: 0 auto 2rem;
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .name-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .name-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .letter-card {
    padding: 2rem 1.5rem;
  }

  .f-icon {
    font-size: 1.5rem;
  }

  .counter-item {
    min-width: 55px;
    padding: 0.5rem 0.7rem;
  }

  .counter-num {
    font-size: 1.5rem;
  }
}

@media (max-width: 400px) {
  .counter-row {
    gap: 0.3rem;
  }

  .counter-sep {
    font-size: 1.3rem;
  }
}