/* ════════════════════════════════════════════════════════════════
   MAGNOLIA PAGI — magnolia cat air, kabut pagi, daun hijau mengilap
   ════════════════════════════════════════════════════════════════ */
:root {
    --ivory: #fcf8f2;
    --blush: #f8e9e6;
    --blush-2: #f3d8d6;
    --rose: #d99aa3;
    --rose-d: #b3697a;
    --sage: #a9bb9c;
    --sage-d: #6c8a72;
    --leaf: #234236;
    --leaf-d: #152a21;
    --gold: #d6bd86;
    --ink: #2a3a32;
    --ink-s: #5d6e64;
    --col: 480px;
    --f-d: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --f-b: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh;
    font: 300 15px/1.8 var(--f-b);
    color: var(--ink);
    background: radial-gradient(ellipse at 50% 0, #2f5545 0%, var(--leaf) 40%, var(--leaf-d) 100%) fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, blockquote { margin: 0; }
button { font: inherit; }
svg { display: block; }
.ico { width: 17px; height: 17px; flex: none; }

/* ── Kolom ── */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--ivory); box-shadow: 0 0 70px rgba(0, 0, 0, .45); }
.sec { position: relative; padding: 78px 24px 86px; text-align: center; background: var(--ivory); overflow: hidden; }
.sec-blush { background: linear-gradient(180deg, var(--blush) 0%, #fbf0ed 100%); }
.sec-leaf { background: radial-gradient(ellipse at 50% 0, #34614f 0%, var(--leaf) 55%, var(--leaf-d) 100%); color: #f3efe6; }
.sec > *:not(.leaf-pat):not(.mist) { position: relative; z-index: 2; }
.sec-in { max-width: 380px; margin: 0 auto; }
/* pola daun mengilap samar */
.leaf-pat { position: absolute; inset: 0; opacity: .13; pointer-events: none; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='160' viewBox='0 0 120 160'%3E%3Cpath d='M30 150C6 110 4 60 30 14 56 60 54 110 30 150Z' fill='%23a8c8a8'/%3E%3Cpath d='M30 146V24' stroke='%23152a21' stroke-width='1.4' fill='none'/%3E%3Cpath d='M92 140C72 108 70 68 92 34 114 68 112 108 92 140Z' fill='%23a8c8a8' opacity='.7'/%3E%3C/svg%3E") 0 0 / 120px 160px; }

/* ── Tipografi ── */
.kicker { font: 500 11px/1.5 var(--f-b); letter-spacing: .34em; text-transform: uppercase; color: var(--rose-d); }
.kicker.light { color: #e6c9c9; }
.sec-head { margin-bottom: 40px; }
.sec-title { margin-top: 8px; font: italic 500 clamp(36px, 10.5vw, 46px)/1.1 var(--f-d); color: var(--leaf); }
.sec-leaf .sec-title { color: #fbf4ea; }
.sec-sub { margin-top: 10px; color: var(--ink-s); }
.salam { font: italic 500 22px/1.4 var(--f-d); color: var(--leaf); margin-bottom: 14px; }
.body-c { color: var(--ink-s); }
.divider { width: 150px; height: 38px; margin: 0 auto 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border: 0; border-radius: 40px; cursor: pointer; text-decoration: none; font: 500 12px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #3d6a55, var(--leaf)); box-shadow: 0 12px 24px -12px rgba(21, 42, 33, .8); transition: transform .25s var(--ease), box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { margin-top: 20px; color: var(--leaf); background: transparent; border: 1px solid var(--sage-d); box-shadow: none; }
.btn.full { width: 100%; }

/* ── Kabut, sinar, kilau ── */
.mist { position: absolute; width: 130%; height: 46%; left: -15%; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); animation: drift 22s ease-in-out infinite alternate; }
.mist.m1 { top: 18%; }
.mist.m2 { top: 56%; opacity: .75; animation-duration: 30s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translateX(-9%); opacity: .55; } to { transform: translateX(9%); opacity: .95; } }
.rays { position: absolute; inset: -20% -10% 0; pointer-events: none; z-index: 1; opacity: .7;
    background: repeating-linear-gradient(104deg, rgba(255, 244, 208, 0) 0 34px, rgba(255, 244, 208, .42) 64px, rgba(255, 244, 208, 0) 98px 168px);
    -webkit-mask-image: radial-gradient(ellipse at 6% 0, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 6% 0, #000 0%, transparent 72%);
    animation: rays 9s ease-in-out infinite alternate; }
.rays.soft { opacity: .55; }
@keyframes rays { from { transform: translateX(-3%); opacity: .45; } to { transform: translateX(4%); opacity: .85; } }
.sparks { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.sparks i { position: absolute; width: var(--s); height: var(--s); opacity: 0; background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, 0) 64%); animation: twinkle var(--d) ease-in-out var(--w) infinite; }
.sparks i::before, .sparks i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 170%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); transform: translate(-50%, -50%); }
.sparks i::after { transform: translate(-50%, -50%) rotate(90deg); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* ── Ranting (cermin dibuat di dalam SVG; sway berporos di pojok) ── */
.br { width: 100%; height: auto; overflow: visible; transform-origin: 0 0; animation: sway 9s ease-in-out infinite alternate; filter: drop-shadow(0 10px 14px rgba(40, 30, 20, .16)); }
.r .br { transform-origin: 100% 0; animation-direction: alternate-reverse; }
.front .br, .low .br { transform-origin: 0 100%; }
.front.r .br, .low.r .br { transform-origin: 100% 100%; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.8deg); } }

/* ── Cover ── */
.cover { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; overflow: hidden; transition: opacity 1.2s ease, filter 1.2s ease; }
.cv-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #fdfaf5 0%, #f9ebe8 55%, #efd9d6 100%); }
.cv-br { position: absolute; pointer-events: none; z-index: 2; transition: transform 2.2s var(--ease), opacity 1.6s ease; }
.cv-br.back { width: min(62vw, 300px); top: -22px; opacity: .95; }
.cv-br.back.l { left: -42px; } .cv-br.back.r { right: -42px; }
.cv-br.front { width: min(36vw, 170px); bottom: -16px; z-index: 4; }
.cv-br.front.l { left: -30px; }
.cv-br.front.r { right: -30px; }
.cv-in { position: relative; z-index: 3; text-align: center; width: 100%; max-width: 380px; padding: 0 28px; display: flex; flex-direction: column; align-items: center; transition: transform 2s var(--ease), opacity 1.4s ease; }
.cv-k { font: 500 11px/1.4 var(--f-b); letter-spacing: .4em; text-transform: uppercase; color: var(--rose-d); }
.cv-bloom { width: min(54vw, 216px); height: auto; margin: 8px 0 2px; filter: drop-shadow(0 18px 22px rgba(179, 105, 122, .28)); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.045) rotate(2deg); } }
.cv-names { font: italic 500 clamp(44px, 14vw, 58px)/1 var(--f-d); color: var(--leaf); }
.cv-names i, .names i { display: block; margin: 2px 0; font-size: .46em; font-style: italic; color: var(--rose-d); }
.cv-date { margin-top: 14px; font: 500 12px/1.4 var(--f-b); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-s); }
.cv-to { margin: 22px 0 18px; font-size: 13px; line-height: 1.6; color: var(--ink-s); }
.cv-to b { display: block; margin-top: 2px; font: italic 600 25px/1.25 var(--f-d); color: var(--leaf); overflow-wrap: anywhere; }
.cv-petals, .petals { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.cv-petals { position: absolute; z-index: 6; }
.petals { z-index: 500; }
.cv-petals i, .petals i { position: absolute; top: -40px; width: var(--s); animation: fall var(--d) linear var(--w) both; }
.cv-petals i svg, .petals i svg { width: 100%; height: auto; }
@keyframes fall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 90% { opacity: .75; } 100% { transform: translate3d(var(--x), 112vh, 0) rotate(var(--r)); opacity: 0; } }
/* membuka: cabang menyibak, magnolia mendekat dan memudar */
.cover.s-open .cv-br.back.l { transform: translate(-70%, -10%) rotate(-10deg); opacity: 0; }
.cover.s-open .cv-br.back.r { transform: translate(70%, -10%) rotate(10deg); opacity: 0; }
.cover.s-open .cv-br.front.l { transform: translate(-70%, 20%); opacity: 0; }
.cover.s-open .cv-br.front.r { transform: translate(70%, 20%); opacity: 0; }
.cover.s-open .cv-in { transform: scale(1.35); opacity: 0; }
.cover.s-open .cv-bloom { animation: none; }
.cover.s-out { opacity: 0; filter: blur(10px); pointer-events: none; }

/* ── Musik & toast ── */
.music-toggle-btn { position: fixed; top: 12px; right: max(12px, calc(50vw - var(--col) / 2 + 12px)); z-index: 1002; width: 40px; height: 40px; padding: 0; border: 1px solid var(--sage); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(252, 248, 242, .88); color: var(--leaf); backdrop-filter: blur(6px); box-shadow: 0 6px 16px -6px rgba(21, 42, 33, .5); opacity: 0; pointer-events: none; transition: opacity .3s; -webkit-tap-highlight-color: transparent; }
body.opened .music-toggle-btn { opacity: 1; pointer-events: auto; }
.music-toggle-btn svg { width: 17px; height: 17px; }
.music-toggle-btn.playing { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 22px; border-radius: 30px; background: var(--leaf-d); color: #f3efe6; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
[data-reveal] { opacity: 0; transform: translateY(26px) scale(.98); filter: blur(5px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--dl, 0s); }
[data-reveal].shown { opacity: 1; transform: none; filter: none; }

/* ── Hero ── */
.hero { position: relative; min-height: max(700px, 100svh); display: grid; place-items: center; padding: 150px 24px 210px; text-align: center; overflow: hidden; background: linear-gradient(180deg, #fdfaf5 0%, #f9ebe8 62%, #f1dcd8 100%); }
.hero > .wash { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero > .mist.m1 { top: 6%; } .hero > .mist.m2 { top: 62%; }
.br-wrap { position: absolute; pointer-events: none; z-index: 2; translate: 0 calc(var(--sy, 0) * var(--k, 0) * 1px); }
.br-wrap.back { width: min(60vw, 250px); top: -26px; }
.br-wrap.back.l { left: -36px; transform-origin: 0 0; } .br-wrap.back.r { right: -36px; transform-origin: 100% 0; }
.br-wrap.low { width: min(38vw, 180px); bottom: -16px; z-index: 4; }
.br-wrap.low.l { left: -30px; transform-origin: 0 100%; }
.br-wrap.low.r { right: -30px; transform-origin: 100% 100%; }
body.opened .br-wrap { animation: pull 2.8s var(--ease) both; }
@keyframes pull { from { scale: 1.35; opacity: .2; } to { scale: 1; opacity: 1; } }
.hero-in .kicker { margin-bottom: 12px; }
.hero-in { position: relative; z-index: 3; width: 100%; max-width: 360px; }
.hero-bloom { width: min(46vw, 180px); height: auto; margin: 14px auto 20px; filter: drop-shadow(0 16px 20px rgba(179, 105, 122, .26)); animation: breathe 7s ease-in-out infinite; }
.names { font: italic 500 clamp(52px, 16.5vw, 68px)/1 var(--f-d); color: var(--leaf); overflow-wrap: anywhere; }
.names.sm { font-size: 44px; }
.hero-date { margin-top: 18px; font: 500 12px/1.5 var(--f-b); letter-spacing: .26em; text-transform: uppercase; color: var(--rose-d); }
.hero-note { margin: 16px auto 0; max-width: 300px; color: var(--ink-s); }

/* ── Salam ── */
.verse { margin: 30px 0 0; padding: 28px 22px 22px; border-radius: 160px 160px 18px 18px; background: linear-gradient(180deg, var(--blush) 0%, #fdf5f2 100%); border: 1px solid var(--blush-2); }
.verse p { font: italic 400 19px/1.65 var(--f-d); color: var(--leaf); }
.verse cite { display: block; margin-top: 12px; font: 500 11px/1 var(--f-b); letter-spacing: .24em; text-transform: uppercase; font-style: normal; color: var(--rose-d); }

/* ── Mempelai ── */
.person { max-width: 340px; margin: 0 auto; }
.arch { position: relative; width: 190px; height: 250px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 95px 95px 14px 14px; background: radial-gradient(ellipse at 50% 30%, #fdf3ee 0%, #f4d6d4 70%, #e9bfc2 100%); border: 1.5px solid var(--gold); box-shadow: 0 0 0 7px rgba(214, 189, 134, .16), 0 22px 36px -20px rgba(0, 0, 0, .6); }
.mono { font: italic 500 92px/1 var(--f-d); color: var(--leaf); }
.arch-b { position: absolute; width: 96px; height: 96px; top: -26px; right: -34px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .28)); animation: breathe 8s ease-in-out infinite; }
.arch-l { position: absolute; width: 74px; height: auto; left: -30px; bottom: -14px; }
.p-name { font: italic 600 31px/1.2 var(--f-d); color: #fbf4ea; }
.p-par { margin-top: 8px; color: #d9d6cb; font-size: 14px; }
.p-par b { font-weight: 500; color: #fff; }
.and { margin: 38px auto; width: 150px; }

/* ── Acara ── */
.event { position: relative; max-width: 380px; margin: 62px auto 0; padding: 62px 24px 32px; border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid var(--blush-2); box-shadow: 0 24px 40px -30px rgba(120, 70, 80, .6); backdrop-filter: blur(4px); }
.event:first-of-type { margin-top: 0; }
.sec-head + .event { margin-top: 56px; }
.ev-b { position: absolute; left: 50%; top: -64px; width: 96px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 12px rgba(179, 105, 122, .3)); }
.ev-t { font: italic 600 32px/1.2 var(--f-d); color: var(--leaf); }
.ev-l { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ev-l li { display: flex; align-items: flex-start; justify-content: center; gap: 10px; color: var(--ink-s); text-align: left; }
.ev-l .ico { margin-top: 3px; color: var(--rose-d); }

/* ── Hitung mundur (tetes embun) ── */
.sec-cd { padding: 90px 24px 96px; }
.sec-cd .mist { top: 0; height: 80%; opacity: .25; }
.cd { margin: 26px 0 22px; display: flex; justify-content: center; gap: 12px; }
.cd > div { text-align: center; }
.cd .dm { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .6) 0, rgba(255, 255, 255, .14) 38%, rgba(255, 255, 255, .06) 70%); border: 1px solid rgba(255, 255, 255, .38); box-shadow: inset 0 -8px 14px rgba(0, 0, 0, .16), 0 12px 18px -10px rgba(0, 0, 0, .6); }
.cd .dm.tick b { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.7); opacity: .3; } to { transform: none; opacity: 1; } }
.cd b { font: italic 600 26px/1 var(--f-d); color: #fff; }
.cd span { display: block; margin-top: 9px; font: 500 10px/1 var(--f-b); letter-spacing: .22em; text-transform: uppercase; color: #cfd8cd; }
.cd-note { color: #d4dcd2; font-size: 14px; }

/* ── Lokasi ── */
.loc { max-width: 380px; margin: 0 auto; padding: 14px 14px 30px; border-radius: 180px 180px 22px 22px; background: #fff; border: 1px solid var(--blush-2); box-shadow: 0 24px 40px -30px rgba(21, 42, 33, .5); }
.map { height: 230px; margin-bottom: 22px; border-radius: 166px 166px 14px 14px; overflow: hidden; z-index: 1; }
.loc-name { font: italic 600 27px/1.25 var(--f-d); color: var(--leaf); padding: 0 10px; }
.loc-addr { margin: 8px 0 20px; padding: 0 14px; color: var(--ink-s); }

/* ── Kisah ── */
.tline { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; position: relative; text-align: left; }
.tline::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, var(--rose) 8%, var(--rose) 92%, transparent); }
.tl-i { position: relative; padding: 0 0 36px 64px; }
.tl-i:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: -2px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--blush-2); box-shadow: 0 8px 14px -8px rgba(179, 105, 122, .6); }
.tl-dot svg { width: 22px; height: 30px; }
.tl-n { font: 500 10.5px/1 var(--f-b); letter-spacing: .26em; text-transform: uppercase; color: var(--rose-d); }
.tl-c h3 { margin: 6px 0 4px; font: italic 600 26px/1.2 var(--f-d); color: var(--leaf); }
.tl-c p { color: var(--ink-s); font-size: 14.5px; }

/* ── Galeri ── */
.gal { max-width: 400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gal-i { position: relative; display: block; width: 100%; aspect-ratio: 3/4; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: var(--blush); border-radius: 110px 110px 12px 12px; -webkit-tap-highlight-color: transparent; }
.gal-i.g1, .gal-i.g3 { border-radius: 12px 12px 110px 110px; }
.gal-i.g2 { border-radius: 12px; } .gal-i.g4 { border-radius: 110px 12px 110px 12px; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-i:hover img { transform: scale(1.06); }
.gal-i.ph { display: grid; place-items: center; cursor: default; background: radial-gradient(ellipse at 50% 35%, #fdf4ef, var(--blush-2)); }
.gal-i.ph svg { width: 62%; height: auto; opacity: .9; }

/* ── Form & ucapan ── */
.card { max-width: 400px; margin: 0 auto; padding: 28px 22px; background: #fff; border: 1px solid var(--blush-2); border-radius: 22px; text-align: left; box-shadow: 0 24px 40px -30px rgba(120, 70, 80, .6); }
.f-l { display: block; margin: 16px 0 6px; font: 500 11px/1.3 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-d); }
.form label[for="rsvpName"] { margin-top: 0; }
.f-in { width: 100%; padding: 12px 14px; border: 1px solid #e6d2d0; border-radius: 12px; background: #fffdfb; color: var(--ink); font: 400 15px/1.5 var(--f-b); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.f-in:focus { border-color: var(--sage-d); box-shadow: 0 0 0 3px rgba(108, 138, 114, .2); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch span { display: block; padding: 10px 4px; text-align: center; font-size: 13px; border: 1px solid #e6d2d0; border-radius: 12px; background: #fffdfb; color: var(--ink-s); cursor: pointer; transition: all .2s; }
.ch input:checked + span { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.ch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(108, 138, 114, .4); }
.form .btn { margin-top: 22px; }
.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 40px auto 14px; }
.wish-head h3 { font: italic 600 28px/1.2 var(--f-d); color: var(--leaf); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-d); }
.wh-live i { width: 7px; height: 7px; border-radius: 50%; background: #5fae78; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.wishes { max-width: 400px; margin: 0 auto; display: grid; gap: 12px; max-height: 480px; overflow-y: auto; padding: 2px 4px 2px 0; text-align: left; overscroll-behavior: contain; }
.wish-item { --av: var(--rose-d); display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--blush-2); border-radius: 18px; }
.wish-item.new { animation: wishIn .7s var(--ease) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.wish-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--av); color: #fff; font: italic 600 20px/1 var(--f-d); }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 500 14.5px/1.3 var(--f-b); overflow-wrap: anywhere; }
.wish-badge { padding: 2px 10px; border-radius: 20px; font-size: 10.5px; font-weight: 500; }
.wish-badge.hadir { background: #dcecdc; color: #2f6b42; }
.wish-badge.tidak { background: #f3d9d9; color: #96403f; }
.wish-badge.ragu  { background: #f3e5bd; color: #7d6118; }
.wish-message { margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--ink-s); overflow-wrap: anywhere; }
.wish-time { display: block; margin-top: 6px; font-size: 11.5px; color: #9a9087; }
.wish-empty { text-align: center; padding: 20px; color: #9a9087; font: italic 400 19px/1.5 var(--f-d); }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; border: 1px solid var(--blush-2); border-radius: 22px; background: #fff; overflow: hidden; text-align: left; }
.gift-wrap .gs-heading h2 { font-family: var(--f-d) !important; font-style: italic !important; font-weight: 600 !important; color: var(--leaf) !important; }
.gift-wrap .gs-heading h2::after { background: var(--rose) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 1px solid var(--blush-2) !important; border-radius: 14px !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 30px !important; font-family: var(--f-b) !important; }
.gift-wrap .gs-btn-buy { background: var(--leaf) !important; color: #fff !important; }
.gift-wrap .gs-bank-logo { background: var(--blush) !important; color: var(--rose-d) !important; }

/* ── Penutup ── */
.end { position: relative; padding: 150px 24px 90px; text-align: center; overflow: hidden; color: #f3efe6; background: radial-gradient(ellipse at 50% 0, #34614f 0%, var(--leaf) 55%, var(--leaf-d) 100%); }
.end .mist { top: 0; height: 60%; opacity: .1; }
.br-end { position: absolute; top: -10px; width: min(52vw, 230px); pointer-events: none; z-index: 1; }
.br-end.l { left: -26px; } .br-end.r { right: -26px; }
.br-end svg { width: 100%; height: auto; overflow: visible; }
.end-in { position: relative; z-index: 2; max-width: 380px; margin: 0 auto; }
.end-bloom { width: 120px; height: 120px; margin: 0 auto 22px; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .4)); animation: breathe 7s ease-in-out infinite; }
.end .body-c.w { color: #d8e0d6; }
.end .salam.w { margin-top: 20px; color: #f3dcd9; font-size: 19px; }
.end .names.sm { margin-top: 14px; color: #fff; }
.end .names i { color: #eab8c0; display: inline; margin: 0 .2em; }
.fam { margin: 26px 0 26px; display: grid; gap: 14px; font-size: 14px; }
.fam span { display: block; margin-bottom: 2px; font: 500 10.5px/1.3 var(--f-b); letter-spacing: .24em; text-transform: uppercase; color: #e6c9c9; }
.end-credit { font-size: 12px; color: #aebdb0; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(21, 42, 33, .94); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border: 5px solid var(--ivory); border-radius: 12px; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sage); display: grid; place-items: center; background: rgba(252, 248, 242, .12); color: #fff; font: 500 22px/1 var(--f-b); cursor: pointer; }
.lb-close { top: 18px; right: 18px; font-size: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; letter-spacing: .1em; }

@media (max-height: 720px) {
    .cv-bloom { width: min(40vw, 150px); }
    .cv-names { font-size: 42px; }
    .cv-to { margin: 14px 0 12px; }
}
@media (max-width: 360px) {
    .names { font-size: 46px; }
    .cd { gap: 8px; }
    .cd .dm { width: 58px; height: 58px; }
    .cd b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; filter: none; }
    .petals, .cv-petals, .sparks { display: none; }
}
