/* Loading Splash Screen Styles */

.loading-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e1a;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2332 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-splash.active {
    opacity: 1;
    visibility: visible;
}

.splash-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#intro-video {
    position: absolute;
    width: 90%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

/* Fade out animation */
.loading-splash.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #intro-video {
        width: 95%;
    }
}

/* Dark overlay for better video contrast */
.loading-splash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}