/* ==========================================================================
   THE WEDDING OF GUSWIK & FITRI — SISTEM DESAIN & ANIMASI (DESIGN.MD & ANIMATION.MD)
   ========================================================================== */

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

:root {
  /* DS-11 Netral Hangat — dari Background.jpg */
  --cream-50:  #FBF3E4;  /* latar halaman */
  --cream-100: #F6E7D0;  /* langit ilustrasi */
  --peach-200: #EBC9A0;  /* kabut dedaunan peach */
  --sage-300:  #B9BCA8;  /* siluet palem */
  --stone-500: #8D775F;  /* batu gapura */

  /* Emas — pita atas & penjor */
  --gold-300: #E3B766;   /* highlight, shimmer */
  --gold-500: #C58A3C;   /* emas utama */
  --gold-700: #A8732F;   /* emas bayangan */
  --gold-gradient: linear-gradient(135deg, #F7DFA5 0%, #C58A3C 50%, #8F6A15 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(236,200,118,0.2) 0%, rgba(197,155,39,0.3) 100%);

  /* Tropis — dedaunan depan */
  --leaf-600: #3F7A3A;
  --leaf-800: #2C5230;
  --coral-500: #C4474B;  /* bunga merah */

  /* Kertas surat — dari card.png */
  --paper:          #F4EFE6;
  --paper-edge:     #E6DED0;
  --ink-terracotta: #B84A2A;  /* tulisan tangan nama */
  --ink-tagline:    #6B4A33;  /* tagline kecil */

  /* Cokelat — dari template (page berikutnya, teks) */
  --cocoa-900: #2B1D14;
  --cocoa-800: #3B2A1E;
  --cocoa-600: #5A4332;

  --royal-maroon: #541723;
  --royal-maroon-dark: #380d16;
  --royal-maroon-light: #7c2637;

  --bg-cream: #faf6f0;
  --bg-card: rgba(255, 255, 255, 0.94);
  --border-gold: rgba(197, 138, 60, 0.35);
  --border-gold-strong: rgba(197, 138, 60, 0.7);
  --shadow-soft: 0 10px 30px rgba(59, 42, 30, 0.08);
  --shadow-gold: 0 8px 25px rgba(197, 138, 60, 0.25);

  /* DS-20 Tipografi */
  --font-cover:   'Pinyon Script', 'Great Vibes', cursive;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Cormorant Garamond', 'Poppins', serif;
  --font-accent:  'Pinyon Script', cursive;
  --font-heading: 'Playfair Display', serif;

  /* A-10 Token Gerak */
  --d-xs: 240ms;  --d-sm: 450ms;  --d-md: 800ms;
  --d-lg: 1200ms; --d-xl: 2000ms;

  --ease-out:     cubic-bezier(.22, 1, .36, 1);   /* tumbuh, mendarat */
  --ease-inout:   cubic-bezier(.65, 0, .35, 1);   /* transisi kamera */
  --ease-write:   cubic-bezier(.4, 0, .2, 1);     /* tulisan tangan */
  --ease-settle:  cubic-bezier(.34, 1.3, .64, 1); /* sedikit overshoot */

  --max-w: 480px;
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--cocoa-900);
  background-color: #1a1512;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(197, 138, 60, 0.15), transparent 70%),
    radial-gradient(circle at 50% 100%, rgba(59, 42, 30, 0.25), transparent 70%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  line-height: 1.6;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

/* Outer Desktop Frame */
.app-viewport {
  width: 100%;
  max-width: var(--max-w);
  min-height: 100vh;
  background-color: var(--bg-cream);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 138, 60, 0.2);
  overflow-x: hidden;
}

.bg-texture-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(#9e7518 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  height: 100%;
  pointer-events: none;
  z-index: 99;
}

/* ==========================================================================
   1. SAMPUL UNDANGAN (COVER SECTION — DESIGN.MD & ANIMATION.MD)
   ========================================================================== */
.cover {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 1000;
  background-color: var(--cream-50);
  user-select: none;
  cursor: pointer;
}

/* L0-bg: Ilustrasi Gapura Bali (Wash-to-clear) */
.cover .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  transform-origin: 50% 40%;
  will-change: transform, opacity, filter;
}

/* L1-shine: Kilau Emas Pita Atas */
.cover .shine {
  position: absolute;
  inset: 0 0 auto 0;
  height: 17vw;
  max-height: 120px;
  z-index: 5;
  background: linear-gradient(100deg, transparent 35%, var(--gold-300) 50%, transparent 65%);
  mix-blend-mode: overlay;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   TREE FRAME: ANIMASI POHON MUNCUL DARI KIRI & KANAN + BERGOYANG KONTINU
   ========================================================================== */
.tree-curtain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* Wings (Sayap Pohon Kiri & Kanan - di belakang surat, di depan gapura) */
.tree-wing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 16;
  will-change: transform, opacity;
}

.tree-slot {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.tree-sway {
  width: 100%;
  height: 100%;
  transform-origin: 48% 92%;
  will-change: transform;
}

.tree-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(43, 29, 20, 0.24));
}

.tree-img--flip {
  transform: scaleX(-1);
}

/* Left Side Trees (tree 2.png hijau di belakang atas, tree.png marun di tengah, tree 1.png emas di bawah) */
.tree-slot--left-back {
  width: 84%;
  bottom: 24%;
  left: -46%;
  z-index: 1;
}

.tree-slot--left-mid {
  width: 74%;
  bottom: 14%;
  left: -38%;
  z-index: 2;
}

.tree-slot--left-low {
  width: 64%;
  bottom: 5%;
  left: -32%;
  z-index: 3;
}

/* Right Side Trees (tree 2.png hijau di belakang atas, tree 1.png emas di tengah, tree.png marun di bawah) */
.tree-slot--right-back {
  width: 84%;
  bottom: 24%;
  right: -46%;
  z-index: 1;
}

.tree-slot--right-mid {
  width: 74%;
  bottom: 14%;
  right: -38%;
  z-index: 2;
}

.tree-slot--right-low {
  width: 64%;
  bottom: 5%;
  right: -32%;
  z-index: 3;
}

/* Bottom Foreground Rumpun Dedaunan */
.tree-curtain__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  pointer-events: none;
  z-index: 29;
}

/* L2 & L3: Rumpun Dedaunan Depan */
.cover .fg {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.cover .fg img {
  width: 100%;
  height: auto;
  display: block;
}

.cover .fg--bc {
  left: 50%;
  bottom: -10vw;
  transform: translateX(-50%);
  width: 44vw;
  max-width: 220px;
  z-index: 10;
  transform-origin: 50% 100%;
}

.cover .fg--bl {
  left: -14vw;
  bottom: -6vw;
  width: 62vw;
  max-width: 300px;
  z-index: 12;
  transform-origin: 0% 100%;
}

.cover .fg--br {
  right: -16vw;
  bottom: -8vw;
  width: 66vw;
  max-width: 320px;
  z-index: 12;
  transform-origin: 100% 100%;
}

/* L3b-drift: Daun Melayang */
.cover .drift {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 14;
  overflow: hidden;
}

.drift-leaf {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

/* L4-paper: Kertas Surat (DS-50) */
.cover .letter-wrapper {
  position: absolute;
  left: 50%;
  top: 42svh;
  top: 42vh;
  transform: translate(-50%, -50%);
  width: min(58vw, 260px);
  aspect-ratio: 2 / 3;
  z-index: 20;
  will-change: transform, opacity;
}

.cover .letter {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotate(-1.2deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 .4  0 0 0 0 .33  0 0 0 0 .25  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    var(--paper);
  border-radius: 2px;
  box-shadow:
    0 1px 0 var(--paper-edge) inset,
    0 2px 4px rgba(43,29,20,.18),
    0 14px 28px -8px rgba(43,29,20,.35),
    0 30px 50px -20px rgba(43,29,20,.30);
  overflow: hidden;
  padding: 16px 14px;
}

.letter__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--ink-tagline);
  margin: 0 0 0.8em;
  will-change: letter-spacing, opacity;
}

.letter__names {
  margin: 0;
  font-family: var(--font-cover);
  font-weight: 400;
  font-size: clamp(42px, 13.5vw, 60px);
  line-height: 0.95;
  color: var(--ink-terracotta);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letter__names .w {
  display: inline-block;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 60%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 60%, transparent 100%);
  -webkit-mask-size: 250% 100%;
          mask-size: 250% 100%;
  -webkit-mask-position: 100% 0;
          mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transform: translateY(6px);
}

.letter__names .w.is-writing {
  animation: writeName var(--dur, 1100ms) var(--ease-write) var(--delay, 0ms) forwards;
}

@keyframes writeName {
  to {
    -webkit-mask-position: 0 0;
            mask-position: 0 0;
    transform: translateY(0);
  }
}

.w--1 { --dur: 1100ms; --delay: 0ms; }
.w--amp { --dur: 400ms; --delay: 1100ms; font-size: 0.7em; margin: 0.05em 0; }
.w--2 { --dur: 1100ms; --delay: 1500ms; }

.letter__tagline {
  margin: 1.2em 0 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .12em;
  color: var(--ink-tagline);
}

/* Sapaan Tamu pada Kertas Surat */
.letter__guest {
  margin-top: 1em;
  padding: 5px 12px;
  background: rgba(184, 74, 42, 0.05);
  border-radius: 4px;
  border-top: 1px dashed rgba(197, 138, 60, 0.3);
  border-bottom: 1px dashed rgba(197, 138, 60, 0.3);
  width: 90%;
}

.letter__guest-intro {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-tagline);
  margin-bottom: 2px;
}

.letter__guest-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-terracotta);
  letter-spacing: 0.03em;
  text-transform: capitalize;
  word-break: break-word;
}

/* Bayangan Daun di Permukaan Kertas (DS-53) */
.letter__leafshadow {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 90%;
  aspect-ratio: 1;
  background: url('assets/leave3.webp') center / contain no-repeat;
  filter: brightness(0) blur(7px);
  opacity: .10;
  mix-blend-mode: multiply;
  transform: rotate(18deg);
  pointer-events: none;
}

/* L5-paper-flowers: Bunga Kecil Sudut Kertas (DS-54) */
.letter-flowers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 22;
}

.letter-flower {
  position: absolute;
  display: block;
}

.flower--tl {
  top: -6%;
  left: -14%;
  width: 34%;
}

.flower--br {
  bottom: -4%;
  right: -12%;
  width: 30%;
}

.flower--bl {
  bottom: 6%;
  left: -16%;
  width: 24%;
}

/* L6-ink: Tempat Tinta & Pena (DS-54, A-25) */
.cover .ink {
  position: absolute;
  bottom: -8%;
  right: -22%;
  width: 16vw;
  max-width: 75px;
  transform: rotate(8deg);
  z-index: 24;
  pointer-events: none;
  will-change: transform;
}

/* L7-ui: Tombol Buka Undangan (DS-55, A-26) */
.cover .cta {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: max-content;
  bottom: calc(16vh);
  transform: none;
  background: var(--cocoa-800);
  color: var(--cream-50);
  border: 1px solid var(--gold-500);
  height: 44px;
  border-radius: 999px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 4px 15px rgba(43, 29, 20, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  outline: none;
}

.cover .cta:hover,
.cover .cta:focus {
  background: var(--cocoa-900);
  border-color: var(--gold-300);
  transform: scale(0.97);
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.cover .cta.is-ready {
  animation: ctaPulse 2800ms ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 138, 60, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(197, 138, 60, 0.22); }
}

/* Veil Transisi Buka Gapura (A-30) */
.cover .veil {
  position: absolute;
  inset: 0;
  background: var(--cocoa-800);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.8s var(--ease-inout);
}

/* ==========================================================================
   A-27 IDLE ANIMATIONS
   ========================================================================== */
.cover.is-idle .fg--bl {
  animation: swayBL 5.5s ease-in-out infinite alternate;
}
.cover.is-idle .fg--br {
  animation: swayBR 7s ease-in-out infinite alternate;
}
.cover.is-idle .fg--bc {
  animation: swayBC 6.2s ease-in-out infinite alternate;
}
.cover.is-idle .letter-wrapper {
  animation: floatPaper 6s ease-in-out infinite alternate;
}
.cover.is-idle .ink {
  animation: wobbleInk 5s ease-in-out infinite alternate;
}

@keyframes swayBL {
  0%   { transform: rotate(-1.2deg); }
  100% { transform: rotate(1.2deg); }
}

@keyframes swayBR {
  0%   { transform: rotate(1.2deg); }
  100% { transform: rotate(-1.2deg); }
}

@keyframes swayBC {
  0%   { transform: translateX(-50%) translateY(0px) rotate(-0.8deg); }
  100% { transform: translateX(-50%) translateY(-3px) rotate(0.8deg); }
}

@keyframes floatPaper {
  0%   { transform: translate(-50%, -50%) translateY(0px) rotate(-1.2deg); }
  100% { transform: translate(-50%, -50%) translateY(-3px) rotate(-0.9deg); }
}

@keyframes wobbleInk {
  0%   { transform: rotate(7deg) translateY(0); }
  100% { transform: rotate(9.5deg) translateY(-2px); }
}

/* ==========================================================================
   FLOATING MUSIC PLAYER CONTROLLER
   ========================================================================== */
.music-controller {
  position: fixed;
  bottom: 24px;
  right: calc(50% - (var(--max-w) / 2) + 20px);
  z-index: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(197, 138, 60, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #fff;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7);
}

@media (max-width: 480px) {
  .music-controller {
    right: 20px;
  }
}

.music-controller.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.music-controller .disc-icon {
  width: 22px;
  height: 22px;
  fill: var(--cocoa-900);
}

.music-controller.playing .disc-icon {
  animation: spinSlow 4s linear infinite;
}

.music-controller:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   GENERAL SECTION & CONTAINER STYLES
   ========================================================================== */
.section {
  position: relative;
  padding: 60px 20px;
  z-index: 10;
}

.section-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  text-align: center;
}

.section-card::before {
  display: none !important;
}

.balinese-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
  color: var(--gold-500);
}

.balinese-divider::before,
.balinese-divider::after {
  content: '';
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.balinese-divider svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Pembatas Antar Section (Ornamental Flourish) */
.section-divider-pembatas {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 16px;
  padding: 0 20px;
  max-width: 420px;
  position: relative;
  z-index: 6;
  text-align: center;
}

.section-divider-pembatas.pembatas-open {
  margin-top: 32px;
  margin-bottom: 16px;
}

.section-divider-pembatas.pembatas-close {
  margin-top: 16px;
  margin-bottom: 32px;
}

.section-divider-pembatas img {
  width: 250px;
  max-width: 80%;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(197, 138, 60, 0.22));
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* Pembatas Membuka Section: Normal (0 Derajat) */
.section-divider-pembatas.pembatas-open img,
.pembatas-open img {
  transform: none;
}

/* Pembatas Menutup Section: Diputar 180 Derajat */
.section-divider-pembatas.pembatas-close img,
.pembatas-close img {
  transform: rotate(180deg);
}

/* ==========================================================================
   SECTIONS DENGAN LATAR KHUSUS (Our Love Story: background1.jpg, RSVP: Redup)
   ========================================================================== */
#story-section {
  position: relative;
  background-image: url('Image/background1.webp');
  background-image: image-set(url('Image/background1.webp') type('image/webp'), url('Image/background1.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  box-shadow: inset 0 20px 40px rgba(59, 42, 30, 0.12), inset 0 -20px 40px rgba(59, 42, 30, 0.12);
  border-top: 1px solid rgba(197, 138, 60, 0.22);
  border-bottom: 1px solid rgba(197, 138, 60, 0.22);
  z-index: 5;
}

#story-section .pandawa-story-card {
  padding-top: 55px;
}

#story-section .section-eyebrow {
  color: #3b2a1e;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.9);
}

#story-section .pandawa-story-heading {
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.9);
}

#rsvp-section {
  background: linear-gradient(180deg, #ede3d3 0%, #dfcfb9 50%, #ede3d3 100%);
  box-shadow: inset 0 20px 40px rgba(59, 42, 30, 0.08), inset 0 -20px 40px rgba(59, 42, 30, 0.08);
  border-top: 1px solid rgba(197, 138, 60, 0.22);
  border-bottom: 1px solid rgba(197, 138, 60, 0.22);
  position: relative;
  z-index: 5;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 6px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cocoa-800);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-script-title {
  font-family: var(--font-cover);
  font-size: 3.2rem;
  color: var(--gold-700);
  line-height: 1.1;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--cocoa-600);
  line-height: 1.65;
  margin: 0 auto 20px;
}

/* ==========================================================================
   2. HERO HEADSECTION: "THE WEDDING OF"
   Latar redup GuswikFitri (9).jpg, tanpa border, seperti headsection pada umumnya
   ========================================================================== */
.hero-headsection {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 70px 20px 45px;
  background-image: 
    linear-gradient(180deg, 
      rgba(15, 12, 10, 0.40) 0%, 
      rgba(18, 14, 11, 0.65) 45%, 
      rgba(15, 12, 10, 0.92) 100%),
    image-set(url('Image/GuswikFitri-9-hero.webp') type('image/webp'), url('Image/GuswikFitri (9).jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  color: #fff;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-butterfly-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 50px;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  animation: floatSlow 3s ease-in-out infinite alternate;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-script-title {
  font-family: var(--font-accent);
  font-size: clamp(48px, 14vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 138, 60, 0.35);
}

.hero-full-names {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-200);
  margin-bottom: 4px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-hashtag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(197, 138, 60, 0.2);
  border: 1px solid rgba(197, 138, 60, 0.55);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  margin-bottom: 22px;
}

.hero-date-badge .date-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold-300);
}

.hero-quote-box {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  width: 100%;
  min-height: 125px;
  margin-bottom: 24px;
  max-width: 380px;
  pointer-events: none;
}

.hero-countdown-wrap {
  width: 100%;
  margin-bottom: 24px;
}

.hero-countdown-wrap .countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

.hero-countdown-wrap .countdown-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(197, 138, 60, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-countdown-wrap .countdown-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-countdown-wrap .countdown-label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-300);
}

.hero-headsection .btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #c58a3c, #9e6d2b);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(197, 138, 60, 0.4);
  transition: all 0.3s ease;
}

.hero-headsection .btn-calendar svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.hero-headsection .btn-calendar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 138, 60, 0.6);
}

/* ==========================================================================
   PAWIWAHAN & RESEPSI: GAYA "THE WEDDING OF" DENGAN LATAR DINAMIS DIGELAPKAN
   ========================================================================== */
.event-headsection {
  background-image: none !important;
  background-color: #120e0b;
  padding: 80px 20px 75px;
}

.event-dynamic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.event-dynamic-bg .event-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.event-dynamic-bg .event-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.8s ease-in-out, transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.event-dynamic-bg .event-slide-img.active {
  opacity: 1;
  transform: scale(1);
}

.event-dynamic-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 12, 10, 0.48) 0%,
    rgba(18, 14, 11, 0.72) 50%,
    rgba(15, 12, 10, 0.94) 100%
  );
}

.event-hero-content {
  z-index: 2;
}

.event-script-title {
  font-size: clamp(38px, 11vw, 56px);
  margin-bottom: 14px;
}

.event-date-badge {
  margin-bottom: 20px;
}

.event-hero-time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 390px;
  margin-bottom: 14px;
}

.event-hero-glass-box {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(197, 138, 60, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.event-glass-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.event-glass-time {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.event-hero-location-box {
  width: 100%;
  max-width: 390px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(197, 138, 60, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.event-location-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.event-loc-icon {
  width: 13px;
  height: 13px;
  fill: var(--gold-300);
}

.event-location-address {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 390px;
}

.event-hero-actions .btn-event-action {
  flex: 1 1 155px;
  padding: 12px 18px;
  cursor: pointer;
}

.event-hero-actions .btn-event-denah {
  background: rgba(197, 138, 60, 0.24);
  border: 1px solid rgba(197, 138, 60, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-hero-actions .btn-event-denah:hover {
  background: linear-gradient(135deg, #c58a3c, #9e6d2b);
}

.hero-scroll-indicator {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.75;
  animation: scrollBounce 2s infinite ease-in-out;
}

.hero-scroll-indicator span {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-indicator svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-300);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Maps Embed Container */
.maps-embed-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(197, 138, 60, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.maps-embed-container iframe {
  width: 100%;
  display: block;
}

/* Denah Lokasi Container */
.event-denah-container {
  margin-top: 26px;
  text-align: center;
  width: 100%;
}

.event-denah-header {
  margin-bottom: 12px;
}

.denah-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(197, 138, 60, 0.12);
  border: 1px solid rgba(197, 138, 60, 0.35);
  border-radius: 20px;
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 6px;
}

.denah-badge-icon {
  width: 13px;
  height: 13px;
}

.event-denah-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #2b1d14;
  margin: 0 0 4px;
}

.event-denah-sub {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #6e6e6e;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 360px;
}

.denah-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #14100c;
  border: 1.5px solid rgba(197, 138, 60, 0.45);
  box-shadow: 0 8px 24px rgba(59, 42, 30, 0.15), 0 2px 8px rgba(197, 138, 60, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.denah-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 138, 60, 0.28);
}

.denah-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.denah-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.denah-card:hover .denah-img {
  transform: scale(1.04);
}

.denah-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.denah-card:hover .denah-overlay {
  opacity: 1;
}

.denah-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.denah-zoom-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.denah-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.btn-denah-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 25px;
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-denah-zoom {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(197, 138, 60, 0.45);
  color: #3b2a1e;
  box-shadow: 0 4px 12px rgba(59, 42, 30, 0.08);
}

.btn-denah-zoom:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 138, 60, 0.35);
}

.btn-denah-zoom svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-denah-download {
  background: var(--gold-gradient);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(197, 138, 60, 0.35);
}

.btn-denah-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 138, 60, 0.5);
  filter: brightness(1.06);
}

.btn-denah-download svg {
  width: 14px;
  height: 14px;
}

/* Dress Code Section */
.dresscode-card,
.dresscode-unified {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  margin-top: 30px;
  text-align: center;
  box-shadow: none;
}

.dresscode-icon-badge {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  background: rgba(197, 138, 60, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dresscode-icon-badge svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-600);
}

.dresscode-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cocoa-900);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.dresscode-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--cocoa-800);
  margin-bottom: 20px;
  line-height: 1.5;
}

.dresscode-fabrics-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 580px;
  margin: 25px auto 0;
  padding: 0 10px;
}

.dresscode-fabric-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.dresscode-fabric-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  overflow: visible;
}

.dresscode-fabric-img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.dresscode-fabric-banner:hover .dresscode-fabric-img {
  transform: scale(1.025);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.dresscode-fabric-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.dresscode-color-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  border: 1.5px solid #ffffff;
}

.dresscode-fabric-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--cocoa-900);
}

.dresscode-fabric-hex {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold-700);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Countdown Grid */
.countdown-wrap {
  margin: 30px 0 25px;
}

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

.countdown-box {
  background: linear-gradient(180deg, #fff 0%, #faf6f0 100%);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 14px 6px;
  box-shadow: 0 4px 15px rgba(197, 138, 60, 0.12);
  transition: var(--transition);
}

.countdown-box:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--cocoa-800);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-700);
  font-weight: 600;
}

/* Calendar Button */
.btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--cocoa-800);
  border: 1.5px solid var(--gold-500);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(197, 138, 60, 0.15);
}

.btn-calendar:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-calendar svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ==========================================================================
   3. PROFIL MEMPELAI (BRIDE & GROOM SECTION)
   ========================================================================== */
.holy-prayer-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 15px;
  margin-bottom: 30px;
  text-align: center;
}

.holy-prayer-box p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cocoa-700);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}

.profile-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 10px 20px;
  margin-bottom: 20px;
  box-shadow: none;
  transition: var(--transition);
}

.profile-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.profile-photo-arch {
  position: relative;
  width: 220px;
  height: 305px;
  margin: 0 auto 38px;
  padding: 7px;
  border-radius: 115px 115px 0 0;
  background: #ffffff;
  border: 2.5px solid #1f1915;
  box-shadow: 0 12px 35px rgba(35, 25, 18, 0.12);
}

.profile-photo-arch-inner {
  width: 100%;
  height: 100%;
  border-radius: 108px 108px 0 0;
  overflow: hidden;
  background: #f2ece4;
}

.profile-photo-arch-inner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.profile-photo-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.4s ease;
}

/* Sedikit zoom pada foto mempelai pria agar wajah & busana lebih fokus dan seimbang dengan foto wanita */
.profile-card:last-of-type .profile-photo-arch-inner img {
  transform: scale(1.25);
  transform-origin: center 28%;
}

/* Bunga Emas di Bagian Bawah Lengkungan Sesuai Referensi */
.profile-arch-flower {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  max-width: 135%;
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16));
}

@media (max-width: 360px) {
  .profile-photo-arch {
    width: 195px;
    height: 270px;
    border-radius: 102px 102px 0 0;
    margin-bottom: 34px;
  }
  .profile-photo-arch-inner {
    border-radius: 95px 95px 0 0;
  }
  .profile-arch-flower {
    width: 250px;
    bottom: -24px;
  }
}

.profile-fullname {
  font-family: 'Dancing Script', 'Great Vibes', cursive;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--cocoa-900);
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.profile-parents-intro {
  font-size: 0.85rem;
  color: var(--gold-700);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.profile-parents-name {
  font-size: 0.95rem;
  color: var(--cocoa-900);
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 500;
}

.profile-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(197, 138, 60, 0.1);
  color: var(--cocoa-800);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--border-gold);
}

.profile-social-link:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
}

.profile-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Divider Icon Love (Ganti Ampersand) */
.couple-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto 30px;
  width: 100%;
}

.couple-love-icon {
  width: 88px;
  max-width: 92px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(180, 130, 45, 0.45));
  transition: transform 0.3s ease;
  animation: pulse-love 3.2s ease-in-out infinite alternate;
}

@keyframes pulse-love {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   PANDAWA PRINTING ANIMATION STYLES (Diterapkan Khusus Section Event & Story)
   ========================================================================== */
#event-section .inv-bawah,
#story-section .inv-bawah {
  transform: translateY(-50%);
  opacity: 0;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s ease;
}

#event-section .inv-bawah.active,
#story-section .inv-bawah.active {
  transform: translateY(0px);
  opacity: 1;
}

#event-section .inv-zoom-in,
#story-section .inv-zoom-in {
  transform: scale(0.9);
  opacity: 0;
  filter: blur(5px);
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s ease, filter 1.5s ease;
}

#event-section .inv-zoom-in.active,
#story-section .inv-zoom-in.active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0px);
}

#event-section .inv-zoom-out,
#story-section .inv-zoom-out {
  transform: scale(1.08);
  opacity: 0;
  filter: blur(5px);
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s ease, filter 1.5s ease;
}

#event-section .inv-zoom-out.active,
#story-section .inv-zoom-out.active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0px);
}

#event-section .animated-slow,
#story-section .animated-slow {
  animation-duration: 2s;
}

.elementor-animation-shrink {
  transition-duration: 0.3s;
  transition-property: transform;
}

.elementor-animation-shrink:active,
.elementor-animation-shrink:focus,
.elementor-animation-shrink:hover {
  transform: scale(0.92);
}

/* ==========================================================================
   4. DETAIL ACARA (PAWIWAHAN & RESEPSI - GAYA PANDAWA PRINTING)
   ========================================================================== */
.pandawa-events-container {
  width: 100%;
  max-width: 440px;
  margin: 15px auto 30px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pandawa-event-card {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(75, 15, 40, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(197, 138, 60, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pandawa-event-card:hover {
  box-shadow: 0 16px 42px rgba(197, 138, 60, 0.2);
}

/* Header Slideshow Media */
.pandawa-card-media {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
  border-radius: 13px 13px 0 0;
  background: #241912;
}

.event-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.event-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease-in-out, transform 5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.08);
}

.event-slide-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Card Body Split */
.pandawa-card-body {
  display: flex;
  min-height: 360px;
  background: #ffffff;
}

.pandawa-card-body.layout-banner-left {
  flex-direction: row;
}

.pandawa-card-body.layout-banner-right {
  flex-direction: row;
}

/* Vertical Gold Banner */
.pandawa-side-banner {
  background: var(--gold-gradient);
  width: 90px;
  min-width: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 16px rgba(110, 68, 15, 0.22);
}

.pandawa-card-body.layout-banner-left .pandawa-side-banner {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.pandawa-card-body.layout-banner-right .pandawa-side-banner {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.pandawa-banner-title {
  color: #ffffff;
  font-family: 'Cormorant Upright', 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  text-align: center;
  margin: 0;
  user-select: none;
  text-shadow: 0 2px 6px rgba(70, 42, 10, 0.45);
}

/* White Details Column */
.pandawa-details-col {
  flex: 1;
  padding: 22px 20px 24px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Date Row */
.pandawa-date-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.pandawa-date-num {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-500);
  letter-spacing: -1px;
}

.pandawa-date-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pandawa-day,
.pandawa-month,
.pandawa-year {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 15px;
  color: #5e5e5e;
  letter-spacing: 2px;
  line-height: 1.25;
}

.pandawa-day {
  font-weight: 600;
}

/* Divider Line */
.pandawa-divider-line {
  width: 100%;
  height: 1px;
  background: #ece8e1;
  margin: 12px 0 16px;
}

/* Time Row */
.pandawa-time-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pandawa-clock-icon {
  width: 15px;
  height: 15px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.pandawa-time-text {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 14.5px;
  color: #5e5e5e;
  letter-spacing: 1px;
}

/* Location */
.pandawa-location-label {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin: 0 0 6px 0;
}

.pandawa-location-name {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #3b2a1e;
  line-height: 1.45;
  margin: 0 0 4px 0;
}

.pandawa-location-sub {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 12px;
  color: #6e6e6e;
  line-height: 1.45;
  margin: 0 0 18px 0;
}

/* Google Maps Pill Button */
.pandawa-btn-wrap {
  margin-top: auto;
}

.pandawa-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #ffffff !important;
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.8px;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 138, 60, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.pandawa-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 138, 60, 0.5);
  filter: brightness(1.06);
}

.pandawa-pin-icon {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   4. DETAIL ACARA (EVENT DETAILS SECTION - UNIFIED PAWIWAHAN & RESEPSI)
   ========================================================================== */
.event-unified-wrap {
  width: 100%;
  max-width: 540px;
  margin: 10px auto 30px;
  text-align: center;
}

.event-unified-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cocoa-900);
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(197, 138, 60, 0.35);
  box-shadow: 0 4px 15px rgba(59, 42, 30, 0.05);
}

.event-unified-date svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-600);
}

.event-sessions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .event-sessions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.event-session-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 138, 60, 0.35);
  border-radius: 18px;
  padding: 22px 16px;
  box-shadow: 0 6px 20px rgba(59, 42, 30, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.event-session-box:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.event-session-pill {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(197, 138, 60, 0.25);
}

.event-session-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--cocoa-900);
  margin-bottom: 8px;
}

.event-session-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-700);
}

.event-session-time svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.event-venue-unified {
  margin: 10px auto 25px;
  text-align: center;
}

.venue-label {
  font-size: 0.8rem;
  color: var(--gold-700);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.venue-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cocoa-900);
  margin-bottom: 6px;
}

.venue-address {
  font-size: 0.95rem;
  color: var(--cocoa-700);
  line-height: 1.55;
  margin-bottom: 20px;
}

.dresscode-unified {
  margin-top: 30px;
  text-align: center;
}

.btn-gmaps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cocoa-800);
  color: var(--cream-50);
  padding: 12px 26px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(59, 42, 30, 0.25);
  border: 1px solid var(--gold-500);
}

.btn-gmaps:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-gmaps svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* ==========================================================================
   6. WEDDING GALLERY SECTION (HORIZONTAL SWIPEABLE SLIDER)
   Bisa digeser ke samping kanan & kiri, proporsional dan responsif di HP
   ========================================================================== */
.gallery-dragon-section {
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

.gallery-slider-wrapper {
  position: relative;
  width: 100%;
  margin-top: 15px;
}

/* Meta: Swipe hint & Counter */
.gallery-slider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 4px;
}

.gallery-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--cocoa-800);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.gallery-swipe-hint .swipe-icon {
  width: 18px;
  height: 18px;
  fill: var(--gold-600);
  animation: swipeNudge 2s infinite ease-in-out;
}

@keyframes swipeNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

.gallery-counter-pill {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cocoa-900);
  background: rgba(197, 138, 60, 0.15);
  border: 1px solid rgba(197, 138, 60, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* Horizontal Scroll Track */
.gallery-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding: 0 20px;
  padding: 10px 20px 26px;
  margin: 0 -20px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none; /* Firefox */
}

.gallery-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.gallery-slider-track:active {
  cursor: grabbing;
}

/* Slide Cards */
.gallery-slide-card {
  flex: 0 0 82%;
  max-width: 325px;
  height: 460px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #18120e;
  border: 1.5px solid rgba(197, 138, 60, 0.45);
  box-shadow: 0 10px 28px rgba(43, 29, 20, 0.22);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-slide-card:active {
  transform: scale(0.985);
}

.gallery-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #2a1f18;
}

/* Shimmer Loading Skeleton */
.gallery-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #2a1e16 8%, #3d2d22 18%, #2a1e16 33%);
  background-size: 200% 100%;
  animation: galleryShimmer 1.8s infinite linear;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

@keyframes galleryShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.gallery-card-inner.is-loaded .gallery-skeleton {
  opacity: 0;
  visibility: hidden;
}

.gallery-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  pointer-events: none;
  opacity: 0;
}

.gallery-slide-card img.loaded {
  opacity: 1;
}

.gallery-slide-card:hover img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 12, 8, 0.90) 0%, rgba(18, 12, 8, 0.35) 35%, transparent 70%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 18px;
  pointer-events: none;
  z-index: 2;
}

.gallery-card-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-card-title {
  font-family: var(--font-accent);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.gallery-card-actions {
  display: none !important;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 5;
}

.gallery-card-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b0f28;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  pointer-events: auto;
}

.gallery-card-btn:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  transform: scale(1.12);
}

.gallery-card-btn svg {
  width: 18px;
  height: 18px;
}

.gallery-card-zoom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cocoa-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-slide-card:hover .gallery-card-zoom {
  transform: scale(1.12);
}

.gallery-card-zoom svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Slider Controls: Buttons & Dots */
.gallery-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.gallery-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--gold-500);
  color: var(--cocoa-800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 138, 60, 0.2);
  transition: all 0.25s ease;
  outline: none;
}

.gallery-arrow-btn:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(197, 138, 60, 0.35);
}

.gallery-arrow-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gallery-dots-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 200px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}
.gallery-dots-wrap::-webkit-scrollbar {
  display: none;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(197, 138, 60, 0.3);
  border: 1px solid rgba(197, 138, 60, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-dot.active {
  width: 20px;
  border-radius: 10px;
  background: var(--gold-gradient);
  border-color: var(--gold-600);
  box-shadow: 0 2px 6px rgba(197, 138, 60, 0.4);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 8, 6, 0.94);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(197, 138, 60, 0.4);
  transition: opacity 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-download {
  position: absolute;
  top: -45px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10001;
}

.lightbox-download:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  border-color: transparent;
  transform: translateY(-2px);
}

.lightbox-download svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
}

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

@media (max-width: 600px) {
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-close { top: 15px; right: 15px; position: fixed; }
  .lightbox-download { top: 15px; left: 15px; position: fixed; padding: 6px 12px; font-size: 0.8rem; }
}

.lightbox-counter {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   WEDDING VIDEO SECTION (CINEMATIC TEASER)
   ========================================================================== */
.video-section {
  position: relative;
  padding: 40px 16px 50px;
  text-align: center;
}

.video-section-header {
  margin-bottom: 24px;
}

.video-card-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0a08;
  border: 1.5px solid rgba(197, 138, 60, 0.4);
  box-shadow: 0 14px 40px rgba(59, 42, 30, 0.16), 0 2px 10px rgba(197, 138, 60, 0.15);
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.video-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
  filter: brightness(0.92);
}

.video-poster:hover .video-poster-img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(20, 13, 8, 0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.video-play-btn-glow {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(197, 138, 60, 0.5);
  animation: pulseGoldGlow 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseGoldGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

.video-play-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(197, 138, 60, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.video-poster:hover .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 8px 26px rgba(197, 138, 60, 0.75);
}

.video-play-btn .play-icon {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.video-play-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.video-iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.btn-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(197, 138, 60, 0.45);
  color: #3b2a1e;
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 9px 24px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(59, 42, 30, 0.08);
  transition: all 0.25s ease;
}

.btn-youtube-link:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(197, 138, 60, 0.4);
  transform: translateY(-2px);
}

.btn-youtube-link .yt-icon {
  width: 19px;
  height: 19px;
  color: #ff0000;
  transition: color 0.25s ease;
}

.btn-youtube-link:hover .yt-icon {
  color: #ffffff;
}

/* ==========================================================================
   7. KISAH CINTA (LOVE STORY - GAYA PANDAWA PRINTING)
   ========================================================================== */
.pandawa-story-card {
  padding-top: 36px;
  padding-bottom: 40px;
}

.pandawa-story-heading {
  font-family: 'Cormorant Upright', 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: #4b0f28;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.pandawa-timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 38px;
  margin: 25px auto 10px;
  max-width: 440px;
}

.pandawa-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s ease;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 138, 60, 0.32);
  border-radius: 18px;
  padding: 16px 14px 20px;
  box-shadow: 0 10px 28px rgba(75, 15, 40, 0.1);
}

.pandawa-story-img-box {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(75, 15, 40, 0.1);
  background: #f5f0eb;
}

.pandawa-story-img {
  width: 100%;
  height: auto;
  max-height: 270px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.pandawa-story-item:hover .pandawa-story-img {
  transform: scale(1.03);
}

.pandawa-story-body {
  padding: 20px 10px 0;
  width: 100%;
}

.pandawa-story-item-title {
  font-family: 'Arima', 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 700;
  color: #4b0f28;
  margin: 0 0 10px;
  line-height: 1.35;
}

.pandawa-story-desc {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #5e5e5e;
}

.pandawa-story-desc b {
  color: #4b0f28;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.pandawa-story-desc p {
  margin: 0;
  color: #666666;
}

.pandawa-story-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--gold-700);
  text-align: center;
  margin-top: 30px;
  font-weight: 600;
}

/* ==========================================================================
   GALERI KHUSUS UPACARA NGIDIH DI SULAWESI (MEMADIK)
   ========================================================================== */
.ngidih-section {
  position: relative;
  padding: 40px 16px 50px;
  background: transparent;
  text-align: center;
}

.ngidih-header {
  margin-bottom: 24px;
}

.ngidih-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.ngidih-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 20px;
  scrollbar-width: none;
}

.ngidih-slider-track::-webkit-scrollbar {
  display: none;
}

.ngidih-slide-card {
  flex: 0 0 88%;
  max-width: 380px;
  scroll-snap-align: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(59, 42, 30, 0.08);
  border: 1px solid rgba(197, 138, 60, 0.28);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ngidih-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(197, 138, 60, 0.2);
}

.ngidih-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #2a1f14;
  cursor: pointer;
}

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

.ngidih-slide-card:hover .ngidih-lazy-img {
  transform: scale(1.05);
}

.ngidih-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.ngidih-card-actions .gallery-card-btn,
.ngidih-card-actions .gallery-card-zoom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cocoa-900);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ngidih-card-actions .gallery-card-btn svg,
.ngidih-card-actions .gallery-card-zoom svg {
  width: 18px;
  height: 18px;
}

.ngidih-card-actions .gallery-card-btn:hover,
.ngidih-card-actions .gallery-card-zoom:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  transform: scale(1.12);
}

.ngidih-card-caption {
  padding: 16px 18px 20px;
  text-align: left;
  background: #ffffff;
}

.ngidih-step-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(197, 138, 60, 0.12);
  border: 1px solid rgba(197, 138, 60, 0.35);
  border-radius: 20px;
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 8px;
}

.ngidih-card-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: #2b1d14;
  margin: 0 0 6px;
  line-height: 1.35;
}

.ngidih-card-text {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #6a6a6a;
  margin: 0;
}

/* Dots Navigation */
.ngidih-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.ngidih-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(197, 138, 60, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ngidih-dot.active {
  width: 24px;
  border-radius: 12px;
  background: var(--gold-500);
}

/* Fallback timeline */
.timeline-wrap {
  position: relative;
  padding: 20px 0;
  margin-top: 15px;
}

.timeline-line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--cocoa-800) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 30px;
  text-align: left;
}

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

.timeline-node {
  position: absolute;
  left: 10px;
  top: 4px;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(197, 138, 60, 0.6);
  z-index: 2;
}

.timeline-year-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--cocoa-800);
  background: rgba(197, 138, 60, 0.15);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
  border: 1px solid var(--border-gold);
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 15px rgba(59, 42, 30, 0.04);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cocoa-800);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--cocoa-600);
  line-height: 1.6;
}

.timeline-quote-closing {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-700);
  margin-top: 25px;
  text-align: center;
  font-size: 1.05rem;
}

/* ==========================================================================
   8. HADIAH DIGITAL (WEDDING GIFT / CASHLESS SECTION)
   ========================================================================== */
.gift-trigger-wrap {
  margin: 15px 0 20px;
}

.btn-toggle-gift {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  padding: 13px 32px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-toggle-gift:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 138, 60, 0.5);
}

.btn-toggle-gift svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.gift-content-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.gift-content-panel.expanded {
  max-height: 1200px;
  opacity: 1;
  margin-top: 25px;
}

.bank-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #faf6f0 100%);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(59, 42, 30, 0.08);
  text-align: center;
}

.bank-logo-badge {
  display: inline-block;
  background: #00529c;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.bank-logo-badge.bni {
  background: #005e6a;
}

.bank-acc-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cocoa-600);
  margin-bottom: 4px;
}

.bank-acc-number {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cocoa-800);
  letter-spacing: 2px;
  margin-bottom: 6px;
  user-select: all;
}

.bank-acc-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cocoa-900);
  margin-bottom: 16px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--cocoa-800);
  border: 1.5px solid var(--gold-500);
  padding: 9px 22px;
  border-radius: 25px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-copy svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.physical-gift-card {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 25px rgba(59, 42, 30, 0.08);
  text-align: center;
}

.gift-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 138, 60, 0.15);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.gift-box-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.address-text {
  font-size: 0.92rem;
  color: var(--cocoa-900);
  line-height: 1.6;
  margin: 8px 0 16px;
  padding: 10px;
  background: rgba(250, 246, 240, 0.8);
  border-radius: 10px;
}

.toast-notice {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: var(--cocoa-900);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-500);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

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

.toast-notice svg {
  width: 16px;
  height: 16px;
  fill: #4cd964;
}

/* ==========================================================================
   9. KEHADIRAN & BUKU TAMU (RSVP & WEDDING WISHES)
   ========================================================================== */
.rsvp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 25px;
}

.rsvp-stat-box {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 12px 4px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number.total { color: var(--cocoa-800); }
.stat-number.present { color: #2e7d32; }
.stat-number.absent { color: #c62828; }
.stat-number.unsure { color: #ef6c00; }

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cocoa-600);
  font-weight: 600;
}

.rsvp-form {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(59, 42, 30, 0.05);
  text-align: left;
}

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

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cocoa-800);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(197, 138, 60, 0.3);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cocoa-900);
  background: #faf8f5;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197, 138, 60, 0.15);
}

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

.radio-card {
  position: relative;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border: 1.5px solid rgba(197, 138, 60, 0.3);
  border-radius: 10px;
  background: #faf8f5;
  cursor: pointer;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  color: var(--cocoa-600);
}

.radio-card input[type="radio"]:checked + .radio-label {
  background: var(--cocoa-800);
  color: #fff;
  border-color: var(--cocoa-800);
  box-shadow: 0 4px 12px rgba(59, 42, 30, 0.25);
}

.btn-submit-rsvp {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  padding: 14px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 138, 60, 0.5);
}

.btn-submit-rsvp svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.wishes-board {
  text-align: left;
}

.wishes-list {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wishes-list::-webkit-scrollbar {
  width: 5px;
}

.wishes-list::-webkit-scrollbar-track {
  background: rgba(197, 138, 60, 0.1);
  border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 10px;
}

.wish-item {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.wish-item:hover {
  border-color: var(--gold-500);
}

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

.wish-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wish-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wish-author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cocoa-800);
}

.wish-time {
  font-size: 0.75rem;
  color: var(--cocoa-600);
}

.badge-attendance {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-attendance.hadir {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-attendance.tidak-hadir {
  background: #ffebee;
  color: #c62828;
}

.badge-attendance.ragu {
  background: #fff3e0;
  color: #ef6c00;
}

.badge-attendance svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

.wish-message {
  font-size: 0.9rem;
  color: var(--cocoa-900);
  line-height: 1.55;
  margin-bottom: 10px;
  white-space: pre-line;
}

.wish-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-like-wish {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  color: var(--cocoa-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-like-wish:hover,
.btn-like-wish.liked {
  color: #e91e63;
}

.btn-like-wish svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   10. PENUTUP & FOOTER (CLOSING & BACKGROUND SYSTEM)
   ========================================================================== */
.closing-section {
  padding-bottom: 80px;
}

.closing-script-names {
  font-family: var(--font-cover);
  font-size: 3.5rem;
  color: var(--gold-700);
  line-height: 1.1;
  margin: 15px 0 10px;
  text-shadow: 0 2px 10px rgba(197, 138, 60, 0.3);
}

.closing-salutation {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cocoa-800);
  margin-top: 15px;
  font-weight: 600;
}

.credits-wrap {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px dashed var(--border-gold);
  text-align: center;
}

.credits-text {
  font-size: 0.85rem;
  color: var(--cocoa-600);
  margin-bottom: 12px;
}

.credits-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.credit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cocoa-800);
  background: #fff;
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition);
}

.credit-btn:hover {
  background: var(--gold-gradient);
  color: var(--cocoa-900);
  transform: translateY(-2px);
}

.credit-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   ANIMATIONS & REDUCED MOTION (A-50)
   ========================================================================== */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatSlow {
  0%   { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(4deg); }
}

.fade-in-element {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cover .bg,
  .cover .fg,
  .cover .tree-sway,
  .cover .letter-wrapper,
  .cover .ink,
  .cover .cta,
  .letter__eyebrow,
  .letter__tagline {
    animation: none !important;
    transition: opacity 400ms linear !important;
    transform: none !important;
    filter: none !important;
  }
  .letter__names .w {
    -webkit-mask: none !important;
    mask: none !important;
    transform: none !important;
  }
  .cover .drift,
  .cover .shine {
    display: none !important;
  }
}
