/* ==========================================================================
   UNDANGAN 11 — BARALEK GADANG ADAT MINANGKABAU
   Palet: "Istano Songket Pandai Sikek & Suntiang Emas Suasa"
   - Songket Maroon Sirih: #240409, #3B0710, #5C0B18, #8A1224
   - Emas Suasa 24K & Benang Makau: #FFF6CB, #F5C451, #D49621, #8A5608
   - Krem Gading Koto Gadang & Ukiran Rumah Gadang: #FCF7EE, #F5E9D3, #E8D4B4
   - Marawa Alam Minangkabau: Hitam (#160C0E), Merah (#A81B2E), Kuning Emas (#F5C451)
   ========================================================================== */

@font-face {
  font-family: "TangerineLocal";
  src: url("../asset/tangerine.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Songket Pandai Sikek (Deep Maroon & Crimson Silk) */
  --songket-950: #220308;
  --songket-900: #36060E;
  --songket-800: #520A16;
  --songket-700: #750F20;
  --songket-600: #9E172C;

  /* Ukiran Krem Gading & Koto Gadang Ivory */
  --ivory-50: #FFFDF9;
  --ivory-100: #FCF6EC;
  --ivory-200: #F4E6CE;
  --ivory-300: #E5CFA9;

  /* Suntiang Emas Suasa & Benang Makau 24K */
  --gold-100: #FFF7D1;
  --gold-200: #FBE28A;
  --gold-300: #F3C24E;
  --gold-400: #D89B24;
  --gold-500: #B37710;
  --gold-600: #855206;

  /* Marawa Tri-Color (Hitam - Merah - Kuning Emas) */
  --marawa-black: #170C0E;
  --marawa-red: #B01B2E;
  --marawa-gold: #F3C24E;

  /* Text Tokens */
  --ink-dark: #2A0A10;
  --ink-body: #542830;
  --ink-muted: #7D4E56;
  --ink-on-dark: #FFF8EB;
  --ink-gold-soft: #F3DFB9;

  /* Typography */
  --font-script: "TangerineLocal", "Cormorant Garamond", cursive;
  --font-display: "Cinzel Decorative", "Cormorant Garamond", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion & Shadows */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 18px 42px rgba(34, 3, 8, 0.14), 0 4px 12px rgba(133, 82, 6, 0.1);
  --shadow-gold: 0 12px 32px rgba(216, 155, 36, 0.32);
  --shadow-songket: 0 22px 54px rgba(15, 1, 4, 0.58);
}

/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--songket-950);
  color: var(--ink-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

/* ==========================================================================
   2. AMBIENT PARTICLES: BUNGO SARUNAI EMAS & KILAU BENANG MAKAU
   ========================================================================== */
.minang-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 35;
  overflow: hidden;
}

.sarunai-drop {
  position: absolute;
  top: -32px;
  width: var(--size, 13px);
  height: var(--size, 13px);
  opacity: 0;
  background: radial-gradient(circle at 35% 35%, #FFF9DA 0%, #F3C24E 55%, #B01B2E 100%);
  clip-path: polygon(50% 0%, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0% 50%, 34% 34%);
  filter: drop-shadow(0 2px 6px rgba(243, 194, 78, 0.55));
  animation: sarunaiFall var(--dur, 13s) linear var(--delay, 0s) infinite;
}

.makau-mote {
  position: absolute;
  bottom: -20px;
  width: var(--size, 5px);
  height: var(--size, 5px);
  border-radius: 50%;
  background: radial-gradient(circle, #FFF9DA 0%, #F3C24E 65%, transparent 100%);
  box-shadow: 0 0 10px rgba(243, 194, 78, 0.85);
  opacity: 0;
  animation: makauRise var(--dur, 10s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes sarunaiFall {
  0% {
    transform: translate3d(0, -30px, 0) rotate(0deg) scale(0.85);
    opacity: 0;
  }
  15% {
    opacity: 0.78;
  }
  85% {
    opacity: 0.65;
  }
  100% {
    transform: translate3d(var(--sway, 42px), 106vh, 0) rotate(360deg) scale(1.05);
    opacity: 0;
  }
}

@keyframes makauRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.5);
    opacity: 0;
  }
  25% {
    opacity: 0.82;
  }
  75% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(var(--sway, -28px), -95vh, 0) scale(1.15);
    opacity: 0;
  }
}

/* ==========================================================================
   3. GATE COVER — TIRAI PEMBUKA PELAMINAN MINANG
   ========================================================================== */
.gate-cover {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow: hidden;
  background-color: var(--songket-950);
  transition:
    transform 1.15s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.95s ease;
}

.gate-cover.is-opened {
  transform: translateY(-102%);
  opacity: 0;
  pointer-events: none;
}

.gate-cover.is-hidden {
  display: none !important;
}

.gate-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.gate-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../asset/bg-songket-pandai-sikek.jpg");
  background-size: cover;
  background-position: center;
  transform: scaleY(-1);
}

.gate-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(243, 194, 78, 0.18) 0%, rgba(54, 6, 14, 0.68) 54%, rgba(24, 2, 6, 0.94) 100%),
    linear-gradient(180deg, transparent 0%, rgba(24, 2, 6, 0.6) 65%, rgba(20, 2, 5, 0.95) 100%);
}

/* Gate Corner Ukiran & Marawa */
.gate-corner {
  position: absolute;
  width: clamp(95px, 22vw, 155px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.gate-corner--tl {
  top: 10px;
  left: 10px;
}

.gate-corner--tr {
  top: 10px;
  right: 10px;
  transform: scaleX(-1);
}

.gate-marawa {
  position: absolute;
  top: 52px;
  width: clamp(46px, 10vw, 70px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.88;
  transform-origin: top center;
  animation: marawaSway 6.5s ease-in-out infinite alternate;
}

.gate-marawa--left {
  left: clamp(8px, 3vw, 28px);
}

.gate-marawa--right {
  right: clamp(8px, 3vw, 28px);
  transform: scaleX(-1);
  animation-name: marawaSwayMirror;
}

@keyframes marawaSway {
  0% { transform: rotate(-1.6deg); }
  100% { transform: rotate(2deg); }
}

@keyframes marawaSwayMirror {
  0% { transform: scaleX(-1) rotate(-1.6deg); }
  100% { transform: scaleX(-1) rotate(2deg); }
}

.gate-stage {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Gate Portal: Gonjong + Suntiang Gadang + Bingkai Pelaminan */
.gate-portal-wrap {
  position: relative;
  width: clamp(195px, 48vw, 232px);
  margin: 0 auto 8px;
  padding-top: 26px;
}

.gate-gonjong-bg {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 118%;
  max-width: none;
  opacity: 0.88;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

@keyframes suntiangPulse {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-50%) translateY(-3px) scale(1.025); }
}

.gate-pelaminan-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 500;
  z-index: 2;
}

.gate-portrait-window {
  position: absolute;
  inset: 18% 15.5% 12.5% 15.5%;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: var(--songket-900);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.gate-portrait-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.03);
}

.gate-pelaminan-frame {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.gate-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: 2px;
}

.gate-couple-script {
  font-family: var(--font-script);
  font-size: clamp(3.15rem, 11vw, 4.15rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--gold-100);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 24px rgba(243, 194, 78, 0.28);
  margin-bottom: 6px;
}

.gate-couple-script span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.62em;
  color: var(--gold-300);
  margin: 0 4px;
}

.gate-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 12, 14, 0.78), rgba(117, 15, 32, 0.85), rgba(23, 12, 14, 0.78));
  border: 1px solid rgba(243, 194, 78, 0.5);
  color: var(--gold-100);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.gate-guest-box {
  width: 100%;
  max-width: 325px;
  padding: 11px 18px 13px;
  margin-bottom: 14px;
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(64, 7, 17, 0.9), rgba(28, 3, 8, 0.92));
  border: 1.5px solid rgba(243, 194, 78, 0.58);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 247, 209, 0.28);
  position: relative;
}

.gate-guest-box::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--marawa-black) 0 33%, var(--marawa-red) 33% 66%, var(--marawa-gold) 66% 100%);
}

.gate-guest-label {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-gold-soft);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.gate-guest-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-100);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   4. BUTTONS (SUASA GOLD & MARAWA OUTLINE)
   ========================================================================== */
.btn-minang-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid #FFF5C0;
  background: linear-gradient(135deg, #FBE28A 0%, #E7AE34 48%, #B8790E 100%);
  color: #290409;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(243, 194, 78, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.28s var(--ease-luxury), box-shadow 0.28s var(--ease-luxury), filter 0.28s ease;
}

.btn-minang-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(243, 194, 78, 0.5);
}

.btn-minang-gold:active {
  transform: translateY(0);
}

.btn-minang-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(243, 194, 78, 0.78);
  background: rgba(36, 4, 9, 0.65);
  color: var(--gold-100);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-luxury), background-color 0.25s ease, border-color 0.25s ease;
}

.btn-minang-outline:hover {
  transform: translateY(-2px);
  background: rgba(117, 15, 32, 0.85);
  border-color: var(--gold-200);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

.btn-xs {
  padding: 7px 14px;
  font-size: 0.76rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   5. REUSED & RESTYLED COMPONENTS: MUSIC FAB & DOCKBAR NAVIGATION
   ========================================================================== */
.music-fab {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 95;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--gold-300);
  background: radial-gradient(circle at 35% 30%, var(--songket-700) 0%, var(--songket-950) 85%);
  color: var(--gold-100);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.music-fab:hover {
  transform: scale(1.08);
  border-color: var(--gold-100);
}

.music-fab-disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(243, 194, 78, 0.45);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--gold-100);
}

.music-fab.is-playing .music-fab-disc i {
  animation: talempongSpin 8s linear infinite;
}

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

/* Floating Bottom Dock — Marawa & Songket Filigree Style */
.floating-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(92vw, 430px);
  padding: 6px 8px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(64, 7, 17, 0.95) 0%, rgba(26, 3, 7, 0.97) 100%);
  border: 1.5px solid rgba(243, 194, 78, 0.62);
  box-shadow:
    0 16px 36px rgba(12, 1, 3, 0.65),
    inset 0 1px 0 rgba(255, 247, 209, 0.25);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  backdrop-filter: blur(12px);
}

.dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 12px;
  color: rgba(255, 247, 209, 0.72);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background 0.28s var(--ease-luxury),
    color 0.28s ease,
    transform 0.28s var(--ease-luxury);
}

.dock-link i {
  font-size: 0.96rem;
  transition: transform 0.28s var(--ease-luxury);
}

.dock-link:hover {
  color: var(--gold-100);
}

.dock-link.is-active {
  background: linear-gradient(135deg, #FBE28A 0%, #D89B24 100%);
  color: var(--songket-950);
  box-shadow: 0 4px 12px rgba(243, 194, 78, 0.35);
}

.dock-link.is-active i {
  transform: translateY(-1px) scale(1.06);
}

/* ==========================================================================
   6. DESKTOP AMBIENT WINGS & CENTERED STREAM (MAX 480PX)
   ========================================================================== */
.minang-shell {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

.minang-ambient-wings {
  display: none;
}

@media (min-width: 768px) {
  .minang-ambient-wings {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }

  .gate-cover {
    left: 50%;
    right: auto;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%);
    border-left: 2px solid rgba(243, 194, 78, 0.42);
    border-right: 2px solid rgba(243, 194, 78, 0.42);
    box-shadow: 0 0 65px rgba(0, 0, 0, 0.75);
  }

  .gate-cover.is-opened {
    transform: translate(-50%, -102%);
    opacity: 0;
    pointer-events: none;
  }

  .music-fab {
    top: 16px;
    right: max(18px, calc(50% - (480px / 2) + 14px));
  }

  .wings-bg {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 50% 50%, rgba(54, 6, 14, 0.38) 0%, rgba(20, 2, 5, 0.88) 100%),
      url("../asset/bg-songket-pandai-sikek.jpg");
    background-size: cover;
    background-position: center;
  }

  .wings-corner {
    position: absolute;
    width: clamp(140px, 14vw, 210px);
    opacity: 0.85;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
  }

  .wings-corner--tl { top: 16px; left: 16px; }
  .wings-corner--tr { top: 16px; right: 16px; transform: scaleX(-1); }
  .wings-corner--bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
  .wings-corner--br { bottom: 16px; right: 16px; transform: scale(-1, -1); }

  .wings-marawa {
    position: absolute;
    top: 84px;
    width: clamp(68px, 6.5vw, 96px);
    opacity: 0.9;
    transform-origin: top center;
    animation: marawaSway 7s ease-in-out infinite alternate;
  }

  .wings-marawa--left {
    left: clamp(32px, 6vw, 110px);
  }

  .wings-marawa--right {
    right: clamp(32px, 6vw, 110px);
    transform: scaleX(-1);
    animation-name: marawaSwayMirror;
  }
}

.minang-stream {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--ivory-100);
  box-shadow: 0 0 65px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

@media (min-width: 768px) {
  .minang-stream {
    border-left: 2px solid rgba(243, 194, 78, 0.42);
    border-right: 2px solid rgba(243, 194, 78, 0.42);
  }
}

/* ==========================================================================
   7. SECTION BACKGROUNDS, TYPOGRAPHY & PUCUAK RABUANG BRIDGES
   ========================================================================== */
.sec {
  position: relative;
  padding: 76px 22px 84px;
  overflow: hidden;
}

.sec--songket {
  background-color: var(--songket-900);
  background-image:
    linear-gradient(180deg, rgba(34, 3, 8, 0.84) 0%, rgba(54, 6, 14, 0.74) 50%, rgba(34, 3, 8, 0.88) 100%),
    url("../asset/bg-songket-pandai-sikek.jpg");
  background-size: cover;
  background-position: center;
  color: var(--ink-on-dark);
}

.sec--ukiran {
  background-color: var(--ivory-100);
  background-image:
    linear-gradient(180deg, rgba(252, 246, 236, 0.9) 0%, rgba(244, 230, 206, 0.82) 50%, rgba(252, 246, 236, 0.92) 100%),
    url("../asset/bg-ukiran-minang-krem.jpg");
  background-size: cover;
  background-position: center;
  color: var(--ink-dark);
}

.sec-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.sec-header {
  text-align: center;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.eyebrow--gold {
  color: var(--gold-200);
}

.eyebrow--maroon {
  color: var(--songket-700);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.sec-title--light {
  color: var(--gold-100);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.sec-title--dark {
  color: var(--songket-800);
}

.marawa-rule {
  width: 108px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--marawa-black) 0 33%,
    var(--marawa-red) 33% 66%,
    var(--marawa-gold) 66% 100%
  );
  box-shadow: 0 2px 8px rgba(176, 27, 46, 0.25);
}

.sec-desc {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-body);
  line-height: 1.65;
}

.section-bridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}

.bridge-minang {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
  will-change: transform;
  animation: bridgeSlide 6s ease-in-out infinite alternate;
}

.sec:nth-of-type(even) .bridge-minang {
  animation-duration: 7s;
  animation-direction: alternate-reverse;
}

@keyframes bridgeSlide {
  0% {
    transform: translate3d(-14px, 2px, 0);
  }
  50% {
    transform: translate3d(0px, -4px, 0);
  }
  100% {
    transform: translate3d(14px, 2px, 0);
  }
}

/* ==========================================================================
   8. SECTION 1: HERO BERANDA (GONJONG, MARAWA & SUNTIANG OCTAGON)
   ========================================================================== */
.sec--hero {
  padding-top: 64px;
  padding-bottom: 92px;
  text-align: center;
}

.hero-corner {
  position: absolute;
  width: 112px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.88;
}

.hero-corner--tl {
  top: 10px;
  left: 10px;
}

.hero-corner--tr {
  top: 10px;
  right: 10px;
  transform: scaleX(-1);
}

.hero-marawa {
  position: absolute;
  top: 48px;
  width: clamp(44px, 8.5vw, 60px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.88;
  transform-origin: top center;
  animation: marawaSway 6.5s ease-in-out infinite alternate;
}

.hero-marawa--left {
  left: clamp(8px, 3vw, 24px);
}

.hero-marawa--right {
  right: clamp(8px, 3vw, 24px);
  transform: scaleX(-1);
  animation-name: marawaSwayMirror;
}

.hero-portal {
  position: relative;
  width: clamp(195px, 48vw, 232px);
  margin: 0 auto 16px;
  padding-top: 26px;
}

.hero-gonjong-bg {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 118%;
  max-width: none;
  opacity: 0.88;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

.hero-pelaminan-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 500;
  z-index: 2;
}

.hero-portrait-window {
  position: absolute;
  inset: 18% 15.5% 12.5% 15.5%;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: var(--songket-900);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-portrait-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.03);
}

.hero-pelaminan-frame {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.hero-title-script {
  font-family: var(--font-script);
  font-size: clamp(3.3rem, 12vw, 4.25rem);
  font-weight: 700;
  color: var(--gold-100);
  line-height: 1.05;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  margin-bottom: 6px;
}

.hero-title-script span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.62em;
  color: var(--gold-300);
}

.hero-date-banner {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-200);
  margin-bottom: 22px;
}

/* Countdown Ribbon with Pucuak Rabuang Diamond Accents */
.countdown-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 390px;
  margin: 0 auto;
}

.cd-box {
  position: relative;
  padding: 13px 6px 11px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(165deg, rgba(82, 10, 22, 0.92) 0%, rgba(28, 3, 8, 0.96) 100%);
  border: 1.5px solid rgba(243, 194, 78, 0.62);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.cd-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold-300);
}

.cd-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--gold-100);
  line-height: 1.15;
}

.cd-box span {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-200);
}

/* ==========================================================================
   9. SECTION 2: SALAM & PEPATAH PETITIH (CARANO PLAQUE)
   ========================================================================== */
.sec--petitih {
  padding-top: 78px;
  padding-bottom: 54px;
}

.carano-plaque {
  position: relative;
  background: linear-gradient(180deg, #FFFDF9 0%, #F8EBD6 100%);
  border: 2px solid rgba(179, 119, 16, 0.45);
  border-radius: 26px;
  padding: 68px 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.carano-crown {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  width: 165px;
  filter: drop-shadow(0 6px 12px rgba(54, 6, 14, 0.25));
}

.carano-bismillah {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--songket-700);
  margin-bottom: 6px;
}

.carano-greeting {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--songket-800);
  margin-bottom: 12px;
}

.carano-lead {
  font-size: 0.9rem;
  color: var(--ink-body);
  margin-bottom: 18px;
}

.carano-verse {
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: rgba(117, 15, 32, 0.055);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.04rem;
  color: var(--ink-dark);
  line-height: 1.6;
}

.carano-verse cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--songket-700);
}

.carano-marawa-bar {
  margin: 20px auto 0;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--marawa-black) 0 33%,
    var(--marawa-red) 33% 66%,
    var(--marawa-gold) 66% 100%
  );
}

/* ==========================================================================
   10. SECTION 3: MEMPELAI BERBAHAGIA (MARAPULAI & ANAK DARO)
   ========================================================================== */
.sec--couple {
  /* Generous top padding so top-left corner ornament never collides with text */
  padding-top: 108px;
  padding-bottom: 92px;
}

.sec-corner {
  position: absolute;
  width: 118px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

.sec-corner--tl {
  top: 10px;
  left: 10px;
  transform-origin: top left;
  animation: cornerFloatTL 5.5s ease-in-out infinite alternate;
}

.sec-corner--br {
  bottom: 42px;
  right: 10px;
  transform-origin: bottom right;
  animation: cornerFloatBR 5.5s ease-in-out infinite alternate;
}

@keyframes cornerFloatTL {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(3.2deg) scale(1.05) translate(3px, 3px); }
}

@keyframes cornerFloatBR {
  0% { transform: scale(-1, -1) rotate(0deg) scale(1); }
  100% { transform: scale(-1, -1) rotate(3.2deg) scale(1.05) translate(3px, 3px); }
}

/* Dome-Crowned Couple Cards */
.minang-couple-card {
  position: relative;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7E8D0 100%);
  border: 1.5px solid rgba(179, 119, 16, 0.48);
  border-radius: 28px;
  padding: 46px 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-top: 28px;
}

.minang-couple-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 22px;
  border: 1px dashed rgba(138, 18, 36, 0.25);
  pointer-events: none;
}

.mc-portrait-stage {
  position: relative;
  width: 188px;
  margin: 0 auto 18px;
}

.mc-suntiang-halo {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 184px;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(54, 6, 14, 0.28));
}

.mc-photo-dome {
  position: relative;
  z-index: 2;
  width: 164px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 999px 999px 22px 22px;
  padding: 5px;
  background: linear-gradient(145deg, var(--gold-200) 0%, var(--gold-500) 50%, var(--songket-700) 100%);
  box-shadow: 0 14px 28px rgba(54, 6, 14, 0.24);
}

.mc-photo-dome img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 999px 999px 17px 17px;
  border: 3px solid #ffffff;
}

.mc-role-ribbon {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin-top: -14px;
  padding: 5px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--songket-700) 0%, var(--songket-900) 100%);
  border: 1.5px solid var(--gold-300);
  color: var(--gold-100);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(34, 3, 8, 0.3);
}

.couple-script-name {
  font-family: var(--font-script);
  font-size: clamp(2.55rem, 8.8vw, 3.1rem);
  font-weight: 700;
  color: var(--songket-800);
  line-height: 1.1;
  margin-bottom: 6px;
}

.couple-parents {
  font-size: 0.88rem;
  color: var(--ink-body);
  line-height: 1.6;
  margin-bottom: 14px;
}

.couple-parents strong {
  color: var(--songket-800);
}

.couple-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--songket-800);
  border: 1px solid var(--gold-400);
  color: var(--gold-100);
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease-luxury), background-color 0.25s ease;
}

.couple-ig:hover {
  transform: translateY(-2px);
  background: var(--songket-700);
}

.couple-ig-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Simpul Gonjong Divider between Marapulai & Anak Daro */
.couple-knot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 8px;
}

.knot-line {
  flex: 1;
  max-width: 85px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), var(--songket-700));
}

.couple-knot .knot-line:last-child {
  background: linear-gradient(90deg, var(--songket-700), var(--gold-500), transparent);
}

.knot-gonjong {
  position: relative;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.knot-gonjong img {
  width: 100%;
  filter: drop-shadow(0 4px 10px rgba(54, 6, 14, 0.25));
}

.knot-amp {
  margin-top: -8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--songket-700), var(--songket-900));
  border: 1.5px solid var(--gold-300);
  color: var(--gold-100);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(34, 3, 8, 0.28);
}

/* ==========================================================================
   11. SECTION 4: RANGKAIAN ACARA (GONJONG PAVILION CARDS)
   ========================================================================== */
.sec--events {
  padding-bottom: 92px;
}

.gonjong-events-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 26px;
}

.gonjong-pavilion-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(175deg, rgba(72, 8, 19, 0.94) 0%, rgba(28, 3, 8, 0.97) 100%);
  border: 1.5px solid rgba(243, 194, 78, 0.62);
  box-shadow: var(--shadow-songket);
  overflow: hidden;
  text-align: center;
}

.gpc-roof {
  position: relative;
  padding: 18px 16px 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 194, 78, 0.24), transparent 72%);
  border-bottom: 1px solid rgba(243, 194, 78, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gpc-roof img {
  width: min(88%, 270px);
  margin-bottom: 6px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.gpc-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(243, 194, 78, 0.16);
  border: 1px solid rgba(243, 194, 78, 0.55);
  color: var(--gold-200);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gpc-body {
  padding: 20px 20px 24px;
}

.gpc-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--gold-100);
  margin-bottom: 12px;
}

.gpc-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(176, 27, 46, 0.55), rgba(243, 194, 78, 0.22));
  border: 1px solid rgba(243, 194, 78, 0.5);
  color: var(--gold-100);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.gpc-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold-200);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.gpc-venue {
  font-size: 0.86rem;
  color: var(--ink-gold-soft);
  line-height: 1.6;
  margin-bottom: 18px;
}

.gpc-venue strong {
  color: #ffffff;
  font-size: 0.94rem;
}

.gpc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Live Stream Banner */
.stream-banner {
  padding: 20px 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(58, 7, 15, 0.92), rgba(24, 2, 6, 0.95));
  border: 1.5px solid rgba(243, 194, 78, 0.52);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stream-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  color: var(--songket-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stream-banner-text h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--gold-100);
  margin-bottom: 4px;
}

.stream-banner-text p {
  font-size: 0.83rem;
  color: var(--ink-gold-soft);
}

/* ==========================================================================
   12. SECTION 5: PERJALANAN CINTA KAMI (HORIZONTAL SPLIT CARDS, NO LINE)
   ========================================================================== */
.sec--story {
  padding-bottom: 92px;
}

.minang-story-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.minang-story-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7E8D0 100%);
  border: 1.5px solid rgba(179, 119, 16, 0.45);
  box-shadow: var(--shadow-card);
  align-items: center;
}

@media (min-width: 400px) {
  .minang-story-card {
    grid-template-columns: 132px 1fr;
    text-align: left;
  }

  .minang-story-card--reverse {
    grid-template-columns: 1fr 132px;
  }

  .minang-story-card--reverse .msc-photo {
    order: 2;
  }

  .minang-story-card--reverse .msc-body {
    order: 1;
  }
}

.msc-photo {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(54, 6, 14, 0.18);
}

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

.msc-body {
  padding: 2px 4px;
}

.msc-date-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--songket-800);
  border: 1px solid var(--gold-400);
  color: var(--gold-100);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.msc-body h3 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--songket-800);
  margin-bottom: 4px;
}

.msc-body p {
  font-size: 0.84rem;
  color: var(--ink-body);
  line-height: 1.58;
}

/* ==========================================================================
   13. SECTION 6: GALERI MOMEN (BENTO ARCH GRID & SOLID WHITE PHOTO BORDER)
   ========================================================================== */
.sec--gallery {
  padding-bottom: 92px;
}

.cinema-frame {
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--gold-200), var(--gold-500), var(--songket-700));
  box-shadow: var(--shadow-songket);
  margin-bottom: 22px;
}

.cinema-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.cinema-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.mg-tile {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 4.4;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.32s var(--ease-luxury);
}

.mg-tile--feature {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.mg-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3.5px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  transition: transform 0.45s var(--ease-luxury), filter 0.35s ease;
}

.mg-tile:hover {
  transform: translateY(-3px);
}

.mg-tile:hover img {
  filter: brightness(1.05);
}

/* ==========================================================================
   14. SECTION 7: AMPLOP & TANDA KASIH (SONGKET ATM CARD)
   ========================================================================== */
.gift-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(117, 15, 32, 0.09);
  border: 1px solid rgba(179, 119, 16, 0.4);
  margin-bottom: 20px;
}

.gift-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--songket-800);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.gift-tab-btn.is-active {
  background: linear-gradient(135deg, var(--songket-700), var(--songket-900));
  color: var(--gold-100);
  box-shadow: 0 6px 14px rgba(54, 6, 14, 0.26);
}

.songket-atm-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 22px;
  background-color: var(--songket-900);
  background-image:
    linear-gradient(145deg, rgba(82, 10, 22, 0.92) 0%, rgba(28, 3, 8, 0.96) 100%),
    url("../asset/bg-songket-pandai-sikek.jpg");
  background-size: cover;
  border: 1.5px solid rgba(243, 194, 78, 0.68);
  color: var(--gold-100);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.atm-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.atm-chip {
  width: 44px;
  height: auto;
}

.atm-bank-logo {
  height: 28px;
  width: auto;
  filter: brightness(1.15);
}

.atm-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-200);
  margin-bottom: 4px;
}

.atm-number {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 18px;
}

.atm-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.atm-holder-label {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-gold-soft);
}

.atm-holder-name {
  font-size: 0.96rem;
  color: var(--gold-100);
}

.parcel-card {
  padding: 24px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7E8D0 100%);
  border: 1.5px solid rgba(179, 119, 16, 0.48);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.parcel-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: var(--songket-800);
  color: var(--gold-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.parcel-card h3 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--songket-800);
  margin-bottom: 6px;
}

.parcel-recipient {
  font-size: 0.86rem;
  color: var(--ink-body);
  margin-bottom: 6px;
}

.parcel-address {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   15. SECTION 8: RSVP & DOA RESTU SANAK SAUDARA
   ========================================================================== */
.sec--rsvp {
  padding-top: 28px;
  padding-bottom: 92px;
}

.rsvp-scoreboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.score-pill {
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  border: 1.5px solid rgba(179, 119, 16, 0.45);
  background: #FFFDF9;
  box-shadow: 0 8px 18px rgba(54, 6, 14, 0.08);
}

.score-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--songket-800);
}

.score-pill span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.rsvp-card {
  padding: 22px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7E8D0 100%);
  border: 1.5px solid rgba(179, 119, 16, 0.48);
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

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

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--songket-800);
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(138, 18, 36, 0.28);
  background: #FFFDF9;
  color: var(--ink-dark);
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--songket-700);
  box-shadow: 0 0 0 3px rgba(117, 15, 32, 0.14);
}

.wishes-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.wish-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #FFFDF9;
  border: 1px solid rgba(179, 119, 16, 0.38);
  box-shadow: 0 6px 14px rgba(54, 6, 14, 0.06);
}

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

.wish-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--songket-800);
}

.wish-badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.wish-badge--hadir {
  background: rgba(117, 15, 32, 0.12);
  color: var(--songket-800);
}

.wish-badge--absen {
  background: rgba(125, 78, 86, 0.15);
  color: var(--ink-muted);
}

.wish-text {
  font-size: 0.84rem;
  color: var(--ink-body);
  margin-bottom: 4px;
}

.wish-time {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   16. SECTION 9: PENUTUP 100VH PELAMINAN MINANG (TARIMO KASIH)
   ========================================================================== */
.sec--closing {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 64px 22px 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.closing-marawa {
  position: absolute;
  top: 28px;
  width: 52px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.88;
  transform-origin: top center;
  animation: marawaSway 6.5s ease-in-out infinite alternate;
}

.closing-marawa--left {
  left: 12px;
}

.closing-marawa--right {
  right: 12px;
  transform: scaleX(-1);
  animation-name: marawaSwayMirror;
}

.closing-corner {
  position: absolute;
  bottom: 76px;
  width: 116px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

.closing-corner--bl {
  left: 10px;
  transform-origin: bottom left;
  animation: closingCornerBL 5.2s ease-in-out infinite alternate;
}

.closing-corner--br {
  right: 10px;
  transform-origin: bottom right;
  animation: closingCornerBR 5.2s ease-in-out infinite alternate;
}

@keyframes closingCornerBL {
  0% { transform: scaleY(-1) rotate(0deg) scale(1); }
  100% { transform: scaleY(-1) rotate(-3.5deg) scale(1.06) translate(3px, -3px); }
}

@keyframes closingCornerBR {
  0% { transform: scale(-1, -1) rotate(0deg) scale(1); }
  100% { transform: scale(-1, -1) rotate(-3.5deg) scale(1.06) translate(3px, -3px); }
}

.closing-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.closing-portal {
  position: relative;
  width: 215px;
  margin: 0 auto 18px;
  padding-top: 26px;
}

.closing-gonjong {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 116%;
  max-width: none;
  z-index: 1;
}

.closing-suntiang {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84%;
  z-index: 4;
  animation: suntiangPulse 4.5s ease-in-out infinite alternate;
}

.closing-pelaminan-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 500;
  z-index: 2;
}

.closing-photo-arch {
  position: absolute;
  inset: 18% 15.5% 12.5% 15.5%;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  z-index: 1;
}

.closing-photo-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.closing-pelaminan-svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.closing-thanks {
  font-size: 0.88rem;
  color: var(--ink-gold-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}

.closing-salam {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-200);
  margin-bottom: 6px;
}

.closing-tarimo {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 4px;
}

.closing-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 10.5vw, 3.8rem);
  color: var(--gold-100);
  line-height: 1.05;
}

.closing-script span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.62em;
  color: var(--gold-300);
}

/* ==========================================================================
   17. NATIVE <dialog> LIGHTBOX & TOAST NOTIFICATION
   ========================================================================== */
.lightbox-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 540px);
  width: 100%;
  margin: auto;
  color: var(--gold-100);
}

.lightbox-modal::backdrop {
  background: rgba(16, 1, 4, 0.88);
  backdrop-filter: blur(8px);
}

.lb-shell {
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(165deg, var(--songket-800), var(--songket-950));
  border: 1.5px solid rgba(243, 194, 78, 0.62);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.lb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lb-counter {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-200);
}

.lb-icon-btn,
.lb-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(243, 194, 78, 0.55);
  background: rgba(34, 3, 8, 0.8);
  color: var(--gold-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-stage img {
  max-height: 70vh;
  width: auto;
  border-radius: 14px;
  border: 3.5px solid #ffffff;
}

.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lb-nav-btn--prev { left: 8px; }
.lb-nav-btn--next { right: 8px; }

.lb-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-gold-soft);
}

.portal-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  z-index: 140;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--songket-700), var(--songket-950));
  border: 1.5px solid var(--gold-300);
  color: var(--gold-100);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   18. SCROLL REVEAL & GATE LOAD ANIMATIONS (EXACT UNDANGAN_1 SYSTEM)
   ========================================================================== */
.reveal,
.reveal-fade,
.reveal-scale,
.reveal-left,
.reveal-right {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 2.0s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
  transform: translateY(36px);
}

.reveal-fade {
  transform: translateY(18px);
}

.reveal-scale {
  transform: scale(0.92) translateY(20px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.is-revealed,
.reveal-fade.is-revealed,
.reveal-scale.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed,
.reveal.is-visible,
.reveal-fade.is-visible,
.reveal-scale.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.delay-75  { transition-delay: 0.12s; }
.delay-100 { transition-delay: 0.20s; }
.delay-150 { transition-delay: 0.28s; }
.delay-200 { transition-delay: 0.36s; }
.delay-250 { transition-delay: 0.44s; }
.delay-300 { transition-delay: 0.56s; }
.delay-400 { transition-delay: 0.72s; }
.delay-500 { transition-delay: 0.88s; }

/* Gate Staggered Entrance */
@keyframes gateFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gate-anim-photo {
  animation: gateFadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.gate-anim-1 {
  animation: gateFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.gate-anim-2 {
  animation: gateFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.gate-anim-3 {
  animation: gateFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.56s both;
}

.gate-anim-4 {
  animation: gateFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.70s both;
}

.gate-anim-5 {
  animation: gateFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.84s both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .bridge-minang {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
