/* =============================================================
   TEMA FLORAL
   =============================================================

   Warna dasar: merah jambu pudar dengan hijau sage dan sentuhan
   emas mawar. Dipilih karena floral identik dengan warna hangat
   dan lembut, tetapi sage green mencegahnya jatuh ke pink permen
   yang terlalu manis.

   ELEMEN PENANDA: bingkai bunga garis tangan (line-art) yang
   mengelilingi nama pasangan dan nama tamu. Berbeda dari pelat
   berbingkai kotak pada Elegant, bingkai di sini organik —
   sulur dan kuntum digambar sebagai SVG, bukan foto atau ikon
   dari pustaka luar, supaya ringan dan bisa mewarisi warna tema.
   ============================================================= */

:root {
    --warna-utama:  #B4685A;   /* mawar terbakar, bukan pink permen */
    --warna-kedua:  #FCF6F1;   /* krem merah jambu */
    --sage:         #8A9A7E;
    --emas-mawar:   #C79A6B;
    --tinta:        #3B332F;
    --kabur:        #93857D;
    --garis:        #EDE0D8;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--warna-kedua);
    color: var(--tinta);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}


/* --- Foto latar belakang, opsional --- */

body.punya-latar::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: var(--foto-latar);
    background-size: cover;
    background-position: center;
}

body.punya-latar::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--warna-kedua);
    opacity: .88;
}

.bingkai {
    max-width: 460px;
    margin: 0 auto;
    padding: 0 22px;
}


/* --- Sampul --- */

.sampul {
    min-height: 100vh; /* cadangan untuk peramban lama */
    min-height: 100dvh; /* tinggi layar SUNGGUHAN yang terlihat,
       tidak dihitung dari kondisi address bar tersembunyi seperti
       100vh biasa -- inilah yang mencegah ruang kosong berlebih
       muncul di atas konten saat halaman baru dimuat di HP,
       ketika address bar peramban masih terlihat. */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 22px;
    position: relative;
    overflow: hidden;
}

/* Sulur bunga di sudut sampul, digambar lewat SVG latar. Dijaga
   samar (opacity rendah) agar tidak bersaing dengan teks. */
.sampul::before,
.sampul::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .5;
    pointer-events: none;
}

.sampul::before {
    top: -20px;
    left: -30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%238A9A7E' stroke-width='2.5'%3E%3Cpath d='M20 180 Q40 100 100 70 Q140 50 170 20'/%3E%3Cpath d='M60 130 Q75 110 100 105'/%3E%3Cpath d='M90 90 Q105 75 130 68'/%3E%3C/g%3E%3Cg fill='%23B4685A'%3E%3Ccircle cx='100' cy='70' r='9'/%3E%3Ccircle cx='130' cy='68' r='6'/%3E%3Ccircle cx='60' cy='130' r='6'/%3E%3C/g%3E%3Cg fill='%23C79A6B'%3E%3Ccircle cx='170' cy='20' r='5'/%3E%3C/g%3E%3C/svg%3E");
    transform: rotate(-8deg);
}

.sampul::after {
    bottom: -25px;
    right: -30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%238A9A7E' stroke-width='2.5'%3E%3Cpath d='M180 20 Q160 100 100 130 Q60 150 30 180'/%3E%3Cpath d='M140 70 Q125 90 100 95'/%3E%3Cpath d='M110 110 Q95 125 70 132'/%3E%3C/g%3E%3Cg fill='%23B4685A'%3E%3Ccircle cx='100' cy='130' r='9'/%3E%3Ccircle cx='70' cy='132' r='6'/%3E%3Ccircle cx='140' cy='70' r='6'/%3E%3C/g%3E%3Cg fill='%23C79A6B'%3E%3Ccircle cx='30' cy='180' r='5'/%3E%3C/g%3E%3C/svg%3E");
    transform: rotate(-8deg);
}

.sampul > * { position: relative; z-index: 1; }

.pembuka {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sage);
    margin: 0 0 26px;
    font-weight: 600;
}

.nama-pasangan {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(38px, 12vw, 58px);
    font-weight: 600;
    line-height: 1.12;
    color: var(--warna-utama);
    margin: 0;
}

.dan {
    display: block;
    font-size: .46em;
    font-style: normal;
    color: var(--emas-mawar);
    margin: 6px 0;
}

.asal-usul {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.asal-usul p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--kabur);
    font-weight: 400;
}

.garis-kuningan {
    width: 0;
    height: 0;
    margin: 26px auto;
    border: 0;
    position: relative;
}

.garis-kuningan::before {
    content: '❀';
    color: var(--sage);
    font-size: 18px;
}

.tanggal-utama {
    font-size: 15px;
    letter-spacing: .05em;
    color: var(--kabur);
    margin: 0;
}


/* --- Hitung mundur --- */

.hitung-mundur {
    display: flex;
    gap: 8px;
    margin: 22px 0 0;
    justify-content: center;
}

.hm-kotak {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
    padding: 10px 4px;
    border: 1px solid var(--garis);
    border-radius: 12px 4px 12px 4px;
    background: rgba(255, 255, 255, .5);
}

.hm-angka {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px;
    font-weight: 600;
    color: var(--warna-utama);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hm-label {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--kabur);
    margin-top: 4px;
}


/* --- Bingkai bunga: penanda tema ini --- */

.pelat {
    margin: 34px auto 0;
    padding: 26px 22px 22px;
    max-width: 300px;
    position: relative;
}

/* Empat sudut bingkai, masing-masing satu sulur kecil, memberi
   kesan dibingkai bunga tanpa memuat gambar utuh yang berat. */
.pelat::before,
.pelat::after {
    content: '';
    position: absolute;
    width: 46px;
    height: 46px;
    background-repeat: no-repeat;
    background-size: contain;
}

.pelat::before {
    top: -6px;
    left: -6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M4 4 Q20 10 26 26' fill='none' stroke='%238A9A7E' stroke-width='2'/%3E%3Ccircle cx='26' cy='26' r='4.5' fill='%23B4685A'/%3E%3Ccircle cx='14' cy='10' r='3' fill='%23C79A6B'/%3E%3C/svg%3E");
}

.pelat::after {
    bottom: -6px;
    right: -6px;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M4 4 Q20 10 26 26' fill='none' stroke='%238A9A7E' stroke-width='2'/%3E%3Ccircle cx='26' cy='26' r='4.5' fill='%23B4685A'/%3E%3Ccircle cx='14' cy='10' r='3' fill='%23C79A6B'/%3E%3C/svg%3E");
}

.pelat-label {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sage);
    margin: 0 0 6px;
    font-weight: 600;
}

.pelat-nama {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    color: var(--tinta);
    margin: 0;
    line-height: 1.3;
}

.pelat-catatan {
    font-size: 12.5px;
    color: var(--kabur);
    margin: 8px 0 0;
}


/* --- Bagian isi --- */

.bagian {
    padding: 56px 0;
    border-top: 1px dashed var(--garis);
    text-align: center;
}

.bagian-judul {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 600;
    color: var(--warna-utama);
    margin: 0 0 6px;
}

.bagian-sub {
    font-size: 13.5px;
    color: var(--kabur);
    margin: 0 0 30px;
}


/* --- Acara --- */

.acara {
    border: 1px solid var(--garis);
    border-radius: 14px 4px 14px 4px;
    padding: 24px 22px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .55);
}

.acara-jenis {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--emas-mawar);
    margin: 0 0 8px;
    font-weight: 600;
}

.acara-nama {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px;
}

.acara-baris { font-size: 14.5px; margin: 3px 0; }
.acara-tempat { color: var(--kabur); font-size: 14px; margin: 10px 0 0; }

.acara-peta {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 18px;
    border: 1px solid var(--warna-utama);
    border-radius: 99px;
    color: var(--warna-utama);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .04em;
}

.acara-peta:hover { background: var(--warna-utama); color: #fff; }


/* --- Galeri --- */

.bagian-galeri { padding-bottom: 44px; }

.grid-galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }

.galeri-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px 2px 10px 2px;
    cursor: zoom-in;
}

.galeri-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

@supports not (aspect-ratio: 1 / 1) {
    .galeri-item { height: 110px; }
    .galeri-item:nth-child(6n+1) { height: 226px; }
}

.galeri-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.galeri-item:hover img { transform: scale(1.04); }


/* --- Lightbox --- */

.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(59, 51, 47, .94);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0;
    transition: opacity .22s ease;
}
.lightbox.tampak { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-gambar {
    max-width: min(94vw, 720px); max-height: 88vh; object-fit: contain; border-radius: 6px;
    transform: scale(.96);
    transition: transform .22s ease, opacity .18s ease;
}
.lightbox.tampak .lightbox-gambar { transform: scale(1); }
.lightbox-gambar.memuat { opacity: 0; }
.lightbox-tutup, .lightbox-nav {
    position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
    color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.lightbox-tutup { top: 16px; right: 16px; width: 38px; height: 38px; font-size: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 26px; }
.lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
.lightbox-tutup:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }


/* --- Kisah Kami --- */

.bagian-kisah { padding-bottom: 44px; }
.garis-waktu { display: flex; flex-direction: column; gap: 28px; text-align: left; }

.kisah-item {
    display: flex; flex-direction: column; gap: 14px;
    border: 1px solid var(--garis); border-radius: 16px 4px 16px 4px;
    overflow: hidden; background: rgba(255,255,255,.55);
}

.kisah-foto { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }

@supports not (aspect-ratio: 16/10) { .kisah-foto { height: 200px; } }

.kisah-teks { padding: 4px 20px 20px; }
.kisah-item:not(:has(.kisah-foto)) .kisah-teks { padding-top: 20px; }

.kisah-waktu {
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--emas-mawar); margin: 0 0 6px; font-weight: 600;
}
.kisah-judul {
    font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
    font-size: 22px; font-weight: 600; margin: 0 0 8px;
}
.kisah-cerita { font-size: 14.5px; color: var(--tinta); margin: 0; line-height: 1.75; }


/* --- Tombol musik --- */

.tombol-musik {
    position: fixed; right: 18px; bottom: 18px; z-index: 900;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--garis); background: var(--warna-kedua); color: var(--warna-utama);
    box-shadow: 0 6px 18px rgba(180,104,90,.18); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.tombol-musik.berputar .ikon-musik { animation: musik-putar 2.4s linear infinite; }
@keyframes musik-putar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }


/* --- Amplop Digital --- */

.bagian-amplop { padding-bottom: 44px; }
.daftar-amplop { display: flex; flex-direction: column; gap: 14px; }

.kartu-amplop {
    display: flex; gap: 16px; align-items: center;
    border: 1px solid var(--garis); border-radius: 14px 4px 14px 4px;
    padding: 16px; background: rgba(255,255,255,.55); text-align: left;
}
.amplop-qr { width: 84px; height: 84px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--garis); flex-shrink: 0; }
.amplop-bank { font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.amplop-nomor { font-variant-numeric: tabular-nums; font-size: 15px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.tombol-salin-amplop { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--warna-utama); background: transparent; color: var(--warna-utama); cursor: pointer; }
.amplop-anama, .amplop-catatan { font-size: 13px; color: var(--kabur); margin: 0; }


/* --- Formulir RSVP & Ucapan --- */

.bagian-rsvp, .bagian-ucapan { padding-bottom: 44px; }

.pesan-notifikasi { padding: 11px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; text-align: left; }
.pesan-notifikasi.pesan-success { background: #EEF3EA; color: #5C6E4F; }
.pesan-notifikasi.pesan-error   { background: #FBEDEA; color: #A8443C; }
.pesan-notifikasi.pesan-warning { background: #FBF6E9; color: #8A6516; }

.kotak-rsvp-terisi {
    background: rgba(255,255,255,.6); border: 1px solid var(--garis); border-radius: 12px;
    padding: 14px 16px; margin-bottom: 20px; text-align: left; font-size: 14px;
}
.kotak-rsvp-terisi p { margin: 0; }
.rsvp-ubah-catatan { color: var(--kabur); font-size: 12.5px; margin-top: 4px !important; }

.form-rsvp, .form-ucapan { text-align: left; max-width: 380px; margin: 0 auto; }
.bidang-rsvp { margin-bottom: 16px; }
.bidang-rsvp label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--tinta); }
.wajib-tanda { color: #A8443C; font-weight: 400; }

.bidang-rsvp input[type="text"], .bidang-rsvp input[type="number"], .bidang-rsvp textarea {
    width: 100%; padding: 10px 12px; font-family: inherit; font-size: 14.5px;
    color: var(--tinta); background: #fff; border: 1px solid var(--garis); border-radius: 10px;
}
.bidang-rsvp input:focus, .bidang-rsvp textarea:focus { outline: none; border-color: var(--warna-utama); }

.pilihan-hadir { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 0; }
.pilihan-hadir label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; margin: 0; }
.pilihan-hadir input { width: auto; margin: 0; }

.tombol-kirim {
    width: 100%; padding: 12px; border: 0; border-radius: 99px;
    background: var(--warna-utama); color: #fff; font-family: inherit;
    font-size: 14.5px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
}
.tombol-kirim:hover { opacity: .92; }

.daftar-ucapan { max-width: 380px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.kartu-ucapan { border-left: 2px solid var(--emas-mawar); padding: 4px 0 4px 14px; }
.ucapan-nama { font-weight: 600; font-size: 13.5px; margin: 0 0 3px; }
.ucapan-isi { font-size: 13.5px; color: var(--tinta); margin: 0; line-height: 1.6; }


/* --- Kaki --- */

.kaki { padding: 44px 0 54px; text-align: center; border-top: 1px dashed var(--garis); color: var(--kabur); font-size: 13px; }
.kaki-nama { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 22px; color: var(--warna-utama); margin: 0 0 6px; }

.belum-diisi { color: var(--kabur); font-size: 14px; font-style: italic; }


/* --- Kutipan & Sambutan --- */

.bagian-kutipan {
    padding: 46px 0;
    text-align: center;
    border-bottom: 1px dashed var(--garis);
}

.kutipan-teks { margin: 0 0 22px; padding: 0; }

.kutipan-teks p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
    color: var(--warna-utama);
    margin: 0 0 10px;
}

.kutipan-teks cite {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: var(--kabur);
}

.sambutan-teks {
    font-size: 14px;
    line-height: 1.75;
    color: var(--tinta);
    margin: 0 auto;
    max-width: 360px;
}

a:focus-visible { outline: 2px solid var(--emas-mawar); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* =============================================================
   TRANSISI ANTAR BAGIAN
   =============================================================

   Setiap bagian undangan muncul perlahan (pudar + naik sedikit)
   saat mulai terlihat di layar, bukan langsung terpasang kaku
   begitu halaman dimuat. Elemen diberi kelas .siap-muncul oleh
   PHP di setiap bagian; kelas .tampak ditambahkan JavaScript
   tepat saat bagian itu masuk area pandang tamu.

   Sengaja tidak diterapkan pada .sampul: bagian pertama yang
   dilihat tamu harus langsung utuh, bukan ikut memudar masuk
   dan membuat kesan halaman "belum siap".
   ============================================================= */

.siap-muncul {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.siap-muncul.tampak {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .siap-muncul {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



/* =============================================================
   JEBAKAN SPAM
   =============================================================

   Disembunyikan lewat posisi di luar layar dan ukuran nol, BUKAN
   display:none. Sebagian bot pengisi form otomatis memeriksa
   properti display sebelum memutuskan mengisi sebuah kolom;
   teknik posisi ini tidak mengubah display sama sekali sehingga
   tetap "terlihat" bagi pemeriksaan sederhana semacam itu, padahal
   secara visual maupun lewat keyboard sepenuhnya tidak terjangkau
   pengguna sungguhan.
   ============================================================= */

.jebakan-spam {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



/* =============================================================
   FLORAL V2 — BOTANICAL LUXURY
   Soft blush + ivory + sage + antique gold.
   ============================================================= */

:root {
    --floral-ivory: #fffaf5;
    --floral-paper: #fffdf9;
    --floral-sage: #71816b;
    --floral-sage-dark: #4e604b;
    --floral-blush: #d79b9d;
    --floral-rose: #9c5e68;
    --floral-gold: #b99a5b;
    --floral-gold-soft: #ddc99d;
    --floral-ink: #3e3935;
    --floral-muted: #827a73;
    --floral-line: rgba(78,96,75,.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    overflow-x: hidden;
    color: var(--floral-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(215,155,157,.10), transparent 27%),
        radial-gradient(circle at 94% 68%, rgba(113,129,107,.09), transparent 28%),
        var(--floral-ivory);
}

/* Delicate botanical atmosphere without external assets */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .26;
    background:
        radial-gradient(circle at 14% 30%, rgba(215,155,157,.09) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 20%, rgba(185,154,91,.08) 0 1px, transparent 2px);
    background-size: 73px 91px, 61px 83px;
}

/* ================= HERO ================= */
.sampul {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255,253,249,.10), rgba(255,250,245,.88) 82%),
        radial-gradient(circle at 50% 40%, rgba(215,155,157,.08), transparent 38%);
}

.sampul::before {
    content: '';
    position: absolute;
    width: 335px;
    height: 335px;
    left: 50%;
    top: 46%;
    transform: translate(-50%,-50%);
    border: 1px solid rgba(185,154,91,.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 10px rgba(185,154,91,.025),
        0 0 0 24px rgba(215,155,157,.035);
    animation: floral-breathe 8s ease-in-out infinite;
    pointer-events: none;
}

.sampul::after {
    content: '❧';
    position: absolute;
    right: 17px;
    top: 21%;
    color: var(--floral-sage);
    font-size: 34px;
    opacity: .25;
    transform: rotate(-18deg);
    animation: floral-sway 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floral-breathe {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .7; }
    50% { transform: translate(-50%,-50%) scale(1.035); opacity: 1; }
}

@keyframes floral-sway {
    0%,100% { transform: rotate(-18deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(8px); }
}

.pembuka {
    position: relative;
    z-index: 2;
    color: var(--floral-gold);
    letter-spacing: .32em;
    font-size: 10px;
    animation: floral-down .9s ease both;
}

.pembuka::before,
.pembuka::after {
    content: '❦';
    margin: 0 9px;
    color: var(--floral-blush);
    letter-spacing: 0;
}

.nama-pasangan {
    position: relative;
    z-index: 2;
    color: var(--floral-sage-dark);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.045em;
    text-align: center;
    text-shadow: 0 5px 25px rgba(78,96,75,.07);
    animation: floral-name 1s .12s cubic-bezier(.18,.78,.22,1) both;
}

.dan {
    color: var(--floral-blush);
    font-family: Georgia, serif;
    font-style: italic;
}

.asal-usul {
    text-align: center;
    color: var(--floral-muted);
    animation: floral-up .8s .35s ease both;
}

.garis-kuningan {
    width: 86px;
    height: 1px;
    margin: 25px auto 17px;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--floral-gold), transparent);
    position: relative;
    animation: floral-line 1s .4s ease both;
}

.garis-kuningan::after {
    content: '✿';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: var(--floral-ivory);
    color: var(--floral-gold);
    padding: 0 7px;
    font-size: 9px;
}

.tanggal-utama {
    text-align: center;
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    animation: floral-up .8s .55s ease both;
}

/* ================= COUNTDOWN ================= */
.hitung-mundur {
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    padding: 0;
    border: 0;
    animation: floral-up .8s .68s ease both;
}

.hm-kotak {
    min-width: 67px;
    padding: 12px 7px 10px;
    align-items: center;
    border: 1px solid rgba(185,154,91,.24);
    border-radius: 18px 18px 6px 6px;
    background: rgba(255,253,249,.78);
    box-shadow: 0 9px 25px rgba(78,96,75,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.hm-kotak:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(78,96,75,.11);
}

.hm-angka {
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    font-size: 27px;
}

.hm-label {
    color: var(--floral-rose);
    font-size: 8px;
    letter-spacing: .14em;
}

/* ================= TAMU ================= */
.pelat {
    position: relative;
    max-width: 370px;
    margin: 31px auto 0;
    padding: 18px 26px 15px;
    text-align: center;
    border: 1px solid rgba(185,154,91,.28);
    border-radius: 24px 6px 24px 6px;
    background: rgba(255,253,249,.78);
    box-shadow: 0 12px 32px rgba(78,96,75,.07);
    animation: floral-up .8s .84s ease both;
}

.pelat::before,
.pelat::after {
    position: absolute;
    color: var(--floral-blush);
    font-size: 17px;
    opacity: .7;
}

.pelat::before { content: '❧'; left: 10px; top: 10px; transform: rotate(-12deg); }
.pelat::after { content: '❧'; right: 10px; bottom: 9px; transform: rotate(168deg); }

.pelat-label {
    color: var(--floral-gold);
    letter-spacing: .2em;
    font-size: 9px;
}

.pelat-nama {
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 500;
}

.pelat-catatan {
    color: var(--floral-muted);
    font-style: italic;
}

/* ================= SECTIONS ================= */
.bagian {
    position: relative;
    padding: 64px 0;
    border-top: 1px solid var(--floral-line);
}

.bagian-judul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .13em;
}

.bagian-judul::before,
.bagian-judul::after {
    content: '✿';
    width: auto;
    height: auto;
    background: none;
    color: var(--floral-blush);
    font-size: 8px;
}

.bagian-sub {
    color: var(--floral-muted);
    font-family: Georgia, serif;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
}

/* ================= KUTIPAN ================= */
.bagian-kutipan {
    background: linear-gradient(180deg, rgba(215,155,157,.055), transparent);
}

.kutipan-teks {
    max-width: 415px;
    margin: 0 auto 25px;
    padding: 25px 25px 20px;
    border: 1px solid rgba(185,154,91,.23);
    border-radius: 28px 5px 28px 5px;
    background: rgba(255,253,249,.62);
    position: relative;
}

.kutipan-teks::before {
    content: '“';
    position: absolute;
    left: 50%;
    top: -27px;
    transform: translateX(-50%);
    color: var(--floral-gold);
    background: var(--floral-ivory);
    padding: 0 10px;
    font: 43px/1 Georgia, serif;
}

.kutipan-teks p {
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.75;
}

.kutipan-teks cite {
    color: var(--floral-rose);
}

/* ================= ACARA ================= */
.acara {
    position: relative;
    padding: 24px 20px 25px;
    margin-bottom: 15px;
    border: 1px solid rgba(185,154,91,.22);
    border-radius: 24px 6px 24px 6px;
    background: rgba(255,253,249,.84);
    box-shadow: 0 9px 27px rgba(78,96,75,.05);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.acara:hover {
    transform: translateY(-5px);
    border-color: rgba(185,154,91,.48);
    box-shadow: 0 16px 34px rgba(78,96,75,.10);
}

.acara-jenis {
    color: var(--floral-rose);
    letter-spacing: .18em;
    font-size: 9px;
}

.acara-nama {
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 500;
}

.acara-tempat {
    color: var(--floral-muted);
}

.acara-peta {
    border: 1px solid var(--floral-sage);
    border-radius: 22px;
    color: var(--floral-sage-dark);
    transition: all .25s ease;
}

.acara-peta:hover {
    background: var(--floral-sage-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ================= KISAH ================= */
.kisah-item {
    position: relative;
    border: 0;
    padding: 0 0 31px;
    margin-bottom: 31px;
}

.kisah-item::before {
    content: '❦';
    display: block;
    text-align: center;
    color: var(--floral-blush);
    font-size: 16px;
    margin-bottom: 13px;
}

.kisah-foto {
    border: 5px solid rgba(255,253,249,.92);
    border-radius: 28px 6px 28px 6px;
    box-shadow: 0 13px 34px rgba(78,96,75,.10);
    filter: saturate(.90);
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.kisah-item:hover .kisah-foto {
    transform: scale(1.012);
    filter: saturate(1);
}

.kisah-teks {
    text-align: center;
    padding-top: 14px;
}

.kisah-waktu {
    color: var(--floral-rose);
    letter-spacing: .17em;
}

.kisah-judul {
    color: var(--floral-sage-dark);
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 500;
}

.kisah-cerita {
    color: var(--floral-ink);
}

/* ================= GALERI ================= */
.grid-galeri {
    gap: 8px;
}

.galeri-item {
    border-radius: 18px 3px 18px 3px;
    box-shadow: 0 6px 18px rgba(78,96,75,.08);
}

.galeri-item img {
    filter: saturate(.90);
    transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.galeri-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.06);
}

.galeri-item::after {
    content: '✦';
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,253,249,.90);
    color: var(--floral-gold);
    opacity: 0;
    transform: scale(.75);
    transition: opacity .25s ease, transform .25s ease;
}

.galeri-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ================= AMPLOP & FORM ================= */
.kartu-amplop {
    padding: 19px 5px;
    transition: transform .3s ease;
}

.kartu-amplop:hover { transform: translateX(4px); }

.amplop-qr {
    border: 1px solid rgba(185,154,91,.30);
    border-radius: 12px;
}

.tombol-kirim {
    border-radius: 25px;
    background: var(--floral-sage-dark);
    box-shadow: 0 9px 24px rgba(78,96,75,.15);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.tombol-kirim:hover {
    background: var(--floral-rose);
    transform: translateY(-3px);
    box-shadow: 0 13px 29px rgba(156,94,104,.20);
}

/* ================= FLOATING MENU ================= */
.floral-floating-nav {
    position: fixed;
    right: 14px;
    bottom: 15px;
    z-index: 980;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floral-dock {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(185,154,91,.28);
    border-radius: 29px;
    background: rgba(255,253,249,.91);
    box-shadow: 0 14px 36px rgba(78,96,75,.15);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    opacity: 0;
    transform: translateX(18px) scale(.93);
    transform-origin: right center;
    pointer-events: none;
    transition: opacity .28s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}

.floral-floating-nav.terbuka .floral-dock {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.floral-nav-item {
    width: 38px;
    height: 38px;
    padding: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--floral-sage-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: all .23s ease;
}

.floral-nav-item:hover {
    background: rgba(215,155,157,.13);
    transform: translateY(-2px);
}

.floral-nav-icon {
    width: 27px;
    height: 27px;
    border: 1px solid rgba(185,154,91,.42);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 12px;
}

.floral-nav-label {
    display: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.floral-toggle {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid var(--floral-gold);
    border-radius: 50%;
    background: var(--floral-sage-dark);
    color: #fff;
    box-shadow: 0 12px 32px rgba(78,96,75,.24);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, background .25s ease;
}

.floral-toggle:hover {
    transform: translateY(-3px);
}

.floral-floating-nav.terbuka .floral-toggle {
    transform: rotate(45deg);
    background: var(--floral-rose);
}

.floral-toggle-center {
    position: relative;
    z-index: 2;
    font-size: 18px;
    transition: transform .35s ease;
}

.floral-toggle-petal {
    position: absolute;
    width: 13px;
    height: 20px;
    border: 1px solid rgba(221,201,157,.65);
    border-radius: 60% 60% 45% 45%;
    opacity: .72;
}

.petal-a { transform: translateY(-11px); }
.petal-b { transform: rotate(90deg) translateY(-11px); }
.petal-c { transform: rotate(180deg) translateY(-11px); }
.petal-d { transform: rotate(270deg) translateY(-11px); }

.floral-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    z-index: 1200;
    background: linear-gradient(90deg, var(--floral-blush), var(--floral-gold), var(--floral-sage));
    box-shadow: 0 0 10px rgba(185,154,91,.30);
}

.tombol-musik {
    right: 15px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(185,154,91,.40);
    background: rgba(255,253,249,.93);
    color: var(--floral-sage-dark);
    box-shadow: 0 9px 25px rgba(78,96,75,.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tombol-musik.berputar {
    background: var(--floral-rose);
    border-color: var(--floral-gold);
    color: #fff;
}

/* ================= ANIMATIONS ================= */
@keyframes floral-down {
    from { opacity: 0; transform: translateY(-13px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floral-up {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floral-name {
    from { opacity: 0; transform: translateY(22px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floral-line {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 560px) {
    .floral-floating-nav {
        right: 10px;
        bottom: 10px;
    }
    .floral-toggle {
        width: 49px;
        height: 49px;
        flex-basis: 49px;
    }
    .floral-dock {
        gap: 1px;
        padding: 5px;
    }
    .floral-nav-item {
        width: 35px;
        height: 35px;
    }
    .floral-nav-icon {
        width: 25px;
        height: 25px;
    }
    .tombol-musik {
        right: 10px;
        bottom: 67px;
    }
    .hm-kotak {
        min-width: 59px;
    }
    .hm-angka {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sampul::before,
    .sampul::after,
    .pembuka,
    .nama-pasangan,
    .asal-usul,
    .garis-kuningan,
    .tanggal-utama,
    .hitung-mundur,
    .pelat {
        animation: none !important;
    }
    .floral-dock,
    .floral-toggle,
    .acara,
    .kisah-foto,
    .tombol-kirim {
        transition: none !important;
    }
}
