/* ==========================================================================
   THEME: DESAIN 20 - KUPU-KUPU LILAC
   KitoNgundang Wedding Invitation
   Konsep: lembar album kupu-kupu bergaya vintage di atas kertas air lila dengan noda merah muda dan biru. Kupu-kupu mint bergaris tinta
   ungu dengan bintik magenta (sayap digambar sekali, dicerminkan) menghiasi foto bujur telur berbingkai garis plum, daun navy-ungu di sudut,
   dan kelopak merah muda yang berserakan. Satu momen gerak: saat undangan dibuka, kupu-kupu di sampul mengepak cepat dan terbang menjauh
   sementara daun bergoyang; dua kupu-kupu di sudut foto tetap tinggal di hero.
   ========================================================================== */

:root {
    --bg: #ffffff;
    --ink: #3a2a2a;
    --ink-soft: #6a5a5a;
    --accent: #b0243a;
    --accent-deep: #7a1226;
    --accent-soft: #f6dde0;
    --line: rgba(120, 60, 70, 0.35);
    --card: rgba(255, 255, 255, 0.86);
    --card-edge: #ffffff;
    --sh: 60, 30, 36;
    --btn-a: #c9384f;
    --btn-b: #a01c32;
    --btn-ink: #ffffff;
    --btn-hi: rgba(255, 255, 255, 0.4);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-line: rgba(120, 60, 70, 0.4);
    --nav-ink: #5a3a40;
    --nav-on: #7a1226;
    --nav-ico: #b0243a;
    --music-bg: rgba(255, 255, 255, 0.96);
    --music-ink: #7a1226;
    --music-line: rgba(176, 36, 58, 0.7);
    --lb-bg: rgba(24, 12, 14, 0.94);
    --lb-btn: rgba(122, 18, 38, 0.92);
    --lb-line: rgba(255, 255, 255, 0.55);
    --ok: #1f6a52;
    --no: #9b3a2c;

    --font-display: Georgia, serif;
    --font-body: Georgia, serif;
    --font-arab: 'Amiri', serif;
    --fs: 1.1rem;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.25, 1);
    --spring: cubic-bezier(0.34, 1.35, 0.5, 1);

    --vh: 1vh;
    --cover-delay: 2.6s;
}

@supports (height: 100dvh) {
    :root { --vh: 1dvh; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs);
    font-weight: 500;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.locked {
    overflow: hidden;
    height: 100vh;
}

img {
    display: block;
    max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.deco {
    pointer-events: none;
    user-select: none;
}

/* ---------- Tombol ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, var(--btn-a) 0%, var(--btn-b) 100%);
    color: var(--btn-ink);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    padding: 0.62rem 1.7rem;
    border: 0;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 10px 20px rgba(var(--sh), 0.3),
        inset 0 1px 0 var(--btn-hi);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
}

.btn:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}

.btn-small {
    font-size: 0.98rem;
    padding: 0.4rem 1.15rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   SAMPUL (cangkang bersama)
   ========================================================================== */
#cover {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%);
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.8s ease var(--cover-delay), visibility 0s linear calc(var(--cover-delay) + 0.8s);
}

.cover-stage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

#cover.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cover-guest {
    position: relative;
    z-index: 5;
    width: 100%;
    text-align: center;
    transition: opacity 0.5s ease, transform 0.7s var(--ease);
}

.cover-to {
    font-size: 1.05rem;
    line-height: 1.3;
}

.cover-guest-name {
    max-width: 15ch;
    margin: 0 auto;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.cover-note {
    max-width: 27ch;
    margin: 0.25rem auto 0.9rem;
    font-size: 0.98rem;
    line-height: 1.4;
}

.cover-guest > * {
    animation: coverIn 1.2s var(--ease) var(--d, 0.9s) backwards;
}

.cover-guest > :nth-child(1) { --d: 0.9s; }
.cover-guest > :nth-child(2) { --d: 1.05s; }
.cover-guest > :nth-child(3) { --d: 1.2s; }
.cover-guest > :nth-child(4) { --d: 1.35s; }

#cover.opened .cover-guest {
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
}

/* ==========================================================================
   LAYOUT UMUM
   ========================================================================== */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 0 50px rgba(var(--sh), 0.28);
}

section,
.closing {
    position: relative;
    padding: 6rem 1.75rem 4.8rem;
    text-align: center;
    overflow: hidden;
}

section > *:not(.deco),
.closing > *:not(.deco) {
    position: relative;
    z-index: 3;
}

.sec-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 12.5vw, 3.4rem);
    line-height: 1.15;
    color: var(--accent-deep);
}

.sec-date {
    margin: 0.2rem 0 2.2rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.lead {
    max-width: 30ch;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ---------- Hero (isi bawah) ---------- */
.hero-rest {
    position: relative;
    z-index: 3;
    padding: 0 1.5rem;
    text-align: center;
}

.ayat {
    width: min(340px, 100%);
    margin: 0 auto;
    padding: 1.3rem 1.2rem 1.1rem;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(var(--sh), 0.12);
}

.ayat-ar {
    font-family: var(--font-arab);
    font-size: 1.25rem;
    line-height: 2.1;
}

.ayat-id {
    margin-top: 0.5rem;
    font-size: 1.03rem;
    line-height: 1.55;
    font-style: italic;
}

.ayat cite {
    display: block;
    margin-top: 0.6rem;
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin: 1.8rem 0 1.4rem;
}

.cd-item {
    width: 68px;
    padding: 0.5rem 0 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    background: var(--card);
    border: 1.5px solid var(--card-edge);
    box-shadow: 0 8px 16px rgba(var(--sh), 0.14);
}

.cd-number {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--accent);
}

.cd-label {
    font-size: 0.92rem;
    line-height: 1.3;
}

/* ---------- Pembukaan ---------- */
.salam {
    font-family: var(--font-arab);
    font-size: 1.75rem;
    line-height: 1.9;
    color: var(--accent-deep);
    margin-bottom: 0.7rem;
}

.arch-photo {
    width: min(68vw, 270px);
    aspect-ratio: 3 / 4;
    margin: 2.2rem auto 0;
    padding: 7px;
    border-radius: 999px 999px 16px 16px;
    background: var(--card-edge);
    box-shadow:
        0 0 0 1px var(--line),
        0 18px 30px rgba(var(--sh), 0.24);
}

.arch-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px 999px 10px 10px;
    background: var(--accent-soft);
}

/* ---------- Mempelai ---------- */
.round-photo {
    position: relative;
    width: min(58vw, 224px);
    aspect-ratio: 1;
    margin: 0 auto;
}

.round-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 5px solid var(--card-edge);
    box-shadow: 0 0 0 1px var(--line), 0 14px 24px rgba(var(--sh), 0.26);
}

.person-name {
    margin-top: 0.8rem;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--accent-deep);
}

.person-full {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.person-parents {
    font-size: 1.05rem;
    line-height: 1.55;
}

.person-parents strong {
    font-weight: 700;
}

.person .btn {
    margin-top: 0.9rem;
}

.amp {
    font-family: var(--font-display);
    font-size: 3.6rem;
    line-height: 1;
    color: var(--accent);
    margin: 1.8rem 0 1.5rem;
}

/* ---------- Acara ---------- */
.event-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.event-card {
    position: relative;
    width: min(88vw, 340px);
    padding: 2.4rem 1.7rem 2.2rem;
    border-radius: 18px;
    background: var(--card);
    border: 1.5px solid var(--card-edge);
    box-shadow: 0 16px 30px rgba(var(--sh), 0.2);
    text-align: center;
}

.event-emblem {
    margin: 0 auto 0.3rem;
}

.event-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.3rem;
    line-height: 1.2;
    color: var(--accent-deep);
}

.event-day {
    font-weight: 700;
}

.event-time i {
    margin-right: 6px;
    color: var(--accent);
}

.event-place {
    margin-top: 0.5rem;
    font-weight: 700;
}

.event-addr {
    max-width: 24ch;
    margin: 0 auto 0.95rem;
    font-size: 1rem;
    line-height: 1.4;
}

/* ---------- Susunan acara ---------- */
.rundown {
    list-style: none;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    padding-left: 1.9rem;
    text-align: left;
}

.rundown::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(0, 0, 0, 0.08));
    transform-origin: 50% 0;
}

.rundown li {
    position: relative;
    padding-bottom: 1.6rem;
}

.rundown li:last-child {
    padding-bottom: 0;
}

.rundown li::before {
    content: '';
    position: absolute;
    left: -1.9rem;
    top: 8px;
    width: 12px;
    height: 12px;
    margin: -1px 0 0 -1px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--bg);
}

.rd-time {
    display: block;
    font-weight: 700;
    font-size: 1.02rem;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--accent);
}

.rd-body h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.15;
}

.rd-body p {
    font-size: 1.02rem;
    line-height: 1.45;
}

/* ---------- Kisah ---------- */
.story-card {
    max-width: 330px;
    margin: 0 auto 2.6rem;
    padding: 0.9rem 0.9rem 1.2rem;
    border-radius: 16px;
    background: var(--card);
    border: 1.5px solid var(--card-edge);
    box-shadow: 0 14px 28px rgba(var(--sh), 0.16);
}

.story-card:last-child {
    margin-bottom: 0;
}

.story-photo {
    position: relative;
    aspect-ratio: 7 / 5;
    border-radius: 10px;
}

.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background: var(--accent-soft);
}

.story-year {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 0.05rem 0.85rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.6;
}

.story-card h3 {
    margin-top: 0.8rem;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.15;
    color: var(--accent-deep);
}

.story-card p {
    margin-top: 0.2rem;
    font-size: 1.03rem;
    line-height: 1.5;
}

/* ---------- Galeri + lightbox ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}

.g-item {
    padding: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    border-radius: 12px;
    background: var(--card-edge);
    box-shadow: 0 10px 18px rgba(var(--sh), 0.24);
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
    transition: transform 0.7s var(--ease);
}

.g-item:hover img {
    transform: scale(1.06);
}

.g-tall {
    grid-row: span 2;
}

.g-wide {
    grid-column: span 2;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lb-bg);
}

.lightbox[hidden] {
    display: none;
}

.lb-img {
    max-width: 92vw;
    max-height: 82dvh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lb-img.swap {
    animation: lbImg 0.45s var(--ease);
}

.lightbox button {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 1px solid var(--lb-line);
    border-radius: 50%;
    background: var(--lb-btn);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.lightbox button:hover {
    transform: scale(1.08);
}

.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 12px; top: 50%; margin-top: -23px; }
.lb-next { right: 12px; top: 50%; margin-top: -23px; }

/* ---------- Tanda kasih ---------- */
.bank-list {
    display: grid;
    gap: 1.2rem;
    max-width: 330px;
    margin: 2rem auto 0;
}

.bank-card {
    padding: 1.3rem 1.2rem 1.4rem;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(var(--sh), 0.16);
}

.bank-name {
    font-weight: 700;
}

.bank-name i {
    margin-right: 6px;
    color: var(--accent);
}

.bank-number {
    margin-top: 0.15rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--accent-deep);
}

.bank-address {
    margin: 0.3rem auto 0;
    max-width: 22ch;
    line-height: 1.4;
}

.bank-holder {
    margin-bottom: 0.85rem;
    font-size: 1.02rem;
}

/* ---------- RSVP & ucapan ---------- */
.rsvp-form {
    max-width: 330px;
    margin: 0 auto;
    padding: 1.3rem 1.2rem 1.4rem;
    border-radius: 18px;
    background: var(--card);
    border: 1.5px solid var(--card-edge);
    box-shadow: 0 12px 24px rgba(var(--sh), 0.18);
    text-align: left;
}

.field {
    margin-bottom: 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.field label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.98rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8a7a7a;
}

.field textarea {
    resize: vertical;
}

.wishes-feed {
    max-width: 330px;
    max-height: 380px;
    margin: 2rem auto 0;
    padding: 0.2rem;
    overflow-y: auto;
    display: grid;
    gap: 0.8rem;
    text-align: left;
}

.wish-card {
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    color: var(--ink);
}

.wish-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
}

.wish-author {
    font-weight: 700;
    color: var(--accent-deep);
}

.wish-status {
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ok);
}

.wish-status-no {
    color: var(--no);
}

.wish-text {
    margin-top: 0.15rem;
    font-size: 1.02rem;
    line-height: 1.45;
}

.wish-new {
    animation: newWish 0.8s var(--ease);
}

/* ---------- Penutup ---------- */
.closing {
    padding: 6rem 1.75rem 11rem;
}

.closing-text {
    max-width: 28ch;
    margin: 0 auto;
}

.closing-salam {
    margin-top: 1rem;
    font-family: var(--font-arab);
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--accent-deep);
}

.closing-regards {
    margin-top: 0.9rem;
}

.closing-names {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 13vw, 3.6rem);
    line-height: 1.2;
    white-space: nowrap;
    color: var(--accent-deep);
}

.footer-credit {
    margin-top: 1.2rem;
    font-size: 0.96rem;
    line-height: 1.4;
}

.footer-credit .fa-heart {
    color: var(--accent);
}

.footer-credit a {
    color: var(--accent-deep);
    font-weight: 700;
    text-decoration: none;
}

/* ==========================================================================
   MUSIK & NAVIGASI BAWAH (gaya sama dengan desain 16-35)
   ========================================================================== */
#music-btn {
    position: fixed;
    top: 18px;
    right: max(18px, calc(50% - 240px + 18px));
    width: 42px;
    height: 42px;
    border: 1px solid var(--music-line);
    border-radius: 50%;
    background: var(--music-bg);
    color: var(--music-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(var(--sh), 0.32);
    animation: rotateMusic 4s linear infinite;
}

#music-btn.paused {
    animation-play-state: paused;
    opacity: 0.94;
}

#music-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid var(--music-line);
    opacity: 0;
    pointer-events: none;
}

#music-btn:not(.paused)::after {
    animation: ripple 2.4s var(--ease) infinite;
}

.bottom-nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--nav-line);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    display: flex;
    gap: clamp(0.7rem, 3.6vw, 1.5rem);
    z-index: 998;
    box-shadow: 0 8px 25px rgba(var(--sh), 0.3);
}

.nav-item {
    color: var(--nav-ink);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    opacity: 0.84;
    transition: color 0.3s, transform 0.3s, opacity 0.3s;
}

.nav-item i {
    font-size: 1.1rem;
}

.nav-item.active,
.nav-item:hover {
    color: var(--nav-on);
    opacity: 1;
    transform: translateY(-2px);
}

.nav-item.active i {
    color: var(--nav-ico);
    animation: navPop 0.55s cubic-bezier(0.34, 1.8, 0.64, 1);
}

body.opened .bottom-nav {
    animation: navIn 1.2s cubic-bezier(0.34, 1.45, 0.64, 1) calc(var(--cover-delay) - 0.4s) backwards;
}

/* ==========================================================================
   ANIMASI
   ========================================================================== */
@keyframes coverIn {
    from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: translateY(22px) scale(0.82); }
    to   { opacity: 1; transform: none; }
}

@keyframes lbImg {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: none; }
}

@keyframes newWish {
    from { opacity: 0; transform: translateY(-14px); background: var(--accent-soft); }
    to   { opacity: 1; transform: none; }
}

@keyframes tick {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
}

@keyframes rotateMusic {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes ripple {
    from { transform: scale(1); opacity: 0.7; }
    to   { transform: scale(1.9); opacity: 0; }
}

@keyframes navIn {
    from { transform: translate(-50%, 160%); opacity: 0; }
    to   { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes navPop {
    0%   { transform: scale(0.7); }
    60%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* ---------- muncul saat digulir ---------- */
.js [data-reveal] {
    opacity: 0;
    transition:
        opacity 1.2s var(--ease) var(--d, 0s),
        transform 1.4s var(--ease) var(--d, 0s),
        filter 1.2s var(--ease) var(--d, 0s),
        clip-path 1.8s var(--ease) var(--d, 0s);
}

.js [data-reveal="up"] {
    transform: translateY(28px);
    filter: blur(6px);
}

.js [data-reveal="slide"] {
    transform: translateX(-22px);
    filter: blur(4px);
}

.js [data-reveal="card"] {
    transform: translateY(46px) scale(0.95);
    filter: blur(4px);
}

.js [data-reveal="pop"] {
    transform: translateY(22px) scale(0.9);
}

/* irisan awal 1px agar IntersectionObserver selalu menganggapnya berpotongan */
.js [data-reveal="oval"] {
    clip-path: inset(calc(100% - 1px) 0 0 0 round 50%);
}

.js [data-reveal="oval"] img {
    transform: scale(1.18);
    transition: transform 2.4s var(--ease) var(--d, 0s);
}

.js [data-reveal="arch"] {
    clip-path: inset(calc(100% - 1px) 0 0 0 round 999px 999px 16px 16px);
}

.js [data-reveal="arch"] img {
    transform: scale(1.14);
    transition: transform 2.4s var(--ease) var(--d, 0s);
}

.js [data-reveal="write"] {
    clip-path: inset(-30% calc(100% - 1px) -30% -6%);
    transition-duration: 1.2s, 1.4s, 1.2s, 2.2s;
    transition-timing-function: var(--ease), var(--ease), var(--ease), cubic-bezier(0.45, 0.05, 0.25, 1);
}

.js [data-reveal="line"] {
    opacity: 1;
}

.js [data-reveal="line"]::before {
    transform: scaleY(0);
    transition: transform 2.8s var(--ease) var(--d, 0s);
}

.js [data-reveal].in {
    opacity: 1;
}

.js [data-reveal="up"].in,
.js [data-reveal="slide"].in,
.js [data-reveal="card"].in,
.js [data-reveal="pop"].in {
    transform: none;
    filter: none;
}

.js [data-reveal="oval"].in {
    clip-path: inset(0 0 0 0 round 50%);
}

.js [data-reveal="arch"].in {
    clip-path: inset(0 0 0 0 round 999px 999px 16px 16px);
}

.js [data-reveal="oval"].in img,
.js [data-reveal="arch"].in img {
    transform: none;
}

.js [data-reveal="write"].in {
    clip-path: inset(-30% -6% -30% -6%);
}

.js [data-reveal="line"].in::before {
    transform: none;
}

.cd-number.tick {
    animation: tick 0.55s var(--ease);
}

/* ==========================================================================
   KHUSUS DESAIN 20
   ========================================================================== */

:root {
    --bg: #EEDEE9;
    --ink: #3D2F49;
    --ink-soft: #5E4B6D;
    --accent: #985185;
    --accent-deep: #7B3A6B;
    --accent-soft: #F3E4F3;
    --line: rgba(152, 81, 133, 0.5);
    --card: rgba(255, 255, 255, 0.7);
    --card-edge: rgba(255, 255, 255, 0.92);
    --sh: 61, 47, 73;
    --btn-a: #B36DA0;
    --btn-b: #8A3F78;
    --btn-ink: #ffffff;
    --btn-hi: rgba(255, 255, 255, 0.34);
    --nav-bg: rgba(248, 238, 250, 0.95);
    --nav-line: rgba(152, 81, 133, 0.45);
    --nav-ink: #5E4B6D;
    --nav-on: #7B3A6B;
    --nav-ico: #985185;
    --music-bg: #985185;
    --music-ink: #ffffff;
    --music-line: rgba(255, 255, 255, 0.75);
    --lb-bg: rgba(35, 25, 48, 0.96);
    --lb-btn: rgba(123, 58, 107, 0.96);
    --lb-line: rgba(255, 255, 255, 0.55);
    --font-display: 'Arizonia', 'Dancing Script', 'Brush Script MT', cursive;
    --font-body: 'Questrial', 'Segoe UI', sans-serif;
    --fs: 1.08rem;
    --cover-delay: 2s;

    --mint: #7FD3C4;
    --ink-d: #3D2F49;
    --mag: #C0348E;
    --edge: 36px;
}

body {
    font-weight: 400;
}

strong,
.btn,
.event-day,
.person-full,
.rd-time,
.bank-name,
.bank-number,
.wish-author,
.wish-status,
.nav-item,
.field label,
.sec-date,
.cd-number,
.story-year,
.ayat cite {
    font-weight: 400;
}

.btn {
    border-radius: 14px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-small {
    border-radius: 999px;
}

/* ---------- Permukaan: lembar air & mauve ---------- */
.wash,
.deep {
    color: var(--ink);
    background-color: #E9D5F2;
    background-image: url('../images/wash.svg');
    background-size: 100% auto;
    background-position: 50% 0;
    background-repeat: repeat-y;
}

.deep {
    background-color: #D8BEEA;
    background-image: url('../images/wash-deep.svg');
}

.mauve {
    background-color: #EEDEE9;
    background-image: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 255, 255, 0.5), transparent 70%);
}

.dusk {
    color: #EBDDF1;
    background:
        radial-gradient(ellipse 80% 30% at 50% 0%, rgba(192, 52, 142, 0.22), transparent 70%),
        #3D2F49;
}

.edge {
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    z-index: 4;
    height: var(--edge);
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: 480px var(--edge);
}

.edge-wash { background-image: url('../images/edge-wash.svg'); }
.edge-deep { background-image: url('../images/edge-deep.svg'); }
.edge-mauve { background-image: url('../images/edge-mauve.svg'); }

section,
.closing {
    padding-top: 6.4rem;
}

.sec-title {
    margin-bottom: 1.3rem;
    font-weight: 400;
    font-size: clamp(2.8rem, 13.5vw, 3.7rem);
    line-height: 1.2;
    color: var(--accent);
}

.sec-title::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: min(92%, 310px);
    aspect-ratio: 300 / 80;
    translate: -50% -50%;
    background: url('../images/brush.svg') center / 100% 100% no-repeat;
}

.sec-date {
    margin-top: -0.4rem;
    color: var(--accent-deep);
}

.lead {
    color: var(--ink);
}

/* ==========================================================================
   KUPU-KUPU (unsur bintang)
   ========================================================================== */
.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.bf {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.bf .wing {
    transform-origin: 100px 90px;
    animation: flapIdle 5.2s ease-in-out var(--wd, 0s) infinite;
}

@keyframes flapIdle {
    0%, 58%, 100% { transform: scaleX(1); }
    66% { transform: scaleX(0.62); }
    74% { transform: scaleX(1); }
    82% { transform: scaleX(0.66); }
    90% { transform: scaleX(1); }
}

@keyframes flapFast {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.22); }
}

.sleaf {
    position: absolute;
    z-index: 2;
    top: calc(var(--edge) - 24px);
    width: clamp(80px, 23vw, 104px);
    height: auto;
    opacity: 0.92;
}

.sleaf-l { left: -14px; scale: 1 -1; }
.sleaf-r { right: -14px; scale: -1 -1; }

/* ==========================================================================
   PANGGUNG: sampul & hero memakai adegan yang sama
   ========================================================================== */
.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background-color: #EADAF4;
    background-image: url('../images/petals.svg'), url('../images/wash-cover.svg');
    background-size: cover, cover;
    background-position: 50% 50%, 50% 50%;
    background-repeat: no-repeat;
}

#home {
    padding: 0 0 3.2rem;
    background-image: none;
}

#home .stage {
    position: relative;
    height: calc(var(--vh) * 100);
    min-height: 540px;
}

.cover-stage {
    justify-content: flex-start;
}

.scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.leaf {
    position: absolute;
    width: clamp(112px, 36vw, 172px);
    height: auto;
}

.leaf-tl { top: -12px; left: -22px; scale: 1 -1; animation: sway 8s ease-in-out infinite; }
.leaf-tr { top: -12px; right: -22px; scale: -1 -1; animation: sway 9.5s ease-in-out -2s infinite reverse; }
.leaf-bl { bottom: -12px; left: -22px; animation: sway 10s ease-in-out -4s infinite; }
.leaf-br { bottom: -12px; right: -22px; scale: -1 1; animation: sway 8.5s ease-in-out -1s infinite reverse; }

@keyframes sway {
    0%, 100% { rotate: -1.4deg; }
    50% { rotate: 1.8deg; }
}

/* foto bujur telur: garis tipis ungu + dua kupu-kupu & ranting di sudutnya */
.oval {
    position: relative;
    z-index: 3;
    flex: none;
    width: min(62vw, calc(var(--vh) * 31), 262px);
    aspect-ratio: 3 / 4.15;
    margin-top: calc(var(--vh) * 6);
}

.oval-photo {
    position: absolute;
    inset: 0;
    padding: 6px;
    border-radius: 50%;
    background: #FBF4FB;
    box-shadow:
        0 0 0 1.5px var(--accent),
        0 0 0 6px #EFE0F3,
        0 0 0 7.5px var(--accent),
        0 16px 26px rgba(61, 47, 73, 0.25);
}

.oval-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 50%;
}

.bf-c {
    position: absolute;
    z-index: 3;
    width: 34%;
    filter: drop-shadow(0 4px 5px rgba(61, 47, 73, 0.28));
}

.bf-c-tl { left: -19%; top: -5%; rotate: -20deg; }
.bf-c-br { right: -19%; bottom: 2%; rotate: 16deg; --wd: -2.1s; }

.sprig {
    position: absolute;
    z-index: 2;
    width: 36%;
    height: auto;
}

.sprig-tl { left: -16%; top: 6%; rotate: -8deg; }
.sprig-br { right: -16%; bottom: 8%; rotate: 172deg; }

.names {
    position: relative;
    z-index: 3;
    margin-top: calc(var(--vh) * 3.4);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 12.4vw, 3.4rem);
    line-height: 1.15;
    white-space: nowrap;
    text-align: center;
    color: var(--accent);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
}

.amp-s {
    font-family: 'Clicker Script', var(--font-display);
    font-size: 0.82em;
    color: var(--accent-deep);
}

/* ---------- Sampul: kupu-kupu terbang menjauh ---------- */
.fly {
    position: absolute;
    z-index: 2;
}

.fly-tl { top: 11%; left: -18%; width: 44%; rotate: -24deg; }
.fly-tr { top: 11%; right: 3%; width: 24%; rotate: 14deg; --wd: -0.9s; }
.fly-bl { bottom: 19%; left: -7%; width: 27%; rotate: -12deg; --wd: -2.4s; }
.fly-bc { bottom: -9%; left: calc(50% - min(46%, calc(var(--vh) * 22)) / 2); width: min(46%, calc(var(--vh) * 22)); rotate: 5deg; --wd: -1.6s; }

#cover.opened .fly {
    animation: flyAway 1.85s cubic-bezier(0.4, 0.05, 0.55, 0.95) var(--fd, 0s) forwards;
}

#cover.opened .fly .wing {
    animation: flapFast 0.2s ease-in-out infinite;
}

#cover.opened .fly .bf {
    animation: bob 0.46s ease-in-out infinite alternate;
}

@keyframes bob {
    from { translate: 0 -6%; }
    to   { translate: 0 6%; }
}

@keyframes flyAway {
    0%   { translate: 0 0; scale: 1; opacity: 1; }
    22%  { translate: calc(var(--fx) * 0.1) calc(var(--fy) * 0.04 + 10px); scale: 1.04; opacity: 1; }
    58%  { translate: calc(var(--fx) * 0.5) calc(var(--fy) * 0.5); scale: 1.16; opacity: 1; }
    100% { translate: var(--fx) var(--fy); scale: 1.32; opacity: 0; }
}

.cover-names {
    margin-top: calc(var(--vh) * 3.2);
}

.cover-guest,
.hero-meta {
    margin-top: auto;
    margin-bottom: calc(var(--vh) * 10.5);
    padding: 0 1rem;
    position: relative;
    z-index: 5;
}

.cover-to {
    color: var(--ink-soft);
}

.cover-guest-name {
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 10vw, 2.8rem);
    color: var(--accent);
}

.cover-note {
    color: var(--ink);
    font-size: 0.98rem;
}

#cover .btn {
    min-width: 214px;
    box-shadow: 0 10px 18px rgba(123, 58, 107, 0.34), inset 0 1px 0 var(--btn-hi);
}

/* ---------- Hero ---------- */
.hero-meta {
    margin-bottom: calc(var(--vh) * 22);
    text-align: center;
}

.hero-date {
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    color: var(--accent-deep);
}

.hero-place {
    margin-top: 0.1rem;
    color: var(--ink-soft);
}

.hero-rest {
    margin-top: 1.6rem;
}

.ayat {
    border: 1px solid var(--line);
    border-radius: 26px;
    outline: 1px solid rgba(152, 81, 133, 0.32);
    outline-offset: 4px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 22px rgba(61, 47, 73, 0.12);
}

.ayat cite {
    color: var(--accent-deep);
}

.countdown {
    gap: 8px;
}

.cd-item {
    width: 64px;
    aspect-ratio: 4 / 5;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #A4609A, #7B3A6B);
    border: 0;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7), 0 0 0 4.5px rgba(152, 81, 133, 0.7), 0 10px 16px rgba(61, 47, 73, 0.25);
}

.cd-number {
    font-size: 1.55rem;
    line-height: 1.15;
    color: #ffffff;
}

.cd-label {
    font-size: 0.86rem;
    line-height: 1.2;
    color: #F3DDF0;
}

/* ---------- Pembukaan ---------- */
.salam {
    color: var(--accent-deep);
}

.arch-photo {
    position: relative;
    width: min(60vw, 238px);
    aspect-ratio: 3 / 4.1;
    margin-top: 2.6rem;
    padding: 6px;
    border-radius: 50%;
    background: #FBF4FB;
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 6px #F6EAF6, 0 0 0 7.5px var(--accent), 0 16px 26px rgba(61, 47, 73, 0.22);
}

.arch-photo img {
    border-radius: 50%;
}

.arch-photo::before,
.round-photo::before {
    content: '';
    position: absolute;
    z-index: 2;
    left: -17%;
    top: -4%;
    width: 36%;
    aspect-ratio: 200 / 175;
    rotate: -20deg;
    background: url('../images/bf-a.svg') center / contain no-repeat;
    filter: drop-shadow(0 3px 4px rgba(61, 47, 73, 0.25));
}

.arch-photo::after,
.round-photo::after {
    content: '';
    position: absolute;
    z-index: 2;
    right: -15%;
    bottom: 4%;
    width: 33%;
    aspect-ratio: 200 / 175;
    rotate: 17deg;
    background: url('../images/bf-b.svg') center / contain no-repeat;
    filter: drop-shadow(0 3px 4px rgba(61, 47, 73, 0.25));
}

/* ---------- Mempelai ---------- */
.round-photo {
    width: min(52vw, 204px);
    aspect-ratio: 3 / 4.1;
}

.round-photo img {
    border: 0;
    border-radius: 50%;
    padding: 6px;
    background: #FBF4FB;
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 6px #F6EAF6, 0 0 0 7.5px var(--accent), 0 14px 24px rgba(61, 47, 73, 0.22);
}

.person:nth-of-type(2) .round-photo::before {
    left: auto;
    right: -17%;
    top: -4%;
    rotate: 20deg;
    scale: -1 1;
}

.person:nth-of-type(2) .round-photo::after {
    right: auto;
    left: -15%;
    rotate: -17deg;
    scale: -1 1;
}

.person-name {
    margin-top: 1.7rem;
    font-weight: 400;
    font-size: 3.3rem;
    color: var(--accent);
}

.person-full {
    color: var(--ink);
}

.person-parents strong {
    color: var(--accent-deep);
}

.person .btn {
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent-deep);
    border: 1px solid var(--accent);
    box-shadow: none;
}

.amp {
    font-family: 'Clicker Script', var(--font-display);
    font-size: 4.6rem;
    margin: 2.2rem 0 1.8rem;
    color: var(--accent-deep);
}

/* ---------- Acara ---------- */
#event {
    padding-top: 9.6rem;
}

.flowers {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: calc(var(--edge) - 6px);
    width: min(64%, 250px);
    height: auto;
    translate: -50% 0;
}

.event-list {
    gap: 2.2rem;
}

.event-card {
    width: min(100%, 322px);
    padding: 0 1.4rem 1.6rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--accent);
    box-shadow: 0 14px 24px rgba(61, 47, 73, 0.14);
}

.event-card::after {
    content: '';
    position: absolute;
    right: 12px;
    top: -22px;
    width: 52px;
    aspect-ratio: 200 / 175;
    rotate: 14deg;
    background: url('../images/bf-a.svg') center / contain no-repeat;
    filter: drop-shadow(0 3px 4px rgba(61, 47, 73, 0.25));
}

.event-card:nth-child(2)::after {
    right: auto;
    left: 12px;
    rotate: -14deg;
    scale: -1 1;
    background-image: url('../images/bf-b.svg');
}

.event-emblem {
    display: none;
}

.event-title {
    margin: 0 -1.4rem 1rem;
    padding: 0.5rem 1rem 0.35rem;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(180deg, #A4609A, #8A3F78);
    color: #ffffff;
    font-size: 2.15rem;
    line-height: 1.2;
}

.event-day {
    color: var(--accent-deep);
}

.event-time i {
    color: var(--accent);
}

.event-place {
    color: var(--ink);
}

.event-addr {
    color: var(--ink-soft);
}

/* ---------- Susunan acara: garis tengah, entri bergantian ---------- */
.rundown {
    max-width: 340px;
    padding-left: 0;
}

.rundown::before {
    left: 50%;
    translate: -50% 0;
    width: 1.5px;
    background: linear-gradient(180deg, var(--accent), rgba(152, 81, 133, 0.25));
}

.rundown li {
    width: 50%;
    padding: 0 1.15rem 1.7rem 0;
    text-align: right;
}

.rundown li:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 1.7rem 1.15rem;
    text-align: left;
}

.rundown li::before {
    left: auto;
    right: -6px;
    top: 7px;
    width: 12px;
    height: 12px;
    margin: 0;
    background: var(--mag);
    box-shadow: 0 0 0 3px #E9D5F2, 0 0 0 4.5px rgba(192, 52, 142, 0.5);
}

.rundown li:nth-child(even)::before {
    right: auto;
    left: -6px;
}

.rd-time {
    color: var(--accent-deep);
    font-size: 1rem;
}

.rd-body h3 {
    font-size: 1.75rem;
    line-height: 1.1;
    color: var(--accent);
}

.rd-body p {
    font-size: 0.94rem;
    line-height: 1.4;
    color: var(--ink);
}

/* ---------- Kisah ---------- */
.story-card {
    max-width: 320px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    margin-bottom: 3.4rem;
}

.story-photo {
    width: min(100%, 290px);
    margin: 0 auto;
    aspect-ratio: 7 / 5;
    padding: 6px;
    border-radius: 50%;
    background: #FBF4FB;
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 6px #F6EAF6, 0 0 0 7.5px var(--accent), 0 14px 24px rgba(61, 47, 73, 0.2);
}

.story-photo img {
    border-radius: 50%;
}

.story-year {
    left: 50%;
    bottom: -16px;
    translate: -50% 0;
    padding: 0.05rem 1.1rem;
    background: linear-gradient(180deg, #A4609A, #7B3A6B);
    border: 1.5px solid #FBF4FB;
    box-shadow: 0 6px 10px rgba(61, 47, 73, 0.25);
    letter-spacing: 0.06em;
}

.story-card h3 {
    margin-top: 1.9rem;
    font-size: 2.45rem;
    color: var(--accent);
}

.story-card p {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

.story-card:not(:last-child)::after {
    content: '';
    display: block;
    width: 38px;
    aspect-ratio: 200 / 175;
    margin: 1.7rem auto -1.5rem;
    rotate: 12deg;
    background: url('../images/bf-b.svg') center / contain no-repeat;
    opacity: 0.9;
}

/* ---------- Galeri: medali bujur telur ---------- */
.gallery-grid {
    grid-auto-rows: 168px;
    gap: 14px;
}

.g-item {
    padding: 5px;
    border-radius: 50%;
    background: #FBF4FB;
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 5px rgba(251, 244, 251, 0.85), 0 10px 16px rgba(61, 47, 73, 0.2);
}

.g-item img {
    border-radius: 50%;
}

/* ---------- Tanda kasih: kartu kaca ---------- */
.deep .lead {
    color: #2F2340;
}

.bank-card {
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.34);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 26px rgba(61, 47, 73, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bank-name i {
    color: var(--accent-deep);
}

.bank-number {
    color: var(--ink-d);
    letter-spacing: 0.04em;
}

.bank-holder,
.bank-address {
    color: var(--ink);
}

/* ---------- RSVP & ucapan ---------- */
.rsvp-form {
    border: 1px solid var(--accent);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 24px rgba(61, 47, 73, 0.14);
}

.field input,
.field select,
.field textarea {
    border: 1px solid rgba(152, 81, 133, 0.45);
    background: #ffffff;
    color: var(--ink);
}

.wish-card {
    border: 0;
    border-left: 3px solid var(--mint);
    border-radius: 6px 16px 16px 6px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 6px 12px rgba(61, 47, 73, 0.1);
}

.wish-author {
    color: var(--accent-deep);
}

/* ---------- Penutup: ungu tua, foto bujur telur + pita ---------- */
.closing {
    padding-top: 6.2rem;
    padding-bottom: 3.4rem;
}

.end {
    position: relative;
    width: min(66vw, 252px);
    margin: 0 auto 3.4rem;
}

.end-oval {
    aspect-ratio: 3 / 4.1;
    padding: 6px;
    border-radius: 50%;
    background: #EFE0F3;
    box-shadow: 0 0 0 1.5px #E9B4D8, 0 0 0 6px #3D2F49, 0 0 0 7.5px #E9B4D8;
}

.end-oval img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.bf-end-l { left: -20%; top: -3%; rotate: -20deg; }
.bf-end-r { right: -20%; top: 8%; rotate: 18deg; --wd: -1.8s; }

.ribbon {
    position: absolute;
    left: 50%;
    bottom: -34px;
    width: min(88vw, 300px);
    aspect-ratio: 320 / 64;
    translate: -50% 0;
    background: url('../images/ribbon.svg') center / 100% 100% no-repeat;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

.ribbon span {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 4%;
    bottom: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.85rem;
    line-height: 1;
    color: #ffffff;
}

.closing-text {
    color: #EBDDF1;
}

.closing-salam {
    color: #F2C6E1;
}

.closing-regards {
    color: #D9C6E3;
}

.closing-names {
    color: #F5C3E0;
    font-weight: 400;
    font-size: clamp(2.7rem, 12.6vw, 3.5rem);
}

.footer-credit,
.footer-credit a {
    color: #C9B6D6;
    font-weight: 400;
}

.footer-credit .fa-heart {
    color: #E9B4D8;
}

@media (max-width: 360px) {
    .cd-item { width: 58px; }
    .rundown li { padding-right: 0.9rem; }
    .rundown li:nth-child(even) { padding-left: 0.9rem; }
    .rd-body h3 { font-size: 1.6rem; }
}

@media (max-height: 700px) {
    .oval { margin-top: calc(var(--vh) * 5); }
    .cover-guest { margin-bottom: calc(var(--vh) * 9); }
}

/* ==========================================================================
   RESPONSIF & AKSESIBILITAS
   ========================================================================== */
@media (max-height: 700px) {
    .cover-note {
        display: none;
    }
}

@media (max-width: 360px) {
    section,
    .closing {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .bottom-nav {
        padding: 0.45rem 0.9rem;
    }

    .nav-item {
        font-size: 0.78rem;
    }

    .cd-item {
        width: 60px;
    }

    .cd-number {
        font-size: 1.4rem;
    }

    .event-card {
        padding-left: 1.3rem;
        padding-right: 1.3rem;
    }

    .bank-number {
        font-size: 1.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    #cover.opened {
        display: none;
    }

    .js [data-reveal] {
        opacity: 1;
        clip-path: none;
        transform: none;
        filter: none;
    }

    .js [data-reveal="oval"] img,
    .js [data-reveal="arch"] img,
    .js [data-reveal="line"]::before {
        transform: none;
    }
}
