:root {

    /* ============================================================
       WARNA UTAMA THEME
       ============================================================ */

    --primary: #fff;
    --primary-dark: #fff;

    --bg: #1b4332;

    /* Warna background section / tombol buka undangan */
    --section-bg: #1b4332;

    --text: #FFFFFF;
    --text-soft: #d8f3dc;

    --white: #FFFFFF;


    /* ============================================================
       COUNTDOWN
       ============================================================ */

    /* Background box countdown */
    --countdown-bg: rgba(27, 67, 50, 0.82);

    --countdown-border-color: rgba(212, 175, 55, 0.65);
    --countdown-border-width: 1px;

    /* Warna angka countdown */
    --countdown-number-color: #FFFFFF;

    /* Warna tulisan Hari, Jam, Menit, Detik */
    --countdown-label-color: #FFFFFF;

    /* Bayangan box countdown */
    --countdown-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);

    /* Bentuk sudut box countdown */
    --countdown-radius: 15px;

    /* Jarak antar box countdown */
    --countdown-gap: 8px;


    /* ============================================================
       RADIUS / SUDUT
       ============================================================ */

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;


    /* ============================================================
       SHADOW / BAYANGAN
       ============================================================ */

    --shadow-soft: 0 6px 18px rgba(0, 0, 0, .25);

    --shadow-medium: 0 12px 30px rgba(0, 0, 0, .45);

    /* ============================================================
       TOMBOL BUKA UNDANGAN
       ============================================================ */

    /* ------------------------------------------------------------
       POSISI & JARAK KE KONTEN COVER
       ------------------------------------------------------------ */

    /* Jarak atas tombol ke isi cover-pelapis (Layar Normal / Desktop / Tablet) */
    --open-btn-margin-top: 65px;

    /* Jarak atas tombol ke isi cover-pelapis di HP (Mobile <= 480px) */
    --open-btn-margin-top-mobile: 45px;

    --open-btn-bottom: 80px;
    --open-btn-left: 50%;

    /* ------------------------------------------------------------
       UKURAN
       ------------------------------------------------------------ */

    --open-btn-width: 300px;
    --open-btn-height: 100px;

    /* ------------------------------------------------------------
       WARNA
       ------------------------------------------------------------ */

    --open-btn-bg: #1b4332;
    --open-btn-bg-hover: #12372a;

    --open-btn-text: #FFFFFF;

    --open-btn-border-color: #d4af37;
    --open-btn-border-width: 1px;

    /* ------------------------------------------------------------
       BENTUK
       ------------------------------------------------------------ */

    --open-btn-radius: 30px;

    /* ------------------------------------------------------------
       TEXT
       ------------------------------------------------------------ */

    --open-btn-font-size: 15px;
    --open-btn-font-weight: 600;

    /* ------------------------------------------------------------
       ICON
       ------------------------------------------------------------ */

    --open-btn-icon-size: 17px;
    --open-btn-icon-gap: 10px;

    /* ------------------------------------------------------------
       SHADOW
       ------------------------------------------------------------ */

    --open-btn-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    --open-btn-hover-shadow: 0 12px 28px rgba(0, 0, 0, .25);

    /* ------------------------------------------------------------
       ANIMATION
       ------------------------------------------------------------ */

    --open-btn-transition: .25s ease;

    /* ============================================================
       PENGATURAN NAMA TAMU (COVER / HERO)
       ============================================================ */

    /* Warna huruf nama tamu */
    --guest-name-color: #1aa73d;

    /* Ukuran huruf nama tamu (layar normal / desktop / tablet) */
    --guest-name-size: 26px;

    /* Ukuran huruf nama tamu di HP (mobile <= 480px) */
    --guest-name-size-mobile: 22px;

    /* Ketebalan huruf nama tamu (400, 500, 600, 700, 800) */
    --guest-name-weight: 700;

    /* Jarak bawah nama tamu ke tombol buka undangan */
    --guest-name-margin-bottom: 24px;

    /* Font nama tamu */
    --guest-name-font: 'Playfair Display', var(--font-heading, 'Rufina', serif);

    /* ============================================================
       PENGATURAN NAMA MEMPELAI SAMPUL / COVER (.couple-name-section)
       ============================================================ */

    /* Warna huruf nama mempelai cover sampul */
    --couple-cover-color: #b38a40;

    /* Font nama mempelai cover sampul */
    --couple-cover-font: var(--font-accent, 'Pinyon Script', cursive);

    /* Ukuran huruf nama mempelai cover */
    --couple-cover-size: clamp(2rem, 4.5vw, 2.9rem);

    /* Ketebalan huruf nama mempelai cover (400, 500, 600, 700) */
    --couple-cover-weight: 600;

    /* ============================================================
       PENGATURAN NAMA MEMPELAI (GROOM & BRIDE - KARTU PROFIL)
       ============================================================ */

    /* Warna huruf nama mempelai pria & wanita */
    --couple-mempelai-color: #fc6464;

    /* Ukuran huruf nama mempelai (desktop / normal) */
    --couple-mempelai-size: 34px;

    /* Ukuran huruf nama mempelai di HP (mobile <= 480px) */
    --couple-mempelai-size-mobile: 30px;

    /* Ketebalan huruf nama mempelai (400, 500, 600, 700) */
    --couple-mempelai-weight: 500;

    /* ============================================================
       PENGATURAN ORANG TUA MEMPELAI (.couple-parent)
       ============================================================ */

    /* Warna teks orang tua mempelai ("Putra dari ... & ...") */
    --couple-parent-color: #2b1810;

    /* Ukuran font orang tua mempelai (desktop / normal) */
    --couple-parent-size: 21px;

    /* Ukuran font orang tua mempelai di HP (mobile <= 480px) */
    --couple-parent-size-mobile: 16px;

    /* Ketebalan font orang tua mempelai (400, 500, 600) */
    --couple-parent-weight: 500;

    /* Font orang tua mempelai */
    --couple-parent-font: var(--font-body, 'Poppins', sans-serif);

    /* ============================================================
       PENGATURAN TEKS PENUTUP
       ============================================================ */

    /* Warna teks ucapan penutup ("Merupakan suatu kehormatan...") */
    --penutup-text-color: #ffffff;

    /* Ukuran font teks penutup */
    --penutup-text-size: 15px;

    /* Ukuran font teks penutup di HP (mobile <= 480px) */
    --penutup-text-size-mobile: 13.5px;

    /* Ketebalan font teks penutup (400, 500, 600, 700) */
    --penutup-text-weight: 400;

    /* Font teks penutup */
    --penutup-text-font: var(--font-body, 'Poppins', sans-serif);

    /* Warna teks salam ("Wassalamualaikum Wr Wb") */
    --penutup-salam-color: #f7e7ce;

    /* Ukuran teks salam */
    --penutup-salam-size: 17px;

    /* Ukuran teks salam di HP */
    --penutup-salam-size-mobile: 15px;

    /* Ketebalan teks salam */
    --penutup-salam-weight: 700;

    /* Warna nama mempelai penutup */
    --penutup-couple-color: #ffffff;

    /* Ukuran nama mempelai penutup */
    --penutup-couple-size: 32px;

    /* Ukuran nama mempelai penutup di HP */
    --penutup-couple-size-mobile: 26px;

    /* Jarak turun dari atas / ruang kosong untuk wajah foto (default: 50vh) */
    --penutup-padding-top: 50vh;

    /* Jarak dari bawah (padding-bottom) */
    --penutup-padding-bottom: 45px;

    /* ============================================================
       PENGATURAN TANDA KASIH (.gift-eyebrow)
       ============================================================ */

    /* Warna teks Tanda Kasih */
    --gift-eyebrow-color: #a7dab6;

    /* Background pill/badge Tanda Kasih */
    --gift-eyebrow-bg: rgba(3, 53, 25, 0.65);

    /* Border badge Tanda Kasih */
    --gift-eyebrow-border: 1px solid rgba(2, 24, 12, 0.45);

    /* Ukuran font Tanda Kasih */
    --gift-eyebrow-size: 0.85rem;

    /* Ukuran font Tanda Kasih di HP */
    --gift-eyebrow-size-mobile: 0.78rem;

    /* Ketebalan font (500, 600, 700) */
    --gift-eyebrow-weight: 600;

    /* Jarak huruf (letter spacing) */
    --gift-eyebrow-letter-spacing: 0.22em;

    /* ============================================================
       PENGATURAN DESKRIPSI TANDA KASIH (.gift-description)
       ============================================================ */

    /* Warna teks deskripsi gift */
    --gift-description-color: #62483c;

    /* Ketebalan font deskripsi gift (600, 700) */
    --gift-description-weight: 500;

    /* Ukuran font deskripsi gift */
    --gift-description-size: 1.1rem;

    /* Ukuran font deskripsi gift di HP */
    --gift-description-size-mobile: 0.95rem;

    /* ============================================================
       PENGATURAN VENDOR SUBTITLE (.vendor-subtitle)
       ============================================================ */

    /* Warna teks vendor subtitle ("Supported By") */
    --vendor-subtitle-color: #ff0024;

    /* Ketebalan font vendor subtitle (600, 700, 800) */
    --vendor-subtitle-weight: 700;

    /* Ukuran font vendor subtitle */
    --vendor-subtitle-size: 1.2rem;

    /* Ukuran font vendor subtitle di HP */
    --vendor-subtitle-size-mobile: 1.05rem;

    /* ============================================================
       PENGATURAN VENDOR KATEGORI (.vendor-category)
       ============================================================ */

    /* Warna teks kategori vendor */
    --vendor-category-color: #ff0024;

    /* Background badge kategori vendor */
    --vendor-category-bg: rgba(255, 0, 36, 0.08);

    /* Ukuran font kategori vendor */
    --vendor-category-size: 1.35rem;

    /* Ukuran font kategori vendor di HP */
    --vendor-category-size-mobile: 1.15rem;

    /* Ketebalan font kategori vendor (500, 600, 700) */
    --vendor-category-weight: 600;

    /* ============================================================
       PENGATURAN TURUT MENGUNDANG (.turut-mengundang)
       ============================================================ */

    /* Background box kartu Turut Mengundang */
    --turut-card-bg: rgba(255, 255, 255, 0.88);

    /* Border box kartu Turut Mengundang */
    --turut-card-border: 1px solid rgba(190, 160, 110, 0.45);

    /* Bayangan box kartu Turut Mengundang */
    --turut-card-shadow: 0 12px 35px rgba(60, 40, 20, 0.15);

    /* Radius sudut kartu Turut Mengundang */
    --turut-card-radius: 24px;

    /* Warna label kecil "TURUT MENGUNDANG" */
    --turut-label-color: #8c6d3f;

    /* Warna judul "Keluarga Besar" */
    --turut-title-color: #2b1810;

    /* Warna label peran "KELUARGA MEMPELAI PRIA / WANITA" */
    --turut-role-color: #7a5833;

    /* Warna nama orang tua / keluarga */
    --turut-name-color: #1a0f08;

    /* Ukuran nama orang tua (desktop / normal) */
    --turut-name-size: 18px;

    /* Ukuran nama orang tua di HP */
    --turut-name-size-mobile: 16.5px;

    /* Ketebalan font nama orang tua */
    --turut-name-weight: 700;

    /* ============================================================
       PENGATURAN KARTU REKENING / ATM (.gift-account-card)
       ============================================================ */

    /* Background kartu rekening */
    --gift-card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 250, 246, 0.96) 100%);

    /* Border kartu rekening */
    --gift-card-border: 1px solid rgba(82, 183, 136, 0.45);

    /* Bayangan kartu rekening */
    --gift-card-shadow: 0 14px 35px rgba(18, 55, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);

    /* Radius sudut kartu rekening */
    --gift-card-radius: 20px;

    /* Warna background logo bank */
    --gift-bank-logo-bg: linear-gradient(135deg, #2d6a4f, #1b4332);

    /* Warna nama bank / display name */
    --gift-bank-title-color: #12372a;

    /* Warna subtext bank */
    --gift-bank-sub-color: #436850;

    /* Warna label "Atas Nama" */
    --gift-owner-label-color: #52796f;

    /* Warna nama pemilik rekening */
    --gift-owner-name-color: #12372a;

    /* Background box nomor rekening */
    --gift-acc-num-bg: rgba(45, 106, 79, 0.08);

    /* Border box nomor rekening */
    --gift-acc-num-border: 1px dashed rgba(82, 183, 136, 0.5);

    /* Warna nomor rekening */
    --gift-acc-num-color: #12372a;

    /* Background tombol salin / copy */
    --gift-copy-btn-bg: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);

    /* Background tombol salin saat hover */
    --gift-copy-btn-hover-bg: linear-gradient(135deg, #1b4332 0%, #12372a 100%);

    /* Warna teks & ikon tombol salin */
    --gift-copy-btn-text: #ffffff;

    /* ============================================================
       PENGATURAN TOMBOL UMUM / LOKASI (.btn, .card-acara .btn)
       ============================================================ */

    /* Background tombol */
    --btn-primary-bg: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);

    /* Background tombol saat di-hover */
    --btn-primary-hover-bg: linear-gradient(135deg, #1b4332 0%, #12372a 100%);

    /* Warna teks tombol */
    --btn-primary-color: #ffffff;

    /* Border tombol */
    --btn-primary-border: 1px solid rgba(212, 175, 55, 0.4);

    /* Radius sudut tombol */
    --btn-primary-radius: 30px;

    /* Bayangan tombol */
    --btn-primary-shadow: 0 6px 18px rgba(18, 55, 42, 0.28);

    /* Ukuran font tombol */
    --btn-primary-font-size: 14.5px;

    /* Ukuran font tombol di HP */
    --btn-primary-font-size-mobile: 13.5px;

    /* Ketebalan font tombol */
    --btn-primary-weight: 600;

    /* Jarak huruf (letter spacing) */
    --btn-primary-letter-spacing: 0.5px;

}

/* =================================================
   FIXED BACKGROUND SYSTEM (KHUSUS TEMA INI)
================================================= */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #0d281e;
}

body.theme-fixed-bg {
    background-color: #0d281e;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    width: 100%;
}

body.theme-fixed-bg::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 600px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;

    background: url("../images/bg-masjid1.jpg") center / cover no-repeat;
    z-index: 0;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

body.theme-fixed-bg::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 600px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;

    background: linear-gradient(180deg, rgba(27, 67, 50, 0.35) 0%, rgba(27, 67, 50, 0.12) 50%, rgba(27, 67, 50, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* =================================================
   RESET & BASE BODY
================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* semua section naik di atas fixed background */
body.theme-fixed-bg section {
    position: relative;
    z-index: 2;
    background-color: transparent;
    width: 100%;
}

/* MATIKAN background-image bawaan template */
body.theme-fixed-bg 
.section-bg:not(.section-fullscreen):not(.penutup) {
    background-image: none;
}

/* =================================================
   SECTION SYSTEM (GLOBAL TEMPLATE)
================================================= */

/* ================= SECTION ================= */

section {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-bg{
    position:relative;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.section-bg > *{
    position:relative;
    z-index:3;
}

section.section-bg{
    padding:40px 20px;
    text-align:center;
}

section.section-bg:not(.section-fullscreen){
    display:block;
}

/* fullscreen layout */
.section-fullscreen{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}


/* ================= TYPOGRAPHY ================= */

h1,h2,h3{
    font-family:var(--font-heading);
    margin-bottom:12px;
}

h1{font-size:24px;}
h2{font-size:22px;}
h3{font-size:18px;}

.card-pria h3,
.card-wanita h3{
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.3px;
}

.card-acara h2{
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}


p{
    font-size:21px;         /* sedikit di atas default */
    line-height:1.75;         /* lebih lega */
    margin-bottom:4px;
}

small{
    font-size:25px;
    letter-spacing:.3px;
}

.alamat-label{
    font-weight:600;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:var(--bg);
}

/* ================================================================
   SECTION: COUPLE (Mempelai) - PEMBUKA SALAM & DESKRIPSI
   ================================================================ */

.couple-salam {
    font-family: var(--font-heading);
    font-size: 1.32rem !important;
    font-weight: 700 !important;
    color: var(--bg) !important;
    margin: 0 auto 8px auto !important;
    letter-spacing: 0.5px;
    line-height: 1.35 !important;
    text-align: center;
    position: relative;
}

.couple-salam strong {
    font-weight: 700;
}

.couple-salam-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px auto 14px auto;
}

.couple-salam-divider span {
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.couple-salam-divider i {
    font-size: 10px;
    color: #d4af37;
    filter: drop-shadow(0 1px 3px rgba(212, 175, 55, 0.4));
}

.couple-description {
    font-family: var(--font-body);
    font-size: 0.94rem !important;
    font-weight: 400 !important;
    color: #374151 !important;
    line-height: 1.8 !important;
    max-width: 410px;
    margin: 0 auto 30px auto !important;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 251, 247, 0.82) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 0.2px;
}

.fade-item.couple-description {
    font-size: 0.94rem !important;
}

@media (max-width: 480px) {
    .couple-salam {
        font-size: 1.15rem !important;
    }
    .couple-description,
    .fade-item.couple-description {
        font-size: 0.88rem !important;
        line-height: 1.72 !important;
        padding: 13px 15px;
        margin-bottom: 24px !important;
        border-radius: 15px;
    }
}

/* ================================================================
   SECTION: COUPLE (Mempelai) - ORANG TUA & ALAMAT
   ================================================================ */

/* Orang Tua Mempelai */
.couple-parent,
.groom-parent,
.bride-parent {
    display: block;
    font-family: var(--couple-parent-font, var(--font-body, sans-serif));
    font-size: var(--couple-parent-size, 21px);
    font-weight: var(--couple-parent-weight, 500);
    color: var(--couple-parent-color, #2b1810);
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin: 6px auto 12px;
    max-width: 380px;
    text-align: center;
}

@media (max-width: 480px) {
    .couple-parent,
    .groom-parent,
    .bride-parent {
        font-size: var(--couple-parent-size-mobile, 16px) !important;
        line-height: 1.55 !important;
        margin-bottom: 10px !important;
    }
}

/* Alamat mempelai */
.couple-address {
    font-family: 'Lora', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    opacity: 1;
    margin-top: 6px;
    margin-bottom: 17px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.couple-address i {
    color: var(--primary-soft);
    margin-right: 6px;
    font-size: 12px;
}

/* Spesifik untuk groom dan bride jika perlu berbeda */
.groom-address {
    /* bisa tambahkan gaya khusus jika diperlukan */
}

.bride-address {
    /* bisa tambahkan gaya khusus jika diperlukan */
}

/* Responsif untuk alamat di mobile */
@media (max-width: 480px) {
    .couple-address {
        font-size: 12px;
    }
}

/* ================= BUTTON ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--btn-primary-bg, linear-gradient(135deg, #8c6d3f 0%, #6b4c20 100%));
    color: var(--btn-primary-color, #ffffff) !important;
    font-family: var(--font-body, sans-serif);
    font-size: var(--btn-primary-font-size, 14.5px);
    font-weight: var(--btn-primary-weight, 600);
    letter-spacing: var(--btn-primary-letter-spacing, 0.5px);
    border: var(--btn-primary-border, 1px solid rgba(255, 255, 255, 0.25));
    padding: 12px 32px;
    border-radius: var(--btn-primary-radius, 30px);
    cursor: pointer;
    box-shadow: var(--btn-primary-shadow, 0 6px 18px rgba(70, 45, 20, 0.22));
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, filter .25s ease;
    margin-top: 14px;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn i {
    font-size: 15px;
    transition: transform .25s ease;
}

.btn:hover {
    background: var(--btn-primary-hover-bg, linear-gradient(135deg, #6b4c20 0%, #4a3212 100%));
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(70, 45, 20, 0.32);
    color: #ffffff !important;
}

.btn:hover i {
    transform: scale(1.15);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(70, 45, 20, 0.2);
}

@media (max-width: 480px) {
    .btn {
        font-size: var(--btn-primary-font-size-mobile, 13.5px) !important;
        padding: 11px 26px !important;
    }
}

.open-invitation-wrapper {

    position: absolute;

    left: var(--open-btn-left);
    bottom: var(--open-btn-bottom);

    transform: translateX(-50%);

    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= WATERMARK PITA ================= */
.watermark{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    background: linear-gradient(
        135deg,
        #f5d06f,
        #d4af37,
        #b8962e
    );
    color: #3a2c00;

    padding: 8px 26px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;

    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;

    box-shadow:
        0 6px 14px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.6);
}

/* bentuk trapezoid / sayap kiri */
.watermark::before,
.watermark::after{
    content:"";
    position:absolute;
    top:0;
    width:0;
    height:0;
    border-top: 18px solid #b8962e;
}

/* kiri */
.watermark::before{
    left:-18px;
    border-left: 18px solid transparent;
}

/* kanan */
.watermark::after{
    right:-18px;
    border-right: 18px solid transparent;
}

/* mobile sedikit diperkecil */
@media (max-width: 768px){
    .watermark{
        font-size: 13px;
        padding: 7px 22px 9px;
    }
}

/* ================= COVER ================= */
.cover {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 3vh, 28px) 16px calc(24px + env(safe-area-inset-bottom, 0px));
    position: relative;
    overflow: hidden;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

/* wrapper isi cover */
.cover > div,
.cover-pelapis {
    text-align: center;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cover > div > div {
    letter-spacing: .3px;
    opacity: .9;
}

.cover p {
    font-size: 24px;
    opacity: .95;
}

.cover small,
.cover-guest-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 3px auto 4px;
    padding: 4px 16px;
    font-size: clamp(11px, 1.1vw, 15px);
    font-weight: 600;
    color: #d8f3dc;
    background: rgba(18, 55, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.8px;
}

.cover-guest-label i {
    font-size: clamp(11px, 1.1vw, 15px);
    color: #e5b869;
}

#namatamu,
.hero-guest-name {
    font-family: var(--guest-name-font, 'Playfair Display', serif);
    font-size: clamp(1.1rem, 3.6vw, 1.45rem) !important;
    font-weight: 700;
    color: var(--guest-name-color, #16e432);
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin: 2px auto 0;
    padding: 0 12px;
    text-align: center;
    word-break: break-word;
    text-shadow: 
        0 2px 10px rgba(252, 247, 247, 0.85),
        0 1px 3px rgba(247, 240, 240, 0.95);
}


/* ============================================================
   COUPLE NAME
   Nama Mempelai
   ============================================================ */

.groom-name,
.bride-name {
    font-family: "Great Vibes", cursive;
    font-size: var(--couple-mempelai-size, 34px);
    font-weight: var(--couple-mempelai-weight, 500);
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: var(--couple-mempelai-color, #fc6464);

    margin: 0 0 10px;
    text-align: center;
}

.couple-name.couple-name-section,
.couple-name-section {
    font-family: var(--couple-cover-font, var(--font-accent, 'Pinyon Script', cursive));
    font-size: var(--couple-cover-size, clamp(2rem, 4.5vw, 2.9rem)) !important;
    font-weight: var(--couple-cover-weight, 600);
    line-height: 1.15;
    letter-spacing: 0.8px;
    color: var(--couple-cover-color, #19f776);
    text-shadow: 
        0 2px 14px rgb(245, 243, 243),
        0 4px 25px rgba(240, 229, 229, 0.75),
        0 1px 3px rgb(253, 249, 249);
    filter: drop-shadow(0 2px 8px rgb(253, 251, 251));
    margin: 4px auto 6px;
    text-align: center;
    word-break: break-word;
}

.couple-name-cover {
    font-family: "Playfair Display", serif;
    font-size: 35px;
    font-weight: 500;

    line-height: 1.2;
    letter-spacing: 0.3px;

    color: #fcfcfc;

    margin: 0 0 50px;

    text-align: center;
}

.cover-couple-name {
    font-family: var(--font-accent, 'Pinyon Script', cursive);
    font-size: clamp(2rem, 5vw, 2.9rem) !important;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.8px;
    color: #b38a40; /* nama pasangan di hero/content */
    text-shadow: 
        0 2px 14px rgba(255, 255, 255, 0.95),
        0 4px 25px rgba(255, 255, 255, 0.85),
        0 1px 3px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.95));
    margin: 2px 0 8px;
    text-align: center;
    word-break: break-word;
}

/* ============================================================
   WEDDING DATE
   Tanggal Pernikahan
   ============================================================ */

.wedding-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading, 'Cinzel', 'Rufina', 'Playfair Display', serif);
    font-size: clamp(1rem, 3.2vw, 1.35rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fffaf0;
    padding: 10px 28px;
    background: linear-gradient(135deg, rgba(18, 55, 42, 0.88) 0%, rgba(35, 83, 62, 0.78) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 50px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 235, 180, 0.35);
    margin: 6px auto 10px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.wedding-date::before {
    content: "\f133";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 0.92em;
    color: #e5b869;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.wedding-date:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 223, 133, 0.85);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 245, 210, 0.5);
}

.fade-item.wedding-date {
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}


/* ============================================================
   TOMBOL BUKA UNDANGAN (PC & MOBILE)
   ============================================================ */

.cover .btn,
.btn-buka-undangan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: auto auto 55px auto !important;
    font-weight: 600;
    padding: 15px 55px !important;
    font-size: 17.5px !important;
    letter-spacing: 0.6px !important;
    background: linear-gradient(135deg, #2d6a4f 0%, #12372a 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.75) !important;
    border-radius: 40px !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 235, 180, 0.4) !important;
    animation: coverEnter .9s cubic-bezier(.22,.61,.36,1) forwards;
    position: relative;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover .btn i,
.btn-buka-undangan i {
    font-size: 20px !important;
    margin-right: 0 !important;
    color: #ffd875 !important;
    transition: transform 0.3s ease;
}

.cover .btn:hover,
.btn-buka-undangan:hover {
    transform: translateY(-3px) scale(1.04);
    background: linear-gradient(135deg, #388463 0%, #174233 100%) !important;
    border-color: rgba(255, 223, 133, 0.95) !important;
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 245, 210, 0.6) !important;
}

.cover .btn:hover i,
.btn-buka-undangan:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.cover .btn:active,
.btn-buka-undangan:active {
    transform: translateY(-1px) scale(1.01);
}

@keyframes coverEnter{
    from{
        opacity:0;
        transform:translateY(60px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===============================
   SECTION PEMBUKA / HERO
================================ */
section.section-fullscreen:has(.pembuka-photo){
    background-image: url('../images/bg-masjid1.jpg');
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #000;

    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: clamp(65px, 9vh, 90px);
    padding-bottom: clamp(120px, 16vh, 180px);
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* foto pembuka tampil di section hero */
section.section-fullscreen:has(.pembuka-photo) .pembuka-photo{
    display: block;
    position: relative;
    z-index: 2;
}

.pembuka-photo{
    margin-top: 0;
    width: clamp(100px, 26vw, 140px);
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    background: #fff;
    padding: 3px;
    border-radius: 90px 90px 20px 20px;  /* Pengaturan bentuk frame foto kubah */
    border: 3px solid #f5f2ec;
    outline: 2px solid rgba(212, 175, 55, 0.85);
    outline-offset: 3px;

    box-shadow:
        0 0 0 5px rgba(18, 55, 42, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.28);

    margin-bottom: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pembuka-photo:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 0 5px rgba(212, 175, 55, 0.35),
        0 16px 36px rgba(0, 0, 0, 0.35);
}



/* ================================================================
   3. FLORAL & DEKORASI (tetap dipertahankan)
   ================================================================ */
.dekorasi-satu::before {
    content: "";
    display: block;
    width: 100%;
    height: 90px;
    background: url('../images/pv-dk1.png') top center / contain no-repeat;
    margin-bottom: 5px;
    pointer-events: none;
    animation: breathe 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes breathe {
    0%   { transform: scale(1) translateY(0); }
    50%  { transform: scale(1.1) translateY(-6px); }
    100% { transform: scale(1) translateY(0); }
}

.floral-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: url('../images/pg-dk1.png') top center / contain no-repeat;
    pointer-events: none;
    z-index: 2;
    transform: translateY(var(--parallax-top, 0));
    will-change: transform;
}

.floral-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('../images/pv-dk1.png') bottom center / contain no-repeat;
    pointer-events: none;
    z-index: 2;
    transform: translateY(var(--parallax-bottom, 0));
    will-change: transform;
}

.floral-top,
.floral-bottom {
    position: relative;
    overflow: hidden;
}

/* ============================================================
   WEDDING TITLE
   The Wedding Of
   ============================================================ */

.wedding-title {
    font-family: var(--font-heading, "Cormorant Garamond", serif);
    font-size: clamp(14px, 3.8vw, 19px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.5px;
    color: #12372a; /* the wedding of */
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
    margin: 2px 0 4px;
    text-align: center;
}

/* ============================================================
   COUNTDOWN - FOREVER ART 01
   ============================================================ */

.countdown {
    width: 100%;
    max-width: 360px;
    margin: 8px auto 0;

    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: var(--countdown-gap);

    position: relative;
    z-index: 10;
}

/* ============================================================
   COUNTDOWN BOX
   ============================================================ */

.countdown-unit {
    background-color: var(--countdown-bg);

    border:
        var(--countdown-border-width)
        solid
        var(--countdown-border-color);

    border-radius: var(--countdown-radius);

    box-shadow: var(--countdown-shadow);

    padding: 12px 10px;

    min-width: 65px;

    text-align: center;
}


/* ============================================================
   ANGKA COUNTDOWN
   ============================================================ */

.countdown-number {
    display: block;

    color: var(--countdown-number-color);

    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}


/* ============================================================
   LABEL COUNTDOWN
   ============================================================ */

.countdown-label {
    display: block;

    margin-top: 4px;

    color: var(--countdown-label-color);

    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
}

/* ============================================================
   COUNTDOWN FINISHED
   ============================================================ */

.countdown-finished {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.22);

    border: 1px solid rgba(255, 255, 255, 0.5);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    color: #ffffff;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5);
}

.finished-icon {
    font-size: 18px;
    margin-bottom: 5px;
}

.finished-text {
    font-family: var(--font-heading, serif);
    font-size: 15px;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .countdown {
        max-width: 320px;
        gap: 6px;
        margin-top: 8px;
    }

    .countdown-unit {
        padding: 7px 3px 8px;
        border-radius: 10px;
        min-width: 58px;
    }

    .countdown-number {
        font-size: 19px;
    }

    .countdown-label {
        margin-top: 4px;
        font-size: 9px;
        letter-spacing: 0.8px;
    }
}

/* ============================================================
   HP SANGAT KECIL
   ============================================================ */

@media (max-width: 360px) {

    .countdown {
        max-width: 300px;
        gap: 5px;
    }

    .countdown-number {
        font-size: 19px;
    }

    .countdown-label {
        font-size: 8px;
        letter-spacing: 0.6px;
    }

}

/* ================= TRANSITION ================= */
.hidden{display:none;}

.fade-item{
    opacity:0;
    transform:translateY(20px);
    transition:.8s ease;
}

.fade-in{
    opacity:1;
    transform:translateY(0);
}

/* ================================================================
   ================================================================
   7. SECTION: COVER / HERO
   ================================================================ */
section.cover {
    background: url('../images/bg-masjid2.jpg') center top / cover no-repeat !important;
}

.cover {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: clamp(14px, 2.5vh, 26px) 16px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
    box-sizing: border-box;
}

.cover-pelapis {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 440px;
    width: 100%;
    margin: clamp(42px, 7.5vh, 72px) auto 0 !important;
    padding: 0;
    animation: coverEnter .9s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes coverEnter {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cover .foto-cover-khusus {
    display: block !important;
    margin: 0 auto 6px !important;
    width: clamp(95px, 25vw, 130px) !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    object-position: center top;
    border-radius: 90px 90px 18px 18px;
    border: 3px solid #f5f2ec;
    outline: 2px solid rgba(212, 175, 55, 0.85);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(18, 55, 42, 0.18), 0 8px 24px rgba(0, 0, 0, 0.32);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cover .foto-cover-khusus:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.35), 0 12px 35px rgba(0, 0, 0, 0.42);
}

.cover .wedding-title {
    font-family: var(--font-heading, "Cormorant Garamond", serif);
    font-size: clamp(12px, 3.2vw, 15px) !important;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: #050505;
    text-shadow: 0 1px 4px rgb(253, 253, 253);
    margin: 2px auto 0 !important;
}

.cover .wedding-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading, 'Cinzel', 'Rufina', serif);
    font-size: clamp(0.85rem, 2.6vw, 1.05rem) !important;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fffaf0;
    padding: 7px 20px;
    background: linear-gradient(135deg, rgba(18, 55, 42, 0.90) 0%, rgba(35, 83, 62, 0.80) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 40px;
    box-shadow: 
        0 4px 14px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 235, 180, 0.3);
    margin: 4px auto 8px !important;
    text-align: center;
}


/* ================= CARD Mempelai ================= */
.card-mempelai{
    position:relative;
    z-index:4; 
    margin:0 auto;
    padding:36px 22px 40px 22px;
    max-width:460px;
    border-radius:24px;
    border: 2px solid;
    border-color:var(--bg);
    color:#000;
    
    background:rgba(243, 230, 200, 0.2); /* fallback */
    background:color-mix(in srgb, #fff 70%, transparent);

    box-shadow:
        0 18px 40px rgba(0,0,0,.08),
        0 6px 14px rgba(0,0,0,.05);

    text-align:center;
}

.footer-divider .heart-icon,
.fa-heart,
.fas.fa-heart,
.far.fa-heart {
    color: #e63946;
    display: inline-block;
    filter: drop-shadow(0 2px 6px rgba(230, 57, 70, 0.35));
}

.footer-divider .heart-icon {
    line-height: 2;
    margin: 0 0px;
}

.footer-divider .heart-icon:first-of-type {
    font-size: 13px;
}

.footer-divider .heart-icon:last-of-type {
    font-size: 13px;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e63946, transparent);
}

.salam-pembuka{
    margin-top: 50px;
}

.card{
    margin:40px auto;
    position:relative;
    color: #000;
}

.profile-photo{
    margin-top:20px;
    width:180px;
    height:260px;
    object-fit:cover;
    border-radius: 125px;

    box-shadow:
        0 16px 36px rgba(62,58,57,.16),
        0 4px 10px rgba(62,58,57,.08);

    margin-bottom:16px;
}

.profile-photo {
    border: 3px solid rgba(106, 132, 89, 0.65);

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.75),
        0 8px 24px rgba(0, 0, 0, 0.12);

    box-sizing: border-box;
}

.card-wanita, .card-pria{
    color:#000;
}

.instagram-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 12px auto 0;
    padding: 7px 18px;
    background: rgba(27, 67, 50, 0.08);
    color: #1b4332;
    border: 1px solid rgba(27, 67, 50, 0.28);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

.instagram-icon-link:hover {
    background: #1b4332;
    color: #ffffff;
    border-color: #1b4332;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.28);
}

.instagram-icon-link i {
    font-size: 14px;
}

/* ================= QUOTE ================= */
body.theme-fixed-bg .quote{
    background:rgb(191, 172, 148, 0.7); /* Pengaturan warna box background text */
}

section blockquote{
    color:#000;
    padding:40px 20px;
    border-radius:var(--radius-md);
    border: solid 1px var(--text);
    font-size:16px;
    text-align:center;
    background:color-mix(in srgb, #fff 70%, transparent);
}

/* ================= LIVE STREAMING ================= */
body.theme-fixed-bg .live-stream{
    background:color-mix(in srgb, var(--bg) 70%, transparent);
}

.live-stream{
    text-align:center;
    padding:32px 20px;
}

.live-stream p{
    color:var(--text);
}

.live-btn{
    display:inline-block;
    margin-top:12px;
    padding:8px 24px;
    border-radius:30px;
    background:var(--primary);
    color:#000;
    font-weight:500;
    text-decoration:none;
    box-shadow:var(--shadow-medium);
}

.live-btn:hover{
    background:var(--primary);
}

/* ================= GALLERY ================= */
.gallery {
    position: relative;
    padding: 70px 16px 85px;
    overflow: hidden;
    text-align: center;
}

.gallery-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* ================= GALLERY HEADER ================= */
.gallery-header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border: 1px solid rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.35);
    color: #e5b869;
    font-size: 24px;
}

.gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
    padding: 6px 18px;
    background: rgba(18, 55, 42, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fffaf0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-title {
    margin: 0 0 10px;
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: clamp(2rem, 5.5vw, 2.7rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1px;
    color: #1b4332;
    text-shadow: 0 1px 2px rgba(212, 175, 55, 0.25);
}

.gallery-subtitle {
    max-width: 480px;
    margin: 0 auto;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(13px, 3.4vw, 15px);
    font-weight: 500;
    line-height: 1.6;
    color: #4a5568;
}

.gallery-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px auto 0;
}

.gallery-divider span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), transparent);
}

.gallery-divider i {
    font-size: 13px;
    color: #e63946;
    filter: drop-shadow(0 2px 6px rgba(230, 57, 70, 0.35));
}

/* ================= GALLERY MASONRY ================= */
.gallery-masonry {
    column-count: 2;
    column-gap: 14px;
    margin-top: 24px;
    padding: 0 4px;
}

@media (min-width: 768px) {
    .gallery-masonry {
        column-count: 3;
        column-gap: 18px;
    }
}

.masonry-item {
    width: 100%;
    margin-bottom: 14px;
    break-inside: avoid;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 3px solid #ffffff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: block;
}

.masonry-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 36px rgba(27, 67, 50, 0.28), 0 4px 10px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.85);
}

@media (max-width: 480px) {
    .gallery {
        padding: 55px 12px 75px;
    }

    .gallery-eyebrow {
        font-size: 0.78rem;
        padding: 5px 15px;
        letter-spacing: 0.16em;
    }

    .gallery-masonry {
        column-gap: 10px;
    }

    .masonry-item {
        margin-bottom: 10px;
        border-radius: 12px;
        border-width: 2px;
    }
}

/* ===============================
   GALLERY POPUP (FULL VIEW)
=============================== */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.gallery-modal.active {
    display: block;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
}

.gallery-modal-box {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* jarak kiri kanan mobile */
}

.gallery-modal-box img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: #000;
}

.gallery-modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10000;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav.prev {
    left: 12px;
}

.gallery-nav.next {
    right: 12px;
}

/* NAV PANAH */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}


/* INDIKATOR */
.gallery-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    z-index: 5;
}


@media (max-width: 768px) {
    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 24px;
        background: rgba(0,0,0,.45);
    }    
    
}

/* ===============================
   VIDEO PREWEDDING (SIMPLE & AMAN)
=============================== */

.video-prewedding {
    width: 100%;
    margin: 20px 0;
}

.video-prewedding iframe {
    width: 100%;
    height: 220px;   /* default mobile */
    border: none;
}

/* tablet */
@media (min-width: 600px) {
    .video-prewedding iframe {
        height: 320px;
    }
}

/* desktop */
@media (min-width: 1024px) {
    .video-prewedding iframe {
        height: 420px;
    }
}



/* ================= LOVE STORY SECTION ================= */
body.theme-fixed-bg .love-story{
    background:color-mix(in srgb, #fff 70%, transparent);
}

.love-story{
    position:relative;
    z-index:4; 
    margin: 36px auto;
    padding:60px 24px 40px 24px;

    max-width:460px;
    border-radius: 24px;
    
    background:rgba(243, 230, 200, 0.2); /* fallback */
    background:color-mix(in srgb, #fff 70%, transparent);

    box-shadow:
        0 18px 40px rgba(0,0,0,.08),
        0 6px 14px rgba(0,0,0,.05);

    text-align:center;
    align-items:center;
}


/* garis vertikal */
.love-story::before{
    content:"";
    position:absolute;
    left:8px;
    top:0;
    bottom:0;
    width:2px;
    background:linear-gradient(
        to bottom,
        transparent,
        var(--bg),
        var(--bg),
        transparent
    );
    opacity:.8;
}

/* judul section */
.love-story h2{
    text-align:center;
    color:var(--bg);
    margin-bottom:24px;
    position:relative;
}

/* intro text */
.love-story > p{
    text-align:center;
    color:#000;
    margin-bottom:24px;
    max-width:520px;
}

/* ================= STORY ITEM ================= */

.story-item{
    position:relative;
    padding-left:28px;
    margin-bottom:32px;
}

/* dot timeline */
.story-item::before{
    content:"";
    position:absolute;
    left:-3px;
    top:6px;
    width:12px;
    height:12px;
    background:var(--bg);
    border-radius:50%;
    box-shadow:0 0 0 4px rgba(217,163,174,.25);
}

/* judul cerita */
.story-item h3{
    font-size:17px;
    margin-bottom:8px;
    color:var(--bg);
    text-align:left;
}

/* isi cerita */
.story-item p{
    text-align:left;
    color:#000;
    font-size:13px;
    line-height:1.8;
    max-width:520px;
}

/* ================= RSVP ================= */
body.theme-fixed-bg .section-rsvp{
    background:color-mix(in srgb, #fff 70%, transparent);
}

.section-rsvp{
    position:relative;
    align-items:center;
    text-align:center;
    background:var(--primary);
    color:#000;
}    

/* ============================================================
   RSVP SUCCESS MODAL
   ============================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);

    z-index: 99999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* ============================================================
   MODAL ACTIVE
   ============================================================ */

.modal-overlay.show {
    display: flex;

    opacity: 1;
    visibility: visible;
}


/* ============================================================
   MODAL CONTENT
   ============================================================ */

.modal-content {
    width: 100%;
    max-width: 380px;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 24px;

    padding: 32px 26px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    transform: translateY(20px) scale(0.96);

    transition:
        transform 0.3s ease;
}


/* ============================================================
   MODAL ACTIVE ANIMATION
   ============================================================ */

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}


/* ============================================================
   ICON
   ============================================================ */

.modal-icon {
    margin-bottom: 15px;
}

.modal-icon i {
    font-size: 58px;

    color: #6e8359;

    filter:
        drop-shadow(
            0 5px 10px
            rgba(110, 131, 89, 0.25)
        );
}


/* ============================================================
   TITLE
   ============================================================ */

.modal-content h2 {
    margin: 0 0 12px;

    font-family: var(--font-heading);

    font-size: 28px;

    font-weight: 600;

    color: #333;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.modal-content p {
    margin: 0 auto 22px;

    max-width: 310px;

    font-size: 14px;

    line-height: 1.7;

    color: #666;
}


/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.modal-close {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 120px;

    padding: 11px 22px;

    border: none;

    border-radius: 30px;

    background: var(--bg);

    color: #fff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.modal-close:hover {
    opacity: 0.9;
}


.modal-close:active {
    transform: scale(0.96);
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .modal-overlay {
        padding: 18px;
    }

    .modal-content {
        max-width: 350px;

        padding: 28px 22px;

        border-radius: 22px;
    }

    .modal-icon i {
        font-size: 52px;
    }

    .modal-content h2 {
        font-size: 25px;
    }

    .modal-content p {
        font-size: 13px;
    }

}

/* ============================================================
   TURUT MENGUNDANG LIST
   ============================================================ */
.mengundang-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.mengundang-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text, #333);
    line-height: 1.7;
}

.mengundang-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* ============================================================
   SECTION GIFT / TANDA KASIH & KADO DIGITAL (MASJID ART 01)
   ============================================================ */

.section-gift {
    position: relative;
    width: 100%;
    padding: 85px 18px 95px;
    overflow: hidden;
    z-index: 2;
}

.gift-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================================
   HEADER
   ============================================================ */

.gift-header {
    text-align: center;
    margin-bottom: 36px;
}

.gift-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #12372a 0%, #1b4332 50%, #2d6a4f 100%);
    border: 2px solid rgba(212, 175, 55, 0.7);
    box-shadow: 0 10px 25px rgba(18, 55, 42, 0.35), 0 0 15px rgba(212, 175, 55, 0.2);
    color: #dfb76c;
    font-size: 26px;
}

.gift-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 14px;
    padding: 7px 20px;
    background: rgba(18, 55, 42, 0.90);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fffaf0;
    box-shadow: 0 4px 16px rgba(18, 55, 42, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gift-eyebrow i {
    color: #dfb76c;
    font-size: 0.85rem;
}

.gift-title {
    margin: 0 0 14px;
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: #12372a;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(18, 55, 42, 0.08);
}

.gift-description {
    max-width: 540px;
    margin: 0 auto;
    padding: 18px 24px;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(14px, 3.6vw, 15.5px);
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.15px;
    color: #2b1810;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(18, 55, 42, 0.08);
}

.gift-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.gift-divider span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.gift-divider i {
    font-size: 13px;
    color: #dfb76c;
}

/* ============================================================
   ACCOUNT LIST
   ============================================================ */

.gift-accounts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================================
   ATM / BANK ACCOUNT CARD (LUXURY ISLAMIC GOLD & EMERALD)
   ============================================================ */

.gift-account-card {
    position: relative;
    padding: 26px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 249, 242, 0.97) 50%, rgba(247, 240, 228, 0.98) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 16px 36px rgba(18, 55, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

/* Subtle luxury card corner accent */
.gift-account-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.22), transparent 70%);
    pointer-events: none;
}

.gift-account-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at bottom left, rgba(18, 55, 42, 0.08), transparent 70%);
    pointer-events: none;
}

.gift-account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(18, 55, 42, 0.18), 0 4px 12px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.85);
}

/* Watermark Logo on Card */
.gift-card-watermark-logo {
    position: absolute;
    right: -10px;
    bottom: -10px;
    height: 95px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.06;
    filter: grayscale(100%);
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   TOP BAR: BANK INFO & CHIP
   ============================================================ */

.gift-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    position: relative;
    z-index: 2;
}

.gift-bank-info-group {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.gift-bank-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    max-width: 140px;
    height: 48px;
    padding: 6px 14px;
    border-radius: 12px;
    background: #244534;
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 4px 14px rgba(18, 55, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    flex: 0 0 auto;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gift-account-card:hover .gift-bank-logo {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(18, 55, 42, 0.14);
}

.gift-bank-logo img,
.gift-bank-logo .bank-logo-img {
    height: 32px;
    max-height: 34px;
    width: auto;
    max-width: 108px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
    image-rendering: -webkit-optimize-contrast;
}

.gift-bank-logo i {
    color: #12372a;
    font-size: 24px;
}

.gift-bank-info {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.gift-bank-title {
    display: block;
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.28rem;
    font-weight: 700;
    color: #12372a;
    line-height: 1.25;
    letter-spacing: 0.3px;
}

.gift-bank-sub {
    display: inline-block;
    margin-top: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b5b48;
    letter-spacing: 0.4px;
}

/* Emblems (EMV Chip & Contactless) */
.gift-card-emblems {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.gift-emv-chip {
    font-size: 28px;
    color: #d4af37;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.35));
}

.gift-contactless {
    font-size: 20px;
    color: #c59b27;
    transform: rotate(90deg);
    opacity: 0.85;
}

/* ============================================================
   ACCOUNT OWNER
   ============================================================ */

.gift-account-owner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 6px 0 16px;
}

.gift-owner-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7a6a58;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gift-owner-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: #12372a;
    text-align: right;
    letter-spacing: 0.3px;
}

/* ============================================================
   ACCOUNT NUMBER & COPY BUTTON
   ============================================================ */

.gift-account-number-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(18, 55, 42, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.6);
    border-radius: 16px;
    padding: 10px 12px 10px 18px;
}

.gift-num-wrap {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.gift-acc-label {
    display: block;
    margin-bottom: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b5b48;
    letter-spacing: 0.4px;
}

.gift-acc-label i {
    color: #dfb76c;
    margin-right: 3px;
}

.gift-account-number-box .account-number {
    display: block;
    color: #12372a;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 1.38rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

/* Copy Button */
.gift-copy-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #12372a 0%, #1b4332 100%);
    color: #ffffff;
    font-size: 0.90rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 14px rgba(18, 55, 42, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gift-copy-button i {
    font-size: 14px;
    color: #dfb76c;
}

.gift-copy-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    box-shadow: 0 6px 18px rgba(18, 55, 42, 0.4);
    color: #ffffff;
}

.gift-copy-button:active {
    transform: scale(0.97);
}

/* ============================================================
   QRIS BOX (IF APPLICABLE)
   ============================================================ */

.gift-qris-box {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(212, 175, 55, 0.35);
    text-align: center;
}

.qris-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 5px 16px;
    border-radius: 20px;
    background: rgba(18, 55, 42, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    font-size: 0.8rem;
    font-weight: 600;
    color: #12372a;
    letter-spacing: 0.5px;
}

.qris-img-wrap {
    display: inline-block;
    max-width: 220px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(18, 55, 42, 0.12);
}

.qris-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.gift-qris-note {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #6b5b48;
}

/* ============================================================
   PHYSICAL GIFT / PENGIRIMAN KADO FISIK
   ============================================================ */

.physical-gift-card {
    margin-top: 24px;
    padding: 26px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 246, 238, 0.96) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 16px 36px rgba(18, 55, 42, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.physical-gift-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    text-align: left;
}

.physical-gift-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #12372a 0%, #1b4332 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    color: #dfb76c;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(18, 55, 42, 0.25);
}

.physical-gift-label {
    display: block;
    margin-bottom: 3px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9a782a;
}

.physical-gift-title {
    margin: 0;
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #12372a;
    letter-spacing: 0.3px;
}

.physical-gift-content {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.physical-gift-intro {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4a3e33;
}

.gift-recipient-box {
    margin-bottom: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(18, 55, 42, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.recipient-label {
    display: block;
    margin-bottom: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b5b48;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.recipient-label i {
    color: #12372a;
    margin-right: 4px;
}

.recipient-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #12372a;
}

.gift-address-box {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(18, 55, 42, 0.05);
}

.address-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b5b48;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.address-label i {
    color: #d4af37;
    margin-right: 4px;
}

.address-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.68;
    color: #2b1810;
    font-weight: 500;
}

.gift-address-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    background: linear-gradient(135deg, #12372a 0%, #1b4332 100%);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(18, 55, 42, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gift-address-button i {
    font-size: 14px;
    color: #dfb76c;
}

.gift-address-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    box-shadow: 0 6px 18px rgba(18, 55, 42, 0.35);
    color: #ffffff;
}

.gift-address-button:active {
    transform: scale(0.97);
}

/* ============================================================
   WHATSAPP CONFIRMATION CARD
   ============================================================ */

.gift-confirm-card {
    margin-top: 22px;
    padding: 22px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(235, 247, 240, 0.92) 0%, rgba(245, 252, 248, 0.95) 100%);
    border: 1px solid rgba(37, 211, 102, 0.35);
    box-shadow: 0 10px 28px rgba(18, 55, 42, 0.08);
    text-align: center;
}

.gift-confirm-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gift-confirm-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.gift-confirm-info h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #12372a;
}

.gift-confirm-info p {
    margin: 0 0 8px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4a3e33;
    max-width: 480px;
}

.btn-confirm-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 30px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-confirm-wa i {
    font-size: 16px;
}

.btn-confirm-wa:hover {
    transform: translateY(-2px);
    background: #1ebc59;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
    color: #ffffff;
}

.btn-confirm-wa:active {
    transform: scale(0.97);
}

/* ============================================================
   ISLAMIC GRATITUDE FOOTER
   ============================================================ */

.gift-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    text-align: center;
    box-shadow: 0 6px 20px rgba(18, 55, 42, 0.06);
}

.gift-footer-heart {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(18, 55, 42, 0.08);
    color: #dfb76c;
    font-size: 15px;
}

.gift-footer-text {
    margin: 0;
    font-size: 0.90rem;
    line-height: 1.6;
    color: #12372a;
    font-style: italic;
    font-weight: 500;
}

/* ============================================================
   EMPTY STATE FALLBACK
   ============================================================ */

.gift-empty {
    padding: 35px 20px;
    text-align: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    color: #7a6a58;
    border: 1px dashed rgba(212, 175, 55, 0.5);
}

.gift-empty i {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    color: #dfb76c;
}

.gift-empty p {
    margin: 0;
    font-size: 0.88rem;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
    .section-gift {
        padding: 60px 14px 75px;
    }

    .gift-title {
        font-size: 1.85rem !important;
    }

    .gift-description {
        font-size: 14px !important;
        padding: 15px 16px !important;
    }

    .gift-account-card {
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }

    .gift-bank-logo {
        min-width: 90px !important;
        max-width: 120px !important;
        height: 42px !important;
        padding: 4px 10px !important;
        border-radius: 10px !important;
    }

    .gift-bank-logo img,
    .gift-bank-logo .bank-logo-img {
        height: 26px !important;
        max-height: 28px !important;
        max-width: 95px !important;
    }

    .gift-bank-title {
        font-size: 1.15rem !important;
    }

    .gift-card-emblems {
        gap: 8px !important;
    }

    .gift-emv-chip {
        font-size: 24px !important;
    }

    .gift-contactless {
        font-size: 17px !important;
    }

    .gift-account-owner {
        padding: 6px 0 14px !important;
    }

    .gift-owner-label {
        font-size: 0.78rem !important;
    }

    .gift-owner-name {
        font-size: 1.05rem !important;
    }

    .gift-account-number-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px 14px !important;
    }

    .gift-account-number-box .account-number {
        font-size: 1.25rem !important;
        letter-spacing: 0.08em !important;
        text-align: center !important;
    }

    .gift-acc-label {
        text-align: center !important;
    }

    .gift-copy-button {
        width: 100% !important;
        min-height: 40px !important;
        padding: 0 16px !important;
        font-size: 0.86rem !important;
    }

    .physical-gift-card {
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }

    .physical-gift-header {
        gap: 12px !important;
    }

    .physical-gift-icon {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px !important;
        font-size: 18px !important;
    }

    .physical-gift-title {
        font-size: 1.12rem !important;
    }

    .physical-gift-intro {
        font-size: 0.86rem !important;
    }

    .gift-address-button {
        width: 100% !important;
        font-size: 0.84rem !important;
    }

    .gift-confirm-card {
        padding: 18px 14px !important;
        border-radius: 18px !important;
    }

    .gift-confirm-info h4 {
        font-size: 1.02rem !important;
    }

    .gift-confirm-info p {
        font-size: 0.82rem !important;
    }

    .btn-confirm-wa {
        width: 100% !important;
        font-size: 0.84rem !important;
    }

    .gift-footer {
        flex-direction: column !important;
        padding: 14px !important;
        gap: 8px !important;
    }

    .gift-footer-text {
        font-size: 0.82rem !important;
    }
}


/* ============================================================
   SUPPORTED BY / VENDOR
   ============================================================ */

/* ============================================================
   SUPPORTED BY / VENDOR
   ============================================================ */

.vendor-section {
    position: relative;
    padding: 70px 16px 85px;
    overflow: hidden;
}


.vendor-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}


/* ============================================================
   HEADER
   ============================================================ */

.vendor-header {
    text-align: center;
    margin-bottom: 36px;
}


.vendor-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: #e5b869;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.35);
}


.vendor-badge i {
    font-size: 22px;
}


.vendor-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
    padding: 6px 18px;
    background: rgba(18, 55, 42, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fffaf0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.vendor-title {
    margin: 0 0 10px;
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: clamp(2rem, 5.5vw, 2.7rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1px;
    color: #1b4332;
    text-shadow: 0 1px 2px rgba(212, 175, 55, 0.25);
}


.vendor-description {
    max-width: 520px;
    margin: 0 auto;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(13px, 3.4vw, 15px);
    font-weight: 500;
    line-height: 1.6;
    color: #4a5568;
}


.vendor-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px auto 0;
}


.vendor-divider span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), transparent);
}


.vendor-divider i {
    font-size: 13px;
    color: #e63946;
    filter: drop-shadow(0 2px 6px rgba(230, 57, 70, 0.35));
}


/* ============================================================
   GRID
   ============================================================ */

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-top: 24px;
}


/* ============================================================
   CARD
   ============================================================ */

.vendor-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}


.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(27, 67, 50, 0.20), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.85);
}


/* ============================================================
   LOGO
   ============================================================ */

.vendor-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.12), inset 0 0 0 3px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    flex-shrink: 0;
    padding: 6px;
}


.vendor-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}


.vendor-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b4332;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 50%;
}


.vendor-icon i {
    font-size: 32px;
    color: #1b4332;
}


/* ============================================================
   CONTENT
   ============================================================ */

.vendor-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.vendor-name {
    margin: 0;
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: 1.28rem;
    font-weight: 700;
    color: #1b4332;
    letter-spacing: 0.3px;
    line-height: 1.3;
}


.vendor-category {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(27, 67, 50, 0.08);
    color: #2d6a4f;
    border: 1px solid rgba(45, 106, 79, 0.25);
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
}


.vendor-description-card {
    margin: 10px 0 0;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.85rem;
    line-height: 1.55;
    color: #4b5563;
}


/* ============================================================
   INFO
   ============================================================ */

.vendor-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    text-align: left;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4b5563;
}


.vendor-info i {
    color: #d4af37;
    margin-top: 3px;
}


/* ============================================================
   ACTIONS / BUTTONS
   ============================================================ */

.vendor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
}

.btn-vendor-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}


.btn-vendor-wa:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #12372a 0%, #1b4332 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.38);
}


.btn-vendor-wa i {
    font-size: 15px;
    color: #25d366;
}

.btn-vendor-website,
.btn-vendor-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #1b4332;
    text-decoration: none;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-vendor-website:hover,
.btn-vendor-instagram:hover {
    transform: translateY(-2px);
    background: #1b4332;
    color: #fffaf0;
    border-color: #1b4332;
}

.btn-vendor-instagram i {
    color: #e1306c;
}

.btn-vendor-website i {
    color: #d4af37;
}


/* ============================================================
   EMPTY
   ============================================================ */

.vendor-empty {
    padding: 45px 20px;
    text-align: center;
    color: #776b5f;
    font-family: var(--font-body, 'Poppins', sans-serif);
}


.vendor-empty i {
    font-size: 30px;
    margin-bottom: 12px;
    color: #d4af37;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .vendor-section {
        padding: 70px 16px;
    }


    .vendor-header {
        margin-bottom: 32px;
    }


    .vendor-title {
        font-size: 2.2rem;
    }


    .vendor-description {
        font-size: 0.82rem;

        padding: 0 12px;
    }


    .vendor-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .vendor-card {
        padding: 28px 20px;

        border-radius: 22px;
    }


    .vendor-logo {
        width: 74px;
        height: 74px;

        margin-bottom: 16px;
    }


    .vendor-name {
        font-size: 1.15rem;
    }

}

/* ===============================
   SECTION PENUTUP
================================ */

section.penutup,
.penutup {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    padding-top: var(--penutup-padding-top, 50vh) !important;
    padding-bottom: var(--penutup-padding-bottom, 95px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

section.penutup:has(.pembuka-photo),
.penutup:has(.pembuka-photo) {
    background-image: var(--section-bg-image);
}

.penutup .pembuka-photo {
    display: none !important;
}

/* Gradient transparan di atas (agar wajah terlihat bersih) dan gelap di bawah (agar teks jelas) */
.penutup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.7) 72%,
        rgba(0, 0, 0, 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.penutup-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    margin-top: auto !important; /* Mendorong teks selalu berada di bawah */
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Teks Ucapan Terima Kasih */
.penutup-text {
    font-family: var(--penutup-text-font, var(--font-body, sans-serif));
    font-size: var(--penutup-text-size, 15px);
    font-weight: var(--penutup-text-weight, 400);
    color: var(--penutup-text-color, #ffffff);
    line-height: 1.8;
    margin: 0 auto 16px;
    max-width: 440px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Teks Salam (Wassalamualaikum) */
.penutup-salam {
    font-family: var(--font-heading, serif);
    font-size: var(--penutup-salam-size, 17px);
    font-weight: var(--penutup-salam-weight, 700);
    color: var(--penutup-salam-color, #f7e7ce);
    margin: 0 auto 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Nama Mempelai Penutup */
.penutup-couple-name {
    font-family: var(--font-accent, cursive);
    font-size: var(--penutup-couple-size, 32px);
    color: var(--penutup-couple-color, #ffffff);
    margin: 0 auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

@media (max-width: 480px) {
    section.penutup,
    .penutup {
        min-height: 100vh !important;
        padding-top: var(--penutup-padding-top, 50vh) !important;
        padding-bottom: var(--penutup-padding-bottom, 95px) !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        background-position: center top !important;
        justify-content: flex-end !important;
    }

    .penutup-text {
        font-size: var(--penutup-text-size-mobile, 13.5px) !important;
        line-height: 1.75;
        margin-bottom: 14px !important;
    }

    .penutup-salam {
        font-size: var(--penutup-salam-size-mobile, 15px) !important;
        margin-bottom: 10px !important;
    }

    .penutup-couple-name {
        font-size: var(--penutup-couple-size-mobile, 26px) !important;
    }
}


/* ===============================
   FOOTER LAMA
================================ */
body.theme-fixed-bg .section-footer{
    background:color-mix(in srgb, #fff 90%, transparent);
}

.footer{
    padding:30px 20px;
    text-align:center;
}

.footer-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

.footer-logo{
    height:36px;
    width:auto;
    opacity:.85;
}

.footer-text{
    font-size:13px;
    color:#000;
    letter-spacing:.3px;
}

.footer-text strong{
    color:var(--bg);
}

/* ============================================================
   SOCIAL MEDIA
   ============================================================ */

.section-footer .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.section-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.section-footer .footer-social a:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #12372a 0%, #1b4332 100%);
    border-color: rgba(212, 175, 55, 0.85);
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.4);
}

.section-footer .footer-social i {
    font-size: 1.25rem;
    color: #e5b869;
    transition: color .25s ease;
}

.section-footer .footer-social a:hover i {
    color: #fff9e6;
}



/* ================= MUSIC ================= */
#music-toggle{
    position:fixed;
    bottom:85px;
    right:20px;
    left:auto;
    width:46px;
    height:46px;
    border-radius:50%;
    background:rgba(18, 55, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color:#fff;
    border:1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index:999;
}

#music-toggle.visible{
    opacity:1;
    visibility:visible;
}

#music-toggle:hover{
    transform: scale(1.08);
    background: #2d6a4f;
    border-color: rgba(255, 223, 133, 0.85);
}

#music-toggle i{
    font-size: 16px;
    color: #f7e7ce;
}

/* ============================================================
   FLOATING BOTTOM NAVBAR (EMERALD LUXURY DOCK)
   ============================================================ */

.bottom-navbar {
    position: fixed;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 28px);
    max-width: 440px;
    z-index: 998;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.bottom-navbar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.bottom-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(18, 55, 42, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 40px;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.38),
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 235, 180, 0.25);
}

.bottom-navbar .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 20px;
    color: rgba(216, 243, 220, 0.75);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.bottom-navbar .nav-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-navbar .nav-icon {
    font-size: 15px;
    transition: color 0.3s ease, filter 0.3s ease;
}

.bottom-navbar .nav-label {
    font-size: 10px;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.2px;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Hover effect */
.bottom-navbar .nav-item:hover {
    color: #ffffff;
}

.bottom-navbar .nav-item:hover .nav-icon-wrap {
    transform: translateY(-2px);
}

/* Active State */
.bottom-navbar .nav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
    border: 1px solid rgba(255, 223, 133, 0.5);
    box-shadow: 
        0 4px 14px rgba(45, 106, 79, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.bottom-navbar .nav-item.active .nav-icon-wrap {
    transform: scale(1.1);
}

.bottom-navbar .nav-item.active .nav-icon {
    color: #fff9e6;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}

.bottom-navbar .nav-item.active .nav-label {
    font-weight: 600;
    color: #ffffff;
}

/* Small mobile devices */
@media (max-width: 380px) {
    .bottom-navbar {
        width: calc(100% - 16px);
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .bottom-navbar-inner {
        padding: 5px 6px;
        gap: 2px;
    }

    .bottom-navbar .nav-item {
        padding: 5px 2px;
    }

    .bottom-navbar .nav-icon {
        font-size: 14px;
    }

    .bottom-navbar .nav-label {
        font-size: 9px;
    }

    #music-toggle {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: auto;
        width: 42px;
        height: 42px;
    }
}


/* ================= RESPONSIVE ================= */
@media(max-width:480px){
    section{
        padding:50px 16px;
    }
    
    .love-story{
        padding-left:22px;
    }

    .story-item{
        padding-left:24px;
    }

    .story-item::before{
        width:10px;
        height:10px;
        left:-4px;
    }
    
   .cover{
        padding-bottom: 35px;
    }

}

/* ============================================================
   FLOWER ART 01
   SECTION ACARA
   ============================================================ */


/* ============================================================
   SECTION UTAMA
   ============================================================ */

.acara {
    width: 100%;
    max-width: 480px;

    margin: 0 auto;

    padding: 60px 16px 80px;

    min-height: auto;

    display: block;

    text-align: center;

    position: relative;

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Override section-fullscreen
|--------------------------------------------------------------------------
|
| Section acara memiliki lebih dari satu card.
| Jadi jangan gunakan layout fullscreen flex.
|
*/

.acara.section-fullscreen {
    min-height: auto;

    display: block;

    flex-direction: unset;
    justify-content: unset;
    align-items: unset;
}


/* ============================================================
   AREA CARD
   ============================================================ */

.section-acara {
    width: 100%;

    max-width: 420px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 24px;

    position: relative;

    z-index: 3;
}


/* ============================================================
   CARD ACARA
   ============================================================ */

.card-acara {
    position: relative;

    width: 100%;

    padding: 30px 22px 28px;

    background:
        rgba(255, 255, 255, 0.80);

    border: 1px solid rgba(110, 131, 89, 0.38);

    border-radius: 22px;

    box-shadow:
        0 10px 28px rgba(55, 65, 45, 0.13);

    backdrop-filter: blur(0px);

    -webkit-backdrop-filter: blur(0%);

    overflow: hidden;

    text-align: center;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


/* Garis dekorasi bagian atas */

.card-acara::before {
    content: "";

    position: absolute;

    top: 0;

    left: 12%;

    width: 76%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(110, 131, 89, .55),
            transparent
        );
}


/* ============================================================
   DEKORASI SUDUT
   ============================================================ */

.card-acara::after {
    content: "❦";

    position: absolute;

    top: 12px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 18px;

    color: #6e8359;

    opacity: .65;
}


/* ============================================================
   JUDUL ACARA
   AKAD NIKAH / RESEPSI (AKTIF)
   ============================================================ */

.card-acara h2 {
    margin: 18px 0 10px;
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: clamp(22px, 5.5vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1b4332;
    text-shadow: 0 1px 2px rgba(212, 175, 55, 0.25);
}


/* ============================================================
   PARAGRAPH DETAIL
   ============================================================ */

.card-acara p {
    margin: 0;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 15px;
    line-height: 1.7;
    color: #2b1810;
}


/* ============================================================
   TANGGAL ACARA
   ============================================================ */

.card-acara .tanggal-custom {
    display: inline-block;

    margin-bottom: 8px;

    font-family: var(--font-heading, serif);

    font-size: 23px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: .3px;

    color: #111;
}


/* ============================================================
   WAKTU
   ============================================================ */

.card-acara p br + br {
    line-height: 1;
}


/* ============================================================
   NAMA TEMPAT
   ============================================================ */

.card-acara strong {
    display: inline-block;

    margin-top: 3px;

    margin-bottom: 8px;

    max-width: 300px;

    font-family: var(--font-body, sans-serif);

    font-size: 14px;

    font-weight: 600;

    line-height: 1.5;

    color: #222;
}


/* ============================================================
   LABEL ALAMAT
   ============================================================ */

.card-acara .alamat-label {
    display: inline-block;

    margin-top: 4px;

    margin-bottom: 5px;

    font-family: var(--font-body, sans-serif);

    font-size: 10px;

    font-weight: 600;

    line-height: 1.4;

    text-transform: uppercase;

    letter-spacing: 1.6px;

    color: #6e8359;
}


/* ============================================================
   ALAMAT
   ============================================================ */

.card-acara p {
    overflow-wrap: break-word;
}


/* ============================================================
   BUTTON LOKASI
   ============================================================ */

.card-acara a {
    display: inline-block;

    margin-top: 18px;

    text-decoration: none;
}


/* Button */

.card-acara .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 12px 24px;
    margin: 10px auto 0;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 25px;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #fff;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(13px, 3.2vw, 15px);
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.35);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}


.card-acara .btn i {
    font-size: clamp(14px, 3.2vw, 16px);
    color: #e5b869;
}


.card-acara .btn:hover {
    background: linear-gradient(135deg, #12372a 0%, #1b4332 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(27, 67, 50, 0.45);
}

/* Event Map Embed - Sakinah Mawaddah Baitullah */
.card-acara .event-map-wrapper {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;
}

.card-acara .event-map-frame {
    position: relative;
    width: 100%;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.18);
    background: #f4f7f4;
}

.card-acara .event-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* ============================================================
   PEMISAH ANTAR ACARA
   ============================================================ */

.card-acara + .card-acara {
    margin-top: 2px;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .acara {
        padding:
            55px
            13px
            70px;
    }


    .section-acara {
        max-width: 100%;

        gap: 20px;
    }


    .card-acara {
        padding: 26px 18px 24px;
        border-radius: 20px;
    }

    .card-acara .btn {
        width: 100%;
        max-width: 220px;
    }
}


/* ============================================================
   HP KECIL
   ============================================================ */

@media (max-width: 360px) {

    .acara {
        padding-left: 10px;
        padding-right: 10px;
    }


    .card-acara {
        padding-left: 14px;
        padding-right: 14px;
    }


    .card-acara h2 {
        font-size: 18px;
    }


    .card-acara .tanggal-custom {
        font-size: 19px;
    }

}


/* ============================================================
   EVENT DETAIL
   ============================================================ */

.event-detail {
    width: 100%;
    text-align: center;
}


/* ============================================================
   TANGGAL
   ============================================================ */

.card-acara .event-date {
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: clamp(19px, 4.8vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
    color: #1b4332;
    margin-bottom: 12px;
}


/* ============================================================
   JAM
   ============================================================ */

.card-acara .event-time {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    color: #2b1810;
}


/* "Pukul" */

.card-acara .event-time-label {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(15px, 3.8vw, 17px);
    font-weight: 500;
    letter-spacing: .2px;
    color: #555;
}


/* 08:00 - 10:00 */

.card-acara .event-time-value {
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: clamp(20px, 5.2vw, 26px);
    font-weight: 700;
    letter-spacing: .5px;
    color: #1b4332;
}


/* tanda - */

.card-acara .event-time-separator {
    margin: 0 4px;
    font-weight: 600;
    color: #d4af37;
}


/* WIB */

.card-acara .event-time-zone {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(14px, 3.6vw, 16px);
    font-weight: 600;
    letter-spacing: .5px;
    color: #555;
}


/* ============================================================
   LOKASI / NAMA TEMPAT
   ============================================================ */

.card-acara .event-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: var(--font-heading, 'Cinzel', 'Playfair Display', serif);
    font-size: clamp(18px, 4.5vw, 23px);
    font-weight: 700;
    line-height: 1.4;
    color: #1b4332;
}


.card-acara .event-location i {
    font-size: clamp(17px, 4.2vw, 21px);
    color: #d4af37;
}


/* ============================================================
   LABEL ALAMAT
   ============================================================ */

.card-acara .event-address-label {
    margin-bottom: 6px;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #2d6a4f;
}


/* ============================================================
   ISI ALAMAT
   ============================================================ */

.card-acara .event-address-text {
    max-width: 360px;
    margin: 0 auto;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(14px, 3.6vw, 16px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .2px;
    color: #2b1810;
}

/* ============================================================
   TURUT MENGUNDANG
   ============================================================ */

.turut-mengundang {
    width: 100%;
    max-width: 460px;
    margin: 35px auto;
    padding: 38px 24px;
    text-align: center;
    background: var(--turut-card-bg, rgba(255, 255, 255, 0.88));
    border: var(--turut-card-border, 1px solid rgba(190, 160, 110, 0.45));
    border-radius: var(--turut-card-radius, 24px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--turut-card-shadow, 0 12px 35px rgba(60, 40, 20, 0.15));
}

/* Header */
.turut-header {
    margin-bottom: 24px;
}

.turut-label {
    display: inline-block;
    font-family: var(--font-body, sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--turut-label-color, #8c6d3f);
    margin-bottom: 8px;
}

.turut-mengundang h2 {
    margin: 0;
    font-family: var(--font-heading, serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--turut-title-color, #2b1810);
    letter-spacing: 0.5px;
}

/* Divider */
.turut-divider {
    width: 60px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, #b89158, transparent);
    border-radius: 2px;
}

/* List */
.mengundang-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Keluarga Card Item */
.keluarga-item {
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(190, 160, 110, 0.25);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.keluarga-item:last-child {
    border-bottom: 1px solid rgba(190, 160, 110, 0.25);
}

/* Label peran keluarga */
.keluarga-role {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    background: rgba(140, 109, 63, 0.12);
    border-radius: 20px;
    font-family: var(--font-body, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--turut-role-color, #7a5833);
}

/* Nama orang tua */
.keluarga-item strong {
    display: block;
    font-family: var(--font-heading, serif);
    font-size: var(--turut-name-size, 18px);
    line-height: 1.5;
    font-weight: var(--turut-name-weight, 700);
    color: var(--turut-name-color, #1a0f08);
}

/* Mobile */
@media (max-width: 480px) {
    .turut-mengundang {
        width: calc(100% - 24px) !important;
        padding: 28px 16px !important;
        border-radius: 20px !important;
    }

    .turut-mengundang h2 {
        font-size: 22px !important;
    }

    .turut-label {
        font-size: 11.5px !important;
        letter-spacing: 2px !important;
    }

    .keluarga-role {
        font-size: 11px !important;
    }

    .keluarga-item strong {
        font-size: var(--turut-name-size-mobile, 16.5px) !important;
    }
}

/* ============================================================
   RSVP & UCAPAN
   STUDIO1 INVITATION
   SPACING / READABILITY
   ============================================================ */


/* ============================================================
   SECTION
   ============================================================ */

.section-rsvp {
    width: 100%;
    max-width: 480px;

    margin: 0 auto;

    padding: 70px 16px 80px;

    text-align: center;
}


/* ============================================================
   HEADER
   ============================================================ */

.rsvp-header {
    margin-bottom: 32px;
}


.rsvp-header .section-badge {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 14px;

    letter-spacing: .5px;
}


.rsvp-header .section-title {
    margin: 0 0 14px;

    font-size: 25px;

    line-height: 1.35;
}


.rsvp-header .section-sub {
    margin: 0 auto;

    max-width: 380px;

    font-size: 21px;

    line-height: 1.2;

    color: #222;
}


.rsvp-header .section-divider {
    width: 55px;
    height: 1px;

    margin: 18px auto 0;

    background: var(--bg);
}


/* ============================================================
   FORM WRAPPER
   ============================================================ */

.rsvp-form-wrapper {
    width: 100%;
}


.glass-card {
    width: 100%;

    padding: 28px 24px 30px;

    background: rgba(155, 212, 153, 0.6); /* Pengaturan warna box background rsvp */

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .08);

    text-align: left;
}


/* ============================================================
   FORM
   ============================================================ */

#rsvpForm {
    width: 100%;
}


/* ============================================================
   FORM GROUP
   ============================================================ */

#rsvpForm .form-group {
    width: 100%;

    margin: 0 0 24px;
}


/*
|--------------------------------------------------------------------------
| Jarak antar field
|--------------------------------------------------------------------------
*/

#rsvpForm .form-group + .form-group {
    margin-top: 4px;
}


/* ============================================================
   LABEL
   ============================================================ */

#rsvpForm .form-group > label {
    display: flex;

    align-items: center;

    gap: 7px;

    margin: 0 0 10px;

    font-family: var(--font-body);

    font-size: 14px;

    font-weight: 600;

    line-height: 1.5;

    color: #222;
}


/* icon */

#rsvpForm .form-group > label i {
    width: 17px;

    text-align: center;

    flex-shrink: 0;

    font-size: 13px;

    color: var(--bg);
}


/* optional */

#rsvpForm .optional {
    margin-left: 4px;

    font-size: 12px;

    font-weight: 400;

    color: #777;
}


/* ============================================================
   TEXT INPUT
   ============================================================ */

#rsvpForm input[type="text"],
#rsvpForm input[type="tel"],
#rsvpForm input[type="number"] {
    display: block;

    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #dedede;

    border-radius: 10px;

    background: rgba(255, 255, 255, .95);

    color: #222;

    font-family: var(--font-body);

    font-size: 14px;

    line-height: 48px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* focus */

#rsvpForm input[type="text"]:focus,
#rsvpForm input[type="tel"]:focus,
#rsvpForm input[type="number"]:focus,
#rsvpForm textarea:focus {
    border-color: var(--bg);

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(110, 131, 89, .12);
}


/* placeholder */

#rsvpForm input::placeholder,
#rsvpForm textarea::placeholder {
    color: #aaa;

    opacity: 1;
}


/* ============================================================
   NUMBER INPUT
   ============================================================ */

#rsvpForm input[type="number"] {
    appearance: auto;

    -moz-appearance: textfield;
}


/* ============================================================
   RADIO GROUP
   ============================================================ */

#rsvpForm .radio-group {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px 16px;

    margin-top: 4px;
}


/* ============================================================
   RADIO OPTION
   ============================================================ */

#rsvpForm .radio-option {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin: 0;

    padding: 4px 0;

    cursor: pointer;

    font-size: 14px;

    line-height: 1.5;

    color: #222;
}


/*
|--------------------------------------------------------------------------
| Jangan tampilkan radio custom tambahan kalau tidak diperlukan
|--------------------------------------------------------------------------
*/

#rsvpForm .radio-option input[type="radio"] {
    width: 16px;
    height: 16px;

    margin: 0;

    flex-shrink: 0;

    accent-color: var(--bg);

    cursor: pointer;
}


#rsvpForm .radio-option .radio-custom {
    display: none;
}


#rsvpForm .radio-label {
    line-height: 1.5;
}


/* ============================================================
   TEXTAREA
   ============================================================ */

#rsvpForm textarea {
    display: block;

    width: 100%;

    min-height: 125px;

    padding: 13px 14px;

    resize: vertical;

    border: 1px solid #dedede;

    border-radius: 10px;

    background: rgba(255, 255, 255, .95);

    color: #222;

    font-family: var(--font-body);

    font-size: 14px;

    line-height: 1.7;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* ============================================================
   ERROR MESSAGE
   ============================================================ */

#rsvpForm .form-error {
    display: none;

    margin-top: 8px;

    padding-left: 2px;

    font-size: 12px;

    line-height: 1.5;

    color: #c0392b;
}


#rsvpForm .form-error.show,
#rsvpForm .form-error.active {
    display: block;
}


/* ============================================================
   SUBMIT BUTTON
   ============================================================ */

#rsvpSubmit {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    min-height: 48px;

    margin-top: 8px;

    padding: 12px 20px;

    border: none;

    border-radius: 10px;

    background: #25863a;

    color: #9b0f0f;

    font-family: var(--font-body);

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


#rsvpSubmit:hover {
    background: var(--bg);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .15);
}


#rsvpSubmit:active {
    transform: translateY(1px);
}


#rsvpSubmit:disabled {
    opacity: .7;

    cursor: not-allowed;
}


/* ============================================================
   COMMENTS
   ============================================================ */

.comments-section {
    width: 100%;

    margin-top: 35px;

    text-align: left;
}


.comments-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;
}


.comments-title {
    margin: 0;

    font-size: 18px;

    line-height: 1.5;
}


.comments-count {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 28px;

    height: 28px;

    padding: 0 8px;

    border-radius: 20px;

    background: var(--bg);

    color: #fff;

    font-size: 12px;

    font-weight: 600;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .section-rsvp {
        padding: 60px 12px 70px;
    }


    .rsvp-header {
        margin-bottom: 28px;
    }


    .rsvp-header .section-title {
        font-size: 23px;
    }


    .rsvp-header .section-sub {
        font-size: 14px;

        line-height: 1.85;

        padding: 0 8px;
    }


    .glass-card {
        padding: 26px 20px 28px;

        border-radius: 17px;
    }


    #rsvpForm .form-group {
        margin-bottom: 25px;
    }


    #rsvpForm .form-group > label {
        margin-bottom: 10px;

        font-size: 14px;
    }


    #rsvpForm input[type="text"],
    #rsvpForm input[type="tel"],
    #rsvpForm input[type="number"] {
        height: 48px;

        font-size: 14px;
    }


    #rsvpForm .radio-group {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }


    #rsvpForm .radio-option {
        width: 100%;

        padding: 5px 0;

        font-size: 14px;
    }


    #rsvpForm textarea {
        min-height: 130px;

        font-size: 14px;
    }


    #rsvpSubmit {
        min-height: 48px;

        font-size: 14px;
    }

}


/* ============================================================
   VERY SMALL PHONE
   ============================================================ */

@media (max-width: 360px) {

    .glass-card {
        padding-left: 16px;
        padding-right: 16px;
    }


    #rsvpForm .radio-group {
        gap: 5px;
    }


    #rsvpForm .radio-option {
        font-size: 13px;
    }

}

/* ============================================================
   KOMPREHENSIF RESPONSIVE SYSTEM - ALL DEVICES
   (Mobile Small 320px, Mobile Normal 375-430px, Tablet 768px, Desktop 1024px+)
   ============================================================ */

/* --- 1. GLOBAL OVERFLOW & CONTAINER SAFETY --- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Container safety across all sections */
section,
.cover,
.section-bg,
.card-mempelai,
.section-acara,
.card-acara,
.gallery-wrapper,
.rsvp-wrapper,
.gift-wrapper,
.vendor-container,
.turut-mengundang {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --- 2. TYPOGRAPHY RESPONSIF FLUID (clamp) --- */
.wedding-title {
    font-size: clamp(0.95rem, 3.5vw, 1.35rem) !important;
    letter-spacing: clamp(1px, 0.4vw, 2px) !important;
}

.cover-couple-name,
.couple-name-section,
.couple-name-cover {
    font-size: clamp(2.1rem, 6.8vw, 3.6rem) !important;
    line-height: 1.15 !important;
    word-wrap: break-word;
}

.wedding-date {
    font-size: clamp(0.95rem, 3.2vw, 1.25rem) !important;
    letter-spacing: clamp(0.5px, 0.3vw, 1.5px) !important;
}

.hero-guest-name,
#namatamu {
    font-size: clamp(1.15rem, 4.8vw, 1.75rem) !important;
    line-height: 1.3 !important;
    word-break: break-word;
}

.cover-guest-label {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem) !important;
}

.groom-name,
.bride-name {
    font-size: clamp(1.8rem, 5.5vw, 2.4rem) !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
}

.couple-parent,
.groom-parent,
.bride-parent {
    font-size: clamp(0.92rem, 3.2vw, 1.15rem) !important;
    line-height: 1.55 !important;
    max-width: 90% !important;
}

.couple-address {
    font-size: clamp(0.85rem, 2.8vw, 0.98rem) !important;
    line-height: 1.5 !important;
}

.quote blockquote {
    font-size: clamp(0.88rem, 2.8vw, 1.05rem) !important;
    line-height: 1.8 !important;
    padding: clamp(18px, 4vw, 28px) clamp(16px, 4vw, 24px) !important;
}

/* --- 3. GAMBAR & FRAME PROFIL RESPONSIF --- */
.foto-cover-khusus {
    width: clamp(130px, 32vw, 190px) !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    border-radius: 120px 120px 20px 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
    margin: 0 auto 12px !important;
}

.pembuka-photo {
    width: clamp(110px, 28vw, 160px) !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    border-radius: 100px 100px 16px 16px !important;
    margin: 0 auto 12px !important;
}

.profile-photo {
    width: clamp(130px, 34vw, 180px) !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    border-radius: 100px 100px 20px 20px !important;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.3) !important;
    margin: 0 auto 14px !important;
}

/* --- 4. COUNTDOWN FLUID & SAFE (No overflow) --- */
.countdown {
    width: 100% !important;
    max-width: 380px !important;
    margin: 12px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: clamp(4px, 1.8vw, 10px) !important;
    padding: 0 6px !important;
}

.countdown-unit {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: clamp(8px, 2vw, 14px) clamp(4px, 1.2vw, 8px) !important;
    border-radius: clamp(8px, 2vw, 14px) !important;
    text-align: center !important;
}

.countdown-number {
    font-size: clamp(1.2rem, 4.5vw, 1.75rem) !important;
    line-height: 1.1 !important;
    display: block !important;
}

.countdown-label {
    font-size: clamp(0.6rem, 1.8vw, 0.78rem) !important;
    margin-top: 3px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* --- 5. TOMBOL BUKA UNDANGAN & UMUM --- */
.cover .btn-buka-undangan,
.btn-buka-undangan {
    min-height: 48px !important;
    padding: 12px clamp(24px, 6vw, 38px) !important;
    font-size: clamp(0.9rem, 3vw, 1.02rem) !important;
    max-width: min(90vw, 300px) !important;
    width: auto !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.btn {
    min-height: 44px;
    font-size: clamp(0.85rem, 2.5vw, 0.98rem);
    padding: 10px clamp(18px, 4vw, 30px);
}

/* --- 6. EVENT / ACARA CARDS --- */
.card-acara {
    padding: clamp(22px, 5vw, 34px) clamp(14px, 4vw, 24px) !important;
    border-radius: clamp(16px, 3vw, 24px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.card-acara h2 {
    font-size: clamp(1.25rem, 4.8vw, 1.7rem) !important;
    margin: 12px 0 8px !important;
}

.card-acara .event-date,
.card-acara .tanggal-custom {
    font-size: clamp(1.05rem, 3.8vw, 1.4rem) !important;
}

.card-acara .event-time-value {
    font-size: clamp(1.1rem, 4vw, 1.45rem) !important;
}

.card-acara .event-location {
    font-size: clamp(1rem, 3.5vw, 1.25rem) !important;
}

.card-acara .event-address-text {
    font-size: clamp(0.88rem, 2.8vw, 1rem) !important;
    line-height: 1.6 !important;
}

.card-acara .btn {
    width: 100% !important;
    max-width: 240px !important;
    min-height: 44px !important;
    margin: 12px auto 0 !important;
    display: inline-flex !important;
}

/* --- 7. VIDEO PREWEDDING & GALERI MASONRY --- */
.video-prewedding {
    width: 100% !important;
    position: relative !important;
    padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
    height: 0 !important;
    overflow: hidden !important;
    border-radius: clamp(12px, 2.5vw, 18px) !important;
    margin: 18px 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.video-prewedding iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.gallery-masonry {
    column-count: 2 !important;
    column-gap: clamp(8px, 2vw, 14px) !important;
    width: 100% !important;
    margin-top: 18px !important;
}

.masonry-item {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-bottom: clamp(8px, 2vw, 14px) !important;
    border-radius: clamp(10px, 2vw, 16px) !important;
    object-fit: cover !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    break-inside: avoid !important;
}

/* --- 8. TANDA KASIH / GIFT & REKENING ATM --- */
.gift-account-card {
    padding: clamp(16px, 4vw, 24px) !important;
    border-radius: clamp(14px, 3vw, 22px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.gift-account-number-box {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    padding: clamp(10px, 2.5vw, 14px) !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.gift-num-wrap {
    flex: 1 1 180px !important;
    min-width: 0 !important;
    text-align: left !important;
}

.account-number {
    font-size: clamp(1rem, 3.8vw, 1.35rem) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    word-break: break-all !important;
    display: block !important;
}

.gift-copy-button,
.copy-button {
    min-height: 42px !important;
    padding: 8px 18px !important;
    font-size: clamp(0.82rem, 2.5vw, 0.92rem) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.gift-qris-frame {
    max-width: min(100%, 220px) !important;
    margin: 10px auto 0 !important;
}

.gift-qris-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
}

.physical-gift-card {
    padding: clamp(16px, 4vw, 24px) !important;
    border-radius: clamp(14px, 3vw, 20px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --- 9. RSVP FORM & UCAPAN --- */
.glass-card {
    padding: clamp(18px, 4.5vw, 32px) clamp(14px, 3.5vw, 24px) !important;
    border-radius: clamp(14px, 3vw, 22px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#rsvpForm .form-group {
    margin-bottom: clamp(16px, 3.5vw, 22px) !important;
}

#rsvpForm input[type="text"],
#rsvpForm input[type="tel"],
#rsvpForm input[type="number"],
#rsvpForm select {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 14.5px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

#rsvpForm textarea {
    width: 100% !important;
    min-height: 100px !important;
    font-size: 14.5px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    resize: vertical !important;
}

#rsvpForm .radio-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

#rsvpForm .radio-option {
    flex: 1 1 calc(33.333% - 8px) !important;
    min-width: 90px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: clamp(0.82rem, 2.5vw, 0.92rem) !important;
    box-sizing: border-box !important;
}

#rsvpSubmit {
    width: 100% !important;
    min-height: 48px !important;
    font-size: clamp(0.9rem, 3vw, 1.05rem) !important;
    border-radius: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.comment-card {
    padding: clamp(12px, 3vw, 18px) !important;
    border-radius: clamp(10px, 2.5vw, 16px) !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* --- 10. TURUT MENGUNDANG & VENDOR --- */
.turut-mengundang {
    padding: clamp(20px, 4.5vw, 32px) clamp(14px, 3.5vw, 22px) !important;
    border-radius: clamp(16px, 3vw, 24px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.vendor-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
    gap: clamp(10px, 2.5vw, 16px) !important;
    width: 100% !important;
}

.vendor-card {
    padding: clamp(16px, 3.5vw, 24px) !important;
    border-radius: clamp(12px, 2.5vw, 18px) !important;
}

/* --- 11. DRESSCODE & SWATCHES --- */
.dresscode-color-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(8px, 2vw, 14px) !important;
    flex-wrap: wrap !important;
    margin-top: 14px !important;
}

.dc-view-circle {
    width: clamp(32px, 8vw, 42px) !important;
    height: clamp(32px, 8vw, 42px) !important;
}

/* --- 12. FLOATING BOTTOM NAVBAR & MUSIC TOGGLE --- */
.bottom-navbar {
    position: fixed !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(120%) !important;
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    z-index: 998 !important;
    box-sizing: border-box !important;
}

.bottom-navbar.visible {
    transform: translateX(-50%) translateY(0) !important;
}

.bottom-navbar-inner {
    padding: 6px 8px !important;
    gap: 4px !important;
}

.bottom-navbar .nav-item {
    padding: 6px 2px !important;
    min-height: 44px !important;
}

.bottom-navbar .nav-icon {
    font-size: clamp(13px, 3.5vw, 15px) !important;
}

.bottom-navbar .nav-label {
    font-size: clamp(9px, 2.2vw, 10.5px) !important;
}

#music-toggle {
    position: fixed !important;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 999 !important;
}

/* --- 13. BREAKPOINT KHUSUS: HP SANGAT KECIL (<= 360px) --- */
@media (max-width: 360px) {
    section {
        padding: 40px 12px !important;
    }

    .cover {
        padding: 12px 10px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .countdown {
        gap: 3px !important;
        padding: 0 2px !important;
    }

    .countdown-unit {
        padding: 6px 2px !important;
    }

    .countdown-number {
        font-size: 1.1rem !important;
    }

    .countdown-label {
        font-size: 0.55rem !important;
    }

    .card-acara {
        padding: 18px 12px !important;
    }

    .gift-account-number-box {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }

    .gift-num-wrap {
        text-align: center !important;
    }

    .gift-copy-button {
        width: 100% !important;
    }

    #rsvpForm .radio-option {
        flex: 1 1 100% !important;
    }

    .bottom-navbar {
        width: calc(100% - 12px) !important;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .bottom-navbar-inner {
        padding: 4px 4px !important;
    }

    .bottom-navbar .nav-label {
        font-size: 8.5px !important;
    }

    #music-toggle {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
        right: 10px !important;
        width: 38px !important;
        height: 38px !important;
    }
}

/* --- 14. BREAKPOINT KHUSUS: TABLET & DESKTOP (>= 768px) --- */
@media (min-width: 768px) {
    section {
        padding: 70px 24px !important;
    }

    .card-mempelai {
        padding: 30px 28px 45px !important;
    }

    .gallery-masonry {
        column-count: 2 !important;
        column-gap: 16px !important;
    }

    .masonry-item {
        margin-bottom: 16px !important;
    }
}

/* --- 15. BREAKPOINT KHUSUS: LARGE DESKTOP & ULTRAWIDE (>= 1024px) --- */
@media (min-width: 1024px) {
    /* Smooth centered framing */
    body.theme-fixed-bg::before {
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.75) !important;
    }

    .bottom-navbar {
        max-width: 460px !important;
    }
}

