:root {
  --dust-pink: #F4D9D9;
  --pink-accent: #FFB3C3;
  --pink-subtle: #FFF2F4;
  --soft-grey: #BCBCC6;
  --feather-white: #FAF9F6;
  --creamed-oat: #F3EBE1;
  --canvas-bg: #FAF5F2;
  --text-dark: #231215;
  --text-medium: #3D2228;
  --text-soft: #55333A;
  --gold: #B4913F;
  --gold-light: #ECC876;
  --gold-dark: #7C5D19;
  --gold-rich: #9A7024;
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --serif2: 'Playfair Display', Georgia, serif;
  --body: 'Lora', Georgia, serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --script: 'Alex Brush', 'Great Vibes', cursive;
  --cinzel: 'Cinzel', serif;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #2D2224;
}

body {
  font-family: var(--body);
  color: var(--text-dark);
  background-color: var(--canvas-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

body.cover-active {
  overflow: hidden !important;
  height: 100vh !important;
}

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

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

.veil {
  letter-spacing: .18em;
}

/* =========================================================
   MAIN SCROLLABLE INVITATION CONTAINER (#isi)
   Full-width desktop canvas, responsive mobile card on small viewports
   ========================================================= */
#isi {
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: transparent;
  box-shadow: none;
  z-index: 30;
}

/* =========================================================
   ORIGINAL FULLSCREEN FRONT COVER (#cover)
   Desktop: Fullscreen landscape with majestic artwork, Wayang,
            Gunungan, KA monogram, Buka Undangan, & centered guest card
   Mobile: Clean portrait without baked-in text + centered guest card
   ========================================================= */
#cover {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F4D9D9;
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(250, 249, 246, .5) 0%, rgba(255, 179, 195, .18) 35%, rgba(230, 218, 200, .42) 70%, rgba(244, 217, 217, .72) 100%),
    url('../assets/cover/wedding-cover-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 1s cubic-bezier(.25, 1, .5, 1), visibility 1s ease;
}

#cover:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

#cover.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  width: min(100%, 760px);
  padding: 28px 24px 34px;
  transform: translateY(-1vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Elegant arched gold filigree frame in original desktop cover */
.cover-inner:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5% 4%;
  border: 1px solid rgba(180, 145, 63, 0.24);
  border-radius: 48% 48% 42% 42% / 18% 18% 22% 22%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}

.eyebrow-thin {
  font-family: var(--sans);
  font-size: clamp(12.5px, 1.8vw, 14px);
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--gold-rich);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* Monogram KA with blur-in revelation */
.monogram-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 14px;
  position: relative;
  z-index: 6;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  overflow: visible;
}

.monogram-img {
  width: clamp(200px, 28vw, 300px);
  max-width: 90vw;
  height: auto;
  display: block;
  filter: blur(22px) brightness(1.2);
  opacity: 0;
  transform: scale(.9);
  animation: kaBlurIn 2.2s cubic-bezier(.16, 1, .3, 1) .25s forwards;
  will-change: filter, transform, opacity;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

@keyframes kaBlurIn {
  0% { opacity: 0; filter: blur(24px) brightness(1.25); transform: scale(.9); }
  60% { opacity: .96; filter: blur(3px) brightness(1.05); }
  100% { opacity: 1; filter: blur(0px) brightness(1); transform: scale(1); }
}

.cover-names {
  font-family: var(--serif2);
  font-size: clamp(34px, 5.8vw, 54px);
  letter-spacing: .10em;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #231215;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.8);
}

.cover-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 16px;
  width: 150px;
  color: var(--gold-rich);
  opacity: .85;
}

.cover-rule:before, .cover-rule:after {
  content: "";
  height: 1.2px;
  flex: 1;
  background: currentColor;
}

.cover-rule span {
  width: 6px;
  height: 6px;
  border: 1.2px solid currentColor;
  transform: rotate(45deg);
}

.cover-date {
  font-family: var(--sans);
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--gold-rich);
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* =========================================================
   COVER CTA BUTTON (ORIGINAL UNIFIED MOVING ACCENTS)
   ========================================================= */
.cover-cta {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.btn-unified-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: btnUnifiedFloat 3.2s ease-in-out infinite;
  cursor: pointer;
  transition: transform .35s ease, filter .35s ease;
}

.btn-accents {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}

.btn-accent-svg {
  width: 56px;
  height: 42px;
  filter: drop-shadow(0 2px 6px rgba(180, 145, 63, .35));
  transition: transform .35s ease, filter .35s ease;
}

.btn-accent-left {
  position: absolute;
  right: calc(100% - 13px);
  top: 50%;
  transform: translateY(-50%);
}

.btn-accent-right {
  position: absolute;
  left: calc(100% - 13px);
  top: 50%;
  transform: translateY(-50%);
}

.btn-cover-pill, #openBtn {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 249, 250, 0.98) 0%, rgba(245, 223, 225, 0.94) 100%);
  border: 1.4px solid rgba(180, 145, 63, .85);
  color: #3A2A2E;
  box-shadow: 0 6px 20px rgba(180, 90, 110, .18), 0 0 14px rgba(180, 145, 63, .32), inset 0 1px 2px rgba(255, 255, 255, .9);
  padding: 13px 34px;
  font-family: var(--serif2);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.btn-unified-wrap:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.035);
  filter: drop-shadow(0 12px 24px rgba(180, 145, 63, .55));
}

.btn-unified-wrap:hover #openBtn,
.btn-unified-wrap:hover .btn-cover-pill {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9E8EA 100%);
  box-shadow: 0 10px 26px rgba(180, 90, 110, .25), 0 0 22px rgba(180, 145, 63, .58), inset 0 1px 3px rgba(255, 255, 255, 1);
}

.btn-unified-wrap:hover .btn-accent-left {
  transform: translateY(-50%) translateX(-3px) scale(1.06);
  filter: drop-shadow(0 0 10px rgba(220, 180, 80, .75));
}

.btn-unified-wrap:hover .btn-accent-right {
  transform: translateY(-50%) translateX(3px) scale(1.06);
  filter: drop-shadow(0 0 10px rgba(220, 180, 80, .75));
}

@keyframes btnUnifiedFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 4px 12px rgba(180, 145, 63, .22));
  }
  50% {
    transform: translateY(-6px) scale(1.025);
    filter: drop-shadow(0 10px 22px rgba(180, 145, 63, .46));
  }
}

/* =========================================================
   BOX NAMA UNDANGAN (CENTERED & ELEGANT ON ALL DEVICES)
   ========================================================= */
.cover-guest-card {
  margin: 18px auto 0;
  padding: 14px 24px;
  width: min(90vw, 350px);
  max-width: 350px;
  background: rgba(255, 252, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.2px solid rgba(180, 145, 63, 0.65);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(70, 40, 45, 0.1), 0 0 16px rgba(180, 145, 63, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  text-align: center;
  position: relative;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInCard .8s ease-out .6s both;
}

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

.cover-guest-card .guest-greeting {
  font-family: var(--body);
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #4A3A3A;
  line-height: 1.4;
  margin-bottom: 4px;
  text-align: center;
  width: 100%;
}

.cover-guest-card .guest-label {
  font-family: var(--serif2);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8C6A24;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
}

.cover-guest-card .guest-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #241618;
  line-height: 1.4;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
  text-align: center;
  width: 100%;
  word-break: break-word;
}

/* =========================================================
   MOBILE VIEW COVER OVERRIDES
   Clean artwork (no baked-in text) + centered invitation card
   ========================================================= */
@media (max-width: 768px), (orientation: portrait) {
  #cover {
    background-image:
      radial-gradient(ellipse at 50% 50%, rgba(250, 249, 246, .2) 0%, rgba(255, 179, 195, .1) 40%, rgba(58, 42, 46, .25) 100%),
      url('../assets/cover/wedding-cover-portrait.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 16px 14px;
  }
  .cover-inner {
    width: min(92%, 380px);
    padding: 14px 14px;
    transform: none;
  }
  .cover-inner:before {
    display: none;
  }
  .monogram-img {
    width: clamp(160px, 44vw, 220px);
  }
  .cover-names {
    font-size: clamp(30px, 7.5vw, 38px);
    margin-bottom: 6px;
  }
  .cover-date {
    font-size: 13.5px;
    letter-spacing: .28em;
    margin-bottom: 16px;
  }
  .btn-cover-pill, #openBtn {
    padding: 11px 26px;
    font-size: 10.5px;
  }
  .btn-accent-svg {
    width: 48px;
    height: 36px;
  }
  .btn-accent-left {
    right: calc(100% - 11px);
  }
  .btn-accent-right {
    left: calc(100% - 11px);
  }
  .cover-guest-card {
    width: min(90vw, 320px);
    max-width: 320px;
    padding: 12px 18px;
    margin: 14px auto 0;
  }
  .cover-guest-card .guest-name {
    font-size: 13.5px;
    line-height: 1.38;
  }
}

/* =========================================================
   ANIMATED PARTICLES: FALLING SAKURA PETALS
   ========================================================= */
.petal-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.petal {
  position: absolute;
  top: -12%;
  width: 10px;
  height: 15px;
  border-radius: 80% 10% 70% 20%;
  background: linear-gradient(135deg, #fff0ef, #FFB3C3 70%);
  opacity: 0;
  box-shadow: 0 2px 6px rgba(100, 50, 55, .1);
  animation: petalFall var(--dur, 12s) linear var(--delay, 0s) infinite;
}

.petal:nth-child(2n) {
  width: 8px;
  height: 12px;
  background: linear-gradient(135deg, #FAF9F6, #E6A7B2);
}

.petal:nth-child(3n) {
  width: 12px;
  height: 16px;
  background: linear-gradient(135deg, #FFF5F7, #FFA8BA);
}

@keyframes petalFall {
  0% { transform: translate3d(0, -6vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: .85; }
  50% { transform: translate3d(32px, 52vh, 0) rotate(180deg); }
  90% { opacity: .7; }
  100% { transform: translate3d(-18px, 110vh, 0) rotate(340deg); opacity: 0; }
}

/* =========================================================
   ANIMATED ICONS: MEGAMENDUNG CLOUDS & CORNER FLORAL BRANCHES
   ========================================================= */
.cover-cloud {
  position: absolute;
  width: 180px;
  height: auto;
  pointer-events: none;
  opacity: .55;
  z-index: 2;
}

.top-cloud { top: 6%; left: 8%; }
.bottom-cloud { bottom: 8%; right: 8%; }

.cloud-icon {
  width: 110px;
  margin: 0 auto 16px;
  opacity: .6;
  display: block;
}

@keyframes cloudDrift {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-7px) translateX(6px); }
}

@keyframes cloudDriftReverse {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(7px) translateX(-6px); }
}

.drift { animation: cloudDrift 9s ease-in-out infinite; }
.drift-reverse { animation: cloudDriftReverse 10s ease-in-out infinite; }

/* Corner Floral Branches - Completely Hidden */
.floral-branch {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.floral-top-right {
  top: -12px;
  right: -14px;
  transform-origin: top right;
}

.floral-top-left {
  top: -12px;
  left: -14px;
  transform: scaleX(-1);
  transform-origin: top left;
}

.floral-side-left {
  top: 36%;
  left: -20px;
  width: 115px;
  transform: scaleX(-1) rotate(15deg);
  transform-origin: left center;
}

.floral-side-right {
  top: 55%;
  right: -20px;
  width: 115px;
  transform: rotate(-12deg);
  transform-origin: right center;
}

.floral-quote-top {
  top: -18px;
  right: -10px;
  width: 110px;
  transform-origin: top right;
}

@keyframes floralSwayRight {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(2.5deg) scale(1.02); }
}

@keyframes floralSwayLeft {
  0%, 100% { transform: scaleX(-1) rotate(0deg); }
  50% { transform: scaleX(-1) rotate(-2.5deg); }
}

.sway-right { animation: floralSwayRight 6s ease-in-out infinite; }
.sway-left { animation: floralSwayLeft 6.5s ease-in-out infinite; }

/* =========================================================
   FALLING SAKURA PETALS SYSTEM (ACROSS ALL SECTIONS)
   ========================================================= */
.petal-field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 15; /* Floats over video background and all sections */
  overflow: hidden;
}

.cover-petals {
  z-index: 101; /* Above cover background */
}

.isi-petals {
  z-index: 15; /* Floats over all sections across the entire invitation */
}

.petal {
  position: absolute;
  top: -24px;
  width: 10px;
  height: 16px;
  background: radial-gradient(circle at 40% 35%, #FFF5F7 0%, #FFCAD4 60%, #EFA2B2 100%);
  border-radius: 12px 2px 12px 2px;
  opacity: 0.55;
  pointer-events: none;
  animation: sakuraFall var(--dur, 18s) cubic-bezier(0.35, 0.45, 0.55, 0.95) infinite;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 1px 3px rgba(232, 114, 138, 0.16));
  will-change: transform, opacity;
}

.petal:nth-child(2n) {
  width: 8px;
  height: 13px;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #FFD6DF 55%, #EFA2B2 100%);
  border-radius: 10px 1px 10px 1px;
  opacity: 0.48;
}

.petal:nth-child(3n) {
  width: 12px;
  height: 18px;
  background: radial-gradient(circle at 45% 40%, #FFF5F7 0%, #FFCAD4 65%, #F5B0BD 100%);
  border-radius: 14px 2px 14px 2px;
  opacity: 0.58;
}

.petal:nth-child(4n) {
  width: 7px;
  height: 11px;
  opacity: 0.42;
}

@keyframes sakuraFall {
  0% {
    transform: translate3d(0, -25px, 0) rotate(0deg) scale(0.85);
    opacity: 0;
  }
  12% {
    opacity: 0.58;
  }
  50% {
    transform: translate3d(24px, 50vh, 0) rotate(140deg) rotateY(90deg) scale(0.95);
    opacity: 0.62;
  }
  75% {
    transform: translate3d(-16px, 75vh, 0) rotate(220deg) rotateX(120deg) scale(0.9);
  }
  92% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(18px, calc(100vh + 35px), 0) rotate(320deg) scale(0.8);
    opacity: 0;
  }
}

/* =========================================================
   SECTIONS GENERAL STYLING
   ========================================================= */
#main-content {
  position: relative;
  z-index: 5;
  padding-bottom: 90px; /* Space for floating bottom nav */
}

.sec-card {
  position: relative;
  padding: 56px 24px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(180, 145, 63, 0.15);
}

/* =========================================================
   SECTION 1: HERO / OPENING (MOTION VIDEO BACKGROUND)
   Tampilan awal saat membuka undangan & background dasar
   ========================================================= */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 50px;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid rgba(180, 145, 63, 0.2);
  z-index: 2;
}

/* Background Motion Video Container (Global Website Fixed Background) */
.hero-video-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-bg-video.active {
  opacity: 1;
}

/* Desktop vs Mobile Video & Image Selectors */
.img-desktop,
.video-desktop {
  display: block;
}
.img-mobile,
.video-mobile {
  display: none;
}

@media (max-width: 768px) {
  .img-desktop,
  .video-desktop {
    display: none !important;
  }
  .img-mobile,
  .video-mobile {
    display: block !important;
  }
}

/* Ambient soft scrim for comfortable reading and eye comfort */
.hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 252, 250, 0.12) 0%, rgba(250, 240, 243, 0.22) 55%, rgba(35, 18, 22, 0.32) 100%);
  pointer-events: none;
}

#hero .floral-branch {
  z-index: 3;
}

.hero-content-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: min(92vw, 680px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 248, 250, 0.52) 60%, rgba(255, 246, 248, 0.12) 100%);
  border-radius: 32px;
  padding: 36px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 36px rgba(60, 25, 35, 0.06);
  opacity: 0;
  visibility: hidden;
  filter: blur(20px);
  transform: translateY(24px) scale(0.92);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  will-change: opacity, filter, transform, backdrop-filter;
}

/* POP UP BLUR IN GLASSDOOR & TEXT HERO (Synchronized during the final 5 seconds of motion video) */
#hero.hero-revealed .hero-content-wrap {
  visibility: visible;
  animation: heroGlassdoorPopUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}

@keyframes heroGlassdoorPopUp {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(24px) scale(0.92);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  50% {
    opacity: 0.92;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

.hero-pop-blur {
  opacity: 0;
  visibility: hidden;
  filter: blur(20px);
  transform: translateY(22px) scale(0.92);
  will-change: opacity, filter, transform;
  transition: none;
}

/* When motion completes or revealed */
#hero.hero-revealed .hero-pop-blur {
  visibility: visible;
}

#hero.hero-revealed .blur-eyebrow {
  animation: heroFadeDownBlur 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

#hero.hero-revealed .blur-couple {
  animation: heroZoomInBlur 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

#hero.hero-revealed .blur-rule {
  animation: heroFadeUpBlur 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

#hero.hero-revealed .blur-date {
  animation: heroFadeUpBlur 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

#hero.hero-revealed .blur-salam {
  animation: heroFadeUpBlur 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

#hero.hero-revealed .blur-hint {
  animation: heroFadeUpBlur 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

@keyframes heroFadeDownBlur {
  0% {
    opacity: 0;
    filter: blur(22px);
    transform: translateY(-24px) scale(0.9);
  }
  60% {
    opacity: 0.92;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
}

@keyframes heroZoomInBlur {
  0% {
    opacity: 0;
    filter: blur(26px) brightness(1.25);
    transform: scale(0.78);
  }
  60% {
    opacity: 0.95;
    filter: blur(3px) brightness(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0px) brightness(1);
    transform: scale(1);
  }
}

@keyframes heroFadeUpBlur {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(24px) scale(0.92);
  }
  60% {
    opacity: 0.92;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
}

/* Scroll hint indicator */
.hero-scroll-hint {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold-rich);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  position: relative;
  display: block;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 2s ease-in-out infinite;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 10px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

#quote,
#couple,
#countdown-sec,
#event,
#story,
#gallery,
#gift,
#rsvp,
#wishes,
#closing {
  background: rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(255, 252, 250, 0.42) 0%, rgba(255, 246, 248, 0.30) 50%, rgba(255, 252, 250, 0.42) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

#closing {
  padding-bottom: 64px;
}

/* Typography Tokens */
.sec-title {
  font-family: var(--serif2);
  font-size: clamp(28px, 5.5vw, 36px);
  font-weight: 600;
  letter-spacing: .10em;
  color: #231215;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
}

.sec-desc {
  font-family: var(--body);
  font-size: clamp(14.5px, 2.4vw, 16px);
  font-weight: 500;
  line-height: 1.85;
  color: #3D2228;
  max-width: 500px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.script-subtitle {
  font-family: var(--script);
  font-size: clamp(34px, 6vw, 44px);
  font-weight: 500;
  color: var(--gold-rich);
  margin-bottom: 14px;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
}

/* Reveal on Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SECTION SPECIFIC STYLES
   ========================================================= */

/* Hero */
.hero-couple-title {
  font-family: var(--serif2);
  font-size: clamp(34px, 7.5vw, 48px);
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #231215;
  font-weight: 600;
  margin: 8px 0 14px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.95);
}

.hero-date {
  font-family: var(--sans);
  font-size: clamp(14px, 2.4vw, 17px);
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--gold-rich);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

.hero-salam-lead {
  font-family: var(--serif2);
  font-size: clamp(20px, 3.2vw, 24px);
  color: #231215;
  line-height: 1.55;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

.hero-salam-sub {
  display: block;
  font-family: var(--body);
  font-size: clamp(14.5px, 2.2vw, 16px);
  font-weight: 500;
  color: #3D2228;
  margin-top: 10px;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* =========================================================
   SECTION 2: QUOTE (AR-RUM : 21) WITH PHOTO SLIDER & FLORALS
   ========================================================= */
#quote.quote-section {
  position: relative;
  overflow: hidden;
  padding: 68px 20px 64px;
  background: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 245, 248, 0.08) 50%, rgba(255, 255, 255, 0.16) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

/* Floral Accents - Completely Hidden */
.quote-flower {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.quote-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Fully Rounded Photo Slider Frame (Borderless, Smooth Curves) */
.quote-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 335px;
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  border-radius: 28px; /* Smooth rounded corners on all sides */
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(60, 25, 35, 0.18), 0 4px 14px rgba(0, 0, 0, 0.06);
  border: none !important; /* Completely borderless as requested */
  outline: none;
  background: transparent;
  touch-action: pan-y;
  z-index: 10;
}

.quote-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
}

.quote-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.04);
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
}

.quote-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.quote-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 28px;
}

/* Subtle Slider Progress Dots (Automatic Indicator) */
.quote-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
  background: rgba(30, 10, 16, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.quote-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

.quote-dot.active {
  width: 20px;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.quote-nav-btn {
  display: none !important;
}

/* Typography on Soft Pink Background */
.quote-script-title {
  font-family: var(--script);
  font-size: clamp(40px, 8.5vw, 52px);
  color: #662B37;
  margin: 28px 0 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
  line-height: 1.2;
}

#quote .quote-text {
  font-family: var(--body);
  font-size: clamp(15px, 3.4vw, 17px);
  line-height: 2.05;
  font-style: normal;
  color: #231215;
  max-width: 460px;
  margin: 0 auto 18px;
  font-weight: 500;
  text-align: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(60, 25, 35, 0.06);
  position: relative;
  z-index: 5;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

#quote .quote-cite {
  font-family: var(--sans);
  font-size: clamp(13px, 2.5vw, 15px);
  letter-spacing: 0.12em;
  color: var(--gold-rich);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* =========================================================
   SECTION 3: BRIDE & GROOM (CATHEDRAL ARCH PORTAL - GAMBAR 1 & 2)
   ========================================================= */
#couple.couple-section {
  position: relative;
  overflow: hidden;
  padding: 68px 16px 64px;
  background: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 245, 248, 0.08) 50%, rgba(255, 255, 255, 0.16) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

/* Grand Architectural Roman / Cathedral Arch Portal (Frosted Glass) */
.couple-portal-arch {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: min(48vw, 220px) min(48vw, 220px) 36px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.45), 0 18px 44px rgba(60, 20, 30, 0.1);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 44px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
}

.couple-header {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 30px;
  text-align: center;
}

.couple-script-title {
  font-family: var(--script);
  font-size: clamp(42px, 9.5vw, 56px);
  color: #662B37;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
}

.couple-desc {
  font-family: var(--body);
  font-size: clamp(14.5px, 2.6vw, 16px);
  line-height: 1.9;
  color: #2E181D;
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.couple-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mempelai-card {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Oval / Stadium Arched Portrait Frame */
.avatar-frame {
  position: relative;
  width: 195px;
  height: 260px;
  margin: 0 auto 16px;
  border-radius: 999px; /* Smooth elegant vertical oval stadium */
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(70, 30, 40, 0.18), 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 3.5px solid rgba(255, 255, 255, 0.95);
  background: #FAF7F5;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 999px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Multi-photo Slideshow for Bride & Groom */
.avatar-slides-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
}

.avatar-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 999px;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  cursor: pointer;
  pointer-events: none;
}

.avatar-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.avatar-frame:hover .avatar-slide.active {
  transform: scale(1.05);
}

.avatar-slide.pos-kiky-2 {
  object-position: center 25%;
}

.avatar-slide.pos-azis-2 {
  object-position: center 25%;
}

.avatar-slide.pos-azis-3 {
  object-position: center 25%;
}

/* Subtle Glass Indicator Dots on Avatar Frame */
.avatar-nav-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: auto;
  background: rgba(30, 10, 16, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.avatar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

.avatar-dot.active {
  width: 18px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Floral Bouquets - Completely Hidden */
.avatar-flower,
.flower-bride,
.flower-groom {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mempelai-callout {
  font-family: var(--script);
  font-size: clamp(42px, 8.5vw, 52px);
  color: #662B37;
  line-height: 1.15;
  margin-bottom: 4px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
}

.mempelai-fullname {
  font-family: var(--serif2);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #231215;
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.mempelai-parents {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: #381E24;
  margin-bottom: 16px;
  max-width: 310px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

/* Minimalist Glass Pill Instagram Button (Gambar 1 & 2, Pink Tone) */
.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(122, 58, 72, 0.08);
  border: 1px solid rgba(122, 58, 72, 0.22);
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #7A3A48;
  box-shadow: 0 2px 8px rgba(122, 58, 72, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-ig:hover {
  background: #FFFFFF;
  color: #5C2834;
  border-color: #7A3A48;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(122, 58, 72, 0.18);
}

.couple-amp-wrap {
  margin: 20px auto;
}

.couple-amp {
  font-family: var(--serif2);
  font-style: italic;
  font-size: 44px;
  color: var(--gold-rich);
  line-height: 1;
  display: inline-block;
  opacity: 0.95;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
}

/* Countdown */
.event-date-large {
  font-family: var(--serif2);
  font-size: clamp(36px, 6.5vw, 50px);
  font-weight: 600;
  letter-spacing: .18em;
  color: #231215;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.95);
}

.event-day-label {
  font-family: var(--sans);
  font-size: clamp(13.5px, 2.2vw, 16px);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-rich);
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

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

.cd-box {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 12px 6px;
  box-shadow: 0 4px 14px rgba(70, 35, 45, 0.08);
}

.cd-num {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #3F2A2E;
  line-height: 1;
  margin-bottom: 4px;
}

.cd-label {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8C6A24;
}

/* Wedding Event */
.event-grid {
  display: flex;
  flex-direction: column;
}

.event-item-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.2px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 26px 20px;
  margin: 0 auto 24px;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(70, 35, 45, 0.08);
  position: relative;
}

.event-diamond-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FAF9F6, #F5DFE1);
  border: 1px solid rgba(180, 145, 63, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
}

.event-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #3F2A2E;
  margin-bottom: 6px;
}

.event-datetime {
  font-family: var(--serif2);
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.event-time-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(244, 217, 217, 0.6);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #5A2A35;
  margin-bottom: 16px;
}

.event-loc-block {
  border-top: 1px dashed rgba(180, 145, 63, 0.35);
  padding-top: 14px;
  margin-bottom: 0;
}

.loc-pin {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 6px;
}

.event-venue {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: #3F2A2E;
  margin-bottom: 4px;
}

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

.event-map-action {
  text-align: center;
  margin-top: 12px;
}

.btn-event-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FAF9F6 0%, #F5DFE1 100%);
  border: 1px solid rgba(180, 145, 63, 0.7);
  color: #3F2A2E;
  font-family: var(--serif2);
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(180, 145, 63, 0.2);
  transition: all .3s ease;
}

.btn-event-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(180, 145, 63, 0.35);
  background: #FFF;
}

.map-embed-wrapper {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1.2px solid rgba(180, 145, 63, 0.45);
  box-shadow: 0 6px 20px rgba(70, 35, 45, 0.08);
}

.map-frame {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* Love Story */
.story-layout {
  display: block;
}

.story-photo-card {
  max-width: 380px;
  height: 220px;
  margin: 0 auto 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1.4px solid rgba(180, 145, 63, 0.5);
  box-shadow: 0 8px 24px rgba(70, 35, 45, 0.12);
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-timeline {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
  padding-left: 28px;
}

.story-timeline:before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(180, 145, 63, 0.2) 100%);
}

.timeline-step {
  position: relative;
  margin-bottom: 24px;
}

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

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--gold);
  box-shadow: 0 0 8px rgba(180, 145, 63, 0.4);
}

.timeline-dot:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-heading {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #3F2A2E;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Our Gallery (Carousel & Masonry Grid) */
.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 2 / 3;
  margin: 0 auto 28px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(70, 35, 45, 0.16);
  border: 1.5px solid rgba(180, 145, 63, 0.55);
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.25, 1, .5, 1);
  width: 100%;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  cursor: pointer;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(180, 145, 63, 0.55);
  color: #3F2A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
  background: #FFF;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
  background: rgba(30, 10, 16, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all .3s ease;
}

.carousel-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 999px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.grid-item {
  aspect-ratio: 2 / 3; /* Matches 2:3 portrait dimensions of gallery assets */
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1.2px solid rgba(180, 145, 63, 0.4);
  box-shadow: 0 6px 18px rgba(70, 35, 45, 0.1);
  cursor: pointer;
  position: relative;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .45s ease;
  display: block;
}

.grid-item:hover img {
  transform: scale(1.06);
}

.grid-item.span-2 {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2; /* Matches PW-FORMAL-3 landscape dimension */
  height: auto;
}

/* Digital Gift (Amplop Digital) */
.gift-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #FFF9FA, #F5DFE1);
  border: 1.2px solid rgba(180, 145, 63, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(180, 145, 63, 0.25);
}

.btn-amplop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FAF9F6 0%, #F5DFE1 100%);
  border: 1.4px solid rgba(180, 145, 63, 0.85);
  color: #3F2A2E;
  font-family: var(--serif2);
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(180, 90, 110, 0.16);
  transition: all .3s ease;
}

.btn-amplop-toggle:hover {
  transform: translateY(-2px);
  background: #FFF;
  box-shadow: 0 8px 24px rgba(180, 145, 63, 0.35);
}

.amplop-box {
  display: block;
  margin-top: 24px;
}

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

.gift-grid {
  display: flex;
  flex-direction: column;
}

.gift-grid .bank-card + .bank-card {
  margin-top: 16px;
}

.bank-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.2px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 20px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(70, 35, 45, 0.08);
  position: relative;
}

.bank-card-badge {
  font-family: var(--serif2);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8C6A24;
  margin-bottom: 8px;
  font-weight: 600;
}

.bank-logo {
  height: 28px;
  max-width: 140px;
  object-fit: contain;
  margin: 4px auto 10px;
  display: block;
}

.bank-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #3F2A2E;
  margin-bottom: 4px;
}

.bank-number {
  font-family: monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #1A0E10;
  margin-bottom: 4px;
}

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

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #FAF9F6;
  border: 1px solid rgba(180, 145, 63, 0.5);
  font-family: var(--serif2);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3F2A2E;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-copy:hover {
  background: #FFF;
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(180, 145, 63, 0.25);
}

/* RSVP & Wish Forms */
.invitation-form {
  max-width: 380px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.2px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(70, 35, 45, 0.08);
  text-align: left;
}

.form-row {
  display: block;
}

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

.form-group label {
  display: block;
  font-family: var(--serif2);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6E5B5F;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(180, 145, 63, 0.35);
  background: #FFFDFD;
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(180, 145, 63, 0.25);
}

.btn-submit {
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F8E5E7 0%, #E8CCD0 100%);
  border: 1.2px solid rgba(180, 145, 63, 0.7);
  color: #3F2A2E;
  font-family: var(--serif2);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180, 90, 110, 0.16);
  transition: all .3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(180, 145, 63, 0.35);
  background: linear-gradient(180deg, #FFF0F2 0%, #EFCFD4 100%);
}

/* Wishes Board */
.wishes-summary-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-count {
  flex: 1;
  max-width: 110px;
  padding: 10px 8px;
  border-radius: 12px;
  color: #FFF;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.badge-hadir { background: #3D9A62; }
.badge-tidak-hadir { background: #D94850; }
.badge-ragu { background: #D7A916; }

.count-num {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.count-text {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .95;
}

.wishes-stream {
  max-width: 380px;
  margin: 0 auto;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.wish-empty-state {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px dashed rgba(180, 145, 63, 0.4);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  margin: 0 auto;
  max-width: 380px;
}

.wish-item {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(70, 35, 45, 0.05);
  animation: fadeInCard .5s ease both;
}

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

.wish-author {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: #3F2A2E;
}

.wish-badge {
  font-size: 9.5px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #FFF;
  font-weight: 600;
}

.wish-badge.hadir { background: #3D9A62; }
.wish-badge.tidak-hadir { background: #D94850; }
.wish-badge.ragu { background: #D7A916; }

.wish-body {
  font-size: 12.5px;
  line-height: 1.6;
  color: #4A3A3E;
  margin-bottom: 6px;
}

.wish-time {
  font-size: 10px;
  color: #8C7B7E;
}

/* Closing */
.closing-text {
  font-family: var(--body);
  font-size: clamp(15.5px, 2.8vw, 17.5px);
  line-height: 2.0;
  color: #231215;
  font-weight: 500;
  max-width: 540px;
  margin: 0 auto 14px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(60, 25, 35, 0.05);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

.closing-sub {
  font-family: var(--body);
  font-size: clamp(14px, 2.2vw, 16px);
  font-weight: 500;
  color: #3D2228;
  margin-bottom: 22px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.closing-couple {
  font-family: var(--serif2);
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #231215;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.95);
}

.closing-salam {
  font-family: var(--serif2);
  font-size: clamp(17px, 2.8vw, 21px);
  font-weight: 600;
  font-style: italic;
  color: var(--gold-rich);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* Clean Footer (Zero vendor trademark!) */
.clean-footer {
  padding: 34px 20px 24px;
  text-align: center;
  background: #EAE0D8;
  border-top: 1px solid rgba(180, 145, 63, 0.25);
}

.footer-monogram {
  font-family: var(--cinzel);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--gold-rich);
  margin-bottom: 4px;
}

.footer-names {
  font-family: var(--serif2);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #231215;
  margin-bottom: 2px;
}

.footer-date {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  color: #55333A;
}

/* =========================================================
   FLOATING ELEMENTS: MUSIC & BOTTOM NAV
   ========================================================= */
.music-disc-btn {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 252, 250, 0.94);
  border: 1.5px solid rgba(180, 145, 63, 0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 18px rgba(70, 35, 45, 0.18), 0 0 12px rgba(180, 145, 63, 0.35);
  transition: transform .3s ease;
}

.disc-inner {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-disc-btn[aria-pressed="true"] .disc-inner {
  animation: spinDisc 3.5s linear infinite;
  color: #8C6A24;
}

@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Bottom Navigation Pill */
.floating-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 380px);
  background: rgba(255, 252, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.2px solid rgba(180, 145, 63, 0.55);
  border-radius: 999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 800;
  box-shadow: 0 8px 24px rgba(70, 35, 45, 0.16), 0 0 16px rgba(180, 145, 63, 0.2);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #7E6B6E;
  font-size: 10px;
  letter-spacing: .06em;
  transition: color .25s ease, transform .25s ease;
}

.nav-item i {
  font-size: 15px;
}

.nav-item.active,
.nav-item:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.show {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  border: 2px solid rgba(180, 145, 63, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: zoomIn .35s ease both;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: #FFF;
  cursor: pointer;
  line-height: 1;
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(50, 25, 30, 0.95);
  color: #FFF;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .05em;
  pointer-events: none;
  opacity: 0;
  z-index: 2100;
  transition: all .35s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   1. DESKTOP VIEW EXPANSIONS (min-width: 769px)
      Transforms narrow mobile card into a luxurious, full desktop website
   2. MOBILE VIEW PRESERVATION (max-width: 768px)
      Retains exact mobile experience without modification
   ========================================================= */

@media (min-width: 769px) {
  #isi {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none;
  }

  #main-content {
    padding-bottom: 120px;
  }

  .sec-card {
    padding: 84px 40px;
  }

  .sec-title {
    font-size: 36px;
    letter-spacing: .12em;
    margin-bottom: 14px;
    font-weight: 600;
  }

  .sec-desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
    max-width: 680px;
    margin: 0 auto 36px;
  }

  .script-subtitle {
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 18px;
  }

  /* SECTION 1: HERO */
  #hero {
    padding: 100px 40px 90px;
  }

  .hero-couple-title {
    font-size: clamp(48px, 5.5vw, 66px);
    letter-spacing: .14em;
    margin: 10px 0 16px;
  }

  .hero-date {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .32em;
    margin-bottom: 30px;
  }

  .hero-salam-lead {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto;
  }

  .hero-salam-sub {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    max-width: 700px;
    margin: 14px auto 0;
  }

  .floral-top-right {
    width: 190px;
    top: -16px;
    right: -16px;
  }

  .floral-top-left {
    width: 190px;
    top: -16px;
    left: -16px;
  }

  /* SECTION 2: QUOTE */
  #quote.quote-section {
    padding: 84px 32px 76px;
  }

  .quote-slider-wrap {
    max-width: 360px;
    aspect-ratio: 2 / 3;
    border-radius: 32px;
    border: none !important;
  }

  .quote-slider-track,
  .quote-slide,
  .quote-slide-img {
    border-radius: 32px;
    object-position: center center;
  }

  .quote-flower-tr {
    top: 2%;
    right: calc(50% - 330px);
    width: 200px;
  }

  .quote-flower-bl {
    bottom: 0%;
    left: calc(50% - 340px);
    width: 160px;
  }

  .quote-script-title {
    font-size: 52px;
    font-weight: 500;
    margin: 30px 0 18px;
  }

  #quote .quote-text {
    font-size: 16.5px;
    font-weight: 500;
    line-height: 2.1;
    max-width: 580px;
    padding: 22px 30px;
  }

  #quote .quote-cite {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .14em;
  }

  /* SECTION 3: BRIDE & GROOM (CATHEDRAL ARCH PORTAL - DESKTOP) */
  #couple.couple-section {
    padding: 88px 32px 80px;
  }

  .couple-portal-arch {
    max-width: 880px;
    border-radius: 360px 360px 44px 44px;
    padding: 60px 36px 52px;
  }

  .couple-header {
    max-width: 480px;
    margin: 0 auto 36px;
  }

  .couple-script-title {
    font-size: 52px;
  }

  .couple-desc {
    font-size: 14.5px;
    max-width: 460px;
  }

  .couple-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 36px;
    max-width: 820px;
    margin: 0 auto;
  }

  .couple-row .mempelai-card {
    flex: 1;
    max-width: 320px;
    margin: 0;
  }

  .avatar-frame {
    width: 210px;
    height: 280px;
    margin: 0 auto 20px;
    border-radius: 999px;
  }

  .flower-bride {
    width: 125px;
    max-height: 160px;
    bottom: -18px;
    right: -26px;
  }

  .flower-groom {
    width: 125px;
    max-height: 160px;
    bottom: -18px;
    left: -26px;
  }

  .mempelai-callout {
    font-size: 46px;
  }

  .mempelai-fullname {
    font-size: 20px;
    letter-spacing: .14em;
    margin-bottom: 8px;
  }

  .mempelai-parents {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .couple-amp-wrap {
    margin: 0 12px;
  }

  .couple-amp {
    font-size: 48px;
  }

  /* SECTION 4: SAVE THE DATE & COUNTDOWN */
  .event-date-large {
    font-size: 44px;
    letter-spacing: .22em;
    margin-bottom: 8px;
  }

  .event-day-label {
    font-size: 13.5px;
    letter-spacing: .25em;
    margin-bottom: 32px;
  }

  .countdown-grid {
    max-width: 580px;
    gap: 20px;
  }

  .cd-box {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .cd-num {
    font-size: 34px;
    margin-bottom: 6px;
  }

  .cd-label {
    font-size: 11.5px;
    letter-spacing: .2em;
  }

  /* SECTION 5: WEDDING EVENT (2 Columns Side-by-Side + Wide Map) */
  .event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto 36px;
  }

  .event-grid .event-item-card {
    max-width: 100%;
    margin: 0;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .event-diamond-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
    margin-bottom: 16px;
  }

  .event-title {
    font-size: 25px;
    margin-bottom: 8px;
  }

  .event-datetime {
    font-size: 14.5px;
    margin-bottom: 6px;
  }

  .event-time-badge {
    font-size: 12.5px;
    padding: 5px 18px;
    margin-bottom: 20px;
  }

  .event-loc-block {
    padding-top: 16px;
    margin-bottom: 0;
  }

  .event-map-action {
    margin-top: 18px;
  }

  .loc-pin {
    font-size: 20px;
  }

  .event-venue {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .event-address {
    font-size: 13px;
    line-height: 1.7;
  }

  .map-embed-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
  }

  .map-frame {
    height: 340px;
  }

  /* SECTION 6: LOVE STORY (2 Columns Photo + Timeline) */
  .story-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    max-width: 980px;
    margin: 0 auto;
    align-items: center;
  }

  .story-layout .story-photo-card {
    max-width: 100%;
    height: 420px;
    margin: 0;
    border-radius: 22px;
  }

  .story-layout .story-timeline {
    max-width: 100%;
    margin: 0;
    padding-left: 32px;
  }

  .timeline-heading {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .timeline-text {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .timeline-step {
    margin-bottom: 30px;
  }

  /* SECTION 7: OUR GALLERY (Portrait Dimensions Matching Assets) */
  .gallery-carousel {
    max-width: 440px;
    aspect-ratio: 2 / 3;
    height: auto;
    margin: 0 auto 36px;
    border-radius: 26px;
  }

  .carousel-slide {
    height: 100%;
    aspect-ratio: 2 / 3;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
  }

  .grid-item {
    aspect-ratio: 2 / 3;
    height: auto;
    border-radius: 18px;
  }

  .grid-item.span-2 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    max-height: 420px;
  }

  /* SECTION 8: DIGITAL GIFT (Responsive Columns) */
  .amplop-box {
    margin-top: 32px;
  }

  .gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
  }

  .gift-grid .bank-card {
    max-width: 100%;
    margin: 0 !important;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .bank-name {
    font-size: 20px;
  }

  .bank-number {
    font-size: 22px;
  }

  .bank-holder {
    font-size: 13px;
  }

  /* SECTION 9: RSVP FORM (2-Column Form Rows) */
  .invitation-form {
    max-width: 720px;
    padding: 36px 40px;
    border-radius: 22px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .form-group label {
    font-size: 12px;
    margin-bottom: 7px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .btn-submit {
    padding: 14px 24px;
    font-size: 12px;
  }

  /* SECTION 10: BEST WISHES */
  .wishes-summary-row {
    max-width: 720px;
    gap: 20px;
    margin: 0 auto 28px;
  }

  .badge-count {
    max-width: 180px;
    padding: 14px 18px;
    border-radius: 14px;
  }

  .count-num {
    font-size: 24px;
  }

  .count-text {
    font-size: 11px;
  }

  #wishForm {
    max-width: 720px;
    padding: 30px 34px;
  }

  .wishes-stream {
    max-width: 720px;
    max-height: 500px;
  }

  .wish-empty-state {
    max-width: 720px;
    padding: 32px 24px;
  }

  .wish-item {
    padding: 18px 22px;
  }

  .wish-author {
    font-size: 16.5px;
  }

  .wish-body {
    font-size: 13.5px;
  }

  /* SECTION 11: CLOSING & FOOTER */
  .closing-text {
    font-size: 17px;
    font-weight: 500;
    line-height: 2.05;
    max-width: 760px;
    padding: 22px 30px;
  }

  .closing-sub {
    font-size: 15px;
    font-weight: 500;
  }

  .closing-couple {
    font-size: 46px;
    letter-spacing: .14em;
  }

  .clean-footer {
    padding: 44px 30px 34px;
  }

  .footer-monogram {
    font-size: 24px;
  }

  .footer-names {
    font-size: 18px;
  }

  /* FLOATING NAVIGATION & MUSIC: Centered & Balanced on Desktop */
  .floating-nav {
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    padding: 10px 24px;
    bottom: 24px;
  }

  .nav-item {
    font-size: 11px;
    gap: 4px;
  }

  .nav-item i {
    font-size: 17px;
  }

  .music-disc-btn {
    right: 36px;
    bottom: 26px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  #isi {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    box-shadow: none;
  }

  .floating-nav {
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 380px);
    bottom: 16px;
  }

  .music-disc-btn {
    right: 18px;
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petal, .cover-cloud, .floral-branch, .drift, .drift-reverse, .btn-unified-wrap, .megamendung-cloud,
  .ornament-sakura, .frame-ornament {
    animation: none !important;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hero-pop-blur, .hero-content-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

/* ========================================================= */
/* DECORATIVE ORNAMENTS: SAKURA + MEGA MENDUNG               */
/* ========================================================= */

/* Wrapper for portrait frames to preserve border-radius & overflow */
.avatar-frame-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 16px;
}

@media (min-width: 769px) {
  .avatar-frame-wrap {
    margin: 0 auto 20px;
  }
}

.avatar-frame-wrap .avatar-frame {
  margin-bottom: 0 !important;
}

/* Mega Mendung Decorative Overlay for Portrait Frames (Static, Corner Hugging) */
.frame-ornament {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 5;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(70, 25, 35, 0.18));
  animation: none !important; /* No floating animation as requested */
  transition: transform 0.3s ease;
}

/* Bride: Top-Left Corner (covers top-left frame curvature) */
.frame-ornament-bride-tl {
  width: 110px;
  top: -8px;
  left: -10px;
}

/* Bride: Bottom-Right Corner (diagonally opposite, covers bottom-right frame curvature) */
.frame-ornament-bride-br {
  width: 110px;
  bottom: -8px;
  right: -10px;
  transform: rotate(180deg);
}

/* Groom: Top-Right Corner (covers top-right frame curvature, inward-facing) */
.frame-ornament-groom-tr {
  width: 110px;
  top: -8px;
  right: -10px;
  transform: scaleX(-1);
}

/* Groom: Bottom-Left Corner (diagonally opposite, covers bottom-left frame curvature) */
.frame-ornament-groom-bl {
  width: 110px;
  bottom: -8px;
  left: -10px;
  transform: scaleX(-1) rotate(180deg);
}

@media (min-width: 769px) {
  /* Desktop sizing & precise corner overlap */
  .frame-ornament-bride-tl {
    width: 125px;
    top: -10px;
    left: -12px;
  }

  .frame-ornament-bride-br {
    width: 125px;
    bottom: -10px;
    right: -12px;
    transform: rotate(180deg);
  }

  .frame-ornament-groom-tr {
    width: 125px;
    top: -10px;
    right: -12px;
    transform: scaleX(-1);
  }

  .frame-ornament-groom-bl {
    width: 125px;
    bottom: -10px;
    left: -12px;
    transform: scaleX(-1) rotate(180deg);
  }
}

/* Semi-3D Sakura Corner Ornaments */
.ornament-sakura {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  object-fit: contain;
  opacity: 0.94;
  filter: drop-shadow(0 8px 18px rgba(70, 25, 35, 0.12));
  will-change: transform;
  --base-transform: none;
  transform: var(--base-transform);
}

.sakura-anim-a {
  animation: sakuraFloatA 9s ease-in-out infinite;
}

.sakura-anim-b {
  animation: sakuraFloatB 10.5s ease-in-out infinite 1.2s;
}

@keyframes sakuraFloatA {
  0%, 100% {
    transform: var(--base-transform) translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: var(--base-transform) translate3d(-3px, -4px, 0) rotate(1.2deg);
  }
}

@keyframes sakuraFloatB {
  0%, 100% {
    transform: var(--base-transform) translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: var(--base-transform) translate3d(3px, -4px, 0) rotate(-1.2deg);
  }
}

/* SECTION A: QUOTE (#quote) */
.sakura-quote-tr {
  top: -8px;
  right: -8px;
  width: 85px;
  --base-transform: rotate(15deg);
}

.sakura-quote-bl {
  bottom: -8px;
  left: -8px;
  width: 75px;
  --base-transform: rotate(-40deg);
}

/* SECTION B: BRIDE & GROOM (#couple) */
.sakura-couple-tl {
  top: 8px;
  left: 8px;
  width: 75px;
  --base-transform: scaleX(-1) rotate(10deg);
}

.sakura-couple-tr {
  top: 8px;
  right: 8px;
  width: 75px;
  --base-transform: rotate(10deg);
}

/* SECTION C: WEDDING EVENT (#event) */
.sakura-event-tl {
  top: -8px;
  left: -8px;
  width: 80px;
  --base-transform: scaleX(-1) rotate(15deg);
}

.sakura-event-tr {
  top: -8px;
  right: -8px;
  width: 80px;
  --base-transform: rotate(15deg);
}

/* SECTION D: LOVE STORY (#story) */
.sakura-story-tr {
  top: -8px;
  right: -8px;
  width: 75px;
  --base-transform: rotate(15deg);
}

.sakura-story-bl {
  bottom: -8px;
  left: -8px;
  width: 70px;
  --base-transform: rotate(-35deg);
}

/* SECTION E: OUR GALLERY (#gallery) */
.sakura-gallery-tl {
  top: -8px;
  left: -8px;
  width: 80px;
  --base-transform: scaleX(-1) rotate(15deg);
}

.sakura-gallery-tr {
  top: -8px;
  right: -8px;
  width: 80px;
  --base-transform: rotate(15deg);
}

/* Desktop sizing & positioning for spacious layout */
@media (min-width: 769px) {
  .sakura-quote-tr {
    top: -12px;
    right: -12px;
    width: 140px;
  }

  .sakura-quote-bl {
    bottom: -14px;
    left: -12px;
    width: 130px;
  }

  .sakura-couple-tl {
    top: 14px;
    left: 20px;
    width: 135px;
  }

  .sakura-couple-tr {
    top: 14px;
    right: 20px;
    width: 135px;
  }

  .sakura-event-tl {
    top: -12px;
    left: -12px;
    width: 140px;
  }

  .sakura-event-tr {
    top: -12px;
    right: -12px;
    width: 140px;
  }

  .sakura-story-tr {
    top: -12px;
    right: -12px;
    width: 140px;
  }

  .sakura-story-bl {
    bottom: -14px;
    left: -14px;
    width: 130px;
  }

  .sakura-gallery-tl {
    top: -12px;
    left: -12px;
    width: 145px;
  }

  .sakura-gallery-tr {
    top: -12px;
    right: -12px;
    width: 145px;
  }
}

