/* ==========================================================================
   Shreya Turns Three | Birthday Celebration Invite Styles
   Theme: Luxury Party Celebration (Deep Emerald, Radiant Gold & Festive Shimmer)
   ========================================================================== */

:root {
  --night-950: #04110d;
  --night-900: #071c15;
  --night-850: #0b261d;
  --night-800: #103328;
  --night-700: #184637;

  --gold-500: #e5b84c;
  --gold-400: #f5cf6d;
  --gold-300: #fce6a2;
  --gold-100: #fff9e6;

  --coral-500: #ff6b81;
  --coral-400: #ff8598;
  --coral-100: #ffe8ec;

  --champagne: #fff5db;
  --ivory: #fcf8f0;
  --ivory-muted: #d9d0c1;
  --ink: #0d1f18;

  --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;

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-party: 0 20px 50px rgba(0, 0, 0, 0.38), 0 0 40px rgba(245, 207, 109, 0.12);
  --shadow-glow: 0 0 35px rgba(245, 207, 109, 0.35);
}

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

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

body {
  background-color: var(--night-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 Flying Party 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.55;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  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: 15%;
  left: 20%;
  width: 25%;
  height: 38%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75) 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(245, 207, 109, 0.7), rgba(255, 255, 255, 0.15));
  transform-origin: top center;
  animation: stringWave 2.8s ease-in-out infinite alternate;
}

/* Balloon Themes */
.balloon-gold .balloon-body {
  background: radial-gradient(circle at 35% 30%, #fff6d6 0%, #f5cf6d 50%, #c49622 100%);
}
.balloon-rose .balloon-body {
  background: radial-gradient(circle at 35% 30%, #ffe3e7 0%, #ff6b81 55%, #c92a42 100%);
}
.balloon-champagne .balloon-body {
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #fce6a2 60%, #cca03c 100%);
}
.balloon-coral .balloon-body {
  background: radial-gradient(circle at 35% 30%, #ffeaa7 0%, #ff7675 60%, #d63031 100%);
}
.balloon-purple .balloon-body {
  background: radial-gradient(circle at 35% 30%, #f1e9ff 0%, #a29bfe 60%, #6c5ce7 100%);
}

@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 80% 15%, rgba(245, 207, 109, 0.16), transparent 30rem),
    radial-gradient(circle at 10% 80%, rgba(255, 107, 129, 0.12), transparent 35rem),
    linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 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: #ffe69b;
  box-shadow: 0 0 25px 10px rgba(255, 220, 129, 0.35);
  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%;
  height: clamp(24rem, 50svh, 36rem);
  background: var(--night-850);
  overflow: hidden;
}

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

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.02);
  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(4, 17, 13, 0.1) 0%, rgba(4, 17, 13, 0.4) 50%, rgba(4, 17, 13, 0.96) 95%),
    linear-gradient(90deg, rgba(4, 17, 13, 0.25) 0%, transparent 50%, rgba(4, 17, 13, 0.25) 100%);
}

.photo-border-glow {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 207, 109, 0.25);
  border-radius: 1.5rem;
  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.1rem;
  background: rgba(4, 17, 13, 0.75);
  border: 1px solid rgba(245, 207, 109, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.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 12px 4px rgba(255, 230, 155, 0.6);
  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.1rem;
  background: linear-gradient(135deg, rgba(245, 207, 109, 0.18), rgba(255, 107, 129, 0.12));
  border: 1px solid rgba(245, 207, 109, 0.45);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  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.16em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.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.4), 0 0 45px rgba(245, 207, 109, 0.35);
  letter-spacing: 0.02em;
}

.age-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem 0.5rem;
  background: linear-gradient(135deg, rgba(245, 207, 109, 0.25), rgba(255, 107, 129, 0.2));
  border: 2px solid var(--gold-400);
  border-radius: 1.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), inset 0 0 15px rgba(245, 207, 109, 0.2);
  transform: translateY(-0.8rem);
}

.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 20px rgba(245, 207, 109, 0.5);
}

.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 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Hero Event Highlights Bar
   ========================================================================== */
.hero-event-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem;
  background: rgba(7, 28, 21, 0.7);
  border: 1px solid rgba(245, 207, 109, 0.35);
  border-radius: 1.3rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  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: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(245, 207, 109, 0.25), rgba(7, 28, 21, 0.8));
  border: 1px solid rgba(245, 207, 109, 0.4);
  color: var(--gold-300);
  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
   ========================================================================== */
.countdown {
  width: 100%;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, rgba(16, 51, 40, 0.75), rgba(7, 28, 21, 0.85));
  border: 1px solid rgba(245, 207, 109, 0.4);
  border-radius: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  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;
}

.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.5rem 1rem;
  background: linear-gradient(135deg, #ff758c, #ff4757);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.confetti-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 25px rgba(255, 71, 87, 0.5);
}

.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.9rem 0.4rem;
  background: rgba(4, 17, 13, 0.7);
  border: 1px solid rgba(245, 207, 109, 0.25);
  border-radius: 1rem;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

.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 15px rgba(245, 207, 109, 0.4);
}

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

.countdown-message {
  display: none;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-top: 0.5rem;
}

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

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

/* ==========================================================================
   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, #ffe082 0%, #f5cf6d 50%, #e0ab2d 100%);
  color: var(--night-950);
  box-shadow: 0 12px 30px rgba(245, 207, 109, 0.35);
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(245, 207, 109, 0.5);
  filter: brightness(1.05);
}

.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.15);
  color: #ffffff;
  border: 1.5px solid #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
  backdrop-filter: blur(12px);
}

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

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

.scroll-cue {
  display: none;
}

/* ==========================================================================
   Celebration Details Section
   ========================================================================== */
.celebration {
  position: relative;
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 207, 109, 0.08), transparent 30rem),
    radial-gradient(circle at 90% 90%, rgba(255, 107, 129, 0.08), transparent 35rem),
    linear-gradient(180deg, var(--night-900) 0%, var(--night-950) 100%);
  padding: 5rem 1.5rem 6rem;
  z-index: 3;
}

.celebration-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  width: min(90vw, 55rem);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 207, 109, 0.1);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.celebration-glow::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(245, 207, 109, 0.06);
  border-radius: 50%;
}

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

.festive-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(245, 207, 109, 0.15);
  border: 1px solid rgba(245, 207, 109, 0.4);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 1.2rem;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.2rem;
}

.section-intro h2 em {
  font-family: var(--font-script);
  font-size: 1.15em;
  color: var(--gold-300);
  font-weight: 400;
  text-shadow: 0 0 25px rgba(245, 207, 109, 0.4);
}

.section-lead {
  font-size: 1.12rem;
  color: var(--champagne);
  line-height: 1.8;
  opacity: 0.95;
}

/* Big Detail Cards */
.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 58rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.detail-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: var(--shadow-party);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
}

.when-card {
  background: linear-gradient(145deg, rgba(16, 51, 40, 0.9), rgba(7, 28, 21, 0.95));
  border: 1.5px solid rgba(245, 207, 109, 0.35);
}

.where-card {
  background: linear-gradient(145deg, rgba(38, 20, 24, 0.9), rgba(24, 12, 15, 0.95));
  border: 1.5px solid rgba(255, 107, 129, 0.4);
}

.card-badge {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-300);
  opacity: 0.5;
}

.card-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1.1rem;
  margin-bottom: 1.2rem;
}

.when-card .card-icon-container {
  background: rgba(245, 207, 109, 0.2);
  border: 1px solid rgba(245, 207, 109, 0.45);
  color: var(--gold-300);
}

.where-card .card-icon-container {
  background: rgba(255, 107, 129, 0.2);
  border: 1px solid rgba(255, 107, 129, 0.45);
  color: #ff8598;
}

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

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

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

.card-main-info {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.card-sub-info {
  font-size: 1.05rem;
  color: var(--champagne);
  opacity: 0.9;
  margin-bottom: 1.6rem;
}

.card-footer {
  margin-top: auto;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--ivory);
  transition: all 0.25s ease;
}

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

.card-action-btn.primary-map-btn {
  background: linear-gradient(135deg, #ff758c, #ff4757);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.card-action-btn.primary-map-btn:hover {
  background: #ffffff;
  color: #d63031;
  border-color: #ffffff;
}

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

/* Party Highlights Fun Banner */
.party-fun-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 58rem;
  margin-inline: auto;
  padding: 1.5rem;
  background: rgba(7, 28, 21, 0.6);
  border: 1px solid rgba(245, 207, 109, 0.3);
  border-radius: 1.5rem;
  backdrop-filter: blur(14px);
  margin-bottom: 3.5rem;
}

.fun-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.8rem;
}

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

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

.fun-text strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ivory);
}

.fun-text span {
  font-size: 0.92rem;
  color: var(--champagne);
  opacity: 0.85;
}

/* ==========================================================================
   Action Bar & RSVP Buttons
   ========================================================================== */
.action-grid-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

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

.action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 5.5rem;
  padding: 1.1rem 1.4rem;
  border-radius: 1.3rem;
  background: rgba(16, 51, 40, 0.7);
  border: 1.5px solid rgba(245, 207, 109, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.action:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 207, 109, 0.2);
}

.action-maps {
  border-color: rgba(255, 107, 129, 0.35);
}

.action-maps:hover {
  background: rgba(38, 20, 24, 0.85);
  border-color: #ff6b81;
}

.action-wa {
  border-color: rgba(37, 211, 102, 0.35);
}

.action-wa:hover {
  background: rgba(15, 45, 30, 0.9);
  border-color: #25d366;
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: rgba(245, 207, 109, 0.15);
  border: 1px solid rgba(245, 207, 109, 0.35);
  color: var(--gold-300);
  flex-shrink: 0;
}

.action-maps .action-icon {
  background: rgba(255, 107, 129, 0.15);
  border-color: rgba(255, 107, 129, 0.4);
  color: #ff758c;
}

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

.action-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-icon.wa-icon svg {
  fill: currentColor;
  stroke: none;
}

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

.action-content small {
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

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

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

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

/* ==========================================================================
   Closing Section & Footer
   ========================================================================== */
.closing {
  position: relative;
  min-height: 55svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(245, 207, 109, 0.15), transparent 30rem),
    var(--night-950);
  border-top: 1px solid rgba(245, 207, 109, 0.25);
  overflow: hidden;
  z-index: 3;
}

.closing-glow {
  position: absolute;
  width: min(80vw, 40rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 207, 109, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.closing-stars {
  font-size: 1.4rem;
  color: var(--gold-300);
  letter-spacing: 0.4em;
  margin-bottom: 1.2rem;
}

.closing-quote {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.closing-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--ivory);
  max-width: 38rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

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

.closing-contact span {
  font-size: 0.95rem;
  color: var(--champagne);
  opacity: 0.9;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: rgba(245, 207, 109, 0.15);
  border: 1.5px solid var(--gold-400);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 1.15rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.phone-link:hover {
  background: var(--gold-400);
  color: var(--night-950);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 207, 109, 0.35);
}

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

.closing-footer-note {
  font-size: 0.82rem;
  color: var(--ivory-muted);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 680px) {
  .hero-event-bar {
    grid-template-columns: 1fr auto 1fr auto 1.3fr;
    align-items: center;
  }

  .bar-separator {
    display: block;
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(180deg, transparent, rgba(245, 207, 109, 0.5), transparent);
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .action-bar {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 52%) minmax(30rem, 48%);
    min-height: 100vh;
    align-items: center;
  }

  .photo-panel {
    height: 100vh;
    min-height: 100vh;
  }

  .photo-vignette {
    background:
      linear-gradient(90deg, rgba(4, 17, 13, 0.1) 60%, rgba(4, 17, 13, 0.85) 100%),
      linear-gradient(180deg, transparent 70%, rgba(4, 17, 13, 0.5) 100%);
  }

  .hero-copy {
    min-height: 100vh;
    justify-content: center;
    padding: 4rem 3.5rem;
  }

  .scroll-cue {
    display: flex;
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold-300);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 10;
    opacity: 0.85;
    animation: bounceDown 2s infinite;
  }

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

  @keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  }

  .celebration {
    padding: 7rem 3rem 8rem;
  }
}

@media (max-width: 480px) {
  .hero-copy {
    padding: 1.5rem 1.1rem 3.5rem;
  }

  .photo-panel {
    height: clamp(20rem, 42svh, 28rem);
  }

  .hero-photo {
    object-position: center 30%;
  }

  .photo-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.85rem;
  }

  .badge-text {
    font-size: 0.72rem;
  }

  .festive-badge {
    font-size: 0.72rem;
    padding: 0.45rem 0.9rem;
  }

  .hero h1 .name-text {
    font-size: clamp(3.8rem, 16vw, 5.2rem);
  }

  .age-badge {
    padding: 0.3rem 0.75rem;
    transform: translateY(-0.4rem);
  }

  .age-number {
    font-size: 2.2rem;
  }

  .invitation-line {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
  }

  .hero-event-bar {
    padding: 1rem;
    gap: 0.8rem;
  }

  .item-icon-box {
    width: 2.6rem;
    height: 2.6rem;
  }

  .item-icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .item-label {
    font-size: 0.65rem;
  }

  .item-value {
    font-size: 0.96rem;
  }

  .countdown {
    padding: 1.1rem 0.9rem;
  }

  .countdown-grid {
    gap: 0.4rem;
  }

  .timer-box {
    padding: 0.65rem 0.15rem;
    border-radius: 0.8rem;
  }

  .timer-box strong {
    font-size: 1.7rem;
  }

  .timer-box span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .confetti-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    padding: 1rem 1.4rem;
    font-size: 0.88rem;
  }

  .celebration {
    padding: 4rem 1.1rem 4.5rem;
  }

  .detail-card {
    padding: 1.6rem 1.3rem;
  }

  .detail-card h3 {
    font-size: 1.85rem;
  }

  .card-main-info {
    font-size: 1.18rem;
  }

  .party-fun-banner {
    padding: 1rem;
    gap: 0.6rem;
  }

  .action {
    padding: 0.9rem 1.1rem;
    min-height: 4.8rem;
  }

  .action-content strong {
    font-size: 1.05rem;
  }

  .closing {
    padding: 4rem 1.1rem 3.5rem;
  }

  .closing-title {
    font-size: 2rem;
  }
}

/* Accessibility & Reduced Motion */
@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;
  }
}
