body {
    background-color: var(--inv-bg)
}

.canvas {
    position: absolute;
    width: 414px;
    height: 736px;
    overflow: hidden;
    border-radius: 1rem;
    pointer-events: none; 
}

#satuMomen {
    position: absolute;
    color: var(--inv-base);
    font-family: var(--font-base);
    width: 414px;
    height: 736px;
    overflow: hidden
}

.not-open .container-mobile,
.no-menu .container-mobile {
    height: calc(100% + -0px)
}

.not-open .satumomen_menu,
.no-menu .satumomen_menu {
    bottom: -100px
}

.not-open .floating-action,
.no-menu .floating-action {
    bottom: 30px
}

.not-open .frame,
.no-menu .frame {
    bottom: 0
}

.container-mobile {
    background-color: var(--inv-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    width: 100%;
    height: calc(100% - 80px);
    padding: 30px;
    transition: all ease-in-out .5s;
    
    /* Diperlukan untuk konteks layering yang lebih baik */
    position: relative; 
}

.satumomen_track {
    height: 100%;
    width: 100%
}

.satumomen_track .satumomen_list {
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
    width: 100%
}

.satumomen_track .satumomen_slide,
.satumomen_track .satumomen_cover {
    height: 100%;
    width: 100%
}

.satumomen_menu {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--menu-bg);
    overflow: hidden;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, .06);
    -webkit-box-shadow: 0px -1px 6px 0px rgba(0, 0, 0, .06);
    -moz-box-shadow: 0px -1px 6px 0px rgba(0, 0, 0, .06);
    transition: all ease-in-out .2s;
    pointer-events: auto; /* PERBAIKAN: Aktifkan klik di menu */
    z-index: 900;
}

.satumomen_menu .satumomen_menu_list {
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    transition: all ease-in-out .5s
}

.satumomen_menu .satumomen_menu_item {
    width: 100%;
    height: 100%;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--menu-inactive);
    position: relative;
    transition: all ease-in-out .1s
}

.satumomen_menu .satumomen_menu_item .icon {
    font-size: 1.6rem
}

.satumomen_menu .satumomen_menu_item svg,
.satumomen_menu .satumomen_menu_item span,
.satumomen_menu .satumomen_menu_item i {
    z-index: 2
}

.satumomen_menu .satumomen_menu_item span {
    font-size: 12px
}

.satumomen_menu .satumomen_menu_item:after {
    content: "";
    background-color: var(--menu-active);
    position: absolute;
    width: 0%;
    height: 0%;
    border-radius: .8rem;
    transition: all ease-in-out .1s
}

.satumomen_menu .satumomen_menu_item.active {
    color: var(--btn-color)
}

.satumomen_menu .satumomen_menu_item.active:after {
    content: "";
    background-color: var(--menu-active);
    position: absolute;
    width: calc(100% - .5rem);
    height: calc(100% - .5rem)
}

.font-accent {
    font-family: var(--font-accent)
}

.font-latin {
    font-family: var(--font-latin);
    font-size: 200%
}

.color-accent {
    color: var(--inv-accent)
}

.floating-action {
    max-width: 500px;
    margin: auto;
    position: absolute;
    right: 20px;
    bottom: 120px;
    gap: 12px;
    pointer-events: auto; /* PERBAIKAN: Aktifkan klik di tombol mengambang */
    z-index: 900;
}

.btn-float {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 10rem;
    background-color: var(--inv-accent);
    border-color: var(--inv-accent);
    color: var(--btn-color);
    opacity: .7
}

#btnMusic .play,
#btnAutoplay .play {
    display: block
}

#btnMusic .pause,
#btnAutoplay .pause,
#btnMusic.playing .play,
#btnAutoplay.playing .play {
    display: none
}

#btnMusic.playing .pause,
#btnAutoplay.playing .pause {
    display: block
}

.sc-music {
    height: 0;
    overflow: hidden
}

.sc-music div {
    display: none
}

.btn-primary {
    background-color: var(--inv-accent);
    border-color: var(--inv-accent);
    color: var(--btn-color);
    border-radius: .6rem;
    pointer-events: auto; /* PERBAIKAN: AKTIFKAN KLIK PADA TOMBOL INI */
    position: relative; /* Diperlukan untuk z-index di bawah */
    z-index: 900;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--inv-accent) !important;
    border-color: var(--inv-accent) !important;
    color: var(--btn-color) !important;
    box-shadow: var(--inv-accent) !important
}

.rounded-pill {
    border-radius: 50rem
}

.comment {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.comment .comment-item {
    flex: none;
    width: 100%;
    padding: .5rem;
    border-radius: .5rem;
    border: 1px solid #f3f3f3;
    background-color: #fff;
    color: #131313
}

.lightbox {
    cursor: pointer
}

.lightbox-wrapper {
    max-width: 100%;
    margin: auto
}

.lightbox-wrapper.show {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .8)
}

.lightbox-inner,
.lightbox-list {
    height: 100%;
    width: 100%
}

.lightbox-inner img {
    height: 100%;
    width: 100%;
    object-fit: contain
}

.btn-lightbox {
    text-decoration: none;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-color: rgba(255, 0, 0, .282);
    color: #fff;
    position: fixed;
    bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none
}

.btn-lightbox:hover {
    background-color: rgba(255, 0, 0, .533);
    color: #fff
}

.lightbox-navigation {
    position: fixed;
    top: calc(50% - 60px);
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    display: none
}

.lightbox-arrow {
    text-decoration: none;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, .282);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center
}

.lightbox-arrow:hover {
    background-color: rgba(255, 255, 255, .525);
    color: #000
}

.show .lightbox-navigation,
.show .btn-lightbox {
    display: inherit
}

.modal-dialog {
    max-width: 500px;
    margin: auto;
    padding: .5rem;
    height: 100%
}

.modal-content {
    overflow: auto
}

.btn-close {
    text-decoration: none;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-color: rgba(255, 0, 0, .282);
    color: #fff;
    position: fixed;
    bottom: 20px;
    left: calc(50% - 24px);
    display: flex;
    justify-content: center;
    align-items: center
}

.rsvp-placeholder {
    position: relative;
    max-height: calc(100vh - 150px);
    overflow: auto;
    font-family: sans-serif
}

.rsvp-placeholder .rsvp-form {
    padding: 0 20px !important
}

.rsvp-placeholder .rsvp-form .mb-4,
.no-menu .countdown {
    display: none
}

.countdown {
    display: flex;
    gap: 8px
}

.countdown-item {
    width: 100%;
    background-color: var(--inv-accent);
    color: var(--btn-color);
    padding: 4px;
    border-radius: .4rem
}

.countdown-item .number {
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700
}

.frame {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 80px;
    left: 0
}

.frame-tl {
    width: 50%;
    position: absolute;
    top: 0;
    left: 0
}

.frame-tr {
    width: 50%;
    position: absolute;
    top: 0;
    right: 0
}

.frame-bl {
    width: 50%;
    position: absolute;
    bottom: 0;
    left: 0
}

.frame-br {
    width: 50%;
    position: absolute;
    bottom: 0;
    right: 0
}

.embed-video iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%
}

#waterMark p a {
    color: var(--inv-base)
}

#waterMark .list-icon a {
    color: var(--inv-accent)
}

.free-trial-badge {
    width: 130px;
    height: 130px;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10
}

.free-trial-badge span {
    position: absolute;
    display: block;
    width: 171px;
    line-height: 37px;
    text-align: center;
    top: 26px;
    right: -40px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    backdrop-filter: blur(4px);
    background-color: #fb3
}

.free-trial-badge span div {
    color: #333;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0px;
    font-family: sans-serif
}

.btn-countdown,
.btn-maps,
.btn-video {
    display: none
}

.loader-wrapper,
.loader-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--inv-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--inv-base);
    z-index: 99999
}

.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid var(--inv-accent);
    animation: loader 2s infinite ease
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: var(--inv-accent);
    animation: loader-inner 2s infinite ease-in
}

@keyframes loader {
    0% {
        transform: rotate(0)
    }

    25% {
        transform: rotate(180deg)
    }

    50% {
        transform: rotate(180deg)
    }

    75% {
        transform: rotate(360deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes loader-inner {
    0% {
        height: 0%
    }

    25% {
        height: 0%
    }

    50% {
        height: 100%
    }

    75% {
        height: 100%
    }

    to {
        height: 0%
    }
}

#notSupport {
    margin: auto;
    position: fixed;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none
}


/* --- FIX KHUSUS SUPAYA FORM BISA DIKLIK --- */

/* 1. Pastikan canvas tidak menghalangi sentuhan */
.canvas {
    pointer-events: none !important;
}

/* 2. Pastikan area form dan modal aktif secara paksa */
.modal, .modal-dialog, .modal-content, .rsvp-form, .form-control, .form-select, textarea {
    pointer-events: auto !important;
}

/* 3. Pastikan z-index modal paling atas */
#rsvpModal {
    z-index: 99999 !important;
}

/* 4. Fix khusus untuk mobile agar kursor muncul */
input, textarea {
    -webkit-user-select: text !important;
    user-select: text !important;
}