/* ==========================================================================
   1. TWEAK DASAR & CONTAINER UTAMA (MOBILE FIRST)
   ========================================================================== */
body {
    background-color: #0f172a;
    /* Warna gelap untuk background luar (Desktop) */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Mencegah body utama melakukan scroll */
}

/* Container Utama Cover */
#coverScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    overflow: hidden;
}

/* Sifat Dasar Panel Gorden */
.gorden-panel {
    position: absolute;
    top: 0;
    width: 50vw;
    /* Dikunci tepat setengah layar */
    height: 100vh;
    overflow: hidden;
    transition: transform 5.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gorden-kiri {
    left: 0;
}

.gorden-kanan {
    right: 0;
}

/* Pengatur Gambar Latar Belakang */
.bg-foto-cover {
    position: absolute;
    top: 0;
    width: 100vw;
    /* Ukuran gambar disamakan dengan lebar penuh layar */
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Trik Utama Pembelah Gambar: Sisi kanan digeser minus setengah layar */
.gorden-kiri .bg-foto-cover {
    left: 0;
}

.gorden-kanan .bg-foto-cover {
    left: -50vw;
    /* Menggeser titik awal gambar kanan agar menyambung dari kiri */
}

/* Overlay gelap transparan di atas foto */
.overlay-gorden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

/* Efek Buka Gorden */
.gorden-terbuka-kiri {
    transform: translateX(-100%);
}

.gorden-terbuka-kanan {
    transform: translateX(100%);
}

.konten-fade-out {
    opacity: 0 !important;
    transform: translate(-50%, -35%) scale(0.9) !important;
    pointer-events: none;
}

/* Animasi Pulse */
.animate-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.app-container {
    width: 100%;
    height: 100dvh;
    max-width: 480px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        /* Layer gelap 40% */
        url('bg_body_3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   2. KOMPONEN HEADER & NAVIGATION
   ========================================================================== */
.app-header {
    height: 60px;
    position: relative;
    z-index: 10;
}

.app-header .text-primary {
    color: #db2777 !important;
    /* Fuchsia brand color */
}

.app-header .btn-link {
    color: #27ae7d !important;
    /* Lonceng senada */
}

.app-content .btn-primary {
    background: linear-gradient(135deg, #27ae7d, #e11d48) !important;
    border: none !important;
    box-shadow: 0 6px 15px rgba(244, 63, 94, 0.3) !important;
}

.app-content .btn-primary:active {
    background: linear-gradient(135deg, #e11d48, #be123c) !important;
}

.bottom-nav {
    background-color: rgba(255, 255, 255, 0.9) !important;
    height: 65px;
}

.active-nav {
    color: #27ae7d !important;
    font-weight: bold;
}

.x-small {
    font-size: 0.7rem;
    font-weight: 500;
}

/* ==========================================================================
   3. CARD, GRID MENU, & UTILITIES
   ========================================================================== */
.app-content .card.bg-primary {
    background: linear-gradient(135deg, #fb7185, #27ae7d) !important;
    /* Pink stroberi */
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.2) !important;
}

.btn-active {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(251, 113, 133, 0.2) !important;
    transition: background-color 0.1s ease, transform 0.1s ease;
    cursor: pointer;
}

.btn-active i {
    color: #27ae7d !important;
}

.text-gold {
    color: #aa771c;
}

/* --- TOMBOL EMAS GRADASI PREMIUM --- */
.btn-gold {
    color: #1a1a1a !important;
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 200% auto;
    border: 1px solid #aa771c;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
    color: #000000 !important;
    background-position: right center;
    border-color: #91630c;
    box-shadow: 0 6px 15px rgba(170, 119, 28, 0.4);
    transform: translateY(-1px);
}

.btn-gold:active,
.btn-gold:focus {
    background: linear-gradient(45deg, #aa771c, #b38728, #bf953f) !important;
    border-color: #734d05 !important;
    box-shadow: 0 0 0 0.25rem rgba(187, 143, 44, 0.4) !important;
    transform: translateY(0);
}

/* --- TOMBOL HIJAU GRADASI PREMIUM --- */
.btn-green {
    color: #ffffff !important;
    /* Teks tetap putih bersih agar terbaca jelas */
    background: linear-gradient(45deg, #27ae7d, #48c999, #1e8760, #a2f2d3, #27ae7d);
    background-size: 200% auto;
    background-position: left center;
    border: 1px solid #1e8760 !important;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 3px 6px rgba(39, 174, 125, 0.2);
}

/* Efek transisi bergeser saat di-hover (PC) atau di-tap (HP) */
.btn-green:hover,
.btn-green:active {
    color: #ffffff !important;
    background-position: right center !important;
    /* Menggeser gradasi cahaya terang */
    border-color: #17694b !important;
    box-shadow: 0 6px 16px rgba(39, 174, 125, 0.4);
    transform: translateY(-1px);
}

.btn-green:focus {
    background: linear-gradient(45deg, #1e8760, #27ae7d, #48c999) !important;
    border-color: #17694b !important;
    box-shadow: 0 0 0 0.25rem rgba(72, 201, 153, 0.4) !important;
    transform: translateY(0);
}

/* ==========================================================================
   4. ILUSTRASI UTAMA & BINGKAI ELEMEN (POSISI DEFAULT / HP)
   ========================================================================== */
.wedding-illustration-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-top: 11rem !important;
}

.wedding-img {
    width: 65%;
    border-radius: 20px;
    transition: transform 0.2s ease;
    animation: gerakZoom 2s ease-in-out infinite;
    z-index: 999 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.wedding-img:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.lampu_gantung {
    position: absolute;
    top: 15px;
    width: 50%;
    left: 90px;
    height: auto;
    pointer-events: none;
    z-index: 5;
}

/* Bingkai Berjejer Vertikal untuk Layout Mobile */
.bingkai_1 {
    top: 480px;
    left: 10px;
    width: 20%;
    position: absolute;
    z-index: 10;
    animation: gerakZoom 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.bingkai_2 {
    top: 360px;
    left: 10px;
    width: 20%;
    position: absolute;
    z-index: 10;
    animation: gerakZoom 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.bingkai_3 {
    top: 240px;
    left: 10px;
    width: 20%;
    position: absolute;
    z-index: 10;
    animation: gerakZoom 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.bingkai_4 {
    top: 240px;
    right: 10px;
    width: 20%;
    position: absolute;
    z-index: 10;
    animation: gerakZoom 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.bingkai_5 {
    top: 360px;
    right: 10px;
    width: 20%;
    position: absolute;
    z-index: 10;
    animation: gerakZoom 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.bingkai_6 {
    top: 480px;
    right: 10px;
    width: 20%;
    position: absolute;
    z-index: 10;
    animation: gerakZoom 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.text-wrapper {
    top: 160px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

/* ==========================================================================
   5. BALON KOMIK & ANIMASI EFEK BINTANG
   ========================================================================== */
.comic-bubble {
    position: relative;
    background: #ffffff;
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    z-index: 5;
    max-width: 85%;
    white-space: nowrap;
}

.comic-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #333333 transparent;
    display: block;
    width: 0;
}

.comic-bubble::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px 9px 0;
    border-style: solid;
    border-color: #ffffff transparent;
    display: block;
    width: 0;
    z-index: 1;
}

.animate-bounce {
    animation: floatComic 3s ease-in-out infinite;
}

@keyframes floatComic {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes gerakZoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.star-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.star-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #ffd900;
    font-size: var(--size);
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) scale(0);
    animation: burstParticle var(--duration) cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes burstParticle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0, 0) scale(0) rotate(0deg);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(var(--scale)) rotate(var(--rotate));
    }
}

/* ==========================================================================
   6. INTERAKSI MODAL & SYSTEM SCROLL DENAH (ZOOMABLE)
   ========================================================================== */
.modal-zoom-container {
    overflow: auto;
    max-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.denah-scroll-wrapper {
    overflow: auto;
    max-height: 340px;
    position: relative;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
}

.denah-scroll-wrapper::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.denah-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(185, 147, 121, 0.4);
    border-radius: 10px;
}

.modal-zoom-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    cursor: zoom-in;
    transform-origin: center center;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), margin 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    border-radius: 8px;
}

.modal-zoom-img.is-zoomed {
    transform: scale(2.2);
    max-width: none;
    cursor: zoom-out;
    margin: 140px 140px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.modal.fade .modal-dialog {
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-backdrop.show {
    opacity: 0.4 !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ==========================================================================
   7. STYLE KUSTOM GLOBAL (BERLAKU DI HP DAN DESKTOP)
   ========================================================================== */
.story-img-container {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-img-wrapper {
    width: 65%;
    max-width: 240px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 auto;
    /* Supaya centering di mobile */
}

.story-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.text-dark-gold {
    color: #aa771c;
}

.border-gold-light {
    border-color: #fcf6ba !important;
}

.text-justify {
    text-align: justify;
    line-height: 1.6;
}

/* TIMELINE TRACK */
.story-timeline {
    position: relative;
    margin-top: 1.5rem;
}

.timeline-item {
    font-size: 0.85rem;
}

.timeline-badge {
    position: absolute;
    left: -13px;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
    background: linear-gradient(45deg, #bf953f, #b38728, #aa771c);
    color: #ffffff !important;
}

.timeline-badge-final {
    background: linear-gradient(45deg, #b38728, #fbf5b7, #aa771c) !important;
    animation: goldPulse 2s infinite;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(170, 119, 28, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(170, 119, 28, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(170, 119, 28, 0);
    }
}

/* 3D ROTATOR SYSTEM */
.rotator-container {
    width: 100%;
    padding: 30px 0 60px 0;
    overflow: hidden;
}

.rotator-stage {
    width: 170px;
    height: 260px;
    margin: 40px auto;
    perspective: 1000px;
    position: relative;
}

.rotator-axis {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate3DCylinder 40s linear infinite;
    transition: transform 0.3s ease;
}

.rotator-item {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    outline: none;
    transform: rotateY(var(--item-deg)) translateZ(190px);
    transition: transform 0.3s ease, z-index 0.3s;
    transform-origin: center center;
}

.rotator-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rotator-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #ffffff;
    padding: 20px 10px 10px;
    font-size: 11px;
    font-weight: 500;
    text-align: left;
}

.rotator-stage:active .rotator-axis {
    animation-play-state: paused;
}

@keyframes rotate3DCylinder {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

/* FULLSCREEN LIGHTBOX PHOTO VIEWER */
#modalPhotoViewer .modal-dialog,
#modalPreviewFoto .modal-dialog {
    max-width: fit-content;
    margin: 1.75rem auto;
    display: flex;
    justify-content: center;
}

#modalPhotoViewer .modal-body,
#modalPreviewFoto .modal-body {
    position: relative;
    display: inline-block;
}

#imgFullViewer {
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid #ffffff;
}

.btn-close-full-photo,
.btn-close-preview {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    z-index: 1090;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.btn-close-full-photo:hover,
.btn-close-preview:hover {
    transform: scale(1.1);
    color: #27ae7d;
    background: rgba(0, 0, 0, 0.8);
}

.shadow-lg-premium {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

#modalPhotoViewer.fade .modal-dialog {
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#modalPhotoViewer.show .modal-dialog {
    transform: scale(1);
}

/* Efek putar halus pada ikon jam pasir */
.animate-spin {
    display: inline-block;
    animation: spinClockwise 3s linear infinite;
}

@keyframes spinClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- UTILITY & CUSTOM BUTTON FOR RSVP FORM --- */
.x-small {
    font-size: 0.7rem !important;
}

.tracking-wide {
    letter-spacing: 1px;
}

/* Tombol Pilihan Hadir Kustom */
.btn-outline-custom-green {
    color: #27ae7d;
    background-color: transparent;
    border: 2px solid #27ae7d;
    transition: all 0.3s ease;
}

.btn-check:checked+.btn-outline-custom-green {
    color: #ffffff;
    background-color: #27ae7d;
    border-color: #27ae7d;
    box-shadow: 0 4px 10px rgba(39, 174, 125, 0.25);
}

/* Tombol Pilihan Tidak Hadir Kustom */
.btn-outline-custom-danger {
    color: #dc3545;
    background-color: transparent;
    border: 2px solid #dc3545;
    transition: all 0.3s ease;
}

.btn-check:checked+.btn-outline-custom-danger {
    color: #ffffff;
    background-color: #dc3545;
    border-color: #dc3545;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
}

/* Penyesuaian Fokus Element Input */
.form-control:focus,
.form-select:focus {
    border-color: #27ae7d !important;
}

.object-fit-contain {
    object-fit: contain;
}

.tracking-wider {
    letter-spacing: 1.5px;
}

.b-card-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease;
}

/* Mengunci Wadah Foto Besar Portrait Pengantin */
.mempelai-photo-wrapper {
    width: 100%;
    height: 280px;
    /* Mengatur tinggi foto agar terlihat dominan dan besar */
    overflow: hidden;
    background-color: #f1f5f9;
}

.mempelai-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Fokus pemotongan otomatis di tengah gambar */
}

/* Gradasi Gelap Halus di Bawah Foto */
.mempelai-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    pointer-events: none;
}

/* Pembatas Tengah Khusus Tema Premium */
.line-divider-premium {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
}

.ampersand-divider-premium {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #b08968;
    /* Warna emas/coklat soft pendukung */
    padding: 0 20px;
}

/* Tombol Khusus Instagram Gaya Selaras Tombol Modal (Emas/Hijau Solid) */
.btn-gold-profile {
    background: linear-gradient(135deg, #27ae7d, #145c43);
    /* Menggunakan warna hijau suite Anda */
    color: #ffffff !important;
    border: none;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.btn-gold-profile:hover {
    opacity: 0.9;
}

.quote-container-ayat {
    max-width: 550px;
    /* Membatasi lebar box agar proporsional di HP & PC */
    padding: 24px 20px;
    /* Jarak spasi dalam antara teks dan border */
    background-color: #fff1f2;
    /* Warna background pink pastel sangat muda */

    /* Border tipis 1px dengan warna pink kelopak bunga */
    border: 1px solid #fecdd3;

    /* Membuat sudut melengkung manis di setiap pojok */
    border-radius: 16px;

    /* Pengaturan Font Sesuai Gambar */
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    /* Membuat teks miring */
    color: #475569;
    /* Warna teks abu-abu gelap kebiruan (slate) agar teduh dibaca */
    font-size: 0.9rem;
    line-height: 1.8;
    /* Mengatur jarak antar baris kalimat agar rapi */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
    /* Shadow sangat tipis agar natural */
}

/* --- CSS AREA SCROLL UNTUK DO’A & PESAN TAMU --- */
.ucapan-scroll-container {
    max-height: 700px;
    /* Batasi tinggi kotak (sekitar 2-3 baris pesan) */
    overflow-y: auto;
    /* Mengaktifkan scroll vertikal secara otomatis jika data penuh */
    padding-right: 8px;
    /* Memberikan ruang ekstra untuk scrollbar agar tidak menutupi teks */
}

/* Kustomisasi Tampilan Batang Scrollbar Agar Tipis dan Aesthetic (Untuk Chrome/Safari) */
.ucapan-scroll-container::-webkit-scrollbar {
    width: 5px;
}

.ucapan-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.ucapan-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(17, 54, 95, 0.2);
    /* Menggunakan tone warna dasar Navy */
    border-radius: 10px;
}

.ucapan-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 54, 95, 0.4);
}

/* Dukungan Kustomisasi Scrollbar untuk browser Firefox */
.ucapan-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 54, 95, 0.2) rgba(0, 0, 0, 0.02);
}

@keyframes fadeInUpSubtle {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 0.6;
        transform: translate(-50%, 0);
    }
}

.animate-footer {
    /* animation: fadeInUpSubtle 2s ease-out forwards; */
    animation-delay: 1s;
    /* Muncul belakangan setelah konten utama */
}

.maullanaCreditsContainer {
    position: fixed;
    /* atau absolute, tergantung struktur layout, tapi fixed menjaga di pojok layar */
    bottom: 20px;
    right: 20px;
    z-index: 5;
    /* Pastikan paling atas */
    pointer-events: none;
    /* Agar tidak menghalangi klik pada elemen di bawahnya */
}

/* Teks dasar */
.maullanaCreditsText {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Ganti dengan font yang kamu suka */
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    /* Putih transparan */
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* Penting untuk efek kilau */
}

/* Elemen Kilau (Glitter) */
.maullanaCreditsText::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
}

.nama-pengantin-shimmer {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;

    /* 1. Warna dasar teks emas champagne lembut */
    color: #e5cc8f;

    /* 2. Setup gradasi warna kilau (shimmer) */
    background: linear-gradient(to right,
            #e5cc8f 0%,
            #fbf3d5 20%,
            #ffffff 50%,
            /* Inti kilau putih terang */
            #fbf3d5 80%,
            #e5cc8f 100%);
    background-size: 200% auto;

    /* 3. Memotong background agar masuk ke dalam bentuk huruf */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* 4. Shadow tebal di belakang teks agar tetap terbaca jelas di atas foto */
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.9));

    /* 5. Menjalankan animasi kilau berjalan secara infinity */
    animation: goldShimmer 3.5s linear infinite;
}

/* Animasi untuk menggeser kilau dari kanan ke kiri */
@keyframes goldShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}



/* Optimasi tampilan teks di layar handphone yang lebih kecil */
@media (max-width: 576px) {
    .quote-container-ayat {
        font-size: 0.82rem;
        padding: 20px 16px;
        line-height: 1.7;
    }
}

/* ==========================================================================
   8. MEDIA QUERIES KHUSUS DESKTOP (BERLAKU HANYA DI PC / LAYAR LEBAR)
   ========================================================================== */
@media (min-width: 481px) {
    .app-container {
        border-radius: 24px;
        border: 6px solid #334155;
    }

    .wedding-img {
        width: 50%;
    }

    /* Penyesuaian Grid Bingkai khusus layar desktop agar lebih renggang & proporsional */
    .bingkai_1 {
        top: 240px;
        left: 10px;
        width: 15%;
    }

    .bingkai_2 {
        top: 360px;
        left: 10px;
        width: 15%;
    }

    .bingkai_3 {
        top: 480px;
        left: 10px;
        width: 15%;
    }

    .bingkai_4 {
        top: 240px;
        right: 10px;
        width: 15%;
    }

    .bingkai_5 {
        top: 360px;
        right: 10px;
        width: 15%;
    }

    .bingkai_6 {
        top: 480px;
        right: 10px;
        width: 15%;
    }

    .lampu_gantung {
        width: 40%;
        left: 142px;
    }

    .rotator-item {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        outline: none;
        transform: rotateY(var(--item-deg)) translateZ(180px);
        transition: transform 0.3s ease, z-index 0.3s;
        transform-origin: center center;
    }
}