/* DWI Invitation — tampilan undangan. Tema: .tema-blush (floral rose gold) & .tema-modern (foto penuh, Gen Z). */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--latar-dasar); color: var(--teks); font-family: var(--huruf-badan); font-size: 17px; line-height: 1.6; }
body.terkunci { overflow: hidden; height: 100dvh; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.tema-blush {
  --latar-dasar: #fbefec; --kertas: #fff9f7; --teks: #6b4a43; --teks-lembut: #9c7d75; --aksen: #b87562; --aksen-muda: #f1d6cf; --garis: #edd5ce;
  --huruf-badan: "Cormorant Garamond", Georgia, serif; --huruf-label: "Cormorant Garamond", Georgia, serif; --putih: #fff;
}
.tema-modern {
  --latar-dasar: #f3eee7; --kertas: #fffdf9; --teks: #1e1b19; --teks-lembut: #6e6760; --aksen: #8b6c5a; --aksen-muda: #e7ddd2; --garis: #ddd3c8;
  --huruf-badan: "DM Sans", system-ui, sans-serif; --huruf-label: "DM Mono", ui-monospace, monospace; --putih: #fff;
  font-size: 16px;
}

/* Kolom selebar HP; di layar lebar sisi kiri-kanan memakai foto sampul yang diburamkan. */
.latar-luar { position: fixed; inset: 0; background: var(--latar-dasar); }
.latar-luar[style] { background: var(--foto) center/cover; filter: blur(28px) saturate(.9) brightness(.92); transform: scale(1.15); }
.bingkai { position: relative; max-width: 460px; margin: 0 auto; min-height: 100vh; background: var(--latar-dasar); box-shadow: 0 0 60px rgba(0, 0, 0, .18); overflow-x: clip; }
.isi-undangan { position: relative; }
.ada-latar .isi-undangan { background: var(--latar) center top/cover fixed; }
.ada-latar .bagian { background: color-mix(in srgb, var(--latar-dasar) 78%, transparent); }

.label { font-family: var(--huruf-label); text-transform: uppercase; letter-spacing: .28em; font-size: 12px; color: var(--teks-lembut); }
.judul { font-family: var(--huruf-judul), cursive; font-weight: 400; line-height: 1.05; color: var(--aksen); }
/* Huruf sambung merapatkan spasi; beri jarak antar kata agar "Akad Nikah" tidak terbaca "AkadNikah". */
.judul, .judul-bagian, .kartu-acara h3, .nama-panggilan, .kecil-judul { word-spacing: .14em; }
.judul.huruf-serif { font-style: italic; }
.judul-bagian { font-family: var(--huruf-judul), cursive; font-weight: 400; font-size: 46px; line-height: 1.1; color: var(--aksen); margin-top: 4px; }
.tema-modern .judul-bagian { font-family: "Instrument Serif", serif; font-style: italic; font-size: 48px; color: var(--teks); letter-spacing: -.01em; }
.pengantar { margin-top: 14px; color: var(--teks-lembut); }
.bagian { padding: 72px 28px; text-align: center; position: relative; }
.kepala { margin-bottom: 30px; }
.ikon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.tombol { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--aksen);
  background: var(--aksen); color: #fff; text-decoration: none; font-size: 15px; cursor: pointer; transition: transform .2s, opacity .2s; }
.tombol:active { transform: scale(.97); }
.tombol.garis { background: transparent; color: var(--aksen); }
.tombol.penuh { width: 100%; }
.kecil-tombol { padding: 8px 16px; font-size: 14px; }
.tema-modern .tombol { border-radius: 14px; background: var(--teks); border-color: var(--teks); }
.tema-modern .tombol.garis { background: transparent; color: var(--teks); }

/* Animasi muncul saat digulir */
.js .muncul { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .muncul.tampak { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .muncul { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Sampul ---------- */
.sampul { position: fixed; z-index: 40; top: 0; left: 50%; width: min(100%, 460px); height: 100dvh; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity 1.1s; }
.terbuka .sampul { transform: translate(-50%, -105%); opacity: .3; pointer-events: none; }
.sampul-isi { position: relative; z-index: 2; padding: 28px; width: 100%; }
.kotak-tamu { margin: 22px auto 22px; max-width: 320px; }
.kotak-tamu .kecil { font-size: 14px; }
.nama-tamu { font-size: 24px; font-weight: 600; margin: 4px 0 2px; line-height: 1.25; }
.maaf { font-size: 12.5px; opacity: .8; font-style: italic; }
.info-tamu { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.info-tamu span { display: flex; flex-direction: column; min-width: 104px; padding: 8px 14px; border-radius: 14px; font-weight: 600; font-size: 18px; line-height: 1.2; }
.info-tamu small { font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-bottom: 2px; }
.tombol-buka { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  animation: denyut 2.4s ease-in-out infinite; }
.tombol-buka .ikon { width: 20px; height: 20px; }
@keyframes denyut { 50% { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); } }

/* Blush */
.tema-blush .sampul { background: radial-gradient(120% 70% at 50% 0%, #fff7f4 0%, #fbe9e4 55%, #f6dcd5 100%); }
.tema-blush .sampul .label { color: var(--teks); }
.tema-blush .sampul .judul { font-size: 62px; margin: 10px 0 6px; }
.tema-blush .lengkung { width: 190px; height: 250px; margin: 18px auto 6px; border-radius: 999px 999px 22px 22px; padding: 6px; border: 1px solid var(--aksen); }
.tema-blush .lengkung img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; animation: hidup 14s ease-in-out infinite alternate; }
@keyframes hidup { to { transform: scale(1.06); } }
.tema-blush .tgl-sampul { letter-spacing: .3em; font-size: 15px; }
.tema-blush .info-tamu span { background: rgba(255, 255, 255, .7); border: 1px solid var(--garis); color: var(--aksen); }
.tema-blush .tombol-buka { background: var(--aksen); color: #fff; }

.bunga { position: absolute; z-index: 1; width: 250px; pointer-events: none; }
.bunga-svg { width: 100%; height: auto; overflow: visible; }
.bunga-svg .tangkai { fill: none; stroke: #b7ac95; stroke-width: 1.4; stroke-linecap: round; }
.bunga-svg .garis-mawar path, .bunga-svg .garis-mawar { fill: none; stroke: #cf8f87; stroke-width: 1.3; stroke-linecap: round; }
.bunga-svg .mawar path { stroke: #e4a59c; stroke-width: .7; }
.bunga-svg .mawar .pusat { fill: none; stroke: #c9827a; stroke-width: 1.2; stroke-linecap: round; }
.bunga-svg .tulang { stroke: #f4f0e6; stroke-width: 1; opacity: .8; }
.bunga-kiri-atas { top: -14px; left: -14px; animation: goyang 7s ease-in-out infinite alternate; transform-origin: 0 0; }
.bunga-kanan-bawah { bottom: -14px; right: -14px; transform: rotate(180deg); }
.bunga-kanan-atas { top: -14px; right: -14px; transform: scaleX(-1); width: 170px; }
.bunga-kiri-bawah { bottom: -14px; left: -14px; transform: scaleY(-1); width: 170px; }
@keyframes goyang { to { transform: rotate(2.5deg); } }

/* Modern */
.tema-modern .sampul { background: #1d1a18; color: #fff; align-items: flex-end; }
.tema-modern .sampul-foto { position: absolute; inset: 0; background: var(--foto) center/cover; animation: zum 18s ease-in-out infinite alternate; }
.tema-modern .sampul::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, .72) 100%); }
.tema-modern .sampul.tanpa-foto .sampul-foto { background: radial-gradient(80% 60% at 70% 20%, #8c6f60 0%, transparent 70%), radial-gradient(70% 60% at 20% 80%, #5b4a42 0%, transparent 70%), #2a2320; animation: none; }
@keyframes zum { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.tema-modern .sampul-isi { padding: 28px 24px max(36px, env(safe-area-inset-bottom)); }
.tema-modern .sampul .label { color: rgba(255, 255, 255, .85); }
.tema-modern .sampul .judul { color: #fff; font-size: 64px; margin: 6px 0 4px; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.tema-modern .tgl-sampul { font-family: var(--huruf-label); letter-spacing: .3em; font-size: 14px; }
.tema-modern .kotak-tamu { margin-top: 18px; }
.tema-modern .info-tamu span { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tema-modern .tombol-buka { background: rgba(240, 229, 218, .92); color: #6b5a4e; border-radius: 16px; }

/* ---------- Hero (setelah dibuka) ---------- */
.hero { min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 90px 28px 70px; position: relative; overflow: hidden; }
.hero-isi { position: relative; z-index: 2; }
.tgl-hero { margin-top: 10px; letter-spacing: .08em; }
.hitung { display: flex; justify-content: center; gap: 10px; margin: 26px 0 22px; }
.hitung div { width: 66px; padding: 10px 0 8px; border-radius: 14px; display: flex; flex-direction: column; }
.hitung b { font-size: 26px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hitung small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.tema-blush .hero { background: linear-gradient(180deg, #fff7f4, #fbefec); }
.tema-blush .hero .judul { font-size: 64px; margin: 12px 0; }
.tema-blush .hitung div { background: var(--kertas); border: 1px solid var(--garis); color: var(--aksen); }
.tema-modern .hero { color: #fff; align-items: flex-end; padding-bottom: 96px; background: #2a2320; }
.tema-modern .hero[style]::before { content: ""; position: absolute; inset: 0; background: var(--foto) center/cover; }
.tema-modern .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .65)); }
.tema-modern .hero .label { color: rgba(255, 255, 255, .85); }
.tema-modern .hero .judul { color: #fff; font-size: 60px; margin: 8px 0; }
.tema-modern .hitung div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tema-modern .hero .tombol { background: #fff; color: var(--teks); border-color: #fff; }

/* ---------- Kutipan ---------- */
.kutipan .isi-kutipan { font-style: italic; font-size: 18px; max-width: 360px; margin: 0 auto; }
.kutipan .sumber { margin-top: 14px; color: var(--aksen); font-weight: 600; letter-spacing: .06em; }
.tema-blush .kutipan { background: var(--kertas); }
.tema-modern .kutipan { background: var(--teks); color: #f3eee7; padding: 64px 32px; }
.tema-modern .kutipan .isi-kutipan { font-family: "Instrument Serif", serif; font-size: 24px; line-height: 1.35; }
.tema-modern .kutipan .sumber { color: #cdb7a7; font-family: var(--huruf-label); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; }

/* ---------- Mempelai ---------- */
.orang { display: flex; flex-direction: column; align-items: center; }
.foto-orang { width: 200px; height: 260px; margin-bottom: 18px; }
.foto-orang img { width: 100%; height: 100%; object-fit: cover; }
.peran { font-family: var(--huruf-label); text-transform: uppercase; letter-spacing: .24em; font-size: 11px; color: var(--teks-lembut); }
.nama-panggilan { font-family: var(--huruf-judul), cursive; font-weight: 400; font-size: 50px; line-height: 1.1; color: var(--aksen); margin: 4px 0 6px; }
.nama-panggilan.huruf-serif { font-style: italic; }
.nama-lengkap { font-weight: 600; font-size: 18px; }
.ortu { color: var(--teks-lembut); margin-top: 6px; font-size: 15.5px; }
.ig { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--aksen); text-decoration: none; }
.dan { font-family: var(--huruf-judul), cursive; font-size: 64px; color: var(--aksen); margin: 22px 0; line-height: 1; }
.tema-blush .foto-orang { border-radius: 999px 999px 20px 20px; padding: 5px; border: 1px solid var(--aksen); }
.tema-blush .foto-orang img { border-radius: inherit; }
.tema-modern .foto-orang { width: 100%; height: 360px; border-radius: 22px; overflow: hidden; }
.tema-modern .orang { text-align: left; align-items: flex-start; }
.tema-modern .nama-panggilan { color: var(--teks); font-size: 54px; }
.tema-modern .dan { font-family: "Instrument Serif", serif; font-style: italic; color: var(--teks-lembut); }

/* ---------- Acara ---------- */
.acara[style] { background: var(--latar-acara) center/cover; }
.acara[style]::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--latar-dasar) 72%, transparent); }
.acara > * { position: relative; }
.kartu-acara { background: var(--kertas); border: 1px solid var(--garis); border-radius: 26px; padding: 28px 22px; margin: 0 auto 18px; max-width: 380px; }
.kartu-acara h3 { font-family: var(--huruf-judul), cursive; font-weight: 400; font-size: 38px; color: var(--aksen); line-height: 1.1; }
.tanggal-besar { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 6px; }
.tanggal-besar b { font-size: 46px; font-weight: 500; line-height: 1; padding: 0 14px; border-left: 1px solid var(--garis); border-right: 1px solid var(--garis); color: var(--aksen); }
.tanggal-besar span { width: 92px; font-size: 15px; letter-spacing: .06em; }
.tanggal-besar span:first-child { text-align: right; }
.tanggal-besar span:last-child { text-align: left; }
.jam { font-weight: 600; margin-top: 4px; }
.tempat { margin-top: 14px; font-weight: 600; font-size: 19px; }
.alamat { color: var(--teks-lembut); font-size: 15.5px; }
.peta { width: 100%; height: 190px; border: 0; border-radius: 16px; margin-top: 16px; filter: saturate(.85); }
.aksi { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.tema-modern .kartu-acara { text-align: left; border-radius: 22px; }
.tema-modern .kartu-acara h3 { font-family: "Instrument Serif", serif; font-style: italic; font-size: 40px; color: var(--teks); }
.tema-modern .tanggal-besar { justify-content: flex-start; }
.tema-modern .tanggal-besar b { color: var(--teks); }
.tema-modern .aksi { justify-content: flex-start; }

/* ---------- Love story ---------- */
.linimasa { list-style: none; padding: 0; margin: 0 auto; max-width: 380px; text-align: left; position: relative; }
.linimasa::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--garis); }
.linimasa li { position: relative; padding: 0 0 28px 32px; }
.linimasa li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--aksen); box-shadow: 0 0 0 4px var(--latar-dasar); }
.linimasa img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
.linimasa .waktu { font-family: var(--huruf-label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--aksen); }
.linimasa h3 { font-size: 21px; font-weight: 600; margin: 2px 0 4px; }
.linimasa p { color: var(--teks-lembut); font-size: 15.5px; }
.tema-blush .kisah { background: var(--kertas); }

/* ---------- Galeri ---------- */
.video { position: relative; padding-top: 56.25%; border-radius: 18px; overflow: hidden; margin-bottom: 14px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kisi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.foto-galeri { border: 0; padding: 0; cursor: zoom-in; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; background: var(--aksen-muda); }
.foto-galeri:nth-child(5n + 1) { grid-column: span 2; aspect-ratio: 4/3; }
.foto-galeri img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.foto-galeri:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 12, 10, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.lightbox .tutup { top: 16px; right: 16px; }
.lightbox .kiri { left: 12px; }
.lightbox .kanan { right: 12px; }

/* ---------- RSVP ---------- */
.form-rsvp { background: var(--kertas); border: 1px solid var(--garis); border-radius: 24px; padding: 24px 20px; text-align: left; display: grid; gap: 14px; }
.form-rsvp label { display: grid; gap: 6px; font-size: 14px; color: var(--teks-lembut); }
.form-rsvp input:not([type="radio"]), .form-rsvp select, .form-rsvp textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--garis); background: var(--latar-dasar); color: var(--teks); font-size: 16px; }
.form-rsvp textarea { resize: vertical; }
.pilihan-hadir { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pilihan-hadir legend { font-size: 14px; color: var(--teks-lembut); margin-bottom: 6px; }
.pilihan-hadir label { display: block; }
.pilihan-hadir input { position: absolute; opacity: 0; pointer-events: none; }
.pilihan-hadir span { display: block; text-align: center; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--garis); color: var(--teks); cursor: pointer; font-size: 14.5px; }
.pilihan-hadir input:checked + span { background: var(--aksen); border-color: var(--aksen); color: #fff; }
.pilihan-hadir input:focus-visible + span { outline: 2px solid var(--aksen); outline-offset: 2px; }
.tema-modern .pilihan-hadir input:checked + span { background: var(--teks); border-color: var(--teks); }
.status-form { font-size: 14px; text-align: center; min-height: 1.2em; }
.ucapan { margin-top: 28px; text-align: left; }
.ucapan h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; text-align: center; }
.ucapan ul { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; display: grid; gap: 10px; }
.ucapan li { background: var(--kertas); border: 1px solid var(--garis); border-radius: 16px; padding: 12px 14px; }
.ucapan li b { display: block; font-size: 15px; }
.ucapan li .tanda-hadir { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--aksen-muda); color: var(--aksen); margin-left: 6px; font-weight: 600; vertical-align: 2px; }
.ucapan li p { font-size: 15px; margin-top: 4px; white-space: pre-line; }
.ucapan li small { color: var(--teks-lembut); font-size: 12px; }
.ucapan .kosong { text-align: center; color: var(--teks-lembut); font-size: 14px; }
#ucapan-lagi { margin: 12px auto 0; display: flex; }

/* ---------- Hadiah ---------- */
.kartu-bank { background: var(--kertas); border: 1px solid var(--garis); border-radius: 22px; padding: 22px; margin: 0 auto 14px; max-width: 360px; }
.nama-bank { font-family: var(--huruf-label); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--aksen); font-weight: 600; }
.nomor { font-size: 26px; letter-spacing: .08em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.atas-nama { color: var(--teks-lembut); margin-bottom: 14px; }
.kartu-bank .alamat { margin: 8px 0 14px; }
.tema-modern .kartu-bank { background: linear-gradient(135deg, #2a2421, #4a3d36); color: #f6efe8; border: 0; text-align: left; }
.tema-modern .kartu-bank .nama-bank { color: #d9c3b3; }
.tema-modern .kartu-bank .atas-nama, .tema-modern .kartu-bank .alamat { color: #cbbdb2; }
.tema-modern .kartu-bank .tombol.garis { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------- Penutup ---------- */
.penutup { padding-bottom: 120px; overflow: hidden; }
.tanda { margin-top: 20px; font-style: italic; }
.kecil-judul { font-size: 44px; margin-top: 6px; }
.kaki { margin-top: 48px; font-size: 13px; color: var(--teks-lembut); }
.kaki a { color: var(--aksen); text-decoration: none; font-weight: 600; }
.tema-blush .penutup { background: linear-gradient(180deg, #fbefec, #f6ddd6); }
.tema-modern .penutup { color: #fff; background: #1d1a18; min-height: 80vh; display: flex; flex-direction: column; justify-content: flex-end; }
.tema-modern .penutup[style]::before { content: ""; position: absolute; inset: 0; background: var(--foto) center/cover; opacity: .55; }
.tema-modern .penutup > * { position: relative; }
.tema-modern .penutup .judul-bagian, .tema-modern .penutup .judul { color: #fff; }
.tema-modern .penutup .pengantar, .tema-modern .kaki { color: rgba(255, 255, 255, .78); }
.tema-modern .kaki a { color: #fff; }

/* ---------- Navigasi bawah & musik ---------- */
.nav-bawah { position: fixed; z-index: 30; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 140%); display: flex; gap: 2px; padding: 6px;
  border-radius: 999px; transition: transform .6s .5s; box-shadow: 0 10px 30px rgba(0, 0, 0, .16); }
.terbuka .nav-bawah { transform: translate(-50%, 0); }
.nav-bawah a { width: 46px; height: 42px; display: grid; place-items: center; border-radius: 999px; transition: background .3s, color .3s; }
.nav-bawah .ikon { width: 21px; height: 21px; }
.tema-blush .nav-bawah { background: rgba(255, 249, 247, .92); border: 1px solid var(--garis); color: var(--teks-lembut); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tema-blush .nav-bawah a.aktif { background: var(--aksen); color: #fff; }
.tema-modern .nav-bawah { background: rgba(30, 27, 25, .78); color: rgba(255, 255, 255, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tema-modern .nav-bawah a.aktif { background: #f0e5da; color: #1e1b19; }
.tombol-musik { position: fixed; z-index: 31; bottom: max(76px, calc(env(safe-area-inset-bottom) + 62px)); right: max(14px, calc(50% - 216px)); width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: none; place-items: center; cursor: pointer; background: var(--aksen); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.terbuka .tombol-musik { display: grid; }
.tombol-musik .ikon { width: 20px; height: 20px; }
.tombol-musik.main .ikon { animation: putar 4s linear infinite; }
@keyframes putar { to { transform: rotate(360deg); } }
.tema-modern .tombol-musik { background: #f0e5da; color: #1e1b19; }

/* Butiran halus khas foto film (tema modern) */
.tema-modern .bingkai::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.notif { position: fixed; z-index: 95; left: 50%; bottom: 90px; transform: translateX(-50%); background: rgba(20, 18, 16, .9); color: #fff; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-family: system-ui, sans-serif; }

@media (max-width: 370px) {
  .tema-blush .sampul .judul, .tema-modern .sampul .judul { font-size: 52px; }
  .hitung div { width: 58px; }
  .info-tamu span { min-width: 92px; }
}
