/* ==========================================================================
   Smartly Balanced Rose Gold Theme with Visible Floral Backdrop - Vishnu & Aishwarya
   ========================================================================== */

:root {
  /* Metallic Rose Gold & Champagne Palette */
  --bg-deep: #1A0A10;
  --rosegold-primary: #E6A590;
  --rosegold-light: #FFF2ED;
  --rosegold-dark: #B86B52;
  --rosegold-rgb: 230, 165, 144;
  
  --rosegold-gradient: linear-gradient(135deg, #FFF2ED 0%, #F5D3C5 25%, #E6A590 55%, #FFF7F4 80%, #B86B52 100%);
  --rosegold-glow: 0 0 25px rgba(var(--rosegold-rgb), 0.5);
  
  --text-primary: #FFF7F4;
  --text-secondary: #F0D5CA;
  --text-muted: #D4B2A5;
  
  /* Typography */
  --font-royal: 'Cinzel Decorative', serif;
  --font-serif: 'Playfair Display', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.regal-rosegold-theme {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--rosegold-primary);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--rosegold-gradient);
  border-radius: 4px;
}

/* Metallic Rose Gold Text Gradient */
.rosegold-gradient-text {
  background: var(--rosegold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shineRoseGold 6s linear infinite;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.75));
}

@keyframes shineRoseGold {
  to {
    background-position: 200% center;
  }
}

/* ==========================================
   MONOGRAM LOADING SCREEN
   ========================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #2C121B 0%, #12060A 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-monogram-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed var(--rosegold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--rosegold-glow);
  animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.monogram-text {
  font-family: var(--font-royal);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rosegold-light);
  transform: rotate(0deg);
  animation: counterRotateRing 20s linear infinite;
}

@keyframes counterRotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.loading-divider {
  color: var(--rosegold-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.loading-text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--rosegold-light);
  margin-bottom: 1.5rem;
}

.loading-progress-bar {
  width: 180px;
  height: 3px;
  background: rgba(var(--rosegold-rgb), 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.loading-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--rosegold-gradient);
  box-shadow: 0 0 10px var(--rosegold-primary);
  transition: width 0.1s ease;
}

/* ==========================================
   VISIBILITY-BALANCED BACKGROUND & OVERLAY
   ========================================== */
.bg-fixed-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ken-burns-bg {
  width: 115%;
  height: 115%;
  margin-left: -7.5%;
  margin-top: -7.5%;
  animation: kenBurns 45s ease-in-out infinite alternate;
}

.ken-burns-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Soft 6px blur to prevent background pattern from interfering with text */
  filter: blur(6px) brightness(0.75) saturate(1.1);
  transform: scale(1.06);
}

@keyframes kenBurns {
  0% { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1%, -1%); }
}

/* Semi-transparent Rose Gold & Soft Dark Overlay Tint for 100% Text Readability */
.vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(45, 18, 25, 0.55) 0%, rgba(30, 10, 16, 0.78) 65%, rgba(15, 5, 8, 0.92) 100%);
  pointer-events: none;
}

/* Ambient Particles */
.fireflies-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.firefly-spark {
  position: absolute;
  border-radius: 50%;
  background: var(--rosegold-light);
  box-shadow: 0 0 10px var(--rosegold-primary), 0 0 20px var(--rosegold-light);
  animation: floatFirefly linear infinite;
}

@keyframes floatFirefly {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  30% { opacity: 0.85; }
  70% { opacity: 0.85; }
  100% { opacity: 0; transform: translate(60px, -120px) scale(1.2); }
}

/* ==========================================
   FLOATING AUDIO CONTROLLER
   ========================================== */
/* ==========================================
   FLOATING AUDIO CONTROLLER (COMPACT LUXURY ORB)
   ========================================== */
.music-toggle-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: rgba(30, 10, 16, 0.85);
  border: 1.5px solid rgba(var(--rosegold-rgb), 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--rosegold-light);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--rosegold-rgb), 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-action-icon {
  color: var(--rosegold-light);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.music-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(55, 18, 26, 0.95);
  border-color: var(--rosegold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--rosegold-glow);
}

.music-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--rosegold-primary);
  animation: pulseCircle 2.8s infinite;
  pointer-events: none;
}

@keyframes pulseCircle {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bar {
  width: 2px;
  background: var(--rosegold-gradient);
  border-radius: 2px;
  height: 3px;
}

.music-toggle-btn.playing .bar-1 { animation: eqPulse 0.7s ease-in-out infinite alternate; }
.music-toggle-btn.playing .bar-2 { animation: eqPulse 0.5s ease-in-out infinite alternate 0.2s; }
.music-toggle-btn.playing .bar-3 { animation: eqPulse 0.9s ease-in-out infinite alternate 0.4s; }

@keyframes eqPulse {
  0% { height: 3px; }
  100% { height: 12px; }
}

@media (max-width: 600px) {
  .music-toggle-btn {
    width: 38px;
    height: 38px;
    bottom: 1rem;
    right: 1rem;
  }

  .music-action-icon {
    width: 14px;
    height: 14px;
  }

  .equalizer-bars {
    height: 10px;
    gap: 1.5px;
  }

  .eq-bar {
    width: 1.8px;
  }

  @keyframes eqPulse {
    0% { height: 2px; }
    100% { height: 10px; }
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.main-page-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  background: rgba(30, 10, 16, 0.55);
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  backdrop-filter: blur(10px);
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.eyebrow-text {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--rosegold-light);
}

.sparkle {
  color: var(--rosegold-primary);
  font-size: 0.8rem;
  animation: sparkleTwinkle 2s infinite alternate;
}

@keyframes sparkleTwinkle {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.hero-names-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-royal);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.04em;
}

.hero-ampersand {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--rosegold-light);
  margin: 0.2rem 0;
  text-shadow: 0 0 25px rgba(var(--rosegold-rgb), 0.7);
}

.rosegold-pill-date {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3rem;
  padding: 0.85rem 2.4rem;
  border-radius: 50px;
  background: rgba(30, 10, 16, 0.75);
  border: 1px solid var(--rosegold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--rosegold-glow);
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 2.8vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--rosegold-light);
}

.calendar-icon {
  width: 18px;
  height: 18px;
  color: var(--rosegold-primary);
}

.scroll-down-hint {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.scroll-arrow {
  color: var(--rosegold-primary);
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ==========================================
   CONTENT CONTAINER & GLASS CARDS
   ========================================== */
.content-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Regal Rose Gold Glassmorphic Card */
.glass-card {
  position: relative;
  background: rgba(35, 12, 18, 0.6);
  border: 1px solid rgba(var(--rosegold-rgb), 0.38);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(var(--rosegold-rgb), 0.05);
  overflow: hidden;
  margin-bottom: 5rem;
}

.card-inner {
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Filigree Corners */
.corner-filigree {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--rosegold-primary);
  z-index: 3;
  pointer-events: none;
}

.top-left { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.top-right { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.bottom-right { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.mandala-icon {
  font-size: 1.5rem;
  color: var(--rosegold-primary);
  margin-bottom: 1.5rem;
  text-shadow: var(--rosegold-glow);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.rosegold-line-divider {
  width: 100px;
  height: 1px;
  background: var(--rosegold-gradient);
  margin: 0 auto 2rem;
  box-shadow: var(--rosegold-glow);
}

.invitation-text {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.couple-subnames {
  font-family: var(--font-royal);
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-top: 0.5rem;
}

/* ==========================================
   CINEMATIC 3D AUTO-SLIDE PHOTO SHOWCASE
   ========================================== */
.photos-section {
  margin-bottom: 6rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sub-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--rosegold-light);
  display: block;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.section-heading {
  font-family: var(--font-royal);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
}

.ornate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.ornate-divider .line {
  width: 60px;
  height: 1px;
  background: var(--rosegold-gradient);
}

.ornate-divider .gem {
  color: var(--rosegold-primary);
  font-size: 0.9rem;
}

/* Cinematic 3D Floating Auto-Slide Photo Showcase */
.cinematic-slider-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  list-style: none;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.4, 1);
  margin: 0;
  padding: 0;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 6px;
}

.cinematic-photo-card {
  position: relative;
  background: rgba(35, 12, 18, 0.65);
  border: 1px solid rgba(var(--rosegold-rgb), 0.45);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), var(--rosegold-glow);
  overflow: hidden;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.cinematic-photo-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(var(--rosegold-rgb), 0.6);
}

.photo-body {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* 1:1 Square Ratio */
  overflow: hidden;
  background: #000;
  border-radius: 21px;
}

.carousel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease-in-out;
}

.carousel-photo.zoom-effect {
  animation: photoKenBurns 10s ease-in-out infinite alternate;
}

@keyframes photoKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--rosegold-rgb), 0.04) 0%, rgba(25, 10, 15, 0.15) 60%, rgba(25, 10, 15, 0.55) 100%);
  pointer-events: none;
}

/* Indicators */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.8rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(var(--rosegold-rgb), 0.25);
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  cursor: pointer;
  transition: all 0.4s ease;
}

.indicator.current-indicator {
  background: var(--rosegold-gradient);
  width: 34px;
  border-radius: 10px;
  box-shadow: var(--rosegold-glow);
}

/* ==========================================
   LOCATION & EVENT DETAILS
   ========================================== */
.location-card {
  margin-bottom: 6rem;
}

.event-time-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.time-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.time-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.time-value {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rosegold-light);
}

.time-sep {
  color: var(--rosegold-primary);
  font-weight: 300;
}

/* Venue Name */
.venue-name-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  background: rgba(var(--rosegold-rgb), 0.1);
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(var(--rosegold-rgb), 0.05);
}

.venue-pin-icon {
  width: 18px;
  height: 18px;
  color: var(--rosegold-primary);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(var(--rosegold-rgb), 0.7));
}

.venue-name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  color: var(--rosegold-light);
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .venue-name-wrap {
    padding: 0.6rem 1.2rem;
  }
}

.map-container-frame {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
}

.rosegold-btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  background: var(--rosegold-gradient);
  color: #1A080E;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  box-shadow: 0 10px 35px rgba(var(--rosegold-rgb), 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.rosegold-btn-3d:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(var(--rosegold-rgb), 0.6);
  color: #000;
}

/* ==========================================
   COUNTDOWN TIMER
   ========================================== */
.countdown-section {
  margin-bottom: 4rem;
}

.countdown-boxes-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.countdown-card {
  background: rgba(35, 12, 18, 0.65);
  border: 1px solid rgba(var(--rosegold-rgb), 0.35);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rosegold-gradient);
}

.cd-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.cd-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

/* ==========================================
   ROYAL FOOTER
   ========================================== */
/* Cousins' Loving Wish */
.cousins-wish {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2.2rem 1.5rem;
  border-top: 1px solid rgba(var(--rosegold-rgb), 0.18);
  border-bottom: 1px solid rgba(var(--rosegold-rgb), 0.18);
  background: linear-gradient(180deg, rgba(var(--rosegold-rgb), 0.06) 0%, transparent 50%, rgba(var(--rosegold-rgb), 0.06) 100%);
}

.cousins-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.cousins-divider .line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rosegold-primary), transparent);
}

.cousins-divider .gem {
  color: var(--rosegold-primary);
  font-size: 0.85rem;
  text-shadow: var(--rosegold-glow);
  animation: sparkleTwinkle 2s infinite alternate;
}

.cousins-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  margin: 1.2rem 0 0.9rem;
}

.cousins-names {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .cousins-wish {
    padding: 1.8rem 1rem;
    margin-bottom: 2rem;
  }

  .cousins-divider .line {
    width: 55px;
  }
}

.royal-footer {
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 5, 8, 0.95) 100%);
  border-top: 1px solid rgba(var(--rosegold-rgb), 0.15);
}

.footer-crest {
  font-family: var(--font-royal);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rosegold-light);
  margin-bottom: 0.8rem;
  text-shadow: var(--rosegold-glow);
}

.footer-blessing {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--rosegold-primary);
  margin-bottom: 1rem;
}

.footer-year {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.subtle-admin-lock {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  opacity: 0.35;
  cursor: pointer;
  margin-left: 0.4rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
}

.subtle-admin-lock:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* ==========================================
   RESPONSIVE DESIGN (MOBILE OPTIMIZED)
   ========================================== */
@media (max-width: 768px) {
  .countdown-boxes-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .countdown-card {
    padding: 1.6rem 0.8rem;
  }

  .music-toggle-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    padding: 0.7rem 1.2rem;
  }

  .event-time-badge {
    flex-direction: column;
    gap: 1rem;
  }

  .time-sep { display: none; }
  
  .map-container-frame {
    height: 280px;
  }
}

/* ==========================================
   ACTION BUTTONS & OUTLINE BUTTONS
   ========================================== */
.action-buttons-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
}

.secondary-actions {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.rosegold-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: rgba(35, 12, 18, 0.45);
  border: 1px solid rgba(var(--rosegold-rgb), 0.45);
  border-radius: 50px;
  color: var(--rosegold-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.rosegold-btn-outline:hover {
  background: rgba(var(--rosegold-rgb), 0.2);
  border-color: var(--rosegold-primary);
  color: #FFF;
  box-shadow: 0 5px 20px rgba(var(--rosegold-rgb), 0.25);
  transform: translateY(-2px);
}

.w-100 { width: 100%; }
.mt-1 { margin-top: 1rem; }
.d-none { display: none !important; }
.flex-1 { flex: 1; }

/* ==========================================
   WALL OF BLESSINGS & WISHES — PREMIUM EDITION
   ========================================== */
.wishes-section {
  margin-bottom: 5rem;
  position: relative;
  text-align: center;
}

.wishes-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.wishes-flourish .wf-line {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rosegold-primary), transparent);
}

.wishes-flourish .wf-gem {
  color: var(--rosegold-primary);
  font-size: 0.9rem;
  animation: sparkleTwinkle 2s infinite alternate;
}

.wishes-title-wrap {
  text-align: center;
}

.wishes-intro-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.wishes-actions-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.4rem 0 1.8rem;
}

.wishes-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.4rem;
  background: rgba(35, 12, 18, 0.6);
  border: 1px solid rgba(var(--rosegold-rgb), 0.35);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--rosegold-light);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.admin-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(180, 50, 60, 0.25);
  border: 1px dashed #FF6B6B;
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  margin-bottom: 2rem;
  color: #FFB3B3;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.exit-admin-btn {
  background: #FF4D4D;
  color: #fff;
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exit-admin-btn:hover {
  background: #E60000;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #50E3C2;
  box-shadow: 0 0 10px #50E3C2;
  animation: livePulse 1.8s infinite;
}

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

/* Premium Wishes Gallery Grid */
.wishes-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
}

/* Luxury Wish Card */
.wish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.7rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(48, 16, 26, 0.92) 0%, rgba(27, 9, 15, 0.94) 100%);
  border: 1px solid rgba(var(--rosegold-rgb), 0.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  animation: wishCardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes wishCardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gilded top accent line */
.wish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--rosegold-primary) 25%, var(--rosegold-light) 50%, var(--rosegold-primary) 75%, transparent 100%);
  background-size: 200% auto;
  opacity: 0.8;
  animation: shineRoseGold 6s linear infinite;
}

/* Corner filigree ornament */
.wish-card::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 9px;
  width: 11px;
  height: 11px;
  border-top: 1.5px solid rgba(var(--rosegold-rgb), 0.45);
  border-right: 1.5px solid rgba(var(--rosegold-rgb), 0.45);
  border-top-right-radius: 7px;
  transition: all 0.3s ease;
}

.wish-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--rosegold-rgb), 0.7);
  box-shadow: 0 32px 65px rgba(0, 0, 0, 0.62), 0 0 38px rgba(var(--rosegold-rgb), 0.28);
  background: linear-gradient(160deg, rgba(58, 19, 31, 0.96) 0%, rgba(33, 10, 18, 0.96) 100%);
}

.wish-card:hover::after {
  border-color: var(--rosegold-primary);
  transform: translate(-2px, 2px);
}

.wish-card-header {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.1rem;
  padding-right: 1.4rem;
}

.wish-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-royal);
  font-size: 1.05rem;
  font-weight: 700;
  color: #200810;
  background: var(--rosegold-gradient);
  background-size: 160% auto;
  flex-shrink: 0;
  box-shadow: 0 5px 18px rgba(var(--rosegold-rgb), 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  transition: transform 0.35s ease;
}

.wish-avatar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  transition: border-color 0.3s ease, inset 0.3s ease;
}

.wish-card:hover .wish-avatar {
  transform: scale(1.06);
}

.wish-card:hover .wish-avatar::after {
  border-color: var(--rosegold-primary);
  inset: -6px;
}

.wish-meta {
  min-width: 0;
  text-align: left;
}

.wish-author {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rosegold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wish-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.wish-date::before {
  content: '✦';
  font-size: 0.55rem;
  color: var(--rosegold-primary);
}

.wish-card-divider {
  width: 46px;
  height: 1px;
  background: var(--rosegold-gradient);
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(var(--rosegold-rgb), 0.5);
}

.wish-preview {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: rgba(255, 247, 244, 0.92);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.wish-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.05rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--rosegold-primary);
  opacity: 0.85;
  transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}

.wish-read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.wish-card:hover .wish-read-more {
  opacity: 1;
  letter-spacing: 0.28em;
}

.wish-card:hover .wish-read-more::after {
  transform: translateX(4px);
}

.delete-wish-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 50, 70, 0.85);
  border: none;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.delete-wish-btn:hover {
  background: rgba(220, 30, 50, 1);
  transform: scale(1.15);
}

.delete-wish-btn.confirm-danger {
  background: rgba(220, 30, 50, 1);
  box-shadow: 0 0 0 3px rgba(220, 30, 50, 0.35);
  animation: confirmPulse 0.6s ease-in-out infinite;
}

@keyframes confirmPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.wishes-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.wishes-empty-icon {
  display: block;
  font-size: 2rem;
  color: var(--rosegold-primary);
  margin-bottom: 1rem;
  animation: sparkleTwinkle 2s infinite alternate;
}

.stream-hint-text {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

/* Responsive gallery */
@media (max-width: 900px) {
  .wishes-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem;
  }
}

@media (max-width: 600px) {
  .wishes-gallery {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .wish-card {
    padding: 1.4rem 1.4rem 1.3rem;
    border-radius: 18px;
  }

  .wish-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }

  .wish-author {
    font-size: 0.98rem;
  }

  .wish-preview {
    font-size: 0.94rem;
  }

  .wishes-actions-bar {
    gap: 0.8rem;
  }
}



/* ==========================================
   SECRET WISH MODAL & POPUP VIEWER
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 3, 6, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  max-width: 540px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  background: rgba(35, 12, 18, 0.9);
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--rosegold-glow);
  border-radius: 24px;
  cursor: default;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-royal);
  font-size: 1.6rem;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--rosegold-primary);
}

.modal-subtext {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.secret-wish-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.passcode-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--rosegold-primary);
  margin-top: 0.2rem;
}

/* Detail Popup Viewer — Premium */
.detail-modal-card {
  max-width: 640px;
  text-align: center;
  padding: 3rem 2.4rem 2.6rem;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(48, 16, 26, 0.97) 0%, rgba(22, 7, 12, 0.97) 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), 0 0 60px rgba(var(--rosegold-rgb), 0.2);
  animation: modalCardIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalCardIn {
  from { opacity: 0; transform: translateY(26px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#close-detail-modal.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(var(--rosegold-rgb), 0.12);
  border: 1px solid rgba(var(--rosegold-rgb), 0.4);
  color: var(--rosegold-light);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  line-height: 1;
  padding: 0;
}

#close-detail-modal.modal-close-btn:hover {
  background: var(--rosegold-gradient);
  color: #200810;
  transform: rotate(90deg);
  box-shadow: 0 0 20px rgba(var(--rosegold-rgb), 0.5);
}

.detail-flourish-top, .detail-flourish-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.detail-flourish-top {
  margin-bottom: 1rem;
}

.detail-flourish-bottom {
  margin-top: 1.8rem;
}

.detail-flourish-top .line, .detail-flourish-bottom .line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rosegold-primary), transparent);
}

.detail-flourish-top .gem, .detail-flourish-bottom .gem {
  color: var(--rosegold-primary);
  font-size: 0.9rem;
  text-shadow: var(--rosegold-glow);
  animation: sparkleTwinkle 2s infinite alternate;
}

.detail-quote-mark {
  font-family: var(--font-royal);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--rosegold-primary);
  text-shadow: 0 0 25px rgba(var(--rosegold-rgb), 0.6);
  margin-bottom: 0.5rem;
  user-select: none;
}

.detail-msg-text {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.32rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.9;
  margin-bottom: 1.8rem;
  max-height: 40vh;
  overflow-y: auto;
  padding: 0 0.4rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-msg-text::-webkit-scrollbar {
  width: 4px;
}

.detail-msg-text::-webkit-scrollbar-thumb {
  background: var(--rosegold-gradient);
  border-radius: 10px;
}

.detail-divider {
  width: 70px;
  height: 2px;
  background: var(--rosegold-gradient);
  margin: 0 auto 1.7rem;
  box-shadow: 0 0 12px rgba(var(--rosegold-rgb), 0.6);
}

.detail-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-royal);
  font-size: 1.5rem;
  font-weight: 700;
  color: #200810;
  background: var(--rosegold-gradient);
  background-size: 160% auto;
  box-shadow: 0 8px 30px rgba(var(--rosegold-rgb), 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.detail-avatar::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--rosegold-rgb), 0.5);
}

.detail-wisher-name {
  font-family: var(--font-royal);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-timestamp {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Form controls reuse */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--rosegold-primary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(20, 7, 12, 0.65);
  border: 1px solid rgba(var(--rosegold-rgb), 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--rosegold-primary);
  box-shadow: 0 0 15px rgba(var(--rosegold-rgb), 0.3);
  background: rgba(30, 10, 18, 0.85);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(240, 213, 202, 0.4);
  font-size: 0.9rem;
}

/* ==========================================
   TOAST NOTIFICATION
   ========================================== */
.toast-notification {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.8rem;
  background: rgba(35, 12, 18, 0.92);
  border: 1px solid var(--rosegold-primary);
  border-radius: 50px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), var(--rosegold-glow);
  color: var(--rosegold-light);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================
   FALLING FLOWER PETALS SHOWER ANIMATION
   ========================================== */
.flower-petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
}

.flower-petal {
  position: absolute;
  top: -40px;
  opacity: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  animation: fallAndSway linear forwards;
}

/* Custom SVG Petal variants: Rose Gold, Soft Pink, Golden Blossom */
.petal-type-1 {
  width: 24px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23E8B4B8' fill-opacity='0.88' d='M12 0 C 22 10, 24 20, 12 30 C 0 20, 2 10, 12 0 Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 4px 12px rgba(232, 180, 184, 0.6));
}

.petal-type-2 {
  width: 20px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23F4D5CA' fill-opacity='0.92' d='M12 0 C 18 8, 22 18, 12 30 C 2 18, 6 8, 12 0 Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 8px rgba(244, 213, 202, 0.5));
}

.petal-type-3 {
  width: 28px;
  height: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23D4AF37' fill-opacity='0.8' d='M12 0 C 24 12, 24 22, 12 30 C 0 22, 0 12, 12 0 Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.6));
}
/* Premium Rose Gold Wedding Petal Palette */

/* Type 1: Deep Rose Gold — rounded teardrop */
.petal-type-1 {
  width: 22px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 28'%3E%3Cellipse cx='11' cy='16' rx='9' ry='12' fill='%23C8737A' fill-opacity='0.82' transform='rotate(-8 11 16)'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 10px rgba(200, 115, 122, 0.55));
}

/* Type 2: Blush Champagne — slim elegant petal */
.petal-type-2 {
  width: 16px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 30'%3E%3Cpath fill='%23E8C4A0' fill-opacity='0.88' d='M8 0 C 15 8, 16 20, 8 30 C 0 20, 1 8, 8 0 Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 8px rgba(232, 196, 160, 0.5));
}

/* Type 3: Antique Gold — wide blossom petal */
.petal-type-3 {
  width: 28px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cellipse cx='14' cy='11' rx='13' ry='9' fill='%23C9963A' fill-opacity='0.78'/%3E%3C/svg%3E");
  filter: drop-shadow(0 4px 12px rgba(201, 150, 58, 0.55));
}

/* Type 4: Warm Ivory — small delicate petal */
.petal-type-4 {
  width: 18px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 24'%3E%3Cpath fill='%23F0DDD0' fill-opacity='0.9' d='M9 0 C 17 7, 18 17, 9 24 C 0 17, 1 7, 9 0 Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 8px rgba(240, 221, 208, 0.5));
}

/* Type 5: Dusty Rose — asymmetric natural petal */
.petal-type-5 {
  width: 24px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath fill='%23B5657C' fill-opacity='0.8' d='M12 1 C 22 6, 23 18, 12 25 C 2 18, 2 6, 12 1 Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 4px 12px rgba(181, 101, 124, 0.5));
}

/* Type 6: Soft Gold Shimmer — circular */
.petal-type-6 {
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='%23D4AC6E' fill-opacity='0.75'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 8px rgba(212, 172, 110, 0.6));
}

@keyframes fallAndSway {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0px) scale(0.6);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  30% {
    transform: translateY(28vh) rotate(120deg) translateX(30px) scale(1.1);
    opacity: 0.95;
  }
  55% {
    transform: translateY(55vh) rotate(200deg) translateX(-22px) scale(1.05);
    opacity: 0.85;
  }
  78% {
    transform: translateY(80vh) rotate(300deg) translateX(28px) scale(0.95);
    opacity: 0.65;
  }
  100% {
    transform: translateY(108vh) rotate(400deg) translateX(-18px) scale(0.8);
    opacity: 0;
  }
}

/* ==========================================
   ALTERNATE PREMIUM THEMES — randomly applied on page refresh
   ========================================== */

/* Blush Rose */
body[data-theme="blush"] {
  --bg-deep: #1C0A12;
  --rosegold-primary: #F2B8C6;
  --rosegold-light: #FFF0F4;
  --rosegold-dark: #B7637E;
  --rosegold-rgb: 242, 184, 198;

  --rosegold-gradient: linear-gradient(135deg, #FFF1F5 0%, #FBDCE4 25%, #F2B8C6 55%, #FFFFFF 80%, #B7637E 100%);
  --rosegold-glow: 0 0 25px rgba(var(--rosegold-rgb), 0.5);

  --text-primary: #FFF2F5;
  --text-secondary: #F5D9E0;
  --text-muted: #D0AAB4;
}

/* Lavender Amethyst */
body[data-theme="amethyst"] {
  --bg-deep: #150A22;
  --rosegold-primary: #B9A6E4;
  --rosegold-light: #F6F1FF;
  --rosegold-dark: #6B55A8;
  --rosegold-rgb: 185, 166, 228;

  --rosegold-gradient: linear-gradient(135deg, #F7F3FF 0%, #E0D5F8 25%, #B9A6E4 55%, #FFFFFF 80%, #6B55A8 100%);
  --rosegold-glow: 0 0 25px rgba(var(--rosegold-rgb), 0.5);

  --text-primary: #F6F3FF;
  --text-secondary: #DFD6F0;
  --text-muted: #B2A6C9;
}

/* Golden Champagne */
body[data-theme="champagne"] {
  --bg-deep: #160E02;
  --rosegold-primary: #E3C678;
  --rosegold-light: #FFF8E6;
  --rosegold-dark: #A8802F;
  --rosegold-rgb: 227, 198, 120;

  --rosegold-gradient: linear-gradient(135deg, #FFF9E8 0%, #F6E9C4 25%, #E3C678 55%, #FFFDF4 80%, #A8802F 100%);
  --rosegold-glow: 0 0 25px rgba(var(--rosegold-rgb), 0.5);

  --text-primary: #FFF9EC;
  --text-secondary: #F0E2C0;
  --text-muted: #C9B181;
}

/* Dusty Plum */
body[data-theme="mauve"] {
  --bg-deep: #1C0A16;
  --rosegold-primary: #C98FA8;
  --rosegold-light: #FBF0F4;
  --rosegold-dark: #8A4F6B;
  --rosegold-rgb: 201, 143, 168;

  --rosegold-gradient: linear-gradient(135deg, #FBF0F4 0%, #EFD4DE 25%, #C98FA8 55%, #FFFFFF 80%, #8A4F6B 100%);
  --rosegold-glow: 0 0 25px rgba(var(--rosegold-rgb), 0.5);

  --text-primary: #FBF1F4;
  --text-secondary: #EDD6DD;
  --text-muted: #C5A6B1;
}

/* Base theme keeps default :root values (Regal Rose Gold) */
body[data-theme="rosegold"] {
  --rosegold-rgb: 230, 165, 144;
}
