html:has(.nk-animated-cover-active),
html:has(.nk-animated-cover-active) body {
    height: 100%;
    overflow: hidden !important;
}

body.nk-animated-cover-active #nk-floating-btns {
    display: none !important;
}

.nk-template-animated-02 [hidden] {
    display: none !important;
}

.nk-template-animated-02.nk-desktop-showcase {
    background: var(--nk-color-bg-color, #eef2ea);
    color: #5f4e40;
    font-family: var(--nk-font-body, Roboto, sans-serif);
}

.nk-template-animated-02 .nk-invitation-panel {
    background: #fff;
    overflow-x: hidden;
}

:root {
    --nk-anim-mobile-width: 400px;
    --nk-anim-main-color: var(--nk-color-primary-color, #6b5646);
}

.nk-animated-mobile {
    position: relative;
    width: 100%;
    max-width: var(--nk-anim-mobile-width);
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

.nk-animated-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #edf2ec;
    z-index: 2;
    pointer-events: none;
}

.nk-anim-el {
    position: absolute;
    transform-origin: center center;
    will-change: transform, opacity;
    pointer-events: none;
}

#guest,
#scrollIndicator,
.nk-anim-clickable {
    pointer-events: auto;
}

#bg {
    inset: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

#bg {
    bottom: 0;
    object-fit: cover;
    object-position: center top;
}

.nk-anim-layer-scene {
    left: 0;
    right: 0;
    margin-left: 0;
    background: transparent;
    object-fit: contain;
    object-position: center bottom;
}

.nk-arc-layer-arch2 {
    width: 100%;
    bottom: 0;
}

.nk-arc-layer-arch1 {
    width: 100%;
    bottom: 70px;
    left: -10px;
    right: 10px;
}

#couple.nk-anim-layer-couple {
    width: 100%;
    bottom: 120px;
    object-fit: contain;
}

.nk-arc-layer-grass2 {
    width: 100%;
    right: -100px;
    bottom: -80px;
    left: auto;
}

.nk-arc-layer-bush {
    width: 60%;
    left: -10px;
    right: auto;
    bottom: -20px;
}

.nk-arc-cover-flower {
    top: -100px;
    right: -60px;
    left: 20px;
    width: 110%;
    z-index: 5;
}

.nk-arc-flower {
    width: 220px;
    top: 49%;
    right: 22%;
    left: auto;
    rotate: -8deg;
    z-index: -1;
    margin-top: -280px;
    animation: nkArcFadeZoomIn 1.5s linear forwards, nkArcSwayLeft 5s ease-in-out infinite;
}

.nk-arc-birds {
    top: 5%;
    left: 0;
    width: 100%;
    height: 38%;
    z-index: 8;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
}

.nk-anim-cover-video,
.nk-animated-desktop-poster__photo--video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.nk-anim-floral {
    position: absolute;
    width: 200px;
    right: 23%;
    rotate: -8deg;
    z-index: -1;
    margin-top: -400px;
    pointer-events: none;
}

#quotes.nk-anim-cloud-quotes {
    top: 58%;
    margin-top: -120px;
}

#coverOverlay {
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.72) 0, rgba(255, 255, 255, 0.18) 35%, transparent 58%),
        linear-gradient(180deg, rgba(247, 249, 243, 0.18) 0%, rgba(241, 246, 239, 0.42) 45%, rgba(237, 242, 235, 0.82) 100%);
}

#coverText {
    left: 0;
    right: 0;
    top: auto;
    bottom: 15.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: center;
    padding: 0 38px 6px 24px;
    max-height: 46%;
    color: #6b5646;
    z-index: 4;
}

#coverText .nk-anim-script {
    margin: 4px 0 6px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: clamp(48px, 13vw, 72px);
    line-height: 1;
    font-weight: 400;
}

#coverText .nk-anim-meta {
    font-family: var(--nk-font-heading, "Roboto Slab", serif);
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    max-width: 92%;
}

#guest {
    left: 0;
    right: 0;
    bottom: max(34px, calc(env(safe-area-inset-bottom, 0px) + clamp(24px, 6dvh, 64px)));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    padding: 0 24px;
    color: #17120f;
    z-index: 5;
}

#guest .nk-anim-guest-heading {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    opacity: 0.92;
}

#guest .nk-anim-guest-name {
    margin: 4px 0 8px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    max-width: 92%;
    overflow-wrap: anywhere;
}

#guest .nk-anim-guest-disclaimer {
    margin: 0 0 10px;
    max-width: 280px;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.78;
}

#guest .nk-animated-open-btn {
    margin-top: clamp(8px, 1.6dvh, 16px);
    min-width: min(100%, 260px);
    border-radius: 4px;
    box-shadow: 0 10px 22px rgba(69, 53, 42, 0.2);
}

.nk-anim-cloud-quotes {
    width: min(128vw, calc(var(--nk-anim-mobile-width) * 1.28));
    height: 450px;
    left: 50%;
    right: auto;
    margin-left: max(-64vw, calc(var(--nk-anim-mobile-width) * -0.64));
    bottom: auto;
    background-image: var(--animated-cloud-3);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 calc(var(--nk-anim-mobile-width) * 0.25);
    color: #111;
    opacity: 0;
    top: 58%;
    margin-top: -120px;
    z-index: 7;
    filter: drop-shadow(0 12px 20px rgba(65, 74, 55, 0.08));
    transform-origin: center center;
}

.nk-anim-cloud-quotes::before {
    content: none;
    position: absolute;
    inset: 18px -10px;
    z-index: -1;
    background:
        radial-gradient(ellipse at 18% 54%, rgba(255, 255, 255, 0.96) 0 34%, rgba(255, 255, 255, 0.72) 52%, transparent 74%),
        radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.98) 0 38%, rgba(255, 255, 255, 0.72) 58%, transparent 78%),
        radial-gradient(ellipse at 82% 56%, rgba(255, 255, 255, 0.94) 0 32%, rgba(255, 255, 255, 0.68) 54%, transparent 74%),
        radial-gradient(ellipse at 50% 72%, rgba(255, 255, 255, 0.86) 0 34%, transparent 72%);
    filter: blur(7px);
}

.nk-anim-cloud-quotes::after {
    content: none;
    position: absolute;
    left: 3%;
    right: 3%;
    top: 34%;
    bottom: 30%;
    z-index: -1;
    background: rgba(255, 255, 255, 0.72);
    filter: blur(18px);
}

.nk-anim-cloud-quotes p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.nk-anim-cloud-verse {
    width: calc(2.5 * var(--nk-anim-mobile-width));
    height: 100vh;
    height: 100dvh;
    left: calc(var(--nk-anim-mobile-width) * -0.75);
    background-image: var(--animated-cloud-3);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 calc(var(--nk-anim-mobile-width) * 0.82);
    color: #111;
    opacity: 0;
    overflow: visible;
}

.nk-anim-cloud-verse p {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.nk-anim-cloud-verse strong {
    font-size: 16px;
    font-weight: 900;
}

.nk-anim-text-couple {
    width: var(--nk-anim-mobile-width);
    height: 250px;
    bottom: 20vh;
    margin: 0;
    background-image: var(--animated-cloud-3);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 calc(var(--nk-anim-mobile-width) * 0.25);
    color: #111;
    opacity: 0;
}

#bride {
    left: auto;
    right: calc(var(--nk-anim-mobile-width) * -1);
}

#groom {
    left: calc(var(--nk-anim-mobile-width) * -1);
    right: auto;
}

.nk-anim-cloud-panel {
    top: 0;
    width: calc(2.5 * var(--nk-anim-mobile-width));
    height: 100vh;
    height: 100dvh;
    left: calc(var(--nk-anim-mobile-width) * -0.75);
    background-image: var(--animated-cloud-4);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 calc(var(--nk-anim-mobile-width) * 0.82);
    color: #111;
    opacity: 0;
    overflow: visible;
    pointer-events: none;
    touch-action: pan-y;
}

#events,
#dresscode {
    pointer-events: none;
}

.nk-anim-cloud-panel .nk-anim-script-title {
    color: var(--nk-anim-main-color);
}

.nk-anim-cloud-panel .nk-animated-copy {
    color: #111;
}

#bride .nk-anim-script,
#groom .nk-anim-script {
    margin: 0 0 4px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: clamp(44px, 12vw, 62px);
    line-height: 0.9;
    color: var(--nk-anim-main-color);
}

#bride .nk-anim-fullname,
#groom .nk-anim-fullname {
    margin: 4px 0;
    font-size: 12px;
    font-weight: 700;
}

#bride .nk-anim-role,
#groom .nk-anim-role {
    margin: 4px 0 0;
    font-size: 11px;
}

#bride .nk-anim-parents,
#groom .nk-anim-parents {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
}

.nk-anim-ig-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 6px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--nk-anim-main-color);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nk-anim-ig-badge:hover {
    background: transparent;
    transform: translateY(-1px);
}

.nk-anim-ig-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: transparent;
}

.nk-anim-ig-badge__icon svg {
    width: 12px;
    height: 12px;
}

.nk-anim-ig-badge__label {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#events {
    max-height: none;
    overflow-y: visible;
    gap: 4px;
}

#events .nk-anim-event-block {
    margin-bottom: 4px;
    width: 100%;
}

#events .nk-anim-event-block--left {
    text-align: left;
    padding: 0;
}

#events .nk-anim-event-block--right {
    text-align: right;
    padding: 0;
}

#events .nk-anim-event-block .nk-anim-button {
    position: relative;
    z-index: 2;
}
#events .nk-anim-event-block strong {
    color: #2f2a27;
}

#events .nk-anim-script-title {
    margin: 0 0 4px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: 38px;
    line-height: 1;
    color: var(--nk-anim-main-color);
}

#events p {
    margin: 0 0 3px;
    font-size: 10px;
    line-height: 1.35;
}

#events strong {
    display: block;
    margin: 4px 0 2px;
    font-size: 10.5px;
    line-height: 1.35;
}

#dresscode {
    text-align: center;
}

#events .nk-anim-clickable,
#dresscode .nk-anim-clickable {
    pointer-events: auto;
    touch-action: manipulation;
}

#dresscode .nk-dresscode__text {
    color: #111;
    font-size: 11px;
    line-height: 1.45;
    max-width: 250px;
    margin: 0 auto 12px;
}

#dresscode .nk-animated-dresscode {
    margin-top: 0;
    padding-top: 0;
}

#dresscode .nk-dresscode-swatches span {
    width: 2rem;
    height: 2rem;
}

#events .nk-anim-button,
#dresscode .nk-anim-button,
.nk-animated-open-btn,
.nk-animated-body .nk-animated-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--nk-color-button-color, #735d53);
    color: var(--nk-color-button-text-color, #fff);
    font-family: var(--nk-font-ui, Roboto, sans-serif);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#dresscode .nk-anim-script-title,
#dresscode .nk-dresscode__title {
    margin: 0 0 8px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: 38px;
    line-height: 1;
    color: var(--nk-anim-main-color);
    text-transform: math-auto;
}

#bottomGradient {
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(359deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(255, 255, 255, 0) 90%);
    opacity: 0;
}

#topGradient {
    left: 0;
    right: 0;
    top: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(255, 255, 255, 0) 80%);
    opacity: 0;
}

#scrollIndicator {
    left: 0;
    right: 0;
    bottom: 20px;
    display: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 6;
}

#scrollIndicator::before {
    content: "^";
    display: block;
    margin-bottom: 4px;
    animation: nkAnimSwipeBounce 1.6s ease-in-out infinite;
}

@keyframes nkAnimSwipeBounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-8px); opacity: 1; }
}

.nk-animated-scroller {
    position: absolute;
    inset: 0;
    z-index: 3;
    height: 100%;
    overflow-y: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
    overscroll-behavior-y: contain;
}

.nk-animated-scroller::-webkit-scrollbar {
    display: none;
}

.nk-anim-scroll-section {
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

.nk-anim-scroll-section--body {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-stop: normal;
    background: transparent;
}

.nk-animated-body {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: var(--nk-anim-mobile-width);
    margin: 0 auto;
    background: transparent;
    pointer-events: auto;
}

.nk-animated-section--scene {
    position: relative;
    min-height: 80vh;
    min-height: 80dvh;
    padding-top: 40px;
    padding-bottom: 0;
    background:
        linear-gradient(180deg, rgba(42, 52, 37, 0.5), rgba(42, 52, 37, 0.72)),
        var(--animated-scene-bg) center / cover no-repeat;
    color: #fff;
}

.nk-animated-section--panel {
    position: relative;
    background: #eef2ea;
}

.nk-animated-section--photo {
    position: relative;
    background:
        linear-gradient(180deg, rgba(42, 52, 37, 0.3), rgba(42, 52, 37, 0.62)),
        var(--animated-scene-bg) center / cover no-repeat;
}

/* Ripped: top = ripped-top.webp (rotate 180deg), bottom = ripped-bottom.webp */
.nk-animated-ripped {
    display: block;
    width: calc(70% + 48px);
    max-width: none;
    height: auto;
    margin-left: 40px;
    margin-right: 34px;
    padding: 0;
    border: 0;
    line-height: 0;
    vertical-align: top;
    pointer-events: none;
    user-select: none;
    flex-shrink: 0;
    transform: rotate(42deg) !important;
    margin-bottom: -70px !important;
}

.nk-animated-ripped--top {
    margin-top: 0;
    margin-bottom: 0;
    transform: rotate(180deg);
}

.nk-animated-ripped--bottom {
    margin-top: auto;
    margin-bottom: 0;
    transform: none;
}

/* Countdown: hanya bottom, nempel paling bawah section */
#countdown.nk-animated-section {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

#countdown .nk-animated-ripped--bottom {
    margin-top: auto;
}

/* Timeline & Gift: top rapat atas + bottom rapat bawah */
#timeline.nk-animated-section,
#gift.nk-animated-section {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
}

#timeline .nk-animated-ripped--bottom,
#gift .nk-animated-ripped--bottom {
    margin-top: auto;
}

#timeline .nk-animated-section-title,
#timeline .nk-animated-story__list,
#timeline .nk-animated-divider-sm,
#gift .nk-animated-section-title,
#gift .nk-animated-copy,
#gift .nk-animated-gift__cards,
#gift .nk-animated-muted {
    padding-left: 5px;
    padding-right: 5px;
}

#timeline .nk-animated-section-title,
#gift .nk-animated-section-title {
    padding-top: 48px;
}

#timeline .nk-animated-divider-sm,
#gift .nk-animated-gift__cards,
#gift .nk-animated-muted {
    padding-bottom: 32px;
}

#gift .nk-animated-gift__cards {
    align-self: center;
    width: min(100%, 360px);
    max-width: 360px;
    margin: 10px auto;
    box-sizing: border-box;
}

.nk-animated-divider-sm {
    display: block;
    width: 111px;
    height: auto;
    margin: 12px auto;
}

.nk-animated-divider-love {
    display: block;
    width: min(100%, 494px);
    height: auto;
    margin: 0 auto 16px;
}

.nk-template-animated-02 .nk-animated-section--panel::before {
    content: "";
    position: absolute;
    top: -92px;
    right: -118px;
    width: 310px;
    height: 310px;
    background: var(--animated-arc-foil-leaf) center / contain no-repeat;
    opacity: 0.32;
    transform: rotate(8deg);
    pointer-events: none;
    z-index: 0;
}

.nk-template-animated-02 .nk-animated-section--panel::after {
    content: "";
    position: absolute;
    left: -145px;
    bottom: -112px;
    width: 330px;
    height: 330px;
    background: url("assets/arc_Gold-Foil-Grain-Texture-Leaf.webp") center / contain no-repeat;
    opacity: 0.18;
    transform: rotate(190deg);
    pointer-events: none;
    z-index: 0;
}

.nk-template-animated-02 .nk-animated-section--panel > * {
    position: relative;
    z-index: 1;
}

.nk-template-animated-02 #timeline::before,
.nk-template-animated-02 #gift::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -130px;
    width: 340px;
    height: 340px;
    background: var(--animated-arc-foil-leaf) center / contain no-repeat;
    opacity: 0.24;
    transform: rotate(12deg);
    pointer-events: none;
    z-index: 0;
}

.nk-template-animated-02 #timeline::after,
.nk-template-animated-02 #gift::after {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    background: url("assets/arc_Gold-Foil-Grain-Texture-Leaf.webp") center / contain no-repeat;
    opacity: 0.16;
    transform: rotate(188deg);
    pointer-events: none;
    z-index: 0;
}

.nk-template-animated-02 #timeline > *,
.nk-template-animated-02 #gift > * {
    position: relative;
    z-index: 1;
}

.nk-animated-body .nk-animated-section {
    padding: 48px 24px 54px;
    text-align: center;
    overflow: hidden;
}

.nk-animated-body .nk-animated-section:has(> .nk-animated-ripped--top) {
    padding-top: 0;
}

.nk-animated-body .nk-animated-section:has(> .nk-animated-ripped--bottom):not(#timeline):not(#gift) {
    padding-bottom: 0;
}

.nk-animated-body .nk-animated-section-title {
    margin: 0 0 18px;
    font-family: var(--nk-font-heading, "Roboto Slab", serif);
    font-size: 28px;
    font-weight: 900;
    color: var(--nk-anim-main-color);
}

.nk-animated-section--scene .nk-animated-section-title {
    margin-bottom: 24px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: clamp(40px, 18vw, 60px);
    font-weight: 400;
    line-height: 0.95;
    color: #fff;
}

.nk-animated-section--scene .nk-animated-countdown__items div {
    background: transparent;
}

.nk-animated-section--scene .nk-animated-countdown__items strong,
.nk-animated-section--scene .nk-animated-countdown__items span {
    color: #fff;
}

.nk-animated-section--scene .nk-animated-countdown__items strong {
    font-size: clamp(20px, 5vw, 40px);
    font-weight: 400;
}

.nk-animated-section--scene .nk-animated-button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.nk-animated-section--scene .nk-animated-copy {
    color: rgba(255, 255, 255, 0.92);
}

.nk-animated-section--photo .nk-animated-section-title,
.nk-animated-section--photo .nk-animated-story__list h3 {
    color: #fff;
}

.nk-animated-section--photo .nk-animated-story__list p {
    color: rgba(255, 255, 255, 0.92);
}

.nk-animated-section--photo .nk-animated-story__list article {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nk-animated-body .nk-animated-copy {
    margin: 0 0 16px;
    color: var(--nk-color-muted-color, #7d746e);
    font-size: 14px;
    line-height: 1.6;
}

.nk-animated-form {
    display: grid;
    gap: 12px;
    text-align: left;
    max-width: 360px;
    margin: 0 auto;
}

.nk-animated-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.nk-animated-form input,
.nk-animated-form textarea,
.nk-animated-form select {
    width: 100%;
    border: 1px solid rgba(115, 93, 83, 0.22);
    border-radius: 10px;
    padding: 12px;
    font: inherit;
}

.nk-animated-success {
    max-width: 360px;
    margin: 0 auto 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(115, 93, 83, 0.1);
    border: 1px solid rgba(115, 93, 83, 0.18);
    color: var(--nk-color-text-color, #2f2a27);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.nk-animated-wishes {
    margin-top: 28px;
    text-align: left;
}

.nk-animated-wishes__title {
    margin: 0 0 14px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: 34px;
    line-height: 1;
    text-align: center;
    color: var(--nk-color-text-color, #2f2a27);
}

.nk-animated-wishes__list {
    display: grid;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}

.nk-animated-wish-card {
    padding: 14px 16px 15px;
    border: 1px solid rgba(115, 93, 83, 0.16);
    border-left: 3px solid var(--nk-color-button-color, #735d53);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
}

.nk-animated-wish-card__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    margin: 0;
}

.nk-animated-wish-card__label {
    color: var(--nk-color-muted-color, #7d746e);
    font-family: var(--nk-font-ui, Roboto, sans-serif);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nk-animated-wish-card__name {
    color: var(--nk-color-text-color, #2f2a27);
    font-family: var(--nk-font-heading, "Roboto Slab", serif);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
}

.nk-animated-wish-card__divider {
    height: 1px;
    margin: 10px 0 11px;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--nk-color-button-color, #735d53) 72%, transparent) 0%,
        rgba(115, 93, 83, 0.12) 72%,
        transparent 100%
    );
}

.nk-animated-wish-card__message {
    margin: 0;
    color: var(--nk-color-text-color, #2f2a27);
    font-family: var(--nk-font-body, Roboto, sans-serif);
    font-size: 0.84rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.nk-animated-wish-empty {
    margin: 0;
    padding: 18px 14px;
    border: 1px dashed rgba(115, 93, 83, 0.22);
    border-radius: 10px;
    color: var(--nk-color-muted-color, #7d746e);
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: center;
}

.nk-animated-countdown__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 360px;
    margin: 0 auto 20px;
}

.nk-animated-countdown__items div {
    padding: 12px 6px;
    border-radius: 14px;
    background: rgba(115, 93, 83, 0.08);
}

.nk-animated-countdown__items strong {
    display: block;
    font-size: 24px;
    color: var(--nk-anim-main-color);
}

.nk-animated-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nk-animated-gallery__grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
}

.nk-animated-story__list {
    display: grid;
    gap: 16px;
    text-align: left;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}

.nk-animated-story__list article {
    position: relative;
    padding: 18px 18px 18px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.nk-animated-story__list article::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.nk-animated-story__list h3 {
    margin: 0 0 8px;
    font-family: var(--nk-font-heading, "Roboto Slab", serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nk-animated-story__list p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nk-animated-livestream {
    text-align: center;
}

.nk-animated-livestream__lede {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.nk-animated-livestream__card {
    max-width: 360px;
    margin: 0 auto;
    padding: 0 4px;
}

.nk-animated-livestream__preview {
    margin-bottom: 14px;
}

.nk-animated-livestream__actions {
    display: flex;
    justify-content: center;
}

.nk-animated-livestream__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
}

.nk-animated-livestream__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nk-animated-gift__cards {
    display: grid;
    gap: 16px;
    width: min(100%, 360px);
    max-width: 360px;
    margin: 10px auto;
    pointer-events: auto;
    box-sizing: border-box;
}

.nk-animated-gift__cards .nk-gift-card-premium__copy,
.nk-animated-gift__cards .nk-gift-card-premium__qris-open {
    pointer-events: auto;
}

.nk-animated-marquee {
    overflow: hidden;
    margin-bottom: 16px;
    color: rgba(115, 93, 83, 0.14);
    font-family: var(--nk-font-heading, "Roboto Slab", serif);
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.nk-animated-marquee span {
    display: inline-block;
    animation: nkAnimatedMarquee 18s linear infinite;
}

body.nk-animated-cover-active .nk-animated-scroller {
    pointer-events: none;
}

body.nk-body-open .nk-animated-scroller {
    pointer-events: auto;
}

#events .nk-anim-button,
#events a.nk-anim-clickable {
    pointer-events: auto;
}

.nk-animated-desktop-poster {
    display: none;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
}

.nk-animated-desktop-poster__photo,
.nk-animated-desktop-poster__shade {
    position: absolute;
    inset: 0;
}

.nk-animated-desktop-poster__photo {
    background: var(--animated-desktop-bg, var(--animated-cover-bg)) center / cover no-repeat;
}

.nk-animated-desktop-poster__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.5));
}

.nk-animated-desktop-poster__content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 52px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.nk-animated-desktop-poster__content img {
    width: 150px;
    margin-bottom: auto;
}

.nk-animated-desktop-poster__content h2 {
    margin: 0 0 12px;
    font-family: var(--nk-font-script, "Great Vibes", cursive);
    font-size: clamp(70px, 8vw, 110px);
    line-height: 0.9;
    font-weight: 400;
}

@keyframes nkAnimatedMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes nkArcSwayLeft {
    0% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-10px) rotate(-5deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

@keyframes nkArcFadeZoomIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@media (min-width: 1024px) {
    .nk-template-animated-02.nk-desktop-showcase.nk-mode-split_showcase {
        display: grid !important;
        grid-template-columns: 1fr minmax(390px, var(--nk-desktop-inv-panel-width, 430px)) !important;
    }

    .nk-animated-desktop-poster {
        display: block;
    }

    .nk-template-animated-02 .nk-invitation-panel {
        width: var(--nk-desktop-inv-panel-width, 430px);
        height: 100vh;
        overflow: hidden;
    }
}

@media (max-width: 520px) {
    :root {
        --nk-anim-mobile-width: 100vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nk-anim-el,
    .nk-arc-birds span,
    .nk-arc-birds span::before,
    .nk-arc-birds span::after,
    .nk-animated-marquee span,
    #scrollIndicator::before {
        animation: none !important;
        transition: none !important;
    }
}
