/**
 * ==========================================================================
 * ROYAL WEDDING INVITATION - COMPONENT STYLES
 * ==========================================================================
 */

/* ==========================================================================
   0. INITIAL LUXURY LOADING SCREEN (Hero Poster Background + Glassmorphism)
   ========================================================================== */
.wedding-invitation-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a0508;
  background-image: url('../assets/images/hero_poster.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  will-change: opacity;
}

/* Tasteful dark translucent overlay */
.wedding-invitation-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(24, 5, 9, 0.58) 0%, rgba(13, 2, 4, 0.82) 100%);
  pointer-events: none;
}

/* Centered Glassmorphism Card */
.loader-glass-card {
  position: relative;
  z-index: 2;
  width: min(88vw, 360px);
  padding: 2.2rem 1.8rem;
  background: rgba(43, 7, 13, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(221, 174, 59, 0.38);
  border-radius: 20px;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(221, 174, 59, 0.12);
  text-align: center;
  color: var(--color-ivory-light, #FDFCF8);
  user-select: none;
  -webkit-user-select: none;
  animation: loader-card-float 4s ease-in-out infinite alternate;
}

.loader-ornament {
  font-size: 1rem;
  color: var(--color-gold, #C99A2C);
  margin-bottom: 0.75rem;
  letter-spacing: 4px;
  opacity: 0.9;
}

.loader-title {
  font-family: var(--font-serif-text, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.15rem, 3.8vw, 1.35rem);
  font-weight: 600;
  color: var(--color-gold-light, #F7E5A9);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.loader-subtitle {
  font-family: var(--font-sans, 'Montserrat', sans-serif);
  font-size: clamp(0.78rem, 2.5vw, 0.86rem);
  font-weight: 400;
  color: rgba(253, 252, 248, 0.75);
  letter-spacing: 1.2px;
  margin-bottom: 1.5rem;
}

/* Three dots with soft fade/pulse */
.loader-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loader-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold-rich, #DDAE3B);
  box-shadow: 0 0 8px rgba(221, 174, 59, 0.7);
  animation: loader-dot-pulse 1.5s ease-in-out infinite;
}

.loader-dot:nth-child(2) {
  animation-delay: 0.22s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.44s;
}

.wedding-invitation-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   1. HERO VIDEO INVITATION SECTION
   ========================================================================== */
.hero-video-section {
  position: relative;
  width: 100%;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background-color: #1a0508;
  background-image: url('../assets/images/hero_poster.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

body.video-completed .hero-video-section {
  animation: hero-section-bounce 3.2s cubic-bezier(0.28, 0.84, 0.42, 1) 1 forwards;
  will-change: transform;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a0508;
  background-image: url('../assets/images/hero_poster.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  background-color: #1a0508;
  background-image: url('../assets/images/hero_poster.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hide all possible browser media controls, play bars, buttons */
.hero-video::-webkit-media-controls {
  display: none !important;
  opacity: 0 !important;
}
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.hero-video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}
.hero-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}
.hero-video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Subtle Tap Hint (No play icon or play bar) */
.video-tap-hint {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  background: rgba(46, 12, 16, 0.82);
  border: 1.5px solid rgba(221, 174, 59, 0.7);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(221, 174, 59, 0.35);
  animation: pulse-gold-subtle 2.8s ease-in-out infinite;
}

.video-tap-hint.hidden {
  opacity: 0;
  transform: translate(-50%, 15px);
  pointer-events: none;
}

.video-tap-text {
  font-family: var(--font-serif-display);
  font-size: clamp(0.85rem, 2.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* Buffering indicator: shown only if the guest taps before the video can play */
.video-buffering {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 16;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.3rem;
  background: rgba(26, 5, 7, 0.85);
  border: 1px solid rgba(221, 174, 59, 0.6);
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  color: var(--color-gold-light);
  font-family: var(--font-serif-display);
  font-size: clamp(0.75rem, 2.6vw, 0.9rem);
  letter-spacing: 1.5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-container.is-buffering .video-buffering {
  opacity: 1;
  visibility: visible;
}

.video-buffering-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(221, 174, 59, 0.3);
  border-top-color: var(--color-gold-light);
  border-radius: 50%;
  animation: video-buffering-spin 0.8s linear infinite;
}

@keyframes video-buffering-spin {
  to { transform: rotate(360deg); }
}

/* Scroll Prompt Indicator (Appears when video finishes) */
.video-scroll-prompt {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gold-light);
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
  background: rgba(26, 5, 7, 0.85);
  border: 1px solid rgba(221, 174, 59, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(221, 174, 59, 0.3);
}

body.video-completed .video-scroll-prompt {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-scroll-prompt:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 22px rgba(221, 174, 59, 0.5);
  color: var(--color-gold-rich);
}

.scroll-prompt-text {
  font-family: var(--font-serif-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold-rich);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.scroll-prompt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-rich);
  animation: bounce-down 2s ease-in-out infinite;
}

/* ==========================================================================
   3. HEART SCRATCH CARD SECTION
   ========================================================================== */
.scratch-section {
  position: relative;
  overflow: hidden;
}

.scratch-main-title {
  font-family: var(--font-serif-display);
  font-size: clamp(1.35rem, 4.8vw, 1.85rem);
  font-weight: 700;
  color: var(--color-maroon-deep);
  letter-spacing: 2px;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.scratch-subtitle-highlight {
  color: var(--color-maroon-rich);
  letter-spacing: 3px;
}

.scratch-desc {
  font-family: var(--font-serif-text);
  font-size: clamp(0.92rem, 3.2vw, 1.08rem);
  color: var(--color-text-secondary);
  line-height: 1.5;
  max-width: 440px;
  margin: 0 auto;
}

.heart-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.heart-canvas-container {
  position: relative;
  width: min(88vw, 360px);
  aspect-ratio: 400 / 360;
  margin: 0.5rem auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  filter: drop-shadow(0 14px 32px rgba(58, 10, 16, 0.16));
}

.heart-canvas-container.revealed {
  touch-action: pan-y !important;
}

/* Underneath Revealed Content inside Heart */
.heart-revealed-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: url(#heartClip);
  -webkit-clip-path: url(#heartClip);
  background: radial-gradient(circle at 50% 48%, #FFFDF9 0%, #FAF4E6 52%, #EFE1C8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.heart-revealed-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 86%;
  height: 82%;
  padding-top: 7%;
}

.revealed-names-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.revealed-couple-name {
  font-family: var(--font-script), 'Alex Brush', cursive;
  font-size: clamp(2.1rem, 7.8vw, 2.95rem);
  color: var(--color-maroon-deep);
  line-height: 1.02;
  letter-spacing: 0.5px;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(92, 16, 29, 0.08);
}

.revealed-heart-symbol {
  font-size: clamp(0.95rem, 3.6vw, 1.25rem);
  color: #8C1C2E;
  line-height: 1;
  margin: 0.15rem 0;
  animation: gentleHeartPulse 2.4s ease-in-out infinite;
}

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

.revealed-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 55%;
  max-width: 130px;
  margin: 0.4rem 0 0.45rem;
}

.revealed-gold-divider .gold-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-rich), transparent);
  opacity: 0.85;
}

.revealed-gold-divider .gold-diamond {
  font-size: 0.62rem;
  color: var(--color-gold-deep);
  line-height: 1;
}

.revealed-date-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.revealed-date-day {
  font-family: var(--font-serif-display), 'Cinzel Decorative', Georgia, serif;
  font-size: clamp(0.78rem, 2.9vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-maroon-deep);
  text-transform: uppercase;
  line-height: 1.25;
}

.revealed-date-month-year {
  font-family: var(--font-serif-display), 'Cinzel Decorative', Georgia, serif;
  font-size: clamp(0.86rem, 3.3vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--color-maroon-deep);
  text-transform: uppercase;
  line-height: 1.25;
}

/* Interactive Canvas Layer (Clipped to Heart) */
#scratchCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: crosshair;
  touch-action: none;
  clip-path: url(#heartClip);
  -webkit-clip-path: url(#heartClip);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#scratchCanvas:active {
  cursor: grabbing;
}

#scratchCanvas.revealed {
  opacity: 0;
  pointer-events: none !important;
  touch-action: pan-y !important;
}

/* Falling Rose Petals Canvas */
.scratch-petals-canvas {
  position: absolute;
  top: -15%;
  left: -20%;
  width: 140%;
  height: 145%;
  z-index: 3;
  pointer-events: none;
}

/* Ornate Gold Border SVG Overlay */
.heart-gold-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(58, 10, 16, 0.15));
}

/* Scratch Progress and Fallback Controls */
.scratch-progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
  margin-top: 0.5rem;
}

.scratch-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(201, 154, 44, 0.18);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.scratch-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-deep), var(--color-gold-rich), var(--color-gold-light));
  border-radius: var(--radius-full);
  transition: width 0.2s ease;
}

/* Locked scroll notice */
.scratch-lock-notice {
  text-align: center;
  margin-top: 1.25rem;
  padding: 0.65rem 1.2rem;
  background: var(--bg-card);
  border: 1.5px dashed var(--color-gold-rich);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-deep);
  box-shadow: var(--shadow-sm);
  animation: pulse-gold 2.5s ease-in-out infinite;
}

/* Locked sections until scratch is complete */
body.scratch-locked .locked-until-scratch {
  display: none !important;
}

/* ==========================================================================
   4. COUNTDOWN TIMER SECTION (Save The Date + Add to Calendar)
   ========================================================================== */
.countdown-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .countdown-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.countdown-box {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 0.8rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.countdown-box:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-rich);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-deep), var(--color-gold-light), var(--color-gold-deep));
}

.countdown-num {
  font-family: var(--font-serif-display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
  color: var(--color-maroon);
  line-height: 1.1;
  display: block;
}

@media (min-width: 768px) {
  .countdown-num {
    font-size: 3.6rem;
  }
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
  display: block;
}

.countdown-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem;
  position: relative;
  z-index: 50;
}

/* Calendar Dropdown */
.calendar-dropdown-wrapper {
  position: relative;
  display: inline-block;
  z-index: 50;
}

/* Invisible hover bridge between button and dropdown menu */
.calendar-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: auto;
}

.calendar-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dropdown-chevron {
  transition: transform var(--transition-normal);
  margin-left: 2px;
}

.calendar-dropdown-wrapper.open .dropdown-chevron,
.calendar-dropdown-wrapper:hover .dropdown-chevron,
.calendar-dropdown-wrapper:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.calendar-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 275px;
  background: var(--bg-card-solid);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-gold-rich);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(58, 10, 16, 0.22), 0 0 20px rgba(201, 154, 44, 0.2);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-dropdown-wrapper.open .calendar-dropdown-menu,
.calendar-dropdown-wrapper:hover .calendar-dropdown-menu,
.calendar-dropdown-wrapper:focus-within .calendar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Caret indicator at top */
.calendar-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--border-gold-rich);
}

.calendar-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--bg-card-solid);
}

.calendar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-menu-item:hover,
.calendar-menu-item:focus {
  background: var(--color-maroon-subtle);
  color: var(--color-maroon);
  outline: none;
  transform: translateX(3px);
}

.cal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(201, 154, 44, 0.12);
  color: var(--color-gold-deep);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.calendar-menu-item:hover .cal-icon {
  background: var(--color-gold);
  color: #ffffff;
}

.cal-name {
  flex-grow: 1;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   5. EVENT TIMELINE SECTION
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

/* Center Gold Line */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--color-gold-rich) 15%, var(--color-gold-rich) 85%, transparent);
}

@media (min-width: 768px) {
  .timeline-container::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline Node Icon */
.timeline-node {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold-light), var(--color-gold-rich));
  border: 3px solid var(--bg-card-solid);
  box-shadow: 0 0 15px rgba(201, 154, 44, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon-deep);
  font-size: 1.1rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-node {
    left: 50%;
  }
}

.timeline-card {
  margin-left: 55px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-card {
    margin-left: 0;
    margin-right: calc(50% + 35px);
    text-align: right;
  }
  .timeline-item:nth-child(even) .timeline-card {
    margin-left: calc(50% + 35px);
    margin-right: 0;
    text-align: left;
  }
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-rich);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.timeline-time-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-maroon), var(--color-maroon-deep));
  color: var(--color-gold-light);
  border: 1px solid var(--border-gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.5rem;
  color: var(--color-maroon);
  margin-bottom: 0.5rem;
}

.timeline-meta {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-dress {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-gold-deep);
}

/* ==========================================================================
   6. VENUE & BLOOM QR SECTION
   ========================================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 860px) {
  .venue-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.venue-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.venue-name {
  font-size: 1.6rem;
  color: var(--color-maroon);
  margin-bottom: 0.5rem;
}

.venue-address {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Bloom QR Interactive Container */
.bloom-qr-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bloom-crop-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  --bloom-scale: 0.85;
}

.bloom-iframe {
  position: absolute;
  width: 1500px;
  height: 580px;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  transform: translate(-50%, calc(-50% - 25px)) scale(var(--bloom-scale, 0.85));
  border: none;
  outline: none;
  background: transparent;
  pointer-events: auto;
  mix-blend-mode: multiply;
}

@media (max-width: 480px) {
  .bloom-crop-container {
    max-width: 100%;
  }
}

/* ==========================================================================
   7. FAMILY BLESSINGS SECTION
   ========================================================================== */
.family-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .family-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.family-card {
  text-align: center;
  padding: 2.8rem 2rem;
}

.family-badge {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-gold-rich);
  margin-bottom: 0.5rem;
}

.family-parents {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-maroon);
  margin-bottom: 0.5rem;
}

.family-grandparents {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.family-blessing-quote {
  font-family: var(--font-serif-text);
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.family-compliments {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
}

/* ==========================================================================
   8. WISHES / GUESTBOOK SECTION - 3D LUXURY INVITATION CAROUSEL
   ========================================================================== */
.wishes-layout {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: hidden;
}

/* 3D Carousel Wrapper */
.wishes-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 0 12px;
}

.wishes-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 380px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.wishes-carousel-viewport.is-dragging .blessing-card {
  transition: none !important;
}

/* Base Physical Luxury Card */
.blessing-card {
  position: absolute;
  width: 310px;
  height: 340px;
  background: linear-gradient(165deg, #FFFDF9 0%, #FAF5ED 50%, #F5EFE4 100%);
  border: 1px solid rgba(201, 154, 44, 0.42);
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-sizing: border-box;
  box-shadow: 
    0 16px 36px -10px rgba(58, 10, 16, 0.16),
    0 6px 18px -4px rgba(201, 154, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 16px rgba(201, 154, 44, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), 
              filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
  cursor: grab;
  outline: none;
}

.blessing-card:active {
  cursor: grabbing;
}

/* Card Depth & Positioning States */
.blessing-card.card-active {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  opacity: 1;
  filter: blur(0px);
  z-index: 10;
  pointer-events: auto;
  cursor: default;
}

.blessing-card.card-prev {
  transform: translate3d(-46%, 0, -60px) scale(0.88) rotate(-1.5deg);
  opacity: 0.58;
  filter: blur(2.5px);
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

.blessing-card.card-next {
  transform: translate3d(46%, 0, -60px) scale(0.88) rotate(1.5deg);
  opacity: 0.58;
  filter: blur(2.5px);
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

.blessing-card.card-hidden-left {
  transform: translate3d(-75%, 0, -140px) scale(0.75) rotate(-3deg);
  opacity: 0;
  filter: blur(5px);
  z-index: 1;
  pointer-events: none;
}

.blessing-card.card-hidden-right {
  transform: translate3d(75%, 0, -140px) scale(0.75) rotate(3deg);
  opacity: 0;
  filter: blur(5px);
  z-index: 1;
  pointer-events: none;
}

/* Ornate SVG Frame */
.blessing-card-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Realistic Rose Petals */
.blessing-petal {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 3px 5px rgba(58, 10, 16, 0.3));
}

.blessing-petal-top {
  top: -6px;
  left: 85px;
  width: 26px;
  height: 18px;
  transform: rotate(-18deg);
}

.blessing-petal-right-top {
  top: 36px;
  right: -8px;
  width: 22px;
  height: 16px;
  transform: rotate(38deg);
}

.blessing-petal-bottom {
  bottom: -5px;
  right: 70px;
  width: 26px;
  height: 18px;
  transform: rotate(-25deg);
}

/* Corner Florals (Baby's breath) */
.blessing-floral-corner {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.blessing-floral-bl {
  bottom: -6px;
  left: -8px;
  width: 90px;
  height: 90px;
}

.blessing-floral-tr {
  top: -6px;
  right: -6px;
  width: 65px;
  height: 65px;
  transform: rotate(90deg);
}

/* Card Content Hierarchy */
.blessing-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blessing-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-bottom: 2px;
}

.blessing-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.blessing-avatar-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #781729, #4A0E17);
  border: 1.5px solid #C99A2C;
  box-shadow: 
    0 0 0 2.5px rgba(201, 154, 44, 0.35),
    0 3px 8px rgba(58, 10, 16, 0.2),
    inset 0 1.5px 3px rgba(255, 255, 255, 0.2),
    inset 0 -1.5px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F7E5A9;
  font-family: var(--font-serif-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.blessing-avatar-gold {
  background: linear-gradient(145deg, #C99A2C, #9A7410);
  color: #3A0A10;
  border-color: #F7E5A9;
}

.blessing-avatar-sprig {
  position: absolute;
  bottom: -3px;
  left: -6px;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.blessing-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.blessing-author-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-maroon-deep);
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blessing-date-text {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: #8C7355;
  letter-spacing: 0.3px;
}

/* Ornamental Divider */
.blessing-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 12px;
  gap: 6px;
}

.blessing-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 154, 44, 0.6), transparent);
}

.blessing-divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blessing Body */
.blessing-card-body {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 2px;
  flex: 1;
  min-height: 0;
}

.blessing-quote-mark {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 0.8;
  color: #C99A2C;
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 1px;
}

.blessing-quote-text {
  font-family: var(--font-serif-text);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--color-maroon-deep);
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
  max-height: 160px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 154, 44, 0.4) transparent;
  padding-right: 2px;
}

.blessing-quote-text::-webkit-scrollbar {
  width: 3px;
}

.blessing-quote-text::-webkit-scrollbar-thumb {
  background: rgba(201, 154, 44, 0.3);
  border-radius: 3px;
}

/* Navigation Buttons (Desktop / Accessible) */
.blessing-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 154, 44, 0.45);
  color: var(--color-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 15;
  box-shadow: 0 4px 12px rgba(58, 10, 16, 0.08);
  padding: 0;
}

.blessing-nav-btn:hover {
  background: #FFFFFF;
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 16px rgba(201, 154, 44, 0.25);
  color: var(--color-maroon-deep);
}

.blessing-nav-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.blessing-nav-prev {
  left: 6px;
}

.blessing-nav-next {
  right: 6px;
}

@media (max-width: 640px) {
  .blessing-nav-btn {
    display: none; /* Touch swipe is primary on mobile */
  }
}

/* Minimal Dots Indicator */
.blessing-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  z-index: 2;
}

.blessing-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 154, 44, 0.25);
  border: 1px solid rgba(201, 154, 44, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  outline: none;
}

.blessing-carousel-dot:hover {
  background: rgba(201, 154, 44, 0.5);
}

.blessing-carousel-dot.active {
  width: 20px;
  border-radius: 5px;
  background: var(--color-maroon);
  border-color: var(--color-maroon);
  box-shadow: 0 0 6px rgba(92, 16, 29, 0.35);
}

/* Empty State Card */
.blessing-empty-card {
  position: relative;
  width: 310px;
  min-height: 280px;
  background: linear-gradient(165deg, #FFFDF9 0%, #FAF5ED 100%);
  border: 1px solid rgba(201, 154, 44, 0.4);
  border-radius: 22px;
  padding: 28px 22px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.blessing-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #781729, #4A0E17);
  border: 1.5px solid #C99A2C;
  color: #F7E5A9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blessing-empty-title {
  font-family: var(--font-serif-display);
  font-size: 1.05rem;
  color: var(--color-maroon-deep);
  margin-bottom: 0.4rem;
}

.blessing-empty-desc {
  font-family: var(--font-serif-text);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Responsive Mobile Layout */
@media (max-width: 640px) {
  .wishes-layout {
    gap: 2rem;
  }

  .wishes-carousel-viewport {
    height: 345px;
  }

  .blessing-card {
    width: min(280px, calc(100vw - 44px));
    height: 315px;
    padding: 18px 16px 14px;
    border-radius: 20px;
  }

  .blessing-avatar-badge {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .blessing-author-name {
    font-size: 0.88rem;
  }

  .blessing-date-text {
    font-size: 0.68rem;
  }

  .blessing-card.card-prev {
    transform: translate3d(-38%, 0, -45px) scale(0.9) rotate(-1.5deg);
  }

  .blessing-card.card-next {
    transform: translate3d(38%, 0, -45px) scale(0.9) rotate(1.5deg);
  }

  .blessing-card.card-hidden-left {
    transform: translate3d(-65%, 0, -100px) scale(0.78);
  }

  .blessing-card.card-hidden-right {
    transform: translate3d(65%, 0, -100px) scale(0.78);
  }

  .blessing-quote-mark {
    font-size: 1.8rem;
  }

  .blessing-quote-text {
    font-size: 0.9rem;
    line-height: 1.45;
    max-height: 140px;
  }
}

/* ==========================================================================
   9. SHARE & QR CODE SECTION & WHATSAPP MODAL
   ========================================================================== */
.share-actions-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  width: 100%;
}

.share-btn-whatsapp {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-rich), var(--color-gold-deep));
  color: var(--color-maroon-deep);
  border: 1px solid var(--color-gold-shimmer);
  box-shadow: 0 6px 20px rgba(201, 154, 44, 0.35);
}

.share-btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--color-gold-shimmer), var(--color-gold-rich), var(--color-gold-deep));
  color: var(--color-maroon-deep);
  box-shadow: 0 10px 28px rgba(201, 154, 44, 0.5), 0 0 15px rgba(255, 223, 115, 0.5);
  border-color: #FFFFFF;
}

.share-btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Modal Overlay & Backdrop */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 3, 6, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.whatsapp-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  padding: 2.25rem 1.5rem 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(221, 174, 59, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.modal-overlay.active .whatsapp-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--color-maroon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}

.modal-close-btn:hover {
  background: var(--color-maroon);
  color: var(--color-gold-light);
  border-color: var(--color-gold-rich);
  transform: rotate(90deg);
}

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

.whatsapp-invite-image-wrapper {
  margin: 0 auto 1.25rem auto;
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 16px rgba(221, 174, 59, 0.25);
  border: 2px solid var(--color-gold-rich);
  background: var(--bg-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-invite-image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(221, 174, 59, 0.35);
}

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

.whatsapp-invite-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.whatsapp-invite-header-tag {
  font-size: 0.98rem;
  color: var(--color-maroon);
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}

.whatsapp-invite-names {
  font-family: var(--font-serif-display);
  font-size: 1.28rem;
  color: var(--color-maroon-deep);
  margin-bottom: 0.4rem;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

@media (min-width: 640px) {
  .whatsapp-invite-names {
    font-size: 1.4rem;
  }
}

.whatsapp-invite-subtext {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.whatsapp-invite-cta {
  font-size: 0.98rem;
  color: var(--color-maroon);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.whatsapp-invite-signoff {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.whatsapp-invite-closing {
  font-style: italic;
  color: var(--color-text-muted);
}

.whatsapp-invite-couple {
  font-size: 1.1rem;
  font-family: var(--font-serif-text);
  color: var(--color-gold-deep);
  font-weight: 700;
}

.modal-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
  width: 100%;
}

.modal-actions-row .btn-royal {
  flex: 1;
  min-width: 120px;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

@media (max-width: 420px) {
  .modal-actions-row {
    flex-direction: column;
  }
  .modal-actions-row .btn-royal {
    width: 100%;
  }
}

/* ==========================================================================
   10. FOOTER & QURAN VERSE
   ========================================================================== */
.wedding-footer {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, var(--color-maroon) 0%, var(--color-maroon-deep) 100%);
  color: var(--color-ivory);
  padding: max(4rem, calc(2.5rem + env(safe-area-inset-top))) 1rem max(3rem, calc(1.5rem + env(safe-area-inset-bottom))) 1rem;
  text-align: center;
  border-top: 2px solid var(--color-gold-rich);
}

.footer-quran-verse {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  padding: 0 1rem;
}

.quran-verse-arabic {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  line-height: 2;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  direction: rtl;
  text-shadow: 0 0 12px rgba(221, 174, 59, 0.4);
}

@media (min-width: 768px) {
  .quran-verse-arabic {
    font-size: 2.2rem;
  }
}

.quran-verse-translation {
  font-family: var(--font-serif-text);
  font-style: italic;
  font-size: 1.15rem;
  font-style: italic;
  color: #EFE8DA;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.quran-verse-surah {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-rich);
  font-weight: 600;
}

.footer-lantern-row {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}

.footer-thank-you {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--color-gold-rich);
  margin-bottom: 0.5rem;
}

.footer-credit {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: rgba(253, 252, 248, 0.6);
  margin-top: 2rem;
}

