/* ==========================================================================
   EMERALD FALLS - EXCLUSIVE LUXURY THEME STYLESHEET
   Aesthetic: Deep Emerald Forest, Cascading Waterfall Mist & Gold Sparkles
   ========================================================================== */

:root {
    --theme-base: #122B22;
    --theme-surface: #1B4234;
    --theme-accent: #FFC400;
    --theme-accent-soft: rgba(255, 196, 0, 0.18);
    --theme-text: #F8FAF8;
    --theme-text-heading: #FFFFFF;
    --theme-text-couple: #F5D061;
    --theme-text-muted: #D1E0D7;
    --theme-card-bg: rgba(20, 48, 38, 0.85);
    --theme-border-color: rgba(255, 196, 0, 0.35);
    --theme-atm-bg: linear-gradient(135deg, #1B4234 0%, #10281F 100%);
    --theme-gold-gradient: linear-gradient(135deg, #FFE89C 0%, #FFC400 50%, #B8860B 100%);
    --theme-emerald-gradient: linear-gradient(180deg, #122B22 0%, #1B4234 50%, #0E221B 100%);
    --motion-heading-font: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --motion-body-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
}

body.inv-theme-emerald-falls {
    margin: 0;
    padding: 0;
    background-color: var(--theme-base, #122B22);
    background-image: radial-gradient(circle at 50% 15%, #245846 0%, #122B22 60%, #0A1A14 100%);
    background-attachment: fixed;
    color: var(--theme-text, #F8FAF8);
    font-family: var(--motion-body-font);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .inv-emerald-hero-names, .inv-emerald-kicker, .inv-btn-open-emerald {
    font-family: var(--motion-heading-font);
}

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

/* Desktop Ambient Background Container */
.theme-preview-viewport {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}

/* Mobile Frame (Centered Phone Viewport on Desktop) */
.motion-preview-phone {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    background: #10271F;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 196, 0, 0.15);
    overflow: hidden;
}

@media (min-width: 1024px) {
    body.has-desktop-ambient {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    body.has-desktop-ambient::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(10, 26, 20, 0.82);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 0;
        pointer-events: none;
    }
    .theme-preview-viewport {
        position: relative;
        z-index: 1;
        padding: 30px 0;
    }
    .motion-preview-phone {
        border-radius: 36px;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 196, 0, 0.25);
    }
}

/* ==========================================================================
   COVER PAGE & OPENING GATEWAY (LUXURY EMERALD & GOLD BOTTOM-SHEET)
   ========================================================================== */
.theme-preview-cover {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: #071711;
    overflow: hidden;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.75s ease, visibility 0.75s ease;
}

/* WORKSPACE RULE: Pointer-events disabled on cover opened */
.theme-preview-cover.is-opened {
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(-100%) !important;
}

/* Background Layer dengan Responsive Framing (Fokus 18% wajah mempelai) */
.theme-preview-cover-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 18%;
    background-repeat: no-repeat;
    transform: scale(1.02);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.theme-preview-cover:not(.is-opened) .theme-preview-cover-bg {
    transform: scale(1.06);
}

/* Multi-Stop Atmospheric Gradient: Biarkan Wajah & Dada Mempelai Terang di Tengah */
.theme-preview-cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(7, 23, 17, 0.72) 0%,
        rgba(7, 23, 17, 0.25) 18%,
        rgba(7, 23, 17, 0.0) 38%,
        rgba(7, 23, 17, 0.0) 50%,
        rgba(7, 23, 17, 0.45) 68%,
        rgba(5, 17, 12, 0.88) 85%,
        rgba(4, 13, 9, 0.98) 100%
    );
}

/* Sparkles Melayang Mewah */
.theme-preview-cover-sparkles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.theme-preview-cover-sparkles .sparkle {
    position: absolute;
    color: #FFE58F;
    font-size: 14px;
    opacity: 0.65;
    filter: drop-shadow(0 0 6px rgba(255, 196, 0, 0.8));
    animation: emeraldSparklePulse 3.5s infinite ease-in-out;
}

.theme-preview-cover-sparkles .s1 { top: 14%; left: 12%; animation-delay: 0s; font-size: 16px; }
.theme-preview-cover-sparkles .s2 { top: 22%; right: 14%; animation-delay: 1.2s; font-size: 12px; }
.theme-preview-cover-sparkles .s3 { bottom: 38%; left: 8%; animation-delay: 2.1s; font-size: 13px; }
.theme-preview-cover-sparkles .s4 { bottom: 42%; right: 10%; animation-delay: 0.8s; font-size: 15px; }

@keyframes emeraldSparklePulse {
    0%, 100% { opacity: 0.25; transform: scale(0.85); }
    50% { opacity: 0.85; transform: scale(1.2); }
}

/* Inner Frame Pembagi Tiga Zona */
.theme-preview-cover-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 460px;
    height: 100%;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 18px 22px;
    box-sizing: border-box;
}

/* 1. Header Bagian Atas */
.theme-preview-cover-top {
    text-align: center;
    padding-top: 6px;
    animation: emeraldFadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.inv-cover-filigree {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.inv-cover-arch-svg {
    width: 140px;
    height: 22px;
}

.inv-emerald-badge-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(10, 31, 23, 0.55);
    border: 1px solid rgba(255, 196, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 232, 156, 0.25);
    margin-bottom: 6px;
}

.inv-emerald-badge-luxury span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFE58F;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.inv-cover-kicker-text {
    font-size: 11.5px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #E2ECE5;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* 2. Center Clear Window: Zona Bebas Pandang Objek Foto Pengantin */
.theme-preview-cover-center-spacer {
    flex: 1;
    min-height: 80px;
    pointer-events: none;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.theme-preview-cover-center-spacer.inv-cover-clickable,
.inv-cover-clickable {
    pointer-events: auto !important;
    cursor: pointer !important;
    outline: none !important;
}

.theme-preview-cover.is-opened .theme-preview-cover-center-spacer.inv-cover-clickable,
.theme-preview-cover.is-opened .inv-cover-clickable {
    pointer-events: none !important;
    visibility: hidden !important;
}

/* 3. Bottom Floating Luxury Glass Panel */
.theme-preview-cover-card {
    position: relative;
    width: 100%;
    border-radius: 26px;
    background: linear-gradient(175deg, rgba(16, 42, 32, 0.55) 0%, rgba(8, 22, 16, 0.85) 100%);
    border: 1.2px solid rgba(255, 196, 0, 0.32);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 232, 156, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 22px 18px 20px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    animation: emeraldFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ========================================================
   CINEMATIC CONVERGING REVEAL ANIMATIONS (COVER & HERO)
   Koreografi pertemuan dua insan: Kiri & Kanan bertemu di tengah
   ======================================================== */
@keyframes invConvergeFromLeft {
    0% {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0px);
    }
}

@keyframes invConvergeFromRight {
    0% {
        opacity: 0;
        transform: translate3d(50px, 0, 0);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0px);
    }
}

@keyframes invConvergeCenter {
    0% {
        opacity: 0;
        transform: scale(0.6);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

.inv-emerald-couple-names {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.15;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cover-bride-name {
    display: inline-block;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0B3 30%, #FFC400 70%, #E6A800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    animation: invConvergeFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
    will-change: transform, opacity;
}

.cover-groom-name {
    display: inline-block;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0B3 30%, #FFC400 70%, #E6A800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    animation: invConvergeFromRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
    will-change: transform, opacity;
}

.inv-couple-ampersand {
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.85em;
    font-style: italic;
    color: #FFE58F;
    opacity: 0.9;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
    animation: invConvergeCenter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
    will-change: transform, opacity;
}

.inv-cover-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 196, 0, 0.08);
    border: 1px solid rgba(255, 196, 0, 0.22);
    margin: 6px auto 10px;
}

.inv-date-dot {
    color: #FFC400;
    font-size: 10px;
}

.inv-date-text {
    font-size: 11.5px;
    font-weight: 600;
    color: #FFE89C;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Blok Tamu Undangan */
.inv-emerald-guest-box {
    margin: 8px auto 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 196, 0, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.inv-emerald-guest-kicker {
    font-size: 10.5px;
    color: #B9CEBF;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.inv-emerald-guest-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    word-break: break-word;
}

/* Tombol Buka Undangan Mewah */
.btn-open-emerald {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, #FFC400 0%, #D49B00 45%, #FFDE7A 100%);
    color: #0A1C15;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255, 196, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.btn-open-emerald:hover,
.btn-open-emerald:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 30px rgba(255, 196, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-open-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-open-emerald:hover .btn-open-icon {
    transform: translateY(-1px) scale(1.1);
}

/* Efek Shimmer Sweep Animasi */
.btn-open-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    animation: emeraldButtonShine 3.6s infinite;
    pointer-events: none;
}

@keyframes emeraldButtonShine {
    0%, 60% { left: -100%; }
    100% { left: 160%; }
}

@keyframes emeraldFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes emeraldFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
/* ==========================================================================
   SECTION 1: HERO & VIDEO (AESTHETIC NON-BLOCKING LUXURY DESIGN)
   ========================================================================== */
.motion-preview-section-hero {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: 100vh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 40px 18px 30px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center 18% !important;
}

/* Matikan blur berat pada hero agar keindahan video / foto latar belakang terpancar penuh */
.motion-preview-section-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 23, 17, 0.45) 0%,
        rgba(7, 23, 17, 0.12) 28%,
        rgba(7, 23, 17, 0.20) 52%,
        rgba(6, 19, 14, 0.72) 78%,
        rgba(5, 16, 12, 0.94) 100%
    ) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1;
    pointer-events: none;
}

/* Video Background Full Bleed */
.inv-section-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Hero Content Pod: Ultra-Frosted Glassmorphic Pod (Aesthetic & Non-Blocking) */
.motion-preview-hero-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 20px;
    box-sizing: border-box;
    background: linear-gradient(175deg, rgba(14, 38, 29, 0.42) 0%, rgba(7, 20, 15, 0.75) 100%) !important;
    border: 1px solid rgba(255, 196, 0, 0.25) !important;
    border-radius: 26px !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 232, 156, 0.28) !important;
    animation: emeraldFadeUp 1s ease both;
}

.inv-hero-kicker-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.inv-hero-arch-svg {
    width: 110px;
    height: 16px;
}

.motion-preview-hero-card .inv-section-kicker {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: #FFE58F;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.inv-hero-bride {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
    margin: 0;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0B3 30%, #FFC400 70%, #E6A800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
    word-break: break-word;
    will-change: transform, opacity;
}

.inv-hero-groom {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
    margin: 0;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0B3 30%, #FFC400 70%, #E6A800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
    word-break: break-word;
    will-change: transform, opacity;
}

.motion-preview-hero-divider {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1;
    color: #FFE58F;
    margin: 2px 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

/* State sebelum cover dibuka: sembunyikan nama di hero */
body.inv-cover-locked .motion-preview-section-hero .inv-hero-bride,
body.theme-preview-locked .motion-preview-section-hero .inv-hero-bride {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
}

body.inv-cover-locked .motion-preview-section-hero .inv-hero-groom,
body.theme-preview-locked .motion-preview-section-hero .inv-hero-groom {
    opacity: 0;
    transform: translate3d(50px, 0, 0);
}

body.inv-cover-locked .motion-preview-section-hero .motion-preview-hero-divider,
body.theme-preview-locked .motion-preview-section-hero .motion-preview-hero-divider {
    opacity: 0;
    transform: scale(0.6);
}

/* State setelah cover dibuka: jalankan converging reveal sinematik */
body.theme-preview-ready .motion-preview-section-hero .inv-hero-bride,
.theme-preview-cover.is-opened ~ .theme-preview-main .motion-preview-section-hero .inv-hero-bride {
    animation: invConvergeFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

body.theme-preview-ready .motion-preview-section-hero .inv-hero-groom,
.theme-preview-cover.is-opened ~ .theme-preview-main .motion-preview-section-hero .inv-hero-groom {
    animation: invConvergeFromRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

body.theme-preview-ready .motion-preview-section-hero .motion-preview-hero-divider,
.theme-preview-cover.is-opened ~ .theme-preview-main .motion-preview-section-hero .motion-preview-hero-divider {
    animation: invConvergeCenter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.motion-preview-cover-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(255, 196, 0, 0.08);
    border: 1px solid rgba(255, 196, 0, 0.25);
    color: #FFE89C;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 10px 0 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.inv-hero-date-dot {
    color: #FFC400;
    font-size: 10px;
}

.inv-hero-subtitle-box {
    position: relative;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 196, 0, 0.16);
    margin-top: 2px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.motion-preview-cover-subtitle {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: #E2ECE5;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.inv-hero-scroll-cue {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 232, 156, 0.75);
    font-size: 10.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: emeraldScrollBounce 2.4s ease-in-out infinite;
    cursor: pointer;
    transition: color 0.2s ease;
}

.inv-hero-scroll-cue:hover {
    color: #FFE58F;
}

@keyframes emeraldScrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.65; }
    50% { transform: translateY(4px); opacity: 1; }
}

/* ==========================================================================
   GLASS CARDS & SECTION BASE
   ========================================================================== */
.motion-preview-section {
    position: relative;
    padding: 48px 20px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.motion-preview-section:not(.motion-preview-section-hero)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(14, 34, 27, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
}

.motion-preview-section > * {
    position: relative;
    z-index: 1;
}

.inv-emerald-card {
    background: linear-gradient(150deg, rgba(27, 66, 52, 0.88) 0%, rgba(16, 40, 31, 0.94) 100%);
    border: 1px solid var(--theme-border-color, rgba(255, 196, 0, 0.35));
    border-radius: 24px;
    padding: 28px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 232, 156, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 20px;
}

.inv-section-title-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.inv-section-kicker {
    display: inline-block;
    color: var(--theme-accent, #FFC400);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}

.inv-section-title {
    font-size: clamp(22px, 6vw, 30px);
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.25;
}

.inv-gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 140px;
    margin: 10px auto 0;
}

.inv-gold-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFC400, transparent);
}

.inv-gold-divider-dot {
    color: #FFC400;
    font-size: 11px;
}

/* ==========================================================================
   SECTION 1: HERO SECTION & VIDEO
   ========================================================================== */
.motion-preview-section-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.inv-section-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.motion-preview-section-hero .motion-preview-hero-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 36px 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(14, 34, 27, 0.72) 0%, rgba(10, 26, 20, 0.9) 100%);
    border: 1px solid rgba(255, 196, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.motion-preview-hero-card h1 {
    font-size: clamp(26px, 7vw, 36px);
    color: #FFFFFF;
    margin: 10px 0;
    line-height: 1.2;
}

.motion-preview-hero-card h1.inv-hero-groom {
    color: var(--theme-text-couple, #F5D061);
}

.motion-preview-hero-divider {
    font-family: var(--motion-heading-font);
    font-style: italic;
    color: #FFC400;
    font-size: 22px;
    margin: 2px 0;
}

.motion-preview-cover-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-accent, #FFC400);
    letter-spacing: 1.5px;
    margin: 12px 0 0;
    text-transform: uppercase;
}

/* Kalimat Pembuka / Subtitle Hero */
.motion-preview-cover-subtitle {
    font-size: 13.5px;
    color: var(--theme-text-muted, #D1E0D7);
    margin: 14px auto 0;
    max-width: 330px;
    line-height: 1.6;
    font-style: italic;
    cursor: pointer;
    transition: color 0.2s ease;
}

.motion-preview-cover-subtitle:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   SECTION 2: QUOTE / AYAT (SCROLL-TRIGGERED UPWARD REVEAL)
   ========================================================================== */
.motion-preview-quote {
    text-align: center;
}

.motion-preview-quote-card {
    padding: 34px 24px;
    overflow: hidden;
    position: relative;
}

.motion-preview-quote .inv-section-title-wrap,
.motion-preview-quote blockquote,
.motion-preview-quote small {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1), filter 1.6s ease;
    will-change: transform, opacity;
}

.motion-preview-quote blockquote {
    margin: 0 0 16px;
    padding: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(15px, 4.2vw, 18px);
    font-style: italic;
    line-height: 1.85;
    color: #FFF0B3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 196, 0, 0.15);
    transform: translate3d(0, 34px, 0);
    filter: blur(4px);
    transition-duration: 1.8s;
}

.motion-preview-quote small {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: #FFE58F;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 196, 0, 0.08);
    border: 1px solid rgba(255, 196, 0, 0.22);
    transition-duration: 1.5s;
}

/* Stagger saat Section 2 aktif di viewport (is-visible) — Tempo Santai & Halus */
.motion-preview-quote.is-visible .inv-section-title-wrap {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.30s;
}

.motion-preview-quote.is-visible blockquote {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0px);
    transition-delay: 0.70s;
}

.motion-preview-quote.is-visible small {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 1.15s;
}

/* Guard: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .motion-preview-quote .inv-section-title-wrap,
    .motion-preview-quote blockquote,
    .motion-preview-quote small {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   SECTION 3: COUPLE PROFILE (MEMPELAI)
   ========================================================================== */
.inv-couple-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

.inv-couple-card {
    text-align: center;
    padding: 34px 22px 28px;
    border-radius: 28px !important;
    background: linear-gradient(165deg, rgba(27, 66, 52, 0.88) 0%, rgba(14, 38, 29, 0.96) 100%) !important;
    border: 1.2px solid rgba(255, 196, 0, 0.35) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 232, 156, 0.22) !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform, opacity;
}

.inv-couple-card:hover {
    transform: translateY(-5px);
    border-color: #FFC400 !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 196, 0, 0.25) !important;
}

/* Initial state sebelum scroll reveal masuk viewport */
.inv-couple-card-primary {
    opacity: 0;
    transform: translate3d(-30px, 20px, 0);
    transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.inv-couple-card-secondary {
    opacity: 0;
    transform: translate3d(30px, 20px, 0);
    transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.inv-couple-avatar {
    position: relative;
    width: 135px;
    height: 135px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: #0E221B;
    outline: 3px solid transparent;
    box-shadow:
        0 0 0 2px #FFC400,
        0 0 0 5px rgba(10, 26, 20, 0.9),
        0 0 0 7px rgba(255, 196, 0, 0.38),
        0 12px 30px rgba(0, 0, 0, 0.55),
        0 0 22px rgba(255, 196, 0, 0.22);
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.inv-couple-card:hover .inv-couple-avatar {
    transform: scale(1.05);
    box-shadow:
        0 0 0 2.5px #FFE89C,
        0 0 0 5px rgba(10, 26, 20, 0.9),
        0 0 0 8px rgba(255, 196, 0, 0.55),
        0 16px 38px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(255, 196, 0, 0.35);
}

.inv-couple-avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inv-couple-avatar-upload-btn {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--theme-gold-gradient);
    color: #10271F;
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
    z-index: 10;
}

.inv-couple-avatar-upload-btn:hover {
    transform: scale(1.15);
}

.inv-couple-role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFE89C;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.3);
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.inv-couple-name {
    font-family: var(--motion-heading-font);
    font-size: clamp(24px, 6.5vw, 30px);
    color: #FFFFFF;
    margin: 4px 0 6px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.inv-couple-parents {
    font-size: 14px;
    color: var(--theme-text-muted, #D1E0D7);
    margin: 0 0 14px;
    line-height: 1.6;
}

/* ─── Romantic Union Ampersand Medallion Divider di Emerald Falls ─── */
.motion-preview-couple-divider {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.inv-couple-ampersand-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 280px;
}

.inv-couple-amp-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.6), transparent);
}

.inv-couple-amp-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(27, 66, 52, 0.9) 0%, rgba(10, 26, 20, 0.96) 100%);
    border: 1.2px solid rgba(255, 196, 0, 0.6);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 196, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.inv-couple-amp-badge:hover {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 196, 0, 0.45);
}

.inv-couple-amp-char {
    font-family: var(--motion-heading-font);
    font-style: italic;
    font-size: 24px;
    font-weight: 700;
    color: #FFE89C;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.inv-couple-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    margin-top: 6px;
    border-radius: 999px;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.4);
    color: var(--theme-accent, #FFC400);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-couple-instagram:hover {
    background: linear-gradient(135deg, rgba(255, 196, 0, 0.25) 0%, rgba(212, 175, 55, 0.18) 100%);
    border-color: #FFD700;
    color: #FFF8E1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 14px rgba(255, 196, 0, 0.3);
}

.inv-couple-instagram-icon {
    width: 14px;
    height: 14px;
    color: var(--theme-accent, #FFC400);
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.inv-couple-instagram:hover .inv-couple-instagram-icon {
    transform: scale(1.12);
    color: #FFF8E1;
}

/* Stagger saat Section 3 terlihat di Viewport */
.motion-preview-section.is-visible .inv-couple-card-primary {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.25s;
}

.motion-preview-section.is-visible .motion-preview-couple-divider {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.55s;
}

.motion-preview-section.is-visible .inv-couple-card-secondary {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.75s;
}

@media (prefers-reduced-motion: reduce) {
    .inv-couple-card-primary,
    .motion-preview-couple-divider,
    .inv-couple-card-secondary {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   SECTION 4: SCHEDULE & COUNTDOWN (ROYAL EMERALD LUXURY GLASSMORPHISM)
   ========================================================================== */
.inv-schedule-premium-section {
    padding: clamp(40px, 6vw, 70px) 16px !important;
}

.inv-schedule-grid {
    display: grid !important;
    gap: 20px !important;
    width: 100% !important;
}

.inv-schedule-card-luxury {
    background: var(--theme-card-bg, rgba(20, 48, 38, 0.85)) !important;
    border: 1px solid var(--theme-border-color, rgba(255, 196, 0, 0.35)) !important;
    border-radius: 26px !important;
    padding: 26px 20px 22px !important;
    text-align: center !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 232, 156, 0.25) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    box-sizing: border-box !important;
}

.inv-schedule-card-luxury:hover {
    transform: translateY(-3px) !important;
    border-color: #FFC400 !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 196, 0, 0.2) !important;
}

.inv-sch-badge-luxury {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 16px !important;
    border-radius: 999px !important;
    background: rgba(255, 196, 0, 0.15) !important;
    border: 1px solid rgba(255, 196, 0, 0.35) !important;
    color: var(--theme-accent, #FFC400) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

.inv-sch-badge-dot {
    font-size: 9px !important;
    opacity: 0.85 !important;
}

.inv-sch-luxury-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(20px, 5vw, 24px) !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
}

.inv-sch-luxury-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 120px !important;
    margin: 0 auto 16px !important;
}

.inv-sch-div-line {
    height: 1px !important;
    flex: 1 !important;
    background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.5), transparent) !important;
}

.inv-sch-div-gem {
    color: #FFC400 !important;
    font-size: 9px !important;
    line-height: 1 !important;
}

.inv-sch-meta-box {
    background: rgba(10, 26, 20, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 14px 16px !important;
    margin-bottom: 18px !important;
    display: grid !important;
    gap: 10px !important;
}

.inv-sch-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
}

.inv-sch-icon-orb {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 196, 0, 0.15) !important;
    border: 1px solid rgba(255, 196, 0, 0.3) !important;
    color: var(--theme-accent, #FFC400) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.inv-sch-icon-orb svg {
    width: 17px !important;
    height: 17px !important;
}

.inv-sch-meta-text small {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #FFE89C !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.inv-sch-meta-text strong {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1.3 !important;
    display: block !important;
}

.inv-sch-venue-luxury {
    margin-bottom: 20px !important;
}

.inv-sch-venue-kicker {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #FFE89C !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.inv-sch-venue-name {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 0 6px !important;
}

.inv-sch-venue-address {
    font-size: 13px !important;
    color: var(--theme-text-muted, #D1E0D7) !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.inv-sch-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

@media (max-width: 360px) {
    .inv-sch-actions {
        grid-template-columns: 1fr !important;
    }
}

.inv-sch-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 11px 16px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.inv-sch-btn-cal {
    background: rgba(255, 196, 0, 0.14) !important;
    border: 1px solid rgba(255, 196, 0, 0.35) !important;
    color: var(--theme-accent, #FFC400) !important;
}

.inv-sch-btn-cal:hover {
    background: rgba(255, 196, 0, 0.25) !important;
    border-color: #FFC400 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.inv-sch-btn-map {
    background: var(--theme-gold-gradient) !important;
    color: #10271F !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(255, 196, 0, 0.35) !important;
}

.inv-sch-btn-map:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.5) !important;
}

/* Countdown Timer Luxury */
.inv-countdown-luxury-card {
    margin-top: 26px !important;
    padding: 22px 18px 20px !important;
    border-radius: 24px !important;
    background: rgba(14, 38, 29, 0.85) !important;
    border: 1px solid rgba(255, 196, 0, 0.28) !important;
    text-align: center !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
}

.inv-countdown-kicker {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #FFE89C !important;
    margin-bottom: 14px !important;
}

.inv-countdown-luxury-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
}

.inv-cd-box {
    background: rgba(8, 22, 16, 0.8) !important;
    border: 1px solid rgba(255, 196, 0, 0.2) !important;
    border-radius: 16px !important;
    padding: 12px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.inv-cd-digit {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(22px, 5.2vw, 30px) !important;
    font-weight: 800 !important;
    color: #FFC400 !important;
    line-height: 1 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

.inv-cd-unit {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--theme-text-muted, #D1E0D7) !important;
    margin-top: 4px !important;
}

/* ==========================================================================
   SECTION 5: LOCATION & NAVIGATION (ROYAL EMERALD LUXURY RADAR MAP SHOWCASE)
   ========================================================================== */
.inv-location-premium-section {
    padding: clamp(40px, 6vw, 70px) 16px !important;
    position: relative !important;
    overflow: hidden !important;
}

.inv-location-card-luxury {
    background: var(--theme-card-bg, rgba(20, 48, 38, 0.85)) !important;
    border: 1px solid var(--theme-border-color, rgba(255, 196, 0, 0.35)) !important;
    border-radius: 26px !important;
    padding: 26px 20px 22px !important;
    text-align: center !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55) !important;
    box-sizing: border-box !important;
}

.inv-loc-header {
    margin-bottom: 20px !important;
}

.inv-loc-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 14px !important;
    border-radius: 999px !important;
    background: rgba(255, 196, 0, 0.15) !important;
    border: 1px solid rgba(255, 196, 0, 0.35) !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #FFC400 !important;
    margin-bottom: 8px !important;
}

.inv-loc-badge-star {
    font-size: 9px !important;
}

.inv-loc-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(20px, 5vw, 25px) !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
}

.inv-loc-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 120px !important;
    margin: 0 auto !important;
}

.inv-loc-div-line {
    height: 1px !important;
    flex: 1 !important;
    background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.5), transparent) !important;
}

.inv-loc-div-gem {
    color: #FFC400 !important;
    font-size: 9px !important;
}

.inv-loc-venue-box {
    background: rgba(10, 26, 20, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 18px 16px !important;
    margin-bottom: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
}

.inv-loc-pin-orb {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255, 196, 0, 0.25), rgba(16, 40, 31, 0.9)) !important;
    border: 1.5px solid #FFC400 !important;
    color: #FFC400 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 18px rgba(255, 196, 0, 0.3) !important;
    flex-shrink: 0 !important;
}

.inv-loc-pin-orb svg {
    width: 20px !important;
    height: 20px !important;
}

.inv-loc-venue-content {
    text-align: center !important;
    width: 100% !important;
}

.inv-loc-venue-kicker {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #FFE89C !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.inv-loc-address-text {
    font-size: 13.5px !important;
    color: var(--theme-text-muted, #D1E0D7) !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* Radar Map Showcase */
.inv-map-luxury-wrapper {
    display: block !important;
    text-decoration: none !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 196, 0, 0.3) !important;
    background: #081611 !important;
    margin-bottom: 20px !important;
    position: relative !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
}

.inv-map-luxury-wrapper:hover {
    transform: translateY(-3px) !important;
    border-color: #FFC400 !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 196, 0, 0.25) !important;
}

.inv-map-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    background: rgba(12, 32, 24, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 11px !important;
    color: #D1E0D7 !important;
}

.inv-map-status {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.inv-map-pulse-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10B981 !important;
    box-shadow: 0 0 8px #10B981 !important;
    animation: invEmeraldPulseDot 2s infinite ease-in-out !important;
}

@keyframes invEmeraldPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.inv-map-badge-tag {
    padding: 2px 9px !important;
    border-radius: 999px !important;
    background: rgba(255, 196, 0, 0.15) !important;
    color: #FFC400 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.inv-map-canvas {
    height: 170px !important;
    position: relative !important;
    overflow: hidden !important;
    background: radial-gradient(circle at center, #133527 0%, #071711 100%) !important;
}

.inv-map-grid {
    position: absolute !important;
    inset: 0 !important;
    background-image: linear-gradient(rgba(255, 196, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 196, 0, 0.06) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
}

.inv-map-road {
    pointer-events: none !important;
}

.inv-map-road-h {
    position: absolute !important;
    top: 52% !important;
    left: -20% !important;
    right: -20% !important;
    height: 7px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    transform: rotate(-5deg) !important;
}

.inv-map-road-v {
    position: absolute !important;
    left: 50% !important;
    top: -20% !important;
    bottom: -20% !important;
    width: 7px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    transform: rotate(14deg) !important;
}

.inv-map-road-h2 {
    position: absolute !important;
    top: 26% !important;
    left: -20% !important;
    right: -20% !important;
    height: 3px !important;
    background: rgba(255, 196, 0, 0.12) !important;
    transform: rotate(8deg) !important;
}

.inv-map-road-v2 {
    position: absolute !important;
    left: 32% !important;
    top: -20% !important;
    bottom: -20% !important;
    width: 3px !important;
    background: rgba(255, 196, 0, 0.12) !important;
    transform: rotate(-16deg) !important;
}

.inv-map-pin-wrap {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    pointer-events: none !important;
}

.inv-map-ripple {
    position: absolute !important;
    border-radius: 50% !important;
    border: 1.5px solid #FFC400 !important;
    pointer-events: none !important;
}

.inv-map-ripple-1 {
    width: 32px !important;
    height: 32px !important;
    animation: invEmeraldRippleWave 2.4s infinite cubic-bezier(0, 0.2, 0.8, 1) !important;
}

.inv-map-ripple-2 {
    width: 52px !important;
    height: 52px !important;
    animation: invEmeraldRippleWave 2.4s infinite cubic-bezier(0, 0.2, 0.8, 1) 0.8s !important;
}

.inv-map-ripple-3 {
    width: 72px !important;
    height: 72px !important;
    animation: invEmeraldRippleWave 2.4s infinite cubic-bezier(0, 0.2, 0.8, 1) 1.6s !important;
}

@keyframes invEmeraldRippleWave {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.inv-map-pin {
    position: relative !important;
    z-index: 2 !important;
    width: 30px !important;
    height: 30px !important;
    color: #EF4444 !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) !important;
    animation: invEmeraldBouncePin 2s infinite ease-in-out !important;
}

.inv-map-pin svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

@keyframes invEmeraldBouncePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.inv-map-hover-hint {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(7, 23, 17, 0.78) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
    z-index: 5 !important;
}

.inv-map-luxury-wrapper:hover .inv-map-hover-hint {
    opacity: 1 !important;
}

.inv-map-hover-hint svg {
    width: 17px !important;
    height: 17px !important;
    color: #FFC400 !important;
}

.inv-loc-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
}

@media (max-width: 360px) {
    .inv-loc-actions {
        grid-template-columns: 1fr !important;
    }
}

.inv-loc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.inv-loc-btn-map {
    background: var(--theme-gold-gradient) !important;
    color: #10271F !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(255, 196, 0, 0.35) !important;
}

.inv-loc-btn-map:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.5) !important;
}

.inv-loc-btn-cal {
    background: rgba(255, 196, 0, 0.14) !important;
    border: 1px solid rgba(255, 196, 0, 0.35) !important;
    color: var(--theme-accent, #FFC400) !important;
}

.inv-loc-btn-cal:hover {
    background: rgba(255, 196, 0, 0.25) !important;
    border-color: #FFC400 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   SECTION 6: LOVE STORY (KISAH CINTA - PLACED ABOVE GALLERY)
   ========================================================================== */
.inv-story-timeline {
    position: relative;
    padding: 10px 0;
}

.inv-story-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, transparent, #FFC400, transparent);
}

.inv-story-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 24px;
}

.inv-story-item:last-child {
    margin-bottom: 0;
}

.inv-story-node {
    position: absolute;
    left: 13px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFC400;
    border: 3px solid #10271F;
    box-shadow: 0 0 0 2px rgba(255, 196, 0, 0.4);
}

.inv-story-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--theme-accent, #FFC400);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.inv-story-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px;
}

.inv-story-desc {
    font-size: 13px;
    color: var(--theme-text-muted, #D1E0D7);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 7: FOTO GALERI (MODERN SLEEK - TANPA BORDER TEBAL)
   ========================================================================== */
.inv-gallery-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.inv-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background: #0E221B;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.inv-gallery-item:nth-child(3n+1) {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
}

.inv-gallery-item:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(255, 196, 0, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 196, 0, 0.2);
}

.inv-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.inv-gallery-item:hover img {
    transform: scale(1.06);
}

.inv-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 26, 20, 0.6) 100%);
    pointer-events: none;
}

/* Lightbox Modal */
.inv-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(7, 18, 14, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inv-lightbox-modal.is-active {
    display: flex;
    opacity: 1;
}

.inv-lightbox-img {
    max-width: 92vw;
    max-height: 85vh;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 196, 0, 0.3);
    object-fit: contain;
}

.inv-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.inv-lightbox-close:hover {
    background: rgba(255, 196, 0, 0.4);
}

/* ==========================================================================
   SECTION 8: DIGITAL GIFT & KADO FISIK (DISTINCT ATM VS PARCEL CARDS)
   ========================================================================== */
.inv-gift-grid {
    display: grid;
    gap: 20px;
}

/* 1. Sleek Emerald Debit ATM Card (Bank / e-Wallet) */
.inv-atm-card {
    position: relative;
    padding: 24px 20px;
    border-radius: 22px;
    background: var(--theme-atm-bg);
    border: 1px solid rgba(255, 196, 0, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 232, 156, 0.2);
    overflow: hidden;
}

.inv-atm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.inv-atm-brand {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.inv-atm-debit-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.inv-atm-debit-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    letter-spacing: 1px;
}

.inv-atm-chip {
    width: 38px;
    height: 28px;
    margin-bottom: 16px;
}

.inv-atm-number-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--theme-text-muted, #D1E0D7);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.inv-atm-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #FFFFFF;
    display: block;
    margin-bottom: 14px;
}

.inv-atm-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.inv-atm-holder-col small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--theme-text-muted, #D1E0D7);
}

.inv-atm-holder {
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-text-couple, #F5D061);
}

/* 2. Dedicated Luxury Parcel / Physical Gift Card (Alamat Kirim Hadiah Fisik) */
.inv-parcel-card {
    position: relative;
    padding: 24px 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(30, 74, 58, 0.9) 0%, rgba(18, 44, 34, 0.95) 100%);
    border: 1.5px dashed rgba(255, 196, 0, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.inv-parcel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.inv-parcel-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 196, 0, 0.15);
    border: 1px solid rgba(255, 196, 0, 0.3);
    color: #FFC400;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-parcel-icon svg {
    width: 22px;
    height: 22px;
}

.inv-parcel-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--theme-accent, #FFC400);
}

.inv-parcel-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.inv-parcel-body {
    background: rgba(10, 26, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.inv-parcel-recipient {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--theme-text-couple, #F5D061);
    margin-bottom: 6px;
}

.inv-parcel-address {
    font-size: 13px;
    color: var(--theme-text, #F8FAF8);
    line-height: 1.55;
    margin: 0;
}

/* Copy Buttons */
.inv-btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 196, 0, 0.18);
    border: 1px solid rgba(255, 196, 0, 0.4);
    color: var(--theme-accent, #FFC400);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inv-btn-copy:hover {
    background: #FFC400;
    color: #10271F;
}

.inv-btn-copy.is-copied {
    background: #10B981 !important;
    border-color: #10B981 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   SECTION 9: WISHES & GUESTBOOK (BUKU TAMU & DOA)
   ========================================================================== */
.inv-wishes-form {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.inv-wishes-input, .inv-wishes-textarea, .inv-wishes-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(10, 26, 20, 0.6);
    border: 1px solid rgba(255, 196, 0, 0.25);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s ease;
}

.inv-wishes-input:focus, .inv-wishes-textarea:focus, .inv-wishes-select:focus {
    border-color: #FFC400;
    background: rgba(10, 26, 20, 0.85);
}

.inv-wishes-textarea {
    resize: vertical;
    min-height: 90px;
}

.inv-btn-submit-wish {
    width: 100%;
    padding: 13px;
    border-radius: 999px;
    border: none;
    background: var(--theme-gold-gradient);
    color: #10271F;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 18px rgba(255, 196, 0, 0.3);
    transition: transform 0.2s ease;
}

.inv-btn-submit-wish:hover {
    transform: translateY(-2px);
}

.inv-wishes-stream {
    display: grid;
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.inv-wish-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(12, 30, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.inv-wish-sender {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.inv-wish-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.inv-wish-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.inv-wish-badge-hadir {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

.inv-wish-badge-berhalangan {
    background: rgba(239, 68, 68, 0.2);
    color: #F87171;
}

.inv-wish-text {
    font-size: 13px;
    color: var(--theme-text-muted, #D1E0D7);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 10: CLOSING & FOOTER
   ========================================================================== */
.inv-closing-section,
footer.inv-closing-section {
    display: block !important;
    text-align: center;
    padding: 50px 20px 80px;
    background: linear-gradient(180deg, transparent 0%, #081611 100%);
}

.inv-closing-text {
    font-size: 14px;
    color: var(--theme-text-muted, #D1E0D7);
    max-width: 360px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.inv-closing-signature {
    font-family: var(--motion-heading-font);
    font-size: 26px;
    color: var(--theme-text-couple, #F5D061);
    margin-bottom: 30px;
}

.inv-watermark-footer {
    font-size: 11.5px;
    color: rgba(209, 224, 215, 0.5);
    letter-spacing: 1px;
}

/* ==========================================================================
   FLOATING AUDIO & SCROLL CONTROLS (WORKSPACE RULE COMPLIANT)
   ========================================================================== */
.inv-floating-actions {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Sembunyikan floating audio saat cover page belum dibuka agar tidak menumpuk tombol Buka Undangan */
.theme-preview-cover:not(.is-opened) ~ .inv-floating-actions,
body.inv-cover-locked .inv-floating-actions,
body.theme-preview-locked .inv-floating-actions {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.inv-floating-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 40, 31, 0.85);
    border: 1.5px solid var(--theme-accent, #FFC400);
    color: var(--theme-accent, #FFC400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    padding: 0;
    outline: none;
    pointer-events: auto !important;
}

.inv-floating-btn:hover {
    transform: scale(1.1);
    background: #1B4234;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 16px rgba(255, 196, 0, 0.35);
}

/* Audio active / playing state */
.inv-floating-btn.is-playing,
.inv-floating-btn[data-playing="1"] {
    background: linear-gradient(135deg, #1B4234 0%, #2A634F 100%) !important;
    border-color: var(--theme-accent, #FFC400) !important;
    color: var(--theme-accent, #FFC400) !important;
    box-shadow: 0 0 16px rgba(255, 196, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

/* Autoscroll active state (Emerald Gold glow) */
.inv-floating-btn.is-active,
.inv-floating-btn[data-active="1"] {
    background: linear-gradient(135deg, #FFC400 0%, #D4AF37 100%) !important;
    border-color: #FFE57F !important;
    color: #071711 !important;
    box-shadow: 0 0 18px rgba(255, 196, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.inv-floating-btn.is-spinning svg,
.inv-floating-btn.is-playing svg,
.inv-floating-btn[data-playing="1"] svg {
    animation: invMusicSpin 4s linear infinite;
}

@keyframes invMusicSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .inv-floating-btn.is-spinning svg,
    .inv-floating-btn.is-playing svg,
    .inv-floating-btn[data-playing="1"] svg {
        animation: none;
    }
}

/* ==========================================================================
   INTERACTIVE INLINE MEDIA UPLOADERS (COVER BACKGROUND & GALLERY)
   Rekomendasi 1: Subtle Glass Orb with Hover-Expand (Ultra-Luxury Minimalist)
   ========================================================================== */
.inv-cover-bg-upload-wrap {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 50;
    pointer-events: auto !important;
}

.inv-btn-change-cover-bg {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    background: rgba(4, 30, 24, 0.45) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #FFF8E1 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease, 
                transform 0.25s ease !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    line-height: 1 !important;
    pointer-events: auto !important;
}

.inv-btn-change-cover-bg .inv-cover-bg-icon,
.inv-btn-change-cover-bg svg {
    width: 16px !important;
    height: 16px !important;
    color: #FFD700 !important;
    flex-shrink: 0 !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)) !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.inv-btn-change-cover-bg .inv-cover-bg-text,
.inv-btn-change-cover-bg span {
    max-width: 0 !important;
    opacity: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    display: inline-block !important;
    transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s ease, 
                margin-left 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    letter-spacing: 0.3px !important;
    color: #FFFBEA !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Hover & Focus State: Berubah mulus dari lingkaran mini menjadi kapsul anggun */
.inv-cover-bg-upload-wrap:hover .inv-btn-change-cover-bg,
.inv-btn-change-cover-bg:hover,
.inv-btn-change-cover-bg:focus {
    width: 156px !important;
    min-width: 38px !important;
    max-width: 156px !important;
    padding: 0 14px 0 11px !important;
    background: rgba(6, 78, 59, 0.92) !important;
    border-color: rgba(255, 215, 0, 0.85) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), 0 0 14px rgba(212, 175, 55, 0.35) !important;
    transform: translateY(-1px) !important;
}

.inv-cover-bg-upload-wrap:hover .inv-btn-change-cover-bg .inv-cover-bg-text,
.inv-btn-change-cover-bg:hover .inv-cover-bg-text,
.inv-btn-change-cover-bg:hover span,
.inv-btn-change-cover-bg:focus .inv-cover-bg-text,
.inv-btn-change-cover-bg:focus span {
    max-width: 140px !important;
    opacity: 1 !important;
    margin-left: 7px !important;
}

.inv-cover-bg-upload-wrap:hover .inv-btn-change-cover-bg .inv-cover-bg-icon,
.inv-btn-change-cover-bg:hover .inv-cover-bg-icon,
.inv-btn-change-cover-bg:hover svg {
    transform: scale(1.05) !important;
    color: #FFE680 !important;
}

.theme-preview-cover.is-opened .inv-cover-bg-upload-wrap {
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Interactive Gallery Upload Card */
.inv-gallery-upload-card {
    background: rgba(6, 78, 59, 0.25) !important;
    border: 2px dashed rgba(255, 215, 0, 0.6) !important;
    border-radius: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    pointer-events: auto !important;
    position: relative;
    overflow: hidden;
}

.inv-gallery-upload-card:hover {
    background: rgba(6, 78, 59, 0.45) !important;
    border-color: #FFD700 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3), 0 0 16px rgba(255, 215, 0, 0.3);
}

.inv-gallery-upload-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 16px;
    width: 100%;
}

.inv-gallery-upload-inner .inv-couple-avatar-upload-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #B48A1A);
    color: #064E3B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: transform 0.25s ease;
}

.inv-gallery-upload-card:hover .inv-couple-avatar-upload-btn {
    transform: scale(1.1);
}

.inv-gallery-upload-label {
    font-size: 11px;
    font-weight: 700;
    color: #FFEAA7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Guard: Aksesibilitas Reduced Motion & Failsafe Inline Editor */
@media (prefers-reduced-motion: reduce) {
    .cover-bride-name,
    .cover-groom-name,
    .inv-couple-ampersand,
    .inv-hero-bride,
    .inv-hero-groom,
    .motion-preview-hero-divider {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

body.is-editor-mode [contenteditable="true"],
body.is-editor-mode .is-editing {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

