/* =========================================================
   ROOT
========================================================= */

:root {
    --ivory: #fffdf8;
    --cream: #f8f2e8;
    --cream-2: #f2e8d8;
    --gold: #b8955a;
    --gold-light: #d8bd87;
    --gold-soft: #ead8b5;
    --gold-dark: #92713c;
    --rose: #d7a7a3;
    --rose-light: #f1d9d5;
    --brown: #45382f;
    --brown-light: #75665a;
    --white: #ffffff;
    --black: #171411;

    --serif: "Cormorant Garamond", serif;
    --script: "Great Vibes", cursive;
    --sans: "DM Sans", sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ivory);
    color: var(--brown);
    font-family: var(--sans);
    overflow-x: hidden;
}

/* Performance */
.section {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.hero-bg,
.gallery-card,
.person-photo-wrap,
.time-box,
.event-card {
    will-change: auto;
}

@media (max-width: 768px) {

    .hero-light,
    .light-orbs {
        display: none;
    }

    .petal {
        animation-duration: 14s;
    }

    .time-box,
    .rsvp-box {
        backdrop-filter: none;
    }

    .gallery-stage-inner {
        transition: none;
    }
}

body.locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--gold);
    color: white;
}


/* =========================================================
   CURSOR
========================================================= */

.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(184,149,90,.65);

    transition:
        width .35s ease,
        height .35s ease,
        background .35s ease;
}

.cursor-ring.active {
    width: 62px;
    height: 62px;
    background: rgba(184,149,90,.08);
}

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .music-btn,
    .gallery-nav {
        backdrop-filter: none;
    }
}


/* =========================================================
   OPENING
========================================================= */

.opening {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 30%,
            #fffefa 0%,
            #f8f0e4 52%,
            #eadcc9 100%
        );

    transition:
        opacity 1.2s cubic-bezier(.77,0,.18,1),
        visibility 1.2s;
}

.opening.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(184,149,90,.4);
    animation: borderPulse 3s ease-in-out infinite;
}

.opening::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;
    border: 1px solid rgba(184,149,90,.1);

    animation: openingCircle 10s linear infinite;
}

.opening-inner {
    position: relative;
    z-index: 2;

    width: min(700px, 90%);
    text-align: center;
}

.opening-small {
    font-size: 10px;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--gold-dark);

    opacity: 0;
    animation: fadeUp 1s .25s forwards;
}

.opening-title {
    margin-top: 22px;

    font-family: var(--script);
    font-size: clamp(65px, 11vw, 115px);
    line-height: .9;
    color: var(--brown);

    opacity: 0;
    animation: titleReveal 1.5s .45s forwards;
}

.opening-date {
    margin-top: 18px;

    font-family: var(--serif);
    font-size: 23px;
    letter-spacing: .12em;

    opacity: 0;
    animation: fadeUp 1s .9s forwards;
}

.opening-guest {
    margin-top: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    opacity: 0;
    animation: fadeUp 1s 1.05s forwards;
}

.opening-guest-label {
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.opening-guest-place {
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: .08em;
    color: var(--brown-light);
}

.open-btn {
    position: relative;

    margin-top: 40px;
    padding: 16px 36px;

    border: 1px solid var(--gold);
    border-radius: 100px;

    background: rgba(255,255,255,.45);
    color: var(--brown);

    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 10px;

    cursor: pointer;
    overflow: hidden;

    opacity: 0;
    animation: fadeUp 1s 1.35s forwards;

    transition:
        transform .4s ease,
        background .4s ease,
        color .4s ease,
        box-shadow .4s ease;
}

.open-btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.7),
            transparent
        );

    transition: left .7s ease;
}

.open-btn:hover::before {
    left: 120%;
}

.open-btn:hover {
    transform: translateY(-5px);

    background: var(--gold);
    color: white;

    box-shadow:
        0 18px 40px rgba(184,149,90,.28);
}


/* =========================================================
   FLOWERS
========================================================= */

.flower {
    position: absolute;

    width: 190px;

    opacity: .22;
    pointer-events: none;
}

.flower-left {
    left: -45px;
    top: 12%;

    animation:
        floatFlowerLeft 8s ease-in-out infinite;
}

.flower-right {
    right: -45px;
    bottom: 8%;

    animation:
        floatFlowerRight 9s ease-in-out infinite;
}

.flower svg {
    width: 100%;
    height: auto;
}


/* =========================================================
   LIGHT ORBS
========================================================= */

.light-orbs {
    position: fixed;
    inset: 0;

    z-index: 5;

    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: rgba(216,189,135,.55);

    box-shadow:
        0 0 20px rgba(216,189,135,.45);

    animation:
        orbFloat 9s ease-in-out infinite;
}


/* =========================================================
   PETALS
========================================================= */

.petals {
    position: fixed;
    inset: 0;

    z-index: 20;

    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;

    width: 8px;
    height: 13px;

    background: var(--rose-light);

    border-radius: 100% 0 100% 0;

    opacity: .55;

    animation:
        petalFall linear infinite,
        petalSway ease-in-out infinite alternate;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--cream);
}

.hero-bg {
    position: absolute;
    inset: -8%;

    width: 116%;
    height: 116%;

    object-fit: cover;
    object-position: center;

    filter:
        saturate(.72)
        brightness(1.08);

    transform: scale(1.02);

    animation:
        heroZoom 15s ease-in-out infinite alternate;

    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.08),
            rgba(255,250,240,.58)
        );

    z-index: 1;
}

.hero-light {
    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.5),
            transparent 65%
        );

    filter: blur(10px);

    animation:
        heroLight 8s ease-in-out infinite;

    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;

    width: min(1100px, 92%);

    text-align: center;

    padding: 130px 20px 120px;

    animation:
        heroContentIn 1.8s .3s both;
}

.hero-kicker {
    font-size: 11px;

    letter-spacing: .42em;

    text-transform: uppercase;

    color: var(--gold-dark);
}


/* =========================================================
   HERO NAMA
   =========================================================
   Dibuat responsif supaya nama panjang tetap rapi.
========================================================= */

.hero-script {
    margin-top: 24px;

    font-family: var(--script);

    /*
     * Desktop tetap besar dan elegan.
     * Tidak lagi menggunakan 12vw yang terlalu agresif.
     */
    font-size: clamp(58px, 10vw, 145px);

    line-height: .82;

    color: var(--brown);

    text-shadow:
        0 2px 0 rgba(255,255,255,.8),
        0 18px 40px rgba(70,45,20,.12);

    animation:
        nameFloat 6s ease-in-out infinite;

    width: 100%;
    max-width: 100%;

    padding-inline: 5px;

    box-sizing: border-box;

    /*
     * Nama tidak dipaksa patah di tengah kata.
     */
    overflow-wrap: normal;
    word-break: normal;
}


/* =========================================================
   HERO AMPERSAND
========================================================= */

.hero-amp {
    margin: 17px 0;

    font-family: var(--serif);

    font-size: 30px;

    color: var(--gold);

    animation:
        ampPulse 3s ease-in-out infinite;
}


/* =========================================================
   HERO DATE
========================================================= */

.hero-date {
    margin-top: 36px;

    display: inline-flex;
    align-items: center;

    gap: 18px;

    font-family: var(--serif);

    font-size: 24px;

    letter-spacing: .1em;
}

.hero-date::before,
.hero-date::after {
    content: "";

    width: 75px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold)
        );
}

.hero-date::after {
    background:
        linear-gradient(
            to left,
            transparent,
            var(--gold)
        );
}


/* =========================================================
   HERO LOCATION
========================================================= */

.hero-location {
    margin-top: 2px;

    font-size: 11px;

    letter-spacing: .12em;

    color: var(--brown-light);
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    bottom: 1px;
    left: 50%;

    z-index: 5;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    font-size: 8px;

    letter-spacing: .3em;

    text-transform: uppercase;

    color: var(--brown-light);
}

.scroll-line {
    width: 1px;
    height: 65px;

    background:
        linear-gradient(
            to bottom,
            var(--gold),
            transparent
        );

    animation:
        scrollLine 2s ease-in-out infinite;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    position: relative;

    padding: 130px 7%;

    overflow: hidden;
}

.section-light {
    background: var(--ivory);
}

.section-cream {
    background: var(--cream);
}

.section::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    border:
        1px solid rgba(184,149,90,.08);

    pointer-events: none;
}

.section:nth-of-type(even)::before {
    right: -180px;
    top: 20%;
}

.section:nth-of-type(odd)::before {
    left: -180px;
    bottom: 15%;
}

.section-head {
    max-width: 750px;

    margin: 0 auto 75px;

    text-align: center;
}

.eyebrow {
    font-size: 10px;

    letter-spacing: .38em;

    text-transform: uppercase;

    color: var(--gold-dark);
}

.section-script {
    margin-top: 15px;

    font-family: var(--script);

    font-size: 64px;

    line-height: 1;

    color: var(--brown);
}

.section-title {
    margin-top: 10px;

    font-family: var(--serif);

    font-size: clamp(34px, 5vw, 55px);

    font-weight: 400;

    line-height: 1.1;
}

.section-desc {
    max-width: 600px;

    margin: 22px auto 0;

    color: var(--brown-light);

    line-height: 1.9;

    font-size: 14px;
}


/* =========================================================
   QUOTE
========================================================= */

.quote {
    max-width: 1000px;

    margin: auto;

    text-align: center;

    position: relative;
}

.quote-mark {
    font-family: var(--serif);

    font-size: 110px;

    line-height: .45;

    color: var(--gold-light);

    opacity: .8;
}

.quote-text {
    max-width: 900px;

    margin: 35px auto;

    font-family: var(--serif);

    font-size: clamp(27px, 4vw, 43px);

    line-height: 1.35;
}

.quote-source {
    font-size: 10px;

    letter-spacing: .25em;

    text-transform: uppercase;

    color: var(--gold-dark);
}


/* =========================================================
   COUPLE
========================================================= */

.couple-grid {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 100px 1fr;

    align-items: center;

    max-width: 1180px;

    margin: auto;

    gap: 25px;
}

.person {
    text-align: center;

    perspective: 1000px;
}

.person-photo-wrap {
    position: relative;

    width: min(360px, 100%);

    aspect-ratio: 4 / 5;

    margin: auto;

    overflow: hidden;

    background: var(--cream-2);

    box-shadow:
        0 30px 80px rgba(65,45,25,.14);

    transform-style: preserve-3d;

    transition:
        box-shadow .7s ease,
        transform .35s ease;
}

.person-photo-wrap::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 25%,
            rgba(255,255,255,.35) 50%,
            transparent 75%
        );

    transform: translateX(-120%);

    transition:
        transform 1s ease;
}

.person-photo-wrap:hover::before {
    transform: translateX(120%);
}

.person-photo-wrap::after {
    content: "";

    position: absolute;

    inset: 14px;

    z-index: 3;

    border:
        1px solid rgba(255,255,255,.85);

    pointer-events: none;

    transition:
        inset .7s cubic-bezier(.2,.7,.2,1);
}

.person-photo-wrap:hover::after {
    inset: 22px;
}

.person-photo-wrap img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s cubic-bezier(.2,.7,.2,1),
        filter 1s ease;
}

.person-photo-wrap:hover img {
    transform: scale(1.07);

    filter:
        saturate(1.08)
        contrast(1.02);
}

.person-role {
    margin-top: 28px;

    font-size: 9px;

    letter-spacing: .32em;

    text-transform: uppercase;

    color: var(--gold-dark);
}

.person-name {
    margin-top: 10px;

    font-family: var(--serif);

    font-size: clamp(32px, 4vw, 42px);

    font-weight: 500;

    line-height: 1.05;
}

.person-desc {
    margin-top: 8px;

    font-size: 12px;

    color: var(--brown-light);
}

.couple-center {
    display: flex;

    align-items: center;
    justify-content: center;
}

.couple-heart {
    position: relative;

    width: 76px;
    height: 76px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border:
        1px solid var(--gold);

    font-family: var(--serif);

    font-size: 31px;

    color: var(--gold);

    background:
        rgba(255,255,255,.5);

    animation:
        heartPulse 2.7s ease-in-out infinite;
}

.couple-heart::before,
.couple-heart::after {
    content: "";

    position: absolute;

    width: 125px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(184,149,90,.45)
        );
}

.couple-heart::before {
    right: 100%;
}

.couple-heart::after {
    left: 100%;

    transform: rotate(180deg);
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown-section {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(216,189,135,.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(215,167,163,.17),
            transparent 30%
        ),
        var(--cream);
}

.countdown {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(100px, 1fr));

    max-width: 900px;

    margin: auto;

    gap: 18px;
}

.time-box {
    position: relative;

    padding: 38px 15px;

    text-align: center;

    background:
        rgba(255,255,255,.58);

    border:
        1px solid rgba(184,149,90,.24);

    backdrop-filter:
        blur(12px);

    overflow: hidden;

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.time-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 70%;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold),
            transparent
        );

    animation:
        timeShine 4s linear infinite;
}

.time-box:hover {
    transform: translateY(-9px);

    box-shadow:
        0 25px 60px rgba(75,52,30,.12);
}

.time-number {
    font-family: var(--serif);

    font-size: 64px;

    line-height: 1;

    color: var(--brown);
}

.time-number.changed {
    animation:
        numberPop .45s ease;
}

.time-label {
    margin-top: 13px;

    font-size: 9px;

    letter-spacing: .28em;

    text-transform: uppercase;

    color: var(--gold-dark);
}


/* =========================================================
   STORY
========================================================= */

.story {
    position: relative;

    max-width: 1000px;

    margin: auto;
}

.story::before {
    content: "";

    position: absolute;

    left: 90px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(184,149,90,.35),
            transparent
        );
}

.story-item {
    position: relative;

    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 60px;

    padding: 55px 0;

    border-bottom:
        1px solid rgba(184,149,90,.2);
}

.story-item::before {
    content: "";

    position: absolute;

    left: 84px;
    top: 70px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: var(--ivory);

    border:
        1px solid var(--gold);

    box-shadow:
        0 0 0 6px rgba(184,149,90,.08);
}

.story-year {
    font-family: var(--script);

    font-size: 52px;

    color: var(--gold);
}

.story-title {
    font-family: var(--serif);

    font-size: 35px;

    line-height: 1;
}

.story-text {
    margin-top: 13px;

    color: var(--brown-light);

    line-height: 1.9;

    font-size: 14px;
}


/* =========================================================
   EVENTS
========================================================= */

.events-grid {
    max-width: 1080px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 28px;
}

.event-card {
    position: relative;

    padding: 52px 45px;

    background: white;

    border:
        1px solid rgba(184,149,90,.24);

    box-shadow:
        0 25px 70px rgba(70,50,30,.08);

    overflow: hidden;

    transition:
        transform .65s cubic-bezier(.2,.7,.2,1),
        box-shadow .65s ease;
}

.event-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -110px;
    top: -110px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            var(--rose-light),
            transparent 70%
        );

    transition:
        transform .9s ease;
}

.event-card::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: var(--gold);

    transition:
        height .7s ease;
}

.event-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 40px 90px rgba(70,50,30,.14);
}

.event-card:hover::before {
    transform: scale(1.7);
}

.event-card:hover::after {
    height: 100%;
}

.event-icon {
    position: relative;

    font-family: var(--serif);

    font-size: 40px;

    color: var(--gold);
}

.event-type {
    position: relative;

    margin-top: 20px;

    font-family: var(--serif);

    font-size: 44px;

    line-height: 1;
}

.event-date {
    position: relative;

    margin-top: 23px;

    font-size: 12px;

    letter-spacing: .08em;
}

.event-time {
    position: relative;

    margin-top: 6px;

    color: var(--gold-dark);

    font-weight: 500;
}

.event-location {
    position: relative;

    margin-top: 25px;

    max-width: 500px;

    font-size: 12px;

    line-height: 1.8;

    color: var(--brown-light);
}

.map-btn {
    position: relative;

    display: inline-flex;

    margin-top: 28px;

    padding: 12px 20px;

    border:
        1px solid var(--gold);

    font-size: 9px;

    letter-spacing: .2em;

    text-transform: uppercase;

    overflow: hidden;

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease;
}

.map-btn::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.4),
            transparent
        );

    transform:
        translateX(-120%);

    transition:
        transform .6s ease;
}

.map-btn:hover::before {
    transform:
        translateX(120%);
}

.map-btn:hover {
    background: var(--gold);

    color: white;

    transform:
        translateY(-3px);
}


/* =========================================================
   MAP
========================================================= */

.map-wrapper {
    position: relative;

    max-width: 1100px;

    margin: auto;

    padding: 15px;

    background: white;

    box-shadow:
        0 30px 80px rgba(70,50,30,.1);

    overflow: hidden;
}

.map-wrapper::before {
    content: "";

    position: absolute;

    inset: 15px;

    border:
        1px solid rgba(184,149,90,.3);

    pointer-events: none;

    z-index: 2;
}

.map-wrapper iframe {
    display: block;

    width: 100%;

    height: 430px;

    border: 0;

    filter:
        saturate(.7)
        contrast(.95);
}

.map-placeholder {
    min-height: 430px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(216,189,135,.16),
            transparent 55%
        ),
        var(--cream);
}

.map-placeholder-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--gold);

    border-radius: 50%;

    color: var(--gold-dark);

    font-size: 25px;
}

.map-placeholder-title {
    margin-top: 18px;

    font-family: var(--serif);

    font-size: 30px;
}

.map-placeholder-text {
    margin-top: 8px;

    max-width: 360px;

    color: var(--brown-light);

    font-size: 12px;

    line-height: 1.7;
}

.map-placeholder .map-btn {
    border:
        1px solid var(--gold);

    background: transparent;

    color: var(--brown);
}

.map-wrapper.is-loaded {
    padding: 15px;
}

.map-wrapper.is-loaded .map-placeholder {
    display: none;
}

@media (max-width: 600px) {

    .map-placeholder {
        min-height: 320px;
    }
}

.address-box {
    max-width: 800px;

    margin: 32px auto 0;

    text-align: center;
}

.address-text {
    font-family: var(--serif);

    font-size: 26px;

    line-height: 1.35;
}


/* =========================================================
   3D GALLERY
========================================================= */

.gallery-section {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255,255,255,.8),
            transparent 45%
        ),
        var(--cream);
}

.gallery-stage {
    position: relative;

    width: min(1180px, 100%);

    height: 720px;

    margin: 0 auto;

    perspective: 1600px;

    perspective-origin: 50% 45%;

    --mouse-x: 0deg;
    --mouse-y: 0deg;
}

.gallery-stage::before {
    content: "";

    position: absolute;

    width: 760px;
    height: 240px;

    left: 50%;
    bottom: 105px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(87,63,38,.18),
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;
}

.gallery-stage-inner {
    position: absolute;

    inset: 0;

    transform-style: preserve-3d;

    transform:
        rotateX(var(--mouse-y))
        rotateY(var(--mouse-x));

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.gallery-platform {
    position: absolute;

    left: 50%;
    bottom: 105px;

    width: 650px;
    height: 95px;

    transform:
        translateX(-50%)
        rotateX(72deg)
        translateZ(-130px);

    transform-style: preserve-3d;

    border:
        1px solid rgba(184,149,90,.38);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.9),
            rgba(236,224,204,.72)
        );

    box-shadow:
        0 35px 55px rgba(63,44,25,.14);

    border-radius: 4px;
}

.gallery-platform::before {
    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid rgba(184,149,90,.2);
}

.gallery-platform::after {
    content: "";

    position: absolute;

    left: 10%;
    right: 10%;

    bottom: -22px;

    height: 25px;

    background:
        linear-gradient(
            to bottom,
            rgba(93,65,36,.16),
            transparent
        );

    filter: blur(8px);
}

.gallery-card {
    position: absolute;

    left: 50%;
    top: 47%;

    width: 315px;

    aspect-ratio: 4 / 5;

    transform-style: preserve-3d;

    transform:
        translate3d(
            calc(-50% + var(--x)),
            calc(-50% + var(--y)),
            var(--z)
        )
        rotateX(var(--rx))
        rotateY(var(--ry))
        rotateZ(var(--rz));

    transition:
        transform 1s cubic-bezier(.16,1,.3,1),
        opacity .8s ease,
        filter .8s ease;

    cursor: pointer;

    will-change: transform;
}

.gallery-card::before {
    content: "";

    position: absolute;

    inset: -9px;

    background: #fffdf9;

    border:
        1px solid rgba(184,149,90,.25);

    box-shadow:
        0 30px 60px rgba(60,40,20,.15);

    transform:
        translateZ(-12px);
}

.gallery-card::after {
    content: "";

    position: absolute;

    inset: -9px;

    border:
        1px solid rgba(184,149,90,.15);

    transform:
        translateZ(-20px);

    pointer-events: none;
}

.gallery-card img {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border:
        8px solid #fffdf9;

    box-shadow:
        0 22px 45px rgba(60,40,20,.18);

    filter:
        saturate(.88)
        contrast(.98);

    transition:
        transform 1.2s cubic-bezier(.2,.7,.2,1),
        filter .8s ease;
}

.gallery-card:hover img {
    transform: scale(1.025);

    filter:
        saturate(1)
        contrast(1.02);
}

.gallery-card.active {
    filter: none;
}

.gallery-card.active img {
    box-shadow:
        0 35px 80px rgba(60,40,20,.22);
}

.gallery-card.back {
    opacity: .88;

    filter:
        saturate(.75);
}

.gallery-card.back::before {
    box-shadow:
        0 20px 45px rgba(60,40,20,.1);
}

.gallery-card-caption {
    position: absolute;

    left: 50%;
    bottom: -58px;

    transform:
        translateX(-50%)
        translateZ(30px);

    white-space: nowrap;

    font-family: var(--serif);

    font-size: 17px;

    letter-spacing: .08em;

    color: var(--brown);
}

.gallery-counter {
    position: absolute;

    left: 50%;
    bottom: 38px;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 14px;

    z-index: 10;
}

.gallery-counter-current {
    font-family: var(--serif);

    font-size: 23px;

    color: var(--gold-dark);
}

.gallery-counter-line {
    width: 80px;
    height: 1px;

    background:
        rgba(184,149,90,.4);
}

.gallery-counter-total {
    font-size: 9px;

    letter-spacing: .2em;

    color: var(--brown-light);
}

.gallery-controls {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform:
        translateX(-50%);

    display: flex;

    gap: 12px;

    z-index: 20;
}

.gallery-nav {
    width: 48px;
    height: 48px;

    border:
        1px solid rgba(184,149,90,.55);

    border-radius: 50%;

    background:
        rgba(255,255,255,.75);

    color:
        var(--brown);

    cursor: pointer;

    backdrop-filter:
        blur(10px);

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.gallery-nav:hover {
    background: var(--gold);

    color: white;

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px rgba(184,149,90,.22);
}

.gallery-hint {
    margin-top: 15px;

    text-align: center;

    font-size: 8px;

    letter-spacing: .3em;

    text-transform: uppercase;

    color:
        rgba(117,102,90,.7);
}

.gallery-thumbnails {
    width: min(1000px, 100%);

    margin: 65px auto 0;

    display: flex;

    justify-content: center;

    gap: 12px;

    overflow-x: auto;

    padding: 12px 10px 18px;

    scrollbar-width: thin;
}

.gallery-thumb {
    flex: 0 0 72px;

    height: 88px;

    border:
        1px solid rgba(184,149,90,.2);

    background: white;

    padding: 4px;

    cursor: pointer;

    opacity: .48;

    transform:
        translateY(0);

    transition:
        opacity .4s ease,
        transform .4s ease,
        border-color .4s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.gallery-thumb:hover {
    opacity: .8;

    transform:
        translateY(-4px);
}

.gallery-thumb.active {
    opacity: 1;

    border-color: var(--gold);

    transform:
        translateY(-8px);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 9000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        rgba(28,22,18,.94);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .5s ease,
        visibility .5s ease;
}

.lightbox.active {
    opacity: 1;

    visibility: visible;
}

.lightbox img {
    max-width: 90vw;

    max-height: 85vh;

    object-fit: contain;

    transform:
        scale(.88);

    box-shadow:
        0 30px 100px rgba(0,0,0,.4);

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1);
}

.lightbox.active img {
    transform:
        scale(1);
}

.lightbox-close {
    position: absolute;

    right: 30px;
    top: 20px;

    width: 50px;
    height: 50px;

    border:
        1px solid rgba(255,255,255,.35);

    border-radius: 50%;

    background: transparent;

    color: white;

    font-size: 30px;

    cursor: pointer;

    transition:
        transform .35s ease,
        background .35s ease;
}

.lightbox-close:hover {
    transform:
        rotate(90deg);

    background:
        rgba(255,255,255,.1);
}


/* =========================================================
   TANDA KASIH
========================================================= */

.gift-section {
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(215,167,163,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(216,189,135,.16),
            transparent 32%
        ),
        var(--ivory);
}

.gift-box {
    position: relative;

    max-width: 720px;

    margin: auto;

    padding: 55px 48px;

    text-align: center;

    background:
        rgba(255,255,255,.82);

    border:
        1px solid rgba(184,149,90,.24);

    box-shadow:
        0 30px 80px rgba(60,40,20,.09);

    overflow: hidden;
}

.gift-box::before {
    content: "";

    position: absolute;

    inset: 14px;

    border:
        1px solid rgba(184,149,90,.10);

    pointer-events: none;
}

.gift-icon {
    position: relative;

    z-index: 1;

    width: 58px;
    height: 58px;

    margin: 0 auto 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid var(--gold-light);

    border-radius: 50%;

    color: var(--gold-dark);

    font-family: var(--serif);

    font-size: 28px;
}

.gift-title {
    position: relative;

    z-index: 1;

    font-family: var(--serif);

    font-size: 34px;

    font-weight: 500;
}

.gift-text {
    position: relative;

    z-index: 1;

    max-width: 590px;

    margin: 18px auto 30px;

    color: var(--brown-light);

    font-size: 13px;

    line-height: 1.9;
}

.gift-card {
    position: relative;

    z-index: 1;

    max-width: 500px;

    margin: auto;

    padding: 28px 24px;

    background:
        linear-gradient(
            135deg,
            #fffdf8,
            #f8f0e4
        );

    border:
        1px solid rgba(184,149,90,.28);
}

.gift-bank {
    font-size: 10px;

    letter-spacing: .22em;

    text-transform: uppercase;

    color: var(--gold-dark);
}

.gift-account {
    margin-top: 12px;

    font-family: var(--serif);

    font-size: clamp(27px, 5vw, 38px);

    letter-spacing: .08em;

    color: var(--brown);

    font-weight: 500;
}

.gift-name {
    margin-top: 5px;

    font-size: 12px;

    color: var(--brown-light);
}

.gift-copy {
    position: relative;

    z-index: 1;

    margin-top: 20px;

    min-width: 170px;

    padding: 13px 22px;

    border:
        1px solid var(--gold);

    border-radius: 100px;

    background: transparent;

    color: var(--brown);

    font-size: 10px;

    letter-spacing: .16em;

    text-transform: uppercase;

    cursor: pointer;

    transition: .35s ease;
}

.gift-copy:hover {
    background: var(--gold);

    color: white;

    transform:
        translateY(-2px);
}

.gift-note {
    position: relative;

    z-index: 1;

    margin: 25px auto 0;

    max-width: 590px;

    font-family: var(--serif);

    font-size: 17px;

    line-height: 1.65;

    color: var(--brown);
}

.gift-success {
    min-height: 18px;

    margin-top: 10px;

    font-size: 11px;

    color: var(--gold-dark);
}


/* =========================================================
   RSVP
========================================================= */

.rsvp-section {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(215,167,163,.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(216,189,135,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8eee3,
            #fffdf8,
            #f5e8df
        );
}

.rsvp-box {
    position: relative;

    max-width: 760px;

    margin: auto;

    padding: 60px;

    background:
        rgba(255,255,255,.78);

    border:
        1px solid rgba(184,149,90,.25);

    box-shadow:
        0 35px 100px rgba(60,40,20,.1);

    backdrop-filter:
        blur(16px);
}

.rsvp-box::before {
    content: "";

    position: absolute;

    inset: 15px;

    border:
        1px solid rgba(184,149,90,.12);

    pointer-events: none;
}

.form-group {
    position: relative;

    margin-bottom: 25px;

    z-index: 2;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    font-size: 9px;

    letter-spacing: .22em;

    text-transform: uppercase;

    color: var(--gold-dark);
}

.form-control {
    width: 100%;

    padding: 15px 0;

    border: 0;

    border-bottom:
        1px solid rgba(100,80,60,.25);

    outline: none;

    background: transparent;

    color: var(--brown);

    transition:
        border-color .3s ease;
}

.form-control::placeholder {
    color:
        rgba(117,102,90,.55);
}

.form-control:focus {
    border-color:
        var(--gold);
}

textarea.form-control {
    min-height: 100px;

    resize: vertical;
}

.submit-btn {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 18px;

    margin-top: 8px;

    border: 0;

    background:
        var(--brown);

    color: white;

    cursor: pointer;

    letter-spacing: .2em;

    text-transform: uppercase;

    font-size: 10px;

    overflow: hidden;

    transition:
        transform .4s ease,
        background .4s ease,
        box-shadow .4s ease;
}

.submit-btn:hover {
    transform:
        translateY(-4px);

    background:
        var(--gold);

    box-shadow:
        0 18px 40px rgba(184,149,90,.25);
}

.success-message {
    position: relative;

    z-index: 2;

    margin-bottom: 25px;

    padding: 15px;

    background:
        #edf6ed;

    color:
        #4c6a4c;

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;

    padding: 130px 20px 75px;

    text-align: center;

    background:
        var(--brown);

    color: white;

    overflow: hidden;
}

.footer::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    top: -500px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    border:
        1px solid rgba(216,189,135,.18);

    animation:
        footerRing 12s linear infinite;
}

.footer::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: 50%;
    top: -300px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    border:
        1px solid rgba(216,189,135,.12);
}

.footer-small {
    position: relative;

    z-index: 2;

    font-size: 9px;

    letter-spacing: .3em;

    text-transform: uppercase;

    color:
        rgba(255,255,255,.6);
}

.footer-names {
    position: relative;

    z-index: 2;

    margin-top: 22px;

    font-family: var(--script);

    font-size:
        clamp(55px, 8vw, 85px);

    color:
        var(--gold-light);

    animation:
        footerName 5s ease-in-out infinite;
}

.footer-date {
    position: relative;

    z-index: 2;

    margin-top: 20px;

    font-family: var(--serif);

    font-size: 22px;
}


/* =========================================================
   MUSIC
========================================================= */

.music-btn {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 5000;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    border:
        1px solid var(--gold);

    background:
        rgba(255,255,255,.9);

    backdrop-filter:
        blur(12px);

    color:
        var(--gold-dark);

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 18px;

    box-shadow:
        0 12px 35px rgba(60,40,20,.12);

    transition:
        transform .35s ease,
        background .35s ease,
        color .35s ease;
}

.music-btn:hover {
    transform:
        scale(1.08);
}

.music-btn.playing {
    animation:
        musicSpin 3s linear infinite;

    background:
        var(--gold);

    color: white;

    box-shadow:
        0 12px 40px rgba(184,149,90,.3);
}

.music-btn.playing::after {
    content: "";

    position: absolute;

    inset: -6px;

    border-radius: 50%;

    border:
        1px solid rgba(184,149,90,.35);

    animation:
        musicPulse 2s ease-out infinite;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(55px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2,.7,.2,1);
}

.reveal.active {
    opacity: 1;

    transform:
        translateY(0);
}

.reveal-left {
    opacity: 0;

    transform:
        translateX(-70px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2,.7,.2,1);
}

.reveal-left.active {
    opacity: 1;

    transform:
        translateX(0);
}

.reveal-right {
    opacity: 0;

    transform:
        translateX(70px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2,.7,.2,1);
}

.reveal-right.active {
    opacity: 1;

    transform:
        translateX(0);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes titleReveal {

    from {
        opacity: 0;

        transform:
            translateY(45px)
            scale(.92);

        filter:
            blur(12px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter:
            blur(0);
    }
}

@keyframes heroContentIn {

    from {
        opacity: 0;

        transform:
            translateY(55px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes heroZoom {

    from {
        transform:
            scale(1.08);
    }

    to {
        transform:
            scale(1.18);
    }
}

@keyframes heroLight {

    0%,100% {
        transform:
            translate(-15%, -5%)
            scale(1);

        opacity: .45;
    }

    50% {
        transform:
            translate(15%, 8%)
            scale(1.15);

        opacity: .75;
    }
}

@keyframes nameFloat {

    0%,100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-5px);
    }
}

@keyframes ampPulse {

    0%,100% {
        transform:
            scale(1);

        opacity: .7;
    }

    50% {
        transform:
            scale(1.2);

        opacity: 1;
    }
}

@keyframes borderPulse {

    0%,100% {
        opacity: .3;
    }

    50% {
        opacity: .8;
    }
}

@keyframes openingCircle {

    from {
        transform:
            rotate(0deg)
            scale(.8);
    }

    to {
        transform:
            rotate(360deg)
            scale(1.15);
    }
}

@keyframes scrollLine {

    0% {
        transform:
            scaleY(.25);

        transform-origin:
            top;

        opacity: .3;
    }

    50% {
        transform:
            scaleY(1);

        transform-origin:
            top;

        opacity: 1;
    }

    100% {
        transform:
            scaleY(.25);

        transform-origin:
            bottom;

        opacity: .3;
    }
}

@keyframes floatFlowerLeft {

    0%,100% {
        transform:
            translateY(0)
            rotate(-20deg);
    }

    50% {
        transform:
            translateY(-28px)
            rotate(-10deg);
    }
}

@keyframes floatFlowerRight {

    0%,100% {
        transform:
            translateY(0)
            rotate(20deg);
    }

    50% {
        transform:
            translateY(25px)
            rotate(10deg);
    }
}

@keyframes heartPulse {

    0%,100% {
        transform:
            scale(1);

        box-shadow:
            0 0 0 rgba(184,149,90,0);
    }

    50% {
        transform:
            scale(1.08);

        box-shadow:
            0 0 40px rgba(184,149,90,.17);
    }
}

@keyframes petalFall {

    from {
        transform:
            translateY(-120px)
            rotate(0deg);
    }

    to {
        transform:
            translateY(110vh)
            rotate(360deg);
    }
}

@keyframes petalSway {

    from {
        margin-left: -35px;
    }

    to {
        margin-left: 35px;
    }
}

@keyframes musicSpin {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }
}

@keyframes musicPulse {

    0% {
        transform:
            scale(.9);

        opacity: .8;
    }

    100% {
        transform:
            scale(1.35);

        opacity: 0;
    }
}

@keyframes orbFloat {

    0%,100% {
        transform:
            translate(0,0)
            scale(.8);

        opacity: .15;
    }

    50% {
        transform:
            translate(40px,-80px)
            scale(1.5);

        opacity: .7;
    }
}

@keyframes timeShine {

    0% {
        left: -100%;
    }

    50% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

@keyframes numberPop {

    0% {
        transform:
            translateY(8px)
            scale(.94);

        opacity: .4;
    }

    100% {
        transform:
            translateY(0)
            scale(1);

        opacity: 1;
    }
}

@keyframes footerRing {

    from {
        transform:
            translateX(-50%)
            rotate(0deg);
    }

    to {
        transform:
            translateX(-50%)
            rotate(360deg);
    }
}

@keyframes footerName {

    0%,100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-4px);
    }
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 95px 6%;
    }

    .couple-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .couple-center {
        order: 2;
    }

    .person:first-child {
        order: 1;
    }

    .person:last-child {
        order: 3;
    }

    .couple-heart::before,
    .couple-heart::after {
        display: none;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .story::before {
        left: 30px;
    }

    .story-item {
        grid-template-columns: 90px 1fr;

        gap: 30px;
    }

    .story-item::before {
        left: 24px;
    }

    .gallery-stage {
        height: 640px;
    }

    .gallery-platform {
        width: 560px;
    }

    .gallery-card {
        width: 285px;
    }


    /* =====================================================
       HERO TABLET
    ===================================================== */

    .hero-content {
        width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-script {
        font-size:
            clamp(54px, 11vw, 100px);

        line-height: .84;
    }

    .hero-date {
        font-size: 21px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .opening::before {
        inset: 14px;
    }

    /* PERBAIKAN: Menggunakan clamp, perataan teks, dan aturan khusus untuk elemen & */
    .opening-title {
        font-size: clamp(32px, 8.5vw, 46px);
        line-height: 1.25;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
        padding: 0 10px;
    }

    .opening-title .amp {
        display: block;
        font-size: 0.7em;
        margin: 4px 0;
    }

    .opening-date {
        font-size: 18px;
    }

    .opening-guest {
        margin-top: 18px;
    }

    .opening-guest-label {
        font-size: 8px;
        letter-spacing: .18em;
    }

    .opening-guest-place {
        font-size: 16px;
    }

    .open-btn {
        margin-top: 34px;
        padding: 15px 32px;
    }


    /* =====================================================
        HERO MOBILE
    ===================================================== */

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        width: 100%;
        padding: 100px 12px 110px;
    }

    .hero-kicker {
        font-size: 9px;
        letter-spacing: .30em;
        line-height: 1.7;
    }

    .hero-script {
        width: 100%;
        max-width: 100%;
        font-size: clamp(32px, 11vw, 54px);
        line-height: 1.1;
        padding-left: 4px;
        padding-right: 4px;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hero-amp {
        margin: 14px 0;
        font-size: 27px;
    }

    .hero-date {
        margin-top: 28px;
        max-width: 100%;
        font-size: 17px;
        line-height: 1.5;
        gap: 8px;
        letter-spacing: .07em;
    }

    .hero-date::before,
    .hero-date::after {
        width: 24px;
        flex-shrink: 0;
    }

    .hero-location {
        max-width: 90%;
        margin-top: 5px;
        margin-left: auto;
        margin-right: auto;
        font-size: 8px;
        line-height: 1.7;
        letter-spacing: .07em;
    }

    .scroll-indicator {
        bottom: 8px;
        font-size: 7px;
        letter-spacing: .20em;
        gap: 8px;
    }

    .scroll-line {
        height: 48px;
    }


    /* =====================================================
        GENERAL MOBILE
    ===================================================== */

    .section {
        padding: 80px 20px;
    }

    .section-head {
        margin-bottom: 55px;
    }

    .section-script {
        font-size: 53px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-desc {
        font-size: 13px;
    }

    .couple-grid {
        gap: 42px;
    }

    .person-photo-wrap {
        width: min(320px, 90vw);
    }

    .person-name {
        font-size: 34px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .time-box {
        padding: 28px 10px;
    }

    .time-number {
        font-size: 48px;
    }

    .time-label {
        font-size: 8px;
    }

    .story::before {
        display: none;
    }

    .story-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 35px 0;
    }

    .story-item::before {
        display: none;
    }

    .story-year {
        font-size: 43px;
    }

    .story-title {
        font-size: 30px;
    }

    .event-card {
        padding: 40px 28px;
    }

    .event-type {
        font-size: 37px;
    }

    .map-wrapper {
        padding: 8px;
    }

    .map-wrapper::before {
        inset: 8px;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .address-text {
        font-size: 22px;
    }


    /* =====================================================
        MOBILE 3D GALLERY
    ===================================================== */

    .gallery-stage {
        height: 570px;
        perspective: 1100px;
    }

    .gallery-stage::before {
        width: 300px;
        height: 130px;
        bottom: 110px;
    }

    .gallery-platform {
        width: 285px;
        height: 65px;
        bottom: 108px;
        transform: translateX(-50%) rotateX(72deg) translateZ(-90px);
    }

    .gallery-card {
        width: min(245px, 72vw);
        top: 44%;
        transform: translate3d(
                calc(-50% + var(--x-mobile)),
                calc(-50% + var(--y-mobile)),
                var(--z-mobile)
            )
            rotateX(var(--rx))
            rotateY(var(--ry))
            rotateZ(var(--rz));
    }

    .gallery-card img {
        border-width: 6px;
    }

    .gallery-card-caption {
        bottom: -45px;
        font-size: 14px;
    }

    .gallery-counter {
        bottom: 45px;
    }

    .gallery-counter-line {
        width: 45px;
    }

    .gallery-controls {
        bottom: 0;
    }

    .gallery-nav {
        width: 43px;
        height: 43px;
    }

    .gallery-thumbnails {
        justify-content: flex-start;
        margin-top: 45px;
    }

    .gallery-thumb {
        flex-basis: 60px;
        height: 74px;
    }

    .rsvp-box {
        padding: 40px 25px;
    }

    .footer {
        padding: 100px 20px 60px;
    }

    .footer-names {
        font-size: 58px;
    }

    .music-btn {
        right: 18px;
        bottom: 18px;
    }


    /* =====================================================
        GIFT MOBILE
    ===================================================== */

    .gift-box {
        padding: 45px 20px;
    }

    .gift-box::before {
        inset: 9px;
    }

    .gift-card {
        padding: 24px 15px;
    }

    .gift-account {
        font-size: 25px;
        letter-spacing: .05em;
    }
}


/* =========================================================
   HERO HP KECIL
   <= 380px
========================================================= */

@media (max-width: 380px) {

    .hero-content {
        width: 100%;

        padding:
            90px 10px 105px;

        box-sizing: border-box;
    }

    .hero-kicker {
        font-size: 8px;

        letter-spacing: .25em;

        line-height: 1.6;
    }

    .hero-script {
        font-size:
            clamp(40px, 14vw, 58px);

        line-height: .89;

        width: 100%;

        max-width: 100%;

        padding-left: 2px;
        padding-right: 2px;

        box-sizing: border-box;
    }

    .hero-amp {
        margin: 12px 0;

        font-size: 25px;
    }

    .hero-date {
        margin-top: 24px;

        font-size: 15px;

        gap: 6px;

        letter-spacing: .05em;
    }

    .hero-date::before,
    .hero-date::after {
        width: 18px;
    }

    .hero-location {
        max-width: 94%;

        margin-left: auto;
        margin-right: auto;

        font-size: 8px;

        line-height: 1.6;

        letter-spacing: .06em;
    }

    .scroll-indicator {
        bottom: 6px;

        font-size: 6px;

        letter-spacing: .16em;

        gap: 7px;
    }

    .scroll-line {
        height: 40px;
    }
}


/* =========================================================
   HERO HP SANGAT KECIL
   <= 320px
========================================================= */

@media (max-width: 320px) {

    .hero-content {
        padding-left: 7px;
        padding-right: 7px;
    }

    .hero-script {
        font-size: 38px;

        line-height: .90;
    }

    .hero-amp {
        font-size: 22px;

        margin: 10px 0;
    }

    .hero-date {
        font-size: 13px;

        gap: 5px;

        letter-spacing: .04em;
    }

    .hero-date::before,
    .hero-date::after {
        width: 13px;
    }

    .hero-location {
        font-size: 7px;
    }

    .scroll-indicator {
        font-size: 5.5px;

        letter-spacing: .13em;
    }

    .scroll-line {
        height: 34px;
    }
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }
}