.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 1s ease;
}

.loading-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.loading-text-left,
.loading-text-right {
    font-size: 3rem;
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 6px;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: neon-glitch 1.5s infinite;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.logo-container {
    position: relative;
    width: 240px;
    height: 240px;
    perspective: 1000px;
}

.loading-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation:
        logo-float 3s ease-in-out infinite,
        logo-glitch 5s linear infinite,
        neon-pulse 2s ease-in-out infinite;
    filter:
        drop-shadow(0 0 15px var(--neon-teal))
        drop-shadow(0 0 30px var(--neon-blue));
}

.loading-progress {
    width: 400px;
    height: 5px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2rem;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-blue));
    animation: loading 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 15px var(--neon-teal);
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    animation: progress-glow 2s infinite;
}

@keyframes neon-glitch {
    0%, 100% { 
        opacity: 1;
        text-shadow: 0 0 20px var(--neon-blue);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 30px var(--neon-teal),
                     0 0 10px var(--neon-blue);
    }
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-10px) rotate(-5deg) scale(1.05); }
    75% { transform: translateY(10px) rotate(5deg) scale(0.95); }
}

@keyframes logo-glitch {
    0%, 100% { transform: translate(0); }
    2% { transform: translate(2px, -2px); }
    4% { transform: translate(-2px, 2px); }
    96% { transform: translate(2px, -1px); }
    98% { transform: translate(-1px, 1px); }
}

@keyframes neon-pulse {
    0%, 100% {
        filter:
            drop-shadow(0 0 15px var(--neon-teal))
            drop-shadow(0 0 30px var(--neon-blue));
    }
    50% {
        filter:
            drop-shadow(0 0 25px var(--neon-teal))
            drop-shadow(0 0 45px var(--neon-blue));
    }
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes progress-glow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Media Queries */
@media (max-width: 768px) {
    .loading-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .loading-text-left,
    .loading-text-right {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .logo-container {
        width: 120px;
        height: 120px;
        order: -1;
    }
    
    .loading-text-left {
        order: 0;
    }
    
    .loading-text-right {
        order: 1;
    }
    
    .loading-progress {
        width: 280px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loading-text-left,
    .loading-text-right {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .logo-container {
        width: 150px;
        height: 150px;
    }
    
    .loading-progress {
        width: 220px;
    }
}