/* ==========================================================================
   ROYAL WEDDING INVITATION — HAFEZ & CHOITY
   Design Theme: Mughal Royal Maroon, Antique Gold, Ivory & Damask Luxury
   ========================================================================== */

:root {
  --maroon-deep: #2a0409;
  --maroon-rich: #480a12;
  --maroon-royal: #5c0f18;
  --maroon-light: #7c1a26;
  --gold-primary: #d4af37;
  --gold-light: #fbeea4;
  --gold-bright: #ffe066;
  --gold-dark: #997a22;
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(255, 230, 102, 0.08));
  --ivory-creme: #fdfaf3;
  --ivory-muted: #e8dfcf;
  --text-primary: #fffdfa;
  --text-gold: #f5df9b;
  --text-muted: #d6c6b3;
  --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.18);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 50% 20%, #4a0c14 0%, #30050b 50%, #1a0206 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Subtle Golden Noise / Ambient Background Texture */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255, 224, 102, 0.15), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, rgba(212, 175, 55, 0.12), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 40px, rgba(255, 238, 164, 0.18), rgba(0,0,0,0));
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 1;
}

/* Petals Canvas */
#petals-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   TOP ROYAL NAVIGATION BAR
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(35, 4, 8, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.couple-monogram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.nav-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-gold);
  font-weight: 500;
  letter-spacing: 0.3px;
  background: rgba(25, 3, 6, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.nav-date:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.nav-date-icon {
  font-size: 1rem;
}

.nav-date-title {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.nav-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(255, 224, 102, 0.12));
  border: 1px solid rgba(255, 224, 102, 0.45);
  color: var(--gold-bright);
  font-family: 'Cinzel', monospace, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.18rem 0.55rem;
  border-radius: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
  white-space: nowrap;
}

.nav-cd-icon {
  font-size: 0.82rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  border-radius: 30px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.icon-btn:hover, .icon-btn.active {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.music-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 2px;
}

.music-bars span {
  display: inline-block;
  width: 2.5px;
  height: 3px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.icon-btn.playing .music-bars span:nth-child(1) {
  animation: eq-bar 0.7s ease-in-out infinite alternate;
}

.icon-btn.playing .music-bars span:nth-child(2) {
  animation: eq-bar 0.5s ease-in-out infinite 0.2s alternate;
}

.icon-btn.playing .music-bars span:nth-child(3) {
  animation: eq-bar 0.8s ease-in-out infinite 0.35s alternate;
}

@keyframes eq-bar {
  0% { height: 3px; }
  100% { height: 12px; }
}

@media (max-width: 768px) {
  .nav-content {
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
  }
  .couple-monogram {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .nav-date {
    font-size: 0.78rem;
    padding: 0.25rem 0.6rem;
    gap: 0.35rem;
  }
  .nav-countdown-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
  }
}

@media (max-width: 620px) {
  .nav-date-dhaka {
    display: none;
  }
  .couple-monogram .monogram-text {
    font-size: 0.95rem;
  }
  .icon-btn .btn-text {
    display: none;
  }
  .icon-btn {
    padding: 0.4rem 0.55rem;
  }
}

@media (max-width: 480px) {
  .couple-monogram {
    display: none;
  }
  .nav-date {
    flex: 1;
    justify-content: center;
  }
}

/* ==========================================================================
   MAIN CONTAINER & INTRO
   ========================================================================== */
.main-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1rem 6rem;
  position: relative;
  z-index: 10;
}

.invitation-intro {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.bismillah-wrapper {
  margin-bottom: 1rem;
}

.bismillah-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.4;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bismillah-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
}

.royal-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.8rem auto;
  max-width: 320px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.ornament-icon {
  color: var(--gold-bright);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.invitation-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.invitation-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  color: var(--text-gold);
  margin-bottom: 1.5rem;
}

/* View Mode Switcher */
.view-switch-container {
  display: inline-flex;
  background: rgba(30, 4, 7, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 40px;
  padding: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.view-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.view-tab.active {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   STORY / FLIP PRESENTATION VIEW
   ========================================================================== */
.cards-story-wrapper {
  margin: 0 auto 2.5rem;
  max-width: 520px;
}

.card-presentation-deck {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 1512;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 3px solid rgba(212, 175, 55, 0.65);
  overflow: hidden;
  background: #fbf6ec;
  touch-action: pan-y;
}

/* Individual Slides */
.invitation-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.45s;
  pointer-events: none;
}

.invitation-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 5;
}

.slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invitation-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.page-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(30, 4, 7, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  pointer-events: none;
}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(35, 4, 8, 0.88);
  border: 2px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.nav-arrow:hover {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.nav-arrow-left {
  left: -22px;
}

.nav-arrow-right {
  right: -22px;
}

@media (max-width: 600px) {
  .nav-arrow-left { left: 8px; }
  .nav-arrow-right { right: 8px; }
}

/* Pagination Bar */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.dot-btn {
  background: rgba(45, 6, 12, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 30px;
  padding: 0.4rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot-num {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
}

.dot-btn:hover {
  border-color: var(--gold-primary);
  color: #fff;
}

.dot-btn.active {
  background: var(--gold-gradient);
  border-color: var(--gold-bright);
  color: var(--maroon-deep);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4);
}

.dot-btn.active .dot-num {
  background: var(--maroon-deep);
  color: var(--gold-light);
}

.swipe-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   INTERACTIVE VENUE CLICK HOTSPOTS (ON CARD 3)
   ========================================================================== */
.venue-hotspot {
  position: absolute;
  /* Coordinates covering Buffet Paradise + Address + Palace Icon */
  top: 48%;
  left: 17%;
  width: 70%;
  height: 12%;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  border: 2px dashed rgba(212, 175, 55, 0.85);
  background: rgba(212, 175, 55, 0.12);
  transition: var(--transition-smooth);
  animation: hotspot-glow 2.4s infinite ease-in-out;
}

.venue-hotspot:hover {
  background: rgba(212, 175, 55, 0.28);
  border-style: solid;
  border-color: #ffd700;
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* QR Code Envelope Hotspot */
.qr-hotspot {
  position: absolute;
  top: 33%;
  left: 61%;
  width: 27%;
  height: 20%;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  border: 2px dashed rgba(197, 24, 40, 0.85);
  background: rgba(220, 20, 60, 0.12);
  transition: var(--transition-smooth);
  animation: hotspot-glow-red 2.4s infinite ease-in-out;
}

.qr-hotspot:hover {
  background: rgba(220, 20, 60, 0.28);
  border-style: solid;
  border-color: #ff334b;
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(220, 20, 60, 0.6);
}

@keyframes hotspot-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4), inset 0 0 8px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 224, 102, 0.85), inset 0 0 16px rgba(255, 224, 102, 0.4);
  }
}

@keyframes hotspot-glow-red {
  0%, 100% {
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.4), inset 0 0 8px rgba(220, 20, 60, 0.2);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 75, 95, 0.85), inset 0 0 16px rgba(255, 75, 95, 0.4);
  }
}

/* Hotspot Floating Tooltip */
.hotspot-tooltip {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 2, 4, 0.94);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  padding: 0.28rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  animation: bounce-subtle 2s infinite ease-in-out;
}

.qr-tooltip {
  bottom: -28px;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* ==========================================================================
   FULL SCROLL VIEW (STACKED CARDS)
   ========================================================================== */
.cards-scroll-wrapper {
  margin: 0 auto 3rem;
  max-width: 520px;
}

.cards-scroll-wrapper.hidden {
  display: none;
}

.scroll-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.scroll-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 3px solid rgba(212, 175, 55, 0.65);
  background: #fbf6ec;
}

.scroll-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   ROYAL CARD BOX (VENUE, COUNTDOWN, SHARE)
   ========================================================================== */
.royal-card-box {
  position: relative;
  background: linear-gradient(145deg, rgba(65, 9, 17, 0.88), rgba(35, 4, 8, 0.94));
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 2.5rem;
}

.royal-card-box.compact {
  padding: 1.75rem 1.25rem;
}

/* Ornate Corner Accents */
.card-ornate-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-bright);
  border-style: solid;
  pointer-events: none;
}

.card-ornate-corner.top-left {
  top: 10px;
  left: 10px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 8px;
}

.card-ornate-corner.top-right {
  top: 10px;
  right: 10px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 8px;
}

.card-ornate-corner.bottom-left {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 8px;
}

.card-ornate-corner.bottom-right {
  bottom: 10px;
  right: 10px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 8px;
}

/* Venue Section Details */
.venue-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.venue-crown {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.venue-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.venue-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.venue-address {
  font-size: 1rem;
  color: var(--text-gold);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 400;
}

/* Timing Pill */
.venue-timing-pill {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(20, 2, 4, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.75rem;
}

.time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.t-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.t-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-light);
}

.time-sep {
  color: rgba(212, 175, 55, 0.4);
  font-size: 1.2rem;
}

@media (max-width: 520px) {
  .time-sep { display: none; }
  .venue-timing-pill {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* Action Buttons Row */
.venue-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.btn-primary-royal {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: 35px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
  transition: var(--transition-smooth);
}

.btn-primary-royal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 224, 102, 0.65);
}

.btn-secondary-royal {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.2rem;
  border-radius: 35px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
}

.btn-secondary-royal:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  color: #fff;
  transform: translateY(-2px);
}

.map-embed-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   COUNTDOWN TIMER
   ========================================================================== */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  text-align: center;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
  letter-spacing: 1px;
}

.section-desc {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.countdown-unit {
  background: rgba(20, 2, 4, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  min-width: 68px;
  text-align: center;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.5), 0 4px 10px rgba(0,0,0,0.3);
}

.unit-val {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1.1;
}

.unit-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-sep {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: -12px;
}

.calendar-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-cal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--text-gold);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-cal:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   SHARE & RSVP
   ========================================================================== */
.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.share-btn.whatsapp {
  background: #25D366;
  color: #0d381e;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.share-btn.whatsapp:hover {
  background: #2ee672;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.share-btn.link {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.share-btn.link:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.share-btn.rsvp {
  background: linear-gradient(135deg, #8a1523, #5a0c16);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 4px 15px rgba(90, 12, 22, 0.4);
}

.share-btn.rsvp:hover {
  background: linear-gradient(135deg, #a31c2d, #6e111d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   STICKY FLOATING BOTTOM BAR (MOBILE FRIENDLY)
   ========================================================================== */
.sticky-action-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(30, 4, 8, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--gold-primary);
  border-radius: 40px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 90;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 18px rgba(212, 175, 55, 0.3);
}

.sticky-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gold-light);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sticky-btn .icon {
  font-size: 1.15rem;
}

.sticky-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #fff;
}

.sticky-btn.map-btn {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.sticky-btn.map-btn:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   ROYAL MODALS
   ========================================================================== */
.royal-modal {
  border: none;
  background: transparent;
  max-width: 520px;
  width: 90%;
  margin: auto;
  padding: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.royal-modal::backdrop {
  background: rgba(15, 2, 4, 0.85);
  backdrop-filter: blur(8px);
}

.modal-box {
  background: linear-gradient(150deg, #440911, #250307);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  color: var(--text-primary);
}

.modal-box.modal-wide {
  max-width: 680px;
}

.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--gold-light);
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.3rem;
}

.modal-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--gold-bright);
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(15, 2, 4, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.btn-primary-royal.full-width {
  width: 100%;
}

.modal-map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-primary);
  margin-bottom: 1.25rem;
}

.modal-footer-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-message {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(25, 3, 6, 0.95);
  border: 1px solid var(--gold-bright);
  color: var(--gold-light);
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
}

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

/* ==========================================================================
   ROYAL FOOTER
   ========================================================================== */
.royal-footer {
  text-align: center;
  padding: 3rem 1.5rem 5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(20, 2, 4, 0.8);
  position: relative;
  z-index: 10;
}

.footer-couple {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.footer-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.88rem;
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: var(--text-gold);
  line-height: 1.7;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
