/* Tema Pink Soft Kupu-kupu (dibikin node web/undangan/tema.mjs, jangan diedit langsung) */
:root {
  --krem: #FFF3F6;
  --krem-tua: #FBE0E8;
  --kertas: #FFFBFC;
  --coklat: #5B3A48;
  --coklat-muda: #8F6677;
  --mawar: #D98BA3;
  --emas: #C06A87;
  --daun: #B7C9B0;
  --garis: #F4D6DF;
  --hover: #3F2431;
  --oval-1: #FFF0F4;
  --oval-2: #F6CAD6;
  --kartu-2: #FCE8EE;
  --kredit: #F6D9E2;
  --bayang: 217, 139, 163;
  --script: 'Great Vibes', cursive;
  --serif: 'Plus Jakarta Sans', system-ui, sans-serif;
}
body { font-size: 17px; }
/* latar cat air pink-lilac-peach (gradasi lembut), bukan foto */
.halaman, .sampul-isi, section:nth-of-type(even) { background-color: var(--krem); background-image: radial-gradient(ellipse 70% 38% at 15% 12%, rgba(247,190,208,.55), transparent 70%), radial-gradient(ellipse 60% 34% at 88% 42%, rgba(214,196,236,.5), transparent 70%), radial-gradient(ellipse 65% 36% at 18% 80%, rgba(252,214,200,.5), transparent 70%), radial-gradient(ellipse 50% 28% at 85% 95%, rgba(247,190,208,.45), transparent 70%); background-size: 100% 100%; }
.sudut { width: 190px; height: 190px; }
.oval { outline: 1.5px solid var(--emas); outline-offset: 8px; }
.foto-sampul img { box-shadow: 0 0 0 3px var(--kertas), 0 0 0 4.5px var(--mawar), 0 16px 30px -12px rgba(var(--bayang), .4); }
.foto-sampul::before, .foto-sampul::after { display: none; }
.hitung div { width: 68px; background: rgba(217, 139, 163, .88); box-shadow: none; color: #fff; border-radius: 12px; }
.hitung b { font-weight: 600; color: #fff; }
.hitung span { color: #fff; }
.kartu-acara { border-radius: 22px; box-shadow: inset 0 0 0 1px var(--garis), 0 22px 40px -22px rgba(var(--bayang), .5); }
.kartu-acara:nth-of-type(even) { border-radius: 999px 999px 24px 24px / 190px 190px 24px 24px; padding-top: 60px; }
.kartu-acara h3 { color: var(--mawar); }
.kartu-acara .tombol.garis { box-shadow: inset 0 0 0 1.5px var(--mawar); color: var(--hover); }
.tombol { background: linear-gradient(135deg, #D98BA3, #C06A87); }
.tombol:hover { background: var(--hover); }
.tombol.garis { background: transparent; }
.judul-bagian.muncul { transform: scale(.94); }
.judul-bagian.muncul.tampak { transform: none; }
.orang.muncul, .oval.muncul { transform: scale(.92); }
.orang.muncul.tampak, .oval.muncul.tampak { transform: none; }
.kartu-acara.muncul:nth-of-type(odd) { transform: translateX(-24px); }
.kartu-acara.muncul:nth-of-type(even) { transform: translateX(24px); }
.kartu-acara.muncul.tampak:nth-of-type(n) { transform: none; }
.nav-bawah { display: flex; }
body.terkunci .nav-bawah { display: none; }
/* kupu-kupu melayang pelan (ritme 5,8 dtk ease-in-out ulang terus, mirip contoh) + ranting di sudut bergoyang 10,8 dtk */
.sampul-isi, .pembuka, .penutup { position: relative; overflow: hidden; }
.sampul-isi::before, .pembuka::before, .penutup::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2246%22%20height%3D%2236.8%22%20viewBox%3D%220%200%20100%2080%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23F3A9C0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23C7A6E6%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(100%200)%20scale(-1%201)%22%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M50%2030V58%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M50%2030C46%2020%2042%2017%2040%2014M50%2030C54%2020%2058%2017%2060%2014%22%20fill%3D%22none%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 3% 56% / 46px auto no-repeat, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2234%22%20height%3D%2227.2%22%20viewBox%3D%220%200%20100%2080%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23F7C2D4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23E0B8F0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(100%200)%20scale(-1%201)%22%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M50%2030V58%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M50%2030C46%2020%2042%2017%2040%2014M50%2030C54%2020%2058%2017%2060%2014%22%20fill%3D%22none%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 94% 30% / 34px auto no-repeat, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2256%22%20height%3D%2244.8%22%20viewBox%3D%220%200%20100%2080%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23EE98B4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23B99AE0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(100%200)%20scale(-1%201)%22%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M50%2030V58%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M50%2030C46%2020%2042%2017%2040%2014M50%2030C54%2020%2058%2017%2060%2014%22%20fill%3D%22none%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 97% 82% / 56px auto no-repeat; animation: pk-melayang 5.8s ease-in-out infinite; }
.sampul-isi::after, .pembuka::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2222.4%22%20viewBox%3D%220%200%20100%2080%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23F7C2D4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23C7A6E6%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(100%200)%20scale(-1%201)%22%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M50%2030V58%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M50%2030C46%2020%2042%2017%2040%2014M50%2030C54%2020%2058%2017%2060%2014%22%20fill%3D%22none%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 4% 26% / 28px auto no-repeat, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2238%22%20height%3D%2230.4%22%20viewBox%3D%220%200%20100%2080%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23EE98B4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23D2B2EE%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(100%200)%20scale(-1%201)%22%3E%3Cpath%20d%3D%22M50%2038C60%208%2096%204%2094%2030C93%2046%2068%2052%2050%2040Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.92%22%2F%3E%3Cpath%20d%3D%22M50%2042C66%2046%2086%2052%2079%2068C72%2080%2054%2064%2050%2044Z%22%20fill%3D%22url(%23g)%22%20opacity%3D%22.8%22%2F%3E%3Cellipse%20cx%3D%2278%22%20cy%3D%2226%22%20rx%3D%227%22%20ry%3D%225%22%20fill%3D%22%23fff%22%20opacity%3D%22.5%22%2F%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2262%22%20r%3D%223.5%22%20fill%3D%22%23fff%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M50%2030V58%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M50%2030C46%2020%2042%2017%2040%2014M50%2030C54%2020%2058%2017%2060%2014%22%20fill%3D%22none%22%20stroke%3D%22%236B4A66%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") 96% 62% / 38px auto no-repeat; animation: pk-melayang 5.8s ease-in-out 1.6s infinite reverse; }
.sudut svg { transform-origin: 0 0; animation: pk-goyang 10.8s ease-in-out infinite; }
.s-kanan-atas svg, .s-kanan-bawah svg { transform-origin: 100% 0; }
@keyframes pk-melayang { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(10px, -16px) rotate(4deg); } 50% { transform: translate(-6px, -26px) rotate(-3deg); } 75% { transform: translate(-12px, -10px) rotate(3deg); } }
@keyframes pk-goyang { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.4deg); } }
/* sampul: foto, nama, & "Kepada" muncul bergantian 3 dtk (ritme sama dengan contoh: fadeDown / zoomOut / fadeUp 3 dtk) */
.sampul-isi > .foto-sampul { animation: pk-zoom 3s ease-in-out both; }
.sampul-isi > :not(.foto-sampul):not(.sudut) { animation: pk-naik 3s ease-in-out .3s both; }
@keyframes pk-zoom { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes pk-naik { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sampul-isi::before, .pembuka::before, .penutup::before, .sampul-isi::after, .pembuka::after, .sudut svg, .sampul-isi > * { animation: none !important; } }
.notif { color: var(--kertas); }
.kredit a { color: var(--kertas); }
