/* ==========================================================================
   Ayansh Turns Five | Royal Celestial Galaxy & Stardust Gold Theme
   Theme: Luxury Cosmic Nebula, Radiant Stardust Gold & Aurora Shimmer
   ========================================================================== */

:root {
  /* Deep Space & Nebula Foundations */
  --space-950: #030511;
  --space-900: #060a22;
  --space-850: #0b1136;
  --space-800: #121a4c;
  --space-750: #182363;
  --space-700: #1f2c7a;

  /* Celestial Stardust Gold */
  --gold-500: #e5b03c;
  --gold-400: #ffd56b;
  --gold-300: #fce6a2;
  --gold-200: #fff1c4;
  --gold-100: #fffdf5;

  /* Aurora Cyan & Electric Cosmic Accents */
  --aurora-500: #0ea5e9;
  --aurora-400: #38bdf8;
  --aurora-300: #7dd3fc;
  --aurora-100: #e0f2fe;

  /* Cosmic Nebula Violet */
  --nebula-500: #8b5cf6;
  --nebula-400: #a78bfa;
  --nebula-300: #c4b5fd;
  --nebula-100: #ede9fe;

  /* Supernova Flare */
  --flare-coral: #ff758c;
  --flare-amber: #f59e0b;

  /* Base Typographic Tokens */
  --champagne: #fff5db;
  --ivory: #f8fafc;
  --ivory-muted: #cbd5e1;
  --ink: #030511;

  /* Typography */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Snell Roundhand", cursive;
  --font-sans: "Plus Jakarta Sans", "Avenir Next", system-ui, -apple-system, sans-serif;

  /* Elevated Glassmorphism & Shadow Tokens */
  --glass-panel-bg: rgba(9, 14, 42, 0.72);
  --glass-panel-border: rgba(255, 213, 107, 0.32);
  --glass-panel-glow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(56, 189, 248, 0.12);
  --shadow-cosmic: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 45px rgba(255, 213, 107, 0.22);
  --shadow-glow: 0 0 35px rgba(255, 213, 107, 0.45);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--space-950);
}

body {
  background-color: var(--space-950);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 4px;
}

/* ==========================================================================
   Full Screen Confetti Canvas
   ========================================================================== */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
}

main {
  position: relative;
  z-index: 20;
}

/* ==========================================================================
   Animated Twinkling Starfield Layer
   ========================================================================== */
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.star-layer {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.star-layer-1 {
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 80px 140px, #ffd56b, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 150px 70px, #38bdf8, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 220px 260px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 300px 180px, #fce6a2, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 380px 320px, #a78bfa, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 450px 90px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 520px 240px, #ffd56b, rgba(0, 0, 0, 0));
  background-size: 550px 400px;
  animation: starTwinkle 4s ease-in-out infinite alternate;
  opacity: 0.65;
}

.star-layer-2 {
  background-image:
    radial-gradient(1.2px 1.2px at 50px 80px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1.8px 1.8px at 120px 220px, #ffd56b, rgba(0, 0, 0, 0)),
    radial-gradient(1.2px 1.2px at 210px 110px, #38bdf8, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 340px 300px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 420px 150px, #a78bfa, rgba(0, 0, 0, 0)),
    radial-gradient(1.2px 1.2px at 490px 350px, #fce6a2, rgba(0, 0, 0, 0));
  background-size: 600px 480px;
  animation: starTwinkle 6s ease-in-out infinite alternate-reverse;
  opacity: 0.45;
}

@keyframes starTwinkle {
  0% {
    opacity: 0.35;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
  }
  100% {
    opacity: 0.55;
    transform: scale(1.02);
  }
}

/* ==========================================================================
   Animated Flying Cosmic Balloons
   ========================================================================== */
.balloon-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 25;
}

.floating-balloon {
  position: absolute;
  bottom: -160px;
  left: var(--left, 10%);
  width: var(--size, 60px);
  height: calc(var(--size, 60px) * 1.25);
  animation:
    balloonFloat var(--speed, 25s) linear var(--delay, 0s) infinite,
    balloonSway 4.2s ease-in-out var(--delay, 0s) infinite alternate;
  opacity: 0.6;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45));
  will-change: transform;
}

.balloon-body {
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  position: relative;
}

.balloon-body::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 8px;
  background: inherit;
  border-radius: 2px 2px 5px 5px;
}

/* 3D Specular Highlight on Balloon */
.balloon-body::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 18%;
  width: 28%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 80%);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.balloon-string {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 85px;
  background: linear-gradient(180deg, rgba(255, 213, 107, 0.75), rgba(56, 189, 248, 0.2));
  transform-origin: top center;
  animation: stringWave 2.8s ease-in-out infinite alternate;
}

/* Balloon Celestial Themes */
.balloon-gold .balloon-body {
  background: radial-gradient(circle at 35% 30%, #fff7d6 0%, #ffd56b 45%, #d99a18 100%);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 213, 107, 0.35);
}
.balloon-sapphire .balloon-body {
  background: radial-gradient(circle at 35% 30%, #dbeafe 0%, #2563eb 50%, #172554 100%);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4), 0 0 20px rgba(37, 99, 235, 0.35);
}
.balloon-champagne .balloon-body {
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #fce6a2 55%, #b48520 100%);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4), 0 0 20px rgba(252, 230, 162, 0.3);
}
.balloon-aurora .balloon-body {
  background: radial-gradient(circle at 35% 30%, #e0f2fe 0%, #38bdf8 50%, #0369a1 100%);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4), 0 0 20px rgba(56, 189, 248, 0.35);
}
.balloon-nebula .balloon-body {
  background: radial-gradient(circle at 35% 30%, #f3e8ff 0%, #8b5cf6 50%, #4c1d95 100%);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.4), 0 0 20px rgba(139, 92, 246, 0.35);
}

@keyframes balloonFloat {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.88;
  }
  90% {
    opacity: 0.88;
  }
  100% {
    transform: translateY(calc(-100vh - 250px));
    opacity: 0;
  }
}

@keyframes balloonSway {
  0% {
    margin-left: -20px;
  }
  100% {
    margin-left: 20px;
  }
}

@keyframes stringWave {
  0% {
    transform: rotate(-12deg);
  }
  100% {
    transform: rotate(12deg);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 213, 107, 0.22), transparent 32rem),
    radial-gradient(circle at 15% 75%, rgba(56, 189, 248, 0.18), transparent 35rem),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 45rem),
    linear-gradient(180deg, var(--space-950) 0%, var(--space-900) 50%, var(--space-850) 100%);
  overflow: hidden;
  z-index: 2;
}

.ambient-light-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ambient-light-field i {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd56b;
  box-shadow: 0 0 25px 10px rgba(255, 213, 107, 0.45);
  animation: floatLight 5s ease-in-out infinite alternate;
}

@keyframes floatLight {
  0% {
    opacity: 0.3;
    transform: translateY(0) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(-20px) scale(1.3);
  }
}

/* Photo Panel */
.photo-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 72svh;
  background: var(--space-850);
  overflow: hidden;
}

.photo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.01);
  animation: heroPhotoZoom 1.8s cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

@keyframes heroPhotoZoom {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

.photo-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 17, 0.12) 0%, transparent 35%, rgba(3, 5, 17, 0.3) 72%, rgba(3, 5, 17, 0.96) 98%),
    linear-gradient(90deg, rgba(3, 5, 17, 0.25) 0%, transparent 50%, rgba(3, 5, 17, 0.25) 100%);
}

.photo-border-glow {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 213, 107, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2), inset 0 0 20px rgba(255, 213, 107, 0.15);
  pointer-events: none;
}

.photo-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.15rem;
  background: rgba(6, 10, 34, 0.82);
  border: 1px solid rgba(255, 213, 107, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 213, 107, 0.25);
  z-index: 5;
}

.badge-icon {
  font-size: 1.15rem;
}

.badge-text {
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.sparkles i {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 14px 5px rgba(255, 220, 129, 0.7);
  animation: sparkleTwinkle 3s ease-in-out infinite alternate;
}

.sparkles i:nth-child(1) { top: 20%; left: 15%; animation-delay: 0.2s; }
.sparkles i:nth-child(2) { top: 35%; right: 18%; animation-delay: 1.1s; }
.sparkles i:nth-child(3) { top: 65%; left: 22%; animation-delay: 2.2s; }
.sparkles i:nth-child(4) { top: 15%; right: 28%; animation-delay: 0.7s; }
.sparkles i:nth-child(5) { top: 75%; right: 15%; animation-delay: 1.8s; }
.sparkles i:nth-child(6) { top: 48%; left: 10%; animation-delay: 2.7s; }

@keyframes sparkleTwinkle {
  0% { opacity: 0.2; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1.4); }
}

/* ==========================================================================
   Hero Copy & Party Details
   ========================================================================== */
.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.festive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.2), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(255, 213, 107, 0.5);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 213, 107, 0.2);
  margin-bottom: 0.9rem;
}

.sparkle-icon {
  font-size: 0.95rem;
}

.eyebrow {
  color: var(--gold-400);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 15px rgba(255, 213, 107, 0.3);
}

.hero h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 0.2rem 0 0.8rem;
  line-height: 1;
}

.hero h1 .name-text {
  font-family: var(--font-script);
  font-size: clamp(4.8rem, 18vw, 8.5rem);
  color: var(--ivory);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 213, 107, 0.45);
  letter-spacing: 0.02em;
}

.age-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem 0.55rem;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.25), rgba(56, 189, 248, 0.2));
  border: 2px solid var(--gold-400);
  border-radius: 1.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 213, 107, 0.25), 0 0 25px rgba(56, 189, 248, 0.25);
  transform: translateY(-0.8rem);
  backdrop-filter: blur(12px);
}

.age-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold-300);
  text-shadow: 0 0 25px rgba(255, 213, 107, 0.6);
}

.age-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--ivory);
  margin-top: -0.2rem;
}

.invitation-line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  color: var(--champagne);
  line-height: 1.7;
  max-width: 38rem;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Hero Event Highlights Bar
   ========================================================================== */
.hero-event-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem;
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 1.4rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--glass-panel-glow);
  margin-bottom: 1.8rem;
}

.event-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.item-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.25), rgba(9, 14, 42, 0.85));
  border: 1px solid rgba(255, 213, 107, 0.45);
  color: var(--gold-300);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 213, 107, 0.2);
  flex-shrink: 0;
}

.item-icon-box svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.item-text {
  display: flex;
  flex-direction: column;
}

.item-label {
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.item-value {
  color: var(--ivory);
  font-size: 1.05rem;
  font-weight: 700;
}

.bar-separator {
  display: none;
}

/* ==========================================================================
   Countdown Timer Component (Celestial Chronometer)
   ========================================================================== */
.countdown {
  width: 100%;
  padding: 1.6rem 1.7rem;
  background: linear-gradient(135deg, rgba(14, 23, 68, 0.78), rgba(6, 10, 34, 0.88));
  border: 1px solid rgba(255, 213, 107, 0.4);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 35px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(20px);
  margin-bottom: 2rem;
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.countdown-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.timer-icon {
  width: 1.3rem;
  height: 1.3rem;
  stroke: var(--gold-300);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 213, 107, 0.5));
}

.countdown-kicker {
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.confetti-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, #f59e0b, #ffd56b);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #030511;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4), 0 0 15px rgba(255, 213, 107, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.confetti-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6), 0 0 25px rgba(255, 213, 107, 0.5);
  filter: brightness(1.08);
}

.confetti-btn:active {
  transform: translateY(0) scale(0.98);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 0.4rem;
  background: rgba(3, 5, 17, 0.75);
  border: 1px solid rgba(255, 213, 107, 0.3);
  border-radius: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.timer-box:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

.timer-box strong {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(255, 213, 107, 0.5);
}

.timer-box span {
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 0.4rem;
  opacity: 0.88;
}

.countdown-message {
  display: none;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--gold-300);
  margin-top: 0.4rem;
  padding: 0.9rem 1.1rem;
  background: rgba(3, 5, 17, 0.75);
  border: 1px solid rgba(255, 213, 107, 0.35);
  border-radius: 1rem;
  text-shadow: 0 0 20px rgba(255, 213, 107, 0.4);
  animation: floatLight 4s ease-in-out infinite alternate;
}

.countdown.is-finished .countdown-grid {
  display: none;
}

.countdown.is-finished .countdown-message {
  display: block;
}

.countdown.is-concluded .countdown-message {
  background: rgba(9, 14, 42, 0.85);
  border-color: rgba(255, 213, 107, 0.5);
  box-shadow: 0 8px 32px rgba(255, 213, 107, 0.25);
}

body.is-event-concluded .festive-badge {
  background: rgba(255, 213, 107, 0.15);
  border-color: rgba(255, 213, 107, 0.4);
}

/* ==========================================================================
   Hero Action Buttons
   ========================================================================== */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.15rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.primary-cta {
  background: linear-gradient(135deg, #fff2b2 0%, #ffd56b 40%, #f59e0b 100%);
  color: var(--space-950);
  box-shadow: 0 12px 35px rgba(255, 213, 107, 0.4), 0 0 25px rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255, 213, 107, 0.6), 0 0 35px rgba(56, 189, 248, 0.3);
  filter: brightness(1.06);
}

.primary-cta svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.primary-cta .arrow-icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.25s ease;
}

.primary-cta:hover .arrow-icon {
  transform: translateX(4px);
}

.secondary-cta {
  background: rgba(37, 211, 102, 0.18);
  color: #ffffff;
  border: 1.5px solid #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25), inset 0 0 15px rgba(37, 211, 102, 0.15);
  backdrop-filter: blur(16px);
}

.secondary-cta:hover {
  background: #25d366;
  color: #030511;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
}

.secondary-cta svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* Scroll Cue */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  align-self: center;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bounceCue 2.5s ease-in-out infinite;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.scroll-cue:hover {
  opacity: 1;
}

.scroll-cue svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

@keyframes bounceCue {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(7px); }
  60% { transform: translateY(3px); }
}

/* ==========================================================================
   Event Details & Party Features Section
   ========================================================================== */
.celebration {
  position: relative;
  z-index: 3;
  padding: 5rem 1.5rem 6rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15), transparent 30rem),
    radial-gradient(circle at 90% 80%, rgba(255, 213, 107, 0.16), transparent 35rem),
    linear-gradient(180deg, var(--space-850) 0%, var(--space-900) 50%, var(--space-950) 100%);
  overflow: hidden;
}

.celebration-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(255, 213, 107, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.section-intro {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}

.festive-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(9, 14, 42, 0.75);
  border: 1px solid rgba(255, 213, 107, 0.45);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  backdrop-filter: blur(14px);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 213, 107, 0.15);
}

.party-icon {
  font-size: 1rem;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 213, 107, 0.25);
}

.section-intro h2 em {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-300);
  font-size: 1.25em;
  display: block;
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.section-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  color: var(--champagne);
  line-height: 1.7;
}

/* Big Highlight Cards Grid */
.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 2.8rem;
}

.detail-card {
  position: relative;
  padding: 2.2rem 2rem;
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 1.8rem;
  backdrop-filter: blur(24px);
  box-shadow: var(--glass-panel-glow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(56, 189, 248, 0.25);
}

.card-badge {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(255, 213, 107, 0.3);
  letter-spacing: 0.05em;
}

.card-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.25), rgba(9, 14, 42, 0.85));
  border: 1px solid rgba(255, 213, 107, 0.5);
  color: var(--gold-300);
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 213, 107, 0.25);
}

.card-icon-container svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-tag {
  display: block;
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.detail-card h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}

.card-main-info {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
}

.card-sub-info {
  color: var(--ivory-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.card-sub-info strong {
  color: var(--ivory);
}

.card-footer {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 213, 107, 0.2);
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 213, 107, 0.15);
  border: 1px solid rgba(255, 213, 107, 0.45);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.card-action-btn:hover {
  background: var(--gold-400);
  color: var(--space-950);
  transform: translateY(-2px);
}

.card-action-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.primary-map-btn {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.3));
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
}

.primary-map-btn:hover {
  background: var(--aurora-400);
  color: var(--space-950);
}

/* Party Fun Banner */
.party-fun-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.fun-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.6rem;
  background: rgba(9, 14, 42, 0.65);
  border: 1px solid rgba(255, 213, 107, 0.25);
  border-radius: 1.3rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.fun-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 213, 107, 0.45);
}

.fun-emoji {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.fun-text {
  display: flex;
  flex-direction: column;
}

.fun-text strong {
  font-size: 1.1rem;
  color: var(--gold-300);
  margin-bottom: 0.15rem;
}

.fun-text span {
  font-size: 0.92rem;
  color: var(--ivory-muted);
}

/* Quick Action Grid with Large Touch Targets */
.action-grid-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--ivory);
  margin-bottom: 1.8rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.action-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
}

.action {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 1.4rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--glass-panel-glow);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.action:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(14, 23, 68, 0.85);
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: rgba(255, 213, 107, 0.2);
  border: 1px solid rgba(255, 213, 107, 0.4);
  color: var(--gold-300);
  margin-right: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.action-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.wa-icon {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.5);
  color: #25d366;
}

.action-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.action-content small {
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.action-content strong {
  color: var(--ivory);
  font-size: 1.1rem;
  font-weight: 700;
}

.action-arrow {
  width: 1.3rem;
  height: 1.3rem;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}

.action:hover .action-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Closing Footer Section
   ========================================================================== */
.closing {
  position: relative;
  z-index: 3;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 213, 107, 0.2), transparent 30rem),
    linear-gradient(180deg, var(--space-950) 0%, #02030a 100%);
  border-top: 1px solid rgba(255, 213, 107, 0.3);
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.closing-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--gold-300);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 12px rgba(255, 213, 107, 0.5));
}

.closing-stars svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.closing-stars .ornament-dot {
  color: var(--gold-300);
  font-size: 0.95rem;
  opacity: 0.75;
}

.closing-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.8vw, 1.45rem);
  color: var(--champagne);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.closing-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--ivory);
  margin-bottom: 2.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 213, 107, 0.35);
}

.closing-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.closing-contact span {
  color: var(--ivory-muted);
  font-size: 0.95rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  background: rgba(37, 211, 102, 0.18);
  border: 1.5px solid #25d366;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.phone-link:hover {
  transform: translateY(-2px);
  background: #25d366;
  color: #030511;
}

.phone-link svg {
  width: 1.3rem;
  height: 1.3rem;
}

.closing-footer-note {
  max-width: 44rem;
  margin-inline: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 213, 107, 0.18);
  color: var(--ivory-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* ==========================================================================
   Party Schedule Timeline (Celestial Orbit Itinerary)
   ========================================================================== */
.schedule-section {
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.schedule-header {
  text-align: center;
  margin-bottom: 2rem;
}

.schedule-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  color: var(--ivory);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.schedule-title svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  stroke: var(--gold-300);
}

.schedule-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 1.3rem;
  backdrop-filter: blur(18px);
  box-shadow: var(--glass-panel-glow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.6);
}

.timeline-time-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.25), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(255, 213, 107, 0.45);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-details {
  display: flex;
  flex-direction: column;
}

.timeline-details strong {
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}

.timeline-details span {
  font-size: 0.9rem;
  color: var(--champagne);
  opacity: 0.9;
}

/* ==========================================================================
   Interactive Quick RSVP Choices
   ========================================================================== */
.quick-rsvp-section {
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(14, 23, 68, 0.75), rgba(6, 10, 34, 0.85));
  border: 1px solid rgba(255, 213, 107, 0.35);
  border-radius: 1.8rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.quick-rsvp-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.quick-rsvp-title svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  stroke: var(--aurora-400);
}

.quick-rsvp-sub {
  color: var(--champagne);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.quick-rsvp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.rsvp-option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.4rem;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 1rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.rsvp-option-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.rsvp-option-btn:hover {
  background: #25d366;
  color: #030511;
  transform: translateY(-2px);
  border-color: #25d366;
}

.rsvp-option-btn:hover svg {
  transform: scale(1.12);
}

/* ==========================================================================
   Venue Address Copy Helper
   ========================================================================== */
.venue-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(3, 5, 17, 0.6);
  border: 1px solid rgba(255, 213, 107, 0.25);
  border-radius: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.venue-address-text {
  color: var(--ivory-muted);
  font-size: 0.88rem;
  text-align: left;
}

.copy-address-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 213, 107, 0.18);
  border: 1px solid rgba(255, 213, 107, 0.4);
  border-radius: 999px;
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.copy-address-btn:hover {
  background: var(--gold-400);
  color: var(--space-950);
  transform: translateY(-1px);
}

.copy-address-btn.is-copied {
  background: #25d366;
  color: #030511;
  border-color: #25d366;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .hero-event-bar {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 0;
  }

  .bar-separator {
    display: block;
    width: 1px;
    height: 2.2rem;
    background: rgba(255, 213, 107, 0.35);
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: row;
  }

  .primary-cta,
  .secondary-cta {
    flex: 1;
  }

  .party-fun-banner {
    grid-template-columns: repeat(3, 1fr);
  }

  .action-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-rsvp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: flex-start;
    min-height: 100vh;
  }

  .photo-panel {
    width: 46%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    position: sticky;
    top: 0;
    aspect-ratio: auto;
  }

  .photo-vignette {
    background:
      linear-gradient(90deg, rgba(3, 5, 17, 0) 70%, var(--space-950) 100%),
      linear-gradient(180deg, rgba(3, 5, 17, 0.15) 0%, transparent 40%, rgba(3, 5, 17, 0.55) 100%);
  }

  .hero-copy {
    width: 54%;
    max-width: none;
    padding: 4.5rem 4rem;
    justify-content: center;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-rsvp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Screen Reader Utility
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Top Floating Controls Bar (Sound & Share)
   ========================================================================== */
.top-controls-bar {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 90;
  background: rgba(3, 5, 17, 0.75);
  border: 1px solid rgba(255, 213, 107, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 213, 107, 0.15);
}

.control-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 213, 107, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--champagne);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.control-pill-btn:hover {
  background: rgba(255, 213, 107, 0.25);
  border-color: var(--gold-400);
  color: #ffffff;
  transform: translateY(-1px);
}

.control-pill-btn:active {
  transform: translateY(1px);
}

.control-pill-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.3), rgba(245, 158, 11, 0.35));
  border-color: var(--gold-400);
  color: var(--gold-100);
}

.control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.control-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

@media (max-width: 639px) {
  .top-controls-bar {
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.25rem 0.35rem;
    gap: 0.35rem;
  }

  .control-pill-btn {
    padding: 0.45rem;
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    justify-content: center;
  }

  .control-label {
    display: none;
  }

  .control-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .photo-badge {
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.42rem 0.8rem;
    gap: 0.45rem;
    z-index: 10;
  }

  .badge-text {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}

/* ==========================================================================
   Calendar Action Group
   ========================================================================== */
.card-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.primary-gcal-btn {
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.25), rgba(245, 158, 11, 0.3));
  border-color: rgba(255, 213, 107, 0.7);
  color: var(--gold-200);
}

.primary-gcal-btn:hover {
  background: linear-gradient(135deg, var(--gold-400), #f59e0b);
  border-color: var(--gold-400);
  color: var(--space-950);
}

.secondary-cal-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ivory-muted);
}

.secondary-cal-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   Countdown Digit Flip Pulse
   ========================================================================== */
.timer-box {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timer-box.tick-pulse strong {
  animation: digitTick 0.35s ease-out;
}

@keyframes digitTick {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    color: var(--gold-200);
    text-shadow: 0 0 16px var(--gold-400);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   Interactive Floating Balloons
   ========================================================================== */
.floating-balloon {
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-balloon:hover .balloon-body {
  filter: brightness(1.2) drop-shadow(0 0 18px var(--gold-400));
  transform: scale(1.08);
}

.floating-balloon.is-popped {
  pointer-events: none;
  animation: balloonPop 0.28s ease-out forwards;
}

@keyframes balloonPop {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.8;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* ==========================================================================
   Galaxy Wishing Wall & Guestbook
   ========================================================================== */
.wishing-wall-section {
  position: relative;
  max-width: 68rem;
  margin: 5rem auto 0;
  padding: 0 1.5rem;
}

.wishing-wall-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 50rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

.wishing-card-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

/* Voice Note Blessing Card */
.voice-note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.6rem;
  background: linear-gradient(135deg, rgba(6, 19, 37, 0.92) 0%, rgba(15, 30, 60, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 12px 35px rgba(3, 5, 17, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.voice-note-card:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 16px 40px rgba(3, 5, 17, 0.7), 0 0 35px rgba(56, 189, 248, 0.22);
}

@media (max-width: 639px) {
  .voice-note-card {
    padding: 1.35rem 1.25rem;
    gap: 1.15rem;
  }

  .voice-note-action-btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .voice-note-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.voice-note-info {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  flex: 1;
}

.voice-mic-badge {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.voice-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  animation: voicePulse 2.4s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

@keyframes voicePulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.voice-note-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #38bdf8;
  text-transform: uppercase;
}

.voice-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.voice-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.85);
}

.voice-note-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  background: linear-gradient(135deg, #25d366, #16a34a);
  border: none;
  border-radius: 999px;
  color: #030511;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.voice-note-action-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 0 20px rgba(56, 189, 248, 0.3);
}

.voice-note-action-btn:active {
  transform: translateY(1px);
}

.voice-wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 999px;
  color: #38bdf8;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.voice-wish-btn:hover {
  background: #38bdf8;
  color: #030511;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.35);
}

.voice-wish-btn:active {
  transform: translateY(1px);
}

.wish-form {
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 1.8rem;
  padding: 2.2rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--glass-panel-glow);
  position: relative;
  overflow: hidden;
}

.wish-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--aurora-400), transparent);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.1rem;
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.8;
}

.wish-input {
  width: 100%;
  padding: 0.95rem 1.1rem 0.95rem 3rem;
  background: rgba(6, 10, 34, 0.7);
  border: 1px solid rgba(255, 213, 107, 0.35);
  border-radius: 1rem;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  transition: all 0.22s ease;
}

.wish-input:focus,
.wish-textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 20px rgba(255, 213, 107, 0.35);
  background: rgba(11, 17, 54, 0.85);
}

.quick-chips-wrapper {
  margin-bottom: 1.35rem;
}

.chips-label {
  display: block;
  font-size: 0.76rem;
  color: var(--ivory-muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}

.quick-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.wish-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 213, 107, 0.3);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--champagne);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.wish-chip svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.wish-chip:hover {
  background: rgba(255, 213, 107, 0.22);
  border-color: var(--gold-400);
  color: #ffffff;
  transform: translateY(-2px);
}

.input-icon {
  position: absolute;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.85;
  color: var(--gold-400);
}

.input-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.wish-textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(6, 10, 34, 0.7);
  border: 1px solid rgba(255, 213, 107, 0.35);
  border-radius: 1rem;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 5.5rem;
  transition: all 0.22s ease;
}

.form-helper {
  display: flex;
  justify-content: flex-end;
  font-size: 0.74rem;
  color: var(--ivory-muted);
  margin-top: 0.3rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.5rem;
}

.submit-wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: linear-gradient(135deg, var(--gold-400), #f59e0b);
  border: none;
  border-radius: 999px;
  color: var(--space-950);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.submit-wish-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55), 0 0 25px rgba(255, 213, 107, 0.4);
}

.submit-wish-btn:active {
  transform: translateY(1px);
}

.wa-wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.55);
  border-radius: 999px;
  color: #25d366;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.wa-wish-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.wa-wish-btn:hover {
  background: #25d366;
  color: #030511;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.wish-status-banner {
  margin-top: 1.1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.wish-status-banner.is-visible {
  display: block;
  animation: fadeInDown 0.3s ease-out;
}

.wish-status-banner.is-success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
}

.wish-status-banner.is-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fecaca;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wishes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.wishes-grid:empty {
  display: none;
}

@media (min-width: 640px) {
  .wishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wishes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wish-card {
  position: relative;
  background: rgba(9, 14, 42, 0.65);
  border: 1px solid rgba(255, 213, 107, 0.25);
  border-radius: 1.4rem;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.wish-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 213, 107, 0.2);
}

.wish-card.is-new {
  animation: wishEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-color: var(--gold-400);
  box-shadow: 0 0 35px rgba(255, 213, 107, 0.35);
}

@keyframes wishEntrance {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wish-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wish-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wish-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 213, 107, 0.3), rgba(56, 189, 248, 0.3));
  border: 1px solid rgba(255, 213, 107, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.wish-author {
  color: var(--gold-200);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.wish-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 213, 107, 0.15);
  border: 1px solid rgba(255, 213, 107, 0.3);
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.wish-badge svg {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.wish-message {
  color: var(--ivory);
  font-size: 0.94rem;
  line-height: 1.6;
  font-style: italic;
  word-break: break-word;
}

.wish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  font-size: 0.74rem;
  color: var(--ivory-muted);
}

.wish-star-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.wish-star-icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

/* ==========================================================================
   Reduced Motion Accessibility Media Query
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-balloon {
    display: none !important;
  }

  .star-layer-1,
  .star-layer-2 {
    animation: none !important;
    opacity: 0.3 !important;
  }

  #confetti-canvas {
    display: none !important;
  }

  .timer-box.tick-pulse strong {
    animation: none !important;
  }
}

