@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 */
.section::-webkit-scrollbar {
    width: 16px;
}

.section::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 100px;
}

.section::-webkit-scrollbar-thumb {
    background-color: #d4aa70;
    border-radius: 100px;
}

* {
    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: #1a2a33;

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
/* --- Sidebar Kiri (Desktop) --- */
/* --- Left Section Layout (Split Screen Desktop Engine) --- */
.left-section {
    color: #ffffff;
    flex: 1.4;
    background: url('images.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Memaksa konten merapat ke bawah */
    padding: 60px;
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* Memastikan mengunci tinggi penuh layar */
    box-sizing: border-box;
    user-select: none;
}

/* Overlay Gradasi Hitam/Navy Gelap Pekat (Vignette) */
.left-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Menggantikan top, left, width, height 100% dengan properti modern */
    /* Mengubah dari krem terang ke hitam pekat transparan (gradient ke atas) 
       agar teks putih di bawah memiliki kontras yang sangat tinggi (High Readability) */
    background: linear-gradient(to top,
            rgba(18, 18, 20, 0.95) 0%,
            rgba(18, 18, 20, 0.4) 50%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* --- Content Wrapper & Typography --- */
.left-content {
    position: relative;
    z-index: 2;
    /* Berada di atas layer penutup ::before */
    text-align: left;
    padding-bottom: 20px;
}

.left-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    /* Redup premium */
}

.left-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.75rem;
    /* Disesuaikan agar tidak terlalu memakan space */
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    color: #ffffff;
}

.left-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: #d4af37;
    /* Mengunci warna Warm Gold premium (#D4AF37) agar kontras di background gelap */
    text-transform: uppercase;
}

/* --- Dekorasi Tambahan Aksen Bunga (Optional) --- */
.left-section::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    opacity: 0.25;
    /* Diturunkan sedikit agar tidak mengalihkan perhatian dari teks */
    z-index: 1;
    pointer-events: none;
}


/* --- Animasi Pembuka Instan (Saat Halaman Dimuat) --- */
.animate-left {
    opacity: 0;
    transform: translateY(25px);
    animation: leftGlideUp 1.4s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

/* Logika urutan delay kemunculan teks */
.left-section .delay-1 {
    animation-delay: 0.2s;
}

.left-section .delay-2 {
    animation-delay: 0.5s;
}

.left-section .delay-3 {
    animation-delay: 0.8s;
}

@keyframes leftGlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Aturan Responsivitas Mobile (Sembunyikan Left-Section di HP) --- */
@media (max-width: 1024px) {

    /* Split layout panel samping biasanya hanya digunakan untuk mengisi space kosong desktop. 
       Di layar HP/Tablet, panel ini wajib disembunyikan agar undangan fokus memanjang ke bawah. */
    .left-section {
        display: none;
    }
}

/* 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: #000000;
    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/ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

/* --- Reset & Variabel Global --- */
:root {
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --color-white: #ffffff;
    --color-text-light: #e4e4e7;
    /* Serupa dengan zinc-300 */
    --color-text-muted: #a1a1aa;
    /* Serupa dengan zinc-400 */
    --color-dark: #18181b;
    /* Serupa dengan zinc-900 */
}


/* --- Main Section Layout --- */
.first-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-dark);
    font-family: var(--font-sans);
    color: var(--color-white);
    text-align: center;
    padding: 3rem 1.5rem;
    user-select: none;
}

/* --- Background & Vignette Overlays --- */
.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

/* Gradien atas untuk keterbacaan judul */
.overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Gradien bawah untuk keterbacaan info tamu */
.overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
}

/* --- Content Typography & Spacing --- */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    /*height: 100%;*/
    min-height: calc(100vh - 15rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top Section */
.content-top {
    margin-top: 1rem;
}

.sub-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.couple-names {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #f5f5f4;
}

.couple-names .ampersand {
    display: inline-block;
    font-size: 2.25rem;
    font-weight: 300;
    font-style: italic;
    color: #d6d3d1;
    margin: 0.25rem 0;
}

.wedding-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* Middle Section (Guest Info) */
.content-middle {
    margin: auto 0;
    padding: 2rem 0;
}

.salutation {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.recipient-label {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.guest-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    /* letter-spacing: 0.1em; */
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0.75rem 0;
}

.disclaimer {
    font-size: 0.65rem;
    font-style: italic;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    max-width: 240px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Bottom Section (Button) */
.content-bottom {
    margin-bottom: 1rem;
}

.btn-open-invitation {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-dark);
    font-family: var(--font-serif);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.85rem 2.2rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-open-invitation:hover {
    background-color: #e4e4e7;
    letter-spacing: 0.25em;
}

.btn-open-invitation:active {
    transform: scale(0.96);
}


/* --- Animasi Intro (Halaman Dimuat) --- */

.animate-zoom-out {
    animation: zoomOut 9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.4s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

/* Staggered Delay */
.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.8s;
}

.delay-3 {
    animation-delay: 1.3s;
}

/* Keyframes */
@keyframes zoomOut {
    from {
        transform: scale(1.18);
    }

    to {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivitas Layar Kecil / Pendek */
@media (max-height: 667px) {
    .content-wrapper {
        min-height: calc(100vh - 3rem);
    }

    .couple-names {
        font-size: 2.5rem;
    }

    .content-middle {
        padding: 1rem 0;
    }

    .guest-name {
        font-size: 1.5rem;
    }
}

/* opening */
/* --- Reset & Base Layout --- */
.opening-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #1c1c1e;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Memaksa konten turun ke bawah */
    align-items: flex-start;
    /* Merata-kirikan konten sesuai gambar */
    padding: 4rem 2rem 5rem 2rem;
    /* padding bawah dilebihkan untuk indikator scroll */
    box-sizing: border-box;
    user-select: none;
}

/* --- Slideshow CSS Engine (3 Gambar / Ganti Tiap 2 Detik) --- */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;

    /* State Awal: Transparan dan sedikit nge-zoom */
    opacity: 0;
    transform: scale(1.12);
    z-index: 1;

    /* Durasi transisi pudar pudar (fade) dibuat 1.2 detik agar smooth */
    transition: opacity 1.2s ease-in-out, transform 3.5s ease-out;
}

/* State Aktif: Gambar muncul penuh dan bergerak maju perlahan */
.slide-item.active {
    opacity: 1;
    transform: scale(1.03);
    z-index: 2;
    /* Berada di atas gambar yang sedang pudar */
}

/* Layer gradien penutup teks */
.slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 80%);
    z-index: 3;
    /* Selalu di atas seluruh gambar slideshow */
}

/* Efek transisi pudar (fade) sekaligus gerak maju sinematik (zoom-in) */

/* --- Tipografi & Layout Konten --- */
.opening-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    text-align: left;
    margin-bottom: 10%;
}

.op-sub-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
    color: #d4d4d8;
    margin-bottom: 1.25rem;
}

.op-couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 2.85rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.op-couple-names .op-ampersand {
    display: inline-block;
    font-size: 2.25rem;
    font-weight: 300;
    font-style: italic;
    color: #e4e4e7;
    margin: 0.2rem 0;
}

.op-wedding-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: #e4e4e7;
    margin-top: 1.5rem;
}

/* --- Animasi berbasis Intersection Observer (`.reveal`) --- */

/* State awal disembunyikan */
.opening-section .animate-on-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* State ketika kelas .reveal disuntikkan oleh observer milikmu */
.opening-section.reveal .animate-on-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Mengatur jeda kemunculan teks berurutan */
.opening-section.reveal .delay-1 {
    transition-delay: 0.2s;
}

.opening-section.reveal .delay-2 {
    transition-delay: 0.5s;
}

.opening-section.reveal .delay-3 {
    transition-delay: 0.8s;
}

.opening-section.reveal .delay-4 {
    transition-delay: 1.1s;
}


/* --- Indikator Mouse Scroll Animation --- */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    /* Gunakan margin-left negatif setengah dari perkiraan lebar elemen 
       atau andalkan flex alignment internal agar transform tidak bertabrakan */
    transform: translateX(-50%);
    z-index: 10;
    width: auto;
    white-space: nowrap;
    /* Mencegah teks melompat ke baris baru */
}

/* Wrapper internal untuk mengisolasi efek animasi on-scroll .reveal */
.scroll-bounce-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Struktur bentuk mouse */
.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    position: relative;
}

/* Titik roda tengah mouse yang bergerak turun */
.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.6s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* --- Responsivitas Layar Kecil --- */
@media (max-width: 375px) {
    .opening-section {
        padding-left: 1.5rem;
        padding-bottom: 4.5rem;
    }

    .op-couple-names {
        font-size: 2.4rem;
    }
}

/* quotes  */
/* --- Base Layout Quotes Section --- */
.quotes-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #1c1c1e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    box-sizing: border-box;
    user-select: none;
}

/* --- Background Image & Vignette Styling --- */
.quotes-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.quotes-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay gelap melengkung ganda untuk memastikan teks terbaca kontras */
.quotes-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

/* --- Content Wrapper & Grid System --- */
.quotes-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
    min-height: calc(100vh - 8rem);
    display: grid;
    grid-template-columns: 0.2fr 2fr;
    /* Membagi area angka besar kiri dan teks kanan */
    align-items: flex-end;
    /* Memaksa elemen turun ke bawah sesuai gambar target */
    gap: 1.5rem;
}

/* --- Sisi Kiri: Angka Tanggal Raksasa --- */
.date-giant-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 0.85;
    position: absolute;
    top: 5%;
    /* Menaruh angka di area atas-tengah kiri seperti di gambar */
    left: 0;
}

.date-digit {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    /* Transparansi muted premium */
    letter-spacing: -0.02em;
}

/* --- Sisi Kanan: Teks Blok Ayat --- */
.quote-text-block {
    grid-column: 1 / -1;
    /* Di mobile, biarkan teks mengambil lebar penuh jika layar sempit */
    text-align: right;
    /* Merata-kan teks ke kanan sesuai layout gambar */
    justify-self: flex-end;
    max-width: 320px;
    margin-bottom: 2rem;
}

/* Override posisi grid untuk layar medium/HP tegak lega */
@media (min-width: 360px) {
    .quote-text-block {
        grid-column: 2;
        /* Teks mengunci di kolom kanan */
    }
}

.quote-verse {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.quote-source {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-transform: uppercase;
}

/* --- Animasi berbasis Intersection Observer (`.reveal`) --- */

/* State awal disembunyikan dengan efek geser naik + pudar */
.quotes-section .animate-quote-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* State ketika kelas .reveal disuntikkan oleh observer milikmu */
.quotes-section.reveal .animate-quote-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Kecepatan jeda sekuensial (Staggered Delay) */
.quotes-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

/* Angka tanggal muncul duluan */
.quotes-section.reveal .delay-2 {
    transition-delay: 0.5s;
}

/* Teks ayat menyusul */
.quotes-section.reveal .delay-3 {
    transition-delay: 0.9s;
}

/* Sumber ayat muncul terakhir */


/* --- Responsivitas Layar Pendek --- */
@media (max-height: 680px) {
    .date-digit {
        font-size: 4.5rem;
    }

    .quote-verse {
        font-size: 0.75rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
}

/* couple/ */

/* --- Base Layout Couple Section --- */
.couple-section {
    width: 100%;
    min-height: 100vh;
    background-color: #121214;
    overflow: hidden;
    box-sizing: border-box;
    user-select: none;
    padding: 0px;
}

.couple-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Vertikal bertumpuk di mobile agar lega */
}

@media (min-width: 768px) {
    .couple-container {
        flex-direction: row;
        /* Berdampingan kiri-kanan saat di layar desktop */
    }
}

/* --- Card Structure & Sizing --- */
.profile-card {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Mengunci tinggi penuh layar HP per mempelai */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 4rem 2.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .profile-card {
        width: 50%;
        /* Membagi area 50-50 seimbang */
    }
}

/* --- Background Image & Layering --- */
.profile-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradien gelap melengkung di area bawah tempat teks bernaung */
.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.4) 35%,
            rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

/* --- Profile Content & Typography --- */
.profile-content {
    position: relative;
    z-index: 10;
    color: #ffffff;
    text-align: left;
    width: 100%;
    max-width: 360px;
}

.profile-role {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
    color: #d4d4d8;
    margin-bottom: 1.25rem;
}

.profile-full-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.profile-lineage {
    display: block;
    /*font-family: 'Alex Brush', cursive;*/
    /* Mengadopsi font tulisan tangan premium */
    font-size: 1.2rem;
    color: #e4e4e7;
    margin: 0.5rem 0;
    letter-spacing: 0.02em;
}

.profile-parents {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

/* --- Instagram Link Styling --- */
.profile-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
}

.profile-instagram:hover {
    color: #ffffff;
}

.ig-icon {
    width: 14px;
    height: 14px;
}

/* --- Animasi On-Scroll (Intersection Observer Integration) --- */

/* --- Animasi On-Scroll (Perbaikan Deteksi Individual) --- */

/* State awal disembunyikan */
.profile-card.animate-couple-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.profile-card.animate-couple-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Menyembunyikan elemen teks internal di dalam masing-masing kartu */
.profile-card .profile-content>* {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* State AKTIF: Ketika kartu bersangkutan mendapatkan kelas .reveal dari observer */
.profile-card.reveal.animate-couple-left,
.profile-card.reveal.animate-couple-right {
    opacity: 1;
    transform: translateX(0);
}

.profile-card.reveal .profile-content>* {
    opacity: 1;
    transform: translateY(0);
}

/* Jeda sekuensial kemunculan teks di dalam kartu yang sedang aktif */
.profile-card.reveal .profile-content>.profile-role {
    transition-delay: 0.3s;
}

.profile-card.reveal .profile-content>.profile-full-name {
    transition-delay: 0.5s;
}

.profile-card.reveal .profile-content>.profile-lineage {
    transition-delay: 0.7s;
}

.profile-card.reveal .profile-content>.profile-parents {
    transition-delay: 0.9s;
}

.profile-card.reveal .profile-content>.profile-instagram {
    transition-delay: 1.1s;
}


/* --- Penyesuaian Khusus Desktop (Lebar Layar >= 768px) --- */
@media (min-width: 768px) {

    /* Di desktop karena kedua kartu tampil berdampingan secara instan, 
       kita hilangkan translasi X agar tidak tumpang tindih aneh saat masuk */
    .profile-card.animate-couple-left {
        transform: translateY(30px);
    }

    .profile-card.animate-couple-right {
        transform: translateY(30px);
    }

    .profile-card.reveal.animate-couple-left,
    .profile-card.reveal.animate-couple-right {
        transform: translateY(0);
    }
}

/* Menambahkan sedikit jeda delay internal untuk elemen teks di dalam kartu */
.couple-section .profile-content>* {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* State ketika kelas .reveal disuntikkan oleh script-mu */
.couple-section.reveal .animate-couple-left,
.couple-section.reveal .animate-couple-right {
    opacity: 1;
    transform: translateX(0);
}

.couple-section.reveal .profile-content>* {
    opacity: 1;
    transform: translateY(0);
}

/* Delay sekuensial isi teks dalam kartu pengantin */
.couple-section.reveal .profile-content>.profile-role {
    transition-delay: 0.4s;
}

.couple-section.reveal .profile-content>.profile-full-name {
    transition-delay: 0.6s;
}

.couple-section.reveal .profile-content>.profile-lineage {
    transition-delay: 0.8s;
}

.couple-section.reveal .profile-content>.profile-parents {
    transition-delay: 1.0s;
}

.couple-section.reveal .profile-content>.profile-instagram {
    transition-delay: 1.2s;
}


/* --- Responsivitas Layar Kecil / Pendek --- */
@media (max-width: 360px) {
    .profile-card {
        padding: 3rem 1.75rem;
    }

    .profile-full-name {
        font-size: 2.1rem;
    }

    .profile-lineage {
        font-size: 1.5rem;
    }

    .profile-parents {
        font-size: 0.85rem;
    }
}

/* save-date/ */
/* --- Save The Date Layout --- */
.save-the-date {
    position: relative;
    padding: 120px 20px;
    min-height: 70vh;
    background-color: #f9fbfd;
    /* Putih sedikit kebiruan agar aset bunga menyatu */
    overflow: hidden;
    text-align: center;
}

.std-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Tipografi & Elemen Visual --- */
.std-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2a4e;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.std-divider {
    width: 60px;
    height: 2px;
    background-color: #bfa37e;
    /* Aksen Gold */
    margin: 0 auto 25px;
}

.std-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

/* --- Countdown Styling --- */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.countdown-item {
    background: #ffffff;
    width: 80px;
    padding: 15px 5px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 42, 78, 0.08);
    border: 1px solid rgba(26, 42, 78, 0.05);
}

.countdown-item .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a4e;
}

.countdown-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bfa37e;
}

/* --- Dekorasi Aset --- */
.std-decor {
    position: absolute;
    opacity: 0.2;
    z-index: 1;
    transition: all 1.5s ease;
}

.top-right {
    width: 200px;
    top: -40px;
    right: -50px;
    transform: rotate(15deg);
}

.bottom-left {
    width: 180px;
    bottom: -40px;
    left: -50px;
}

/* --- Button --- */
.btn-calendar {
    display: inline-block;
    padding: 12px 30px;
    background: #1a2a4e;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-calendar:hover {
    background: #bfa37e;
    transform: translateY(-3px);
}

/* --- Animasi On-Scroll (Reveal) --- */
.save-the-date {
    position: relative;
    min-height: 80vh;
    /* Sedikit lebih pendek dari opening */
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    color: #ffffff;
    overflow: hidden;
}

.std-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
}

/* Typography */
.std-title {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    letter-spacing: 5px;
    color: #FFEBD9;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.std-intro {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Date Layout */
.date-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.date-line {
    width: 50px;
    height: 2px;
    background-color: #FFEBD9;
}

.date-main {
    display: flex;
    flex-direction: column;
}

.date-main .day {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 600;
}

.date-main .date-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
    color: #ffffff;
    margin: 10px 0;
}

.date-main .month-year {
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.std-location {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    border: 1px solid rgba(243, 169, 82, 0.5);
    display: inline-block;
    padding: 8px 20px;
}

/* --- LOGIKA ANIMASI (REVEAL) --- */

/* Keadaan awal (Hidden) */
.std-title,
.std-intro,
.date-wrapper,
.std-location {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reveal State */
.save-the-date.reveal .std-title {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
}

.save-the-date.reveal .std-intro {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.4s;
}

.save-the-date.reveal .date-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.6s;
}

.save-the-date.reveal .std-location {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.8s;
}

/* Container untuk tombol agar ada jarak */
.remind-wrapper {
    margin-top: 30px;
}

.btn-remind {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #FFEBD9;
    /* Warna oranye emas */
    border: 1px solid #FFEBD9;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    /* Bentuk pill */
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    /* Efek blur kaca tipis */
}

.btn-remind i {
    font-size: 1.1rem;
}

/* Efek Hover */
.btn-remind:hover {
    background-color: #FFEBD9;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(243, 169, 82, 0.4);
    transform: translateY(-3px);
}

/* Tambahkan ke Animasi Reveal agar muncul terakhir */
.save-the-date.reveal .remind-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 1s;
    /* Muncul setelah lokasi */
}

/* Pastikan state awal disembunyikan */
.remind-wrapper {
    opacity: 0;
    transform: translateY(20px);
}

/* event/ */
/* --- Event Section Layout --- */
/* --- Base Layout Event Section --- */
.event-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #161618;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem 2rem;
    box-sizing: border-box;
    user-select: none;
}

/* --- Background Image & High Contrast Overlay --- */
.event-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.event-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradien gelap penuh agar seluruh teks info yang padat mudah dibaca */
.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

/* --- Content Wrapper (Left-Aligned Layout) --- */
.event-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Merata-kirikan semua elemen sesuai gambar */
    text-align: left;
}

/* --- Horizontal Divider Line --- */
.event-divider {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* --- Countdown Timer Component --- */
.countdown-block {
    width: 100%;
}

.countdown-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.timer-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
}

.timer-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* --- Big Date Header (Sesuai Gambar) --- */
.event-header-date h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #ffffff;
}

/* --- Event Cards (Akad & Resepsi) --- */
.event-card {
    width: 100%;
    margin-bottom: 3rem;
}

.event-card:last-child {
    margin-bottom: 0;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.event-location {
    margin-bottom: 1.25rem;
}

.location-name {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.loc-icon {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.location-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Premium Maps Button Style --- */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.65rem 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background-color: #ffffff;
    color: #161618;
    border-color: #ffffff;
}

.arrow-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.btn-maps:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- Animasi On-Scroll (Intersection Observer `.reveal`) --- */

.event-section .animate-event {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.event-section.reveal .animate-event {
    opacity: 1;
    transform: translateY(0);
}

/* Jeda Sekuensial Masuk Element */
.event-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

.event-section.reveal .delay-2 {
    transition-delay: 0.3s;
}

.event-section.reveal .delay-3 {
    transition-delay: 0.4s;
}

.event-section.reveal .delay-4 {
    transition-delay: 0.6s;
}

.event-section.reveal .delay-5 {
    transition-delay: 0.7s;
}

.event-section.reveal .delay-6 {
    transition-delay: 0.9s;
}

/* --- Responsivitas Layar Pendek --- */
@media (max-width: 360px) {
    .event-header-date h1 {
        font-size: 2rem;
    }

    .timer-num {
        font-size: 1.85rem;
    }

    .event-title {
        font-size: 1.3rem;
    }
}

/* story/ */
/* --- Base Layout Story Section --- */
.story-section {
    width: 100%;
    background-color: #121214;
    color: #ffffff;
    padding: 2rem 2rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    user-select: none;
}

.story-wrapper {
    width: 100%;
    max-width: 420px;
    /* Menjaga teks narasi tetap nyaman dibaca di HP */
    display: flex;
    flex-direction: column;
}

/* --- Section Header --- */
.story-header-block {
    text-align: left;
    margin-bottom: 4rem;
}

.story-sub {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #a1a1aa;
    margin-bottom: 0.5rem;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #ffffff;
}

/* --- Timeline Layout --- */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    /* Jarak renggang antar-babak cerita */
    position: relative;
}

.story-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    /* Memisahkan kolom angka kiri dan teks kanan */
    gap: 1rem;
    align-items: flex-start;
}

/* Sisi Kiri: Meta Data Cerita */
.story-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.story-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    /* Muted editorial numbering */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.25rem;
    width: 100%;
}

.story-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #a1a1aa;
    margin-top: 0.5rem;
}

/* Sisi Kanan: Isi Narasi */
.story-body {
    text-align: left;
}

.story-epoch {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.story-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    text-align: justify;
}

/* --- Big Photo Frame Section --- */
.story-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* margin-top: 6rem; */
    /* Memberikan ruang kosong yang lega sebelum foto */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.story-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.story-photo-frame:hover img {
    transform: scale(1.06);
}

/* Aksen bingkai garis halus di sekeliling foto */
.frame-border-decor {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 2;
}

/* --- Animasi On-Scroll (Intersection Observer Integration) --- */

/* 1. State Awal Cerita (Sembunyi meluncur naik) */
.story-card.animate-story-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Jeda delay internal untuk teks di dalam baris cerita */
.story-card .story-body>* {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* 2. State Awal Foto Penutup (Sembunyi memudar pudar) */
.story-photo-frame.animate-story-fade {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- State AKTIF (Saat masing-masing elemen mendapat kelas .reveal) --- */
.story-card.reveal.animate-story-up {
    opacity: 1;
    transform: translateY(0);
}

.story-card.reveal .story-body>* {
    opacity: 1;
    transform: translateY(0);
}

.story-card.reveal .story-body .story-epoch {
    transition-delay: 0.2s;
}

.story-card.reveal .story-body .story-text {
    transition-delay: 0.4s;
}

.story-photo-frame.reveal.animate-story-fade {
    opacity: 1;
    transform: scale(1);
}

/* --- Penyesuaian khusus Desktop / Tablet (Lebar >= 768px) --- */
@media (min-width: 768px) {
    .story-wrapper {
        max-width: 680px;
        /* Melebarkan kontainer di layar desktop */
    }

    .timeline-container {
        gap: 4.5rem;
    }

    .story-card {
        grid-template-columns: 100px 1fr;
        /* Memperlebar kolom nomor di desktop */
        gap: 2rem;
    }

    .story-number {
        font-size: 2.75rem;
    }

    .story-epoch {
        font-size: 1.5rem;
    }

    .story-text {
        font-size: 0.88rem;
    }
}

/* --- Gallery Section Layout --- */
/* --- Base Layout Gallery Section --- */
.gallery-section {
    width: 100%;
    min-height: 100vh;
    background-color: #161618;
    /* Selaras dengan warna dasar gelap sebelumnya */
    color: #ffffff;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    user-select: none;
}

.gallery-wrapper {
    width: 100%;
    max-width: 440px;
    /* Menjaga kenyamanan pandangan di layar HP */
    display: flex;
    flex-direction: column;
}

/* --- Section Header --- */
.gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gallery-sub {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #a1a1aa;
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #ffffff;
}

/* --- Youtube Video Player Box --- */
.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Mengunci rasio layar lebar modern otomatis */
    background-color: #000000;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Asymmetric Editorial Photo Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Basis 2 kolom seimbang di HP */
    gap: 0.85rem;
    /* Jarak renggang antar-foto mewah */
}

.grid-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Default foto berbentuk bujur sangkar */
    overflow: hidden;
    background-color: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Penyesuaian Tambahan untuk fslightbox link --- */
.grid-item a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

/* Ubah selector hover gambar yang sebelumnya, agar transisinya tetap mulus dari pembungkus tag <a> */
.grid-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


/* --- Animasi On-Scroll (Intersection Observer Integration) --- */

/* Sembunyikan elemen sebelum terdeteksi scroll */
.gallery-section .animate-gallery {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.3s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Picu jalannya gerakan saat kelas .reveal masuk */
.gallery-section.reveal .animate-gallery {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay (Aliran air berurutan saat di-scroll) */
.gallery-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

.gallery-section.reveal .delay-2 {
    transition-delay: 0.3s;
}

.gallery-section.reveal .delay-3 {
    transition-delay: 0.4s;
}

.gallery-section.reveal .delay-4 {
    transition-delay: 0.5s;
}

.gallery-section.reveal .delay-5 {
    transition-delay: 0.6s;
}

.gallery-section.reveal .delay-6 {
    transition-delay: 0.7s;
}

.gallery-section.reveal .delay-7 {
    transition-delay: 0.8s;
}

.gallery-section.reveal .delay-8 {
    transition-delay: 0.9s;
}

/* --- Responsivitas khusus Desktop atau Tablet (Lebar >= 768px) --- */
@media (min-width: 768px) {
    .gallery-wrapper {
        max-width: 720px;
        /* Meluaskan layout agar estetik di layar PC */
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Berubah menjadi 3 kolom lapang */
        gap: 1.25rem;
    }

    .grid-item.item-wide {
        grid-column: span 3;
        /* Mengambil 3 kolom penuh di desktop */
        aspect-ratio: 21 / 9;
    }
}

/* gift/ */
/* --- Base Layout Gift Section --- */
.gift-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #161618;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    box-sizing: border-box;
    user-select: none;
}

/* --- Background Image & Contrast Filter --- */
.gift-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gift-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradien gelap menyeluruh untuk menjaga kejelasan teks editorial atas */
.gift-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.8) 100__);
    background: rgba(0, 0, 0, 0.65);
    /* Fallback multi-layer shadow */
    z-index: 1;
}

/* --- Content Wrapper (Center-Aligned) --- */
.gift-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-w: 400px;
    /* Dipersempit agar kartu terlihat padat menumpuk rapi di HP */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Header Typography (Adopsi Gambar Asli) --- */
.gift-header-block {
    margin-bottom: 2.5rem;
}

.gift-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.gift-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.825rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
}

.gift-lead-in {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.825rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Cards Stack Structural System --- */
.gift-cards-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* Jarak antar kartu */
}

/* --- White Rounded Minimalist Cards --- */
.gift-card {
    background-color: #ffffff;
    color: #1c1c1e;
    padding: 1.5rem 1.75rem;
    border-radius: 1.25rem;
    /* Mengadopsi lekukan melengkung tebal dari gambar */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.bank-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    color: #55555a;
    margin-bottom: 0.35rem;
}

.account-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.account-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #000000;
}

.account-holder {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    color: #1c1c1e;
}

/* Layout Spesifik untuk Area Alamat */
.address-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.25rem 0;
}

.address-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #1c1c1e;
    text-align: center;
    max-width: 260px;
}

/* --- Minimalist Functional Copy Button --- */
.btn-copy {
    background: transparent;
    border: none;
    color: #8e8e93;
    cursor: pointer;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.1s ease;
}

.btn-copy:hover {
    color: #000000;
}

.btn-copy:active {
    transform: scale(0.88);
}

.copy-icon {
    width: 14px;
    height: 14px;
}

/* Penyesuaian tombol untuk teks alamat yang panjang */
.btn-copy.alignment-top {
    margin-top: 0.15rem;
}

/* --- Animasi On-Scroll (Intersection Observer Integration) --- */

.gift-section .animate-gift {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.3s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.gift-section.reveal .animate-gift {
    opacity: 1;
    transform: translateY(0);
}

/* Urutan Kemunculan Berurutan */
.gift-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

/* Judul & Subtitle */
.gift-section.reveal .delay-2 {
    transition-delay: 0.4s;
}

/* Kartu Mandiri */
.gift-section.reveal .delay-3 {
    transition-delay: 0.6s;
}

/* Kartu BNI */
.gift-section.reveal .delay-4 {
    transition-delay: 0.8s;
}

/* Kartu Alamat */

/* --- Responsivitas Skala Layar HP Sangat Kecil --- */
@media (max-width: 350px) {
    .gift-main-title {
        font-size: 2rem;
    }

    .account-number {
        font-size: 1.1rem;
    }

    .gift-card {
        padding: 1.25rem 1rem;
    }
}

/* rsvp/ */
/* --- Base Layout RSVP Section --- */
.rsvp-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #1c1c1e;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
    user-select: none;
}

/* --- Background Image Setup --- */
.rsvp-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rsvp-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rsvp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* --- Content Wrapper --- */
.rsvp-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    /* Sesuai rasio HP tegak lurus di gambar */
    display: flex;
    flex-direction: column;
}

/* --- Typography Header --- */
.rsvp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rsvp-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.85rem;
    /* Ukuran teks besar melengkung anggun sesuai gambar */
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.rsvp-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
}

/* --- Form Minimalist Glassmorphism Layout --- */
.rsvp-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.25);
    /* Input semi transparan abu murni sesuai gambar */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.65rem;
    padding: 0.75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Dropdown styling */
.select-control {
    cursor: pointer;
    color: #ffffff;
    appearance: none;
    /* Hilangkan panah default OS kaku */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.select-control option {
    background-color: #1c1c1e;
    /* Memastikan opsi teks dropdown terbaca di layar Android/iOS */
    color: #ffffff;
}

.textarea-control {
    min-height: 110px;
    resize: none;
}

/* Counter Karakter Angka Kecil */
.char-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* --- Solid Black Premium Button --- */
.btn-send {
    width: 100%;
    background-color: #000000;
    /* Hitam pekat pekat sesuai gambar target */
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0.65rem;
    padding: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 0.5rem;
}

.btn-send:hover {
    background-color: #121214;
}

.btn-send:active {
    transform: scale(0.98);
}

/* --- Wishes Feed (Daftar Ucapan Masuk) --- */
.wishes-feed {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 380px;
    /* Batasi tinggi area agar tidak merusak scroll utama halaman */
    overflow-y: auto;
    /* Mengizinkan scroll lokal di dalam daftar ucapan */
    padding-right: 0.25rem;
}

/* Kustomisasi scrollbar agar super tipis dan bersih */
.wishes-feed::-webkit-scrollbar {
    width: 4px;
}

.wishes-feed::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Wish Card Styling (Persis Gambar) */
.wish-card {
    background-color: rgba(255, 255, 255, 0.25);
    /* Abu-abu semi-transparan tipis */
    padding: 1.25rem 1.25rem;
    border-radius: 0.85rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
}

.wish-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wish-sender {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    /* Warna abu redup premium */
}

/* Kehadiran Badge Status */
.badge {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.wish-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.825rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    /* Warna teks isi ucapan abu terang */
    word-break: break-word;
}

.wish-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.75rem;
    align-self: flex-end;
    /* Memaksa penunjuk waktu di kanan bawah kartu */
}

/* --- Animasi On-Scroll (Intersection Observer Integration) --- */
.rsvp-section .animate-rsvp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.3s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.rsvp-section.reveal .animate-rsvp {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

.rsvp-section.reveal .delay-2 {
    transition-delay: 0.4s;
}

.rsvp-section.reveal .delay-3 {
    transition-delay: 0.7s;
}

/* closing/ */
/* --- Base Layout Closing Section --- */
.closing-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #121214;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Menjaga konten utama berada di tengah layar */
    align-items: center;
    padding: 6rem 2rem 4rem 2rem;
    /* Padding bawah dilebihkan untuk ruang footer */
    box-sizing: border-box;
    text-align: center;
    user-select: none;
}

/* --- Background & Overlay Styling --- */
.closing-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.closing-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay gradien gelap menyeluruh untuk mempertahankan kelembutan suasana gambar asli */
.closing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.85) 100__);
    background: rgba(18, 18, 20, 0.65);
    /* Multi-layer blending overlay */
    z-index: 1;
}

/* --- Content Wrapper --- */
.closing-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 380px;
    /* Lebar dibatasi agar pemenggalan kalimat serasi dengan gambar */
    margin: auto 0;
    /* Mendorong konten tetap center di luar batasan footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    /* Jarak antar blok elemen vertikal */
}

/* --- Typography Teks Penutup --- */
.closing-text-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.closing-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

/* Teks baris kedua menggunakan huruf kecil semua sesuai gambar asli */
.closing-paragraph.highlight-thanks {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Signature Couple Names (Persis Gambar) --- */
.closing-couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.closing-ampersand {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-style: italic;
    /* Karakter & dibuat miring anggun */
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Hashtag Mempelai --- */
.closing-hashtag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Premium Footer Branding --- */
.closing-footer {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* Warna ikon hati bawaan FontAwesome */
.closing-footer i.fa-heart {
    color: #e11d48;
    /* Crimson / rose-600 */
    margin: 0 2px;
    font-size: 0.6rem;
}

/* --- Animasi On-Scroll (Intersection Observer Integration) --- */
.closing-section .animate-closing {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.610, 0.355, 1),
        transform 1.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Aktif berurutan saat di-reveal */
.closing-section.reveal .animate-closing {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay */
/* --- Tambahan Styling Logo --- */
.closing-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: -0.5rem; /* Mengurangi gap default wrapper agar jarak ke teks lebih pas */
}

.closing-logo {
    max-width: 80px; /* Atur lebar maksimal logo agar tetap elegan & proporsional */
    height: auto;
    object-fit: contain;
    /* Jika logo berwarna hitam/gelap dan background kamu gelap, bisa pakai properti di bawah untuk menjadikannya putih (opsional): */
    /* filter: brightness(0) invert(1); */
}

/* --- Penyesuaian Staggered Delay Animasi --- */
.closing-section.reveal .delay-1 {
    transition-delay: 0.1s; /* Logo muncul pertama */
}

.closing-section.reveal .delay-2 {
    transition-delay: 0.4s; /* Paragraf Ucapan */
}

.closing-section.reveal .delay-3 {
    transition-delay: 0.7s; /* Teks Nama Mempelai */
}

.closing-section.reveal .delay-4 {
    transition-delay: 1.0s; /* Hashtag */
}

.closing-section.reveal .delay-5 {
    transition-delay: 1.3s; /* Footer Amorra.id */
}

/* --- Responsivitas Skala Layar HP Kecil --- */
@media (max-width: 350px) {
    .closing-paragraph {
        font-size: 0.78rem;
    }

    .closing-couple-names {
        font-size: 1.25rem;
    }
    
    .closing-logo {
        max-width: 65px; /* Logo mengecil sedikit di layar sangat kecil */
    }
}