/* ============================================================
   STYLE.CSS — Main Layout & Component Styles
   Birthday Surprise Website
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

body.loading { overflow: hidden; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width var(--transition-fast),
              height var(--transition-fast),
              background var(--transition-fast);
  mix-blend-mode: screen;
}

#cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,107,157,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 24px;
  height: 24px;
  background: var(--color-accent);
}

/* ── Particle Canvas ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-primary);
  z-index: var(--z-nav);
  transition: width 0.1s linear;
  box-shadow: var(--shadow-glow-pink);
}

/* ═══════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#splash.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-bg-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,107,157,0.15);
  animation: pulse 3s ease-in-out infinite;
}

.splash-ring:nth-child(1) { width: 200px;  height: 200px;  animation-delay: 0s;   }
.splash-ring:nth-child(2) { width: 350px;  height: 350px;  animation-delay: 0.3s; border-color: rgba(255,107,157,0.10); }
.splash-ring:nth-child(3) { width: 500px;  height: 500px;  animation-delay: 0.6s; border-color: rgba(255,107,157,0.06); }
.splash-ring:nth-child(4) { width: 680px;  height: 680px;  animation-delay: 0.9s; border-color: rgba(255,107,157,0.03); }

.splash-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.splash-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.splash-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nameReveal 1.8s cubic-bezier(0.4, 0, 0.2, 1) both;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.splash-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--color-accent);
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1s both;
}

.splash-loader {
  display: flex;
  gap: 8px;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeIn 0.5s ease 1.5s both;
}

.splash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 0.8s ease-in-out infinite;
}

.splash-dot:nth-child(2) { animation-delay: 0.15s; background: var(--color-accent); }
.splash-dot:nth-child(3) { animation-delay: 0.30s; background: var(--color-accent-teal); }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-slow);
}

#navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 2rem;
}

.nav-logo {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  color: var(--color-primary);
  text-shadow: var(--shadow-glow-pink);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-music-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-music-btn:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-glow-pink);
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  filter: blur(2px) saturate(1.5);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,107,157,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%,  rgba(164,94,234,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 80% 20%,  rgba(78,205,196,0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-title-small {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-light) 40%, var(--color-primary) 70%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-style: italic;
  animation: fadeInUp 0.8s ease 0.7s both;
}

/* ── Countdown ── */
.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  margin-bottom: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.9s both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  min-width: 85px;
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  border-radius: inherit;
}

.countdown-num {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.countdown-label {
  position: relative;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.countdown-sep {
  font-size: 2.5rem;
  color: var(--color-primary);
  align-self: center;
  opacity: 0.6;
  animation: pulse 1s ease-in-out infinite;
}

.countdown-birthday-msg {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  color: var(--color-accent);
  animation: textGlow 2s ease-in-out infinite, fadeIn 0.5s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.1s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shimmer);
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow-pink);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(255,107,157,0.5), 0 0 100px rgba(255,107,157,0.2);
}

.btn-outline {
  background: var(--glass-bg);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background: rgba(255,107,157,0.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-pink);
}

/* ── Hero Floating Elements ── */
.hero-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floater {
  position: absolute;
  font-size: 1.5rem;
  animation: float 5s ease-in-out infinite;
  opacity: 0.6;
  filter: blur(0.5px);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 2s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,107,157,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: float 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════ */
section {
  position: relative;
  z-index: var(--z-base);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin: 1rem auto 0;
}

/* ── Section Backgrounds ── */
.section-dark   { background: var(--bg-base); }
.section-surface{ background: var(--bg-surface); }

/* ── Rangoli Divider ── */
.rangoli-divider {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.5rem;
  color: var(--color-primary);
  opacity: 0.5;
  margin: 0;
  padding: 1.5rem 0;
  position: relative;
  z-index: var(--z-base);
}

/* ═══════════════════════════════════════
   LOVE LETTER SECTION
═══════════════════════════════════════ */
#letter {
  background: var(--bg-surface);
}

.letter-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.letter-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,107,157,0.3), rgba(164,94,234,0.2), rgba(78,205,196,0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.letter-card:hover::before { opacity: 1; }

.letter-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-radial-glow);
  pointer-events: none;
  opacity: 0.4;
}

.letter-quote-mark {
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--color-primary);
  opacity: 0.15;
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.letter-body {
  position: relative;
  z-index: 1;
}

.letter-greeting {
  font-family: var(--font-accent);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 2rem;
  display: block;
}

#letter-text p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.letter-signature {
  margin-top: 2.5rem;
  text-align: right;
}

.letter-signature-name {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-primary);
  display: block;
}

.letter-signature-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.letter-hearts {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  justify-content: flex-end;
}

.letter-heart {
  font-size: 1.2rem;
  animation: heartbeat 1.8s ease-in-out infinite;
}

.letter-heart:nth-child(2) { animation-delay: 0.3s; }
.letter-heart:nth-child(3) { animation-delay: 0.6s; }

/* ═══════════════════════════════════════
   GALLERY — SOLO PHOTOS
═══════════════════════════════════════ */
#gallery {
  background: var(--bg-base);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.polaroid {
  background: #fff;
  padding: 12px 12px 48px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  transform: rotate(var(--tilt, 0deg));
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
  cursor: pointer;
  position: relative;
  animation: polaroidIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.06) translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 2px var(--color-primary), var(--shadow-glow-pink);
  z-index: 10;
}

.polaroid-img-wrap {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/5;
  background: var(--bg-card);
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.polaroid:hover .polaroid-img-wrap img {
  transform: scale(1.08);
}

.polaroid-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem 0.75rem;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
}

.polaroid-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(255,107,157,0.5);
}

/* ── Photo Placeholder ── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  color: var(--text-muted);
}

.photo-placeholder i  { font-size: 2.5rem; opacity: 0.4; }
.photo-placeholder span { font-size: 0.7rem; opacity: 0.5; text-align: center; padding: 0 1rem; }

/* ═══════════════════════════════════════
   TIMELINE
═══════════════════════════════════════ */
#timeline {
  background: var(--bg-surface);
  overflow: hidden;
}

.timeline-track {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--color-primary) 10%,
    var(--color-primary-dark) 50%,
    var(--color-accent) 90%,
    transparent 100%);
  opacity: 0.4;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: flex-start;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-pink);
  animation: glowPulse 2.5s ease-in-out infinite;
}

.timeline-content {
  flex: 0 0 calc(50% - 60px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  position: relative;
  transition: all var(--transition-base);
}

.timeline-content:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.timeline-item:nth-child(odd)  .timeline-content { margin-left: auto; margin-right: 0; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 0; margin-right: auto; }

.timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   FUN FACTS
═══════════════════════════════════════ */
#facts {
  background: var(--bg-base);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.fact-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-bounce);
  cursor: default;
}

.fact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.fact-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-glow-pink);
}

.fact-card:hover::before { opacity: 1; }

.fact-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 1rem;
  animation: float 4s ease-in-out infinite;
  position: relative;
}

.fact-card:nth-child(2) .fact-emoji { animation-delay: 0.5s; }
.fact-card:nth-child(3) .fact-emoji { animation-delay: 1.0s; }
.fact-card:nth-child(4) .fact-emoji { animation-delay: 1.5s; }
.fact-card:nth-child(5) .fact-emoji { animation-delay: 2.0s; }
.fact-card:nth-child(6) .fact-emoji { animation-delay: 2.5s; }

.fact-value {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
}

.fact-suffix {
  position: relative;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  display: block;
}

.fact-label {
  position: relative;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   FAMILY GALLERY
═══════════════════════════════════════ */
#family {
  background: var(--bg-surface);
}

.family-grid {
  columns: 4 280px;
  column-gap: 1.25rem;
}

.family-photo-wrap {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  transition: transform var(--transition-bounce);
}

.family-photo-wrap:hover {
  transform: scale(1.03);
  z-index: 5;
}

.family-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.family-photo-wrap:hover img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
}

.family-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.family-photo-wrap:hover .family-photo-overlay {
  opacity: 1;
}

.family-photo-caption {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: white;
  font-weight: 600;
}

/* ═══════════════════════════════════════
   WISHES WALL
═══════════════════════════════════════ */
#wishes {
  background: var(--bg-base);
}

.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.wish-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.wish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--gradient-primary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.wish-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-card);
}

.wish-emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}

.wish-message {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.wish-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wish-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.wish-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: block;
}

.wish-relation {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CLOSING SECTION
═══════════════════════════════════════ */
#closing {
  background: var(--bg-base);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255,107,157,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%,  rgba(248,181,0,0.10) 0%, transparent 50%);
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.closing-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 2rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.closing-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  animation: textGlow 3s ease-in-out infinite;
}

.closing-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.closing-wish {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.closing-share {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 0 30px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(37,211,102,0.5);
}

/* ── Balloon Elements ── */
.balloon-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.balloon {
  position: absolute;
  bottom: -100px;
  font-size: 2.5rem;
  animation: balloonRise linear infinite;
  opacity: 0;
}

/* ═══════════════════════════════════════
   FLOATING MUSIC PLAYER
═══════════════════════════════════════ */
#music-player {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.music-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  animation: glowPulse 2s ease-in-out infinite;
}

.music-btn:hover {
  transform: scale(1.15);
}

.music-info {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  transform: translateX(calc(100% + 1rem));
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: none;
}

.music-info.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.music-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}

.music-disc.spinning {
  animation: spin 3s linear infinite;
}

.music-track { font-size: 0.8rem; color: var(--text-primary); font-weight: 600; }
.music-artist { font-size: 0.7rem; color: var(--text-muted); }

/* ═══════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 80px rgba(255,107,157,0.3);
  transform: scale(0.9);
  transition: transform var(--transition-bounce);
}

#lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: white;
  text-align: center;
  white-space: nowrap;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.lightbox-close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  backdrop-filter: var(--glass-blur);
}

.lightbox-nav:hover {
  background: var(--color-primary);
  box-shadow: var(--shadow-glow-pink);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ═══════════════════════════════════════
   CONFETTI CANVAS
═══════════════════════════════════════ */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-toast);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor, #cursor-trail { display: none; }

  .nav-links { display: none; }

  .timeline-track::before { left: 24px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: column; padding-left: 64px; }
  .timeline-dot { left: 24px; transform: none; }
  .timeline-content,
  .timeline-item:nth-child(odd)  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { flex: 1; margin: 0; }

  .family-grid { columns: 2 140px; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .countdown-wrap { gap: 0.5rem; }
  .countdown-item { min-width: 65px; padding: 0.75rem 1rem; }
  .countdown-sep { display: none; }
}

@media (max-width: 480px) {
  .section-inner { padding: 4rem 1.25rem; }
  .family-grid { columns: 2 120px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .wishes-grid { grid-template-columns: 1fr; }
}

/* ── Utility ── */
.text-center  { text-align: center; }
.text-accent  { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
