/* Loading Overlay - Écran de chargement simple */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Titre STREAMLINE AGENCY */
.loading-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

/* Conteneur de la barre de chargement */
.loading-bar-container {
    width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Barre de chargement animée */
.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #00ff88 50%, #ff00ff 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loadingProgress 2s ease-in-out infinite, gradientShift 3s ease infinite;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loading-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .loading-bar-container {
        width: 300px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .loading-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .loading-bar-container {
        width: 250px;
        height: 4px;
    }
}
