/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2b1f14;
    --secondary-dark: #3d2d1f;
    --purple-accent: #6b4c8a;
    --gold-accent: #d4af37;
    --cream: #f5ead6;
    --white: #ffffff;
    --text-light: #f0e6d2;
    --warm-brown: #2b1f14;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
    overflow-x: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Hide main content initially */
.main-content-wrapper {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-content-wrapper.hidden {
    display: none;
    opacity: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enter Experience Overlay */
.enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(43, 31, 20, 0.98) 0%, rgba(61, 45, 31, 0.98) 100%),
                url('../images/background-bokeh.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.enter-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-content {
    text-align: center;
    padding: 60px 40px;
    background: rgba(245, 234, 214, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                0 0 80px rgba(212, 175, 55, 0.2) inset;
    backdrop-filter: blur(10px);
    max-width: 600px;
    animation: enterPulse 2s ease-in-out infinite;
}

@keyframes enterPulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                    0 0 80px rgba(212, 175, 55, 0.2) inset;
    }
    50% {
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8),
                    0 0 100px rgba(212, 175, 55, 0.3) inset;
    }
}

.enter-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 0.1em;
}

.enter-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 40px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

.enter-button {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #b8860b 100%);
    border: 2px solid rgba(212, 175, 55, 0.8);
    border-radius: 50px;
    padding: 20px 50px;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a0f0a;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: none;
}

.enter-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
}

.enter-button:active {
    transform: translateY(-1px) scale(1.02);
}

.enter-icon {
    font-size: 1.5rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.enter-hint {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: rgba(245, 234, 214, 0.6);
    margin-top: 25px;
    font-style: italic;
}

/* Landing Page - Full Screen Scroll */
.landing {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat;
    background-color: #2b1f14;
}

.landing-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 25%, rgba(43, 31, 20, 0.15) 55%, rgba(43, 31, 20, 0.5) 85%, rgba(43, 31, 20, 0.7) 100%);
    pointer-events: none;
    z-index: 3;
}

.landing-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    animation: fadeInUp 1.5s ease-out;
}

.landing-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 90%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.landing-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(43, 31, 20, 0.08) 65%, transparent 100%);
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.landing-scroll {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) drop-shadow(0 5px 15px rgba(43, 31, 20, 0.3)) brightness(1.05) contrast(0.95);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    max-width: 100%;
    max-height: 100vh;
    opacity: 0.96;
    mix-blend-mode: multiply;
}

/* Clickable Seal Hotspot */
.seal-hotspot {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: calc(50% + 50px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.seal-hotspot:hover {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(1.1);
}

.seal-hotspot:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Instruction text under the scroll */
.scroll-instruction {
    position: absolute;
    bottom: calc(40px + 3vh);      /* desktop base position */
    left: 50%;
    transform: translateX(-50%);
    right: auto;                   /* override any previous right: value */
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: #d3b668;
    white-space: nowrap;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: pulse 2s infinite ease-in-out;
    pointer-events: none;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Details Page - Full Screen */
.details-page {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.details-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat;
    background-color: #2b1f14;
}

.details-page .bokeh-lights-secondary {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.details-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 1.2s ease-out;
}

.details-scroll-image {
    max-width: 1201px;
    max-height: 113vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.7));
    position: relative;
    z-index: 5;
    transform: rotate(-5deg);
}

/* Clickable hotspot over the seal */
.seal-button-hotspot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 193px;
    height: 193px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, 122px) rotate(-5deg);
}

.seal-button-hotspot:hover {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, 122px) rotate(-5deg) scale(1.1);
}

.seal-button-hotspot:active {
    transform: translate(-50%, 122px) rotate(-5deg) scale(0.95);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Magical Glitter Effect */
.magical-glitter {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 1) 0%,
        rgba(255, 223, 77, 0.9) 25%,
        rgba(255, 235, 150, 0.6) 50%,
        transparent 70%);
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.3);
    animation: glitterBurst 1.5s ease-out forwards;
    transform-origin: center;
}

/* Add star shape variants */
.magical-glitter:nth-child(3n) {
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 1) 0%,
        rgba(244, 229, 161, 0.9) 25%,
        rgba(255, 245, 200, 0.6) 50%,
        transparent 70%);
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 
        50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
    );
}

/* Add diamond shape variants */
.magical-glitter:nth-child(4n) {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 1) 0%,
        rgba(255, 235, 150, 0.8) 50%,
        rgba(255, 245, 200, 0.4) 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: glitterTwinkle 1.5s ease-out forwards;
}

@keyframes glitterBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 1;
        transform: translate(
            calc(var(--end-x) - 50vw), 
            calc(var(--end-y) - 50vh)
        ) scale(1.5) rotate(calc(var(--rotation) * 0.5));
    }
    100% {
        opacity: 0;
        transform: translate(
            calc(var(--end-x) - 50vw), 
            calc(var(--end-y) - 50vh)
        ) scale(0) rotate(var(--rotation));
    }
}

@keyframes glitterTwinkle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(45deg);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: translate(
            calc(var(--end-x) - 50vw), 
            calc(var(--end-y) - 50vh)
        ) scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translate(
            calc(var(--end-x) - 50vw), 
            calc(var(--end-y) - 50vh)
        ) scale(0) rotate(var(--rotation));
    }
}

/* More Details Button - Bottom Right - Royal Design */
.more-details-button {
    position: absolute;
    left: 50%;
    bottom: calc(40px + 3vh);
    transform: translateX(-50%);
    padding: 12px 25px 12px 40px;
    background: linear-gradient(145deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    color: #2b1f14;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    z-index: 10;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: royalPulse 3s infinite ease-in-out;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: none;
}

.more-details-button::before {
    content: '♔';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.8;
}

.more-details-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.more-details-button:hover {
    transform: translateX(-50%) translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.8),
                inset 0 -2px 10px rgba(0, 0, 0, 0.3),
                inset 0 2px 12px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.more-details-button:hover::after {
    left: 100%;
}

@keyframes royalPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6),
                    inset 0 -2px 10px rgba(0, 0, 0, 0.2),
                    inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(212, 175, 55, 0.8),
                    0 0 20px rgba(212, 175, 55, 0.4),
                    inset 0 -2px 10px rgba(0, 0, 0, 0.2),
                    inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
}

/* Floating Lanterns */
/* Tangled-Style Cylindrical Lanterns */
.floating-lantern {
    position: fixed;
    width: 40px;
    height: 55px;
    pointer-events: none;
    z-index: 1;
    bottom: -150px;
    animation: floatUp 25s ease-in-out infinite;
    opacity: 0;
    filter: drop-shadow(0 6px 15px rgba(255, 200, 80, 0.3));
}

/* Decorative Top Edge */
.floating-lantern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 5px;
    background: 
        repeating-linear-gradient(90deg,
            transparent 0px,
            rgba(212, 175, 55, 0.9) 2px,
            transparent 4px,
            transparent 8px
        ),
        linear-gradient(180deg, rgba(218, 165, 32, 0.8), rgba(184, 134, 11, 0.7));
    border-radius: 2px 2px 0 0;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 220, 120, 0.5);
}

/* Cylindrical Paper Body with Sun Symbol */
.floating-lantern::after {
    content: '☀';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 50px;
    
    /* Display sun emoji */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 220, 0, 0.95);
    text-shadow: 
        0 0 8px rgba(255, 200, 0, 0.9),
        0 0 15px rgba(255, 180, 0, 0.7),
        0 0 25px rgba(255, 150, 0, 0.5);
    
    background: 
        /* Paper texture */
        linear-gradient(180deg, 
            rgba(255, 200, 120, 0.65) 0%,
            rgba(255, 180, 100, 0.7) 25%,
            rgba(255, 160, 80, 0.75) 50%,
            rgba(255, 140, 60, 0.7) 75%,
            rgba(240, 120, 50, 0.65) 100%
        );
    
    /* Straight cylindrical shape */
    border-radius: 3px 3px 8px 8px;
    border: 2px solid rgba(200, 140, 60, 0.5);
    border-top: 1px solid rgba(218, 165, 32, 0.6);
    
    box-shadow: 
        /* Warm outer glow */
        0 0 20px rgba(255, 200, 100, 0.5),
        0 0 35px rgba(255, 180, 80, 0.3),
        0 0 50px rgba(255, 160, 60, 0.2),
        /* Inner candle light */
        inset 0 -25px 35px rgba(255, 200, 80, 0.4),
        inset 0 -45px 50px rgba(255, 150, 40, 0.25);
    
    animation: lanternGlow 3.5s ease-in-out infinite;
}

/* Decorative Bottom Edge */
.lantern-bottom-ring {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 5px;
    background: 
        repeating-linear-gradient(90deg,
            transparent 0px,
            rgba(212, 175, 55, 0.9) 2px,
            transparent 4px,
            transparent 8px
        ),
        linear-gradient(180deg, rgba(184, 134, 11, 0.7), rgba(139, 105, 20, 0.8));
    border-radius: 0 0 2px 2px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 220, 120, 0.4);
    z-index: 3;
}





@keyframes lanternGlow {
    0%, 100% {
        box-shadow: 
            0 0 18px rgba(255, 200, 100, 0.45),
            0 0 32px rgba(255, 180, 80, 0.28),
            0 0 48px rgba(255, 160, 60, 0.18),
            inset 0 -25px 32px rgba(255, 200, 80, 0.35),
            inset 0 -45px 48px rgba(255, 150, 40, 0.22);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 200, 100, 0.55),
            0 0 40px rgba(255, 180, 80, 0.35),
            0 0 60px rgba(255, 160, 60, 0.22),
            inset 0 -25px 40px rgba(255, 200, 80, 0.45),
            inset 0 -45px 55px rgba(255, 150, 40, 0.3);
        text-shadow: 
            0 0 10px rgba(255, 200, 0, 1),
            0 0 18px rgba(255, 180, 0, 0.8),
            0 0 30px rgba(255, 150, 0, 0.6);
    }
}

/* Additional Info Wrapper */
.additional-info-wrapper {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.additional-info-wrapper.hidden {
    display: none;
    opacity: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(43, 31, 20, 0.95) 0%, rgba(61, 45, 31, 0.9) 100%),
                url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(43, 31, 20, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(245, 234, 214, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(212, 175, 55, 0.15) inset;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.5),
        0 0 40px rgba(212, 175, 55, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.5),
            0 0 40px rgba(212, 175, 55, 0.3),
            2px 2px 8px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 30px rgba(212, 175, 55, 0.7),
            0 0 50px rgba(212, 175, 55, 0.4),
            2px 2px 8px rgba(0, 0, 0, 0.8);
    }
}

.hero-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    margin: 30px auto;
    position: relative;
}

.hero-divider::before,
.hero-divider::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-accent);
    font-size: 1.2rem;
}

.hero-divider::before {
    left: -30px;
}

.hero-divider::after {
    right: -30px;
}

.hero-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    line-height: 2;
    color: var(--cream);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0 0 60px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Scroll Down Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    animation: fadeInUp 2s ease-out 1.5s both;
    transition: opacity 0.5s ease, transform 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    transform: translateY(-5px);
}

.scroll-indicator-gift {
    margin-top: 50px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.scroll-text {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover .scroll-text {
    opacity: 1;
    letter-spacing: 4px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.6);
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-arrow:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 35px rgba(212, 175, 55, 0.7),
        0 0 70px rgba(212, 175, 55, 0.4);
    border-width: 3px;
}

.scroll-arrow:active {
    transform: scale(1.05);
}

.scroll-arrow i {
    color: var(--gold-accent);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown Section */
.countdown-section {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.section-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--cream);
    text-align: center;
    margin: 20px auto 50px;
    letter-spacing: 0.08em;
    text-transform: none;
    max-width: 700px;
    line-height: 1.8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.7);
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 120px;
}

.countdown-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-accent);
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.7), 0 6px 30px rgba(212, 175, 55, 0.4);
}

.countdown-label {
    display: block;
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Dress Code Section */
.dress-code {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.dress-code-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dress-code-box {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
}

.dress-code-item {
    text-align: center;
}

.color-swatch {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--gold-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gold-swatch {
    background: linear-gradient(135deg, #d4af37, #f4e5a1);
}

.purple-swatch {
    background: linear-gradient(135deg, #6b4c8a, #9b7bb5);
}

.dress-code-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.dress-code-note {
    font-style: italic;
    color: var(--gold-accent);
    font-size: 1.2rem;
    margin-top: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 5px rgba(0, 0, 0, 0.7);
}

/* Location Map Section */
.location-map {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.map-info {
    text-align: center;
}

.map-info h3 {
    font-size: 2rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.7);
}

.address {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.directions-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-accent), #b8941f);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    text-shadow: none;
}

.directions-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.map-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.map-embed iframe {
    display: block;
}

/* Sofia's Gallery Section */
.sofia-gallery {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.gallery-grid-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.gallery-photo:hover {
    transform: scale(1.05);
    border-color: var(--gold-accent);
}

.gallery-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    background: rgba(107, 76, 138, 0.1);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 100px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
}

.photo-placeholder span {
    font-size: 4rem;
    margin-bottom: 20px;
}

.photo-placeholder p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold-accent);
    font-style: italic;
    margin-bottom: 10px;
}

.placeholder-note {
    font-size: 1rem !important;
    opacity: 0.7;
}

/* Hero Section - Keep for backward compatibility */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.genspark.ai/api/files/s/nbPFUfLp') center center / cover no-repeat;
}

.bokeh-lights,
.bokeh-lights-secondary {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bokeh-lights::before,
.bokeh-lights::after,
.bokeh-lights-secondary::before,
.bokeh-lights-secondary::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 165, 75, 0.4) 0%, rgba(218, 165, 75, 0) 70%);
    animation: float 8s infinite ease-in-out;
    filter: blur(3px);
}

.bokeh-lights::before {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
}

.bokeh-lights::after {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.bokeh-lights-secondary::before {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.bokeh-lights-secondary::after {
    width: 160px;
    height: 160px;
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
    animation-duration: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

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

.hero-text {
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--gold-accent);
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 4px 24px rgba(0, 0, 0, 0.6);
}

.decorative-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

/* About Section */
.about {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.8;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.detail-card {
    background: rgba(107, 76, 138, 0.1);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Animated glowing icons for event details */
.detail-icon-animated {
    font-size: 4rem;
    color: var(--gold-accent);
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.8),
                 0 0 50px rgba(212, 175, 55, 0.6),
                 0 0 70px rgba(212, 175, 55, 0.4);
    animation: floatUpDown 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.5));
}

.detail-card:nth-child(1) .detail-icon-animated {
    animation-delay: 0s;
}

.detail-card:nth-child(2) .detail-icon-animated {
    animation-delay: 0.3s;
}

.detail-card:nth-child(3) .detail-icon-animated {
    animation-delay: 0.6s;
}

.detail-card h3 {
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 5px rgba(0, 0, 0, 0.7);
}

.detail-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* RSVP Section */
.rsvp {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.rsvp-form {
    background: rgba(107, 76, 138, 0.1);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 15, 41, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(240, 230, 210, 0.5);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--secondary-dark);
}

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--gold-accent), #b8941f);
    border: none;
    border-radius: 8px;
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    text-shadow: none;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #81c784;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #e57373;
    display: block;
}

/* College Fund Gift Section */
.college-fund {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.gift-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.gift-icon {
    font-size: 3.5rem;
    color: var(--gold-accent);
    margin-bottom: 25px;
    text-shadow: 
        0 0 30px rgba(212, 175, 55, 0.8),
        0 0 60px rgba(212, 175, 55, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.8);
    animation: floatGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

@keyframes floatGlow {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
    50% { 
        transform: translateY(-10px) scale(1.03);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.9));
    }
}

.gift-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.9),
        0 3px 20px rgba(212, 175, 55, 0.3);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.payment-text-box {
    background: rgba(43, 31, 20, 0.8);
    border: 2px solid var(--gold-accent);
    border-radius: 15px;
    padding: 40px 50px;
    margin: 50px auto;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.payment-methods {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.payment-methods strong {
    color: var(--gold-accent);
    font-weight: 600;
}

.payment-contact {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--cream);
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.gift-payment-info {
    background: linear-gradient(135deg, rgba(43, 31, 20, 0.9) 0%, rgba(30, 20, 10, 0.9) 100%);
    border: 2px solid var(--gold-accent);
    border-radius: 15px;
    padding: 20px 35px;
    margin: 30px auto;
    max-width: 450px;
    box-shadow: 
        0 8px 30px rgba(212, 175, 55, 0.25),
        0 12px 45px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: shimmer 3s ease-in-out infinite;
}

.gift-payment-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 70%
    );
    animation: shine 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        box-shadow: 
            0 8px 30px rgba(212, 175, 55, 0.25),
            0 12px 45px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 215, 0, 0.15);
    }
    50% {
        box-shadow: 
            0 10px 40px rgba(212, 175, 55, 0.4),
            0 15px 60px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 215, 0, 0.25);
    }
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(360deg);
    }
}

.payment-method {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 2px 8px rgba(212, 175, 55, 0.7),
        0 3px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
}

.payment-method i {
    color: var(--gold-accent);
    margin-right: 8px;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.9));
    }
}

.payment-method strong {
    color: var(--gold-accent);
    font-weight: 600;
    margin-right: 6px;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.gift-thank-you {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #fff;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.9),
        0 3px 20px rgba(212, 175, 55, 0.4);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.gift-thank-you i {
    color: #ff6b9d;
    font-size: 1.3rem;
    animation: heartbeatGlow 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(255, 107, 157, 0.7));
}

@keyframes heartbeatGlow {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 12px rgba(255, 107, 157, 0.7));
    }
    50% { 
        transform: scale(1.2); 
        filter: drop-shadow(0 0 25px rgba(255, 107, 157, 0.9));
    }
}

/* Gallery Preview Section */
/* Gallery Section - A Glimpse of Elegance */
.gallery-preview {
    padding: 100px 0;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: rgba(43, 31, 20, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(212, 175, 55, 0.8), 
                rgba(43, 31, 20, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: var(--cream);
    animation: pulse 1.5s infinite;
}

/* Lightbox Modal Styles */
.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: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoomIn 0.4s ease-out;
}

.lightbox-image-wrapper {
    width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    transition: opacity 0.15s ease;
}

.lightbox-info {
    text-align: center;
}

.lightbox-counter {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Lightbox Controls */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    color: var(--gold-accent);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.lightbox-close:hover {
    background: var(--gold-accent);
    color: var(--primary-dark);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    color: var(--gold-accent);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.lightbox-nav:hover {
    background: var(--gold-accent);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Lightbox Animation */
@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Music Player Controls */
.music-player-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Show music button only when on main website pages (not landing/details) */
.music-player-controls.visible {
    opacity: 1;
    pointer-events: auto;
}

.music-toggle-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(184, 134, 11, 0.95) 100%);
    border: 2px solid rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5),
                0 0 40px rgba(212, 175, 55, 0.3);
    color: #1a0f0a;
    font-size: 1.2rem;
    position: relative;
}

.music-toggle-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.7),
                0 0 50px rgba(212, 175, 55, 0.4);
}

.music-toggle-btn:active {
    transform: scale(0.95);
}

.music-toggle-btn.playing {
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5),
                    0 0 40px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 6px 30px rgba(212, 175, 55, 0.8),
                    0 0 60px rgba(212, 175, 55, 0.5);
    }
}

.music-toggle-btn.paused {
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.8) 0%, rgba(60, 60, 60, 0.8) 100%);
    border-color: rgba(150, 150, 150, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.music-toggle-btn i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.music-status {
    font-size: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: url('../images/background-bokeh.jpg') center center / cover no-repeat fixed;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-seal-image {
    width: 120px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.6));
    animation: sealGlow 3s infinite ease-in-out;
}

@keyframes sealGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.6));
    }
    50% {
        filter: drop-shadow(0 4px 30px rgba(212, 175, 55, 0.9));
    }
}

.footer-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-subtext {
    font-size: 0.9rem;
    color: rgba(240, 230, 210, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 768px) {
    .enter-title {
        font-size: 2.5rem;
    }

    .enter-subtitle {
        font-size: 1.3rem;
    }

    .enter-button {
        font-size: 1.1rem;
        padding: 18px 40px;
    }

    .enter-content {
        padding: 40px 30px;
        max-width: 90%;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 0.1em;
    }

    .hero-content {
        padding: 40px 25px;
    }

    .hero-text {
        font-size: 1.3rem;
        line-height: 1.8;
        margin: 0 0 40px 0;
    }

    .hero-divider {
        width: 150px;
    }
    
    .scroll-indicator {
        margin-top: 40px;
        gap: 10px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
    
    .scroll-arrow i {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
        margin: 15px auto 40px;
    }

    .music-player-controls {
        bottom: 20px;
        right: 20px;
    }

    .music-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .landing-scroll {
        object-fit: contain;
        padding: 20px;
    }

    .seal-hotspot {
        width: 130px;
        height: 130px;
    }

    .more-details-button {
        left: 50%;
        bottom: calc(30px + 3vh);
        font-size: 0.75rem;
        padding: 10px 20px 10px 32px;
        transform: translateX(-50%);
    }
    
    .more-details-button::before {
        font-size: 0.9rem;
        left: 10px;
    }

    .countdown-number {
        font-size: 3rem;
    }

    .countdown-item {
        min-width: 100px;
    }

    .dress-code-box {
        gap: 40px;
    }

    .color-swatch {
        width: 80px;
        height: 80px;
    }

    .map-content {
        grid-template-columns: 1fr;
    }

    /* Tablet (≤ 768px) */
    .scroll-instruction {
        font-size: 1rem;
        bottom: calc(60px + 3vh);
    }

    .section-header {
        gap: 15px;
    }

    .decorative-line {
        width: 50px;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rsvp-form {
        padding: 30px 20px;
    }

    .about,
    .rsvp,
    .gallery-preview {
        padding: 60px 0;
    }

    .details-scroll-image {
        max-width: 901px;
        max-height: 106vh;
    }

    .seal-button-hotspot {
        width: 161px;
        height: 161px;
        transform: translate(-50%, 93px) rotate(-5deg);
    }

    .seal-button-hotspot:hover {
        transform: translate(-50%, 93px) rotate(-5deg) scale(1.1);
    }

    .seal-button-hotspot:active {
        transform: translate(-50%, 93px) rotate(-5deg) scale(0.95);
    }

    /* Gallery Tablet Styles */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: 20px;
        right: 20px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .enter-title {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }

    .enter-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .enter-button {
        font-size: 1rem;
        padding: 15px 30px;
    }

    .enter-content {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.08em;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .hero-divider {
        width: 120px;
    }

    .hero-divider::before,
    .hero-divider::after {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin: 10px auto 30px;
        letter-spacing: 0.05em;
    }

    .music-player-controls {
        bottom: 15px;
        right: 15px;
    }

    .music-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .music-status {
        font-size: 0.45rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .landing-scroll {
        object-fit: contain;
        padding: 10px;
        max-height: 95vh;
    }

    .seal-hotspot {
        width: 100px;
        height: 100px;
    }

    /* Mobile fix: force full centering and no clipping */
    .scroll-instruction {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: calc(80px + 3vh) !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.12em;
        width: 90% !important;
        text-align: center !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .more-details-button {
        left: 50%;
        bottom: calc(20px + 8vh);
        font-size: 0.65rem;
        padding: 8px 18px 8px 28px;
        letter-spacing: 0.5px;
        transform: translateX(-50%);
    }
    
    .more-details-button::before {
        font-size: 0.8rem;
        left: 8px;
    }

    .countdown-display {
        gap: 20px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-item {
        min-width: 80px;
    }

    .countdown-label {
        font-size: 0.9rem;
    }

    .dress-code-box {
        flex-direction: column;
        gap: 30px;
    }

    .color-swatch {
        width: 70px;
        height: 70px;
    }

    .lead-text {
        font-size: 1.2rem;
    }

    .details-scroll-image {
        max-width: 565px;
        max-height: 86vh;
    }

    .seal-button-hotspot {
        width: 122px;
        height: 122px;
        transform: translate(-50%, 67px) rotate(-5deg);
    }

    .seal-button-hotspot:hover {
        transform: translate(-50%, 67px) rotate(-5deg) scale(1.1);
    }

    .seal-button-hotspot:active {
        transform: translate(-50%, 67px) rotate(-5deg) scale(0.95);
    }

    /* Reduce section spacing on mobile */
    .countdown-section,
    .dress-code,
    .location-map,
    .sofia-gallery,
    .about,
    .rsvp,
    .gallery-preview {
        padding: 50px 0 !important;
    }

    .hero-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Gallery Mobile Styles */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        font-size: 1rem;
    }

    .gallery-overlay i {
        font-size: 2.5rem;
    }

    /* College Fund Mobile Styles */
    .gift-message {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .payment-text-box {
        padding: 30px 25px;
        margin: 40px 15px;
    }

    .payment-methods {
        font-size: 1.1rem;
    }

    .payment-contact {
        font-size: 1rem;
    }

    .gift-icon {
        font-size: 3rem;
    }

    .gift-thank-you {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 8px;
    }
}
