/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #8b7355;
    --color-secondary: #d4af8a;
    --color-text-light: #ffffff;
    --color-text-dark: #333;
    --color-text-muted: #cccccc;
    --color-text-gray: #aaaaaa;
    --color-bg-dark: #000;
    --color-bg-light: #faf8f6;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.2);
    --color-overlay: rgba(0, 0, 0, 0.3);
    --color-overlay-dark: rgba(0, 0, 0, 0.6);

    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --spacing-2xl: 30px;
    --spacing-3xl: 40px;
    --spacing-4xl: 60px;

    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
    --border-radius-2xl: 16px;
    --border-radius-full: 50%;

    --font-serif: 'Playfair Display', serif;
    --font-cursive: 'Sacramento', cursive;
    --font-display: 'Agbalumo', cursive;
    --font-sans: 'Instrument Sans', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-display);
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: white;
}

@media (max-width: 480px) {
    html {
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    body {
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
}

/* ==================== LAYOUT ==================== */
.page-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .page-wrapper {
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
}

/* ==================== LANDING PAGE ==================== */
.landing-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    z-index: 10;
    will-change: transform, opacity;
}

.landing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
    z-index: 1;
}

.landing-container.slide-out {
    transform: translateX(-100%);
    opacity: 0.5;
    pointer-events: none;
}

.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: var(--spacing-2xl) var(--spacing-md);
    max-height: 100vh;
    overflow: hidden;
}

.wedding-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(28px, 8vw, 48px);
    letter-spacing: 2px;
    margin-bottom: clamp(15px, 3vh, 30px);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.couple-names {
    font-family: var(--font-cursive);
    font-size: clamp(48px, 15vw, 96px);
    font-weight: 400;
    margin-bottom: clamp(30px, 8vh, 60px);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.guest-info {
    font-family: var(--font-display);
    font-size: clamp(16px, 4vw, 24px);
    margin-bottom: clamp(10px, 2vh, 20px);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.guest-name {
    font-family: var(--font-display);
    font-size: clamp(16px, 4vw, 24px);
    margin-bottom: clamp(40px, 10vh, 80px);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.open-invitation-btn {
    font-family: var(--font-display);
    font-size: clamp(14px, 3vw, 20px);
    padding: clamp(10px, 2vh, 16px) clamp(24px, 8vw, 48px);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.8s both;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.open-invitation-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.open-invitation-btn:active {
    transform: translateY(-1px);
}

/* ==================== INVITATION PANEL ==================== */
.invitation-panel {
    position: absolute;
    width: 100%;
    height: 100vh;
    right: 0;
    top: 0;
    display: flex;
    background: white;
    z-index: 5;
    transform: translateX(100%);
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    opacity: 0;
    will-change: transform, opacity;
}

.invitation-panel.show {
    transform: translateX(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 100;
}

.close-btn:hover {
    background: #6b5344;
    transform: rotate(90deg);
}

/* ==================== PANEL LEFT ==================== */
.panel-left {
    position: sticky;
    top: 0;
    width: 45%;
    height: 100vh;
    background-image: url('/img/bg-kiri.gif');
    background-size: cover;
    background-position: center;
    padding: var(--spacing-4xl) var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
}

.panel-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.panel-left-content {
    z-index: 2;
    position: relative;
}

.left-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(32px, 6vw, 48px);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.left-subtitle {
    font-family: var(--font-cursive);
    font-size: clamp(48px, 10vw, 64px);
    color: var(--color-primary);
    margin-bottom: var(--spacing-3xl);
    font-weight: 400;
}

.left-text {
    font-family: var(--font-sans);
    font-size: clamp(11px, 2vw, 14px);
    color: var(--color-text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    max-width: 320px;
}

.left-text-content {
    margin-top: 20px;
    font-size: 16px;
}

.panel-audio-toggle {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 100;
    padding: 0;
    backdrop-filter: blur(5px);
}

.panel-audio-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.15);
}

.panel-audio-toggle.muted {
    opacity: 0.6;
}

.audio-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== PANEL RIGHT ==================== */
.panel-right {
    flex: 1;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--color-bg-dark);
}

.panel-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    -webkit-touch-callout: none;
}

.panel-scroll-container {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: clamp(16px, 5vw, 40px) clamp(16px, 5vw, 30px);
    background: var(--color-overlay-dark);
}

.panel-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.panel-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.panel-scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: var(--border-radius-sm);
}

.panel-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.panel-right::-webkit-scrollbar {
    display: none;
}

/* ==================== RIGHT SECTIONS ==================== */
.right-section {
    margin-bottom: var(--spacing-4xl);
}

.scroll-spacer {
    height: 40px;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(24px, 6vw, 36px);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    letter-spacing: -0.02em;
}

/* ==================== COUPLE PHOTO SECTION ==================== */
.couple-photos-section {
    margin-bottom: var(--spacing-2xl);
}

.couple-photo-wrapper {
    width: 100%;
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.couple-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: var(--color-bg-dark);
    cursor: pointer;
    transition: transform var(--transition-fast);
    max-height: 70vh;
}

.couple-photo:hover {
    opacity: 0.9;
}

.couple-photo:fullscreen {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .couple-photo {
        max-height: 60vh;
    }

    .couple-photo:fullscreen {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
    }
}

@media (max-width: 480px) {
    .couple-photo {
        max-height: 50vh;
    }
}

/* ==================== SAVE THE DATE SECTION ==================== */
.save-date-section {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.save-date-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 6vw, 28px);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.save-date-subtitle {
    font-size: clamp(10px, 2.5vw, 12px);
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.save-date-names {
    font-family: var(--font-serif);
    font-size: clamp(28px, 8vw, 36px);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.save-date-date {
    font-size: clamp(12px, 3vw, 14px);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

/* ==================== COUNTDOWN GRID ==================== */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(6px, 2vw, 12px);
    margin-bottom: var(--spacing-2xl);
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(8px, 2vw, 12px) clamp(4px, 1.5vw, 8px);
    border-radius: var(--border-radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-light);
}

.countdown-number {
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1;
}

.countdown-label {
    font-size: clamp(8px, 2vw, 10px);
    color: var(--color-text-gray);
    margin-top: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== STATUS SECTION ==================== */
.status-section {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.status-badge {
    display: inline-block;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 5vw, 40px);
    border-radius: 50px;
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    border: none;
}

.status-badge.status-pending {
    background: rgba(239, 68, 68, 0.35);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.status-badge.status-sent {
    background: rgba(16, 185, 129, 0.35);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.status-badge.status-sent {
    animation: slideIn var(--transition-normal);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== EVENT SECTION ==================== */
.event-section {
    background: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--color-border);
    margin-bottom: var(--spacing-xl);
}

.event-date {
    font-size: 12px;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.event-time-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.event-location-text,
.event-location-text-nama,
.event-location-text-keluarga {
    font-family: var(--font-sans);
    font-size: clamp(11px, 2.5vw, 13px);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* ==================== MAPS PREVIEW ==================== */
.maps-preview-container {
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.maps-embed {
    width: 100%;
    height: clamp(250px, 50vh, 400px);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==================== BUTTONS ==================== */
.btn-location {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: clamp(10px, 2vw, 12px) clamp(16px, 5vw, 20px);
    border-radius: 20px;
    font-size: clamp(11px, 2vw, 12px);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-location:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-gift {
    background: rgba(212, 175, 138, 0.2);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    padding: clamp(10px, 2vw, 12px) clamp(24px, 8vw, 40px);
    border-radius: 20px;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-gift:hover {
    background: rgba(212, 175, 138, 0.3);
    transform: translateY(-2px);
}

.btn-send {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: clamp(10px, 2vw, 12px) clamp(16px, 5vw, 20px);
    border-radius: 20px;
    font-size: clamp(11px, 2vw, 12px);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.btn-send:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #a89968 100%);
    color: white;
    padding: var(--spacing-xl) var(--spacing-3xl);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-sans);
    width: 100%;
    margin-top: var(--spacing-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
    margin-bottom: var(--spacing-3xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 100px);
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    width: 100%;
}

.gallery-img1,
.gallery-img2,
.gallery-img3,
.gallery-img4,
.gallery-img5,
.gallery-img6,
.gallery-img7,
.gallery-img8,
.gallery-img9,
.gallery-img10,
.gallery-img11,
.gallery-img12 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.gallery-img1:hover,
.gallery-img2:hover,
.gallery-img3:hover,
.gallery-img4:hover,
.gallery-img5:hover,
.gallery-img6:hover,
.gallery-img7:hover,
.gallery-img8:hover,
.gallery-img9:hover,
.gallery-img10:hover,
.gallery-img11:hover,
.gallery-img12:hover {
    transform: scale(1.05);
}

.gallery-img1{ grid-area: 1 / 2 / 3 / 3; }
.gallery-img2{ grid-area: 3 / 2 / 5 / 3; }
.gallery-img3{ grid-area: 1 / 4 / 3 / 5; }
.gallery-img4{ grid-area: 3 / 4 / 5 / 5; }
.gallery-img5{ grid-area: 1 / 1 / 4 / 2; }
.gallery-img6{ grid-area: 4 / 1 / 6 / 2; }
.gallery-img7{ grid-area: 6 / 1 / 8 / 2; }
.gallery-img8{ grid-area: 5 / 2 / 8 / 3; }
.gallery-img9{ grid-area: 1 / 3 / 4 / 4; }
.gallery-img10 { grid-area: 4 / 3 / 6 / 4; }
.gallery-img11 { grid-area: 6 / 3 / 8 / 4; }
.gallery-img12 { grid-area: 5 / 4 / 8 / 5; }

/* ==================== STORY SECTION ==================== */
.story-section {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    margin-bottom: var(--spacing-3xl);
}

.story-text {
    font-size: clamp(11px, 2.5vw, 13px);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ==================== GIFT SECTION ==================== */
.gift-section {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.gift-subtitle {
    font-size: clamp(11px, 2.5vw, 13px);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* ==================== WISHES SECTION ==================== */
.wishes-section {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    margin-bottom: var(--spacing-3xl);
}

.wishes-subtitle {
    font-size: clamp(11px, 2.5vw, 13px);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.wishes-input,
.wishes-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border-light);
    color: var(--color-text-light);
    padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 16px);
    border-radius: var(--border-radius-md);
    font-family: var(--font-sans);
    font-size: clamp(11px, 2.5vw, 13px);
    margin-bottom: var(--spacing-sm);
    resize: vertical;
    min-height: 60px;
}

.wishes-input::placeholder,
.wishes-textarea::placeholder {
    color: #777777;
}

.wishes-input:focus,
.wishes-textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.12);
}

.wishes-list {
    margin-top: var(--spacing-lg);
    max-height: 400px;
    overflow-y: auto;
    padding-right: var(--spacing-xs);
    min-height: 100px;
}

.wishes-list::-webkit-scrollbar {
    width: 8px;
}

.wishes-list::-webkit-scrollbar-track {
    background: transparent;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: var(--border-radius-sm);
}

.wishes-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.wishes-empty {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--color-text-gray);
    font-size: clamp(11px, 2.5vw, 12px);
    font-style: italic;
}

.wish-item {
    background: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border-left: 3px solid var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.wish-author {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
    font-size: clamp(11px, 2.5vw, 12px);
}

.wish-text {
    font-size: clamp(10px, 2.5vw, 12px);
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==================== CLOSING SECTION ==================== */
.closing-section {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    border-top: 1px solid var(--color-border);
}

.closing-text {
    font-size: clamp(11px, 2.5vw, 13px);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.closing-names {
    font-family: var(--font-serif);
    font-size: clamp(22px, 6vw, 28px);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.closing-footer {
    font-size: 11px;
    color: #d4af8a;
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.closing-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-normal);
    border-bottom: 1px solid #d4af8a;
    padding-bottom: 2px;
}

.closing-footer a:hover {
    color: #d4af8a;
    border-bottom-color: #ffffff;
}

/* ==================== GIFT MODAL ==================== */
.gift-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--spacing-lg);
    backdrop-filter: blur(4px);
}

.gift-modal.active {
    display: flex;
}

.gift-modal-content {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: clamp(24px, 5vw, 40px);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gift-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text-dark);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-normal);
}

.gift-modal-close:hover {
    color: var(--color-primary);
}

.gift-modal-title {
    font-family: var(--font-sans);
    font-size: clamp(13px, 2.5vw, 15px);
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    font-weight: 500;
}

.gift-modal-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 700;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.bank-account-card {
    background-image: url('/img/card.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--border-radius-xl);
    padding: clamp(24px, 5vw, 36px) clamp(20px, 4vw, 32px);
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.bank-account-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bank-name {
    font-family: var(--font-serif);
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
}

.bank-account-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    width: 100%;
}

.bank-account-number {
    font-family: var(--font-sans);
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 1.5px;
    word-break: break-all;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 16px;
    color: #ffffff;
    transition: all var(--transition-normal);
    padding: clamp(6px, 1vw, 8px) clamp(8px, 1.5vw, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.bank-account-name {
    font-family: var(--font-sans);
    font-size: clamp(10px, 2vw, 12px);
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.gift-modal-attention {
    background: #f9f5f1;
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-xl);
}

.attention-title {
    font-family: var(--font-serif);
    font-size: clamp(13px, 3vw, 14px);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.attention-icon {
    font-size: clamp(16px, 3vw, 18px);
    flex-shrink: 0;
}

.attention-text {
    font-family: var(--font-sans);
    font-size: clamp(10px, 2.5vw, 12px);
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.attention-text strong {
    color: var(--color-text-dark);
    font-weight: 600;
}

.attention-text + .attention-text {
    margin-top: var(--spacing-xs);
}

/* ==================== GALLERY LIGHTBOX ==================== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    backdrop-filter: blur(4px);
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-container {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 2;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-size: 14px;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
}

.scroll-animate-in {
    animation: slideInFromBottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.right-section:nth-child(1) { animation-delay: 0s; }
.right-section:nth-child(2) { animation-delay: 0.1s; }
.right-section:nth-child(3) { animation-delay: 0.2s; }
.right-section:nth-child(4) { animation-delay: 0.3s; }
.right-section:nth-child(5) { animation-delay: 0.4s; }
.right-section:nth-child(6) { animation-delay: 0.5s; }
.right-section:nth-child(7) { animation-delay: 0.6s; }
.right-section:nth-child(8) { animation-delay: 0.7s; }
.right-section:nth-child(9) { animation-delay: 0.8s; }
.right-section:nth-child(10) { animation-delay: 0.9s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .panel-left {
        width: 50%;
        padding: var(--spacing-3xl) var(--spacing-2xl);
    }

    .left-title {
        font-size: 36px;
    }

    .left-subtitle {
        font-size: 48px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(7, 100px);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        width: 100%;
    }

    .gallery-img1,
    .gallery-img2,
    .gallery-img3,
    .gallery-img4,
    .gallery-img5,
    .gallery-img6,
    .gallery-img7,
    .gallery-img8,
    .gallery-img9,
    .gallery-img10,
    .gallery-img11,
    .gallery-img12 {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        transition: transform var(--transition-normal);
    }
}

@media (max-width: 768px) {
    .invitation-panel {
        flex-direction: column;
        position: relative;
        overflow-y: auto;
        height: 100vh;
    }

    .panel-left {
        position: sticky;
        top: 0;
        width: 100%;
        height: 55vh;
        padding: var(--spacing-3xl) var(--spacing-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        z-index: 20;
        overflow: hidden;
    }

    .panel-left-content {
        overflow: hidden;
    }

    .panel-audio-toggle {
        position: absolute;
        width: 45px;
        height: 45px;
        font-size: 20px;
        top: 15px;
        left: 15px;
    }

    .panel-right {
        display: block;
        width: 100%;
        height: 100vh;
        position: relative;
        overflow: hidden;
        flex: 1;
        margin-top: 0;
    }

    .panel-scroll-container {
        position: relative;
        z-index: 1;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding: clamp(16px, 5vw, 40px) clamp(16px, 5vw, 30px);
        background: var(--color-overlay-dark);
    }

    .panel-video-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
        -webkit-touch-callout: none;
    }

    .left-title {
        font-size: 28px;
    }

    .left-subtitle {
        font-size: 36px;
        margin-bottom: var(--spacing-lg);
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }

    .section-title {
        font-size: 24px;
    }

    .wedding-title {
        font-size: 28px;
    }

    .couple-names {
        font-size: 60px;
        margin-bottom: var(--spacing-3xl);
    }

    .save-date-names {
        font-size: 28px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(7, 100px);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        width: 100%;
    }

    .gallery-img1,
    .gallery-img2,
    .gallery-img3,
    .gallery-img4,
    .gallery-img5,
    .gallery-img6,
    .gallery-img7,
    .gallery-img8,
    .gallery-img9,
    .gallery-img10,
    .gallery-img11,
    .gallery-img12 {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        transition: transform var(--transition-normal);
    }

    .gallery-img1{ grid-area: 1 / 2 / 3 / 3; }
    .gallery-img2{ grid-area: 3 / 2 / 5 / 3; }
    .gallery-img3{ grid-area: 1 / 4 / 3 / 5; }
    .gallery-img4{ grid-area: 3 / 4 / 5 / 5; }
    .gallery-img5{ grid-area: 1 / 1 / 4 / 2; }
    .gallery-img6{ grid-area: 4 / 1 / 6 / 2; }
    .gallery-img7{ grid-area: 6 / 1 / 8 / 2; }
    .gallery-img8{ grid-area: 5 / 2 / 8 / 3; }
    .gallery-img9{ grid-area: 1 / 3 / 4 / 4; }
    .gallery-img10 { grid-area: 4 / 3 / 6 / 4; }
    .gallery-img11 { grid-area: 6 / 3 / 8 / 4; }
    .gallery-img12 { grid-area: 5 / 4 / 8 / 5; }
}

/* ==================== WHATSAPP SECTION ==================== */
.whatsapp-section {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-left: 4px solid #25d366;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.whatsapp-label {
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
}

.whatsapp-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.whatsapp-number {
    font-size: 18px;
    font-weight: 600;
    color: #25d366;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.btn-whatsapp {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    font-family: var(--font-display);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .whatsapp-section {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .whatsapp-number {
        font-size: 16px;
    }

    .btn-whatsapp {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        height: auto;
        min-height: 100vh;
    }

    html {
        overflow-y: auto;
    }

    body {
        overflow: visible;
        height: auto;
    }

    .landing-container {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .landing-container.slide-out {
        transform: translateX(-100%);
    }

    .landing-content {
        padding: var(--spacing-lg) var(--spacing-md);
        overflow: hidden;
    }

    .wedding-title {
        font-size: clamp(24px, 5vw, 28px);
    }

    .couple-names {
        font-size: clamp(40px, 10vw, 60px);
    }

    .guest-info,
    .guest-name {
        font-size: clamp(14px, 3.5vw, 18px);
    }

    .open-invitation-btn {
        font-size: clamp(12px, 3vw, 16px);
        padding: clamp(8px, 2vw, 12px) clamp(20px, 6vw, 32px);
    }

    .invitation-panel {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        transform: translateX(0) !important;
        opacity: 1 !important;
        display: flex;
        flex-direction: column;
        overflow-y: visible;
    }

    .invitation-panel.show {
        transform: translateX(0);
    }

    .close-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 28px;
        z-index: 50;
    }

    .panel-left {
        position: sticky;
        top: 0;
        padding: clamp(20px, 5vw, 30px) 16px;
        height: auto;
        min-height: 45vh;
        width: 100%;
        z-index: 20;
        overflow: hidden;
    }

    .panel-left::before {
        opacity: 0.5;
    }

    .panel-left-content {
        overflow: hidden;
    }

    .panel-audio-toggle {
        position: absolute;
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 10px;
        left: 10px;
    }

    .panel-right {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 0;
        background: transparent;
        margin-top: 0;
        overflow-y: auto;
    }

    .invitation-panel {
        overflow-y: auto;
        height: 100vh;
    }

    .panel-right {
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .panel-video-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
        -webkit-touch-callout: none;
    }

    .panel-scroll-container {
        position: relative;
        z-index: 1;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding: clamp(16px, 5vw, 40px) clamp(16px, 5vw, 30px);
        background: var(--color-overlay-dark);
    }

    .left-title {
        font-size: clamp(20px, 5vw, 24px);
    }

    .left-subtitle {
        font-size: clamp(28px, 7vw, 32px);
    }

    .left-text {
        font-size: clamp(11px, 2.5vw, 12px);
        max-width: 280px;
    }

    .left-text-content {
        font-size: clamp(14px, 3vw, 16px);
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .countdown-item {
        padding: clamp(8px, 2vw, 10px) clamp(6px, 1.5vw, 8px);
    }

    .countdown-number {
        font-size: clamp(14px, 3vw, 18px);
    }

    .countdown-label {
        font-size: clamp(7px, 2vw, 9px);
    }

    .section-title {
        font-size: clamp(20px, 5vw, 24px);
    }

    .save-date-names {
        font-size: clamp(20px, 5vw, 24px);
    }

    .save-date-title {
        font-size: clamp(20px, 5vw, 24px);
    }

    .couple-photo-wrapper {
        margin-bottom: var(--spacing-md);
    }

    .couple-photo {
        max-height: 50vh;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(7, 100px);
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        width: 100%;
    }

    .gallery-img1,
    .gallery-img2,
    .gallery-img3,
    .gallery-img4,
    .gallery-img5,
    .gallery-img6,
    .gallery-img7,
    .gallery-img8,
    .gallery-img9,
    .gallery-img10,
    .gallery-img11,
    .gallery-img12 {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        transition: transform var(--transition-normal);
    }

    .gallery-img1{ grid-area: 1 / 2 / 3 / 3; }
    .gallery-img2{ grid-area: 3 / 2 / 5 / 3; }
    .gallery-img3{ grid-area: 1 / 4 / 3 / 5; }
    .gallery-img4{ grid-area: 3 / 4 / 5 / 5; }
    .gallery-img5{ grid-area: 1 / 1 / 4 / 2; }
    .gallery-img6{ grid-area: 4 / 1 / 6 / 2; }
    .gallery-img7{ grid-area: 6 / 1 / 8 / 2; }
    .gallery-img8{ grid-area: 5 / 2 / 8 / 3; }
    .gallery-img9{ grid-area: 1 / 3 / 4 / 4; }
    .gallery-img10 { grid-area: 4 / 3 / 6 / 4; }
    .gallery-img11 { grid-area: 6 / 3 / 8 / 4; }
    .gallery-img12 { grid-area: 5 / 4 / 8 / 5; }

    .event-section {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .btn-location,
    .btn-send,
    .btn-gift {
        width: 100%;
        padding: clamp(10px, 2vw, 12px) clamp(16px, 5vw, 20px);
        font-size: clamp(11px, 2vw, 12px);
    }

    .gift-modal-content {
        padding: clamp(20px, 5vw, 32px) clamp(16px, 4vw, 24px);
        border-radius: var(--border-radius-lg);
        max-width: 100%;
    }

    .gift-modal-title {
        font-size: clamp(13px, 3vw, 14px);
        margin-bottom: var(--spacing-xl);
    }

    .gift-modal-subtitle {
        font-size: clamp(14px, 3.5vw, 16px);
        margin-bottom: var(--spacing-md);
    }

    .bank-account-card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-md);
    }

    .bank-name {
        font-size: clamp(20px, 5vw, 24px);
    }

    .bank-account-number {
        font-size: clamp(12px, 2.5vw, 14px);
    }

    .gift-modal-attention {
        padding: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    .attention-title {
        font-size: clamp(12px, 2.5vw, 13px);
    }

    .attention-text {
        font-size: clamp(9px, 2vw, 11px);
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .story-section {
        padding: var(--spacing-lg);
    }

    .wishes-section {
        padding: var(--spacing-lg);
    }

    .wishes-input,
    .wishes-textarea {
        font-size: clamp(11px, 2.5vw, 12px);
        padding: clamp(8px, 2vw, 10px) clamp(10px, 2vw, 12px);
    }

    .closing-section {
        padding: var(--spacing-lg) 0;
    }

    .closing-names {
        font-size: clamp(20px, 5vw, 24px);
    }

    .right-section {
        margin-bottom: var(--spacing-2xl);
    }
}
