/* ==========================================================================
   Baby Birth Announcement & Invitation Design System
   Pastel Palette: Blush Pink, Powder Blue, Soft Cream, Warm Amber & Gold
   ========================================================================== */

:root {
  /* Pastel Color Palette */
  --color-pink-soft: #FDE8ED;
  --color-pink-primary: #F472B6;
  --color-pink-deep: #DB2777;
  --color-pink-gradient: linear-gradient(135deg, #FF9A8B 0%, #FF6A88 55%, #FF99AC 100%);
  
  --color-blue-soft: #E0F2FE;
  --color-blue-primary: #38BDF8;
  --color-blue-deep: #0284C7;
  --color-blue-gradient: linear-gradient(135deg, #6EE7B7 0%, #3B82F6 100%);

  --color-cream-bg: #FCF9F5;
  --color-card-bg: rgba(255, 255, 255, 0.88);
  --color-card-border: rgba(255, 255, 255, 0.95);
  --color-gold-accent: #EAB308;
  --color-gold-soft: #FEF3C7;
  --color-text-main: #334155;
  --color-text-muted: #64748B;
  --color-text-dark: #1E293B;

  /* Typography: Adorable, Bubbly & Child-friendly */
  --font-script: 'Caveat', cursive, sans-serif;
  --font-kids: 'Fredoka', 'Bubblegum Sans', 'Nunito', cursive, sans-serif;
  --font-sans: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Curves */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(225, 175, 185, 0.25), 0 8px 10px -6px rgba(186, 230, 253, 0.25);
  --shadow-lg: 0 20px 35px -10px rgba(244, 114, 182, 0.18), 0 15px 25px -10px rgba(56, 189, 248, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(253, 232, 237, 0.7) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 242, 254, 0.7) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(254, 243, 199, 0.5) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(253, 232, 237, 0.6) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Floating Background Elements (always strictly behind content) */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Fluffy Clouds */
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(210, 225, 245, 0.4);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud-1 {
  width: 140px;
  height: 45px;
  top: 10%;
  left: -150px;
  animation: driftCloud 45s linear infinite;
}
.cloud-1::before { width: 55px; height: 55px; top: -25px; left: 20px; }
.cloud-1::after { width: 45px; height: 45px; top: -18px; right: 25px; }

.cloud-2 {
  width: 190px;
  height: 60px;
  top: 45%;
  left: -200px;
  animation: driftCloud 60s linear infinite 15s;
  opacity: 0.8;
}
.cloud-2::before { width: 75px; height: 75px; top: -35px; left: 30px; }
.cloud-2::after { width: 60px; height: 60px; top: -25px; right: 35px; }

.cloud-3 {
  width: 120px;
  height: 40px;
  top: 75%;
  left: -130px;
  animation: driftCloud 50s linear infinite 5s;
  opacity: 0.6;
}
.cloud-3::before { width: 45px; height: 45px; top: -20px; left: 15px; }
.cloud-3::after { width: 35px; height: 35px; top: -14px; right: 20px; }

@keyframes driftCloud {
  0% { transform: translateX(-10vw); }
  100% { transform: translateX(110vw); }
}

/* Floating Balloons */
.balloon {
  position: absolute;
  width: 44px;
  height: 54px;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  animation: floatBalloon 18s ease-in-out infinite;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.05);
}
.balloon-string {
  position: absolute;
  bottom: -32px;
  left: 50%;
  width: 1.5px;
  height: 32px;
  background: rgba(148, 163, 184, 0.6);
  transform-origin: top center;
  animation: stringSway 3s ease-in-out infinite alternate;
}
.balloon-string::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 4px;
  background: inherit;
  border-radius: 2px;
}

.balloon-pink {
  background: radial-gradient(circle at 35% 30%, #FFE4E6, #F472B6);
  top: 15%;
  right: 8%;
  animation-duration: 16s;
}
.balloon-blue {
  background: radial-gradient(circle at 35% 30%, #E0F2FE, #38BDF8);
  top: 38%;
  left: 6%;
  animation-duration: 22s;
  animation-delay: 2s;
}
.balloon-gold {
  background: radial-gradient(circle at 35% 30%, #FEF3C7, #F59E0B);
  top: 68%;
  right: 10%;
  animation-duration: 19s;
  animation-delay: 5s;
}

@keyframes floatBalloon {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-40px) rotate(4deg); }
}

@keyframes stringSway {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

/* Sparkles in Background */
.sparkle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.6;
  animation: sparkleTwinkle 4s ease-in-out infinite alternate;
}
.sparkle-1 { top: 12%; left: 18%; animation-delay: 0.5s; font-size: 1.5rem; }
.sparkle-2 { top: 32%; right: 15%; animation-delay: 1.5s; font-size: 1.1rem; }
.sparkle-3 { top: 58%; left: 12%; animation-delay: 2.2s; font-size: 1.6rem; }
.sparkle-4 { top: 82%; right: 22%; animation-delay: 0.9s; font-size: 1.3rem; }

@keyframes sparkleTwinkle {
  0% { transform: scale(0.7) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.1) rotate(15deg); opacity: 0.9; }
  100% { transform: scale(0.85) rotate(-10deg); opacity: 0.5; }
}

/* Floating Music Widget */
.music-toggle-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
}
.music-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(244, 114, 182, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.2);
  color: var(--color-pink-deep);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.music-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.3);
  background: #FFF;
}
.music-icon {
  font-size: 1rem;
  color: var(--color-pink-primary);
  transition: transform 0.3s ease;
}
.music-btn.playing .music-icon {
  animation: bounceNote 1.2s infinite ease-in-out;
}
.music-waves {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}
.music-waves span {
  width: 3px;
  height: 4px;
  background: var(--color-pink-primary);
  border-radius: 2px;
  transition: height 0.2s ease;
}
.music-btn.playing .music-waves span:nth-child(1) {
  animation: waveBar 0.9s infinite ease-in-out 0.1s;
}
.music-btn.playing .music-waves span:nth-child(2) {
  animation: waveBar 0.9s infinite ease-in-out 0.3s;
}
.music-btn.playing .music-waves span:nth-child(3) {
  animation: waveBar 0.9s infinite ease-in-out 0.2s;
}

@keyframes waveBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

@keyframes bounceNote {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px) rotate(8deg); }
}

/* Layout Wrapper */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 60px 20px;
}

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

/* Glassmorphism Card Style */
.glass-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 34px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Top Announcement Pill Header */
.top-pill-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #FFE4E6 0%, #E0F2FE 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #475569;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(244, 114, 182, 0.15);
  animation: subtlePulse 3s infinite ease-in-out;
}
.pill-sparkle {
  font-size: 1rem;
}
@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Hero Section */
.hero-section {
  padding: 10px 0 20px 0;
}
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.names-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gender-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}
.tag-pink {
  background: var(--color-pink-soft);
  color: var(--color-pink-deep);
  border: 1px solid rgba(244, 114, 182, 0.3);
}
.tag-blue {
  background: var(--color-blue-soft);
  color: var(--color-blue-deep);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.full-name {
  font-family: var(--font-kids);
  font-size: 2.55rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.25;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}
.full-name:hover {
  transform: scale(1.03);
}
.girl-name .full-name {
  background: linear-gradient(135deg, #DB2777 0%, #F472B6 60%, #FB7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(244, 114, 182, 0.2));
}
.boy-name .full-name {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(56, 189, 248, 0.2));
}

.name-connector {
  font-family: var(--font-kids);
  font-size: 2.2rem;
  color: #F59E0B;
  font-weight: 700;
  line-height: 1;
  margin: 2px 0;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  color: #475569;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.6;
}

/* Baby Photo Showcase Section */
.photo-showcase-section {
  display: flex;
  justify-content: center;
  margin: 20px 0 35px 0;
}
.photo-container-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ornate Photo Frame */
.ornate-photo-frame {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(135deg, #FFDEE9 0%, #B5FFFC 50%, #FFE4E6 100%);
  box-shadow: 
    0 15px 35px rgba(244, 114, 182, 0.25),
    0 10px 25px rgba(56, 189, 248, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.ornate-photo-frame:hover {
  transform: scale(1.02) rotate(1deg);
}

.photo-glow-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2.5px dashed #F59E0B;
  opacity: 0.6;
  animation: rotateRing 35s linear infinite;
  pointer-events: none;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.photo-inner-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.08);
}
.baby-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ornate-photo-frame:hover .baby-photo {
  transform: scale(1.05);
}
.photo-overlay-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative Stickers around Frame */
.sticker {
  position: absolute;
  font-size: 1.8rem;
  z-index: 5;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  animation: floatSticker 4s ease-in-out infinite alternate;
}
.sticker-cloud-top {
  top: -15px;
  left: 10px;
  font-size: 2.2rem;
}
.sticker-star-right {
  top: 25px;
  right: -10px;
  font-size: 1.8rem;
  animation-delay: 1s;
}
.sticker-bow {
  bottom: 35px;
  left: -15px;
  font-size: 2rem;
  animation-delay: 2s;
}
.sticker-moon {
  bottom: 20px;
  right: -10px;
  font-size: 1.9rem;
  animation-delay: 1.5s;
}

@keyframes floatSticker {
  0% { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(-8px) rotate(6deg); }
}

/* Twin Badges Row */
.twin-badges-row {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.twin-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #FFF;
  background: #FFF;
  transition: transform 0.25s ease;
}
.twin-badge:hover {
  transform: translateY(-3px);
}
.badge-pink-soft {
  background: linear-gradient(135deg, #FFF1F2 0%, #FCE7F3 100%);
  border-color: rgba(244, 114, 182, 0.3);
}
.badge-blue-soft {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-color: rgba(56, 189, 248, 0.3);
}
.baby-icon {
  font-size: 1.4rem;
}
.badge-title {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}
.badge-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Live Countdown Card */
.countdown-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 242, 248, 0.85) 100%);
}
.section-heading-sm {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.section-heading-sm i {
  color: #F59E0B;
  margin-right: 6px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.count-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(244, 114, 182, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-width: 78px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.count-num {
  font-family: var(--font-kids);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-pink-deep);
}
.count-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.count-sep {
  font-family: var(--font-kids);
  font-size: 1.8rem;
  font-weight: 700;
  color: #CBD5E1;
}
.countdown-note {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Date & Calendar Section */
.date-card {
  background: #FFFFFF;
}
.date-card-header {
  margin-bottom: 28px;
}
.script-accent {
  font-family: var(--font-script);
  font-size: 2rem;
  color: #EC4899;
  font-weight: 700;
  display: block;
}
.date-main-title {
  font-family: var(--font-kids);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 4px 0 8px 0;
  letter-spacing: 0.3px;
}
.date-sub-info {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.calendar-and-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* Illustrated Mini Calendar Widget */
.calendar-widget-container {
  display: flex;
  justify-content: center;
}
.calendar-paper {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  border: 2px solid #F1F5F9;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  padding-bottom: 12px;
}

/* Calendar Binder Rings */
.calendar-ring-binder {
  display: flex;
  justify-content: space-around;
  padding: 10px 20px 0 20px;
  background: #F8FAFC;
  border-bottom: 1px dashed #E2E8F0;
}
.ring {
  width: 10px;
  height: 16px;
  background: linear-gradient(180deg, #94A3B8 0%, #CBD5E1 50%, #64748B 100%);
  border-radius: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Calendar Banner Header */
.calendar-header-banner {
  background: linear-gradient(135deg, #F472B6 0%, #38BDF8 100%);
  color: #FFFFFF;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
}
.cal-month {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}
.cal-year {
  font-size: 1.1rem;
  opacity: 0.9;
}

.calendar-body {
  padding: 14px 14px 8px 14px;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal-day, .cal-empty {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  border-radius: 50%;
  position: relative;
}
.cal-day:hover {
  background: #F8FAFC;
}

/* Circled / Highlighted Day 17 */
.cal-day-special {
  color: #DB2777;
  font-weight: 800;
  font-size: 1rem;
  z-index: 2;
}
.day-number {
  position: relative;
  z-index: 3;
}
.handdrawn-circle-svg {
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(244, 114, 182, 0.4));
  animation: drawRingPulse 3s ease-in-out infinite alternate;
}
@keyframes drawRingPulse {
  0% { transform: scale(1) rotate(-3deg); }
  100% { transform: scale(1.08) rotate(4deg); }
}

.star-sticker {
  position: absolute;
  top: -10px;
  right: -8px;
  font-size: 0.85rem;
  z-index: 4;
  animation: spinSlow 6s linear infinite;
}
.heart-sticker {
  position: absolute;
  bottom: -6px;
  left: -6px;
  font-size: 0.75rem;
  z-index: 4;
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.calendar-footer-tag {
  text-align: center;
  padding: 6px 12px;
  background: #FFF1F2;
  border-top: 1px solid #FFE4E6;
}
.calendar-event-pin {
  font-size: 0.82rem;
  font-weight: 700;
  color: #BE185D;
}

/* Calendar Details Side Panel */
.date-details-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #F8FAFC;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease;
}
.info-pill-item:hover {
  transform: translateX(4px);
  border-color: rgba(244, 114, 182, 0.4);
}
.info-pill-icon {
  background: linear-gradient(135deg, #FFE4E6 0%, #E0F2FE 100%);
  color: #EC4899;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-pill-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.info-pill-content p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

/* Action Buttons */
.calendar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.btn-cal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-google-cal {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35);
}
.btn-google-cal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.45);
}
.btn-ical {
  background: #FFFFFF;
  color: #475569;
  border: 1.5px solid #CBD5E1;
}
.btn-ical:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  transform: translateY(-2px);
}

/* Heartfelt Welcome Message Card */
.welcome-card {
  text-align: center;
  padding: 44px 34px;
}
.card-flower-decor {
  position: absolute;
  font-size: 2rem;
  opacity: 0.7;
}
.card-flower-decor.top-left { top: 16px; left: 18px; }
.card-flower-decor.bottom-right { bottom: 16px; right: 18px; }

.script-title {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--color-pink-deep);
  margin-bottom: 12px;
  line-height: 1;
}

.quote-body {
  max-width: 620px;
  margin: 0 auto 28px auto;
}
.lead-quote {
  font-family: var(--font-kids);
  font-size: 1.3rem;
  font-weight: 600;
  color: #0284C7;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}
.welcome-paragraph {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 14px;
}
.welcome-paragraph strong {
  color: var(--color-text-dark);
}

/* Interactive Blessing Button */
.interactive-blessing-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.bless-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bless-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.5);
}
.bless-btn:active {
  transform: scale(0.96);
}
.bless-heart {
  font-size: 1.3rem;
  animation: heartPump 1.2s infinite;
}
@keyframes heartPump {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.bless-count-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
}
.bless-hint {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Guest Wishes & Notes Section */
.wishes-card {
  padding: 36px 30px;
}
.section-title {
  font-family: var(--font-kids);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 4px 0 8px 0;
  letter-spacing: 0.3px;
}
.wishes-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 26px;
}

/* Wish Form */
.wish-form {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 30px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.input-group input,
.input-group select,
.input-group textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: var(--color-text-dark);
  outline: none;
  touch-action: manipulation;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #EC4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}
.submit-wish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #F472B6 0%, #38BDF8 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.3);
  transition: all 0.3s ease;
}
.submit-wish-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244, 114, 182, 0.4);
}

/* Dynamic Wishes Sticky Grid */
.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.wish-sticky-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.wish-sticky-note:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
/* Efek visual saat ditekan tahan (Long-Press Feedback) */
.wish-sticky-note.holding-card {
  transform: scale(0.96) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  opacity: 0.85;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.note-pink {
  background: #FFF1F2;
  border: 1px solid #FFE4E6;
}
.note-blue {
  background: #F0F9FF;
  border: 1px solid #E0F2FE;
}
.note-yellow {
  background: #FEFCE8;
  border: 1px solid #FEF08A;
}

.note-pin {
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 1.1rem;
}
.wish-message {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 12px;
}
.wish-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 8px;
}
.wish-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-dark);
}
.wish-badge-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text-muted);
}

/* Footer Section */
.page-footer {
  margin-top: 20px;
}
.footer-card {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}
.footer-heart {
  font-size: 2rem;
  margin-bottom: 10px;
}
.footer-thanks {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: #EC4899;
  line-height: 1;
  margin-bottom: 6px;
}
.footer-parents {
  font-family: var(--font-kids);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.footer-copy {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.footer-scroll-top {
  margin-top: 18px;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  color: var(--color-pink-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 0.25s ease;
}
.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--color-pink-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   Custom Confirmation Modal (Hapus Doa / Long-Press)
   ========================================================================== */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.custom-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: scale(0.9) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.custom-modal.active .modal-content {
  transform: scale(1) translateY(0);
}
.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  animation: gentleShake 1.5s ease infinite alternate;
}
@keyframes gentleShake {
  0% { transform: rotate(-5deg) scale(1); }
  100% { transform: rotate(5deg) scale(1.05); }
}
.modal-title {
  font-family: var(--font-kids);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}
.modal-desc strong {
  color: var(--color-pink-deep);
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.modal-btn {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.modal-btn.btn-cancel {
  background: #F1F5F9;
  color: #475569;
}
.modal-btn.btn-cancel:hover {
  background: #E2E8F0;
  color: #1E293B;
}
.modal-btn.btn-confirm-delete {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.modal-btn.btn-confirm-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.45);
}

/* ==========================================================================
   Responsive Mobile-First Optimization (No Overlaps & Seamless UX)
   ========================================================================== */
@media (max-width: 768px) {
  /* Page Padding & Spacing */
  .page-wrapper {
    padding: 16px 12px 90px 12px; /* Extra bottom padding so floating music button doesn't cover footer */
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Ambient Balloons & Sparkles on Mobile (Keep Far on Edge & Subtle) */
  .balloon {
    transform: scale(0.65);
    opacity: 0.45;
  }
  .balloon-pink {
    top: 5%;
    right: -5px;
  }
  .balloon-blue {
    top: 42%;
    left: -5px;
  }
  .balloon-gold {
    top: 75%;
    right: -5px;
  }
  .sparkle {
    opacity: 0.4;
  }
  .sparkle-1 { top: 8%; left: 4%; font-size: 1rem; }
  .sparkle-2 { top: 28%; right: 4%; font-size: 0.9rem; }
  .sparkle-3 { top: 55%; left: 4%; font-size: 1.1rem; }
  .sparkle-4 { top: 82%; right: 5%; font-size: 1rem; }

  /* Floating Music Button (Reposition to Floating Bottom-Right Pill) */
  .music-toggle-container {
    top: auto;
    bottom: 20px;
    right: 16px;
    z-index: 999;
  }
  .music-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    box-shadow: 0 8px 24px rgba(244, 114, 182, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.95);
  }

  /* Header Badge Pill */
  .top-pill-header {
    margin-bottom: 18px;
  }
  .badge-pill {
    font-size: 0.76rem;
    padding: 6px 14px;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 100%;
  }

  /* Hero Section */
  .hero-section {
    padding: 0 0 16px 0;
  }
  .hero-subtitle {
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding: 0 8px;
    line-height: 1.4;
  }
  .names-title {
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
  }
  .name {
    gap: 4px;
    width: 100%;
  }
  .gender-tag {
    font-size: 0.72rem;
    padding: 2px 10px;
  }
  .full-name {
    font-size: clamp(1.45rem, 6.5vw, 1.95rem);
    line-height: 1.25;
    padding: 0 6px;
    text-align: center;
    word-break: break-word;
  }
  .name-connector {
    font-size: 1.8rem;
    margin: 0;
  }
  .hero-tagline {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0 10px;
  }

  /* Baby Photo Frame & Stickers */
  .photo-showcase-section {
    margin: 14px 0 26px 0;
  }
  .photo-container-wrapper {
    width: 100%;
  }
  .ornate-photo-frame {
    width: 240px;
    height: 240px;
    padding: 8px;
  }
  .sticker {
    font-size: 1.3rem;
  }
  .sticker-cloud-top {
    top: -10px;
    left: 10px;
    font-size: 1.6rem;
  }
  .sticker-star-right {
    top: 14px;
    right: -4px;
    font-size: 1.3rem;
  }
  .sticker-bow {
    bottom: 8px;
    left: -4px;
    font-size: 1.4rem;
  }
  .sticker-moon {
    bottom: 6px;
    right: -4px;
    font-size: 1.3rem;
  }

  /* Twin Badges Row */
  .twin-badges-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 290px;
    gap: 8px;
    margin-top: 16px;
  }
  .twin-badge {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 16px;
  }
  .badge-title {
    font-size: 0.9rem;
  }
  .badge-sub {
    font-size: 0.74rem;
  }

  /* Glass Cards Common Padding */
  .glass-card {
    padding: 22px 16px;
    margin-bottom: 22px;
    border-radius: 24px;
  }

  /* Live Countdown Card */
  .section-heading-sm {
    font-size: 0.88rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }
  .countdown-grid {
    gap: 4px;
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
  }
  .count-box {
    min-width: 0;
    width: 62px;
    padding: 8px 2px;
    border-radius: 12px;
  }
  .count-num {
    font-size: 1.45rem;
  }
  .count-label {
    font-size: 0.65rem;
    margin-top: 2px;
  }
  .count-sep {
    font-size: 1.15rem;
    margin-top: -10px;
  }
  .countdown-note {
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0 4px;
  }

  /* Date & Calendar Section */
  .date-card-header {
    margin-bottom: 18px;
  }
  .script-accent {
    font-size: 1.6rem;
  }
  .date-main-title {
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 2px 0 6px 0;
  }
  .date-sub-info {
    font-size: 0.88rem;
    line-height: 1.4;
  }
  .calendar-and-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calendar-paper {
    max-width: 100%;
    width: 100%;
  }
  .info-pill-item {
    padding: 12px 14px;
    gap: 12px;
  }
  .info-pill-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .info-pill-content strong {
    font-size: 0.8rem;
  }
  .info-pill-content p {
    font-size: 0.95rem;
  }
  .calendar-actions {
    width: 100%;
  }
  .btn-cal {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  /* Heartfelt Welcome Message Card */
  .welcome-card {
    padding: 24px 16px;
  }
  .card-flower-decor {
    font-size: 1.2rem;
    opacity: 0.35;
  }
  .card-flower-decor.top-left { top: 8px; left: 10px; }
  .card-flower-decor.bottom-right { bottom: 8px; right: 10px; }
  
  .script-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  .lead-quote {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .welcome-paragraph {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .bless-btn {
    width: 100%;
    max-width: 290px;
    padding: 12px 18px;
    font-size: 0.95rem;
    justify-content: center;
  }
  .bless-hint {
    font-size: 0.8rem;
    padding: 0 8px;
  }

  /* Guest Wishes & Notes Section */
  .wishes-card {
    padding: 22px 14px;
  }
  .section-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .wishes-sub {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }
  .wish-form {
    padding: 14px 12px;
    margin-bottom: 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .input-group {
    margin-bottom: 10px;
  }
  .input-group label {
    font-size: 0.78rem;
  }
  .input-group input,
  .input-group select,
  .input-group textarea {
    font-size: 16px !important;
    padding: 10px 12px;
    touch-action: manipulation;
  }
  .submit-wish-btn {
    padding: 11px;
    font-size: 0.92rem;
  }
  .wishes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wish-sticky-note {
    padding: 14px 16px;
  }
  .wish-message {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .wish-author {
    font-size: 0.82rem;
  }

  /* Footer */
  .footer-card {
    padding: 22px 14px;
  }
  .footer-heart {
    font-size: 1.6rem;
  }
  .footer-thanks {
    font-size: 2.1rem;
  }
  .footer-parents {
    font-size: 1.15rem;
  }
  .footer-copy {
    font-size: 0.8rem;
  }
}
