/* ======================================================
   THE SACRED GARDEN - LUXURY WEDDING INVITATION THEME
   Raiyan & Tania
   Color Palette:
   🩶 Main BG: Dark Charcoal Gray (#3D3D3D)
   🌲 Deep Forest Green: #1E4A3D
   🌿 Muted Teal Green: #326659
   ✨ Accents: Royal Gold (#D4AF37 / #E5C378 / #F5E8C7)
   ====================================================== */

:root {
  /* Requested Color Palette */
  --bg-main: #3D3D3D;            /* Dark Charcoal Gray */
  --bg-darker: #2D2D2D;          /* Deep Charcoal */
  --bg-card: #2B3330;            /* Charcoal Forest */
  --forest-green: #1E4A3D;       /* Deep Forest Green */
  --forest-dark: #14352B;        /* Dark Forest */
  --muted-teal: #326659;         /* Muted Teal Green */
  --teal-light: #448071;         /* Lighter Teal accent */
  
  /* Luxury Gold Accents */
  --gold-primary: #E5C378;       /* Warm Champagne Gold */
  --gold-bright: #F5D78E;        /* Brilliant Gold */
  --gold-dark: #B88E3E;          /* Antique Gold */
  --gold-border: rgba(229, 195, 120, 0.4);
  --gold-glow: rgba(229, 195, 120, 0.28);

  /* Typography Colors */
  --text-primary: #FAF6EE;       /* Warm Ivory/Cream */
  --text-muted: #D1D8D5;         /* Soft Teal-tinted Gray */
  --text-gold: #E5C378;          /* Gold text */

  /* Typography */
  --font-cinzel: 'Cinzel', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-garamond: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
}

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

html, body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-garamond);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==================== 1. ENVELOPE OPENING OVERLAY (4-WAY PARTING) ==================== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: transparent; /* Transparent so website is revealed directly behind parting flaps */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.envelope-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.envelope-scene {
  position: relative;
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 4-Way Parting Container filling the mobile screen */
.envelope-4way-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 4 Flap Quadrants - Solid linen paper texture sliding off edges smoothly */
.quad-flap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 4.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  pointer-events: none;
}

.quad-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Top Flap (Parting UP) */
.quad-top {
  clip-path: polygon(0% 0%, 100% 0%, 50% 50.5%);
  z-index: 4;
}

.quad-top.parting {
  transform: translateY(-118%);
}

/* Bottom Flap (Parting DOWN) */
.quad-bottom {
  clip-path: polygon(0% 100%, 100% 100%, 50% 49.5%);
  z-index: 3;
}

.quad-bottom.parting {
  transform: translateY(118%);
}

/* Left Flap (Parting LEFT - seamless diagonal seal with 0 gaps) */
.quad-left {
  clip-path: polygon(0% 0%, 50.5% 50%, 0% 100%);
  z-index: 2;
}

.quad-left.parting {
  transform: translateX(-118%);
}

/* Right Flap (Parting RIGHT - seamless diagonal seal with 0 gaps) */
.quad-right {
  clip-path: polygon(100% 0%, 49.5% 50%, 100% 100%);
  z-index: 2;
}

.quad-right.parting {
  transform: translateX(118%);
}

/* Center Luxury Wax Seal Interactive Click Hotspot */
.center-seal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}

/* Subtle Golden Sparkle Particles on Opening */
.gold-sparkle-dot {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF4D0 20%, #E5C378 70%, #B88E3E 100%);
  box-shadow: 0 0 8px #FAF6EE, 0 0 16px #E5C378;
  pointer-events: none;
  z-index: 100000;
  animation: sparkleFly 0.9s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes sparkleFly {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx) * 1.25), calc(-50% + var(--ty) * 1.25)) scale(0.3);
  }
}

/* Elegant "Click to open" prompt directly on paper below seal */
.click-to-open {
  position: absolute;
  top: calc(50% + 140px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  animation: clickPulse 1.25s infinite ease-in-out;
  transition: opacity 0.35s ease;
  white-space: nowrap;
}

.click-to-open.hide {
  opacity: 0 !important;
  animation: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s !important;
}

.click-to-open span {
  font-family: var(--font-garamond);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #6E5E4E;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

@keyframes clickPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(0.97); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

/* ==================== 2. FLOATING AUDIO TOGGLE (BURGUNDY CIRCLE MATCHING REFERENCE) ==================== */
.audio-toggle-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #881A24; /* Rich burgundy crimson from user's phone screenshot */
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999; /* Always on top and clickable */
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 601px) {
  .audio-toggle-btn {
    right: calc(50% - 215px);
  }
}

.audio-toggle-btn:hover {
  background: #96202C;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.audio-toggle-btn:active {
  transform: scale(0.94);
}

.audio-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF; /* Pure crisp white icon */
}

/* ==================== 4. MAIN INVITATION CARD ==================== */
.invitation-wrapper {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, #323A36 0%, var(--bg-main) 18%, #303834 60%, #28302D 100%);
  min-height: 100vh;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.7);
  padding-bottom: 0;
  border-left: 1px solid rgba(229, 195, 120, 0.15);
  border-right: 1px solid rgba(229, 195, 120, 0.15);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 42px 0 0;
}

.hero-video-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.swans-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
}

.hero-video-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(20, 30, 26, 0.15) 0%, rgba(35, 45, 40, 0.55) 65%, rgba(61, 61, 61, 0.95) 100%);
  pointer-events: none;
}

.hero-text-content {
  padding: 0 24px;
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: 64px;
  margin-bottom: 0;
  transform: translateY(52px); /* Lowered slightly into the archway as requested */
}

.sub-header-script {
  font-family: var(--font-cinzel);
  font-size: 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.date-badge {
  font-family: var(--font-cinzel);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--gold-bright);
  margin-bottom: 16px;
  display: inline-block;
  padding: 5px 22px;
  background: rgba(20, 50, 40, 0.75);
  border: 1.5px solid var(--gold-primary);
  border-radius: 24px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.couple-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-cinzel);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--gold-bright);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 30px rgba(229, 195, 120, 0.5);
  margin-bottom: 12px;
}

.couple-title .ampersand {
  font-family: var(--font-script);
  font-size: 48px;
  font-weight: normal;
  color: var(--gold-primary);
  margin: -6px 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* Corner Flowers at the very end of video section pushed lower down into bottom corners */
.hero-corner-flowers {
  position: absolute;
  bottom: -50px; /* Moved lower down so swans and couple names stay fully clear */
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 6;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.flower-corner {
  width: 190px;
  height: auto;
  opacity: 0.98;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
  display: block;
}

.flower-left {
  margin-left: -26px;
  margin-bottom: -10px;
  transform-origin: bottom left;
  animation: cornerSwayLeft 3.5s ease-in-out infinite alternate;
}

.flower-right {
  margin-right: -26px;
  margin-bottom: -10px;
  transform-origin: bottom right;
  animation: cornerSwayRight 3.5s ease-in-out infinite alternate;
}

@keyframes cornerSwayLeft {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-5px) rotate(3deg) scale(1.03); }
}

@keyframes cornerSwayRight {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-5px) rotate(-3deg) scale(1.03); }
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cinzel);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 15px;
}

.bounce-arrow {
  width: 22px;
  height: 14px;
  animation: bounceDown 1.8s infinite;
}

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

/* ==================== COUPLE PORTRAIT SECTION ==================== */
.couple-portrait-section {
  padding: 30px 24px 20px;
  text-align: center;
}

.portrait-arch-card {
  background: linear-gradient(145deg, rgba(30, 74, 61, 0.5), rgba(50, 102, 89, 0.3));
  border: 1px solid var(--gold-border);
  border-radius: 28px;
  padding: 24px 18px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.portrait-arch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 18px;
  border-radius: 180px 180px 20px 20px; /* Arch shape */
  border: 3px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
  overflow: hidden;
}

.couple-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.frame-inner-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 20px rgba(30, 74, 61, 0.4);
  pointer-events: none;
}

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

.couple-names-tag {
  font-family: var(--font-cinzel);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.portrait-subtext {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==================== VERSE SECTION ==================== */
.verse-section {
  text-align: center;
  padding: 30px 24px 20px;
}

.ornament-divider {
  width: 180px;
  margin: 0 auto 20px;
  filter: brightness(1.2) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.ornament-divider img {
  width: 100%;
  display: block;
}

.sacred-quote {
  font-family: var(--font-cinzel);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--gold-bright);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.sacred-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==================== EVENT SPOTLIGHT (DATE & TIME) ==================== */
.event-spotlight-section {
  padding: 15px 20px 25px;
}

.spotlight-card {
  background: linear-gradient(135deg, rgba(30, 74, 61, 0.7), rgba(50, 102, 89, 0.5));
  border: 1.5px solid var(--gold-primary);
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(229, 195, 120, 0.15);
  position: relative;
}

.spotlight-badge {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(20, 53, 43, 0.8);
  border: 1px solid var(--gold-border);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.spotlight-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.date-big-num {
  font-family: var(--font-cinzel);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.date-month-year {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.month-txt {
  font-family: var(--font-cinzel);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.year-txt {
  font-family: var(--font-cinzel);
  font-size: 20px;
  color: var(--gold-primary);
  font-weight: 600;
  line-height: 1.1;
}

.day-txt {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spotlight-divider {
  width: 80%;
  height: 1px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.spotlight-time-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(20, 53, 43, 0.6);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 12px 18px;
}

.time-clock-icon {
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-details {
  text-align: left;
}

.time-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.time-val {
  font-family: var(--font-cinzel);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-bright);
}

/* ==================== COUNTDOWN SECTION ==================== */
.countdown-section {
  padding: 10px 20px 20px;
}

.countdown-card {
  background: linear-gradient(135deg, rgba(30, 74, 61, 0.5), rgba(40, 50, 46, 0.7));
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.section-subtitle {
  font-family: var(--font-cinzel);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.timer-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid rgba(229, 195, 120, 0.2);
}

.timer-number {
  font-family: var(--font-cinzel);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 4px;
}

.timer-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.timer-separator {
  font-family: var(--font-cinzel);
  font-size: 24px;
  color: var(--gold-primary);
  line-height: 1;
}

/* ==================== SPECIAL FOCUS: NO GIFTS ==================== */
.special-note-section {
  padding: 15px 20px 25px;
}

.note-card.highlight-focus {
  background: linear-gradient(135deg, rgba(50, 102, 89, 0.55), rgba(30, 74, 61, 0.7));
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.note-glow-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.note-icon-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(229, 195, 120, 0.18);
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  box-shadow: 0 0 16px var(--gold-glow);
}

.note-title {
  font-family: var(--font-cinzel);
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.note-text-highlight {
  font-size: 20px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.note-text-highlight strong {
  color: var(--gold-bright);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(229, 195, 120, 0.4);
}

.note-signature {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--gold-bright);
}

/* ==================== DIRECT GOOGLE MAP & LOCATION ==================== */
.location-section {
  padding: 15px 20px 25px;
}

.location-card {
  background: linear-gradient(135deg, rgba(30, 74, 61, 0.55), rgba(40, 50, 45, 0.7));
  border: 1px solid var(--gold-border);
  border-radius: 22px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.location-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  background: rgba(229, 195, 120, 0.15);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
}

.location-icon svg {
  width: 25px;
  height: 25px;
}

.location-heading {
  font-family: var(--font-cinzel);
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.venue-name {
  font-family: var(--font-cinzel);
  font-size: 25px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.venue-landmark {
  font-size: 17px;
  color: var(--gold-primary);
  font-weight: 500;
  margin-bottom: 4px;
}

.venue-address {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.map-embed-wrapper {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.google-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-cinzel);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37, #B88E3E);
  color: #1A1A1A;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E5C378, #C99E4A);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 195, 120, 0.5);
}

.btn-outline {
  background: rgba(30, 74, 61, 0.3);
  color: var(--gold-bright);
  border: 1.5px solid var(--gold-border);
}

.btn-outline:hover {
  background: rgba(50, 102, 89, 0.5);
  border-color: var(--gold-primary);
}

/* ==================== ARTISTIC CLOSING & ANIMATED FLORAL ==================== */
/* User requested: directly on background, no card container, no border, no shadow, text and flowers close */
/* User requested: glow removed, flowers flush to both sides edge-to-edge */
.footer-section {
  padding: 15px 0 0;
  margin: 0;
  width: 100%;
}

.closing-direct-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 10px 0 0;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.hanging-lanterns {
  margin-bottom: 8px;
}

.lanterns-svg {
  width: 120px;
  height: 36px;
  margin: 0 auto;
  display: block;
}

.closing-sub {
  font-family: var(--font-cinzel);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 4px;
  padding: 0 20px;
}

.closing-title {
  font-family: var(--font-cinzel);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  padding: 0 20px;
}

.closing-couple-tag {
  margin-bottom: 4px;
  padding: 0 20px;
}

.closing-names {
  font-family: var(--font-script);
  font-size: 42px;
  color: var(--gold-bright);
  text-shadow: 0 2px 14px rgba(229, 195, 120, 0.35);
  display: inline-block;
  line-height: 1.1;
}

.closing-meta {
  font-family: var(--font-cinzel);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
  margin-bottom: 2px;
  padding: 0 20px;
}

.closing-venue {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0px;
  padding: 0 20px;
}

/* User requested: glow removed, flowers touching both sides */
.closing-flowers-direct {
  margin-top: 2px;
  position: relative;
  line-height: 0;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.closing-garland-img {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  filter: none !important;
  animation: none !important;
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries for Large Screens */
@media (min-width: 768px) {
  .invitation-wrapper {
    margin: 30px auto;
    border-radius: 28px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);
  }
}
