.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-bar-container {
    width: 200px;
    height: 3px;
    background: rgba(0, 89, 255, 0.2);
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    border-radius: 3px;
    animation: loadingProgress 1.5s ease-in-out infinite;
}

.loading-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s infinite;
}

/* Generate 10 particles with different positions and delays */
.loading-particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.loading-particle:nth-child(2) { top: 70%; left: 80%; animation-delay: 0.3s; }
.loading-particle:nth-child(3) { top: 40%; left: 40%; animation-delay: 0.6s; }
.loading-particle:nth-child(4) { top: 60%; left: 60%; animation-delay: 0.9s; }
.loading-particle:nth-child(5) { top: 30%; left: 70%; animation-delay: 1.2s; }
.loading-particle:nth-child(6) { top: 80%; left: 30%; animation-delay: 1.5s; }
.loading-particle:nth-child(7) { top: 50%; left: 50%; animation-delay: 1.8s; }
.loading-particle:nth-child(8) { top: 25%; left: 85%; animation-delay: 2.1s; }
.loading-particle:nth-child(9) { top: 75%; left: 25%; animation-delay: 2.4s; }
.loading-particle:nth-child(10) { top: 90%; left: 10%; animation-delay: 2.7s; }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes loadingProgress {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0;
    }
}

/* Loading Icons */
.loading-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-icon {
    position: absolute;
    color: var(--primary-color);
    font-size: 24px;
    opacity: 0.6;
    animation: iconFloat 4s ease-in-out infinite;
}

.loading-icon:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.loading-icon:nth-child(2) { top: 70%; left: 80%; animation-delay: 0.5s; }
.loading-icon:nth-child(3) { top: 40%; left: 40%; animation-delay: 1s; }
.loading-icon:nth-child(4) { top: 60%; left: 60%; animation-delay: 1.5s; }
.loading-icon:nth-child(5) { top: 30%; left: 70%; animation-delay: 2s; }
.loading-icon:nth-child(6) { top: 80%; left: 30%; animation-delay: 2.5s; }
.loading-icon:nth-child(7) { top: 50%; left: 50%; animation-delay: 3s; }
.loading-icon:nth-child(8) { top: 25%; left: 85%; animation-delay: 3.5s; }
.loading-icon:nth-child(9) { top: 75%; left: 25%; animation-delay: 4s; }
.loading-icon:nth-child(10) { top: 90%; left: 10%; animation-delay: 4.5s; }
.loading-icon:nth-child(11) { top: 15%; left: 45%; animation-delay: 5s; }
.loading-icon:nth-child(12) { top: 85%; left: 65%; animation-delay: 5.5s; }
.loading-icon:nth-child(13) { top: 35%; left: 15%; animation-delay: 6s; }
.loading-icon:nth-child(14) { top: 65%; left: 90%; animation-delay: 6.5s; }
.loading-icon:nth-child(15) { top: 45%; left: 75%; animation-delay: 7s; }

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
} 