#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c1d 0%, #1a1530 50%, #0f0c1d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    filter: blur(0px);
    animation: unblur 1s ease-out;
}

@keyframes unblur {
    from {
        filter: blur(10px);
        opacity: 0;
    }
    to {
        filter: blur(0px);
        opacity: 1;
    }
}

.loading-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 24px auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(139, 92, 246, 1));
    }
}

.loading-text {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-bar-container {
    width: 250px;
    height: 6px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6, #A78BFA, #8B5CF6);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loadProgress 1.5s ease-out forwards, shimmer 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
}

@keyframes loadProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}