/* ===================== */
/* INTRO ANIMATION STYLES */
/* ===================== */

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

#intro-overlay.fade-out {
    animation: fadeOutUp 1.5s ease forwards;
}

/* Light Strips Container */
.light-strips-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
}

/* Individual Vertical Light Strips */
.light-strip {
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    background: linear-gradient(180deg, #cfc09f 0%, #f5e6c8 50%, #cfc09f 100%);
    box-shadow: 0 0 30px rgba(207, 192, 159, 0.8), 0 0 60px rgba(207, 192, 159, 0.4);
    opacity: 0;
}

/* Spacing between strips - starting from left */
.strip-1 {
    left: 5%;
    width: 20px;
    height: 0;
    animation: stripFromTop 1.2s ease forwards;
    animation-delay: 0.2s;
}

.strip-2 {
    left: 22%;
    width: 25px;
    height: 0;
    animation: stripFromBottom 1.2s ease forwards;
    animation-delay: 0.4s;
}

.strip-3 {
    left: 39%;
    width: 18px;
    height: 0;
    animation: stripFromTop 1.2s ease forwards;
    animation-delay: 0.6s;
}

.strip-4 {
    left: 54%;
    width: 22px;
    height: 0;
    animation: stripFromBottom 1.2s ease forwards;
    animation-delay: 0.8s;
}

.strip-5 {
    left: 69%;
    width: 15px;
    height: 0;
    animation: stripFromTop 1.2s ease forwards;
    animation-delay: 1.0s;
}

.strip-6 {
    left: 82%;
    width: 28px;
    height: 0;
    animation: stripFromBottom 1.2s ease forwards;
    animation-delay: 1.2s;
}

/* Strip animations - vertical movement from left edge */
@keyframes stripFromTop {
    0% {
        height: 0;
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        height: 100%;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes stripFromBottom {
    0% {
        height: 0;
        opacity: 0;
        transform: translateY(100%);
    }
    50% {
        height: 100%;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
        transform: translateY(0);
    }
}

/* Intro Content */
.intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    animation: contentFadeIn 2s ease forwards;
    animation-delay: 2.5s;
}

/* Intro Title */
.intro-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin-bottom: 10px;
    color: rgb(202, 128, 70);
    text-shadow: 0 0 30px rgba(207, 192, 159, 0.6), 0 0 60px rgba(207, 192, 159, 0.3);
}

/* Intro Subtitle */
.intro-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.4rem;
    color: rgb(202, 128, 70);
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Light Switch Button */
.enter-switch {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #cfc09f;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(207, 192, 159, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0.5;
}

.enter-switch.ready {
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
}

.enter-switch:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(207, 192, 159, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.enter-switch.active {
    background: linear-gradient(135deg, #cfc09f 0%, #f5e6c8 100%);
    border-color: #f5e6c8;
}

.enter-switch.active .switch-label {
    color: #1a1a1a;
}

.enter-switch.active .switch-toggle {
    background: #1a1a1a;
    transform: translateX(25px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.switch-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: #cfc09f;
    transition: color 0.3s ease;
}

.switch-toggle {
    width: 25px;
    height: 25px;
    background: #cfc09f;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(207, 192, 159, 0.5);
}

/* ===================== */
/* KEYFRAME ANIMATIONS */
/* ===================== */

@keyframes contentFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh);
    }
}

/* Light burst animation */
@keyframes lightBurst {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }
    
    .intro-subtitle {
        font-size: 1rem;
        letter-spacing: 0.2rem;
    }
    
    .enter-switch {
        padding: 12px 25px;
    }
    
    .switch-label {
        font-size: 0.9rem;
    }
    
    .light-strip {
        width: 12px !important;
    }
    
    /* Adjust spacing for mobile */
    .strip-1 { left: 3%; }
    .strip-2 { left: 20%; }
    .strip-3 { left: 37%; }
    .strip-4 { left: 54%; }
    .strip-5 { left: 71%; }
    .strip-6 { left: 85%; }
}
