/* =========================================================================
   Tema Nocturne — taman di bawah bulan purnama. (Exclusive)

   Titik tolaknya video: langit malam biru tua, bulan purnama besar di atas,
   awan tipis, dan mawar liar putih yang menjuntai dari atas serta tumbuh
   dari bawah.

   Gagasan utama: MALAM PENUH, PERAK & EMAS. Berbeda dari tema terang,
   seluruh halaman tetap malam: sampul menaruh teks langsung di langit
   gelap di bawah bulan (nama berkilau perak-emas, bulan berdenyut, bintang
   berkelip, kunang-kunang melayang); isi undangan berupa kartu kaca gelap
   bergaris perak, teks gading. Penanda kecilnya BULAN: hitung mundur =
   empat bulan kecil bercahaya, cerita = fase bulan dari sabit hingga
   purnama, penanda acara & lencana foto = cakram sabit emas, penutup =
   lima fase bulan. Penutup berakhir di potongan bunga dari video.
   Warna: biru-malam, gading-bulan, emas-pucat (utama), perak.
   Huruf: Great Vibes (nama), Cinzel (judul), EB Garamond (kutipan), Jost (teks).
   ========================================================================= */

:root {
    --c-paper: #0B1A30;
    --c-ink: #EDE8DB;
    --c-accent: #D9C58F;

    --c-muted: color-mix(in srgb, var(--c-ink) 74%, var(--c-paper));
    --c-rule: color-mix(in srgb, var(--c-ink) 16%, var(--c-paper));
    --c-sunk: color-mix(in srgb, var(--c-ink) 7%, var(--c-paper));
    --c-action: var(--c-accent);

    --f-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --f-names: 'Great Vibes', 'Allura', cursive;
    --f-quote: 'EB Garamond', Georgia, serif;
    --f-body: 'Jost', system-ui, sans-serif;
    --f-script: var(--f-names);

    --ntr-glow: #F4EBCB;
    --ntr-silver: #B9C4DA;
    --ntr-gold: #D9C58F;
    --ntr-night: #0B1A30;
    --ntr-night-2: #12233F;
    --ntr-night-3: #1A3050;
    --ntr-moon: radial-gradient(circle at 34% 30%, #fffaf0 0, #f1e6c8 52%, #c9bd9d 100%);

    --ntr-card: rgb(17 33 60 / .72);
    --ntr-line: rgb(190 202 224 / .2);
    --ntr-gold-grad: linear-gradient(180deg, #fffaf0 0%, #ecdfbd 52%, #c9b27a 100%);

    /* Sabit emas, dipakai di cakram lencana. */
    --ntr-crescent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F0D58A' d='M21 12.8A9 9 0 1 1 11.2 3 7 7 0 0 0 21 12.8z'/%3E%3C/svg%3E");
}

body.inv.ntr {
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: .95rem;
    line-height: 1.8;
    background:
        radial-gradient(circle at 12% 14%, rgb(255 255 255 / .85) 0 1px, transparent 1.6px),
        radial-gradient(circle at 78% 8%, rgb(255 255 255 / .7) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 90% 34%, rgb(255 255 255 / .6) 0 1px, transparent 1.6px),
        radial-gradient(circle at 24% 46%, rgb(255 255 255 / .55) 0 1px, transparent 1.6px),
        radial-gradient(circle at 64% 62%, rgb(255 255 255 / .6) 0 1.1px, transparent 1.7px),
        radial-gradient(circle at 8% 78%, rgb(255 255 255 / .55) 0 1px, transparent 1.6px),
        radial-gradient(circle at 86% 90%, rgb(255 255 255 / .6) 0 1.2px, transparent 1.8px),
        radial-gradient(ellipse 90% 26% at 50% 0, rgb(70 96 140 / .45), transparent 72%),
        linear-gradient(180deg, #0c1c34, #0a1830 60%, #0d2038);
    background-attachment: fixed;
}

/* Nama pasangan tersusun: nama · & · nama */
.ntr .ntr-names { display: grid; justify-items: center; align-content: center; max-width: 100%; margin: 0; font: 400 4.6rem/1.05 var(--f-names); }
.ntr .ntr-name {
    display: block; max-width: 100%; padding: .04em .14em; overflow-wrap: anywhere;
    background: var(--ntr-gold-grad); -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 .22em rgb(244 235 203 / .38)) drop-shadow(0 .04em .1em rgb(2 8 20 / .7));
}
.ntr .ntr-amp { display: flex; align-items: center; gap: .8rem; width: min(12rem, 70%); margin: 0; }
.ntr .ntr-amp i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ntr-silver)); }
.ntr .ntr-amp i:last-child { background: linear-gradient(270deg, transparent, var(--ntr-silver)); }
.ntr .ntr-amp em { color: var(--ntr-silver); font: 400 2.1rem/1 var(--f-names); text-shadow: 0 0 .8rem rgb(185 196 218 / .6); }

/* Bulan kecil & fase bulan. --d diameter, --o fase: 0 = bulan baru,
   .2 sabit tipis, .4 sabit, .6 hampir separuh+, 1 = purnama. Sisi gelap
   berupa cakram biru-malam yang bergeser menutupi bulan. */
.ntr-moon, .ntr-story__moon, .ntr-phases i {
    --d: 1.9rem; --o: 1;
    display: block; width: var(--d); aspect-ratio: 1; border-radius: 50%;
    background:
        radial-gradient(circle calc(var(--d) / 2) at calc(var(--d) * (.5 + var(--o))) 50%, #13264a 98%, transparent 100%),
        var(--ntr-moon);
    box-shadow: 0 0 0 1px rgb(244 235 203 / .38), 0 0 calc(var(--d) * .6) rgb(244 235 203 / .38);
}

/* ---------------------------------------------------------- sampul video */

.ntr .inv-cover.ntr-cover { padding: 0; display: block; overflow: hidden; background: var(--ntr-night); }

/* Panggung 4:7 (sama dengan video) selalu MENUTUPI layar — teks (cqw/%)
   tetap di tengah langit gelap di bawah bulan, di ukuran layar apa pun. */
.ntr-stage {
    position: absolute; left: 50%; top: 50%;
    width: max(100vw, 100dvh * 4 / 7); aspect-ratio: 4 / 7;
    transform: translate(-50%, -50%);
    container-type: inline-size;
}
.ntr-stage__poster, .ntr-stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ntr-stage.is-playing .ntr-stage__poster { opacity: 0; }

/* Cahaya bulan berdenyut: lingkar lembut di posisi bulan (tengah-atas). */
.ntr-moonglow {
    position: absolute; left: 49%; top: 15%; width: 78cqw; aspect-ratio: 1; margin: -39cqw 0 0 -39cqw; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(circle, rgb(244 235 203 / .32) 0, rgb(200 214 245 / .12) 34%, transparent 66%);
    animation: ntr-breathe 7s ease-in-out infinite;
}
@keyframes ntr-breathe { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

/* Bintang berkelip di langit lapang. --x --y posisi, --s ukuran, --d jeda. */
.ntr-stars { position: absolute; inset: 0; pointer-events: none; }
.ntr-stars i {
    position: absolute; left: var(--x); top: var(--y); width: var(--s, 1cqw); aspect-ratio: 1; border-radius: 50%; background: #fff;
    box-shadow: 0 0 1.2cqw .3cqw rgb(255 255 255 / .6); opacity: .2; animation: ntr-twinkle 4.2s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.ntr-stars i:nth-child(1)  { --x: 12%; --y: 32%; --s: .7cqw; --d: .2s; }
.ntr-stars i:nth-child(2)  { --x: 26%; --y: 27%; --s: .9cqw; --d: 1.4s; }
.ntr-stars i:nth-child(3)  { --x: 78%; --y: 30%; --s: .8cqw; --d: 2.4s; }
.ntr-stars i:nth-child(4)  { --x: 90%; --y: 36%; --s: .6cqw; --d: .9s; }
.ntr-stars i:nth-child(5)  { --x: 8%;  --y: 48%; --s: .6cqw; --d: 3s; }
.ntr-stars i:nth-child(6)  { --x: 93%; --y: 52%; --s: .8cqw; --d: 1.9s; }
.ntr-stars i:nth-child(7)  { --x: 20%; --y: 60%; --s: .7cqw; --d: 2.8s; }
.ntr-stars i:nth-child(8)  { --x: 70%; --y: 56%; --s: .6cqw; --d: .6s; }
.ntr-stars i:nth-child(9)  { --x: 52%; --y: 29%; --s: .6cqw; --d: 3.5s; }
.ntr-stars i:nth-child(10) { --x: 36%; --y: 66%; --s: .7cqw; --d: 1.1s; }
.ntr-stars i:nth-child(11) { --x: 84%; --y: 66%; --s: .7cqw; --d: 2.1s; }
.ntr-stars i:nth-child(12) { --x: 6%;  --y: 40%; --s: .8cqw; --d: 3.3s; }
@keyframes ntr-twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }

/* Kunang-kunang: melayang pelan di antara bunga bawah, berkedip. --x --y awal,
   --dx --dy simpangan, --t lama melayang, --b lama kedip, --w jeda. */
.ntr-fireflies { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ntr-fireflies i {
    position: absolute; left: var(--x); top: var(--y); width: 1.1cqw; aspect-ratio: 1; border-radius: 50%; opacity: 0;
    background: #fff4b8; box-shadow: 0 0 1.4cqw .5cqw rgb(255 220 120 / .85), 0 0 4cqw 1.2cqw rgb(255 210 110 / .35);
    animation: ntr-fly var(--t, 14s) ease-in-out infinite alternate, ntr-blink var(--b, 4s) ease-in-out infinite; animation-delay: var(--w, 0s), var(--w, 0s);
}
.ntr-fireflies i:nth-child(1) { --x: 24%; --y: 72%; --dx: 12cqw;  --dy: -9cqw;  --t: 13s; --b: 3.6s; --w: 0s; }
.ntr-fireflies i:nth-child(2) { --x: 46%; --y: 80%; --dx: -10cqw; --dy: -12cqw; --t: 16s; --b: 4.4s; --w: 1.2s; }
.ntr-fireflies i:nth-child(3) { --x: 68%; --y: 70%; --dx: 9cqw;   --dy: -10cqw; --t: 12s; --b: 3.2s; --w: 2.4s; }
.ntr-fireflies i:nth-child(4) { --x: 36%; --y: 64%; --dx: -8cqw;  --dy: 8cqw;   --t: 17s; --b: 5s;   --w: .6s; }
.ntr-fireflies i:nth-child(5) { --x: 58%; --y: 62%; --dx: 11cqw;  --dy: 9cqw;   --t: 15s; --b: 3.9s; --w: 3.1s; }
.ntr-fireflies i:nth-child(6) { --x: 14%; --y: 58%; --dx: 9cqw;   --dy: -7cqw;  --t: 14s; --b: 4.7s; --w: 1.9s; }
.ntr-fireflies i:nth-child(7) { --x: 80%; --y: 78%; --dx: -9cqw;  --dy: -9cqw;  --t: 18s; --b: 3.4s; --w: 2.8s; }
@keyframes ntr-fly {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(var(--dx), var(--dy)); }
    100% { transform: translate(calc(var(--dx) * -.5), calc(var(--dy) * 1.5)); }
}
@keyframes ntr-blink { 0%, 100% { opacity: 0; } 20% { opacity: .95; } 45% { opacity: .15; } 70% { opacity: 1; } }

.ntr-cover__text {
    position: absolute; top: 26%; bottom: 17%; left: 15cqw; right: 15cqw;
    display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: .6cqw;
    text-align: center; color: var(--c-ink);
    animation: ntr-rise 1.2s var(--ease) both;
}
.ntr-stage.is-playing .ntr-cover__text { animation-delay: 2.6s; }
@keyframes ntr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.ntr-cover__label { margin: 0; font: 500 2.5cqw/1.2 var(--f-body); letter-spacing: .38em; text-transform: uppercase; color: var(--ntr-gold); text-shadow: 0 1px 8px rgb(2 8 20 / .8); }
.ntr-cover__names { font-size: 17cqw; margin-top: .8cqw; }
.ntr-cover__names .ntr-name {
    background: linear-gradient(100deg, #cfd8ea 0%, #ffffff 22%, #ecdfbd 42%, #c9b27a 54%, #cfd8ea 74%, #ffffff 100%);
    background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: ntr-shimmer 9s linear infinite;
}
@keyframes ntr-shimmer { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.ntr-cover__names .ntr-amp { margin: -1.4cqw 0; gap: 3cqw; }
.ntr-cover__names .ntr-amp em { font-size: 8.2cqw; line-height: .8; }
.ntr-cover__date {
    display: flex; align-items: center; gap: 2cqw; margin: 1.2cqw 0 0; white-space: nowrap;
    font: 400 3.8cqw/1.25 var(--f-display); letter-spacing: .1em; color: #f4efe2; text-shadow: 0 1px 8px rgb(2 8 20 / .8);
}
.ntr-cover__date::before, .ntr-cover__date::after { content: ''; width: 5cqw; height: 1px; background: linear-gradient(90deg, transparent, var(--ntr-silver)); }
.ntr-cover__date::after { background: linear-gradient(270deg, transparent, var(--ntr-silver)); }
.ntr-cover__to { margin: 1.8cqw 0 0; }
.ntr-cover__to p { margin: 0; font-size: 2.6cqw; line-height: 1.35; color: rgb(237 232 219 / .8); text-shadow: 0 1px 6px rgb(2 8 20 / .8); }
.ntr-cover__guest { margin-top: .4cqw !important; font: 400 4.6cqw/1.2 var(--f-display) !important; letter-spacing: .06em; color: #fff !important; overflow-wrap: anywhere; }

.ntr-open {
    margin-top: 2cqw; padding: 2.5cqw 7cqw; border: 1px solid rgb(255 244 214 / .85); border-radius: 999px;
    background: linear-gradient(180deg, #fff8e4, #e5d29d); color: #0B1A30; font: 600 2.8cqw/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
    box-shadow: 0 0 0 1cqw rgb(244 235 203 / .12), 0 0 5cqw rgb(244 235 203 / .4), 0 2.6cqw 4.6cqw -2.4cqw rgb(0 0 0 / .7);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ntr-open:hover { transform: translateY(-2px); box-shadow: 0 0 0 1cqw rgb(244 235 203 / .22), 0 0 7cqw rgb(244 235 203 / .6), 0 2.6cqw 4.6cqw -2.4cqw rgb(0 0 0 / .7); }
.ntr-open:focus-visible { outline: 2px solid var(--ntr-glow); outline-offset: 4px; }

/* ---------------------------------------------------------------- isi */

.ntr-frame { position: relative; }
.ntr-moontop {
    display: block; width: 100%; max-width: 34rem; height: 11rem; margin: 0 auto -3.4rem; object-fit: cover; object-position: top;
    -webkit-mask-image: linear-gradient(#000 42%, transparent);
            mask-image: linear-gradient(#000 42%, transparent);
}
.ntr .inv__main { position: relative; max-width: 34rem; padding-inline: 1.25rem; }

/* Kartu kaca gelap bergaris perak, dengan garis cahaya di tepi atas */
.ntr .inv-section {
    position: relative; margin: 0 0 1.6rem; padding: 3.2rem 1.6rem 3rem; text-align: center;
    border: 1px solid var(--ntr-line); border-radius: 1.4rem; border-bottom: 1px solid var(--ntr-line);
    background: linear-gradient(180deg, rgb(24 44 78 / .78), var(--ntr-card));
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 26px 50px -34px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .08);
}
.ntr .inv-section:not(.ntr-closing)::before {
    content: ''; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px;
    background: linear-gradient(90deg, transparent, rgb(244 235 203 / .85), transparent);
}

.ntr-blossomline, .ntr .ntr-blossomline { display: block; margin: 0 auto .9rem; filter: drop-shadow(0 0 .5rem rgb(244 235 203 / .35)); }
.ntr-head { margin-bottom: 2.2rem; text-align: center; }
.ntr-head__title { margin: 0; font: 400 clamp(1.5rem, 6.6vw, 1.85rem)/1.25 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #f6f1e4; }
.ntr-head__lead { max-width: 24rem; margin: .9rem auto 0; color: var(--c-muted); }

/* Pembuka */
.ntr .inv-bismillah { color: var(--c-accent); }
.ntr-verse { margin: 0 0 1.9rem; padding: 1.4rem 0 1.5rem; border-block: 1px solid var(--ntr-line); }
.ntr-verse__text { margin: 0; font: 400 1.38rem/1.6 var(--f-quote); font-style: italic; color: #f6f1e4; }
.ntr-verse__source { margin-top: .8rem; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ntr-gold); }
.ntr-lede { max-width: 25rem; margin: 0 auto; color: var(--c-muted); }

/* Mempelai: lingkaran bercahaya bulan + lencana sabit */
.ntr-couple__grid { display: grid; gap: .5rem; }
.ntr-couple__amp { margin: .3rem 0; font: 400 3.8rem/1.1 var(--f-names); color: var(--ntr-silver); text-shadow: 0 0 1rem rgb(185 196 218 / .5); }
.ntr-person { display: grid; justify-items: center; }
.ntr-photo {
    position: relative; width: 10.4rem; aspect-ratio: 1; margin: 1.4rem 0 1.9rem; padding: 5px; border-radius: 50%;
    background: linear-gradient(160deg, #fffaf0, #d9cba6);
    box-shadow: 0 0 0 .4rem rgb(11 26 48 / .9), 0 0 0 calc(.4rem + 1px) rgb(244 235 203 / .55), 0 0 2.6rem .4rem rgb(244 235 203 / .38);
}
.ntr-photo__halo { position: absolute; inset: -1rem; border: 1px dashed rgb(190 202 224 / .5); border-radius: 50%; pointer-events: none; }
.ntr-photo__badge {
    position: absolute; top: .3rem; right: -.2rem; width: 2.5rem; aspect-ratio: 1; border-radius: 50%;
    background: var(--ntr-crescent) center / 62% no-repeat, #12233F;
    box-shadow: 0 0 0 2px rgb(244 235 203 / .8), 0 0 .9rem rgb(244 235 203 / .5);
}
.ntr-photo img, .ntr-photo__initial { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ntr-photo__initial {
    display: grid; place-items: center; font: 400 5.4rem/1 var(--f-names); color: #0B1A30;
    background: radial-gradient(circle at 34% 28%, #fffaf0 0, #efe4c6 60%, #cfc19d 100%);
}
.ntr-person__name { margin: 0; font: 400 3rem/1.15 var(--f-names); color: var(--c-accent); }
.ntr-person__family { margin: .5rem 0 0; font-size: .9rem; color: var(--c-muted); }
.ntr-person__bio { max-width: 22rem; margin: .7rem 0 0; font-size: .9rem; color: var(--c-muted); }
.ntr-person__ig { margin-top: .7rem; color: var(--c-accent); font-size: .84rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ntr-line); }

/* Hitung mundur: empat bulan kecil bercahaya, angka biru-malam di atas cakram */
.ntr-countdown { display: flex; justify-content: center; gap: .65rem; margin: 0 auto 2.4rem; }
.ntr .ntr-countdown .inv-countdown__cell {
    display: grid; place-content: center; gap: .05rem; width: 4.3rem; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 50%;
    background:
        radial-gradient(circle at 78% 82%, rgb(150 138 105 / .3) 0 .3rem, transparent .35rem),
        radial-gradient(circle at 14% 36%, rgb(150 138 105 / .24) 0 .22rem, transparent .27rem),
        radial-gradient(circle at 84% 24%, rgb(150 138 105 / .22) 0 .26rem, transparent .31rem),
        var(--ntr-moon);
    box-shadow: 0 0 0 1px rgb(244 235 203 / .5), 0 0 1.6rem rgb(244 235 203 / .38), inset -.4rem -.5rem .9rem rgb(120 108 78 / .25);
}
.ntr .ntr-countdown b { font: 500 1.5rem/1 var(--f-display); color: #14243f; }
.ntr .ntr-countdown span { font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: #3f4a5e; }

/* Acara */
.ntr-events__list { display: grid; gap: 1.6rem; }
.ntr-event {
    position: relative; padding: 3rem 1.4rem 1.8rem; border: 1px solid var(--ntr-line); border-radius: 1.2rem;
    background: linear-gradient(180deg, rgb(48 74 118 / .45), rgb(20 38 68 / .5) 55%);
}
.ntr-event::before {
    content: ''; position: absolute; top: -1.4rem; left: 50%; width: 2.8rem; aspect-ratio: 1; margin-left: -1.4rem; border-radius: 50%;
    background: var(--ntr-crescent) center / 62% no-repeat, #12233F;
    box-shadow: 0 0 0 2px rgb(244 235 203 / .8), 0 0 1rem rgb(244 235 203 / .5);
}
.ntr-event.is-past { opacity: .55; }
.ntr-event__title { margin: 0 0 .35rem; font: 400 2.6rem/1.15 var(--f-names); color: var(--c-accent); }
.ntr-event__date { margin: 0; font: 400 1.1rem/1.4 var(--f-display); letter-spacing: .06em; color: #f6f1e4; }
.ntr-event__time { margin: 0; color: var(--c-muted); letter-spacing: .04em; }
.ntr-event__venue { margin: 1rem 0 0; font-weight: 600; color: #f6f1e4; }
.ntr-event__address { margin: .1rem 0 0; font-size: .88rem; color: var(--c-muted); }
.ntr-event__meta { margin: .4rem 0 0; font-size: .84rem; color: var(--c-muted); }
.ntr-event__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.ntr-event__actions .inv-btn { flex: 1 1 8.5rem; text-align: center; }

/* Tombol */
.ntr .inv-btn { border-radius: 999px; padding: .76rem 1.25rem; font: 600 .8rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: none; }
.ntr .inv-btn--solid { background: linear-gradient(180deg, #f5ead0, var(--c-accent)); border-color: var(--c-accent); color: #0B1A30; box-shadow: 0 10px 22px -12px rgb(0 0 0 / .8), 0 0 1.2rem -.2rem color-mix(in srgb, var(--c-accent) 50%, transparent); }
.ntr .inv-btn--ghost { background: transparent; border-color: rgb(190 202 224 / .4); color: #f1ecdf; }
.ntr .inv-btn:hover { filter: none; background: #fff8e4; border-color: #fff8e4; color: #0B1A30; }

/* Cerita: fase bulan, dari sabit tipis hingga purnama, dihubungkan garis perak bertitik */
.ntr-story__list { display: grid; gap: 2.2rem; margin: 0; padding: 0; list-style: none; }
.ntr-story__item { display: grid; justify-items: center; }
.ntr-story__item + .ntr-story__item::before { content: ''; height: 2.6rem; margin: -1rem 0 .4rem; border-left: 1px dotted rgb(190 202 224 / .55); }
.ntr-story__moon { --d: 2rem; --o: .22; margin-bottom: .6rem; }
.ntr-story__item:nth-child(4n+2) .ntr-story__moon { --o: .5; }
.ntr-story__item:nth-child(4n+3) .ntr-story__moon { --o: .78; }
.ntr-story__item:nth-child(4n) .ntr-story__moon { --o: 1; }
.ntr-story__period { margin: 0; font: 400 2.2rem/1.2 var(--f-names); color: var(--c-accent); }
.ntr-story__title { margin: .1rem 0 0; font: 400 1.25rem/1.3 var(--f-display); letter-spacing: .08em; color: #f6f1e4; }
.ntr-story__img { width: 100%; aspect-ratio: 4 / 3; margin-top: .9rem; object-fit: cover; border-radius: 1rem; box-shadow: 0 0 0 4px rgb(11 26 48 / .9), 0 0 0 5px rgb(244 235 203 / .4), 0 16px 30px -18px rgb(0 0 0 / .9); }
.ntr-story__text { max-width: 25rem; margin: .6rem 0 0; font-size: .9rem; color: var(--c-muted); }

/* Galeri (markup _base): pertama berbentuk lingkaran bercahaya bulan */
.ntr .inv-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.ntr .inv-gallery__cell { padding: 0; border: 0; border-radius: 1rem; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-sunk); cursor: zoom-in; }
.ntr .inv-gallery__cell:first-child { grid-column: 1 / -1; width: 68%; margin: .5rem auto 1rem; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 3px rgb(244 235 203 / .7), 0 0 2.4rem .3rem rgb(244 235 203 / .35); }
.ntr .inv-gallery__cell img { width: 100%; height: 100%; object-fit: cover; }

/* Video & siaran langsung */
.ntr .inv-video { padding: 0; border: 0; border-radius: 1rem; overflow: hidden; background: #000; }
.ntr .inv-video iframe { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Form RSVP & ucapan (markup _base), versi malam */
.ntr .inv-form { gap: 1.3rem; text-align: left; }
.ntr .inv-label { font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-transform: none; color: #f1ecdf; }
.ntr .inv-input { padding: .8rem 1rem; border: 1px solid rgb(190 202 224 / .28); border-radius: .9rem; background: rgb(255 255 255 / .06); color: #f6f1e4; font-size: .95rem; }
.ntr .inv-input::placeholder { color: rgb(237 232 219 / .45); }
.ntr .inv-input:focus, .ntr .inv-input:focus-visible { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 22%, transparent); }
.ntr select.inv-input option { background: #12233F; color: #f6f1e4; }
.ntr .inv-choice { border-color: rgb(190 202 224 / .28); border-radius: .9rem; background: rgb(255 255 255 / .06); color: #f1ecdf; }
.ntr .inv-choice:has(:checked) { border-color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 14%, transparent); color: var(--c-accent); }
.ntr .inv-choice input { accent-color: var(--c-accent); }
.ntr .inv-form .inv-btn--solid { width: 100%; padding-block: .95rem; }
.ntr .inv-tally div { border: 1px solid var(--ntr-line); border-radius: .9rem; background: rgb(255 255 255 / .05); }
.ntr .inv-tally dd { font-family: var(--f-display); font-size: 1.8rem; color: var(--c-accent); }
.ntr .inv-wish { padding: 1rem 1.1rem; border: 0; border-radius: .9rem; background: rgb(255 255 255 / .06); box-shadow: inset 3px 0 0 var(--c-accent); text-align: left; }
.ntr .inv-wish__name { font-weight: 600; color: var(--c-accent); }

/* Hadiah: kartu bulan, kaca biru dengan cahaya bulan di atas */
.ntr .inv-gifts { display: grid; gap: 1rem; }
.ntr .inv-gift {
    padding: 1.9rem 1.5rem; border: 0; border-radius: 1.2rem; text-align: center; color: #fff;
    background:
        radial-gradient(circle at 14% 18%, rgb(255 255 255 / .85) 0 1px, transparent 1.6px),
        radial-gradient(circle at 88% 26%, rgb(255 255 255 / .75) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 70% 84%, rgb(255 255 255 / .6) 0 1px, transparent 1.6px),
        radial-gradient(ellipse 70% 50% at 50% -8%, rgb(244 235 203 / .34), transparent 70%),
        linear-gradient(170deg, #1d3558, #0f2040);
    box-shadow: 0 22px 40px -26px rgb(0 0 0 / .9), inset 0 0 0 1px rgb(244 235 203 / .32);
}
.ntr .inv-gift__logo { max-height: 1.6rem; margin-inline: auto; filter: brightness(0) invert(1); opacity: .92; }
.ntr .inv-gift__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ntr-gold); }
.ntr .inv-gift__account { font: 400 1.7rem/1.3 var(--f-display); letter-spacing: .1em; color: #fff; text-shadow: 0 0 1rem rgb(244 235 203 / .35); }
.ntr .inv-gift__holder, .ntr .inv-gift__address { color: rgb(255 255 255 / .86); }
.ntr .inv-gift .inv-btn--ghost { margin-top: 1rem; border-color: rgb(244 235 203 / .55); color: #fff; }
.ntr .inv-gift .inv-btn--ghost:hover { background: rgb(255 255 255 / .16); border-color: #fff; color: #fff; }
.ntr .inv-gift__qr { display: block; max-width: 12rem; margin: .75rem auto 0; padding: .5rem; background: #fff; border-radius: .6rem; }

/* Penutup: langit malam dengan lima fase bulan, berakhir di potongan bunga dari video */
.ntr .ntr-closing {
    margin: 2rem -1.25rem 0; padding: 3.5rem 1.6rem 0; overflow: hidden; color: #e9e4d6;
    border: 0; border-radius: 2rem 2rem 0 0; -webkit-backdrop-filter: none; backdrop-filter: none;
    background:
        radial-gradient(circle at 14% 10%, rgb(255 255 255 / .85) 0 1px, transparent 1.6px),
        radial-gradient(circle at 84% 7%, rgb(255 255 255 / .75) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 60% 16%, rgb(255 255 255 / .7) 0 1px, transparent 1.6px),
        radial-gradient(circle at 30% 5%, rgb(255 255 255 / .6) 0 1px, transparent 1.6px),
        radial-gradient(ellipse 70% 20% at 50% 0, rgb(80 108 156 / .4), transparent 72%),
        linear-gradient(180deg, #112440 0%, #0c1c34 55%, #0a1930 100%);
    box-shadow: 0 -20px 50px -30px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .1);
}
.ntr .ntr-closing > * { position: relative; z-index: 1; }
.ntr-closing__text { max-width: 24rem; margin: 0 auto; color: #dcd6c8; }
.ntr-closing__salutation { margin: 1.8rem 0; font: 400 .78rem/1.3 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--ntr-gold); }
.ntr-closing__names { margin-top: .4rem; font-size: clamp(3.8rem, 17vw, 4.9rem); }
.ntr-closing__names .ntr-amp em { font-size: 1.8rem; }
.ntr-closing__tag { margin: 1rem 0 0; font-size: .86rem; letter-spacing: .1em; color: #cfd8ea; }
.ntr-phases { display: flex; justify-content: center; align-items: center; gap: .8rem; margin: 1.7rem 0 0; }
.ntr-phases i { --d: 1.15rem; }
.ntr-phases i:nth-child(1) { --o: .22; }
.ntr-phases i:nth-child(2) { --o: .5; }
.ntr-phases i:nth-child(3) { --o: .8; --d: 1.45rem; }
.ntr-phases i:nth-child(4) { --o: 1; }
.ntr-phases i:nth-child(5) { --o: -.22; --d: 1.15rem; }
.ntr .ntr-blossomfoot {
    display: block; width: calc(100% + 3.2rem); max-width: none; height: auto; margin: .6rem -1.6rem 0;
    -webkit-mask-image: linear-gradient(transparent, #000 30%);
            mask-image: linear-gradient(transparent, #000 30%);
}
.ntr .ntr-footer { margin: 0 -1.25rem; padding: 1rem; background: #07101f; color: rgb(255 255 255 / .65); font-size: .75rem; text-align: center; }
.ntr .ntr-footer a { color: #e9e4d6; }

/* Musik & tombol QR */
.ntr .inv-music { background: #12233F; color: var(--ntr-glow); box-shadow: 0 0 0 1px rgb(244 235 203 / .5), 0 0 1rem rgb(244 235 203 / .4); }
.ntr .inv-checkin-btn { background: #fff8e4; color: #0B1A30; }

/* Muncul halus saat digulir (kelas dipasang oleh theme.js). */
.ntr .ntr-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ntr .ntr-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ layar lebar */

@media (min-width: 900px) {
    body.inv.ntr { background: #07101f; }

    /* Sampul menutup SELURUH layar; panggung video berdiri di tengah di atas
       poster yang sama, diburamkan & digelapkan. */
    .ntr .inv-cover.ntr-cover { left: 0; right: 0; width: auto; isolation: isolate; }
    .ntr .inv-cover.ntr-cover::before {
        content: ''; position: absolute; inset: -40px; z-index: -1;
        background: url('opening-poster.jpg') center / cover; filter: blur(34px) brightness(.7) saturate(1.2);
    }
    .ntr-stage { width: calc(100dvh * 4 / 7); height: 100dvh; aspect-ratio: auto; box-shadow: 0 0 80px -10px rgb(0 0 0 / .7); }

    .ntr-frame { width: 34rem; margin: 0 auto; min-height: 100dvh; background: #0a1830; box-shadow: 0 0 70px -20px rgb(0 0 0 / .8); }
}

@media (prefers-reduced-motion: reduce) {
    .ntr-cover__text { animation: none; }
    .ntr-open { transition: none; }
    .ntr-moonglow, .ntr-fireflies { display: none; }
    .ntr-stars i { animation: none; opacity: .7; }
    .ntr-cover__names .ntr-name { animation: none; background-position: 0 0; }
    .ntr .ntr-reveal { opacity: 1; transform: none; transition: none; }
}
