/* ================================================
   WEDDING DIGITAL CARD - PREMIUM CSS
   Mobile-First Design System
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97E;
  --gold-dark: #9A6F2E;
  --rose: #C47F9E;
  --rose-light: #E8AECB;
  --cream: #FAF3E8;
  --dark: #0D0B14;
  --dark-2: #16121F;
  --dark-3: #1E1830;
  --dark-4: #261E3A;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(201,168,76,0.25);
  --text-main: #F5EDD8;
  --text-soft: rgba(245,237,216,0.7);
  --text-muted: rgba(245,237,216,0.45);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(13,11,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 20px;
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 1px;
}
.nav-links {
  display: none;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-menu-btn {
  width: 36px; height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-menu-btn span {
  display: block;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-btn.active span:nth-child(2) { opacity: 0; }
.nav-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,11,20,0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu ul a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--text-main);
  letter-spacing: 2px;
  transition: var(--transition);
}
.mobile-menu ul a:hover { color: var(--gold-light); }

/* ── Hero Section ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,11,20,0.5) 0%,
    rgba(13,11,20,0.3) 40%,
    rgba(13,11,20,0.7) 80%,
    rgba(13,11,20,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-top-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeDown 1s ease both;
  animation-delay: 0.3s;
}
.hero-names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  animation: fadeUp 1s ease both;
  animation-delay: 0.5s;
}
.hero-names em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-ampersand {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--rose-light);
  margin: -8px 0;
}
.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--gold);
  letter-spacing: 3px;
  margin-top: 20px;
  animation: fadeUp 1s ease both;
  animation-delay: 0.7s;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 16px auto;
  animation: fadeUp 1s ease both;
  animation-delay: 0.9s;
}
.hero-venue {
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 1s ease both;
  animation-delay: 1.1s;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounce 2s ease infinite;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ── Petal Particles ── */
.petal {
  position: fixed;
  top: -20px;
  pointer-events: none;
  z-index: 0;
  font-size: 1.2rem;
  animation: petalFall linear infinite;
  opacity: 0.6;
}

/* ── Countdown ── */
#countdown {
  background: var(--dark-2);
  padding: 60px 24px;
  text-align: center;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 32px auto 0;
}
.countdown-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 8px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.countdown-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}
.wedding-done-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--gold-light);
}

/* ── Section Styles ── */
.section {
  padding: 70px 24px;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  text-align: center;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-light);
}
.section-desc {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 14px auto 28px;
}

/* ── Love Story ── */
#story { background: var(--dark-3); }
.story-grid {
  display: grid;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.story-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.story-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.story-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.story-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.story-card-year {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.story-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.story-card-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ── Gallery ── */
#gallery { background: var(--dark-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--dark-4);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,11,20,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.8rem;
  color: var(--cream);
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-height: 85svh;
  max-width: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--cream);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--gold); color: var(--dark); }

/* ── Event / Itinerary ── */
#event { background: var(--dark-3); }
.event-grid {
  display: grid;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.event-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-30px);
}
.event-card.visible {
  opacity: 1;
  transform: translateX(0);
}
.event-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateX(4px);
}
.event-time {
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}
.event-time .time {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.event-time .period {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.event-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  flex-shrink: 0;
}
.event-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 4px;
}
.event-subtitle {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-icon { font-size: 1rem; }

/* ── Map ── */
#map-section { background: var(--dark-2); }
.map-container {
  max-width: 700px;
  margin: 0 auto;
}
.map-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.map-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  background: var(--dark-4);
}
.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.7) brightness(0.8);
}
.map-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-venue-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
}
.map-address {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.btn-navigate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-navigate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}
.btn-navigate:active { transform: translateY(0); }

/* ── RSVP ── */
#rsvp { background: var(--dark-3); }
.rsvp-container {
  max-width: 600px;
  margin: 0 auto;
}
.rsvp-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  backdrop-filter: blur(20px);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}
.form-select option {
  background: var(--dark-2);
  color: var(--text-main);
}
.form-textarea { min-height: 100px; resize: vertical; }

/* Attending Toggle */
.attending-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.attend-btn {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--glass-border);
  background: transparent;
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.attend-btn.active-yes {
  border-color: #4CAF50;
  background: rgba(76,175,80,0.15);
  color: #81C784;
}
.attend-btn.active-no {
  border-color: var(--rose);
  background: rgba(196,127,158,0.15);
  color: var(--rose-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-submit:hover::after { transform: translateX(0); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* RSVP Success */
.rsvp-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.rsvp-success.show { display: block; }
.success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: pop 0.5s ease;
}
.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.success-text { color: var(--text-soft); font-size: 0.95rem; }

/* ── Wishing Wall ── */
#wishes { background: var(--dark-2); }
.wish-form-container {
  max-width: 600px;
  margin: 0 auto 40px;
}
.wish-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(20px);
}
.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.emoji-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.emoji-btn.selected, .emoji-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.15);
  transform: scale(1.1);
}
.btn-wish {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(196,127,158,0.3);
}
.btn-wish:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,127,158,0.4); }

.wishes-wall {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.wish-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  animation: slideIn 0.4s ease both;
  transition: var(--transition);
}
.wish-card:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
}
.wish-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.wish-emoji-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.wish-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--cream);
}
.wish-time { font-size: 0.72rem; color: var(--text-muted); }
.wish-message {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
  font-style: italic;
}

/* ── Wishing Well / Bank ── */
#bank { background: var(--dark-3); }
.bank-container {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.bank-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: center;
}
.bank-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.bank-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.bank-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 16px;
}
.bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.bank-detail:last-of-type { border-bottom: none; }
.bank-detail-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bank-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
}
.btn-copy {
  margin-top: 18px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  color: var(--text-soft);
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-copy:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-copy.copied {
  border-color: #4CAF50;
  color: #81C784;
}

/* ── Personalized Guest Tag (Hero) ── */
.hero-guest-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 20px;
  animation: fadeDown 0.8s ease both;
  animation-delay: 0.1s;
  backdrop-filter: blur(10px);
}
.guest-tag-icon { font-size: 1rem; }
.guest-tag-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 1px;
}

/* ── Welcome Popup (Personalized Invitation) ── */
.welcome-popup {
  position: fixed;
  inset: 0;
  background: rgba(13,11,20,0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.5s ease;
}
.welcome-popup-inner {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(201,168,76,0.08);
  animation: popUp 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  position: relative;
  overflow: hidden;
}
.welcome-popup-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.welcome-popup-envelope {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
  animation: float 3s ease-in-out infinite;
}
.welcome-popup-from {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.welcome-popup-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}
.welcome-popup-name em {
  font-style: italic;
  color: var(--gold-light);
}
.welcome-popup-msg {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 4px;
}
.welcome-popup-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  line-height: 1.8;
  margin-bottom: 4px;
}
.welcome-popup-btn {
  margin-top: 24px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.welcome-popup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201,168,76,0.5);
}
.welcome-popup-btn:active { transform: translateY(-1px); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popUp {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Footer ── */
footer {
  background: var(--dark);
  padding: 60px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}
.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.footer-date {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.footer-msg {
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 400px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.footer-love {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark-2);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.85rem;
  color: var(--text-main);
  z-index: 9998;
  transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
  white-space: nowrap;
  backdrop-filter: blur(20px);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: #4CAF50; color: #81C784; }
.toast.error { border-color: var(--rose); color: var(--rose-light); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes petalFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0.7; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; }
.text-gold { color: var(--gold-light); }
.mt-auto { margin-top: auto; }

/* ── Responsive ── */
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 4/3;
  }
  .wishes-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .bank-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .rsvp-form { padding: 40px 36px; }
}

@media (min-width: 768px) {
  #navbar { padding: 20px 48px; }
  .nav-links { display: flex; }
  .nav-menu-btn { display: none; }
  .section { padding: 100px 48px; }
  #countdown { padding: 80px 48px; }
  .story-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .gallery-item:first-child {
    grid-column: span 3;
    aspect-ratio: 16/6;
  }
  .wishes-wall { grid-template-columns: repeat(3, 1fr); }
  .map-iframe-wrapper { height: 350px; }
}

@media (min-width: 1024px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-grid { gap: 20px; }
  .countdown-num { font-size: 4rem; }
}

/* ════════════════════════════════════════
   FLOATING MUSIC PLAYER
════════════════════════════════════════ */

.music-player {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease both;
  animation-delay: 2.5s;
  opacity: 0;
  animation-fill-mode: both;
}

.music-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.music-btn:hover {
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.25);
}
.music-btn.playing {
  border-color: var(--gold);
  animation: musicPulse 2.4s ease-in-out infinite;
}

/* Vinyl Disc */
.music-disc {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #1a1329 0px, #261E3A 4px,
    #1a1329 5px, #16121F 9px
  );
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: var(--transition);
}
.music-disc::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, var(--gold-dark) 100%);
  z-index: 2;
}
.music-disc-inner {
  position: relative;
  z-index: 3;
  font-size: 1rem;
  line-height: 1;
}
.music-disc.spinning {
  animation: spinDisc 5s linear infinite;
}
.music-disc.spinning .music-disc-inner {
  opacity: 0;
}

/* Sound Wave Bars */
.music-waves {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.music-waves.active { opacity: 1; }
.music-waves span {
  display: block;
  width: 3px;
  background: linear-gradient(to top, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  transform-origin: bottom;
}
.music-waves span:nth-child(1) { height: 8px;  animation: wave 0.8s ease-in-out infinite 0s; }
.music-waves span:nth-child(2) { height: 14px; animation: wave 0.8s ease-in-out infinite 0.15s; }
.music-waves span:nth-child(3) { height: 10px; animation: wave 0.8s ease-in-out infinite 0.3s; }
.music-waves span:nth-child(4) { height: 6px;  animation: wave 0.8s ease-in-out infinite 0.45s; }

/* Label */
.music-label {
  margin-top: 28px;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(13,11,20,0.85);
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.1);
  transition: var(--transition);
}
.music-player.playing .music-label {
  color: var(--gold);
  border-color: rgba(201,168,76,0.35);
}

/* Music Prompt Toast */
.music-prompt {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(22,18,31,0.97);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50px;
  padding: 12px 18px 12px 16px;
  display: flex; align-items: center; gap: 10px;
  z-index: 989;
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 24px rgba(201,168,76,0.1);
  cursor: pointer;
}
.music-prompt.show {
  transform: translateX(-50%) translateY(0);
}
.music-prompt-icon {
  font-size: 1.2rem;
  animation: bounce2 1.5s ease-in-out infinite;
}
.music-prompt-text {
  font-size: 0.82rem;
  color: var(--gold-light);
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.music-prompt-close {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  margin-left: 2px; cursor: pointer;
}
.music-prompt-close:hover {
  background: rgba(229,115,115,0.15);
  border-color: #E57373; color: #EF9A9A;
}

/* Animations */
@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1.5); }
}
@keyframes musicPulse {
  0%   { box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 0 rgba(201,168,76,0.4); }
  70%  { box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 14px rgba(201,168,76,0); }
  100% { box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 0 rgba(201,168,76,0); }
}
@keyframes bounce2 {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50%     { transform: translateY(-5px) rotate(8deg); }
}

/* ════════════════════════════════════════════
   THEME STYLESHEET OVERRIDES (LAYOUTS & STYLES)
════════════════════════════════════════════ */

/* ============================================
   THEME 2: ROSE GOLD & BLUSH (Classic Floral)
   - Font: Serif & Cursive accent
   - Layout: Elegant Double Borders, Paper Cards
   ============================================ */
body.theme-2 {
  --gold: #C28E6A;
  --gold-light: #DFA67B;
  --gold-dark: #8E5A35;
  --rose: #E8AECB;
  --rose-light: #F7CAD0;
  --cream: #2B1D25;
  --dark: #FFF0F5;
  --dark-2: #FFE4E1;
  --dark-3: #FFFFFF;
  --dark-4: #FFF5F5;
  --glass: #FFFFFF; /* Solid white paper-like cards */
  --glass-border: rgba(194,142,106,0.35);
  --text-main: #3D2B36;
  --text-soft: rgba(61,43,54,0.85);
  --text-muted: rgba(61,43,54,0.55);
}
body.theme-2 {
  background-image: radial-gradient(circle at center, #FFFDFD 0%, #FFE4E1 100%) !important;
  background-color: #FFF0F5 !important;
  font-family: 'Playfair Display', serif;
}
body.theme-2 .hero-overlay {
  background: linear-gradient(to bottom, rgba(255,240,245,0.05) 0%, rgba(255,240,245,0.0) 40%, rgba(255,228,225,0.4) 80%, rgba(255,240,245,1) 100%) !important;
}
body.theme-2 .hero-names {
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(3.5rem, 14vw, 7.5rem) !important;
  color: #8C3B5E !important;
  font-style: normal !important;
  text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
}
body.theme-2 .hero-names em {
  font-style: normal !important;
}
body.theme-2 .section-title, body.theme-2 .story-card-title, body.theme-2 .event-title, body.theme-2 .map-venue-name, body.theme-2 .bank-name, body.theme-2 .footer-names {
  font-family: 'Playfair Display', serif !important;
  color: #8C3B5E !important;
}
body.theme-2 .section-desc, body.theme-2 .story-card-text, body.theme-2 .event-subtitle, body.theme-2 .map-address, body.theme-2 .wish-message, body.theme-2 .footer-msg {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #55404D !important;
}
/* Structural border overrides for Theme 2 */
body.theme-2 .story-card, 
body.theme-2 .countdown-item, 
body.theme-2 .event-card, 
body.theme-2 .rsvp-form, 
body.theme-2 .wish-form, 
body.theme-2 .wish-card, 
body.theme-2 .bank-card, 
body.theme-2 .map-card {
  border: 4px double var(--gold-light) !important;
  border-radius: 4px !important; /* Sharp elegant classical corners */
  box-shadow: 0 10px 30px rgba(140,59,94,0.08) !important;
  background: #FFFFFF !important;
}
body.theme-2 .btn-submit, body.theme-2 .btn-navigate, body.theme-2 .btn-wish {
  background: linear-gradient(135deg, #8C3B5E, var(--rose)) !important;
  color: #FFFFFF !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 15px rgba(140,59,94,0.2) !important;
}
body.theme-2 .btn-submit:hover, body.theme-2 .btn-navigate:hover, body.theme-2 .btn-wish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140,59,94,0.3) !important;
}
body.theme-2 #navbar {
  border-bottom: 2px solid var(--rose-light);
}
body.theme-2 #navbar.scrolled {
  background: rgba(255,245,247,0.96) !important;
}
body.theme-2 .nav-brand {
  font-family: 'Great Vibes', cursive !important;
  font-size: 2rem !important;
  color: #8C3B5E !important;
}
body.theme-2 .form-input, body.theme-2 .form-select, body.theme-2 .form-textarea {
  background: #FFF9FA !important;
  color: #3D2B36 !important;
  border: 1px solid rgba(140,59,94,0.2) !important;
  border-radius: 4px !important;
}
body.theme-2 .form-input:focus, body.theme-2 .form-select:focus, body.theme-2 .form-textarea:focus {
  border-color: #8C3B5E !important;
  background: #FFFFFF !important;
}
body.theme-2 .gold-line {
  background: linear-gradient(to right, transparent, #8C3B5E, transparent) !important;
  height: 2px !important;
}

/* ============================================
   THEME 3: EMERALD & GOLD (Vintage Regal)
   - Font: Cormorant Garamond
   - Layout: Vintage Frames, Gold corner decorations
   ============================================ */
body.theme-3 {
  --gold: #D4AF37;
  --gold-light: #F5E6A3;
  --gold-dark: #9E7D1A;
  --cream: #FAF5EB;
  --dark: #051A10;
  --dark-2: #0B2B1B;
  --dark-3: #113C26;
  --dark-4: #194E34;
  --glass: rgba(17,60,38,0.7);
  --glass-border: rgba(212,175,55,0.4);
  --text-main: #FAF5EB;
  --text-soft: rgba(250,245,235,0.75);
  --text-muted: rgba(250,245,235,0.45);
}
body.theme-3 {
  background-image: radial-gradient(circle at center, #0B2B1B 0%, #03120B 100%) !important;
  background-color: #051A10 !important;
  font-family: 'Cormorant Garamond', serif !important;
}
body.theme-3 .hero-overlay {
  background: linear-gradient(to bottom, rgba(5,26,16,0.3) 0%, rgba(5,26,16,0.1) 40%, rgba(5,26,16,0.6) 80%, rgba(5,26,16,1) 100%) !important;
}
body.theme-3 .hero-names, body.theme-3 .section-title, body.theme-3 .story-card-title, body.theme-3 .event-title, body.theme-3 .map-venue-name, body.theme-3 .bank-name, body.theme-3 .footer-names {
  font-family: 'Cormorant Garamond', serif !important;
  color: var(--gold-light) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}
body.theme-3 .section-desc, body.theme-3 .story-card-text, body.theme-3 .event-subtitle, body.theme-3 .map-address, body.theme-3 .wish-message, body.theme-3 .footer-msg {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.05rem;
}
/* Structural vintage frames with gold overlays */
body.theme-3 .story-card, 
body.theme-3 .event-card, 
body.theme-3 .rsvp-form, 
body.theme-3 .wish-form, 
body.theme-3 .wish-card, 
body.theme-3 .bank-card, 
body.theme-3 .map-card {
  border: 1px solid var(--gold) !important;
  border-radius: 8px !important;
  position: relative;
}
/* Gold Corner Ornaments via pseudoelements */
body.theme-3 .story-card::before, body.theme-3 .event-card::before, body.theme-3 .rsvp-form::before, body.theme-3 .bank-card::before {
  content: '♦';
  position: absolute;
  top: 5px; left: 6px;
  font-size: 0.6rem;
  color: var(--gold);
}
body.theme-3 .story-card::after, body.theme-3 .event-card::after, body.theme-3 .rsvp-form::after, body.theme-3 .bank-card::after {
  content: '♦';
  position: absolute;
  bottom: 5px; right: 6px;
  font-size: 0.6rem;
  color: var(--gold);
}
body.theme-3 .btn-submit, body.theme-3 .btn-navigate, body.theme-3 .btn-wish {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  color: #051A10 !important;
  font-weight: 700 !important;
  border-radius: 2px !important;
  border: 1px solid var(--gold-light) !important;
}
body.theme-3 .btn-submit:hover, body.theme-3 .btn-navigate:hover, body.theme-3 .btn-wish:hover {
  background: var(--gold-light) !important;
  box-shadow: 0 0 20px rgba(212,175,55,0.4) !important;
}

/* ============================================
   THEME 4: LUXURY BURGUNDY (Modern Velvet)
   - Font: Montserrat & Playfair Display Italic
   - Layout: Symmetrical Glowing minimal cards
   ============================================ */
body.theme-4 {
  --gold: #E5C374;
  --gold-light: #FDE8AB;
  --gold-dark: #AA893E;
  --cream: #FDF9F2;
  --dark: #1C0308;
  --dark-2: #2C0610;
  --dark-3: #3E0C1B;
  --dark-4: #4E1325;
  --glass: rgba(44,6,16,0.65);
  --glass-border: rgba(229,195,116,0.18);
  --text-main: #FDF9F2;
  --text-soft: rgba(253,249,242,0.75);
  --text-muted: rgba(253,249,242,0.45);
}
body.theme-4 {
  background-image: radial-gradient(circle at center, #2C0610 0%, #100104 100%) !important;
  background-color: #1C0308 !important;
  font-family: 'Montserrat', sans-serif;
}
body.theme-4 .hero-overlay {
  background: linear-gradient(to bottom, rgba(28,3,8,0.3) 0%, rgba(28,3,8,0.1) 40%, rgba(28,3,8,0.7) 80%, rgba(28,3,8,1) 100%) !important;
}
body.theme-4 .hero-names em {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  font-style: italic !important;
  color: var(--gold-light) !important;
}
body.theme-4 .section-title, body.theme-4 .story-card-title, body.theme-4 .event-title, body.theme-4 .map-venue-name, body.theme-4 .bank-name, body.theme-4 .footer-names {
  font-family: 'Playfair Display', serif !important;
  color: var(--gold-light) !important;
}
body.theme-4 .story-card, body.theme-4 .event-card, body.theme-4 .rsvp-form, body.theme-4 .wish-form, body.theme-4 .bank-card, body.theme-4 .map-card {
  border: 1px solid rgba(229,195,116,0.2) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(229,195,116,0.06) !important;
  border-radius: 12px !important;
}

/* ============================================
   THEME 5: MINIMALIST EUCALYPTUS (Organic Sage)
   - Font: Montserrat (Clean & Modern)
   - Layout: Leaf-shaped asymmetrical cards
   ============================================ */
body.theme-5 {
  --gold: #7A8F75;
  --gold-light: #94A88E;
  --gold-dark: #586B54;
  --cream: #1C231A;
  --dark: #F5F7F4;
  --dark-2: #EAEFE9;
  --dark-3: #FFFFFF;
  --dark-4: #E1E8DE;
  --glass: #FFFFFF;
  --glass-border: rgba(122,143,117,0.3);
  --text-main: #2A3626;
  --text-soft: rgba(42,54,38,0.85);
  --text-muted: rgba(42,54,38,0.55);
}
body.theme-5 {
  background-image: radial-gradient(circle at center, #FAFBF9 0%, #EAEFE9 100%) !important;
  background-color: #F5F7F4 !important;
  font-family: 'Montserrat', sans-serif !important;
}
body.theme-5 .hero-overlay {
  background: linear-gradient(to bottom, rgba(245,247,244,0.1) 0%, rgba(245,247,244,0.0) 40%, rgba(234,239,233,0.5) 80%, rgba(245,247,244,1) 100%) !important;
}
body.theme-5 .hero-names {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #384E31 !important;
}
body.theme-5 .hero-names em {
  font-style: normal !important;
  font-weight: 600 !important;
}
body.theme-5 .section-title, body.theme-5 .story-card-title, body.theme-5 .event-title, body.theme-5 .map-venue-name, body.theme-5 .bank-name, body.theme-5 .footer-names {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #384E31 !important;
  letter-spacing: 1px;
}
/* Leaf-shaped asymmetrical card overrides for Theme 5 */
body.theme-5 .story-card, 
body.theme-5 .event-card, 
body.theme-5 .rsvp-form, 
body.theme-5 .wish-form, 
body.theme-5 .wish-card, 
body.theme-5 .bank-card, 
body.theme-5 .map-card {
  border: 1px solid rgba(122,143,117,0.4) !important;
  border-radius: 40px 10px 40px 10px !important; /* Asymmetrical Eucalyptus leaf shape */
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(122,143,117,0.06) !important;
}
body.theme-5 .countdown-item {
  border: 1px solid rgba(122,143,117,0.4) !important;
  border-radius: 20px 6px 20px 6px !important;
  background: #FFFFFF !important;
}
body.theme-5 .btn-submit, body.theme-5 .btn-navigate, body.theme-5 .btn-wish {
  background: linear-gradient(135deg, #586B54, #7A8F75) !important;
  color: #FFFFFF !important;
  border-radius: 30px !important; /* Round pill button styles */
  box-shadow: 0 4px 15px rgba(88,107,84,0.2) !important;
}
body.theme-5 .btn-submit:hover, body.theme-5 .btn-navigate:hover, body.theme-5 .btn-wish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88,107,84,0.3) !important;
}
body.theme-5 .form-input, body.theme-5 .form-select, body.theme-5 .form-textarea {
  background: rgba(0,0,0,0.02) !important;
  color: #2A3626 !important;
  border: 1px solid rgba(122,143,117,0.3) !important;
  border-radius: 8px !important;
}
body.theme-5 .form-input:focus, body.theme-5 .form-select:focus, body.theme-5 .form-textarea:focus {
  border-color: #586B54 !important;
  background: #FFFFFF !important;
}
body.theme-5 #navbar.scrolled {
  background: rgba(245,247,244,0.95) !important;
  border-bottom: 1px solid rgba(122,143,117,0.2);
}
body.theme-5 .gold-line {
  background: linear-gradient(to right, transparent, #7A8F75, transparent) !important;
  height: 1px !important;
}

/* ════════════════════════════════════════════
   FLOATING PREVIEW SWITCHER UI
════════════════════════════════════════════ */
.demo-switcher {
  position: fixed;
  bottom: 28px;
  left: 20px;
  background: rgba(13,11,20,0.94);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeUp 1s ease both;
  animation-delay: 1.5s;
}
.demo-switcher-header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 6px;
  text-align: center;
}
.demo-switcher-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-theme-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-soft);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.demo-theme-btn:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.demo-theme-btn.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  color: #0D0B14 !important;
  font-weight: 700;
  border-color: transparent !important;
}
