    /* Mengaktifkan scroll halus untuk seluruh halaman */
    html {
        scroll-behavior: smooth;
    }

    /* --- CUSTOM SCROLLBAR --- */
    /* Ukuran scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    /* Bagian jalur (track) scrollbar */
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Bagian batang (thumb) scrollbar */
    ::-webkit-scrollbar-thumb {
        background: #8da1b9;
        /* Warna biru sesuai Save The Date Anda */
        border-radius: 10px;
    }

    /* Batang scrollbar saat diarahkan kursor (hover) */
    ::-webkit-scrollbar-thumb:hover {
        background: #343638;
        /* Warna gelap sesuai tema card Anda */
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .wrapper {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Reset & Base Font */


    .wrapper {
        display: flex;
        height: 100vh;
        overflow: hidden;
        /* Mencegah seluruh halaman scroll */
    }

    /* Class khusus untuk nama pengantin */

    /* --- BAGIAN KIRI (FIXED/STATIS) --- */
    .left-section {
        flex: 1.4;
        background: url('images-2.jpg') no-repeat center center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 60px;
        position: relative;
        /* Memberikan efek transisi halus saat halaman terbuka */
        animation: fadeInBackground 2s ease-out;
    }

    /* Overlay: Mengubah dari Hitam ke Cokelat Terracotta Gelap agar lebih hangat */
    .left-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Gradient dari warm-dark ke transparent */
        background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, rgba(44, 44, 44, 0) 60%);
        z-index: 1;
    }

    /* Tekstur Kertas (Optional: agar senada dengan right section) */
    .left-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
        opacity: 0.1;
        z-index: 1;
        pointer-events: none;
    }

    .left-content {
        position: relative;
        z-index: 2;
        color: #F2EDE4;
        /* Off-white hangat agar tidak terlalu kontras */
        text-align: center;
        animation: fadeInUp 1.5s ease-out;
    }

    .left-content h2 {
        font-family: var(--sans-outfit);
        /* Konsisten dengan right section */
        font-weight: 300;
        letter-spacing: 6px;
        font-size: 0.85rem;
        margin-bottom: 5px;
        text-transform: uppercase;
        opacity: 0.9;
    }

    .bride-name-cursive {
        font-family: var(--serif-playfair);
        /* Mengganti cursive dengan Serif khas galeri */
        font-size: 4rem;
        margin: 15px 0;
        font-weight: 400;
        font-style: italic;
        /* Memberikan kesan elegan tanpa terlihat "childish" */
        line-height: 1.1;
    }

    .wedding-date {
        font-family: var(--sans-outfit);
        letter-spacing: 4px;
        font-weight: 500;
        font-size: 0.8rem;
        text-transform: uppercase;
        border-top: 1px solid rgba(242, 237, 228, 0.3);
        border-bottom: 1px solid rgba(242, 237, 228, 0.3);
        display: inline-block;
        padding: 8px 20px;
        margin-top: 10px;
    }

    /* Animasi Internal */
    @keyframes fadeInBackground {
        from {
            opacity: 0;
            transform: scale(1.05);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @media (max-width: 1024px) {
        .left-section {
            display: none;
            /* Sembunyikan bagian kiri */
        }

        .right-section {
            flex: 1;
            width: 100%;
        }
    }


    /* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

    /* --- BAGIAN Kanan (SCROLLABLE) --- */
    .right-section {
        flex: 1;
        overflow-y: auto;
        /* background-color: #1a2a33; */
        overflow-x: hidden;
        scroll-behavior: smooth;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }


    .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); */
    }

    /* first  */
    :root {
        --maroon: #8D1B1E;
        --burnt-orange: #D96C1C;
        --olive: #6B7044;
        --dark-forest: #434B31;
        --off-white: #F4F1EA;
    }

    .first-screen {
        height: 100vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--off-white);
        text-align: center;
        font-family: 'Serif', 'Segoe UI', serif;
        overflow: hidden;
        position: relative;
    }

    /* Background Layer */
    .bg-layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0.8;
        z-index: 1;
    }

    /* Decoration Layers */
    .deco {
        opacity: 0.8;
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        z-index: 2;
    }

    .deco-top-left {
        top: 0;
        left: 0;
    }

    .deco-top-right {
        top: 0;
        right: 0;
    }

    .deco-bottom-left {
        bottom: 0;
        left: 0;
    }

    .deco-bottom-right {
        bottom: 0;
        right: 0;
    }

    /* Content Wrapper */
    .content-wrapper {
        position: relative;
        z-index: 3;
        padding: 20px;
    }

    /* Animasi Entry */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .content-wrapper>* {
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards;
    }

    /* Delay Animasi */
    .logo-container {
        animation-delay: 0.2s;
    }

    .title-area {
        animation-delay: 0.4s;
    }

    .banner {
        animation-delay: 0.6s;
    }

    .slogan {
        animation-delay: 0.8s;
    }

    .guest-info {
        animation-delay: 1s;
    }

    .open-btn {
        animation-delay: 1.2s;
    }

    /* Typography & Elements */
    .logo {
        width: 348px;
        margin-bottom: -15px;
        margin-top: 53px;
    }

    .subtitle {
        font-style: italic;
        font-size: 1.2rem;
        color: var(--dark-forest);
        margin-bottom: 5px;
    }

    .main-title {
        font-size: 2rem;
        font-weight: 800;
        color: var(--dark-forest);
        line-height: 1.1;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .banner {
        /* background-color: var(--dark-forest); */
        color: var(--burnt-orange);
        /* padding: 8px 25px; */
        display: inline-block;
        font-weight: bold;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .slogan {
        font-size: 1rem;
        color: var(--olive);
        letter-spacing: 1px;
        line-height: 1.4;
        margin-bottom: 40px;
    }

    .guest-info p {
        color: var(--dark-forest);
        font-size: 0.9rem;
    }

    .guest-name {
        color: var(--burnt-orange);
        font-size: 1.8rem;
        margin: 10px 0;
        font-weight: bold;
    }

    .open-btn {
        margin-top: 30px;
        background-color: var(--burnt-orange);
        color: white;
        border: none;
        padding: 12px 35px;
        border-radius: 25px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(217, 108, 28, 0.3);
    }

    .open-btn:hover {
        transform: scale(1.05);
        background-color: var(--maroon);
    }

    /* Container & Layout */
    .main-content {
        height: 100vh;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        background-color: var(--off-white);
        overflow: hidden;
    }

    .container {
        position: relative;
        z-index: 3;
        padding: 60px 30px;
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Typography */
    .intro-text {
        font-size: 1rem;
        color: var(--dark-forest);
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .event-title {
        font-family: 'Serif', serif;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--dark-forest);
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .highlight-banner {
        background-color: var(--dark-forest);
        padding: 10px;
        margin: 10px 0;
    }

    .highlight-banner p {
        color: var(--burnt-orange);
        font-weight: bold;
        font-size: 1.1rem;
        margin: 0;
    }

    .schedule-intro {
        font-size: 0.95rem;
        margin-top: 20px;
        color: var(--dark-forest);
    }

    .divider {
        width: 60%;
        border: 0.5px solid var(--burnt-orange);
        opacity: 0.5;
        margin: 10px auto 25px;
    }

    /* Info List */
    .info-list {
        text-align: left;
        display: inline-block;
        margin: 0 auto;
    }

    .info-item {
        display: flex;
        align-items: flex-start;
        /* Menggunakan flex-start agar sejajar jika teks lokasi panjang */
        margin-bottom: 15px;
        color: var(--dark-forest);
        font-size: 0.95rem;
    }

    .info-icon {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        flex-shrink: 0;
        /* Mencegah ikon menyusut */
        color: var(--burnt-orange);
        margin-top: 2px;
        /* Penyelarasan visual dengan baris pertama teks */
    }

    .info-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .info-item p {
        margin: 0;
        line-height: 1.4;
    }

    /* Bottom Navigation */




    .nav-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .nav-label {
        font-size: 0.7rem;
        font-weight: bold;
    }

    /* Animasi Entry */
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Update CSS Animasi */
    .event-details>* {
        opacity: 0;
        transform: translateY(30px);
        /* Gunakan transition untuk pergerakan yang lebih halus setelah trigger */
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Kelas yang akan ditambahkan lewat JS */
    .event-details.show-animate>* {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Delay menggunakan Transition */
    .event-details.show-animate .event-title {
        transition-delay: 0.3s;
    }

    .event-details.show-animate .highlight-banner {
        transition-delay: 0.5s;
    }

    .event-details.show-animate .info-list {
        transition-delay: 0.7s;
    }

    /* Navigasi juga kita trigger */
    /* Update Bottom Nav CSS */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--dark-forest);
        z-index: 999;
        /* Tambah padding bawah agar tidak terlalu mepet tepi HP */
        border-radius: 25px 25px 0 0;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
        transform: translateY(100%);
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .bottom-nav.show-animate {
        transform: translateY(0);
    }

    .nav-list {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        list-style: none;
        padding: 0 15px;
        margin: 0;
        height: 90px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    /* Tablet ke atas */
    @media (min-width: 768px) {
        .nav-list {
            justify-content: center;
        }
    }

    .nav-item {
        flex: 0 0 85px;
        /* Kunci lebar tiap item agar seragam dan besar */
        margin-right: 10px;
        display: flex;
        justify-content: center;
        transition: all 0.4s ease;
    }

    .nav-item a {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        opacity: 0.6;
        width: 100%;
        height: 100%;
    }

    .nav-icon {
        width: 32px;
        /* Diperbesar dari sebelumnya */
        height: 32px;
        margin-bottom: 8px;
        transition: transform 0.3s ease;
    }

    .nav-label {
        font-size: 0.85rem;
        /* Teks lebih besar dan terbaca */
        font-weight: 600;
        white-space: nowrap;
    }

    /* TAMPILAN AKTIF (Sesuai Gambar 2) */
    .nav-item.active {
        background-color: var(--burnt-orange);
        border-radius: 18px;
        height: 80%;
        /* Membuat kotak latar belakang oranye */
        transform: translateY(-5px);
        /* Sedikit melayang */
    }

    .nav-item.active a {
        opacity: 1;
        color: white;
        /* Teks putih di atas background oranye */
    }

    .nav-item.active .nav-icon {
        transform: scale(1.1);
        /* Ikon aktif sedikit membesar */
    }

    /* Ikon yang tidak aktif tetap muncul tapi redup */
    .bottom-nav li:not(.active) .nav-icon {
        opacity: 0.5;
        font-size: 2.1rem;
    }


    .bottom-nav.show-animate {
        transform: translateY(0);
    }

    /* Layout khusus Maps */
    .maps-content {
        height: 100vh;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        background-color: var(--off-white);
        overflow: hidden;
    }

    .section-title {
        font-family: 'Serif', serif;
        font-size: 1.8rem;
        color: var(--dark-forest);
        margin-bottom: 30px;
    }

    /* Bingkai Peta bergaya Referensi */
    .map-frame {
        position: relative;
        width: 90%;
        max-width: 350px;
        aspect-ratio: 4/3;
        margin: 0 auto 25px;
        padding: 8px;
        background: var(--burnt-orange);
        /* Warna emas/oranye pada border */
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .map-inner {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        overflow: hidden;
        background: #eee;
    }

    .address-info {
        margin-bottom: 25px;
    }

    .location-name {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark-forest);
        margin-bottom: 5px;
    }

    .location-detail {
        font-size: 0.9rem;
        color: var(--olive);
    }

    .map-btn {
        display: inline-block;
        background-color: var(--burnt-orange);
        color: white;
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 25px;
        font-weight: bold;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    /* Animasi Maps (Hidden by Default) */
    .maps-details>* {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .maps-details.show-animate>* {
        opacity: 1;
        transform: translateY(0);
    }

    /* Jeda urutan muncul elemen */
    .maps-details.show-animate .map-frame {
        transition-delay: 0.3s;
    }

    .maps-details.show-animate .address-info {
        transition-delay: 0.5s;
    }

    .maps-details.show-animate .map-btn {
        transition-delay: 0.7s;
    }

    /* Pastikan tidak ada scrolling */
    body,
    html {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: hidden;
    }

    .section-content {
        display: none;
        /* Sembunyikan semua konten main default */
        width: 100%;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow-y: auto;
        /* Jika konten lebih panjang dari layar HP */
    }

    .section-content.active {
        display: flex;
        /* Hanya yang aktif yang muncul */
    }

    .section,
    .section-content {
        height: 100vh;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Transisi Halus saat pindah menu */
    .fade-in {
        animation: fadeInAnim 0.6s ease forwards;
    }

    @keyframes fadeInAnim {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Sembunyikan label pada li yang tidak aktif */
    .nav-item .nav-label {
        display: none;
    }

    .nav-item.active .nav-label {
        display: block;
    }

    /* Layout RSVP */
    .rsvp-details {
        text-align: center;
        width: 100%;
        padding: 20px;
        z-index: 5;
    }

    .rsvp-logo {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Countdown Styles */
    .countdown-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 30px 0;
    }

    .timer-box {
        background-color: var(--burnt-orange);
        width: 70px;
        padding: 10px 5px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .timer-num {
        color: var(--dark-forest);
        font-size: 1.5rem;
        font-weight: 800;
    }

    .timer-label {
        color: var(--dark-forest);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: capitalize;
    }

    .instruction-text {
        color: var(--dark-forest);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .rsvp-main-btn {
        background-color: var(--burnt-orange);
        color: var(--dark-forest);
        border: none;
        padding: 12px 30px;
        border-radius: 25px;
        font-weight: 800;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(217, 108, 28, 0.2);
    }

    .rsvp-main-btn:hover {
        transform: scale(1.05);
        background-color: var(--maroon);
        color: white;
    }

    /* Animasi untuk RSVP Content */
    .rsvp-details>* {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .rsvp-details.show-animate>* {
        opacity: 1;
        transform: translateY(0);
    }

    /* Delay Animasi */
    .rsvp-details.show-animate h2 {
        transition-delay: 0.2s;
    }

    .rsvp-details.show-animate .countdown-container {
        transition-delay: 0.4s;
    }

    .rsvp-details.show-animate .instruction-text {
        transition-delay: 0.6s;
    }

    .rsvp-details.show-animate .rsvp-main-btn {
        transition-delay: 0.8s;
    }

    /* Modal Overlay */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        display: none;
        /* Sembunyi default */
        justify-content: center;
        align-items: center;
        z-index: 2000;
        /* Di atas segalanya */
    }

    /* Modal Box */
    .modal-content {
        background-color: var(--off-white);
        width: 85%;
        max-width: 400px;
        padding: 25px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        position: relative;
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        color: var(--dark-forest);
    }

    .close-modal {
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--maroon);
    }

    /* Form Styles */
    .form-group {
        text-align: left;
        margin-bottom: 15px;
    }

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: bold;
        color: var(--dark-forest);
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 10px;
        background: #fff;
        font-family: inherit;
    }

    .submit-btn {
        width: 100%;
        background-color: var(--dark-forest);
        color: var(--burnt-orange);
        border: none;
        padding: 12px;
        border-radius: 10px;
        font-weight: bold;
        margin-top: 10px;
        cursor: pointer;
    }

    /* people/ */
    /* Layout People */
    .people-details {
        text-align: center;
        width: 100%;
        padding: 20px;
        z-index: 5;
    }

    /* Bingkai Foto Profil */
    .profile-frame {
        width: 200px;
        height: 280px;
        /* Rasio portrait elegan */
        margin: 0 auto 25px;
        border: 4px solid var(--burnt-orange);
        border-radius: 100px 100px 20px 20px;
        /* Bentuk kubah/arch yang modern */
        padding: 8px;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .profile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 92px 92px 12px 12px;
    }

    /* Teks Deskripsi */
    .person-name {
        font-family: 'Serif', serif;
        font-size: 1.6rem;
        color: var(--dark-forest);
        margin-bottom: 5px;
    }

    .divider-small {
        width: 50px;
        height: 3px;
        background: var(--burnt-orange);
        margin: 10px auto;
    }

    .person-role {
        font-weight: bold;
        color: var(--burnt-orange);
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .person-bio {
        color: var(--dark-forest);
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 20px;
    }

    /* Animasi Entry */
    .people-details>* {
        opacity: 0;
        transform: scale(0.9);
        transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .people-details.show-animate>* {
        opacity: 1;
        transform: scale(1);
    }

    .people-details.show-animate .profile-frame {
        transition-delay: 0.2s;
    }

    .people-details.show-animate .profile-desc {
        transition-delay: 0.4s;
    }

    /* Layout Thanks */
    .thanks-details {
        text-align: center;
        width: 100%;
        padding: 40px 25px;
        z-index: 5;
    }

    .closing-text p {
        color: var(--dark-forest);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .regards-area {
        margin: 20px 0;
        color: var(--dark-forest);
    }

    .date-thanks {
        font-weight: 800;
        font-size: 1rem;
    }

    .hormat-kami {
        margin: 10px 0 5px;
    }

    .host-name {
        font-family: 'Serif', serif;
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--dark-forest);
    }

    .instansi-logo-wrapper {
        margin: 25px 0;
    }

    .logo-footer {
        max-width: 90%;
        height: auto;
    }

    /* Credit Area */
    .credit-area {
        margin-top: 40px;
        font-size: 0.8rem;
        color: var(--dark-forest);
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 15px 0;
    }

    .brand-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .brand-logo-mini {
        width: 20px;
    }

    .music-info {
        opacity: 0.6;
        font-size: 0.7rem;
    }

    /* Animasi Entry untuk Section Thanks */
    .thanks-details>* {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease-out;
    }

    .thanks-details.show-animate>* {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Animation Delay */
    .thanks-details.show-animate .closing-text {
        transition-delay: 0.2s;
    }

    .thanks-details.show-animate .regards-area {
        transition-delay: 0.4s;
    }

    .thanks-details.show-animate .instansi-logo-wrapper {
        transition-delay: 0.6s;
    }

    .thanks-details.show-animate .credit-area {
        transition-delay: 0.8s;
    }

    .dresscode-details {
        text-align: center;
        width: 100%;
        padding: 20px;
        z-index: 5;
    }

    .dresscode-card {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
        padding: 30px 20px;
        border-radius: 20px;
        border: 1px solid var(--burnt-orange);
        margin-top: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .dresscode-icon {
        margin-bottom: 15px;
    }

    .dresscode-type {
        font-size: 1.2rem;
        color: var(--dark-forest);
        font-weight: 800;
    }

    .dresscode-text {
        font-size: 1.1rem;
        color: var(--dark-forest);
        margin: 15px 0;
        line-height: 1.6;
    }

    .dresscode-note {
        font-size: 0.85rem;
        color: var(--olive);
        font-style: italic;
        margin-top: 20px;
    }

    /* Animasi trigger untuk JS */
    .dresscode-details>* {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.7s ease-out;
    }

    .dresscode-details.show-animate>* {
        opacity: 1;
        transform: translateY(0);
    }

    .qr-modal2 {
        display: none;
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .qr-modal-content {
        background-color: #fff;
        margin: 10% auto;
        padding: 20px 30px;
        border-radius: 15px;
        width: 90%;
        max-width: 350px;
        text-align: center;
        position: relative;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        animation: fadeIn 0.3s ease-in-out;
    }

    .qr-modal-content img.qr-image {
        width: 150px;
        height: 150px;
        object-fit: cover;
        margin-top: 10px;
    }

    .qr-modal-content hr {
        margin: 15px 0;
        border: none;
        border-top: 1px dashed #ccc;
    }

    .qr-info .label {
        color: #888;
        font-size: 14px;
        margin-bottom: 4px;
    }

    .qr-info .value {
        font-weight: bold;
        font-size: 16px;
        color: #222;
    }

    .qr-close {
        color: #aaa;
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.2s;
    }

    .qr-close:hover {
        color: #333;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Responsif */
    @media (max-width: 480px) {
        .qr-modal-content {
            margin-top: 30%;
            width: 85%;
            padding: 15px;
        }

        .qr-modal-content img.qr-image {
            width: 130px;
            height: 130px;
        }
    }

    .custom-modal {
        display: none;
        /* Ubah ke flex via JS untuk memunculkan */
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        /* Menggunakan vh agar pasti setinggi layar */
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);

        /* Inti dari posisi tengah */
        display: none;
        align-items: center;
        /* Tengah Vertikal */
        justify-content: center;
        /* Tengah Horizontal */
        transition: all 0.3s ease;
    }

    /* Kotak Modal */
    .modal-content-notifikasi {
        background-color: #fff;
        padding: 0;
        border-radius: 16px;
        width: 90%;
        max-width: 400px;
        /* Limit lebar di desktop */
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        position: relative;
        animation: slideUp 0.4s ease-out;
        /* Animasi dari bawah ke tengah */
        overflow: hidden;
        margin: auto;
        /* Tambahan pengaman posisi tengah */
    }

    /* Animasi Muncul dari bawah lebih menarik untuk mobile */
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Header - Perbaikan Typo Class */
    .modal-header-notifikasi {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .attention-badge {
        color: #e11d48;
        font-weight: 700;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .close-btn-notifikasi {
        color: #9ca3af;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        line-height: 1;
    }

    .close-btn-notifikasi:hover {
        color: #111827;
    }

    /* Body Content */
    .modal-body-notifikasi {
        padding: 30px 20px;
        text-align: center;
    }

    .message-text {
        color: #4b5563;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        font-weight: 500;
    }

    /* Footer & Tombol */
    .modal-footer-notifikasi {
        padding: 15px 20px;
        background-color: #f9fafb;
    }

    .btn-confirm-notifikasi {
        background-color: #802432;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 12px;
        font-weight: 600;
        cursor: pointer;
        width: 100%;
        font-size: 1rem;
        transition: all 0.2s;
    }

    .btn-confirm-notifikasi:hover {
        background-color: #be123c;
        transform: translateY(-1px);
    }