/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #121212;
    --bg-dark-gray: #181818;
    --bg-card: rgba(22, 22, 22, 0.82);
    --gold-primary: #ff9c1f;
    --gold-secondary: #d4af37;
    --gold-gradient: linear-gradient(135deg, #ff9c1f, #d4af37);
    --gold-soft: rgba(255, 156, 31, 0.18);
    --text-light: #eaeaea;
    --text-muted: #aaaaaa;
    --text-dark: #222222;
    --white: #ffffff;
    
    --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 {
    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: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    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(--white);
    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: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 35px;
    border: var(--border-glass);
    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(--text-muted);
    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(--gold-primary);
}

/* ==========================================================================
   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, rgba(255, 156, 31, 0.03), transparent 25%),
        linear-gradient(180deg, #121212 0%, #151515 100%);
    box-shadow:
        inset 0 90px 90px rgba(0, 0, 0, 0.24),
        inset 0 -90px 90px rgba(0, 0, 0, 0.24);
}

.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, rgba(255, 156, 31, 0.5), transparent);
    opacity: 0.35;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.98)),
        radial-gradient(circle at top, rgba(255, 156, 31, 0.08), transparent 25%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92vw, 430px);
    margin: 0 auto;
    padding: 28px 22px 30px;
    background: linear-gradient(180deg, rgba(25, 21, 20, 0.28), rgba(25, 21, 20, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: none;
}

.hero-subtitle {
    font-size: 11px;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-couple-names {
    font-family: var(--font-cursive);
    font-size: clamp(44px, 6vw, 58px);
    color: var(--white);
    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: rgba(255, 255, 255, 0.95);
    letter-spacing: 5px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-date-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-bottom: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 156, 31, 0.3);
    background: rgba(18, 18, 18, 0.45);
    backdrop-filter: blur(10px);
    color: var(--gold-secondary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.hero-date-link:hover {
    color: var(--white);
    border-color: rgba(255, 190, 92, 0.35);
    background: rgba(255, 156, 31, 0.1);
    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: rgba(255, 255, 255, 0.12);
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    animation: scaleUp 0.8s ease forwards;
    transition: var(--transition-smooth);
}

.countdown-box:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 156, 31, 0.45);
}

.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: #ff9c1f;
    line-height: 1.2;
}

.countdown-label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 1px;
}

.btn-save-date {
    display: inline-block;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-save-date:hover {
    background: rgba(255, 255, 255, 0.94);
    color: #222222;
    border-color: rgba(255, 255, 255, 0.94);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.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:
        linear-gradient(180deg, rgba(28, 28, 28, 0.9), rgba(18, 18, 18, 0.78)),
        var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 156, 31, 0.12);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
    position: relative;
}

.quote-icon {
    font-size: 32px;
    color: rgba(255, 156, 31, 0.25);
    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: #211814;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 800;
    position: relative;
    padding-inline: 74px;
    display: block;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.section-title::before,
.section-title::after {
    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: rgba(33, 24, 20, 0.94);
    max-width: 600px;
    margin: 0 auto 54px auto;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.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:
        linear-gradient(180deg, rgba(28, 28, 28, 0.92), rgba(18, 18, 18, 0.78)),
        var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 156, 31, 0.12);
    padding: 42px 30px;
    text-align: center;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.45);
    transition: var(--transition-smooth);
}

.couple-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 156, 31, 0.3);
}

.couple-photo-frame {
    width: 170px;
    height: 170px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 7px rgba(255, 156, 31, 0.08), 0 18px 34px rgba(0, 0, 0, 0.38);
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.couple-card:hover .couple-photo-frame {
    border-color: var(--gold-primary);
    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-light);
    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: rgba(255, 255, 255, 0.05);
    border: var(--border-glass);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.social-links a:hover {
    color: var(--bg-dark);
    background: var(--gold-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.couple-ampersand {
    font-family: var(--font-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: rgba(255, 255, 255, 0.72);
    backdrop-filter: none;
    border-radius: 28px;
    border: 1px solid rgba(201, 130, 25, 0.12);
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 130, 25, 0.22);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.1);
}

.event-header {
    background: linear-gradient(180deg, #f0cf88 0%, #ddb15e 100%);
    padding: 30px 24px 28px;
    text-align: center;
    color: #2c2721;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.event-icon {
    font-size: 34px;
    margin-bottom: 12px;
    color: #2c2721;
}

.event-header h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.event-body {
    padding: 34px 28px 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.64);
}

.event-time, .event-date {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #2c2721;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.event-time i, .event-date i {
    color: #d88f18;
}

.event-location {
    font-size: 13.5px;
    color: rgba(44, 39, 33, 0.86);
    margin-top: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.event-card#resepsi {
    scroll-margin-top: 80px;
}

/* Map Containers */
.map-container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.60)),
        var(--bg-card);
    backdrop-filter: none;
    border-radius: 24px;
    border: 1px solid rgba(201, 130, 25, 0.10);
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
    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(--gold-gradient);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 156, 31, 0.3);
    transition: var(--transition-smooth);
}

.btn-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 156, 31, 0.5);
    color: var(--bg-dark);
}

.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: var(--border-glass);
    background: linear-gradient(to bottom, transparent, rgba(255, 156, 31, 0.5) 20%, rgba(255, 156, 31, 0.5) 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:
        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.12);
    border-radius: 18px;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.36);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(255, 156, 31, 0.3);
    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(--white);
    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:
        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.12);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.44);
}

.wishes-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-primary);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    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-light);
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    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);
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 10px rgba(255, 156, 31, 0.15);
}

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(--gold-gradient);
    color: var(--bg-dark);
    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 rgba(255, 156, 31, 0.25);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 156, 31, 0.45);
}

.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: rgba(255, 156, 31, 0.2);
    border-radius: 10px;
}

.wishes-wall::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 156, 31, 0.4);
}

.wish-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    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(--white);
}

.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;
}

.gift-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    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.12);
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.44);
    position: relative;
    overflow: hidden;
}

.bank-logo {
    font-size: 24px;
    font-weight: 800;
    color: #005a9c; /* BCA Blue */
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-style: italic;
}

.bank-logo.mandiri {
    color: #ffc20e; /* Mandiri Yellow */
}

.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(--white);
    margin-bottom: 8px;
}

.account-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.btn-copy {
    background: rgba(255, 156, 31, 0.1);
    border: 1px dashed var(--gold-primary);
    color: var(--gold-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-style: solid;
    border-color: transparent;
    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-color: var(--bg-dark);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-couple {
    font-family: var(--font-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-light);
    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;
    }
}

/* ==========================================================================
   REFERENCE STYLE OVERRIDES
   Match the provided sample more closely: full-bleed cover, airy sections,
   serif titles, white cards, and a wider gallery grid.
   ========================================================================== */
body {
    background: linear-gradient(180deg, #f7f1ea 0%, #efe5d8 100%);
    color: #2c2721;
}

body::before {
    opacity: 0.12;
}

body::after {
    opacity: 0.12;
}

.main-content {
    background: linear-gradient(180deg, #f7f1ea 0%, #efe5d8 100%);
}

.container {
    max-width: 860px;
    width: 92%;
    padding: 72px 0;
}

.cover-screen {
    background-size: cover !important;
    background-position: center center !important;
}

.cover-screen::before,
.cover-screen::after,
.hero-section::before,
.hero-section::after {
    opacity: 0.03;
}

.cover-content {
    max-width: 720px;
    width: min(92vw, 430px);
    min-height: calc(100dvh - 8px);
    padding: calc(env(safe-area-inset-top) + 18px) 18px calc(20px + env(safe-area-inset-bottom));
    background: transparent;
    border: 0;
    box-shadow: none;
    animation: none;
    backdrop-filter: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-image-stack {
    display: none;
}

.cover-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    letter-spacing: 6px;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.cover-title,
.hero-couple-names {
    font-family: var(--font-heading);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.cover-title {
    margin-bottom: 10px;
    font-weight: 800;
}

.cover-date {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 13px !important;
    letter-spacing: 2.8px !important;
    margin-bottom: 26px !important;
    font-weight: 700 !important;
}

.cover-greeting {
    margin-top: 16px;
    margin-bottom: 18px;
    padding-top: 0;
}

.to-text,
.invite-msg {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 500;
}

.guest-name {
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
}

.btn-open {
    background: rgba(30, 30, 30, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    animation: none;
    margin-bottom: 0;
    width: min(100%, 280px);
}

.btn-open:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.hero-section,
.couple-section,
.event-section,
.story-section,
.gallery-section,
.rsvp-section,
.gift-section,
.main-footer {
    background: linear-gradient(180deg, #f7f1ea 0%, #efe5d8 100%);
    color: #2c2721;
    box-shadow: none;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.hero-bg-overlay {
    background:
        linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
        radial-gradient(circle at top, rgba(0, 0, 0, 0.03), transparent 26%);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    letter-spacing: 6px;
}

.hero-date {
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 5px;
}

.hero-date-link {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.hero-date-link:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #222222;
    border-color: rgba(255, 255, 255, 0.96);
}

.countdown-box {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.countdown-label {
    color: rgba(255, 255, 255, 0.72);
}

.btn-save-date {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.btn-save-date:hover {
    background: #ffffff;
    color: #222222;
    box-shadow: none;
}

.quote-container,
.couple-card,
.event-card,
.timeline-content,
.rsvp-card,
.wishes-card,
.gift-card,
.map-container,
.gift-jastio {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(0, 0, 0, 0.035);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    color: #2c2721;
    backdrop-filter: none;
}

.quote-text,
.section-desc,
.parents-info,
.event-location,
.timeline-content p,
.wish-text,
.footer-thank,
.account-label,
.form-label,
.form-control::placeholder {
    color: rgba(44, 39, 33, 0.82);
}

.quote-text,
.parents-info,
.event-location,
.timeline-content p,
.wish-text,
.wish-name,
.form-label,
.footer-thank,
.account-label,
.event-time,
.event-date,
.timeline-content h3 {
    color: #2c2721;
}

.section-title {
    color: #222222;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 0;
    padding-inline: 0;
    text-align: center;
}

.section-desc {
    font-weight: 700;
}

.section-title::before,
.section-title::after {
    opacity: 0.11;
}

.event-header {
    background: linear-gradient(135deg, rgba(236, 208, 170, 0.95), rgba(214, 175, 93, 0.95));
    padding-top: 30px;
    padding-bottom: 30px;
}

.event-header h3,
.event-icon {
    color: #2c2721;
}

.mempelai-name,
.timeline-date,
.account-name,
.gift-jastio h3,
.wishes-card h3,
.footer-couple {
    color: #c98219;
}

.quote-icon,
.event-time i,
.event-date i,
.btn-open i,
.btn-save-date i,
.btn-location i,
.btn-submit i,
.btn-copy i,
.btn-jastio i {
    color: #c98219;
}

.social-links a {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #2c2721;
}

.social-links a:hover {
    color: #ffffff;
}

.gallery-section {
    background: linear-gradient(180deg, #f7f1ea 0%, #f0e7da 100%);
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gallery-item {
    height: 220px;
    border-radius: 6px;
    border: 0;
    box-shadow: none;
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 42px;
}

.map-container iframe {
    border-radius: 10px;
}

.gift-card {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 26px;
    border-radius: 22px;
}

.gift-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(201, 130, 25, 0.92), rgba(214, 175, 93, 0.92));
}

.gift-card .bank-logo {
    color: #c98219;
    font-size: 22px;
    letter-spacing: 1.4px;
    margin-top: 8px;
}

.gift-card .account-label {
    color: rgba(44, 39, 33, 0.72);
    font-size: 12px;
    letter-spacing: 0.2px;
}

.gift-card .account-number {
    color: #222222;
    font-size: 24px;
}

.gift-card .account-name {
    color: #b77a1b;
    font-size: 13px;
}

.btn-copy,
.btn-jastio {
    border-width: 1.5px;
    border-radius: 999px;
    padding: 10px 18px;
}

.btn-location,
.btn-submit,
.btn-copy,
.btn-jastio {
    background: transparent;
    color: #c98219;
    border: 1.5px solid #c98219;
    box-shadow: none;
}

.btn-location:hover,
.btn-submit:hover,
.btn-copy:hover,
.btn-jastio:hover {
    background: #c98219;
    color: #ffffff;
    box-shadow: none;
}

.main-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #2c2721;
    backdrop-filter: none;
}

.form-control:focus {
    border-color: rgba(201, 130, 25, 0.6);
    box-shadow: 0 0 0 3px rgba(201, 130, 25, 0.1);
}

.wishes-wall::-webkit-scrollbar-thumb {
    background: rgba(201, 130, 25, 0.25);
}

.wish-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.wish-name {
    color: #222222;
}

.badge-attendance.hadir {
    background-color: rgba(46, 204, 113, 0.12);
    color: #1e8e4f;
}

.badge-attendance.tidak {
    background-color: rgba(231, 76, 60, 0.12);
    color: #c0392b;
}

.badge-attendance.ragu {
    background-color: rgba(241, 196, 15, 0.14);
    color: #b8860b;
}

.toast {
    background: rgba(255, 255, 255, 0.96);
    color: #2c2721;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
}

@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;
    }
}
