/* Tema Sinematik (dibikin node web/undangan/tema.mjs, jangan diedit langsung) */
:root {
  --krem: #0F0D0C;
  --krem-tua: #0A0807;
  --kertas: #1A1613;
  --coklat: #F1E9DC;
  --coklat-muda: #BDB1A0;
  --mawar: #D9B58A;
  --emas: #D8B672;
  --daun: #8F9A86;
  --garis: #3A322B;
  --hover: #FFF3DD;
  --oval-1: #2A231E;
  --oval-2: #15110E;
  --kartu-2: #201A16;
  --kredit: #6F6458;
  --bayang: 0, 0, 0;
  --script: 'Cormorant Garamond', Georgia, serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
body { font-size: 17px; }
/* T-227 Sinematik: gelap, foto pasangan jadi latar penuh (kabur) dan sampul layar penuh, huruf serif kapital, bagian muncul dengan kabur-ke-jelas, debu cahaya halus. Foto latar dari elemen .latar-foto (diisi buat.mjs). */
body { background: #0A0807; color: var(--coklat); }
.latar-foto, .latar-foto[hidden] { display: block; position: fixed; inset: -6%; z-index: 0; pointer-events: none; background-color: #0A0807; background-size: cover; background-position: center; filter: blur(16px) brightness(.5) saturate(.9); animation: sn-latar 40s ease-in-out infinite alternate; }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(circle, rgba(255, 233, 196, .6) 0 1.2px, transparent 2.2px), radial-gradient(circle, rgba(255, 233, 196, .35) 0 1px, transparent 2px); background-size: 170px 230px, 95px 150px; background-position: 0 0, 45px 70px; animation: sn-debu 36s linear infinite; }
.halaman { z-index: 1; background: transparent; box-shadow: 0 0 60px rgba(0, 0, 0, .5); }
section { background: rgba(10, 8, 7, .38); }
section:nth-of-type(even) { background: rgba(26, 22, 19, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sudut { display: none; }
.script, .script.nama { font-family: var(--serif); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.sampul .script.nama { font-size: 2.2rem; line-height: 1.25; margin: 14px 0 8px; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.pembuka .script.nama, .orang .script { font-size: 1.9rem; }
.orang + .dan { font-family: var(--serif); font-size: 2rem; }
.judul-bagian, .kartu-acara h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.kecil-kapital { letter-spacing: .34em; color: var(--emas); }
.sampul { background: #0A0807; }
.sampul-isi { background: #0A0807; padding-bottom: 56px; }
.sampul .foto-sampul { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.sampul .foto-sampul img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 0; box-shadow: none; animation: sn-zoom 22s ease-in-out infinite alternate; }
.sampul .foto-sampul::before, .sampul .foto-sampul::after { display: none; }
.sampul-isi::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 6, 5, .62) 0%, rgba(8, 6, 5, .22) 34%, rgba(8, 6, 5, .5) 62%, rgba(8, 6, 5, .94) 100%); }
.sampul-isi > :not(.foto-sampul) { position: relative; z-index: 2; }
.sampul-isi { justify-content: flex-end; }
.sampul .kecil-kapital { position: absolute; top: 12%; left: 0; right: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.sampul .tanggal, .kepada { text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.kepada small { color: rgba(255, 255, 255, .72); }
.tombol { background: rgba(255, 244, 222, .14); color: var(--coklat); box-shadow: inset 0 0 0 1.2px rgba(255, 233, 196, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); letter-spacing: .12em; text-transform: uppercase; font-size: .86rem; }
.tombol:hover { background: rgba(255, 244, 222, .26); }
.tombol.garis { background: transparent; color: var(--coklat); }
.oval { border-radius: 130px 130px 10px 10px; border: 0; box-shadow: 0 0 0 1px rgba(255, 233, 196, .35), 0 18px 40px -16px rgba(0, 0, 0, .8); }
.hitung div { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 233, 196, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kartu-acara { background: rgba(255, 255, 255, .05); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 233, 196, .22), 0 14px 30px -20px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
section:nth-of-type(even) .kartu-acara { background: rgba(255, 255, 255, .05); }
.alur li::before, section:nth-of-type(even) .alur li::before { box-shadow: 0 0 0 4px rgba(10, 8, 7, .8); }
.muncul { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(7px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1), filter 1s ease; }
.muncul.tampak { opacity: 1; transform: none; filter: none; }
.galeri img { transition: transform .8s ease, filter .8s ease; filter: brightness(.9); }
.galeri button:hover img { transform: scale(1.05); filter: none; }
.latar-foto { transition: filter 1.4s ease; }
.latar-foto video { width: 100%; height: 100%; object-fit: cover; }
body.ada-video .latar-foto { inset: 0; animation: none; }
body.ada-video.terkunci .latar-foto { filter: brightness(.8); }
body.ada-video .sampul, body.ada-video .sampul-isi { background: transparent; }
body.ada-video .sampul .foto-sampul { display: none; }
body.ada-video.terkunci .halaman, body.ada-video.terkunci::after { visibility: hidden; } /* sampul transparan: isi halaman tidak boleh tembus sebelum dibuka */
@keyframes sn-zoom { from { transform: scale(1.02); } to { transform: scale(1.16) translateY(-1.5%); } }
@keyframes sn-latar { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes sn-debu { to { background-position: 0 230px, 45px 220px; } }
@media (prefers-reduced-motion: reduce) { .latar-foto, body::after, .sampul .foto-sampul img { animation: none !important; } .muncul { filter: none; } }
.notif { color: var(--kertas); }
.kredit a { color: var(--kertas); }
