@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */

/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    color: #6d5d4b;
    background-color: var(--primary-green);

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
/* --- Sidebar Kiri (Desktop) --- */

:root {
    --primary-green: #0a3628;
    --text-light: #ffffff;
    --emerald-soft: #00674F;
    --cream-card: #fdfaf4;
    --dark-text: #2c3631;
    --event-warm-cream: #eedbc5;
    --event-dark-choco: #4a2d24;
    --box-cream-bg: #ece0ce;
    --gift-card-bg: #4a342f;
    /* Cokelat gelap vintage / senada tema acuan */
    --gift-cream-btn: #f5ebd9;
    /* Aksen krem terang untuk tombol copy */
    --gift-cream-text: #eedbc5;
    --gift-title-color: #3b2824;
    --gift-desc-color: #5d4944;

    --left-bg-green: #0a3628;
    --left-cream-text: #eedbc5;
    --left-terracotta: #b95d43;
}

.left-section {
    position: relative;
    flex: 1.4;
    min-height: 100vh;
    background: url('../images/bg-firstscreen.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(40px, 6vw, 70px);
    box-sizing: border-box;
    overflow: hidden;
    color: #ffffff;
}

/* Overlay Gradasi Emerald Gelap Elegan */
.left-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 54, 40, 0.95) 0%,
            rgba(10, 54, 40, 0.72) 40%,
            rgba(5, 26, 19, 0.4) 100%);
    z-index: 1;
}

/* Dekorasi Floral & Monogram di Pojok Kanan Atas / Latar */
.left-deco-wreath {
    position: absolute;
    top: 10%;
    right: -5%;
    width: clamp(220px, 24vw, 320px);
    aspect-ratio: 1 / 1.15;
    z-index: 2;
    opacity: 0.22;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-deco-wreath .wreath-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.left-deco-wreath .wreath-monogram {
    position: relative;
    font-family: 'Cinzel Decorative', Georgia, serif;
    font-size: clamp(40px, 4.5vw, 60px);
    font-style: italic;
    color: var(--left-cream-text);
    letter-spacing: 2px;
}

/* Konten Teks */
.left-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 550px;
}

/* Sub-title */
.left-subtitle {
    display: inline-block;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--left-cream-text);
    margin-bottom: 12px;
    opacity: 0.9;
}

/* Nama Mempelai */
.bride-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 18px 0;
    letter-spacing: 0.5px;
}

.bride-name .name {
    display: inline-block;
}

.bride-name .ampersand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--left-cream-text);
    font-size: 0.8em;
    margin: 0 8px;
}

/* Badge Tanggal */
.left-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(238, 219, 197, 0.12);
    border: 1px solid rgba(238, 219, 197, 0.25);
    backdrop-filter: blur(6px);
    padding: 8px 18px;
    border-radius: 30px;
}

.left-date-badge .day {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11.5px, 1.2vw, 13px);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--left-cream-text);
}

.left-date-badge .dot {
    color: var(--left-cream-text);
    font-size: 10px;
    opacity: 0.7;
}

.left-date-badge .full-date {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
}


/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    position: relative;
    /* Penting sebagai acuan video container */
    flex: 1;
    overflow-y: auto;
    background-color: var(--primary-green);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.video-bg-container {
    position: absolute;
    /* Mengikuti tinggi total konten scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Di belakang konten */
    pointer-events: none;
    /* Video tidak bisa di-klik */
}

#bg-video {
    position: fixed;
    /* Membuat video tetap diam saat di-scroll */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Agar video memenuhi layar tanpa distorsi */
    z-index: -1;
}

/* Overlay Dark di atas Video */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    /* Sesuaikan kegelapan (0.5 = 50%) */
    z-index: 0;
    pointer-events: none;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.0); */
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}

/* first/ */
@font-face {
    font-family: 'Letteria';
    src: url('../font/Letteria.Pro/Letteria Pro Script Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Awesome Lathusca';
    src: url('../font/Awesome Lathusca.ttf') format('truetype');
}


@font-face {
    font-family: 'Symphony Pro';
    src: url('../font/symphony-pro-regular.otf') format('opentype');
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel+Decorative:wght@400;700&family=Playfair+Display:ital,wght@1,600;1,700&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');



.first-screen {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #051a13;
    overflow: hidden;
}

.first-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg-firstscreen.webp') no-repeat center center;
    background-size: cover;
    z-index: 0;
}

/* Container 9:16 Responsif */
.canvas-wrapper {
    position: relative;
    aspect-ratio: 9 / 16;
    height: 100%;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    z-index: 1;
}

/* Base Layer */
.layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.layer-img,
.layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Urutan z-index & Animasi */
.layer-decor-bottom {
    z-index: 20;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.layer-decor-top {
    z-index: 30;
    animation: slideDownFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.layer-paper {
    z-index: 40;
    animation: popLetter 1.2s cubic-bezier(0.34, 1.3, 0.64, 1) 0.3s both;
}

.layer-flowers {
    z-index: 50;
}

.flower {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bloomIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flower-1 {
    animation-delay: 0.5s;
}

.flower-2 {
    animation-delay: 0.6s;
}

.flower-3 {
    animation-delay: 0.7s;
}

.flower-4 {
    animation-delay: 0.8s;
}

.flower-5 {
    animation-delay: 0.9s;
}

.flower-6 {
    animation-delay: 1.0s;
}

.layer-envelope {
    z-index: 60;
    pointer-events: auto;
    cursor: pointer;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* -------------------------------------------------------------
   KONTEN MEMPELAI (Sesuai Gambar 1)
-------------------------------------------------------------- */
.content-letter {
    position: absolute;
    top: 25.5%;
    left: 0;
    width: 100%;
    padding: 0 16%;
    box-sizing: border-box;
    color: var(--primary-green);
    text-align: center;
}

.sub-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.couple-names {
    margin: 0;
    transform: rotate(353deg);
    font-family: 'Letteria', cursive;
    font-style: italic;
    letter-spacing: 25px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--primary-green);
}

.couple-names .row-top {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
}

.couple-names .bride {
    font-size: 54px;
    font-family: 'Letteria', cursive;
    letter-spacing: -0.5px;
}

.couple-names .ampersand {
    font-size: 48px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

.couple-names .row-bottom {
    text-align: center;
    margin-top: -4px;
}

.couple-names .groom {
    font-family: 'Letteria', cursive;
    font-size: 54px;
    letter-spacing: -0.5px;
}

/* -------------------------------------------------------------
   INISIAL TEPAT DI TENGAH LINGKARAN OVAL AMPLOP
-------------------------------------------------------------- */
.initial-seal {
    position: absolute;
    top: 61.8%;
    /* Tepat di tengah lingkaran oval */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: none;
    /* Menghilangkan bulatan glow putih */
}

.initial-seal .monogram {
    font-family: 'Letteria', cursive;
    font-style: italic;
    font-size: 36px;
    font-weight: 400;
    color: var(--primary-green);
    letter-spacing: -2px;
    line-height: 1;
    margin-top: 24px;
    transform: rotate(348deg);
}

/* -------------------------------------------------------------
   KONTEN TAMU DI BAWAH LIPATAN AMPLOP
-------------------------------------------------------------- */
.content-guest {
    position: absolute;
    bottom: 11.5%;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10%;
    box-sizing: border-box;

    /* Properti tambahan agar tombol bekerja optimal */
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    pointer-events: auto;
    font-family: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.content-guest:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.content-guest:active {
    transform: scale(0.98);
}

.cta-hint {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.guest-salutation {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.guest-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.guest-note {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9.5px;
    opacity: 0.8;
    margin: 0;
}

/* -------------------------------------------------------------
   ANIMASI ON-LOAD
-------------------------------------------------------------- */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popLetter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bloomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* opening */
/* ==========================================
   SECTION OPENING LAYOUT
   ========================================== */

.opening-section {
    position: relative;
    /* width: 100vw; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #214038; */
    background: url('../images/bg-opening.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* Base Canvas 9:16 */
.opening-section .canvas-wrapper {
    position: relative;
    aspect-ratio: 9 / 16;
    height: 100vh;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.opening-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.opening-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12%;
    box-sizing: border-box;
}

/* ========================================================
   PAPER CARD
======================================================== */
.paper-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: visible;
}

.paper-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.paper-body {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 18% 16% 41% 16%;
    box-sizing: border-box;
    /*display: flex;*/
    flex-direction: column;
}

/* Typography Typewriter / Monospace */
.opening-text {
    font-family: 'Courier Prime', 'Space Mono', monospace;
    font-size: clamp(10.5px, 1.45vh, 12.5px);
    line-height: 1.42;
    color: #2b3a32;
    margin: 0 0 clamp(10px, 1.5vh, 16px) 0;
    text-align: left;
    letter-spacing: -0.2px;
}

.closing-quote {
    margin-top: clamp(4px, 0.8vh, 8px);
    margin-bottom: 0;
    line-height: 1.4;
}

.signature {
    margin-top: auto;
    font-family: 'Courier Prime', 'Space Mono', monospace;
    color: #2b3a32;
    text-align: left;
}

.sign-tag {
    display: block;
    font-size: clamp(11.5px, 1.55vh, 13px);
    font-weight: 700;
    margin-bottom: 4px;
}

.sign-names {
    display: block;
    font-size: clamp(11.5px, 1.55vh, 13px);
    font-weight: 700;
}

/* ========================================================
   POLAROID STYLING (Frame Putih + Border Lembut)
======================================================== */
.polaroid-frame {
    background: #fdfbf7;
    padding: 5px 5px 16px 5px;
    border-radius: 2px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
}

.polaroid-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 2 Polaroid di Sudut Bawah Kertas */
.paper-polaroids {
    position: absolute;
    right: 5%;
    bottom: 5%;
    width: 48%;
    height: 38%;
    pointer-events: none;
}

.polaroid-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: 60%;
    transform: rotate(-3deg);
    opacity: 0.95;
    z-index: 1;
}

.polaroid-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 60%;
    transform: rotate(2deg);
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* ========================================================
   3 POLAROID BOTTOM GALLERY
======================================================== */
.bottom-polaroid-gallery {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 18%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.bottom-polaroid-gallery .thumb {
    flex: 1;
    height: 100%;
    padding: 4px 4px 14px 4px;
    transform: translateY(0);
}

.bottom-polaroid-gallery .thumb:nth-child(1) {
    transform: rotate(-1.5deg);
}

.bottom-polaroid-gallery .thumb:nth-child(2) {
    transform: rotate(0.8deg);
}

.bottom-polaroid-gallery .thumb:nth-child(3) {
    transform: rotate(-0.5deg);
}

/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */
/* State Awal Sebelum Reveal */
.opening-section .anim-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Delay Animasi Staggered Saat Terkena Class .reveal */
.opening-section.reveal .paper-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.opening-section.reveal .polaroid-back {
    opacity: 0.95;
    transform: rotate(-3deg) scale(1);
    transition-delay: 0.35s;
}

.opening-section.reveal .polaroid-front {
    opacity: 1;
    transform: rotate(2deg) scale(1);
    transition-delay: 0.5s;
}

.opening-section.reveal .bottom-polaroid-gallery {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.opening-section.reveal .bottom-polaroid-gallery .thumb:nth-child(1) {
    opacity: 1;
    transform: rotate(-1.5deg) translateY(0);
    transition-delay: 0.65s;
}

.opening-section.reveal .bottom-polaroid-gallery .thumb:nth-child(2) {
    opacity: 1;
    transform: rotate(0.8deg) translateY(0);
    transition-delay: 0.75s;
}

.opening-section.reveal .bottom-polaroid-gallery .thumb:nth-child(3) {
    opacity: 1;
    transform: rotate(-0.5deg) translateY(0);
    transition-delay: 0.85s;
}

/* quotes  */
/* --- Quotes Section Layout --- */
/* ==========================================
   SECTION QUOTES LAYOUT
   ========================================== */

.quotes-section {
    position: relative;
    /* width: 100vw; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #214038; */
    background: url('../images/bg-opening.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* Base Canvas Wrapper 9:16 */
.quotes-section .canvas-wrapper {
    position: relative;
    aspect-ratio: 9 / 16;
    height: 100vh;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quotes-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Container Posisi Kertas */
.quotes-container {
    position: relative;
    z-index: 2;
    width: 85%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8% 6%;
    box-sizing: border-box;
}

/* Kertas Doily / Renda Oval */
.quotes-card {
    position: relative;
    width: 100%;
    height: 82%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quotes-lace-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.45));
}

/* Area Konten Teks Tepat di Area Oval Dalam */
.quotes-content {
    position: relative;
    z-index: 3;
    width: 62%;
    /* Menjaga teks tetap di dalam batas oval */
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 4%;
    box-sizing: border-box;
}

/* Teks Doa / Ayat Kursif Sambung */
.quote-text {
    font-family: 'Alex Brush', cursive;
    font-size: clamp(10px, 1.1vh, 8px);
    line-height: 1.45;
    color: var(--primary-green);
    /* Tone cokelat kemerahan hangat sesuai gambar asli */
    margin: 0 0 clamp(14px, 2.2vh, 22px) 0;
    text-shadow: 0 0 1px rgba(123, 66, 57, 0.2);
    letter-spacing: 0.2px;
}

/* Judul / Surat Rujukan */
.quote-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.4vh, 12px);
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.6px;
    display: inline-block;
}

/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */
.quotes-section .anim-item {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.quotes-section .quotes-content {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* Saat Section Muncul (Observer trigger .reveal) */
.quotes-section.reveal .anim-item {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.quotes-section.reveal .quotes-content {
    opacity: 1;
    transform: translateY(0);
}

/* couple/ */
/* --- Couple Section Layout --- */
/* =========================================
   COUPLE SECTION - FULL STYLES
   ========================================= */

.couple-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rsvp-card-bg);
    overflow: hidden;
    padding: 24px 0;
    box-sizing: border-box;
}

/* Wrapper Kanvas Rasio 9:16 */
.couple-section .canvas-wrapper-couple {
    position: relative;
   
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

/* Kartu Dalam Kertas */
.couple-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 5% 7%;
    box-sizing: border-box;
}

/* Teks Intro Monospaced */
.couple-intro p {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9px, 1.25vh, 11px);
    line-height: 1.45;
    color: var(--dark-text);
    max-width: 82%;
    margin: 0 auto;
}

/* Blok Masing-Masing Mempelai */
.profile-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Frame Foto Mempelai (Bentuk Lengkung / Arch Halus) */
/* Frame Foto Mempelai Layering */
.couple-photo-wrapper {
    position: relative;
    width: 200px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

/* Foto Mempelai (Dipotong Oval agar Masuk Pas di Lubang Renda) */
.couple-photo {
    position: absolute;
    width: 60%;
    height: 68%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
}

/* Frame Renda Tumpuk di Atas Foto */
.couple-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

/* Nama Mempelai Bernuansa Script / Hand-lettered */
.couple-name {
    font-family: 'Letteria', cursive;
    font-size: clamp(23px, 2.2vh, 30px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--dark-text);
    margin: 2px 0 6px 0;
    letter-spacing: 0.2px;
}

.couple-bio {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(9.5px, 1.3vh, 11px);
    color: #55625c;
    margin-bottom: 2px;
}

.couple-parents {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10px, 1.38vh, 11.5px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-text);
    margin-bottom: 6px;
}

/* Tombol Instagram */
.couple-ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 14px;
    border: 1px solid rgba(185, 93, 67, 0.35);
    background: rgba(185, 93, 67, 0.05);
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(8.5px, 1.15vh, 10px);
    font-weight: 600;
    transition: all 0.25s ease;
}

.couple-ig-btn:hover {
    background: var(--emerald-soft);
    color: #ffffff;
    border-color: var(--emerald-soft);
}

.ig-icon {
    width: 11px;
    height: 11px;
}

/* Pemisah Ampersand (&) */
.couple-divider {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(48px, 1.9vh, 48px);
    color: var(--dark-text);
    margin: 20px 0;
}

/* ========================================================
   ANIMASI ON-SCROLL VIA INTERSECTION OBSERVER (.reveal)
======================================================== */
.couple-section .anim-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Trigger reveal bertingkat */
.couple-section.reveal .couple-card {
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .couple-intro {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.couple-section.reveal .bride-block {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.couple-section.reveal .couple-divider {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.couple-section.reveal .groom-block {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}


/* --- Animasi On-Scroll (Reveal) --- */
/* ==========================================
   SECTION SAVE THE DATE LAYOUT
   ========================================== */
.save-the-date {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Tetap konsisten dengan background pohon gelap agar menyatu */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%),
        url('bg-pohon.webp') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    overflow: hidden;
}

.std-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-align: center;
}

/* Judul Atas (Menggunakan Symphony Pro) */
.std-title {
    font-family: 'Symphony Pro', sans-serif;
    color: #c7af22;
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

/* ==========================================
   DATE COMPONENT FRAME
   ========================================== */
.date-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    /* Sesuai proporsi gambar agar teks di dalam pas */
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.2s;
}

.frame-date-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.25));
}

/* Penempatan Konten di Tengah Oval Kertas Renda */
.date-inner-content {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #1e3524;
    /* Hijau zaitun gelap dari mockup asli */
}

.wedding-day,
.wedding-month-year {
    font-family: 'Symphony Pro', sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 1px;
}

.wedding-date-num {
    font-family: 'Awesome Lathusca', cursive;
    font-size: 4.5rem;
    font-weight: normal;
    line-height: 1;
    margin: 0.4rem 0;
}

/* ==========================================
   COUNTDOWN TIMER COMPONENT
   ========================================== */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    transition-delay: 0.4s;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    /* Kotak transparan minimalis */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 12px;
    border-radius: 8px;
    min-width: 65px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.countdown-number {
    font-family: 'Symphony Pro', sans-serif;
    color: #e2cb99;
    /* Aksen emas lembut */
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1;
}

.countdown-label {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    font-size: 0.75rem;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* ==========================================
   BUTTON GOOGLE CALENDAR
   ========================================== */
.btn-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e2cb99;
    /* Latar belakang emas */
    color: #1e3524;
    /* Teks warna gelap agar kontras */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition-property: transform, background-color, opacity;
    transition-duration: 1s;
    transition-delay: 0.6s;
}

.btn-calendar:hover {
    background-color: #f1dfb8;
    transform: translateY(-2px);
}

.btn-calendar:active {
    transform: translateY(0);
}

/* ==========================================
   INTERSECTION OBSERVER REVEAL STATES
   ========================================== */
.save-the-date.reveal .std-title,
.save-the-date.reveal .date-frame-wrapper,
.save-the-date.reveal .countdown-wrapper,
.save-the-date.reveal .btn-calendar {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive Scaling */
@media (max-width: 414px) {

    .wedding-day,
    .wedding-month-year {
        font-size: 1.5rem;
    }

    .wedding-date-num {
        font-size: 3.8rem;
    }

    .date-frame-wrapper {
        max-width: 330px;
    }

    .countdown-item {
        min-width: 55px;
        padding: 8px;
    }

    .countdown-number {
        font-size: 1.3rem;
    }
}

/* event/ */
/* --- Event Section Layout --- */
/* ==========================================
   SECTION EVENT LAYOUT
   ========================================== */

/* Section Utama */
.event-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/bg-opening.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    padding: 24px 0;
    box-sizing: border-box;
}

/* Base Canvas Wrapper Rasio 9:16 */
.event-section .canvas-wrapper-event {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kontainer Konten: Menggunakan flexbox terpusat & gap harmonis (tidak dipaksa space-between) */
.event-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8% 7% 7% 7%;
    /* Padding bawah dijaga agar countdown tidak mentok */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.8vh, 28px);
    /* Mengontrol jarak antar-komponen agar padat & elegan */
    text-align: center;
}

/* ========================================================
   HEADER: TANGGAL, ICON, VENUE & MAPS BUTTON
======================================================== */
.event-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(18px, 2.5vh, 23px);
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.35;
    color: var(--event-warm-cream, #eedbc5);
    margin: 0;
}

.event-flower-star {
    color: var(--event-warm-cream, #eedbc5);
    margin: clamp(6px, 1.2vh, 12px) 0;
    opacity: 0.9;
}

.event-venue {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(12.5px, 1.8vh, 16px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.6px;
    color: var(--event-warm-cream, #eedbc5);
    margin: 0 0 clamp(10px, 1.6vh, 16px) 0;
}

.event-span {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.1px;
}

.gmaps-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--box-cream-bg, #ece0ce);
    color: var(--event-dark-choco, #4a2d24);
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11px, 1.45vh, 12.5px);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gmaps-btn:hover {
    transform: scale(1.04);
    background-color: #f7eedf;
}

/* ========================================================
   KARTU WAKTU VINTAGE (AKAD & RESEPSI)
======================================================== */
.event-cards-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.event-note-card {
    position: relative;
    flex: 1;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

.note-text-wrapper {
    position: relative;
    z-index: 2;
    width: 82%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4px;
}

.note-title {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9px, 1.25vh, 11px);
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--event-dark-choco, #4a2d24);
    text-transform: uppercase;
}

.note-divider {
    width: 65%;
    height: 1px;
    background-color: rgba(74, 45, 36, 0.45);
    margin: 4px 0 5px 0;
}

.note-time {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9.5px, 1.35vh, 11.5px);
    font-weight: 700;
    color: var(--event-dark-choco, #4a2d24);
    letter-spacing: -0.2px;
}

/* ========================================================
   COUNTDOWN TIMER
======================================================== */
.countdown-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-caption {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11.5px, 1.55vh, 13.5px);
    font-weight: 700;
    color: var(--event-warm-cream, #eedbc5);
    margin-bottom: clamp(10px, 1.5vh, 14px);
    letter-spacing: 0.2px;
}

.countdown-grid {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
}

.countdown-box {
    flex: 1;
    background-color: var(--box-cream-bg, #ece0ce);
    border-radius: 9px;
    padding: clamp(8px, 1.2vh, 12px) 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24);
}

.countdown-box .num {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(17px, 2.5vh, 22px);
    font-weight: 700;
    color: var(--event-dark-choco, #4a2d24);
    line-height: 1.1;
}

.countdown-box .label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(8.5px, 1.15vh, 10.5px);
    font-weight: 600;
    color: var(--event-dark-choco, #4a2d24);
    margin-top: 2px;
}

/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */
/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */

/* 1. State Awal: Semua elemen anim-item disembunyikan */
.event-section .anim-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* 2. State Aktif: SEMUA .anim-item otomatis muncul saat section terkena class .reveal */
.event-section.reveal .anim-item {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Atur delay berurutan (stagger) */
.event-section.reveal .event-header {
    transition-delay: 0.1s;
}

.event-section.reveal .event-cards-wrapper {
    transition-delay: 0.25s;
}

.event-section.reveal .event-note-card:nth-child(1) {
    transition-delay: 0.35s;
}

.event-section.reveal .event-note-card:nth-child(2) {
    transition-delay: 0.45s;
}

.event-section.reveal .countdown-section {
    transition-delay: 0.55s;
}

.event-section.reveal .countdown-box:nth-child(1) {
    transition-delay: 0.6s;
}

.event-section.reveal .countdown-box:nth-child(2) {
    transition-delay: 0.68s;
}

.event-section.reveal .countdown-box:nth-child(3) {
    transition-delay: 0.76s;
}

.event-section.reveal .countdown-box:nth-child(4) {
    transition-delay: 0.84s;
}

/* story/ */
/* ==========================================
   SECTION STORY TIMELINE LAYOUT
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --story-primary-green: #0a3628;
    --story-terracotta: #b95d43;
    --story-dark-choco: #4a2d24;
    --story-cream-bg: #fdfaf4;
    --story-border: rgba(74, 45, 36, 0.16);
}

.story-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rsvp-card-bg);
    overflow: hidden;
    padding: 30px 0;
    box-sizing: border-box;
}

/* Wrapper Kanvas Rasio 9:16 */
.story-section .canvas-wrapper-story {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 7% 7%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* ========================================================
   HEADER SECTION
======================================================== */
.story-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(6px, 1.2vh, 12px);
}

.story-tag {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9.5px, 1.3vh, 11px);
    letter-spacing: 2.2px;
    color: var(--story-terracotta);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.story-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(23px, 3.2vh, 29px);
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.story-divider {
    width: 44px;
    height: 2px;
    background-color: var(--story-terracotta);
    margin-top: 8px;
    border-radius: 2px;
}

/* ========================================================
   FOTO POLAROID SCRAPBOOK
======================================================== */
.story-photo-card {
    position: relative;
    width: 82%;
    margin-bottom: clamp(10px, 1.8vh, 16px);
    filter: drop-shadow(0 10px 18px rgba(74, 45, 36, 0.16));
}

/* Aksen Selotip Washi Tape */
.washi-tape {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 90px;
    height: 22px;
    background: rgba(238, 219, 197, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-left: 2px dashed rgba(185, 93, 67, 0.35);
    border-right: 2px dashed rgba(185, 93, 67, 0.35);
    z-index: 3;
}

.polaroid-inner {
    background: #fdfbf7;
    padding: 8px 8px 14px 8px;
    border-radius: 4px;
    border: 1px solid rgba(74, 45, 36, 0.08);
    box-sizing: border-box;
}

.story-img {
    width: 100%;
    aspect-ratio: 9 / 9.5;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.polaroid-caption {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(8.5px, 1.15vh, 10px);
    color: #7b625b;
    margin-top: 8px;
    display: block;
    letter-spacing: 0.4px;
}

/* ========================================================
   3 TIMELINE CHAPTER
======================================================== */
.story-timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vh, 14px);
    position: relative;
    text-align: left;
}

/* Garis penghubung timeline */
.story-timeline::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 27px;
    width: 1px;
    background: dashed rgba(185, 93, 67, 0.35);
}

.story-chapter {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    background: var(--story-cream-bg);
    border: 1px solid var(--story-border);
    border-radius: 12px;
    padding: 10px 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.chapter-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 36px;
}

.chapter-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--story-terracotta);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(185, 93, 67, 0.3);
    margin-bottom: 4px;
}

.chapter-year {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(10px, 1.35vh, 11px);
    font-weight: 700;
    color: var(--story-dark-choco);
}

.chapter-content {
    flex: 1;
}

.chapter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(12.5px, 1.6vh, 14px);
    font-weight: 700;
    color: var(--story-dark-choco);
    margin: 0 0 4px 0;
}

.chapter-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(9px, 1.2vh, 10.5px);
    line-height: 1.45;
    color: #5d4944;
    margin: 0;
}

/* ========================================================
   ANIMASI ON-SCROLL VIA INTERSECTION OBSERVER (.reveal)
======================================================== */
.story-section .anim-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.story-section.reveal .anim-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delay */
.story-section.reveal .story-header {
    transition-delay: 0.1s;
}

.story-section.reveal .story-photo-card {
    transition-delay: 0.25s;
}

.story-section.reveal .story-chapter:nth-child(1) {
    transition-delay: 0.4s;
}

.story-section.reveal .story-chapter:nth-child(2) {
    transition-delay: 0.55s;
}

.story-section.reveal .story-chapter:nth-child(3) {
    transition-delay: 0.7s;
}

/* gallery/ */
/* --- Gallery Section Layout --- */
/* ==========================================
   SECTION GALLERY LAYOUT
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --gallery-cream: #eedbc5;
    --gallery-terracotta: #b95d43;
    --gallery-dark-choco: #4a2d24;
}

.gallery-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/bg-opening.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    padding: 30px 0;
    box-sizing: border-box;
}

/* Wrapper Kanvas Rasio 9:16 */
.gallery-section .canvas-wrapper-gallery {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.gallery-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 7% 6% 6% 6%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

/* ========================================================
   HEADER SECTION
======================================================== */
.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(6px, 1.2vh, 12px);
}

.gallery-tag {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9px, 1.25vh, 10.5px);
    letter-spacing: 2px;
    color: var(--gallery-cream);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.gallery-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(23px, 3.2vh, 28px);
    font-weight: 700;
    color: var(--gallery-cream);
    margin: 0;
}

.gallery-divider {
    width: 40px;
    height: 2px;
    background-color: var(--gallery-terracotta);
    margin-top: 6px;
    border-radius: 2px;
}

/* ========================================================
   FRAME VIDEO YOUTUBE
======================================================== */
.video-card {
    width: 100%;
    background: #fdfbf7;
    padding: 6px 6px 10px 6px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    margin-bottom: clamp(8px, 1.4vh, 14px);
}

.video-frame-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000000;
}

.video-frame-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    display: block;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(8.5px, 1.15vh, 10px);
    color: var(--gallery-dark-choco);
    margin-top: 6px;
}

/* ========================================================
   GRID GALERI POLAROID
======================================================== */
.gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: center;
}

.gallery-item {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    z-index: 5;
}

.polaroid-thumb {
    background: #fdfbf7;
    padding: 4px 4px 10px 4px;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
}

.polaroid-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Variasi sedikit kemiringan natural vintage */
.gallery-item.item-1 {
    transform: rotate(-1.5deg);
}

.gallery-item.item-2 {
    transform: rotate(1deg);
}

.gallery-item.item-3 {
    transform: rotate(-1deg);
}

.gallery-item.item-4 {
    transform: rotate(1.5deg);
}

.gallery-item.item-5 {
    transform: rotate(-0.5deg);
}

.gallery-item.item-6 {
    transform: rotate(1deg);
}

.gallery-tap-hint {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(8.5px, 1.15vh, 10px);
    color: var(--gallery-cream);
    opacity: 0.8;
    margin: 6px 0 0 0;
    letter-spacing: 0.3px;
}

/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */
.gallery-section .anim-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.gallery-section.reveal .anim-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delay */
.gallery-section.reveal .gallery-header {
    transition-delay: 0.1s;
}

.gallery-section.reveal .video-card {
    transition-delay: 0.25s;
}

.gallery-section.reveal .item-1 {
    transition-delay: 0.35s;
}

.gallery-section.reveal .item-2 {
    transition-delay: 0.42s;
}

.gallery-section.reveal .item-3 {
    transition-delay: 0.49s;
}

.gallery-section.reveal .item-4 {
    transition-delay: 0.56s;
}

.gallery-section.reveal .item-5 {
    transition-delay: 0.63s;
}

.gallery-section.reveal .item-6 {
    transition-delay: 0.70s;
}

.gallery-section.reveal .gallery-tap-hint {
    transition-delay: 0.75s;
}

/* --- Media Queries untuk Layout Grid yang Adaptif --- */

/* gift/ */
/* --- Gift Section Styling --- */
/* ==========================================
   SECTION GIFT LAYOUT
   ========================================== */


.gift-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rsvp-card-bg);
    overflow: hidden;
    padding: 8px 0;
    box-sizing: border-box;
}

/* Wrapper Kanvas Rasio 9:16 */
.gift-section .canvas-wrapper-gift {
    position: relative;
    /*aspect-ratio: 9 / 16;*/
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.gift-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6% 8%;
    box-sizing: border-box;
    text-align: center;
}

/* ========================================================
   HEADER TEKS
======================================================== */
.gift-header {
    margin-bottom: clamp(18px, 2.8vh, 26px);
    max-width: 90%;
}

.gift-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3.4vh, 32px);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.gift-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.45vh, 12px);
    line-height: 1.55;
    color: var(--gift-desc-color);
    margin: 0;
}

/* ========================================================
   KARTU REKENING & ALAMAT
======================================================== */
.gift-cards-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.8vh, 18px);
}

.gift-card {
    background-color: var(--primary-green);
    border-radius: 18px;
    padding: clamp(14px, 2.2vh, 20px) 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 24px rgba(74, 52, 47, 0.22);
    color: #ffffff;
    transition: transform 0.25s ease;
}

.gift-card:hover {
    transform: translateY(-2px);
}

.card-bank-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.bank-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(12px, 1.6vh, 13.5px);
    font-weight: 600;
    color: var(--gift-cream-text);
    margin-bottom: 2px;
}

.account-holder {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.4vh, 12px);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.account-number {
    font-family: 'Space Mono', monospace;
    font-size: clamp(16px, 2.3vh, 19px);
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 12px;
}

.physical-address {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10px, 1.35vh, 11px);
    line-height: 1.45;
    color: var(--gift-cream-text);
    margin: 0 0 12px 0;
    max-width: 90%;
}

/* Tombol Salin (Copy Button) */
.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-color: var(--cream-card);
    color: var(--emerald-soft);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px 18px;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.4vh, 12px);
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background-color: #ffffff;
    transform: scale(1.02);
}

.btn-copy:active {
    transform: scale(0.96);
}

.copy-icon {
    width: 14px;
    height: 14px;
}

/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */
.gift-section .anim-item {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.gift-section.reveal .anim-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delay */
.gift-section.reveal .gift-header {
    transition-delay: 0.1s;
}

.gift-section.reveal .gift-card:nth-child(1) {
    transition-delay: 0.25s;
}

.gift-section.reveal .gift-card:nth-child(2) {
    transition-delay: 0.4s;
}

.gift-section.reveal .gift-card:nth-child(3) {
    transition-delay: 0.55s;
}

/* rsvp/ */
/* --- RSVP Section Styling --- */

:root {
    --rsvp-card-bg: rgba(253, 248, 238, 0.94);
    --rsvp-primary-green: #0a3628;
    --rsvp-terracotta: #b95d43;
    --rsvp-dark-choco: #4a2d24;
    --rsvp-border-light: rgba(74, 45, 36, 0.18);
}

.rsvp-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/bg-opening.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    padding: 30px 0;
    box-sizing: border-box;
}

/* Wrapper Kanvas Rasio 9:16 */
.rsvp-section .canvas-wrapper-rsvp {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.rsvp-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6% 6%;
    box-sizing: border-box;
}

/* Kartu Form RSVP */
.rsvp-card {
    width: 100%;
    background: var(--rsvp-card-bg);
    backdrop-filter: blur(4px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    padding: clamp(16px, 2.6vh, 24px) clamp(16px, 2.8vw, 22px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Header Form */
.rsvp-header {
    text-align: center;
    margin-bottom: clamp(12px, 2vh, 18px);
}

.rsvp-tag {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9.5px, 1.3vh, 11px);
    letter-spacing: 2px;
    color: var(--rsvp-terracotta);
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.rsvp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vh, 27px);
    color: var(--primary-green);
    margin: 0 0 4px 0;
    font-weight: 700;
}

.rsvp-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(9.5px, 1.25vh, 11px);
    line-height: 1.4;
    color: #63544f;
    margin: 0 auto;
    max-width: 90%;
}

/* Layout Form */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: clamp(9px, 1.4vh, 13px);
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.35vh, 12px);
    font-weight: 700;
    color: var(--rsvp-dark-choco);
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    border: 1px solid var(--rsvp-border-light);
    background: #ffffff;
    border-radius: 9px;
    padding: 8px 12px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11px, 1.45vh, 12.5px);
    color: var(--rsvp-dark-choco);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: var(--rsvp-terracotta);
    box-shadow: 0 0 0 2px rgba(185, 93, 67, 0.15);
}

.form-group textarea {
    resize: none;
}

/* Pilihan Hadir / Tidak Hadir */
.attendance-options {
    display: flex;
    gap: 10px;
}

.attendance-pill {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.attendance-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.attendance-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    background: #ffffff;
    border: 1px solid var(--rsvp-border-light);
    border-radius: 9px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11px, 1.4vh, 12px);
    font-weight: 600;
    color: var(--rsvp-dark-choco);
    transition: all 0.2s ease;
}

.attendance-pill input[type="radio"]:checked+span {
    background: var(--rsvp-primary-green);
    color: #ffffff;
    border-color: var(--rsvp-primary-green);
}

/* Counter +/- Jumlah Tamu */
.counter-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--rsvp-border-light);
    border-radius: 9px;
    overflow: hidden;
}

.btn-counter {
    width: 42px;
    height: 36px;
    background: #f2e9dc;
    border: none;
    color: var(--rsvp-dark-choco);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.btn-counter:hover {
    background-color: #e5dac9;
}

.counter-wrapper input[type="number"] {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-family: 'Courier Prime', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--rsvp-dark-choco);
    outline: none;
    -moz-appearance: textfield;
}

.counter-wrapper input[type="number"]::-webkit-outer-spin-button,
.counter-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tombol Submit */
.form-action {
    margin-top: 4px;
}

.btn-submit-rsvp {
    width: 100%;
    background: var(--rsvp-primary-green);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11.5px, 1.5vh, 13px);
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 54, 40, 0.28);
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.btn-submit-rsvp:hover {
    background: #06241a;
    transform: translateY(-1px);
}

.btn-submit-rsvp:active {
    transform: translateY(0);
}

/* ========================================================
   ANIMASI ON-SCROLL VIA INTERSECTION OBSERVER (.reveal)
======================================================== */
.rsvp-section .anim-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.rsvp-section.reveal .anim-item {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-section.reveal .rsvp-card {
    transition-delay: 0.1s;
}

.rsvp-section.reveal .form-group:nth-child(1) {
    transition-delay: 0.2s;
}

.rsvp-section.reveal .form-group:nth-child(2) {
    transition-delay: 0.3s;
}

.rsvp-section.reveal .form-group:nth-child(3) {
    transition-delay: 0.4s;
}

.rsvp-section.reveal .form-group:nth-child(4) {
    transition-delay: 0.5s;
}

.rsvp-section.reveal .form-action {
    transition-delay: 0.6s;
}

/* ========================================================
   WISHES WALL / LIST UCAPAN
======================================================== */
.wishes-container {
    margin-top: clamp(14px, 2vh, 18px);
    padding-top: clamp(12px, 1.8vh, 16px);
    border-top: 1px dashed rgba(74, 45, 36, 0.22);
    display: flex;
    flex-direction: column;
}

.wishes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wishes-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(13px, 1.7vh, 15px);
    font-weight: 700;
    color: var(--rsvp-dark-choco);
}

.wishes-count {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(9px, 1.2vh, 10.5px);
    font-weight: 700;
    color: var(--rsvp-terracotta);
    background: rgba(185, 93, 67, 0.1);
    padding: 2px 7px;
    border-radius: 10px;
}

/* Container Scrollable List Ucapan */
.wishes-list {
    max-height: clamp(130px, 18vh, 160px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

/* Custom Scrollbar Cantik & Minimalis */
.wishes-list::-webkit-scrollbar {
    width: 4px;
}

.wishes-list::-webkit-scrollbar-track {
    background: rgba(74, 45, 36, 0.05);
    border-radius: 4px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: rgba(185, 93, 67, 0.35);
    border-radius: 4px;
}

/* Item Kotak Ucapan */
.wish-item {
    background: #ffffff;
    border: 1px solid rgba(74, 45, 36, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.wish-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.wish-author {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.35vh, 12px);
    font-weight: 700;
    color: var(--rsvp-dark-choco);
}

/* Badge Kehadiran */
.wish-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wish-badge.hadir {
    background: rgba(10, 54, 40, 0.12);
    color: var(--rsvp-primary-green);
}

.wish-badge.tidak-hadir {
    background: rgba(185, 93, 67, 0.14);
    color: var(--rsvp-terracotta);
}

.wish-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(9.5px, 1.25vh, 11px);
    line-height: 1.4;
    color: #55443e;
    margin: 0 0 4px 0;
}

.wish-time {
    font-family: 'Courier Prime', monospace;
    font-size: 8px;
    color: #9c8b85;
    display: block;
}

/* Penyesuaian Reveal Delay untuk Wishes */
.rsvp-section.reveal .wishes-container {
    transition-delay: 0.7s;
}

/* closing/ */
/* ==========================================
   SECTION CLOSING LAYOUT
   ========================================== */

:root {
    --closing-choco: #4a342f;
    --closing-primary-green: #0a3628;
    --closing-terracotta: #b95d43;
}

/* Section Penutup */
.closing-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rsvp-card-bg);
    overflow: hidden;
    padding: 40px 0 20px 0;
    box-sizing: border-box;
}

/* Wrapper Kanvas Rasio 9:16 */
.closing-section .canvas-wrapper-closing {
    position: relative;
    width: 100%;
    max-width: calc(100vh * (9 / 16));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.closing-container {
    position: relative;

    padding: 10% 8% 8% 8%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

/* ========================================================
   TEKS PENUTUP & HASHTAG
======================================================== */
.closing-text-block {
    max-width: 90%;
    margin-bottom: clamp(10px, 1.8vh, 16px);
}

.closing-message {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.45vh, 12px);
    line-height: 1.6;
    color: #5d4944;
    margin: 0 0 10px 0;
}

.closing-hashtag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(11px, 1.5vh, 13px);
    font-weight: 700;
    color: var(--closing-terracotta);
    letter-spacing: 0.5px;
    display: inline-block;
}

/* ========================================================
   FRAME FLORAL INITIAL (WREATH)
======================================================== */
.closing-wreath-wrapper {
    position: relative;
    width: clamp(210px, 32vh, 260px);
    aspect-ratio: 1 / 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: clamp(6px, 1.2vh, 14px) 0;
}

.wreath-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.closing-monogram-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    height: 60%;
}

.monogram-text {
    font-family: 'Letteria', cursive;
    font-size: clamp(72px, 5.8vh, 72px);
    font-weight: 400;
    color: var(--primary-green);
    letter-spacing: -2px;
    line-height: 1;
    transform: rotate(356deg);
}

/* ========================================================
   TANDA KASIH & NAMA MEMPELAI
======================================================== */
.closing-names-block {
    margin-top: clamp(6px, 1.2vh, 12px);
}

.closing-tag {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(13px, 1.8vh, 16px);
    font-weight: 600;
    color: #6a534d;
    display: block;
    margin-bottom: 4px;
}

.closing-couple-name {
    font-family: 'Letteria', cursive;
    font-style: italic;
    font-size: clamp(26px, 3.8vh, 34px);
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
    letter-spacing: 0.5px;
}

/* ========================================================
   FOOTER
======================================================== */
.wedding-footer {
    width: 100%;
    background-color: #faf8f5;
    border-top: 1px solid rgba(74, 45, 36, 0.08);
    padding: 18px 0;
    text-align: center;
    box-sizing: border-box;
}

.wedding-footer p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(10.5px, 1.4vh, 12px);
    color: #7b6863;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wedding-footer .fa-heart {
    color: #e53e3e;
    font-size: 11px;
}

/* ========================================================
   ANIMASI ON-SCROLL DENGAN INTERSECTION OBSERVER (.reveal)
======================================================== */
.closing-section .anim-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.closing-section.reveal .anim-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delay */
.closing-section.reveal .closing-text-block {
    transition-delay: 0.1s;
}

.closing-section.reveal .closing-wreath-wrapper {
    transition-delay: 0.3s;
}

.closing-section.reveal .closing-names-block {
    transition-delay: 0.5s;
}