@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Spectral:wght@300;400;500;600;700&display=swap');

:root {
    --accent: #ffffff;
    --accent-rgb: 255, 255, 255;
    --secondary: #6F594B;
    --primary: #907B6D;
    --neutral: #000000;
    --cover-dekor-top-h: 142px;
    --cover-dekor-bottom-h: 148px;
    --desktop-canvas-width: 390px;
}

@font-face {
    font-family: 'Creattion';
    src: url('./Creattion Demo.otf') format('opentype');
    font-display: swap;
}


* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #120f0f;
    color: var(--neutral);
    font-family: Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    --demo-bar-height: 0px;
    padding-top: var(--demo-bar-height);
}

section h1,
section h2,
section h3,
section h4,
section h5,
section h6 {
    font-family: 'Playfair Display', sans-serif;
    line-height: 1.05;
    margin: 0;
}

.vintage-section {
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

/* ===== DEMO MODE WIDGET ===== */
.widget.fixed-top[data-feature="demo_mode"] {
    z-index: 1001;
    pointer-events: none;
    padding: 0.5rem 0.65rem 0;
    width: min(100%, var(--desktop-canvas-width));
    margin-inline: auto;
}

.widget.fixed-top[data-feature="demo_mode"] .widget-pesan {
    pointer-events: auto;
    width: min(100%, 760px);
    margin: 0 auto;
    min-height: 52px;
    border-radius: 999px;
    background: #494949;
    padding: 0.45rem 0.55rem;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.widget.fixed-top[data-feature="demo_mode"] .btn-back {
    display: flex;
    justify-content: center;
}

.widget.fixed-top[data-feature="demo_mode"] .btn-back a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(var(--accent-rgb), 0.14);
}

.widget.fixed-top[data-feature="demo_mode"] .btn-back .bi {
    color: var(--accent);
    font-size: 1.25rem;
    line-height: 1;
}

.widget.fixed-top[data-feature="demo_mode"] .katalog h6 {
    margin: 0;
    color: var(--accent);
    font-family: Verdana, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: center;
}

.widget.fixed-top[data-feature="demo_mode"] .btn-pesan {
    min-height: 36px;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    background: var(--accent);
    color: var(--neutral);
    transition: filter 0.2s ease;
}

.widget.fixed-top[data-feature="demo_mode"] .btn-pesan:hover {
    filter: brightness(0.96);
}

.widget.fixed-top[data-feature="demo_mode"] .btn-pesan .bi {
    font-size: 1rem;
    line-height: 1;
}

.widget.fixed-top[data-feature="demo_mode"] .btn-pesan h6 {
    margin: 0;
    color: inherit;
    font-family: Verdana, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
}

/* ===== DECORATIVE FRAMES ===== */


.decor-frame::before,
.dekor-atas-section::before,
.decor-frame::after,
.dekor-bawah-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.decor-frame::before,
.dekor-atas-section::before {
    top: 0;
    height: var(--decor-top-h);
    z-index: var(--decor-z-index);
    background: var(--decor-top-bg);
}

.decor-frame::after,
.dekor-bawah-section::after {
    bottom: 0;
    height: var(--decor-bottom-h);
    z-index: var(--decor-z-index);
    background: var(--decor-bottom-bg);
}

/*
.dekor-background-section {
    background: url('./assets/bg-dompet-digitalii.webp') center/cover no-repeat !important;
}
*/
/* ===== COVER ===== */
#cover {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0;
    color: var(--accent);
    background: var(--neutral) var(--bg-hero) center 50% / cover no-repeat;
    align-items: stretch;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;

    background-position: center top;
    background-size: cover;
}




#cover.vintage-section::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(20 14 14 / 12%) 35%, rgb(0 0 0 / 41%) 55%, rgb(0 0 0 / 50%) 75%, rgb(0 0 0 / 82%) 100%);
}




#cover .dekor-layer {
    position: absolute;
    inset: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    pointer-events: none;
    overflow: visible;
    z-index: 2;
}

#cover .dekor {
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#cover .dekor-layer::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(92px, 14vw, 140px);
    background: url('./assets/dekor-bawah-1.webp') left bottom / 100% auto no-repeat;
    z-index: 1;
    pointer-events: none;
}

#cover .dekor-arjuno {
    left: 0px;
    bottom: clamp(10px, 4vw, 83px);
    width: clamp(90px, 18vw, 140px);
    height: clamp(170px, 30vw, 179px);
    background-image: url('./assets/arjuno.webp');
    background-position: left bottom;
    background-size: contain;
    z-index: 1;
    opacity: 0.95;
}

#cover .dekor-arjuno {
    left: 0px;
    bottom: clamp(10px, 4vw, 83px);
    width: clamp(90px, 18vw, 140px);
    height: clamp(170px, 30vw, 179px);
    background-image: url('./assets/arjuno.webp');
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.95;

    transform-origin: bottom center;
    animation: jatuhKananKiri 4s ease-in-out infinite;
}

@keyframes jatuhKananKiri {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-2deg);
    }
}

#cover .dekor-tengah {
    position: relative;

    width: clamp(118px, 24vw, 190px);
    height: clamp(73px, 24vw, 77px);

    margin: 0 auto 0rem;

    background-image: url('./assets/Dekor-tengah-putih.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    z-index: 2;
    opacity: .8;
}

#cover .cover-content {
    position: relative;
    z-index: 3;
}

.cover-desc {
    display: block !important;
    margin: 0;
    max-width: 21em;
    color: var(--accent);
    font-family: 'Spectral', sans-serif;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    line-height: 1.2;
}



.cover-content {
    position: relative;
    z-index: 3;
    width: min(100%, 390px);
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    gap: 0.62rem;
    padding: clamp(3rem, 5vh, 6.1rem) 1.2rem max(clamp(2.4rem, 6vh, 4rem), calc(env(safe-area-inset-bottom) + 1.25rem));
}

.cover-heading {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.cover-to {
    margin: 0;
    font-family: 'Spectral', serif;
    color: var(--accent);
    font-size: clamp(0.66rem, 1.9vw, 0.8rem);
    line-height: 1.45;
    white-space: nowrap;
}



.cover-title {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-family: 'Playfair Display';
    font-size: clamp(2.7rem, 7.8vw, 3.4rem) !important;
    line-height: 1;
    letter-spacing: 0.01em;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
    white-space: normal;
    overflow-wrap: break-word;

}

.btn-open {
    border: 0;
    border-radius: 40px;
    padding: 1.65rem -0.6rem;
    background: #7F5636;
    color: #494949;
    font-family: Verdana, sans-serif;
    letter-spacing: 0.01em;
    font-weight: 700;
    font-size: clamp(0.82rem, 3vw, 0.9rem);
    margin-bottom: max(82px, env(safe-area-inset-bottom));
    align-self: center;
    /* ← ubah dari flex-start ke center */
}

.btn-open:hover,
.btn-open:focus,
.btn-open:active,
.btn-open:focus-visible {
    background: #7F5636;
    color: #494949 !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.22) !important;
}

.btn-send {
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    background: var(--secondary);
    color: var(--primary);
    font-weight: 400;
    font-size: 0.9rem;
}

.btn.active,
.btn:active {
    background: var(--accent) !important;

}

/* ===== COUNTDOWN ===== */
#countdown {
    position: relative;
    background: url('./assets/bg-countdown-hitam.webp') center / cover no-repeat;
    ;
    display: flex;
    color: var(--accent);
    align-items: center;
    justify-content: center;
    min-height: 50svh !important;
    padding: 0.7rem 0.7rem;
}


#countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.countdown-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
    margin-top: 0.2rem;
}

#countdown .countdown-title {
    font-size: clamp(2.8rem, 8vw, 1.75rem);
    color: #ffffff;
    margin-top: -0.3rem;
    font-family: 'Courier New';
    margin-bottom: -0.15rem;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
    font-family: Creattion;
}

#countdown .countdown-subtitle {
    margin: 0 auto 0.35rem;
    color: rgba(var(--accent-rgb), 0.97);
    font-family: 'Spectral', sans-serif;
    font-size: clamp(0.8rem, 3vw, 0rem);
    line-height: 1.35;
}

#countdown .simply-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    width: min(100%, 260px);
    margin: 4px auto;
}

#countdown .simply-countdown>.simply-section {
    margin: 0 !important;
    text-align: center;
    border-radius: 8px;
    height: 35px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Spectral', sans-serif;
}

#countdown .simply-countdown>.simply-section>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
}

#countdown .simply-countdown>.simply-section .simply-amount {
    color: #FFFF;
    font-family: Verdana, sans-serif;
    font-size: clamp(0.8rem, 6vw, 1rem);
    line-height: 1;
    font-weight: normal;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    display: inline-block;
    text-align: center;
    font-family: 'Spectral', sans-serif;
}

#countdown .simply-countdown>.simply-section .simply-word {
    color: #FFFF;
    font-family: Verdana, sans-serif;
    font-size: clamp(0.6rem, 3vw, 0.8rem);
    line-height: 1;
    font-family: 'Spectral', sans-serif;
    text-transform: capitalize;
}

.dekor-tengah-bunga {
    position: absolute;

    top: -25%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 220px;
    height: 220px;

    background: url('./assets/dekor-tengah-bunga.webp') center / contain no-repeat;

    pointer-events: none;

    z-index: 1;
}

/* .specialday-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    width: min(100%, 260px);
    margin: 4px auto;
} */

/* .specialday-item {
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    height: 35px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Spectral', sans-serif;
} */

/* .specialday-number {
    color: var(--neutral);
    font-family: Verdana, sans-serif;
    font-size: clamp(1.2rem, 6vw, 0.8rem);
    line-height: 1;
    font-weight: normal;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    display: inline-block;
    text-align: center;
    font-size: 0.85rem;
    font-family: 'Spectral', sans-serif;
} */

/* .specialday-label {
    color: var(--neutral);
    font-family: Verdana, sans-serif;
    font-size: clamp(0.65rem, 3vw, 0.9rem);
    line-height: 1.05;
    font-size: 0.7rem;
    font-family: 'Spectral', sans-serif;
} */

/* ===== SECTION HEADINGS ===== */
#rundown h2,
#acara-utama h2 #footer h3 {
    font-size: clamp(2.5rem, 14vw, 1.55rem);
    color: var(--accent);
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    text-shadow: none;

}

#gallery h2 {
    font-size: clamp(2.5rem, 14vw, 1.55rem);
    color: #ffffff;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    /* ubah dari -3rem ke 1rem */
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
}

#informasi-acara h2 {
    font-size: clamp(2.5rem, 14vw, 1.55rem);
    color: #494949;
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
    font-family: 'Playfair Display', sans-serif;
}

#amplop-digital h2 {
    font-size: clamp(1.5rem, 14vw, 1.55rem);
    color: #292929;
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
}

/* ===== COUPLE ===== */
.couple-block {
    min-height: 100vh;
    padding: 6.5rem 0rem;
    background: #E9CCCC url('./assets/bg-putih.webp') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#couple-bride {
    background: url('./assets/bg-putih-2.webp') center / cover no-repeat;
}

/*
#couple-bride .dekor-arjuno {
    position: absolute;

    left: -5px;
    bottom: 0;

    width: 120px;
    height: 180px;

    background: url('./assets/arjuno.webp') center/contain no-repeat;

    z-index: 1;
    opacity: .95;

    animation: brideDekorKiri 4s ease-in-out infinite;
}

#couple-bride .dekor-arjuno2 {
    position: absolute;

    right: -5px;
    bottom: 0;

    width: 120px;
    height: 180px;

    background: url('./assets/arjuno2.webp') center/contain no-repeat;

    z-index: 1;
    opacity: .95;

    animation: brideDekorKanan 4s ease-in-out infinite;
}
*/
.couple-photo-wrap::before {
    content: "";

    position: absolute;

    left: -196px;
    top: 50%;
    transform: translateY(-50%);
    width: 364px;
    height: 318px;

    background:
        url('./assets/dekor-kiri-hitam.webp') center / contain no-repeat;

    opacity: .9;

    pointer-events: none;

    z-index: 1;
    transform-origin: bottom center;

    animation: goyangKanan 5s ease-in-out infinite;
}

.couple-photo-wrap::after {
    content: "";

    position: absolute;

    right: -190px;
    top: 50%;
    transform: translateY(-50%);
    width: 364px;
    height: 318px;

    background:
        url('./assets/dekor-kanan-hitam.webp') center / contain no-repeat;

    opacity: .9;

    pointer-events: none;

    z-index: 1;
    transform-origin: bottom center;

    animation: goyangKiri 5s ease-in-out infinite;

}



#couple-groom::after,
#couple-bride::after {
    transform-origin: bottom center;

    animation: goyangKiri 5s ease-in-out infinite;

}

#couple-groom::before,
#couple-bride::before {
    transform-origin: bottom center;

    animation: goyangKanan 5s ease-in-out infinite;
}

@keyframes goyangKiri {

    0%,
    100% {
        transform:
            translateY(-50%) rotate(0deg);
    }

    50% {
        transform:
            translateY(-50%) rotate(-10deg);
    }

}

@keyframes goyangKanan {

    0%,
    100% {
        transform:
            translateY(-50%) rotate(0deg);
    }

    50% {
        transform:
            translateY(-50%) rotate(10deg);
    }

}


.couple-photo {
    position: relative;
    width: 192px;
    height: 289px;
    object-fit: cover;
    object-position: center top;
    overflow: hidden;
    z-index: 2;
    background: #FFF;
    border: 2px solid #494949;
    top: 10px;
    border-radius: 117px;
}

.couple-content {
    position: relative;
    z-index: 2;
    width: min(100%, 620px);
    text-align: center;
    padding: 0 1.25rem;
    margin-top: 1.4rem;
    margin-bottom: 0;
}

.couple-content h2 {
    margin-top: 0.9rem;
    color: #494949;
    font-size: clamp(2.5rem, 17.2vw, 2.5rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-shadow: none;
}

.couple-desc {
    margin: 1rem auto 1.15rem !important;
    max-width: 18em;
    color: #494949;
    font-family: 'Spectral', sans-serif;
    font-size: clamp(1.0rem, 3.5vw, 0.1rem);
    line-height: 1.35;
    font-weight: 400;
}

.couple-parent {
    display: inline-block;
    margin: 0;
    padding: 0.5rem 0.95rem;
    border-radius: 30px;
    background: #494949;
    color: var(--accent);
    font-family: Verdana, sans-serif;
    font-size: clamp(0.92rem, 3vw, 1rem);
    line-height: 1.2;
    font-weight: 700;
}

.couple-block p {
    margin: 0;
}

.couple-block .panel,
.couple-block .role {
    display: none;
}

/* ===== .rundwon card ===== */
#rundown {
    background: #E9CCCC url('./assets/bg-hitam-2.webp') center / cover no-repeat;
    color: var(--accent);
    align-items: center;
    justify-content: center;
}

.rundown-list {
    display: grid;
    gap: 1.9rem;
    margin: 0 3rem;
}

.rundown-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
}

.rundown-title {
    color: var(--accent);
    font-size: clamp(4rem, 14vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-top: 0.3rem;
    margin-bottom: 0.7rem;
}

.rundown-subtitle {
    margin: 0 auto 1.45rem;
    color: rgba(var(--accent-rgb), 0.97);
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: clamp(1rem, 3vw, 1rem);
    line-height: 1.2;
    max-width: 21em;
}

#rundown .rundown-card {
    border-radius: 2px;
    border: 2px solid #494949;
    background: var(--accent);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow:
        0 0 0 4px var(--accent),
        0 0 0 6px #ffffff;
}

#rundown .rundown-card::after {
    content: "";
    position: relative;
    display: block;
    top: 9px;
    width: 120px;
    height: 1px;

    background: #494949;

    margin: 1.5rem auto 0;

    transform: translateY(-130px);
}

#rundown .rundown-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

#rundown .rundown-icon svg {
    width: 32px;
    height: 32px;
}

#rundown .rundown-list h3 {
    color: #494949;
    font-size: clamp(1rem, 8vw, 1.55rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    margin-bottom: 0.7rem;
}

#rundown .rundown-list p {
    margin: 0.18rem 0;
    color: #494949;
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: clamp(1rem, 3.05vw, 1rem);
    line-height: 1.35;
}

.dekor-tengah-hitam-2 {
    position: absolute;

    bottom: -12%;
    left: 50%;
    transform: translateX(-50%);
    width: 391px;
    height: 220px;

    background:
        url('./assets/dekor-bawah-hitam-2.webp') center / contain no-repeat;

    pointer-events: none;

    z-index: 4;
}


/* ===== INFORMASI ACARA ===== */
/*
#informasi-acara .dekor-bawah-coklat2 {

    position: absolute;

    left: 0px;
    bottom: -139px;
    width: 100%;
    height: 300px;


    background: url('./assets/Dekor-bawah-coklat-1.webp') center/contain no-repeat;

    z-index: 1;
    opacity: .95;

}
    */

#informasi-acara {
    background: #E9CCCC url('./assets/bg-putih-3.webp') center / cover no-repeat;
    color: var(--accent);
    align-items: center;
    justify-content: center;
}

#informasi-acara .dekor-bawah-coklat {
    position: absolute;

    left: 0px;
    /* bottom: -29px; */
    top: -122px;
    width: 441px;
    height: 272px;

    background: url('./assets/dekow-bawah-coklat-2.webp') center/contain no-repeat;

    z-index: 1;
    opacity: .95;


}

.info-location-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
}

.info-location-title {
    color: var(--accent);
    font-size: clamp(4rem, 14vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-top: 0.3rem;
    margin-bottom: 0.75rem;
}

.info-location-address {
    margin: 0 auto 1.45rem;
    color: #494949;
    font-family: 'Spectral', sans-serif;
    font-size: clamp(1rem, 3vw, 1rem);
    line-height: 1.35;
    max-width: 21em;
    text-transform: capitalize;
    font-weight: 400;
}

.info-map-frame {
    background: #2F2F2F;
    border: 2px solid #2F2F2F;
    border-radius: 5px;
    overflow: hidden;
    padding: 0;
    margin: 0 auto 1.25rem;
    max-width: 700px;
}

.info-map-frame iframe {
    display: block;
    width: 100%;
}

.info-map-btn {
    border: 0;
    padding: 0.60rem 1.65rem;
    border-radius: 40px;
    background: #494949;
    color: var(--accent);
    font-family: Verdana, sans-serif;
    font-size: clamp(1rem, 3.3vw, 1rem);
    font-weight: 400;
}

.info-map-btn:hover,
.info-map-btn:focus,
.info-map-btn:active,
.info-map-btn:focus-visible {
    background: #494949;

    color: var(--accent) !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2) !important;
}

/* ===== STORY ===== */
#story {
    background: #E9CCCC url('./assets/bg-putih-4.webp') center / cover no-repeat;
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 5.4rem;


}



#story h2 {
    font-size: clamp(2.5rem, 14vw, 1.55rem);
    color: #494949;
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
}

.story-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
}

.story-title {
    color: var(--accent);
    font-size: clamp(4rem, 14vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.story-subtitle {
    margin: 0 auto 1.9rem;
    color: #494949;
    font-family: 'Spectral', sans-serif;
    font-size: clamp(1rem, 3.1vw, 1rem);
    line-height: 1.35;
    max-width: 17em;
    font-weight: normal;
}

.story-list {
    display: grid;
    gap: 3rem;
    padding: 0 0.2rem;
}

.story-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    align-items: center;
    gap: 1.5rem;
    padding: 0 0.5rem;

}

.story-item:nth-child(even) {
    grid-template-columns: 146px minmax(0, 1fr);
}

.story-item:nth-child(even) .story-polaroid {
    order: 1;
    transform: rotate(-9deg);
}

.story-item:nth-child(even) .story-text {
    order: 2;
    text-align: start;
}

.story-item:nth-child(odd) .story-polaroid {
    transform: rotate(9deg);
}

.story-item:nth-child(odd) .story-text {
    text-align: end;
}

.story-text {
    padding: 0 0.2rem;
}

.story-text h3 {
    font-size: clamp(1.55rem, 14vw, 1.55rem);
    color: #494949;
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
}

.story-date {
    margin: 0;
    color: #494949;
    font-family: 'Spectral', sans-serif;
    font-size: clamp(1rem, 3.05vw, 1rem);
    line-height: 1.35;
    font-weight: 400;
}

.story-desc {
    margin: 0.35rem 0 0;
    color: #494949;
    font-family: 'Spectral', sans-serif;
    font-size: clamp(1rem, 3.1vw, 1rem);
    line-height: 1.35;
    font-weight: normal;
}

.story-polaroid {
    width: 140px;
    aspect-ratio: 164 / 196;
    justify-self: center;
    position: relative;
    background: url('./assets/bingkai.webp') center / contain no-repeat;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.2));
}

.story-polaroid img {
    position: absolute;
    top: 19px;
    left: 7px;
    width: 126px;
    height: 129px;
    object-fit: cover;
    border-radius: 3px;
}

/* ===== AMPLOP DIGITAL ===== */
/* ===== AMPLOP DIGITAL ===== */
#amplop-digital .dekor-bawah-coklat {
    position: absolute;

    left: 0px;
    top: -130px;
    width: 100%;
    height: 300px;


    background: url('./assets/Dekor-bawah-coklat-2.webp') center/contain no-repeat;

    z-index: 1;
    opacity: .95;


}

#amplop-digital {
    background: url('./assets/bg-amplop.webp')center/cover no-repeat;
    color: var(--accent);
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

/*
#amplop-digital::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 142px;
    background: url('./assets/dekor-bunga-bawah.webp') center top / 100% auto no-repeat;
    z-index: 3;
    pointer-events: none;
}



#amplop-digital::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 148px;
    background: url('./assets/dekor-bunga-atas.webp') center bottom / 100% auto no-repeat;
    z-index: 3;
    pointer-events: none;

}
*/
.amplop-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
}

.amplop-title {
    color: var(--accent);
    font-size: clamp(4rem, 14vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-top: 0.3rem;
    margin-bottom: 0.75rem;
}

.amplop-subtitle {
    margin: 0 auto 1.4rem;
    color: #ffffff;
    font-family: 'Spectral', sans-serif;
    font-size: clamp(1rem, 3vw, 1rem);
    line-height: 1.35;
    max-width: 21em;
    text-transform: capitalize;
    font-weight: 400;
}

.gift-box {
    width: min(420px, 92%);

    margin: auto;
    margin-top: 2rem;

    border-radius: 5px;
    overflow: hidden;



    backdrop-filter: blur(16px);



    box-shadow:
        0 10px 40px rgba(0, 0, 0, .12);

    transition: .4s ease;
}

.gift-preview {
    position: relative;

    padding: 2.3rem 2rem;

    text-align: center;

    overflow: hidden;
    background: #FFFF;
}

.gift-preview .gift-icon {
    font-size: 2rem;

    color: #292929;

    margin-bottom: 1rem;
}

.gift-preview .gift-icon-alt {
    font-size: 1rem;

    color: #FFFF;

    margin-bottom: 1rem;
}

.gift-preview h2 {
    font-size: 2rem;

    margin-bottom: .5rem;

    color: var(--accent);
}

.gift-preview p {
    color: #292929;

    margin: 0;
}



/* ===== GIFT CONTENT ===== */

.gift-content {
    display: grid;
    grid-template-rows: 0fr;

    overflow: hidden;
    opacity: 0;

    transition:
        grid-template-rows .7s cubic-bezier(.22, 1, .36, 1),
        opacity .45s ease;
}

.gift-content>* {
    min-height: 0;
}

.gift-box.open .gift-content {
    grid-template-rows: 1fr;

    opacity: 1;

    background: #FFFF;

    padding: 6px 1.3rem 1.3rem;
}


.gift-open-btn {
    min-width: 180px;

    margin-top: 1.5rem;


    align-items: center;
    justify-content: center;
    gap: .45rem;

    border: none;

    background: #292929;

    color: #FFFF;

    padding: .75rem 1.4rem;

    border-radius: 999px;

    font-size: .88rem;
    font-weight: 600;

    cursor: pointer;

    transition: .3s ease;
}

.gift-open-btn i {
    font-size: .85rem;
}

.gift-open-btn:hover {
    transform: translateY(-2px);

    opacity: .92;
}

/* ===== batas ===== */


/* ===== AMPLOP LIST ===== */

.amplop-list {
    display: grid;

    gap: 1.1rem;

    padding: 0 .5rem;

    margin: 0 .3rem;
}

/* ===== AMPLOP CARD ===== */

.amplop-card {
    border: 0 !important;
    border-radius: 5px !important;
    background-color: transparent !important;
    background-image: url('./assets/atm-card.webp') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    width: min(100%, 300px);
    aspect-ratio: 959 / 559;
    height: auto;
    margin-inline: auto;
    padding: clamp(1.15rem, 4.2vw, 0.75rem);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    align-items: end;
    row-gap: 0.2rem;
    column-gap: 0.75rem;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.amplop-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: clamp(72px, 18vw, 112px);
    max-height: 34px;
    object-fit: contain;
    object-position: right center;
    position: absolute;

    top: 0px;
    right: 20px;

    width: 90px;
}

.amplop-name {
    position: absolute;
    bottom: 13px;
    left: 20px;

    margin: 0 !important;

    font-size: clamp(1rem, 3.2vw, 1rem);
    line-height: 1.2;

    color: var(--neutral);
    text-transform: uppercase;

    font-family: 'Spectral', sans-serif;
    text-align: left;

    max-width: 109px;

    word-break: break-word;
}

.amplop-number {
    position: absolute;

    bottom: 16px;
    right: 20px;

    margin: 0 !important;

    font-family: 'Spectral', sans-serif;

    font-size: clamp(0.82rem, 2.6vw, 0.92rem);

    line-height: 1;
    letter-spacing: 0.12em;

    color: var(--neutral);
}

.amplop-copy-btn {
    position: absolute;
    justify-self: end;
    align-self: center;
    border: 0;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    min-height: 28px;
    flex-shrink: 0;
    background: #292929;
    color: var(--accent);
    position: relative;
    z-index: 2;
    cursor: pointer;
    outline: none;
    top: 50px;
    user-select: none;
    touch-action: manipulation
}

.amplop-copy-btn:hover,
.amplop-copy-btn:focus {
    background: var(--secondary);
    color: var(--accent);
    outline: none;
}

.amplop-copy-btn.is-copied {
    background: var(--secondary) !important;
}

.amplop-copy-btn:active {
    background: #1e1e1e !important;
    color: var(--accent) !important;
    opacity: 1 !important;
}

/* ===== GALLERY ===== */
/* ===== GALLERY ===== */
.gallery-grid {
    columns: 2;
    column-gap: 0.6rem;
    width: 100%;
    max-width: 100%;
}

.gallery-grid a {
    display: block;
    width: 100%;
    max-width: 100%;
    break-inside: avoid;
    margin: 0 0 0.6rem;
    border-radius: 5px;
    overflow: hidden;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 5px;
}

.gallery-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
}

#gallery {
    background: url('./assets/bg-hitam-5.webp') center /cover no-repeat;
    color: var(--accent);
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ===== RSVP ===== */
#rsvp {
    background: url('./assets/bg-putih-3.webp')center / cover no-repeat;
    color: var(--neutral);
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
    padding-top: 4.2rem;
    padding-bottom: 7.4rem;
}

#rsvp .rsvp-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
}

#rsvp .rsvp-title {
    font-size: clamp(2.5rem, 14vw, 2rem);
    color: var(--accent);
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
    text-shadow: none;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
}

#rsvp .rsvp-subtitle {
    margin: 0 auto 1.45rem;
    max-width: 21em;
    color: var(--accent);
    font-size: clamp(0.82rem, 3vw, 0.7rem);
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Spectral', sans-serif;
}

#rsvp .rsvp-shell {
    width: 100%;
    border-radius: 10px;
    background: var(--accent);
    padding: 1.25rem 1rem 1.05rem;
    box-shadow:
        0 0 0 1px var(--accent),
        0 0 0 2px #494949;
}

#rsvp .rsvp-form {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

#rsvp .rsvp-form label {
    color: var(--neutral);
    font-size: clamp(0.85rem, 3vw, 0.92rem);
    font-weight: 400;
    margin-top: 0.3rem;
}

#rsvp .rsvp-form input,
#rsvp .rsvp-form select,
#rsvp .rsvp-form textarea {
    width: 100%;
    border: 1px solid #494949;
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
    background: #ffffff;
    color: #000000;
    font-size: clamp(0.85rem, 3vw, 0.92rem);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    height: 46px;
    line-height: 1.2;
}

#rsvp .rsvp-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

#rsvp .rsvp-form textarea {
    resize: none;
    border-radius: 999px;
    height: 46px;
    overflow: hidden;
}

#rsvp .rsvp-form input::placeholder,
#rsvp .rsvp-form textarea::placeholder {
    color: #000000;
}

#rsvp .btn-simpan {
    margin-top: 0.75rem;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.65rem;
    background: #494949;
    color: var(--accent);
    font-family: Verdana, sans-serif;
    font-size: clamp(0.88rem, 3.3vw, 0.95rem);
    font-weight: 400;
    letter-spacing: 0.02em;
}

#rsvp .btn-simpan:hover,
#rsvp .btn-simpan:focus {
    color: var(--accent);
    background: #3a2a1e !important;
}

#rsvp .respon-ucapan {
    margin-top: 1.1rem;
    max-height: 22.5rem;
    overflow: auto;
    border: 1px solid #000000;
    border-radius: 5px;
    background: var(--accent);
    padding: 0.55rem;
    text-align: left;
}

#rsvp .wish-card {
    border-radius: 5px;
    border: 1px solid #000000;
    background: var(--accent);
    text-align: left;
    padding: 0.78rem 0.8rem;
    margin-bottom: 0.5rem;
}

#rsvp .wish-card h5 {
    margin: 0 0 0.2rem;
    color: #1a1a1a;
    font-family: Verdana, sans-serif;
    font-size: clamp(0.85rem, 3vw, 0.92rem);
    font-weight: 700;
    line-height: 1.2;
}

#rsvp .wish-card p {
    margin: 0;
    color: #555;
    font-size: clamp(0.82rem, 2.9vw, 0.88rem);
    line-height: 1.4;
}

/* ===== FOOTER ===== */
#footer {
    background: var(--accent);
    color: var(--accent);
    min-height: auto;
    align-items: center;
    justify-content: center;
    padding-top: 2.6rem;
    padding-bottom: 6.9rem;
}

#footer .footer-content {
    width: min(100%, 760px);
    position: relative;
    z-index: 2;
    text-align: center;
}

#footer .copyright h6 {
    margin: 0;
    color: #494949;
    font-family: 'Playfair Display', Verdana, sans-serif;
    font-size: clamp(1.5rem, 3.45vw, 1.35rem);
    font-weight: 400;
}

#footer .sosmed {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
}

#footer .sosmed a {
    color: #494949;
    font-size: 1.45rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#footer .sosmed a:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}

/* ===== WIDGET BOTTOM ===== */
#widget.widget {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    pointer-events: none;
    text-align: center;
    padding: 0 0.85rem calc(14px + env(safe-area-inset-bottom));
}

#widget .widget-sosmed,
#widget .qrcode-btn button,
#widget .music-toggler button {
    pointer-events: auto;
}

#widget .widget-sosmed {
    width: calc(100% - 65px);
    max-width: 680px;
    margin: 0 auto 0 0;
    border-radius: 999px;
    background: #494949;
    padding: 0.5rem 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
}

#widget .widget-sosmed a {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border-radius: 12px;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.16);
}

#widget .widget-sosmed svg {
    width: 22px;
    height: 22px;
    stroke: var(--neutral);
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#widget .qrcode-btn,
#widget .music-toggler {
    position: absolute;
    right: 0.85rem;
}

#widget .qrcode-btn {
    bottom: calc(14px + env(safe-area-inset-bottom));
}

#widget .music-toggler {
    bottom: calc(75px + env(safe-area-inset-bottom));
}

#widget .qrcode-btn button,
#widget .music-toggler button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #494949;
    color: var(--neutral);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

#widget .qrcode-btn button::before,
#widget .music-toggler button::before {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
}

#widget .qrcode-btn i,
#widget .music-toggler i {
    position: relative;
    z-index: 1;
    line-height: 0;
}

#widget .qrcode-btn i,
#widget .icon-music {
    font-size: 1.1rem;
}

#widget .widget-sosmed a:hover,
#widget .qrcode-btn button:hover,
#widget .music-toggler button:hover {
    filter: brightness(0.97);
}

/* ===== MODAL ===== */
.modal-content {
    border-radius: 16px;
}

.modal-content img {
    width: 170px;
}

.qrcode-close-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
}

/* ===== MEDIA QUERY MOBILE (max 576px) ===== */
@media (max-width: 576px) {
    @import url('https://fonts.googleapis.com/css2?family=Lobster+Two:wght@400;700&display=swap');

    :root {
        --cover-dekor-top-h: 108px;
        --cover-dekor-bottom-h: 114px;
    }

    #rundown .rundown-card::after {
        width: 120px;
        height: .5px;
        background: #090101;
        margin: 1rem auto 0;
        position: relative;
        top: 17px;
    }

    .cover-content {
        align-items: center;
        text-align: center;
        gap: 0.9rem;
    }

    .cover-heading {
        width: 100%;
        align-items: center;
        gap: 0.15rem;
    }

    .cover-to {
        margin: 0;
    }

    .cover-title {
        font-size: clamp(2.55rem, 9.2vw, 3.35rem) !important;
        color: var(--accent);
        margin-bottom: 0.1rem;
    }

    .cover-desc {
        color: var(--accent);
        margin-bottom: 0.05rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .btn-open {
        align-self: center;
        padding: 0.72rem 1.3rem;
        min-width: 175px;
        min-height: 42px;
    }

    .spesialday-row {
        gap: 0.1rem;
        margin: 7px;
    }







    .cover-heading {
        width: 100%;
    }

    .cover-to {
        font-size: 0.7rem;
    }

    .cover-title {
        font-size: clamp(2.55rem, 9.2vw, 3.35rem) !important;
        margin-bottom: 0.1rem;
    }

    #cover .dekor-layer::after {
        height: 108px;
        background-position: center bottom;
        background-size: 100% 100%;
    }



    .decor-frame,
    .dekor-atas-section,
    .dekor-bawah-section {
        --decor-top-h: 116px;
        --decor-bottom-h: 148px;
        --decor-top-bg: url('./assets/dekor-atas-section.webp') center top / 100% auto no-repeat;
        --decor-bottom-bg: url('./assets/dekor-bawah-section.webp') center bottom / 100% auto no-repeat;
    }

    .vintage-section.dekor-atas-section.dekor-bawah-section {
        padding-top: max(1.75rem, calc(var(--decor-top-h) * 0.6));
        padding-bottom: max(1.2rem, calc(var(--decor-bottom-h) * 0.62));
    }

    #cover.vintage-section::after {
        background-position: center bottom;
        background-size: 100% auto;
        background-repeat: no-repeat;
    }

    #couple-groom,
    #couple-bride {
        --decor-bottom-h: 178px;
        padding-bottom: max(1.3rem, calc(var(--decor-bottom-h) * 0.82));
    }

    .vintage-section {
        min-height: 100vh;
    }

    #footer.vintage-section {
        min-height: auto;
    }

    #countdown {
        padding: 1.25rem 0.9rem 1rem;
    }

    #story {
        padding-top: 3.5rem;
        padding-bottom: 4.8rem;
    }

    .story-subtitle {
        margin-bottom: 1.55rem;
    }

    .story-list {
        gap: 2.5rem;
    }

    /* Rundown mobile tweak */
    #rundown {
        padding-top: max(1.0rem, calc(116px * 0.6));
        padding-bottom: max(3.5rem, calc(148px * 0.62));
    }

    .rundown-card {
        max-width: 310px;
        align-items: center;
    }

    .rundown-event {
        padding: 2.5rem 1.5rem 2.3rem;
    }

}

/* ===== MEDIA QUERY DESKTOP (min 577px) ===== */
@media (min-width: 577px) {

    html,
    body {
        min-height: 100%;
        background: radial-gradient(circle at top, #2b2323 0%, #140f0f 50%, #090707 100%);
    }

    body {
        --demo-bar-height: 0px;
    }

    .widget.fixed-top[data-feature="demo_mode"] .widget-pesan {
        width: min(100%, var(--desktop-canvas-width));
    }

    #cover,
    #content {
        width: min(100%, var(--desktop-canvas-width));
        margin-inline: auto;
        overflow: hidden;

        box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
    }

    #widget.widget {
        left: 50%;
        right: auto;
        width: min(100%, var(--desktop-canvas-width));
        transform: translateX(-50%);
    }
}

@media (min-width: 577px) {
    #cover .cover-content {
        width: min(100%, 390px);
        gap: 0.62rem;
    }

    #cover .cover-heading {
        gap: 0.15rem;
    }

    #cover .cover-to {
        font-size: 0.72rem;
    }

    #cover .cover-title {
        margin: 0 0 0.1rem;
        font-family: 'Playfair Display', cursive;
        font-size: clamp(2.35rem, 6vw, 2.8rem) !important;
        line-height: 1;
    }

    #cover .cover-desc {
        font-size: 0.72rem;
        margin-bottom: 0.1rem;
    }

    #cover .btn-open {
        padding: 0.78rem 1.35rem;
        min-width: 165px;
        min-height: 42px;
        margin-bottom: max(30px, env(safe-area-inset-bottom));
        background: var(--accent);
    }
}

@media (max-width: 576px) {
    #cover .cover-content {
        width: min(100%, 390px);
        gap: 0.85rem;
    }

    #cover .cover-heading {
        width: 100%;
        gap: 0.18rem;
    }

    #cover .cover-to {
        font-size: 0.92rem;
    }

    #cover .cover-title {
        font-size: clamp(4.35rem, 7vw, 3.15rem) !important;
        margin-bottom: 0.1rem;
    }

    #cover .cover-desc {
        font-size: 0.82rem;
        margin-bottom: 0.1rem;
    }

    #cover .btn-open {
        min-width: 150px;
        min-height: 40px;
        padding: 0.7rem 1.15rem;
        background: var(--accent);
    }
}