/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root,
[data-theme="gold"] {
    --bg-dark: #121212;
    --bg-dark-gray: #181818;
    --bg-card: rgba(26, 26, 26, 0.90);
    --card-border: 1px solid rgba(255, 156, 31, 0.22);
    --gold-primary: #ff9c1f;
    --gold-secondary: #d4af37;
    --gold-gradient: linear-gradient(135deg, #ff9c1f, #d4af37);
    --gold-soft: rgba(255, 156, 31, 0.18);
    --primary-rgb: 255, 156, 31;
    --secondary-rgb: 212, 175, 55;
    --text-light: #eaeaea;
    --text-muted: #b0b0b0;
    --text-heading: #ffffff;
    --text-dark: #121212;
    --white: #ffffff;
    --btn-text: #121212;
    --btn-bg: linear-gradient(135deg, #ff9c1f, #d4af37);
    --nav-bg: rgba(24, 24, 24, 0.92);
    --nav-border: 1px solid rgba(255, 156, 31, 0.25);
    --nav-text: #888888;
    --nav-active: #ff9c1f;
    --section-overlay: rgba(16, 16, 16, 0.88);
    --cover-overlay: rgba(10, 10, 10, 0.55);
    --input-bg: rgba(255, 255, 255, 0.06);
    --input-border: rgba(255, 156, 31, 0.25);
    --input-text: #ffffff;
    --event-header-bg: linear-gradient(135deg, #ff9c1f, #d4af37);
    --event-header-text: #121212;
    --event-body-bg: rgba(26, 26, 26, 0.95);
    --event-body-text: #eaeaea;
    --wayang-display: block;
    --font-cursive-theme: 'Sacramento', cursive;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-cursive: 'Sacramento', cursive;
    --font-handwrite: 'Dancing Script', cursive;
    
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top, rgba(255, 156, 31, 0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.08), transparent 24%),
        linear-gradient(180deg, #101010 0%, #141414 45%, #101010 100%);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
    opacity: 0.55;
}

body::before {
    top: -150px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 156, 31, 0.14), rgba(255, 156, 31, 0));
    animation: softPulse 10s ease-in-out infinite;
}

body::after {
    right: -120px;
    bottom: 80px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0));
    animation: softPulse 12s ease-in-out infinite reverse;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--gold-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

.container {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
    padding: 58px 0;
}

.hidden {
    display: none !important;
}

.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes sway {
    0%, 100% {
        transform: translateX(0px) rotate(0deg);
    }
    50% {
        transform: translateX(8px) rotate(2deg);
    }
}

@keyframes softPulse {
    0%, 100% {
        opacity: 0.14;
        transform: scale(1);
    }
    50% {
        opacity: 0.22;
        transform: scale(1.06);
    }
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 156, 31, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 156, 31, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 156, 31, 0);
    }
}

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

.animate-up {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-scale {
    animation: scaleUp 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.cover-content > *:nth-child(1) { animation-delay: 0.2s; }
.cover-content > *:nth-child(2) { animation-delay: 0.4s; }
.cover-content > *:nth-child(3) { animation-delay: 0.6s; }
.cover-content > *:nth-child(4) { animation-delay: 0.8s; }
.cover-content > *:nth-child(5) { animation-delay: 1s; }

/* Scroll Reveal Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(44px) scale(0.985);
    filter: blur(2px);
    transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), filter 0.95s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ==========================================================================
   COVER PAGE / AWAL
   ========================================================================== */
.cover-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background:
        radial-gradient(circle at top, rgba(255, 156, 31, 0.08), transparent 22%),
        linear-gradient(rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.99));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    text-align: center;
    transition: opacity 1s ease-out, transform 1s ease-out;
    overflow: hidden;
    align-items: flex-start;
    padding-top: max(18px, env(safe-area-inset-top));
}

.cover-screen::before,
.cover-screen::after,
.hero-section::before,
.hero-section::after {
    display: var(--wayang-display, block);
    content: "";
    position: absolute;
    pointer-events: none;
    background: url('assets/wayang.svg') no-repeat center center / contain;
    opacity: 0.08;
    filter: drop-shadow(0 0 18px rgba(255, 190, 92, 0.15));
}

.cover-screen::before,
.hero-section::before {
    width: 240px;
    height: 540px;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
    animation: sway 14s ease-in-out infinite;
}

.cover-screen::after,
.hero-section::after {
    width: 240px;
    height: 540px;
    right: -70px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    animation: sway 16s ease-in-out infinite reverse;
}

.cover-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.cover-content {
    width: 90%;
    max-width: 430px;
    padding: 34px 28px 32px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(34, 34, 34, 0.76), rgba(18, 18, 18, 0.88)),
        rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
    overflow: visible;
    animation: floatGentle 8s ease-in-out infinite;
}

.cover-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--gold-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.cover-title {
    font-family: var(--font-cursive);
    font-size: 56px;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.2;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.cover-image-stack {
    position: relative;
    width: fit-content;
    margin: 0 auto 28px auto;
}

.cover-image-container {
    width: 138px;
    height: 138px;
    border-radius: 30px;
    overflow: hidden;
    border: 4px solid var(--gold-primary);
    box-shadow:
        0 0 0 6px rgba(255, 156, 31, 0.08),
        0 18px 35px rgba(0, 0, 0, 0.38);
    position: relative;
    z-index: 1;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-greeting {
    margin-bottom: 30px;
}

.to-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.guest-name {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.invite-msg {
    font-size: 13px;
    color: var(--text-light);
    max-width: 80%;
    margin: 0 auto;
}

.btn-open {
    background: var(--gold-gradient);
    border: none;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-dark);
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 156, 31, 0.4);
    transition: var(--transition-smooth);
    animation: pulseGold 2s infinite;
}

.btn-open:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 156, 31, 0.6);
}

.btn-open i {
    margin-right: 8px;
}

/* ==========================================================================
   FLOATING ELEMENTS (AUDIO & NAVIGATION)
   ========================================================================== */
.audio-control {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    transition: var(--transition-smooth);
}

.audio-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border: var(--nav-border);
    color: var(--gold-primary);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.audio-btn:hover {
    transform: scale(1.1);
    color: var(--btn-text);
    background: var(--gold-gradient);
}

/* Bottom Nav Menu */
.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 550px;
    height: 65px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-radius: 35px;
    border: var(--nav-border);
    box-shadow: var(--shadow-premium);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    padding: 0 10px;
    transition: opacity 0.5s, transform 0.5s;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--nav-text);
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 8px 12px;
    border-radius: 20px;
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item:hover, .nav-item.active {
    color: var(--nav-active);
}

/* ==========================================================================
   HERO SECTION / HOME
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 660px;
    background:
        radial-gradient(circle at top, rgba(255, 156, 31, 0.1), transparent 20%),
        linear-gradient(rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.98));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.couple-section,
.event-section,
.story-section,
.gallery-section,
.rsvp-section,
.gift-section,
.main-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top, var(--gold-soft), transparent 25%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-gray) 100%);
    color: var(--text-light);
}

.couple-section::before,
.event-section::before,
.story-section::before,
.gallery-section::before,
.rsvp-section::before,
.gift-section::before,
.main-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    max-width: 430px;
    height: 28px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.35;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, var(--cover-overlay, rgba(18, 18, 18, 0.72)), var(--bg-dark)),
        radial-gradient(circle at top, var(--gold-soft), transparent 25%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92vw, 430px);
    margin: 0 auto;
    padding: 28px 22px 30px;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: 22px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
}

.hero-subtitle {
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-couple-names {
    font-family: var(--font-cursive-theme, 'Sacramento', cursive);
    font-size: clamp(44px, 6vw, 58px);
    color: var(--text-heading);
    margin-bottom: 12px;
    line-height: 1.08;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--gold-secondary);
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.hero-date-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-bottom: 40px;
    border-radius: 999px;
    border: var(--card-border);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    color: var(--gold-primary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.hero-date-link:hover {
    color: var(--btn-text);
    border-color: transparent;
    background: var(--gold-gradient);
    transform: translateY(-2px);
}

/* Countdown Elements */
.countdown-container {
    margin-bottom: 40px;
}

.simply-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-box {
    width: 74px;
    height: 78px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--card-border);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-soft);
    animation: scaleUp 0.8s ease forwards;
    transition: var(--transition-smooth);
}

.countdown-box:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--gold-primary);
}

.simply-countdown .countdown-box:nth-child(1) { animation-delay: 0.1s; }
.simply-countdown .countdown-box:nth-child(2) { animation-delay: 0.2s; }
.simply-countdown .countdown-box:nth-child(3) { animation-delay: 0.3s; }
.simply-countdown .countdown-box:nth-child(4) { animation-delay: 0.4s; }

.countdown-value {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1.2;
}

.countdown-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.btn-save-date {
    display: inline-block;
    background: transparent;
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-save-date:hover {
    background: var(--gold-gradient);
    color: var(--btn-text);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--gold-soft);
}

.btn-save-date i {
    margin-right: 6px;
}

/* ==========================================================================
   COUPLE SECTION
   ========================================================================== */
.couple-section {
    background-color: var(--bg-dark);
    position: relative;
}

.quote-container {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px auto;
    padding: 32px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: var(--card-border);
    box-shadow: var(--shadow-premium);
    position: relative;
}

.quote-icon {
    font-size: 32px;
    color: var(--gold-soft);
    margin-bottom: 15px;
}

.quote-text {
    font-style: italic;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.quote-author {
    font-size: 12px;
    color: var(--gold-primary);
    font-weight: 500;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 33px;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 800;
    position: relative;
    padding-inline: 74px;
    display: block;
}

.section-title::before,
.section-title::after {
    display: var(--wayang-display, none);
    content: "";
    position: absolute;
    top: 50%;
    width: 52px;
    height: 122px;
    transform: translateY(-50%);
    background: url('assets/wayang.svg') no-repeat center center / contain;
    opacity: 0.08;
    pointer-events: none;
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
    transform: translateY(-50%) scaleX(-1);
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 54px auto;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.couple-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.couple-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: var(--card-border);
    padding: 42px 30px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.couple-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
}

.couple-photo-frame {
    width: 170px;
    height: 170px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold-primary);
    box-shadow: 0 0 0 7px var(--gold-soft), var(--shadow-premium);
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.couple-card:hover .couple-photo-frame {
    border-color: var(--gold-secondary);
    transform: rotate(3deg) scale(1.03);
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.mempelai-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--gold-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.parents-info {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: var(--card-border);
    color: var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.social-links a:hover {
    color: var(--btn-text);
    background: var(--gold-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.couple-ampersand {
    font-family: var(--font-cursive-theme, 'Sacramento', cursive);
    font-size: 60px;
    color: var(--gold-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
}

/* ==========================================================================
   EVENT SECTION
   ========================================================================== */
.event-section {
    background-color: var(--bg-dark);
}

.event-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.event-card {
    flex: 1;
    min-width: 290px;
    max-width: 480px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    border: var(--card-border);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.1);
}

.event-header {
    background: var(--event-header-bg);
    padding: 30px 24px 28px;
    text-align: center;
    color: var(--event-header-text);
    border-bottom: var(--card-border);
}

.event-icon {
    font-size: 34px;
    margin-bottom: 12px;
    color: var(--event-header-text);
}

.event-header h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--event-header-text);
}

.event-body {
    padding: 34px 28px 36px;
    text-align: center;
    background: var(--event-body-bg);
    color: var(--event-body-text);
}

.event-time, .event-date {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--event-body-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.event-time i, .event-date i {
    color: var(--gold-primary);
}

.event-location {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.event-card#resepsi {
    scroll-margin-top: 80px;
}

/* Map Containers */
.map-container {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: var(--card-border);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    padding: 15px;
}

.map-container iframe {
    border-radius: 12px;
}

.map-btn-wrapper {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.btn-location {
    display: inline-block;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--gold-soft);
    transition: var(--transition-smooth);
}

.btn-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-soft);
    opacity: 0.95;
    color: var(--btn-text);
}

.btn-location i {
    margin-right: 8px;
}

/* ==========================================================================
   LOVE STORY / TIMELINE SECTION
   ========================================================================== */
.story-section {
    background-color: var(--bg-dark);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

/* Center line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-primary) 20%, var(--gold-primary) 80%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

/* Bullet indicator */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-dark);
    border: 3px solid var(--gold-primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.timeline-item:hover::after {
    background-color: var(--gold-primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gold-primary);
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
    text-align: left;
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 25px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--card-border);
    border-radius: 18px;
    box-shadow: var(--shadow-premium);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 17px;
    color: var(--text-heading);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    height: 210px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 156, 31, 0.1);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.22), rgba(18, 18, 18, 0.7));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    color: var(--gold-primary);
    font-size: 26px;
    transition: var(--transition-smooth);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    user-select: none;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    animation: scaleUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--gold-primary);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 35px;
    cursor: pointer;
    padding: 20px;
    transition: var(--transition-smooth);
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--gold-primary);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ==========================================================================
   RSVP & WISHES SECTION
   ========================================================================== */
.rsvp-section {
    background-color: var(--bg-dark);
}

.rsvp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.rsvp-card, .wishes-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--card-border);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--shadow-premium);
}

.wishes-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-primary);
    margin-bottom: 25px;
    border-bottom: var(--card-border);
    padding-bottom: 12px;
}

/* Form Styles */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-soft);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9c1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--gold-soft);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-soft);
    opacity: 0.95;
}

.btn-submit i {
    margin-right: 6px;
}

/* Wishes Feed Wall */
.wishes-wall {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for Wishes Wall */
.wishes-wall::-webkit-scrollbar {
    width: 5px;
}

.wishes-wall::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.wishes-wall::-webkit-scrollbar-thumb {
    background: var(--gold-soft);
    border-radius: 10px;
}

.wishes-wall::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

.wish-item {
    background: var(--bg-card);
    border: var(--card-border);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease forwards;
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wish-name {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--gold-primary);
}

.badge-attendance {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.badge-attendance.hadir {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.badge-attendance.tidak {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.badge-attendance.ragu {
    background-color: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.wish-text {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    word-break: break-word;
}

.wish-time {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.25);
    text-align: right;
    margin-top: 8px;
}

/* ==========================================================================
   DIGITAL GIFT / ANGPAO SECTION
   ========================================================================== */
.gift-section {
    background-color: var(--bg-dark);
    text-align: center;
}

.gift-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-gift-toggle {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: var(--card-border);
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--gold-soft);
}

.btn-gift-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
    opacity: 0.95;
}

.btn-gift-toggle i {
    font-size: 14px;
}

.gift-collapsible {
    transition: all 0.4s ease-in-out;
}

.gift-collapsible.collapsed {
    display: none !important;
}

.gift-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--card-border);
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.bank-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-style: italic;
}

.bank-logo.mandiri {
    color: var(--gold-secondary);
}

.account-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.account-number {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.account-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.btn-copy {
    background: var(--btn-bg);
    border: none;
    color: var(--btn-text);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--gold-soft);
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    opacity: 0.95;
    transform: scale(1.03);
}

.btn-copy i {
    margin-right: 6px;
}

/* JASTIO Banner */
.gift-jastio {
    background:
        linear-gradient(180deg, rgba(28, 28, 28, 0.92), rgba(18, 18, 18, 0.78)),
        var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 156, 31, 0.2);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.44);
}

.gift-jastio h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.gift-jastio p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-jastio {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 156, 31, 0.3);
    transition: var(--transition-smooth);
}

.btn-jastio:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 156, 31, 0.5);
}

.btn-jastio i {
    margin-right: 8px;
}

/* ==========================================================================
   JASTIO MODAL SELECTOR
   ========================================================================== */
.jastio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.jastio-modal-content {
    background: var(--white);
    color: var(--text-dark);
    width: 100%;
    max-width: 580px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    animation: fadeInUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.jastio-modal-header {
    background: #f8f9fa;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jastio-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.jastio-modal-close {
    font-size: 30px;
    cursor: pointer;
    color: #6c757d;
    transition: var(--transition-smooth);
}

.jastio-modal-close:hover {
    color: var(--text-dark);
}

.jastio-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.jastio-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jastio-info-banner {
    background-color: #e3f2fd;
    border-left: 4px solid #1e88e5;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 11.5px;
    line-height: 1.5;
    color: #1565c0;
}

.jastio-info-banner i {
    font-size: 16px;
    margin-top: 2px;
}

/* Product list styles */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-item {
    display: flex;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-img-wrapper {
    width: 120px;
    min-width: 120px;
    height: 120px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-details h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 10px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #d32f2f;
}

.btn-select-product {
    background: #ff2f2f;
    color: var(--white);
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-select-product:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background:
        radial-gradient(circle at top, var(--gold-soft), transparent 28%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-gray) 100%);
    text-align: center;
    border-top: var(--card-border);
}

.footer-couple {
    font-family: var(--font-cursive-theme, 'Sacramento', cursive);
    font-size: 40px;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.footer-thank {
    font-family: var(--font-heading);
    font-size: 14px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.main-footer .divider {
    width: 60px;
    height: 1px;
    background: var(--gold-primary);
    margin: 0 auto 25px auto;
}

.footer-copyright {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   TOAST STYLES
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    z-index: 100000;
    transition: opacity 0.3s, transform 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {
    .container {
        padding: 50px 0;
    }
    
    .rsvp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cover-title {
        font-size: 45px;
    }

    .hero-couple-names {
        font-size: 50px;
    }

    .hero-date-link {
        letter-spacing: 3px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
        padding-inline: 0;
        text-align: center;
        letter-spacing: 0;
    }

    .section-title::before,
    .section-title::after {
        width: 38px;
        height: 96px;
    }

    .gallery-grid {
        gap: 12px;
    }

    .gallery-item {
        height: 180px;
    }
    
    /* Timeline styles responsive */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 23px;
    }
    
    .left {
        left: 0;
    }
    
    .right {
        left: 0;
    }
    
    .right::after {
        left: 23px;
    }
    
    .couple-ampersand {
        margin: 10px 0;
    }
    
    .floating-nav span {
        display: none;
    }
    
    .floating-nav {
        height: 55px;
        bottom: 10px;
    }
    
    .nav-item i {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .audio-control {
        bottom: 75px;
        right: 15px;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 26px;
        padding: 10px;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
    .cover-title {
        font-size: 38px;
    }
    
    .cover-image-container {
        width: 130px;
        height: 130px;
    }
    
    .guest-name {
        font-size: 22px;
    }
    
    .hero-couple-names {
        font-size: 42px;
    }

    .hero-date-link {
        letter-spacing: 2px;
        font-size: 13px;
        padding: 9px 14px;
    }
    
    .simply-countdown {
        gap: 8px;
    }
    
    .countdown-box {
        width: 65px;
        height: 70px;
    }
    
    .countdown-value {
        font-size: 22px;
    }
    
    .couple-photo-frame {
        width: 140px;
        height: 140px;
    }
    
    .mempelai-name {
        font-size: 20px;
    }
    
    .section-title {
        padding-inline: 28px;
    }

    .section-title::before,
    .section-title::after {
        width: 24px;
        height: 72px;
    }

    .gallery-grid {
        gap: 10px;
    }

    .gallery-item {
        height: 165px;
    }
}

/* ==========================================================================
   THEME-AWARE GLOBAL ADAPTATIONS
   Seluruh komponen dan kartu mengikuti tema yang aktif secara menyeluruh.
   ========================================================================== */
.main-content {
    background: transparent;
}

.container {
    max-width: 860px;
    width: 92%;
    padding: 60px 0;
}

.cover-content {
    background: var(--bg-card);
    border: var(--card-border);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-premium);
}

.cover-title {
    color: var(--text-heading);
    font-family: var(--font-cursive-theme, 'Sacramento', cursive);
}

.cover-subtitle {
    color: var(--gold-primary);
}

.guest-name {
    color: var(--gold-primary);
}

.btn-open {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    box-shadow: 0 4px 15px var(--gold-soft);
    font-weight: 700;
}

.hero-section,
.couple-section,
.event-section,
.story-section,
.gallery-section,
.rsvp-section,
.gift-section,
.main-footer {
    background:
        radial-gradient(circle at top, var(--gold-soft), transparent 28%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-gray) 100%);
    color: var(--text-light);
}

.quote-container,
.couple-card,
.event-card,
.timeline-content,
.rsvp-card,
.wishes-card,
.gift-card,
.map-container {
    background: var(--bg-card);
    border: var(--card-border);
    box-shadow: var(--shadow-premium);
    color: var(--text-light);
    backdrop-filter: blur(12px);
}

.quote-text,
.parents-info,
.event-location,
.timeline-content p,
.wish-text,
.footer-thank,
.account-label,
.form-label {
    color: var(--text-muted);
}

.section-title {
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    text-align: center;
    position: relative;
}

.section-title::before,
.section-title::after {
    display: var(--wayang-display, none);
}

.section-desc {
    color: var(--text-muted);
    text-align: center;
}

.hero-couple-names {
    color: var(--text-heading);
    font-family: var(--font-cursive-theme, 'Sacramento', cursive);
}

.hero-date-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.hero-date-link:hover {
    background: var(--gold-gradient);
    color: var(--btn-text);
}

.countdown-box {
    background: var(--bg-card);
    border: var(--card-border);
}

.countdown-value {
    color: var(--gold-primary);
}

.countdown-label {
    color: var(--text-muted);
}

.event-header {
    background: var(--gold-gradient);
    color: var(--btn-text);
    padding: 24px 20px;
    border-radius: 18px 18px 0 0;
}

.event-header h3,
.event-icon {
    color: var(--btn-text);
}

.mempelai-name,
.timeline-date,
.account-name,
.wishes-card h3,
.footer-couple {
    color: var(--gold-primary);
}

.quote-icon,
.event-time i,
.event-date i,
.btn-location i,
.btn-submit i,
.btn-copy i {
    color: var(--gold-primary);
}

.btn-location,
.btn-save-date {
    background: transparent;
    color: var(--gold-primary);
    border: 1.5px solid var(--gold-primary);
}

.btn-location:hover,
.btn-save-date:hover {
    background: var(--gold-gradient);
    color: var(--btn-text);
    border-color: transparent;
}

.btn-submit,
.btn-copy {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--gold-soft);
}

.btn-submit:hover,
.btn-copy:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.form-control {
    background: var(--input-bg, rgba(255, 255, 255, 0.08));
    border: 1px solid var(--input-border, rgba(255, 255, 255, 0.15));
    color: var(--text-light);
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-soft);
}

.wish-item {
    background: var(--bg-card);
    border: var(--card-border);
}

.wish-name {
    color: var(--gold-primary);
}

.gift-card .bank-logo {
    color: var(--gold-primary);
}

.gift-card .account-number {
    color: var(--text-heading);
}

.toast {
    background: var(--bg-card);
    color: var(--text-light);
    border: var(--card-border);
    box-shadow: var(--shadow-premium);
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        width: 92%;
        padding: 56px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .cover-screen {
        padding-top: max(44px, env(safe-area-inset-top));
    }

    .cover-content {
        width: min(94vw, 380px);
        min-height: calc(100dvh - 10px);
        padding: calc(40px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
        justify-content: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-item {
        height: 160px;
    }

    .gift-grid {
        gap: 14px;
    }

    .cover-subtitle {
        font-size: 9px;
        letter-spacing: 4px;
        margin-bottom: 8px;
    }

    .cover-title {
        font-size: clamp(34px, 11vw, 46px);
        margin-bottom: 12px;
    }

    .cover-date {
        font-size: 11px !important;
        letter-spacing: 2px !important;
        margin-bottom: 16px !important;
    }

    .cover-greeting {
        margin-top: 10px;
        margin-bottom: 14px;
    }

    .section-title {
        text-align: center;
        padding-inline: 0;
        letter-spacing: 0;
    }

    .guest-name {
        font-size: 22px;
    }

    .btn-open {
        width: min(100%, 250px);
        padding: 12px 18px;
    }

    .cover-title,
    .hero-couple-names {
        font-size: clamp(34px, 10vw, 50px);
    }

    .section-title {
        text-align: center;
        padding-inline: 0;
        margin-bottom: 10px;
        letter-spacing: 0;
    }

    .section-title::before,
    .section-title::after {
        width: 22px;
        height: 56px;
        opacity: 0.08;
    }

    .section-title::before {
        left: auto;
        right: 0;
        transform: translateY(-50%) scaleX(-1);
    }

    .section-title::after {
        display: none;
    }

    .section-desc {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 34px;
    }

    .quote-container {
        text-align: left;
    }
}

/* ==========================================================================
   THEME 2: EMERALD VELVET (ROYAL BOTANICAL GREEN & GOLD)
   ========================================================================== */
[data-theme="emerald"] {
    --bg-dark: #071510;
    --bg-dark-gray: #0d221a;
    --bg-card: rgba(13, 34, 26, 0.90);
    --card-border: 1px solid rgba(82, 183, 136, 0.25);
    --gold-primary: #52b788;
    --gold-secondary: #e9c46a;
    --gold-gradient: linear-gradient(135deg, #2a9d8f, #52b788);
    --gold-soft: rgba(82, 183, 136, 0.20);
    --primary-rgb: 82, 183, 136;
    --secondary-rgb: 233, 196, 106;
    --text-light: #eafaf1;
    --text-muted: #95baa5;
    --text-heading: #ffffff;
    --text-dark: #071510;
    --white: #ffffff;
    --btn-text: #071510;
    --btn-bg: linear-gradient(135deg, #52b788, #e9c46a);
    --nav-bg: rgba(10, 26, 20, 0.92);
    --nav-border: 1px solid rgba(82, 183, 136, 0.25);
    --nav-text: #709a82;
    --nav-active: #52b788;
    --section-overlay: rgba(7, 21, 16, 0.88);
    --cover-overlay: rgba(5, 16, 12, 0.65);
    --input-bg: rgba(255, 255, 255, 0.06);
    --input-border: rgba(82, 183, 136, 0.30);
    --input-text: #ffffff;
    --event-header-bg: linear-gradient(135deg, #1b4d3e, #2d6a4f);
    --event-header-text: #e9c46a;
    --event-body-bg: rgba(13, 34, 26, 0.95);
    --event-body-text: #eafaf1;
    --wayang-display: none;
    --font-cursive-theme: 'Sacramento', cursive;
}

body[data-theme="emerald"] {
    background:
        radial-gradient(circle at top, rgba(82, 183, 136, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(233, 196, 106, 0.12), transparent 25%),
        linear-gradient(180deg, #071510 0%, #0a1c15 45%, #071510 100%);
    color: var(--text-light);
}

body[data-theme="emerald"]::before {
    background: radial-gradient(circle, rgba(82, 183, 136, 0.20), transparent);
}

body[data-theme="emerald"]::after {
    background: radial-gradient(circle, rgba(233, 196, 106, 0.16), transparent);
}

/* ==========================================================================
   THEME 3: MIDNIGHT NAVY & CHAMPAGNE (STARRY ROYALE)
   ========================================================================== */
[data-theme="navy"] {
    --bg-dark: #070d1a;
    --bg-dark-gray: #0c152a;
    --bg-card: rgba(12, 22, 44, 0.90);
    --card-border: 1px solid rgba(229, 185, 103, 0.25);
    --gold-primary: #e5b967;
    --gold-secondary: #60a5fa;
    --gold-gradient: linear-gradient(135deg, #e5b967, #caa04d);
    --gold-soft: rgba(229, 185, 103, 0.20);
    --primary-rgb: 229, 185, 103;
    --secondary-rgb: 96, 165, 250;
    --text-light: #f0f4ff;
    --text-muted: #93a4cb;
    --text-heading: #ffffff;
    --text-dark: #070d1a;
    --white: #ffffff;
    --btn-text: #070d1a;
    --btn-bg: linear-gradient(135deg, #e5b967, #caa04d);
    --nav-bg: rgba(10, 18, 36, 0.92);
    --nav-border: 1px solid rgba(229, 185, 103, 0.25);
    --nav-text: #7084ab;
    --nav-active: #e5b967;
    --section-overlay: rgba(7, 13, 26, 0.88);
    --cover-overlay: rgba(5, 10, 20, 0.65);
    --input-bg: rgba(255, 255, 255, 0.06);
    --input-border: rgba(229, 185, 103, 0.28);
    --input-text: #ffffff;
    --event-header-bg: linear-gradient(135deg, #132448, #1e3a6f);
    --event-header-text: #e5b967;
    --event-body-bg: rgba(12, 22, 44, 0.95);
    --event-body-text: #f0f4ff;
    --wayang-display: none;
    --font-cursive-theme: 'Sacramento', cursive;
}

body[data-theme="navy"] {
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(229, 185, 103, 0.14), transparent 25%),
        linear-gradient(180deg, #070d1a 0%, #0a1324 45%, #070d1a 100%);
    color: var(--text-light);
}

body[data-theme="navy"]::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent);
}

body[data-theme="navy"]::after {
    background: radial-gradient(circle, rgba(229, 185, 103, 0.18), transparent);
}

/* ==========================================================================
   THEME 4: ROSE GOLD & BLUSH (ROMANTIC FLORAL - LIGHT)
   ========================================================================== */
[data-theme="rose"] {
    --bg-dark: #faf5f6;
    --bg-dark-gray: #f3ebed;
    --bg-card: rgba(255, 255, 255, 0.94);
    --card-border: 1px solid rgba(183, 110, 121, 0.25);
    --gold-primary: #b76e79;
    --gold-secondary: #d88a95;
    --gold-gradient: linear-gradient(135deg, #b76e79, #e8a598);
    --gold-soft: rgba(183, 110, 121, 0.20);
    --primary-rgb: 183, 110, 121;
    --secondary-rgb: 216, 138, 149;
    --text-light: #382329;
    --text-muted: #7a5862;
    --text-heading: #382329;
    --text-dark: #1a0f12;
    --white: #ffffff;
    --btn-text: #ffffff;
    --btn-bg: linear-gradient(135deg, #b76e79, #d88a95);
    --nav-bg: rgba(255, 255, 255, 0.94);
    --nav-border: 1px solid rgba(183, 110, 121, 0.25);
    --nav-text: #966f7a;
    --nav-active: #b76e79;
    --section-overlay: rgba(250, 245, 246, 0.85);
    --cover-overlay: rgba(250, 245, 246, 0.70);
    --input-bg: #ffffff;
    --input-border: rgba(183, 110, 121, 0.35);
    --input-text: #382329;
    --event-header-bg: linear-gradient(135deg, #b76e79, #e8a598);
    --event-header-text: #ffffff;
    --event-body-bg: #ffffff;
    --event-body-text: #382329;
    --wayang-display: none;
    --font-cursive-theme: 'Sacramento', cursive;
    --shadow-premium: 0 15px 35px rgba(183, 110, 121, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 8px 30px rgba(183, 110, 121, 0.10);
}

body[data-theme="rose"] {
    background:
        radial-gradient(circle at top, rgba(232, 165, 152, 0.25), transparent 35%),
        radial-gradient(circle at bottom right, rgba(183, 110, 121, 0.18), transparent 30%),
        linear-gradient(180deg, #faf5f6 0%, #f7eff1 50%, #faf5f6 100%);
    color: var(--text-light);
}

body[data-theme="rose"]::before {
    background: radial-gradient(circle, rgba(232, 165, 152, 0.25), transparent);
}

body[data-theme="rose"]::after {
    background: radial-gradient(circle, rgba(183, 110, 121, 0.20), transparent);
}

/* ==========================================================================
   THEME 5: RUSTIC BOHEMIAN (EARTHY TERRACOTTA & SAGE - WARM LIGHT)
   ========================================================================== */
[data-theme="rustic"] {
    --bg-dark: #f8f4ec;
    --bg-dark-gray: #f0e9dc;
    --bg-card: rgba(255, 255, 255, 0.94);
    --card-border: 1px solid rgba(200, 109, 81, 0.22);
    --gold-primary: #c86d51;
    --gold-secondary: #73937e;
    --gold-gradient: linear-gradient(135deg, #c86d51, #e08e74);
    --gold-soft: rgba(200, 109, 81, 0.20);
    --primary-rgb: 200, 109, 81;
    --secondary-rgb: 115, 147, 126;
    --text-light: #3a2822;
    --text-muted: #786157;
    --text-heading: #3a2822;
    --text-dark: #1f130f;
    --white: #ffffff;
    --btn-text: #ffffff;
    --btn-bg: linear-gradient(135deg, #c86d51, #e08e74);
    --nav-bg: rgba(255, 255, 255, 0.94);
    --nav-border: 1px solid rgba(200, 109, 81, 0.25);
    --nav-text: #8e7368;
    --nav-active: #c86d51;
    --section-overlay: rgba(248, 244, 236, 0.85);
    --cover-overlay: rgba(248, 244, 236, 0.70);
    --input-bg: #ffffff;
    --input-border: rgba(200, 109, 81, 0.35);
    --input-text: #3a2822;
    --event-header-bg: linear-gradient(135deg, #c86d51, #73937e);
    --event-header-text: #ffffff;
    --event-body-bg: #ffffff;
    --event-body-text: #3a2822;
    --wayang-display: none;
    --font-cursive-theme: 'Sacramento', cursive;
    --shadow-premium: 0 15px 35px rgba(200, 109, 81, 0.10), 0 5px 15px rgba(0, 0, 0, 0.04);
    --shadow-soft: 0 8px 30px rgba(115, 147, 126, 0.10);
}

body[data-theme="rustic"] {
    background:
        radial-gradient(circle at top, rgba(200, 109, 81, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(115, 147, 126, 0.16), transparent 30%),
        linear-gradient(180deg, #f8f4ec 0%, #f3ece0 50%, #f8f4ec 100%);
    color: var(--text-light);
}

body[data-theme="rustic"]::before {
    background: radial-gradient(circle, rgba(200, 109, 81, 0.20), transparent);
}

body[data-theme="rustic"]::after {
    background: radial-gradient(circle, rgba(115, 147, 126, 0.18), transparent);
}

/* ==========================================================================
   THEME 6: MINANG MAROON & GOLD (ADAT NUSANTARA - MINANGKABAU)
   ========================================================================== */
[data-theme="minang"] {
    --bg-dark: #2e0707;
    --bg-dark-gray: #420b0b;
    --bg-card: rgba(61, 10, 10, 0.90);
    --card-border: 2px solid rgba(227, 176, 76, 0.35);
    --gold-primary: #e3b04c;
    --gold-secondary: #f5cf7a;
    --gold-gradient: linear-gradient(135deg, #e3b04c, #c9932b);
    --gold-soft: rgba(227, 176, 76, 0.22);
    --primary-rgb: 227, 176, 76;
    --secondary-rgb: 245, 207, 122;
    --text-light: #ffffff;
    --text-muted: #dfc5ba;
    --text-heading: #ffffff;
    --text-dark: #2b0606;
    --white: #ffffff;
    --btn-text: #3d0a0a;
    --btn-bg: linear-gradient(135deg, #e3b04c, #c9932b);
    --nav-bg: rgba(46, 7, 7, 0.94);
    --nav-border: 1px solid rgba(227, 176, 76, 0.35);
    --nav-text: #dfc5ba;
    --nav-active: #e3b04c;
    --section-overlay: rgba(46, 7, 7, 0.88);
    --cover-overlay: rgba(35, 5, 5, 0.65);
    --input-bg: rgba(46, 7, 7, 0.85);
    --input-border: rgba(227, 176, 76, 0.40);
    --input-text: #ffffff;
    --event-header-bg: linear-gradient(135deg, #7a1212, #4d0d0d);
    --event-header-text: #e3b04c;
    --event-body-bg: rgba(61, 10, 10, 0.95);
    --event-body-text: #ffffff;
    --wayang-display: none;
    --font-cursive-theme: 'Rochester', 'Sacramento', cursive;
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.65), 0 5px 15px rgba(227, 176, 76, 0.18);
    --shadow-soft: 0 8px 32px 0 rgba(77, 13, 13, 0.40);
}

body[data-theme="minang"] {
    background:
        radial-gradient(circle at top, rgba(227, 176, 76, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(168, 25, 25, 0.25), transparent 25%),
        linear-gradient(180deg, #2e0707 0%, #420b0b 45%, #250505 100%);
    color: var(--text-light);
}

body[data-theme="minang"]::before {
    background: radial-gradient(circle, rgba(227, 176, 76, 0.18), transparent);
}

body[data-theme="minang"]::after {
    background: radial-gradient(circle, rgba(180, 20, 20, 0.22), transparent);
}

[data-theme="minang"] .cover-image-container {
    border: 4px solid #e3b04c;
    box-shadow: 0 0 0 6px rgba(227, 176, 76, 0.2), 0 18px 35px rgba(0, 0, 0, 0.5);
}

[data-theme="minang"] .couple-photo-frame {
    border: 4px solid #e3b04c;
    box-shadow: 0 0 0 7px rgba(227, 176, 76, 0.25), var(--shadow-premium);
}


