/* ==========================================================================
   VICTORIAN VELVET WEDDING THEME - STYLESHEET
   Mobile First (Max Canvas: 480px, Centered on Desktop)
   ========================================================================== */

:root {
  --forest-dark: #14291F;
  --forest: #324A33;
  --moss: #556B48;
  --burgundy-dark: #56131D;
  --burgundy: #731E2B;
  --wine: #852A38;
  --ivory: #F1E8D6;
  --paper: #EEE5D4;
  --cream: #F7F0DF;
  --soft-gold: #A88B56;
  --text-light: #EEE6D9;

  --font-heading: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  --canvas-max-width: 480px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #0a130e;
  color: var(--text-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.vvw-body {
  background-color: #0a130e;
  color: var(--text-light);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

body.vvw-body.is-locked {
  overflow-y: hidden;
  touch-action: pan-y;
}

/* Desktop Centering Shell */
.vvw-viewport-wrapper {
  width: 100%;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at center, #13241b 0%, #080f0b 100%);
}

.vvw-shell {
  width: 100%;
  max-width: var(--canvas-max-width);
  margin-inline: auto;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
  background-color: var(--forest-dark);
}

/* Typography Presets */
.vvw-calligraphy {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.vvw-serif-title {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  line-height: 1.3;
}

.vvw-arabic {
  font-family: var(--font-arabic);
  font-size: 1.75rem;
  line-height: 1.8;
  direction: rtl;
}

/* Texture Classes */
.vvw-bg-green-velvet {
  background-color: #0c1c14;
  background-image: url('../images/green-curtain.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  position: relative;
}

.vvw-cover-section {
  background-image: url('../images/green-curtain.webp') !important;
  background-size: cover !important;
  background-position: center top !important;
}

.vvw-bg-burgundy-velvet {
  background-color: var(--burgundy-dark);
  background-image: url('../images/burgundy-velvet.webp');
  background-repeat: repeat-y;
  background-size: 100% 480px;
  position: relative;
}

.vvw-bg-green-paper {
  background-color: #203323;
  background-image: url('../images/green-paper.webp');
  background-repeat: repeat-y;
  background-size: 100% 400px;
  position: relative;
}

/* Floral Placement System - Precision Placement for Victorian Aesthetic */
.vvw-envelope-flower-tl {
  position: absolute;
  top: -55px;
  left: -42px;
  width: 145px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.vvw-envelope-flower-br {
  position: absolute;
  bottom: -22px;
  right: -24px;
  width: 95px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.vvw-cover-flower-corner {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 135px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

/* Section Shared Spacing & Smooth Velvet Vignette Transitions */
.vvw-section {
  position: relative;
  padding: 5.5rem 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 24px 36px -16px rgba(0, 0, 0, 0.6), inset 0 -24px 36px -16px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(212, 180, 118, 0.25);
}

.vvw-section:first-child,
.vvw-section:first-of-type {
  border-top: none;
}

.vvw-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.vvw-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.vvw-section > * {
  position: relative;
  z-index: 2;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* Scroll Reveal */
.vvw-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.vvw-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SECTION 01: CLOSED ENVELOPE COVER
   ========================================================================== */
.vvw-cover-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.vvw-cover-header {
  z-index: 4;
  margin-top: 1rem;
}

.vvw-cover-were {
  font-size: 2.25rem;
  color: var(--ivory);
  opacity: 0.95;
  margin-bottom: -0.5rem;
}

.vvw-cover-getting {
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.vvw-cover-couples {
  font-size: 3.25rem;
  color: var(--ivory);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
}

/* Main Interactive Envelope Container */
.vvw-envelope-wrap {
  width: 100%;
  max-width: 350px;
  margin: 1.5rem auto;
  position: relative;
  z-index: 6;
  cursor: pointer;
  perspective: 1000px;
}

.vvw-envelope {
  position: relative;
  width: 100%;
  height: 230px;
  background: #FAF4E7;
  border-radius: 6px;
  border: 1px solid #D8C8A6;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 3px 10px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.vvw-envelope:hover {
  transform: translateY(-4px);
}

/* Envelope Interior Pocket */
.vvw-envelope-pocket {
  position: absolute;
  inset: 0;
  background-color: var(--burgundy-dark);
  background-image: url('../images/burgundy-velvet.webp');
  background-size: cover;
  border-radius: 6px;
  overflow: hidden;
}

/* Hidden emerging card inside envelope */
.vvw-envelope-card-hidden {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 88%;
  height: 190px;
  background: var(--ivory);
  border: 1px solid #C4B18B;
  border-radius: 50% / 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  opacity: 0.9;
}

/* Lower Triangular Folds */
.vvw-envelope-front-flaps {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.vvw-envelope-front-flaps svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Top Triangular Flap with 3D Rotation */
.vvw-envelope-top-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 135px;
  z-index: 4;
  transform-origin: top center;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.vvw-envelope-top-flap svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Wax Seal at the Center of the Flap */
.vvw-wax-seal {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  z-index: 5;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.vvw-envelope-wrap:hover .vvw-wax-seal {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Envelope Opening Animation Classes */
.vvw-envelope-wrap.is-opening .vvw-wax-seal {
  animation: sealPop 0.4s ease forwards;
}

.vvw-envelope-wrap.is-opening .vvw-envelope-top-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.vvw-envelope-wrap.is-opening .vvw-envelope-card-hidden {
  transform: translateX(-50%) translateY(-65px);
}

@keyframes sealPop {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
  100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.85; }
}

/* Cover Bottom Prompt & Guest Salutation */
.vvw-cover-bottom {
  z-index: 6;
  text-align: center;
  margin-bottom: 1rem;
}

.vvw-guest-pill {
  display: inline-block;
  background: rgba(20, 41, 31, 0.75);
  border: 1px solid rgba(241, 232, 214, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.vvw-guest-salutation {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--soft-gold);
  text-transform: uppercase;
}

.vvw-guest-name {
  font-size: 1rem;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-weight: 600;
}

.vvw-open-btn {
  background: transparent;
  border: none;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  animation: pulsePrompt 2s infinite ease-in-out;
}

.vvw-open-btn:hover {
  color: #FFFFFF;
}

@keyframes pulsePrompt {
  0%, 100% { opacity: 0.75; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(3px); }
}

/* ==========================================================================
   SECTION 02: INVITATION CARD EMERGING FROM ENVELOPE
   ========================================================================== */
.vvw-letter-section {
  padding: 3.5rem 1.25rem 4.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.vvw-lace-opened-envelope-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vvw-lace-card-wrap {
  position: relative;
  width: 100%;
  max-width: 350px;
  min-height: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.vvw-lace-flower-tl {
  position: absolute;
  top: -45px;
  left: -35px;
  width: 140px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}

.vvw-lace-butterfly {
  position: absolute;
  top: 15px;
  left: 65px;
  width: 35px;
  height: auto;
  z-index: 7;
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.vvw-lace-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.vvw-lace-card-content {
  position: relative;
  z-index: 2;
  width: 76%;
  padding: 3.5rem 1rem;
  text-align: center;
  color: #2D2319;
}

.vvw-lace-letter-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2D2319;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.vvw-lace-quote-source {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #56131D;
  letter-spacing: 0.05em;
}

/* Hanging Tassel below card */
.vvw-tassel-wrap {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 100px;
  z-index: 5;
  animation: gentleSway 4s ease-in-out infinite alternate;
}

.vvw-tassel-wrap img,
.vvw-tassel-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Opened Envelope Base at the bottom of the card */
.vvw-opened-envelope-base {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 140px;
  margin-top: -95px;
  z-index: 2;
}

.vvw-opened-pocket-velvet {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #6A1824 0%, #3B0A11 100%);
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 10px 22px rgba(0, 0, 0, 0.75);
}

.vvw-opened-envelope-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  filter: drop-shadow(0 -4px 10px rgba(0, 0, 0, 0.35));
}

.vvw-opened-envelope-flower-br {
  position: absolute;
  bottom: -15px;
  right: -20px;
  width: 95px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

@keyframes gentleSway {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(2.5deg); }
}

/* ==========================================================================
   SECTION 03: CUSTOM MUSIC PLAYER
   ========================================================================== */
.vvw-music-player-card {
  width: 100%;
  max-width: 360px;
  margin: 1.5rem auto 0 auto;
  background: rgba(20, 41, 31, 0.85);
  border: 1px solid rgba(241, 232, 214, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 4;
}

.vvw-player-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(241, 232, 214, 0.2);
  border-radius: 2px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.vvw-player-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ivory);
  border-radius: 2px;
  transition: width 0.2s linear;
}

.vvw-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.vvw-player-btn {
  background: transparent;
  border: none;
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.vvw-player-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.vvw-player-btn-main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--forest-dark);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.vvw-player-btn-main:hover {
  transform: scale(1.06);
  background: #FFFFFF;
}

.vvw-player-sing-along {
  font-size: 0.8rem;
  font-family: var(--font-serif);
  color: var(--cream);
  opacity: 0.75;
  margin-top: 0.85rem;
  letter-spacing: 0.05em;
  font-style: italic;
}

/* Floating Mini Audio Button */
.vvw-floating-music {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(86, 19, 29, 0.85);
  border: 1px solid var(--soft-gold);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.vvw-floating-music:hover {
  transform: scale(1.1);
  background: rgba(115, 30, 43, 0.95);
}

.vvw-floating-music.is-playing {
  animation: musicSpin 6s linear infinite;
}

@keyframes musicSpin {
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   SECTION 04: OPENING MESSAGE / BISMILLAH
   ========================================================================== */
.vvw-bismillah-section {
  padding: 5rem 1.75rem;
  background-color: var(--burgundy-dark);
}

.vvw-textile-divider {
  width: 140px;
  height: 24px;
  margin: 0 auto 1.75rem auto;
  opacity: 0.85;
}

.vvw-bismillah-arabic {
  color: var(--ivory);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.vvw-bismillah-trans {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--cream);
  max-width: 380px;
  margin: 0 auto;
  font-style: italic;
  opacity: 0.9;
}

/* ==========================================================================
   SECTION 05: BRIDE & GROOM (STAGGERED COUPLE SECTION)
   ========================================================================== */
.vvw-couple-section {
  padding: 4.5rem 1.25rem 4.5rem 1.25rem;
  background-color: var(--burgundy-dark);
}

.vvw-bismillah-wrap {
  width: 100%;
  max-width: 250px;
  margin: 0 auto 1.25rem auto;
}

.vvw-bismillah-img {
  width: 100%;
  height: auto;
  display: block;
}

.vvw-couple-invitation-lead {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ivory);
  opacity: 0.95;
  margin: 0 auto 2.75rem auto;
  text-align: center;
  max-width: 350px;
}

.vvw-staggered-couple-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 3.5rem;
}

.vvw-couple-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.vvw-couple-photo-col {
  flex: 0 0 145px;
  display: flex;
  justify-content: center;
}

.vvw-crosshair-frame-container {
  position: relative;
  width: 135px;
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vvw-crosshair-photo-img {
  width: 105px;
  height: 140px;
  border-radius: 50% / 50%;
  object-fit: cover;
  z-index: 1;
}

.vvw-crosshair-placeholder {
  background: radial-gradient(circle, #56131D 0%, #2A080E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #E5C793;
}

.vvw-crosshair-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.vvw-couple-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.vvw-couple-info-col.vvw-align-left {
  text-align: left;
}

.vvw-groom-info {
  text-align: left;
}

.vvw-couple-name {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.vvw-couple-parents {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ivory);
  opacity: 0.95;
}

.vvw-parent-relation {
  display: block;
  font-size: 0.85rem;
  color: var(--soft-gold);
  margin-bottom: 0.2rem;
}

.vvw-parent-name {
  font-weight: 500;
}

.vvw-couple-ig-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--soft-gold);
  text-decoration: none;
  opacity: 0.85;
}

.vvw-couple-ampersand-divider {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  color: var(--soft-gold);
  text-align: center;
  margin: 0.25rem 0;
  line-height: 1;
}

.vvw-couple-flower-bl {
  position: absolute;
  bottom: -25px;
  left: -25px;
  width: 110px;
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   SECTION 06: SAVE THE DATE
   ========================================================================== */
.vvw-save-date-section {
  position: relative;
  padding: 4.5rem 1.25rem 3rem 1.25rem;
}

.vvw-savedate-flower-tr {
  position: absolute;
  top: -10px;
  right: -15px;
  width: 135px;
  height: auto;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.vvw-save-date-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.vvw-save-word {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  color: #FFFFFF;
  line-height: 0.9;
  margin-bottom: -0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.vvw-the-word {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #FFFFFF;
  line-height: 1;
  font-style: italic;
  margin-bottom: -0.65rem;
  opacity: 0.95;
}

.vvw-date-word-wrap {
  position: relative;
  display: inline-flex;
  align-items: baseline;
}

.vvw-date-word {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: #FFFFFF;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.vvw-butterfly-date {
  position: absolute;
  right: -28px;
  top: 14px;
  width: 32px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.vvw-classical-date-block {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 2.5rem auto;
}

.vvw-date-month-header {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  text-align: center;
}

.vvw-date-grid-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.vvw-date-subcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.vvw-date-rule {
  width: 100%;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.75);
}

.vvw-date-type-calligraphy {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #FFFFFF;
  line-height: 1.1;
}

.vvw-date-time-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ivory);
  opacity: 0.95;
  white-space: nowrap;
}

.vvw-date-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}

.vvw-date-giant-number {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.vvw-date-year-label {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 0.4rem;
  letter-spacing: 0.1em;
}

.vvw-palace-outer-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.vvw-star-twinkle {
  position: absolute;
  color: var(--soft-gold);
  font-size: 0.9rem;
  animation: starTwinkle 3s infinite ease-in-out;
  pointer-events: none;
}

.vvw-star-twinkle.st1 { top: 10%; left: 15%; animation-delay: 0.2s; }
.vvw-star-twinkle.st2 { top: 25%; right: 18%; animation-delay: 1.2s; }
.vvw-star-twinkle.st3 { bottom: 15%; left: 30%; animation-delay: 2.1s; }

@keyframes starTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ==========================================================================
   SECTIONS 07 & 08: AKAD & RECEPTION
   ========================================================================== */
.vvw-ceremony-section {
  padding: 3.5rem 1.5rem;
}

.vvw-calla-lily-wrap {
  margin: 1.5rem auto 1.5rem auto;
  width: 150px;
}

.vvw-calla-lily-img {
  width: 100%;
  height: auto;
  display: block;
}

.vvw-ceremony-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.vvw-ceremony-title-sparkle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.vvw-star-sparkle-mini {
  color: var(--soft-gold);
  font-size: 0.85rem;
  animation: starTwinkle 2.5s infinite ease-in-out;
}

.vvw-star-sparkle-mini.sm-left { animation-delay: 0.5s; }
.vvw-star-sparkle-mini.sm-right { animation-delay: 1.8s; }

.vvw-ceremony-heading {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  color: #FFFFFF;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vvw-ceremony-datetime {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.vvw-ceremony-time {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.vvw-ceremony-venue {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.vvw-ceremony-address {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ivory);
  opacity: 0.95;
  max-width: 330px;
  margin: 0 auto 1.5rem auto;
}

.vvw-ceremony-btn-wrap {
  margin-top: 0.5rem;
}

.vvw-maps-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #56131D;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.65rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(241, 232, 214, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vvw-maps-pill-btn:hover {
  background-color: #731E2B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
}

.vvw-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: var(--ivory);
  border: 1px solid var(--soft-gold);
  border-radius: 4px;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.vvw-maps-btn:hover {
  background: var(--wine);
  transform: translateY(-2px);
}

.vvw-location-block {
  text-align: center;
  max-width: 360px;
  margin: 1.5rem auto 1rem auto;
}

.vvw-ceremony-section,
.vvw-dress-code-section {
  box-shadow: none !important;
}

.vvw-ceremony-section::before,
.vvw-dress-code-section::before {
  display: none !important;
}

/* ==========================================================================
   SECTION 09: DRESS CODE
   ========================================================================== */
.vvw-dress-code-section {
  padding: 2rem 1.5rem 4rem 1.5rem;
}

.vvw-dress-code-integrated {
  width: 100%;
  max-width: 360px;
  margin: 3.5rem auto 1rem auto;
  text-align: center;
}

.vvw-dress-code-heading {
  font-size: 2.75rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.vvw-dress-code-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.vvw-color-swatches {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.vvw-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(241, 232, 214, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.vvw-swatch:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   SECTION 10: WEDDING GIFT
   ========================================================================== */
.vvw-gift-section {
  padding: 5rem 1.5rem;
  background-color: var(--burgundy-dark);
}

.vvw-gift-icon-wrap {
  width: 65px;
  height: 65px;
  margin: 0 auto 1rem auto;
}

.vvw-gift-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.vvw-gift-heading {
  font-size: 3.25rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.vvw-gift-intro {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--cream);
  max-width: 360px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.9;
}

.vvw-bank-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 2.5rem auto;
}

.vvw-bank-card {
  background: rgba(20, 41, 31, 0.75);
  border: 1px solid rgba(241, 232, 214, 0.25);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.vvw-bank-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}

.vvw-bank-name {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 0.2rem;
}

.vvw-bank-holder {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.vvw-copy-btn {
  background: var(--moss);
  color: var(--ivory);
  border: 1px solid rgba(241, 232, 214, 0.3);
  border-radius: 4px;
  padding: 0.45rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vvw-copy-btn:hover {
  background: #647d55;
  transform: translateY(-1px);
}

.vvw-copy-btn.is-copied {
  background: #3B724D;
  border-color: #8FD8A6;
}

/* Physical Gift Details */
.vvw-physical-gift {
  border-top: 1px solid rgba(241, 232, 214, 0.2);
  padding-top: 2rem;
  max-width: 360px;
  margin: 0 auto;
}

.vvw-physical-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.vvw-physical-address {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ivory);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.vvw-contact-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.vvw-contact-pill {
  background: rgba(20, 41, 31, 0.65);
  border: 1px solid rgba(241, 232, 214, 0.2);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--ivory);
  text-decoration: none;
  transition: background 0.2s ease;
}

.vvw-contact-pill:hover {
  background: var(--moss);
}

/* ==========================================================================
   RSVP SECTION
   ========================================================================== */
.vvw-rsvp-section {
  padding: 4.5rem 1.5rem;
}

.vvw-rsvp-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: rgba(20, 41, 31, 0.85);
  border: 1px solid rgba(241, 232, 214, 0.25);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.vvw-rsvp-heading {
  font-size: 3rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.vvw-rsvp-intro {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 1.75rem;
  opacity: 0.85;
}

.vvw-rsvp-options {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vvw-rsvp-option-btn {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(241, 232, 214, 0.25);
  border-radius: 6px;
  padding: 0.9rem 0.5rem;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.vvw-rsvp-option-btn .vvw-rsvp-emoji {
  font-size: 1.6rem;
}

.vvw-rsvp-option-btn.is-selected {
  background: var(--burgundy);
  border-color: var(--soft-gold);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(115, 30, 43, 0.5);
}

.vvw-rsvp-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.vvw-rsvp-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 0.4rem;
}

.vvw-rsvp-input,
.vvw-rsvp-select,
.vvw-rsvp-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(241, 232, 214, 0.2);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.vvw-rsvp-input:focus,
.vvw-rsvp-select:focus,
.vvw-rsvp-textarea:focus {
  border-color: var(--soft-gold);
}

.vvw-rsvp-submit-btn {
  width: 100%;
  background: var(--burgundy);
  border: 1px solid var(--soft-gold);
  border-radius: 4px;
  padding: 0.75rem;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
}

.vvw-rsvp-submit-btn:hover {
  background: var(--wine);
}

.vvw-rsvp-feedback {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #9FE3B1;
  display: none;
}

/* ==========================================================================
   SECTION 11: OUR JOURNEY / LOVE STORY
   ========================================================================== */
.vvw-story-section {
  padding: 4.5rem 1.75rem;
}

.vvw-story-heading {
  font-size: 3.25rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  text-align: center;
}

.vvw-story-subtitle {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 2.75rem;
  text-align: center;
}

.vvw-story-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
}

.vvw-story-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(241, 232, 214, 0.25);
}

.vvw-story-marker {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 14px;
  height: 14px;
  color: var(--soft-gold);
}

.vvw-story-date {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--soft-gold);
  font-style: italic;
  margin-bottom: 0.2rem;
}

.vvw-story-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vvw-story-content {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.88;
}

/* ==========================================================================
   SECTIONS 12 & 13: GALLERY INTRODUCTION & EDITORIAL COLLAGE
   ========================================================================== */
.vvw-gallery-header {
  padding: 4rem 1.5rem 2rem 1.5rem;
  background-color: var(--burgundy-dark);
}

.vvw-gallery-heading {
  font-size: 3.5rem;
  color: var(--ivory);
}

.vvw-gallery-grid-section {
  padding: 0 0.75rem 3rem 0.75rem;
  background-color: var(--burgundy-dark);
}

/* Editorial Non-Carousel Masonry Grid */
.vvw-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: 6px;
  max-width: 440px;
  margin: 0 auto;
}

.vvw-gallery-cell {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #25070B;
}

.vvw-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.vvw-gallery-cell:hover img {
  transform: scale(1.04);
}

/* Asymmetric Editorial Cell Spans */
.vvw-gallery-cell:nth-child(1) {
  grid-column: span 3;
  grid-row: span 3;
}
.vvw-gallery-cell:nth-child(2) {
  grid-column: span 3;
  grid-row: span 4;
}
.vvw-gallery-cell:nth-child(3) {
  grid-column: span 3;
  grid-row: span 4;
}
.vvw-gallery-cell:nth-child(4) {
  grid-column: span 3;
  grid-row: span 3;
}
.vvw-gallery-cell:nth-child(5) {
  grid-column: span 6;
  grid-row: span 4;
}
.vvw-gallery-cell:nth-child(6) {
  grid-column: span 6;
  grid-row: span 3;
}

/* ==========================================================================
   SECTION 14: CLOSING TRANSITION & FINAL ENVELOPE
   ========================================================================== */
.vvw-closing-section {
  padding: 5rem 1.25rem 4rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vvw-closing-plaque-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  min-height: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vvw-closing-plaque-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.vvw-closing-plaque-content {
  position: relative;
  z-index: 2;
  width: 80%;
  padding: 3.5rem 1rem;
  text-align: center;
}

.vvw-closing-message {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.vvw-closing-couple {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--ivory);
  line-height: 1.15;
}

.vvw-closing-and {
  font-size: 1.5rem;
  margin: 0.2rem 0;
  color: var(--soft-gold);
}

/* Closing Envelope */
.vvw-closing-envelope-wrap {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin-top: -30px;
  z-index: 4;
}

.vvw-closing-envelope-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.vvw-closing-tassel-wrap {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 105px;
  z-index: 5;
  animation: gentleSway 4s ease-in-out infinite alternate;
}

.vvw-closing-tassel-wrap svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .vvw-envelope-wrap.is-opening .vvw-envelope-top-flap {
    transform: none;
    opacity: 0;
  }

  .vvw-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RSVP SCROLL CONTAINER (MAX 2-3 ITEMS VISIBLE) & SECTION FLOWER DIVIDERS
   ========================================================================== */
.vvw-rsvp-scroll-container::-webkit-scrollbar {
  width: 5px;
}
.vvw-rsvp-scroll-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
.vvw-rsvp-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.45);
  border-radius: 10px;
}
.vvw-rsvp-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.8);
}

.vvw-section-divider-flower {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.vvw-section-divider-flower img {
  width: 130px;
  max-width: 38%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

