/* ==========================================================================
   DESIGN SYSTEM: THEME LUXURY 06 (OBSIDIAN NOIR & CHAMPAGNE GOLD)
   PERSISTENT VIDEO BACKGROUND ARCHITECTURE ACROSS ALL SECTIONS
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-primary: #0F0E0D;
  --bg-secondary: #181614;
  --surface-card: rgba(24, 21, 19, 0.76);
  --surface-glass: rgba(20, 18, 16, 0.72);
  --surface-glass-border: rgba(201, 169, 110, 0.24);

  --text-primary: #F5EFE6;
  --text-secondary: #D4CBC0;
  --text-muted: #998F84;

  --accent-primary: #C9A96E;
  --accent-hover: #E2C894;
  --accent-gold-border: rgba(201, 169, 110, 0.28);
  --border-subtle: rgba(201, 169, 110, 0.22);

  --btn-primary-bg: #C9A96E;
  --btn-primary-text: #12100E;

  /* Status Tokens */
  --status-success: #5E9A78;
  --status-absent: #B86565;
  --status-neutral: #8E857B;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* High Quality Smooth Easing */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 450ms var(--ease-luxury);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent native smooth scroll from competing with Lenis momentum scroll */
html.lenis,
html.lenis body {
  scroll-behavior: auto !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Scroll Lock on Opening Gate */
html.is-locked,
body.is-locked {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100vh !important;
  touch-action: none;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
}

/* ==========================================================================
   GLOBAL PERSISTENT VIDEO BACKGROUND (ALL SECTIONS SIT ON TOP)
   ========================================================================== */

.global-video-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #0F0E0D;
}

#global-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.08);
  transform: scale(1.02);
  will-change: transform;
}

.global-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 14, 13, 0.45) 0%,
    rgba(15, 14, 13, 0.28) 40%,
    rgba(15, 14, 13, 0.55) 75%,
    rgba(15, 14, 13, 0.85) 100%
  );
  z-index: 1;
}

.global-video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(15, 14, 13, 0.65) 100%);
  z-index: 2;
}

/* Ambient Floating Champagne Gold Dust Canvas */
.gold-dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.78;
}

/* Luxury Top Silk Scroll Progress Indicator */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 35;
  background: rgba(201, 169, 110, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-luxury);
}

body:not(.is-locked) .scroll-progress-track {
  opacity: 1;
}

.scroll-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.45) 0%, #E2C894 60%, #FFF3D6 100%);
  box-shadow: 0 0 12px rgba(226, 200, 148, 0.85);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

@media (min-width: 992px) {
  .scroll-progress-track {
    left: auto;
    right: 0;
    width: 460px;
    max-width: 480px;
  }
}

/* ==========================================================================
   LAYOUT ARCHITECTURE (SPLIT-SCREEN ON DESKTOP, APP-LIKE ON MOBILE)
   ========================================================================== */

.app-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 5;
  background: transparent;
}

/* ==========================================================================
   DESKTOP LEFT PANEL: PREWEDDING PHOTO & UPWARD LIGHTNING BEAMS
   ========================================================================== */

.left-lightning-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.left-lightning-beam {
  position: absolute;
  bottom: -180px;
  left: 28%;
  width: 4px;
  height: 320px;
  background: linear-gradient(
    180deg,
    rgba(245, 239, 230, 0.95) 0%,
    rgba(226, 200, 148, 0.75) 30%,
    rgba(201, 169, 110, 0.3) 70%,
    transparent 100%
  );
  filter: blur(3px) drop-shadow(0 0 18px rgba(226, 200, 148, 0.85));
  opacity: 0;
  animation: lightningSweep 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: bottom center;
}

.left-lightning-beam-secondary {
  position: absolute;
  bottom: -220px;
  left: 62%;
  width: 3px;
  height: 380px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(226, 200, 148, 0.6) 40%,
    rgba(201, 169, 110, 0.2) 80%,
    transparent 100%
  );
  filter: blur(4px) drop-shadow(0 0 22px rgba(201, 169, 110, 0.75));
  opacity: 0;
  animation: lightningSweep 10s 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: bottom center;
}

@keyframes lightningSweep {
  0% {
    transform: translateY(120%) scaleY(0.7) rotate(-3deg);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  45% {
    opacity: 0.95;
    filter: blur(2px) drop-shadow(0 0 24px rgba(226, 200, 148, 0.95));
  }
  80% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(-280%) scaleY(1.3) rotate(3deg);
    opacity: 0;
  }
}

/* Base Mobile Frame Container (Default: Mobile < 992px) */
.mobile-frame {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  background: transparent;
  min-height: 100vh;
  z-index: 10;
}

/* Desktop Left Panel: Fixed Ambient Typography Showcase (>= 992px) */
.desktop-left-panel {
  display: none;
}

@media (min-width: 992px) {
  /* Desktop Video Background: Bound strictly to the right 460px invitation column! */
  .global-video-background {
    left: auto !important;
    right: 0 !important;
    width: 460px !important;
    max-width: 480px !important;
    height: 100vh;
    border-left: 1px solid var(--border-subtle);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
    background-color: #0F0E0D;
  }

  .global-video-vignette {
    background: radial-gradient(circle at center, transparent 35%, rgba(15, 14, 13, 0.65) 100%);
  }

  .desktop-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(100% - 460px);
    height: 100vh;
    overflow: hidden;
    z-index: 10;
    padding: 60px 80px;
    pointer-events: none;
    background-image: url('../../assets/dummy-desktop-left.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0F0E0D;
  }

  .desktop-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(15, 14, 13, 0.4) 0%,
      rgba(15, 14, 13, 0.2) 40%,
      rgba(15, 14, 13, 0.75) 80%,
      rgba(15, 14, 13, 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .desktop-branding {
    position: relative;
    z-index: 5;
    max-width: 640px;
    animation: fadeUp 1.2s var(--ease-luxury) forwards;
  }

  .eyebrow-desktop {
    display: block;
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-weight: 500;
  }

  .couple-name-desktop {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  }

  .date-stamp-desktop {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.25em;
    color: var(--accent-hover);
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }

  .desktop-divider {
    width: 80px;
    height: 1px;
    background: var(--accent-primary);
    margin-bottom: 20px;
    opacity: 0.6;
  }

  .desktop-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }

  /* Right Invitation Frame on Desktop: Transparent so video background shows through after opening! */
  .mobile-frame {
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 460px !important;
    max-width: 480px !important;
    min-height: 100vh;
    background: transparent !important;
    border-left: 1px solid var(--border-subtle);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
    position: relative;
    z-index: 20;
  }
}

/* All Sections Are Transparent Over The Video Background */
.section {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
  background: transparent;
  perspective: 1100px;
}

/* Ornamental Champagne-Gold Section Transition Divider */
.luxury-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 44px;
  position: relative;
  z-index: 6;
  pointer-events: none;
}

.luxury-section-divider .divider-line {
  flex: 1;
  max-width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 169, 110, 0.6) 50%, transparent 100%);
  transform-origin: center;
}

.luxury-section-divider .divider-diamond {
  font-size: 11px;
  line-height: 1;
  color: var(--accent-hover);
  text-shadow: 0 0 12px rgba(226, 200, 148, 0.75);
}

.container {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow-text {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.section-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.section-subtitle {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   ELEVATED GLASS CARDS & BUTTONS SYSTEM
   ========================================================================== */

.glass-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(245, 239, 230, 0.08);
}

/* Subtle top champagne crystal bevel highlight */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 200, 148, 0.45) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Diagonal champagne sheen sweep when card enters viewport */
.glass-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -130%;
  width: 70%;
  height: 140%;
  background: linear-gradient(
    112deg,
    transparent 0%,
    rgba(226, 200, 148, 0.04) 35%,
    rgba(245, 239, 230, 0.13) 50%,
    rgba(226, 200, 148, 0.04) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 3;
}

.glass-card.is-sheen-active::before {
  animation: luxuryCardSheen 2.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes luxuryCardSheen {
  0% {
    left: -130%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    left: 165%;
    opacity: 0;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 24px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury), color 0.35s var(--ease-luxury), transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(201, 169, 110, 0.5);
  outline: none;
}

.btn-outline {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  padding: 0 22px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.14) 0%, rgba(18, 16, 14, 0.82) 100%);
  border: 1px solid rgba(201, 169, 110, 0.42);
  border-radius: 9999px;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(245, 239, 230, 0.12);
  cursor: pointer;
  transition: background 0.42s var(--ease-luxury), border-color 0.42s var(--ease-luxury), color 0.42s var(--ease-luxury), transform 0.42s var(--ease-luxury), box-shadow 0.42s var(--ease-luxury);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: linear-gradient(135deg, rgba(226, 200, 148, 0.28) 0%, rgba(201, 169, 110, 0.14) 100%);
  border-color: var(--accent-hover);
  color: #FFF7E8;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 18px rgba(201, 169, 110, 0.25);
  outline: none;
}

.btn-outline:active {
  transform: translateY(0) scale(0.985);
}

.btn-event-maps .btn-map-pin {
  color: var(--accent-hover);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-luxury);
}

.btn-event-maps .btn-map-arrow {
  color: var(--accent-primary);
  opacity: 0.85;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-luxury), color 0.3s ease;
}

.btn-event-maps:hover .btn-map-pin {
  transform: translateY(-1px) scale(1.08);
}

.btn-event-maps:hover .btn-map-arrow {
  transform: translate(2.5px, -2.5px);
  color: #FFF7E8;
}

/* ==========================================================================
   SECTION 01: COVER GATE (OPENING GATE OVER PHOTO)
   ========================================================================== */

.cover-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
  width: 100%;
  padding: 60px 24px calc(24px + env(safe-area-inset-bottom));
  overflow: hidden;
  transition: transform 1.1s var(--ease-luxury), opacity 0.85s var(--ease-luxury), filter 0.8s ease, visibility 1.1s;
  will-change: transform, opacity, filter;
  background-image: url('../../assets/dummy-cover-portrait.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0F0E0D;
}

@media (min-width: 992px) {
  .cover-gate {
    left: auto !important;
    right: 0 !important;
    width: 460px !important;
    max-width: 480px !important;
    border-left: 1px solid var(--border-subtle);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
    background-image: url('../../assets/dummy-cover-portrait.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0F0E0D;
  }
}

.cover-gate.is-opened {
  transform: translateY(-100%) scale(1.02);
  opacity: 0;
  filter: blur(6px);
  visibility: hidden;
  pointer-events: none;
}

.cover-gate-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 14, 13, 0.45) 0%,
    rgba(15, 14, 13, 0.25) 35%,
    rgba(15, 14, 13, 0.65) 75%,
    rgba(15, 14, 13, 0.88) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.cover-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.cover-top-brand {
  margin-top: 40px;
}

.couple-display-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 12px 0 16px;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cover-date-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid var(--accent-gold-border);
  background: rgba(20, 18, 16, 0.65);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--accent-primary);
  backdrop-filter: blur(10px);
}

.cover-guest-card {
  width: 100%;
  max-width: 360px;
  background: rgba(20, 18, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.guest-salutation {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.guest-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 8px;
  word-break: break-word;
}

.guest-disclaimer {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-style: italic;
}

.btn-open-invitation {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);
  }
  50% {
    box-shadow: 0 4px 32px rgba(201, 169, 110, 0.65);
  }
}

/* ==========================================================================
   SECTION 02: HERO OPENING
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow: hidden;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

body:not(.is-locked) .hero-eyebrow {
  animation: fadeUp 1s 0.2s var(--ease-luxury) both;
}

body:not(.is-locked) .hero-title {
  animation: fadeUp 1.1s 0.35s var(--ease-luxury) both;
}

body:not(.is-locked) .hero-date-wrapper {
  animation: fadeUp 1.1s 0.5s var(--ease-luxury) both;
}

body:not(.is-locked) .scroll-indicator {
  animation: fadeUp 1.2s 0.65s var(--ease-luxury) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 12px 0 14px;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 14px;
}

.hero-ornament-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 169, 110, 0.85) 50%, transparent 100%);
  transform-origin: center;
}

.hero-ornament-diamond {
  color: var(--accent-hover);
  font-size: 10px;
  text-shadow: 0 0 12px rgba(226, 200, 148, 0.75);
}

.hero-date-text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.3em;
  color: var(--accent-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--accent-primary);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mouse-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--accent-primary);
  transform: translateX(-50%);
  border-radius: 2px;
  animation: mouse-scroll 1.8s infinite;
}

@keyframes mouse-scroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

.scroll-text {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   SECTION 03: AYAT SUCI / QUOTE
   ========================================================================== */

.quote-card {
  text-align: center;
  padding: 40px 24px;
}

.monogram-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ornament-line {
  width: 48px;
  height: 1px;
  background: var(--accent-gold-border);
}

.ornament-gem {
  color: var(--accent-primary);
  font-size: 12px;
}

.arabic-text {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 22px;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.quote-translation {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 18px;
}

.quote-scripture {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.quote-citation {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
}

/* ==========================================================================
   SECTION 04: BRIDE & GROOM
   ========================================================================== */

.profile-card {
  text-align: center;
  padding: 32px 20px 28px;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 169, 110, 0.15);
}

.profile-image-frame {
  position: relative;
  width: 180px;
  height: 240px;
  margin: 0 auto 24px;
  border-radius: 120px 120px 12px 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--accent-primary);
  background: #141210;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.profile-card:hover .profile-img {
  transform: scale(1.05);
}

.role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.profile-fullname {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.profile-parents {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn-pill-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(15, 14, 13, 0.6);
  border: 1px solid var(--accent-gold-border);
  border-radius: 9999px;
  font-size: 11px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-luxury);
}

.btn-pill-social:hover {
  border-color: var(--accent-primary);
  color: var(--accent-hover);
  background: rgba(201, 169, 110, 0.18);
  transform: translateY(-2px);
}

.couple-ampersand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent-primary);
  text-align: center;
  margin: 30px 0;
  opacity: 0.9;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   SECTION 05: COUNTDOWN & SAVE THE DATE
   ========================================================================== */

.countdown-card {
  padding: 36px 20px;
  text-align: center;
}

.countdown-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 8px 0 10px;
}

.countdown-date-badge {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.25em;
  color: var(--accent-primary);
  margin-bottom: 30px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.timer-box {
  background: rgba(15, 14, 13, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.timer-box:hover {
  transform: translateY(-2px);
}

.timer-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-hover);
  line-height: 1.1;
  margin-bottom: 4px;
  display: inline-block;
  transition: transform 0.45s var(--ease-luxury), text-shadow 0.45s ease;
}

.timer-number.is-ticking {
  transform: scale(1.08);
  text-shadow: 0 0 16px rgba(226, 200, 148, 0.7);
}

.timer-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-calendar {
  width: auto;
  min-width: 220px;
}

/* ==========================================================================
   SECTION 06: WEDDING EVENT CARDS
   ========================================================================== */

.event-card {
  padding: 32px 24px;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 169, 110, 0.15);
}

.event-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid var(--accent-gold-border);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-day {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.event-huge-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-hover);
  margin: 6px 0;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.event-month-year {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.event-divider {
  width: 40px;
  height: 1px;
  background: var(--accent-gold-border);
  margin: 20px auto;
}

.event-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.event-time svg {
  color: var(--accent-primary);
}

.event-venue {
  margin-bottom: 24px;
}

.venue-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.venue-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.venue-address {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 07: DRESSCODE
   ========================================================================== */

.dresscode-card {
  text-align: center;
  padding: 36px 20px;
}

.dresscode-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.color-swatches-wrapper {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swatch-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease-luxury);
}

.swatch-circle:hover {
  transform: scale(1.18);
}

.swatch-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.dresscode-img-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: 340px;
  margin: 0 auto;
}

.dresscode-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.dresscode-img-frame:hover .dresscode-photo {
  transform: scale(1.04);
}

/* ==========================================================================
   SECTION 08: LIVE STREAMING
   ========================================================================== */

.live-card {
  padding: 36px 24px;
  text-align: center;
}

.live-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(184, 101, 101, 0.18);
  border: 1px solid rgba(184, 101, 101, 0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #E28484;
  margin-bottom: 16px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E28484;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.live-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.live-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-live {
  width: auto;
  min-width: 230px;
}

/* ==========================================================================
   SECTION 09: LOVE STORY
   ========================================================================== */

.story-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.story-timeline-spine {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(201, 169, 110, 0.14);
  border-radius: 9999px;
  z-index: 0;
  pointer-events: none;
}

.story-timeline-spine-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.35) 0%, #E2C894 60%, #FFF1CE 100%);
  box-shadow: 0 0 14px rgba(226, 200, 148, 0.75);
  border-radius: 9999px;
  transform-origin: top center;
  transform: scaleY(0);
  will-change: transform;
}

.story-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 169, 110, 0.12);
}

.story-img-frame {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #141210;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s var(--ease-luxury);
}

.story-card:hover .story-photo {
  transform: scale(1.05);
}

.story-body {
  padding: 22px 20px;
}

.story-date {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.story-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.story-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 10: OUR MOMENTS (PHOTO GALLERY & LIGHTBOX TRANSITION)
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
}

.gallery-item:nth-child(3n + 1) {
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-luxury);
}

.overlay-icon {
  font-size: 28px;
  color: var(--accent-hover);
  transform: scale(0.8);
  transition: transform 0.35s var(--ease-luxury);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .overlay-icon {
  transform: scale(1);
}

/* Lightbox Modal (Transparent Video Background) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-luxury), visibility 0.35s;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 102;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(201, 169, 110, 0.2);
  border: 1.5px solid var(--accent-gold-border);
  transform: scale(0.92);
  transition: transform 0.6s var(--ease-luxury), opacity 0.38s ease, filter 0.42s ease;
  background: rgba(20, 18, 16, 0.6);
}

.lightbox-modal.is-open .lightbox-content img {
  transform: scale(1);
}

.lightbox-modal.is-open .lightbox-content img.is-switching {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(4px);
}

.lightbox-counter {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent-hover);
  font-family: var(--font-display);
  background: rgba(20, 18, 16, 0.65);
  border: 1px solid var(--accent-gold-border);
  padding: 4px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1;
  z-index: 103;
  transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  color: var(--accent-hover);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 18, 16, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 103;
  transition: all 0.3s var(--ease-luxury);
}

.lightbox-nav:hover {
  background: var(--accent-primary);
  color: var(--btn-primary-text);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================================================
   SECTION 11: WEDDING GIFT (ACCORDION)
   ========================================================================== */

.gift-card {
  text-align: center;
  padding: 36px 20px;
}

.gift-subtitle {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-toggle-gift {
  width: auto;
  min-width: 230px;
  padding: 0 26px;
  margin: 0 auto;
  background: linear-gradient(135deg, #DEC084 0%, #C59F5B 55%, #E7CE98 100%);
  color: #14110D;
  border: 1px solid rgba(255, 244, 214, 0.35);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.32), inset 0 1px 0 rgba(255, 250, 236, 0.5);
  transition: background 0.45s var(--ease-luxury), border-color 0.45s var(--ease-luxury), color 0.45s var(--ease-luxury), transform 0.45s var(--ease-luxury), box-shadow 0.45s var(--ease-luxury);
}

.btn-toggle-gift:hover,
.btn-toggle-gift:focus-visible {
  background: linear-gradient(135deg, #EAD19E 0%, #D4B06C 55%, #F2DEA9 100%);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.45), inset 0 1px 0 rgba(255, 252, 242, 0.65);
  transform: translateY(-2px);
}

.btn-toggle-gift[aria-expanded="true"] {
  background: rgba(18, 16, 14, 0.88);
  color: var(--accent-hover);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(201, 169, 110, 0.18);
}

.btn-toggle-gift[aria-expanded="true"]:hover {
  background: rgba(201, 169, 110, 0.16);
  color: #FFF7E8;
}

.gift-btn-icon {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-luxury);
}

.btn-toggle-gift:hover .gift-btn-icon {
  transform: scale(1.08);
}

.chevron-icon {
  transition: transform 0.55s var(--ease-luxury);
}

.btn-toggle-gift[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

/* Pure CSS Grid Accordion Transition */
.gift-accordion {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.85s var(--ease-luxury);
  margin-top: 16px;
}

.gift-accordion.is-open {
  grid-template-rows: 1fr;
}

.gift-accordion-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.75s var(--ease-luxury);
}

.gift-accordion.is-open .gift-accordion-inner {
  opacity: 1;
  transform: translateY(0);
  padding-top: 12px;
}

.bank-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(226, 200, 148, 0.14) 0%, transparent 45%),
    linear-gradient(135deg, rgba(32, 28, 25, 0.96) 0%, rgba(18, 16, 14, 0.96) 55%, rgba(26, 22, 19, 0.96) 100%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 16px;
  padding: 22px 20px 20px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 245, 220, 0.1);
  transition: transform 0.4s var(--ease-luxury), border-color 0.4s ease, box-shadow 0.4s ease;
}

.bank-card:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 200, 148, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 169, 110, 0.18);
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.bank-chip-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bank-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-hover);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bank-chip {
  display: inline-flex;
  width: 44px;
  height: 32px;
  border-radius: 6px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(138, 102, 39, 0.45),
    inset 0 1px 1px rgba(255, 248, 224, 0.55);
  overflow: hidden;
  flex-shrink: 0;
}

.bank-chip svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bank-contactless {
  color: rgba(226, 200, 148, 0.55);
  flex-shrink: 0;
}

.bank-number-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bank-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: rgba(201, 169, 110, 0.14);
  border: 1px solid rgba(201, 169, 110, 0.42);
  border-radius: 9999px;
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury), color 0.35s var(--ease-luxury), transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury);
}

.btn-copy:hover,
.btn-copy:focus-visible {
  background: var(--accent-primary);
  border-color: var(--accent-hover);
  color: var(--btn-primary-text);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(201, 169, 110, 0.3);
  outline: none;
}

.btn-copy:active {
  transform: scale(0.97);
}

.btn-copy.is-copied {
  background: rgba(94, 154, 120, 0.24);
  border-color: var(--status-success);
  color: #9EE2BA;
}

.bank-holder {
  font-size: 12px;
  color: var(--text-muted);
}

.physical-gift-card {
  background: rgba(15, 14, 13, 0.7);
  border: 1px dashed var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
}

.physical-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.physical-recipient {
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.physical-address {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.physical-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.btn-copy-address {
  width: 100%;
  height: 38px;
}

.btn-maps-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #D9BA7C 0%, #C29B57 100%);
  border: 1px solid rgba(255, 245, 220, 0.3);
  color: #14110D;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.28);
  transition: background 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury), color 0.35s var(--ease-luxury), transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury);
}

.btn-maps-address .btn-map-arrow {
  transition: transform 0.35s var(--ease-luxury);
}

.btn-maps-address:hover,
.btn-maps-address:focus-visible {
  background: linear-gradient(135deg, #EAD19E 0%, #D4B06C 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.42);
  outline: none;
}

.btn-maps-address:hover .btn-map-arrow {
  transform: translate(2px, -2px);
}

.btn-maps-address:active {
  transform: scale(0.97);
}

/* ==========================================================================
   SECTION 12: UCAPAN & RSVP
   ========================================================================== */

.wishes-counter-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(201, 169, 110, 0.18);
  border: 1px solid var(--accent-gold-border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-hover);
}

.rsvp-form {
  padding: 26px 20px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(18, 16, 14, 0.85);
  border: 1px solid rgba(245, 239, 230, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-primary);
  transition: all 0.3s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.form-textarea {
  resize: vertical;
}

.attendance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.attendance-radio input {
  display: none;
}

.radio-label {
  display: block;
  text-align: center;
  padding: 10px 4px;
  border-radius: 8px;
  border: 1px solid rgba(245, 239, 230, 0.14);
  background: rgba(18, 16, 14, 0.85);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-luxury);
}

.attendance-radio input:checked + .radio-label.status-hadir {
  background: rgba(94, 154, 120, 0.25);
  border-color: var(--status-success);
  color: #8FD4AB;
}

.attendance-radio input:checked + .radio-label.status-absen {
  background: rgba(184, 101, 101, 0.25);
  border-color: var(--status-absent);
  color: #E28484;
}

.attendance-radio input:checked + .radio-label.status-ragu {
  background: rgba(142, 133, 123, 0.25);
  border-color: var(--status-neutral);
  color: #D4CBC0;
}

/* Wishes Feed */
.wishes-feed-wrapper {
  padding: 20px;
  max-height: 420px;
  overflow-x: hidden;
  overflow-y: auto;
}

.wishes-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wish-item {
  background: rgba(15, 14, 13, 0.65);
  border: 1px solid rgba(245, 239, 230, 0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  animation: fadeUp 0.5s var(--ease-luxury) forwards;
}

.wish-item.is-new-wish {
  border-color: rgba(226, 200, 148, 0.65);
  box-shadow: 0 0 22px rgba(201, 169, 110, 0.25);
}

.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wish-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.wish-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.08em;
}

.badge-hadir {
  background: rgba(94, 154, 120, 0.2);
  color: #8FD4AB;
  border: 1px solid rgba(94, 154, 120, 0.35);
}

.badge-absen {
  background: rgba(184, 101, 101, 0.2);
  color: #E28484;
  border: 1px solid rgba(184, 101, 101, 0.35);
}

.badge-ragu {
  background: rgba(142, 133, 123, 0.2);
  color: #D4CBC0;
  border: 1px solid rgba(142, 133, 123, 0.35);
}

.wish-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.wish-time {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 13: CLOSING / TERIMA KASIH
   ========================================================================== */

.closing-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  text-align: center;
}

.closing-card {
  padding: 44px 24px;
}

.closing-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 10px 0 16px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.closing-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.closing-salam {
  font-size: 13px;
  font-style: italic;
  color: var(--accent-primary);
  margin-bottom: 36px;
}

.closing-signature {
  border-top: 1px solid var(--accent-gold-border);
  padding-top: 24px;
  display: inline-block;
  min-width: 240px;
}

.signature-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.couple-signature-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 6px;
}

.family-signature {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 14: FOOTER
   ========================================================================== */

.site-footer {
  background: rgba(9, 8, 7, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 40px 20px calc(80px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid rgba(245, 239, 230, 0.08);
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #000000;
  border: 1px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(201, 169, 110, 0.14);
  overflow: hidden;
  padding: 4px;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.footer-couple {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(20, 18, 16, 0.75);
  border: 1px solid var(--accent-gold-border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: background 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury), color 0.35s var(--ease-luxury), transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury);
}

.footer-ig-link svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.footer-ig-link:hover,
.footer-ig-link:focus-visible {
  background: rgba(201, 169, 110, 0.16);
  border-color: var(--accent-primary);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(201, 169, 110, 0.2);
  outline: none;
}

.footer-credit-link {
  color: var(--accent-primary);
  transition: color 0.3s ease;
}

.footer-credit-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING AUDIO CONTROLLER (SPINNING VINYL)
   ========================================================================== */

.floating-audio-disc {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.88);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s;
}

@media (min-width: 992px) {
  .floating-audio-disc {
    right: 32px;
    bottom: 32px;
  }
}

.floating-audio-disc:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.35);
}

.disc-vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 8s linear infinite;
  animation-play-state: paused;
}

.disc-vinyl.is-playing {
  animation-play-state: running;
}

.disc-grooves {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 169, 110, 0.4);
}

.disc-center-label {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-primary-text);
}

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

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 10px 20px;
  background: rgba(24, 22, 20, 0.95);
  border: 1px solid var(--accent-primary);
  border-radius: 9999px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  animation: toast-in 0.35s var(--ease-luxury) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   KEYFRAMES & SCROLL REVEAL TRANSITIONS
   ========================================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.85s var(--ease-luxury), transform 0.85s var(--ease-luxury);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   GSAP LUXURY MOTION ENGINE OVERRIDES (PROGRESSIVE ENHANCEMENT)
   When motion.js initializes GSAP + ScrollTrigger, neutralize legacy CSS
   reveal transitions so GSAP owns GPU-composited transforms cleanly.
   ========================================================================== */

html.has-luxury-motion .reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

html.has-luxury-motion .cover-gate {
  transition: none;
}

html.has-luxury-motion body:not(.is-locked) .hero-eyebrow,
html.has-luxury-motion body:not(.is-locked) .hero-title,
html.has-luxury-motion body:not(.is-locked) .hero-date-wrapper,
html.has-luxury-motion body:not(.is-locked) .scroll-indicator {
  animation: none;
}

/* Reduced Motion Fallback */
@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;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .disc-vinyl {
    animation: none !important;
  }
  .gold-dust-canvas {
    display: none !important;
  }
}
