/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.loading-container {
    text-align: center;
    position: relative;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-screen .logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow:0 0 30px rgba(139, 92, 246, 0.4);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.loading-screen .logo-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.loading-screen .logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 2rem auto;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #06b6d4);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

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



.loading-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 1.5rem;
    min-height: 1.5em;
}

.loading-screen .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-screen .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: floating 6s infinite ease-in-out;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 80px rgba(139, 92, 246, 0.6);
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(100px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loading-progress {
        width: 250px;
    }
    
   .loading-screen .logo-icon {
        width: 60px;
        height: 60px;
    }
    
  .loading-screen  .logo-icon svg {
        width: 30px;
        height: 30px;
    }
    
 .loading-screen   .logo-text {
        font-size: 1.5rem;
    }
    
}
