/* Tema: Pink Flower Aqiqah — kertas pink lembut, rangkaian mawar di empat sudut (bergoyang & parallax),
   sampul berbingkai kubah emas dengan basmalah, "Tasyakuran Aqiqah" bergaya kaligrafi latin, papan nama
   bermahkota, mahkota bunga di foto si kecil, pita di penutup. Gerak & komponen bersama (judul memantul,
   garis kemajuan, domba, balon, kartu data lahir, doa) dari tema Aqiqah: aqiqah.js + aqiqah/theme.css.
   Warna di body (bukan :root) supaya tidak tertimpa aqiqah/theme.css yang dimuat sesudahnya.
   Pilihan warna lewat class body .variant-{mawar|lavender|peach}. */

.theme-aqiqah-bunga {
  --pf-p1: #e5799f; --pf-p2: #fbd3e0; --pf-p3: #c94a7a; --pf-p4: #f6a9c3;
  --pf-deep: #b0245f; --pf-ink: #6b3a4e; --pf-paper1: #fff6f9; --pf-paper2: #fbe1eb;
  --gold: #c9973d;
  --bg: var(--pf-paper1);
  --paper: rgba(255, 255, 255, .86);
  --blush: color-mix(in srgb, var(--pf-p2) 45%, #fff);
  --pink: var(--pf-p2);
  --rose: var(--pf-p1);
  --deep: var(--pf-deep);
  --on-deep: #ffffff;
  --ink: var(--pf-ink);
  --muted: color-mix(in srgb, var(--pf-ink) 65%, #fff);
  --line: color-mix(in srgb, var(--pf-deep) 14%, transparent);
  --shadow: 150 50 90;
  --overlay: 90 30 55;
  --frame: #ffffff;
  --radius: 28px;
  --bank-bg: linear-gradient(135deg, var(--pf-deep), var(--pf-p1) 60%, var(--pf-p4));
  --dock-bg: rgba(255, 255, 255, .88);
  --script: "Great Vibes", cursive;
  --serif: "Lora", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
  --balloon: var(--pf-p1), var(--pf-p4), #f7d58a, var(--pf-p2);
  background: var(--pf-paper1); color: var(--ink); font-family: var(--sans);
}
.theme-aqiqah-bunga.variant-lavender { --pf-p1: #b08ad8; --pf-p2: #e9dcf7; --pf-p3: #7d55b5; --pf-p4: #cdb3ec; --pf-deep: #6d3fa3; --pf-ink: #4c3a63; --pf-paper1: #f9f5fd; --pf-paper2: #ece1f8; --shadow: 100 70 150; --overlay: 60 40 95; }
.theme-aqiqah-bunga.variant-peach { --pf-p1: #f09a7a; --pf-p2: #fde0d2; --pf-p3: #d9674a; --pf-p4: #f7bba3; --pf-deep: #c2502f; --pf-ink: #6b4034; --pf-paper1: #fff7f2; --pf-paper2: #fde4d6; --shadow: 160 80 50; --overlay: 95 50 30; }
.theme-aqiqah-bunga ::selection { background: var(--pf-p1); color: #fff; }

/* ---------- kertas & bunga sudut ---------- */
.pf-paper { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #fff, transparent 60%), linear-gradient(180deg, var(--pf-paper1), var(--pf-paper2)); transition: background .6s; }
.pf-sparkle { position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(2px 2px at 40px 60px, #fff, transparent), radial-gradient(1.6px 1.6px at 160px 140px, #fff, transparent), radial-gradient(2.4px 2.4px at 260px 40px, #fff8, transparent);
  background-size: 300px 200px; animation: aqTwinkle 3s ease-in-out infinite alternate; }
.pf-corner { position: absolute; width: clamp(130px, 34vw, 230px); height: clamp(130px, 34vw, 230px); filter: drop-shadow(0 6px 10px rgb(var(--shadow) / .15)); }
.pf-corner.tl { top: -18px; left: -18px; translate: 0 max(-36px, calc(var(--aq-sy, 0) * -.05px)); }
.pf-corner.tr { top: -18px; right: -18px; scale: -1 1; translate: 0 max(-36px, calc(var(--aq-sy, 0) * -.05px)); }
.pf-corner.bl { bottom: -18px; left: -18px; scale: 1 -1; translate: 0 min(36px, calc(var(--aq-sy, 0) * .05px)); }
.pf-corner.br { bottom: -18px; right: -18px; scale: -1 -1; translate: 0 min(36px, calc(var(--aq-sy, 0) * .05px)); }
.pf-sway { transform-origin: 0 0; animation: pfSway 6s ease-in-out infinite; }
.pf-corner.tr .pf-sway { animation-delay: -1.5s; } .pf-corner.bl .pf-sway { animation-delay: -3s; } .pf-corner.br .pf-sway { animation-delay: -4.5s; }
@keyframes pfSway { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(2.5deg) scale(1.03); } }
/* salinan di sampul (sampul menutupi latar): tetap di sudut layar, di belakang bingkai kubah */
.pf-corner.pf-on-cover { position: fixed; z-index: -2; }
@media (min-width: 900px) { .pf-paper .pf-corner:is(.tl, .bl) { display: none; } }

.theme-aqiqah-bunga .layout { position: relative; z-index: 1; }
.theme-aqiqah-bunga .content { background: transparent; box-shadow: none; overflow-x: clip; }
.theme-aqiqah-bunga .sec { padding: 92px 28px; }
.theme-aqiqah-bunga .sec + .sec { border-top: 0; }
.theme-aqiqah-bunga .sec::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 150px; height: 12px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent) center / 100% 1px no-repeat, radial-gradient(circle, var(--pf-p1) 4px, transparent 4.5px) center / 12px 12px no-repeat; }
.theme-aqiqah-bunga .sec.closing::after { display: none; }
@media (min-width: 900px) {
  .theme-aqiqah-bunga .side { border-radius: 0 44px 44px 0; }
  .theme-aqiqah-bunga .side :is(.script, .kicker) { color: #fff; text-shadow: 0 2px 18px rgb(var(--overlay) / .6); }
  .theme-aqiqah-bunga .side-title { font-size: 5rem; }
  .theme-aqiqah-bunga .content { background: rgb(255 255 255 / .4); }
}

/* kelopak jatuh */
.theme-aqiqah-bunga .petals i { background: var(--pf-p4); border-radius: 80% 0 80% 0; opacity: .85; }
.theme-aqiqah-bunga .petals i:nth-child(3n) { background: #fff; box-shadow: 0 0 6px var(--pf-p1); }

/* ---------- huruf ---------- */
.theme-aqiqah-bunga .kicker { font-family: var(--sans); font-weight: 800; letter-spacing: .28em; font-size: .7rem; color: var(--pf-p1); text-transform: uppercase; }
.theme-aqiqah-bunga .script { font-family: var(--script); color: var(--pf-deep); font-weight: 400; }
.theme-aqiqah-bunga .sec-title { font-family: var(--script); font-weight: 400; font-size: clamp(2.8rem, 11vw, 3.4rem); color: var(--pf-deep); line-height: 1.2; text-shadow: 0 2px 0 #fff; }
.theme-aqiqah-bunga .hero-title { font-size: clamp(3.4rem, 15vw, 4.4rem); line-height: 1.15; text-shadow: 0 3px 0 #fff; }
.theme-aqiqah-bunga .person-name { font-size: 3.4rem; line-height: 1.2; }
.theme-aqiqah-bunga .lead { line-height: 1.85; }
.theme-aqiqah-bunga .aq-split.reveal { opacity: 1; transform: none; }

/* ---------- tombol ---------- */
.theme-aqiqah-bunga .btn { font-family: var(--sans); font-weight: 800; border-radius: 99px; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1), box-shadow .3s; }
.theme-aqiqah-bunga :is(.btn-open, .btn-main) { background: linear-gradient(135deg, var(--pf-deep), var(--pf-p1)); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold), 0 16px 28px -14px rgb(var(--shadow) / .9); }
.theme-aqiqah-bunga .btn-soft { background: #fff; color: var(--pf-deep); border: 1.5px solid var(--gold); }
.theme-aqiqah-bunga .btn:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- sampul ---------- */
.theme-aqiqah-bunga .cover { background: transparent; color: var(--pf-deep); padding: 16px; }
.theme-aqiqah-bunga .cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 35%, #fff, transparent 60%), linear-gradient(180deg, var(--pf-paper1), var(--pf-paper2)); }
.theme-aqiqah-bunga .cover .deco { display: none; }
.theme-aqiqah-bunga .cover-inner { width: min(100%, 380px); padding: 58px 26px 22px; isolation: isolate; }
.pf-arch { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; filter: drop-shadow(0 18px 30px rgb(var(--shadow) / .18)); }
.pf-arch-fill { fill: rgb(255 255 255 / .78); }
.pf-arch-line { fill: none; stroke: url(#pf-g-gold); stroke-width: 2.2; }
.pf-arch-line.in { stroke: var(--pf-p4); stroke-width: 1; }
.pf-bismillah { font-family: "Amiri", serif; font-weight: 700; font-size: 1.45rem; color: var(--pf-deep); line-height: 1.4; }
.pf-intro { font-family: var(--serif); font-size: .82rem; color: var(--pf-ink); margin: 4px auto 6px; max-width: 30ch; line-height: 1.5; }
.pf-cover-photo { position: relative; width: 116px; height: 116px; margin: 22px auto 4px; }
.pf-cover-img { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--blush); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 14px 24px -12px rgb(var(--shadow) / .7); animation: aqBreath 4s ease-in-out infinite; }
.pf-cover-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cover-pos, center); }
.pf-cover-img svg { width: 70%; height: 70%; }
.pf-wreath { position: absolute; top: -26px; left: 50%; width: 170px; height: 68px; translate: -50% 0; animation: pfSway 5s ease-in-out infinite; transform-origin: 50% 100%; }
.theme-aqiqah-bunga .cover .kicker { font-family: var(--script); font-size: clamp(2.6rem, 12vw, 3.2rem); letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.05; color: var(--pf-deep); text-shadow: 0 2px 0 #fff; margin-top: 6px; }
.theme-aqiqah-bunga .cover .kicker::after { content: ""; display: block; width: 170px; height: 12px; margin: 4px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent) center / 100% 1px no-repeat, radial-gradient(circle, var(--pf-p1) 4px, transparent 4.5px) center / 12px 12px no-repeat; }
/* papan nama: "Anak Kami" + mahkota (::before), papan pink berbingkai emas (::after) */
.theme-aqiqah-bunga .cover-title { position: relative; font-size: clamp(2.3rem, 10vw, 2.9rem); line-height: 1.25; margin: 8px 0 6px; padding: 52px 18px 12px; color: var(--pf-deep); z-index: 0; }
.theme-aqiqah-bunga .cover-title::before { content: "Anak Kami\A♛"; white-space: pre; position: absolute; top: 0; left: 0; right: 0; font: 600 .9rem/1.35 var(--serif); color: var(--pf-ink); }
.theme-aqiqah-bunga .cover-title::after { content: ""; position: absolute; inset: 42px 0 0; z-index: -1; border-radius: 18px; background: linear-gradient(180deg, #fff, var(--blush)); border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--pf-p4); }
.theme-aqiqah-bunga .cover-date { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--pf-p3); }
.theme-aqiqah-bunga .cover-guest { background: transparent; border: 0; backdrop-filter: none; margin: 10px auto 14px; padding: 6px 10px; color: var(--pf-deep); }
.theme-aqiqah-bunga .cover-guest b { font-family: var(--serif); font-size: 1.25rem; }
.theme-aqiqah-bunga .cover-inner::after { content: "Mohon maaf apabila ada kesalahan dalam penulisan nama & gelar"; display: block; margin: 14px auto 0; max-width: 28ch; font-size: .72rem; color: var(--pf-ink); opacity: .8; }
.theme-aqiqah-bunga .cover.opened { transform: scale(1.35); opacity: 0; filter: blur(8px); transition: transform 1s cubic-bezier(.6, 0, .4, 1), opacity .9s, filter .9s; }
@media (max-height: 780px) { .pf-intro { display: none; } .pf-cover-photo { width: 92px; height: 92px; margin-top: 30px; } .theme-aqiqah-bunga .cover-guest { margin: 4px auto 10px; } }
@media (max-height: 680px) { .pf-cover-photo { display: none; } .theme-aqiqah-bunga .cover-inner::after { display: none; } }

/* ---------- beranda ---------- */
.theme-aqiqah-bunga .hero { background: none; padding-top: 96px; }
.pf-crown-wreath { position: absolute; top: 56px; left: 50%; width: 270px; height: 88px; translate: -50% 0; z-index: 2; pointer-events: none; animation: pfSway 5s ease-in-out infinite; transform-origin: 50% 100%; }
.theme-aqiqah-bunga .arch { width: 230px; height: 300px; border-radius: 50%; border: 7px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 0 0 9px var(--blush), 0 30px 50px -26px rgb(var(--shadow) / .7); animation: aqBreath 5s ease-in-out infinite; }
.theme-aqiqah-bunga .hero-date { font-family: var(--serif); font-weight: 600; color: var(--pf-p3); }
.theme-aqiqah-bunga .countdown div { width: 66px; height: 66px; padding: 0; display: grid; place-content: center; border-radius: 50%; background: #fff; border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--pf-p2); animation: aqBob 3s ease-in-out infinite; }
.theme-aqiqah-bunga .countdown div:nth-child(2) { animation-delay: -.7s; } .theme-aqiqah-bunga .countdown div:nth-child(3) { animation-delay: -1.4s; } .theme-aqiqah-bunga .countdown div:nth-child(4) { animation-delay: -2.1s; }
.theme-aqiqah-bunga .countdown b { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--pf-deep); }
.theme-aqiqah-bunga .countdown b.aq-pop { animation: aqPop .45s cubic-bezier(.3, 1.8, .5, 1); }
.theme-aqiqah-bunga .aq-balloon.b1 { top: 120px; }
.theme-aqiqah-bunga .aq-balloon.b2 { --c: #f7d58a; }

/* ---------- pembuka ---------- */
.theme-aqiqah-bunga .divider-orn { width: 80px; height: 80px; }
.theme-aqiqah-bunga .opening blockquote { padding: 26px 22px 20px; border-radius: 120px 120px var(--radius) var(--radius); background: var(--paper); border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--pf-p2); }
.theme-aqiqah-bunga blockquote p { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink); }
.theme-aqiqah-bunga blockquote cite { color: var(--pf-p3); font-weight: 700; }
.theme-aqiqah-bunga .aq-bismillah { font-weight: 700; color: var(--pf-deep); }

/* ---------- si kecil ---------- */
.theme-aqiqah-bunga .person-photo { width: 210px; height: 210px; border: 7px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 0 0 11px var(--blush), 0 26px 40px -20px rgb(var(--shadow) / .7);
  transform: perspective(600px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: transform .3s; }
.theme-aqiqah-bunga .person-full { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--pf-deep); }
.theme-aqiqah-bunga .person-parents { font-size: .95rem; color: var(--ink); line-height: 1.7; }
.theme-aqiqah-bunga .aq-float-star { color: var(--pf-p4); }
.theme-aqiqah-bunga .aq-born { border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--pf-p2), 0 16px 30px -24px rgb(var(--shadow) / .8); }
.theme-aqiqah-bunga .aq-gender { background: linear-gradient(135deg, var(--pf-deep), var(--pf-p1)); }
.theme-aqiqah-bunga .aq-born-grid b { font-family: var(--serif); color: var(--pf-deep); }

/* ---------- acara ---------- */
.theme-aqiqah-bunga .events { padding-bottom: 150px; }
.theme-aqiqah-bunga .event { background: #fff; color: var(--ink); border: 1.5px solid var(--gold); border-radius: 140px 140px 30px 30px; padding-top: 48px; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px var(--pf-p2), 0 26px 40px -30px rgb(var(--shadow) / .8); }
.theme-aqiqah-bunga .event h3 { font-family: var(--script); font-weight: 400; font-size: 2.2rem; color: var(--pf-deep); }
.theme-aqiqah-bunga .event-date b { font-family: var(--serif); color: var(--pf-p1); }
.theme-aqiqah-bunga .event-venue { color: var(--pf-deep); font-weight: 800; }
.theme-aqiqah-bunga .aq-grass { fill: color-mix(in srgb, #9ccf8f 70%, var(--pf-p2)); }
.pf-meadow-flowers { position: absolute; left: 0; bottom: 4px; width: 100%; height: 28px; }

/* ---------- galeri: polaroid miring ---------- */
.theme-aqiqah-bunga .grid .g-item { border-radius: 10px; padding: 7px 7px 22px; background: #fff; box-shadow: 0 14px 24px -16px rgb(var(--shadow) / .7); rotate: -2.5deg; transition: rotate .4s, scale .4s; }
.theme-aqiqah-bunga .grid .g-item:nth-child(even) { rotate: 2.5deg; }
.theme-aqiqah-bunga .grid .g-item:hover { rotate: 0deg; scale: 1.04; z-index: 2; }
.theme-aqiqah-bunga .grid .g-item img { border-radius: 6px; }

/* ---------- ucapan & amplop ---------- */
.theme-aqiqah-bunga .wish-form, .theme-aqiqah-bunga .wish { border-radius: 24px; background: var(--paper); border: 1px solid var(--pf-p2); }
.theme-aqiqah-bunga .wish-form :is(input, textarea, select) { border-radius: 16px; border: 1.5px solid var(--pf-p2); }
.theme-aqiqah-bunga .rsvp-stats div { border-radius: 22px; background: #fff; border: 1.5px solid var(--pf-p2); }
.theme-aqiqah-bunga .bank { border-radius: 26px; transform: perspective(700px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: transform .3s; }

/* ---------- penutup ---------- */
.theme-aqiqah-bunga .closing { padding-bottom: 140px; overflow: hidden; }
.theme-aqiqah-bunga .closing > :not(.aq-balloons, .pf-ribbon) { position: relative; z-index: 1; }
.theme-aqiqah-bunga .aq-doa { border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--pf-p2), 0 20px 36px -28px rgb(var(--shadow) / .8); }
.theme-aqiqah-bunga .aq-doa-title { color: var(--pf-p1); }
.theme-aqiqah-bunga .aq-arab { color: var(--pf-deep); }
.theme-aqiqah-bunga .aq-parents { font-family: var(--serif); color: var(--pf-deep); }
.theme-aqiqah-bunga .closing-title { font-size: 3.6rem; }
.pf-maaf { margin-top: 18px; font-size: .78rem; color: var(--muted); font-style: italic; }
.pf-ribbon { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; height: 60px; animation: pfWave 5s ease-in-out infinite; }
@keyframes pfWave { 50% { transform: translateY(-6px) scaleY(1.1); } }

.theme-aqiqah-bunga .dock a span { white-space: nowrap; }
.theme-aqiqah-bunga .dock a.active { background: var(--blush); color: var(--pf-deep); }
.theme-aqiqah-bunga .music-btn { background: var(--pf-p1); }

@media (prefers-reduced-motion: reduce) {
  .pf-sway, .pf-wreath, .pf-crown-wreath, .pf-cover-img, .pf-ribbon, .pf-sparkle, .theme-aqiqah-bunga .countdown div, .theme-aqiqah-bunga .arch { animation: none; }
}
