@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) --- */
/* --- Base Layout Left Section (Desktop Split View) --- */
.left-section {
    color: #ffffff;
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Memusatkan posisi kartu ke area bawah-tengah */
    align-items: flex-start;
    padding: 60px;
    position: relative;
    overflow: hidden;
    height: 100vh;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

/* Filter Monokrom Gambar Background */
.left-section {
    background-blend-mode: luminosity;
    /* Menyatu menjadi hitam putih dramatis */
}

/* Overlay Gradasi Hitam Pekat Vignette */
.left-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(to top, rgba(11, 11, 12, 0.9) 0%, rgba(11, 11, 12, 0) 30%);
    z-index: 1;
}

/* --- Dark Glass Window Card Container --- */
.left-window-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 2.75rem 2.25rem 2.25rem 2.25rem;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

/* 3 Titik Lampu di Sudut Kiri Atas Kartu */
.left-window-card .card-dots {
    position: absolute;
    top: 16px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.left-window-card .card-dots .dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    display: inline-block;
}

.left-window-card .card-dots .dot-red {
    background-color: #ff5f56;
}

.left-window-card .card-dots .dot-yellow {
    background-color: #ffbd2e;
}

.left-window-card .card-dots .dot-green {
    background-color: #27c93f;
}

/* --- Content Wrapper & Typography --- */
.left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* "The Wedding of" dengan variasi serif italic pada kata Wedding */
.left-content h2 {
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 0.4rem 0;
    text-transform: none;
}

.left-content h2 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
}

/* Nama Mempelai Tebal Tegas Sesuai Fisik */
.left-content .bride-name {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
}

/* Pill Badge "Happily Ever After" */
.left-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1.1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1.25rem;
}

.left-badge span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

/* Tanggal Monokromatik */
.left-content .wedding-date {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin: 0;
}

/* Footer Samping Minimalis */
.left-footer {
    position: absolute;
    bottom: 25px;
    left: 60px;
    z-index: 2;
}

.footer-dots {
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.3em;
    font-size: 0.9rem;
}

/* --- Animasi Pembuka Halus --- */
.animate-left {
    opacity: 0;
    transform: translateY(20px);
    animation: leftGlideUp 1.2s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

.left-section .delay-1 {
    animation-delay: 0.15s;
}

.left-section .delay-2 {
    animation-delay: 0.35s;
}

.left-section .delay-3 {
    animation-delay: 0.55s;
}

@keyframes leftGlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sembunyikan di layar HP / Tablet */
@media (max-width: 1024px) {
    .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: 70%;
    min-height: calc(80vh - 12rem);
    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.75rem;
    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 Section Style --- */
/* --- Base Opening Section --- */
.opening-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background-color: #0b0b0c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.25rem 5rem 1.25rem; /* Padding bawah menyisakan ruang untuk scroll indicator */
    box-sizing: border-box;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

/* --- Window Card Box (Frame Video macOS Style) --- */
.opening-window-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8),
                0 0 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 5;
    box-sizing: border-box;
}

/* Header Bar Bagian Atas Frame */
.window-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0.85rem 1.25rem;
    background: #1f1f23;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

/* 3 Titik Lampu (Dots Aksen) */
.window-header-bar .card-dots {
    display: flex;
    align-items: center;
    gap: 6.5px;
    width: 50px; /* Lebar seimbang dengan spacer kanan */
}

.window-header-bar .card-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.window-header-bar .card-dots .dot-red {
    background-color: #ff5f56;
}

.window-header-bar .card-dots .dot-yellow {
    background-color: #ffbd2e;
}

.window-header-bar .card-dots .dot-green {
    background-color: #27c93f;
}

/* Tulisan Judul "Our Love Story" Rata Tengah */
.window-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #ffffff;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.header-spacer {
    width: 50px; /* Penyeimbang agar teks title presisi di tengah */
}

/* --- Container Video di Dalam Frame --- */
.opening-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Rasio potret ideal untuk video undangan HP */
    max-height: 74vh;
    background-color: #000000;
    overflow: hidden;
    pointer-events: none; /* Mencegah video bisa dipause / diklik */
}

.opening-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- Indikator Mouse Scroll Down (Delay 5 Detik) --- */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-indicator.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.scroll-bounce-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mouse-icon {
    width: 18px;
    height: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 11px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.8s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        top: 5px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 16px;
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Responsivitas Layar HP Kecil (< 360px) */
@media (max-width: 360px) {
    .opening-window-frame {
        max-width: 320px;
    }

    .window-title {
        font-size: 0.85rem;
    }

    .opening-video-wrapper {
        max-height: 56vh;
    }
}

/* quotes  */
/* --- Base Layout Quotes Section --- */
.quotes-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #080809;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

/* --- 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;

}

.quotes-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 8, 9, 0.4) 0%, rgba(8, 8, 9, 0.88) 100%),
        linear-gradient(to bottom, #080809 0%, transparent 20%, transparent 80%, #080809 100%);
    z-index: 1;
}

/* --- Content Wrapper --- */
.quotes-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Dark Window Card dengan Aksen Dots --- */
.quotes-window-card {
    position: relative;
    width: 100%;
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 2.75rem 2rem 2rem 2rem;
    /* Padding atas dilebihkan agar rapi di bawah titik lampu */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

/* 3 Titik Lampu di Sudut Kiri Atas Kartu */
.card-dots {
    position: absolute;
    top: 15px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-dots .dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    display: inline-block;
}

.card-dots .dot-red {
    background-color: #ff5f56;
}

.card-dots .dot-yellow {
    background-color: #ffbd2e;
}

.card-dots .dot-green {
    background-color: #27c93f;
}

/* Susunan Tata Letak Internal Kartu */
.quotes-inner-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
}

/* --- Sisi Tanggal --- */
.quotes-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 75px;
}

.date-digit-day {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.04em;
}

.date-digit-sub {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.date-slash {
    opacity: 0.4;
}

/* Pembatas Vertikal Tipis */
.quotes-card-divider {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* --- Teks Blok Ayat & Sumber --- */
.quote-text-block {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-verse {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.015em;
    margin: 0;
}

/* Sumber Ayat */
.quote-source-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.quote-dash {
    width: 18px;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.4);
    display: inline-block;
}

.quote-source {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

/* --- Animasi Berbasis Intersection Observer (`.reveal`) --- */
.quotes-section .animate-quote-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.quotes-section.reveal .animate-quote-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Staggered Bertahap */
.quotes-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

.quotes-section.reveal .delay-2 {
    transition-delay: 0.35s;
}

.quotes-section.reveal .delay-3 {
    transition-delay: 0.6s;
}

.quotes-section.reveal .delay-4 {
    transition-delay: 0.85s;
}

/* --- Responsivitas Layar Ponsel (< 520px) --- */
@media (max-width: 520px) {
    .quotes-section {
        padding: 3rem 1.25rem;
    }

    .quotes-window-card {
        padding: 2.5rem 1.25rem 1.75rem 1.25rem;
    }

    .quotes-inner-body {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .quotes-card-divider {
        width: 60%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .quote-text-block {
        text-align: center;
    }

    .quote-verse {
        font-size: 0.78rem;
        line-height: 1.7;
    }

    .quote-source-row {
        justify-content: center;
    }

    .date-digit-day {
        font-size: 2.8rem;
    }
}

/* couple/ */

/* --- Base Layout Couple Section --- */
/* --- Base Layout Couple Section --- */
.couple-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #080809;
    overflow: hidden;
    box-sizing: border-box;
    user-select: none;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.couple-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .couple-container {
        flex-direction: row;
    }
}

/* --- Card Structure & Sizing --- */
.profile-card {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .profile-card {
        width: 50%;
        padding: 4rem 2.5rem;
    }
}

/* --- 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 top;
    filter: grayscale(100%) brightness(0.7) contrast(1.15);
    /* Hitam putih tegas editorial */
    transition: transform 1.2s ease-out;
}

.profile-card:hover .profile-img {
    transform: scale(1.03);
}

/* Overlay gradien pekat khas tema fisik */
.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(8, 8, 9, 0.95) 0%,
            rgba(8, 8, 9, 0.55) 40%,
            rgba(8, 8, 9, 0.15) 75%,
            rgba(8, 8, 9, 0.4) 100%);
    z-index: 1;
}

/* --- Box Window Dark Glass (Aksen Fisik) --- */
.profile-window-box {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 380px;
    background: rgba(18, 18, 20, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 2.25rem 1.75rem 1.75rem 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

/* Dot Accent */
.box-dots {
    position: absolute;
    top: 14px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.box-dots .b-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.box-dots .dot-red {
    background-color: #ff5f56;
}

.box-dots .dot-yellow {
    background-color: #ffbd2e;
}

.box-dots .dot-green {
    background-color: #27c93f;
}

/* --- Profile Content & Typography --- */
.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
}

.profile-full-name {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
}

.profile-lineage {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.profile-parents {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem 0;
}

/* Instagram Pill-Button */
.profile-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.profile-instagram:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.ig-icon {
    width: 14px;
    height: 14px;
}

/* --- Animasi On-Scroll (Observer Support) --- */
.profile-card.animate-couple-left {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.profile-card.animate-couple-right {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Muncul saat observer menyuntikkan class .reveal */
.couple-section.reveal .profile-card.animate-couple-left,
.couple-section.reveal .profile-card.animate-couple-right,
.profile-card.reveal.animate-couple-left,
.profile-card.reveal.animate-couple-right {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay isi konten */
.profile-card .profile-content>* {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.couple-section.reveal .profile-card .profile-content>*,
.profile-card.reveal .profile-content>* {
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .profile-role,
.profile-card.reveal .profile-role {
    transition-delay: 0.25s;
}

.couple-section.reveal .profile-full-name,
.profile-card.reveal .profile-full-name {
    transition-delay: 0.45s;
}

.couple-section.reveal .profile-lineage,
.profile-card.reveal .profile-lineage {
    transition-delay: 0.65s;
}

.couple-section.reveal .profile-parents,
.profile-card.reveal .profile-parents {
    transition-delay: 0.85s;
}

.couple-section.reveal .profile-instagram,
.profile-card.reveal .profile-instagram {
    transition-delay: 1.05s;
}

/* Responsive Tablet/Desktop */
@media (min-width: 768px) {
    .couple-section.reveal .groom-card {
        transition-delay: 0.2s;
    }
}

/* 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/ */
/* --- Base Layout Event Section --- */
.event-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #080809;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

/* Background Image & Vignette Gelap Pekat */
.event-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.event-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(0.28) contrast(1.2);
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 8, 9, 0.6) 0%, rgba(8, 8, 9, 0.95) 100%),
        linear-gradient(to bottom, #080809 0%, transparent 15%, transparent 85%, #080809 100%);
    z-index: 1;
}

/* Wrapper Konten */
.event-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

/* --- Countdown Timer Modern --- */
.countdown-block {
    width: 100%;
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    box-sizing: border-box;
}

.countdown-sub {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.35rem;
}

.countdown-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}

.timer-num {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.timer-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.35rem;
}

.timer-sep {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    margin-top: -0.8rem;
}

/* Garis Pemisah Halus */
.event-section-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Big Date Header */
.event-header-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-header-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
}

.event-header-date h1 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0;
}

/* --- Card Event Box (Mengadopsi Layout Fisik 10/11) --- */
.event-card-box {
    width: 100%;
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.75rem 1.75rem;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.event-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin: 0;
}

.event-badge {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.event-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

/* Kolom Kiri: Tanggal & Jam */
.event-col-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
}

.event-day-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.event-month-txt {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

.event-clock-txt {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.03em;
    margin-top: 0.2rem;
}

/* Divider Vertikal Tengah */
.event-col-divider {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Kolom Kanan: Lokasi & Tombol */
.event-col-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.location-name {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

.loc-icon {
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.location-address {
    font-size: 0.74rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 0.5rem 0;
}

/* Tombol Google Maps (Pill Minimalist) */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.arrow-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.btn-maps:hover .arrow-icon {
    transform: translateX(3px);
}

/* --- Animasi On-Scroll (Intersection Observer `.reveal`) --- */
.event-section .animate-event {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.event-section.reveal .animate-event {
    opacity: 1;
    transform: translateY(0);
}

/* Jeda Sekuensial Masuk Elemen */
.event-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

.event-section.reveal .delay-2 {
    transition-delay: 0.25s;
}

.event-section.reveal .delay-3 {
    transition-delay: 0.4s;
}

.event-section.reveal .delay-4 {
    transition-delay: 0.55s;
}

.event-section.reveal .delay-5 {
    transition-delay: 0.7s;
}

.event-section.reveal .delay-6 {
    transition-delay: 0.9s;
}

/* --- Responsivitas Layar HP Kecil (< 520px) --- */
@media (max-width: 520px) {
    .event-section {
        padding: 4rem 1.25rem;
    }

    .countdown-timer {
        gap: 0.6rem;
    }

    .timer-num {
        font-size: 1.65rem;
    }

    .event-header-date h1 {
        font-size: 1.55rem;
    }

    .event-card-box {
        padding: 1.5rem 1.25rem;
    }

    .event-card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .event-col-divider {
        width: 60%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .event-col-info {
        align-items: center;
        text-align: center;
    }
}

/* story/ */
/* --- Base Layout Story Section --- */
/* --- Big Photo Frame Section (Dengan Aksen 3 Dots) --- */
.story-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    /* Sudut rounded konsisten dengan card lainnya */
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    margin-bottom: 3.5rem;
    /* Jeda ruang ke timeline cerita di bawahnya */
}

/* 3 Dots Lampu di Sudut Kiri Atas Foto */
.story-photo-frame .card-dots {
    position: absolute;
    top: 14px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    padding: 5px 8px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    /* Backdrop gelap tipis agar dots tetap kontras di atas foto */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.story-photo-frame .card-dots .dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    display: inline-block;
}

.story-photo-frame .card-dots .dot-red {
    background-color: #ff5f56;
}

.story-photo-frame .card-dots .dot-yellow {
    background-color: #ffbd2e;
}

.story-photo-frame .card-dots .dot-green {
    background-color: #27c93f;
}

/* Styling Gambar & Efek Monokrom Halus */
.story-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(85%) contrast(1.1) brightness(0.85);
    /* Nuansa hitam putih senada */
    transform: scale(1.02);
    transition: transform 0.8s ease, filter 0.8s ease;
    display: block;
}

.story-photo-frame:hover img {
    transform: scale(1.06);
    filter: grayscale(40%) contrast(1.15) brightness(0.9);
}

/* Aksen Garis Bingkai Halus Internal */
.frame-border-decor {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

.story-section {
    width: 100%;
    background-color: #121214;
    /* Selaras dengan pondasi warna gelap */
    color: #ffffff;
    padding: 3rem 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 --- */
/* --- Youtube Video Player Box (Dengan Aksen 3 Dots) --- */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #0b0b0d;
    margin-bottom: 2rem;
    border-radius: 18px;
    /* Sudut rounded konsisten dengan section quotes & story */
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    overflow: hidden;
}

/* 3 Titik Lampu di Sudut Kiri Atas Video Player */
.video-container .card-dots {
    position: absolute;
    top: 12px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    padding: 5px 8px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.45);
    /* Backdrop transparan agar tetap kontras di atas video */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    /* Klik tetap tembus ke pemutar video */
}

.video-container .card-dots .dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    display: inline-block;
}

.video-container .card-dots .dot-red {
    background-color: #ff5f56;
}

.video-container .card-dots .dot-yellow {
    background-color: #ffbd2e;
}

.video-container .card-dots .dot-green {
    background-color: #27c93f;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

/* --- 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: 72vh;
    overflow: hidden;
    background-color: #080809;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

/* Background Image & Overlay Monokrom Gelap */
.gift-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gift-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(0.25) contrast(1.15);
}

.gift-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 8, 9, 0.5) 0%, rgba(8, 8, 9, 0.95) 100%),
        linear-gradient(to bottom, #080809 0%, transparent 15%, transparent 85%, #080809 100%);
    z-index: 1;
}

/* Content Wrapper */
.gift-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Header Section */
.gift-header-block {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift-section-badge {
    display: inline-block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}

.gift-main-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.gift-subtitle {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 360px;
    margin: 0 auto;
}

.gift-header-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin-top: 1.5rem;
}

/* Stack Kartu */
.gift-cards-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* --- Dark Glassmorphic Card (Sesuai Undangan Fisik) --- */
.gift-card {
    background: rgba(18, 18, 20, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 1.5rem 1.6rem;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.bank-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
}

.bank-name {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.card-type-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

/* Nomor Rekening & Tombol Salin */
.account-number-wrapper {
    display: grid;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.account-number {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.account-holder {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Area Alamat Fisik */
.address-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.address-details {
    font-size: 0.76rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.address-details strong {
    font-weight: 600;
    color: #ffffff;
}

/* --- Pill Copy Button Minimalis --- */
.btn-copy {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.btn-copy:active {
    transform: scale(0.94);
}

.copy-icon {
    width: 13px;
    height: 13px;
    opacity: 0.85;
}

.btn-copy-text {
    display: inline-block;
}

/* --- Animasi On-Scroll (Intersection Observer `.reveal`) --- */
.gift-section .animate-gift {
    opacity: 0;
    transform: translateY(28px);
    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);
}

.gift-section.reveal .animate-gift {
    opacity: 1;
    transform: translateY(0);
}

/* Sekuensial Fade-in */
.gift-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

.gift-section.reveal .delay-2 {
    transition-delay: 0.3s;
}

.gift-section.reveal .delay-3 {
    transition-delay: 0.5s;
}

.gift-section.reveal .delay-4 {
    transition-delay: 0.7s;
}

/* Responsif Mobile Kecil */
@media (max-width: 420px) {
    .gift-section {
        padding: 4rem 1.25rem;
    }

    .gift-main-title {
        font-size: 1.6rem;
    }

    .account-number {
        font-size: 1.15rem;
        letter-spacing: 0.05em;
    }

    .gift-card {
        padding: 1.35rem 1.25rem;
    }
}

/* rsvp/ */
/* --- Base Layout RSVP Section --- */
.rsvp-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #080809;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

/* Background Image & Overlay Gelap Pekat */
.rsvp-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rsvp-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(0.22) contrast(1.2);
}

.rsvp-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 8, 9, 0.5) 0%, rgba(8, 8, 9, 0.95) 100%),
        linear-gradient(to bottom, #080809 0%, transparent 15%, transparent 85%, #080809 100%);
    z-index: 1;
}

/* Content Wrapper */
.rsvp-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

/* Header Section */
.rsvp-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rsvp-section-badge {
    display: inline-block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.4rem;
}

.rsvp-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.rsvp-subtitle {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 360px;
}

.rsvp-header-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin-top: 1.25rem;
}

/* --- Card Form Box (Dark Glassmorphism) --- */
/* --- Card Form Box (Dark Glassmorphism dengan Card Dots) --- */
.rsvp-card-container {
    position: relative;
    width: 100%;
    background: rgba(18, 18, 20, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 2.75rem 1.6rem 1.8rem 1.6rem;
    /* Padding atas ditambah agar tidak bertabrakan dengan card-dots */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

/* 3 Titik Lampu di Sudut Kiri Atas Container Form */
.rsvp-card-container .card-dots {
    position: absolute;
    top: 15px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.rsvp-card-container .card-dots .dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    display: inline-block;
}

.rsvp-card-container .card-dots .dot-red {
    background-color: #ff5f56;
}

.rsvp-card-container .card-dots .dot-yellow {
    background-color: #ffbd2e;
}

.rsvp-card-container .card-dots .dot-green {
    background-color: #27c93f;
}

.rsvp-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    width: 100%;
    position: relative;
}

.form-group.relative {
    position: relative;
}

.form-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.45rem;
    letter-spacing: 0.04em;
}

/* Input Styles */
.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem 0.95rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

/* Dropdown Wrapper */
.select-wrapper {
    width: 100%;
    position: relative;
}

.select-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' 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.85rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.select-control option {
    background-color: #121214;
    color: #ffffff;
    padding: 0.5rem;
}

.textarea-control {
    min-height: 105px;
    resize: none;
    padding-bottom: 1.8rem;
}

.char-counter {
    position: absolute;
    bottom: 0.55rem;
    right: 0.85rem;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

/* Button Submit Modern */
.btn-send {
    width: 100%;
    background-color: #ffffff;
    color: #080809;
    border: none;
    border-radius: 30px;
    padding: 0.85rem 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    margin-top: 0.35rem;
}

.btn-send:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}

.btn-send:active {
    transform: scale(0.98);
}

.send-icon {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

/* --- Wishes Feed (Daftar Ucapan) --- */
.wishes-feed {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.3rem;
}

.wishes-feed::-webkit-scrollbar {
    width: 4px;
}

.wishes-feed::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Wish Item Card */
.wish-card {
    background: rgba(18, 18, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    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-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.badge {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.badge-attend {
    background-color: rgba(39, 201, 63, 0.12);
    border-color: rgba(39, 201, 63, 0.3);
    color: #5af074;
}

.wish-text {
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    word-break: break-word;
}

.wish-time {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.65rem;
    align-self: flex-end;
}

/* --- Animasi On-Scroll (Intersection Observer `.reveal`) --- */
.rsvp-section .animate-rsvp {
    opacity: 0;
    transform: translateY(28px);
    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);
}

.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.35s;
}

.rsvp-section.reveal .delay-3 {
    transition-delay: 0.6s;
}

/* Responsif Mobile Kecil (< 400px) */
@media (max-width: 400px) {
    .rsvp-section {
        padding: 4rem 1.15rem;
    }

    .rsvp-title {
        font-size: 1.7rem;
    }

    .rsvp-card-container {
        padding: 1.4rem 1.15rem;
    }
}

/* 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 */
.closing-section.reveal .delay-1 {
    transition-delay: 0.1s;
}

/* Paragraf Ucapan */
.closing-section.reveal .delay-2 {
    transition-delay: 0.5s;
}

/* Teks Nama Mempelai */
.closing-section.reveal .delay-3 {
    transition-delay: 0.8s;
}

/* Hashtag */
.closing-section.reveal .delay-4 {
    transition-delay: 1.1s;
}

/* 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;
    }
}