* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #000;
}

/* BACKGROUND */
.background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(2px);
}

.background-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(30, 144, 255, 0.1),
        rgba(0, 0, 0, 0.75),
        rgba(30, 144, 255, 0.1));
}

/* ANIMATIONS */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes glow {
    0%,100% {
        filter: drop-shadow(0 0 30px rgba(30, 144, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(30, 144, 255, 0.8));
    }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes progressMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 40px 0, 0 0;
    }
}

/* MAIN CONTAINER */
.loading-container {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
}

/* LOGO */
.logo {
    width: 630px;
    height: 620px;
    position: relative;
    top: 0px;             
    left: 0px;            
    margin-bottom: 15px;  
    animation: float 3s ease-in-out infinite, glow 2s infinite;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SERVER NAME (BIENVENUE) - Optionnel */
.server-name {
    position: relative;
    top: -95px;  
}

.server-name h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00BFFF, #1E90FF, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px; 
}

.server-name p {
    color: rgba(224,255,255,0.8);
    font-size: 1.2rem;
    margin-top: 8px;
}

/* STATUS & BARRE DE CHARGEMENT */
.loading-status {
    position: relative;
    top: -55px;          
    margin-top: 25px;    
    animation: slideIn 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; 
}

/* Conteneur externe de la barre (Fond bleu-gris foncé non transparent) */
.progress-container {
    width: 950px;         
    max-width: 92vw;      
    height: 28px;         
    background: #162032;  
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(30, 144, 255, 0.2);
}

/* Remplissage de la barre */
.progress-bar {
    height: 100%;
    width: 0%; 
    border-radius: 50px;
    background-color: #1E90FF;
    background-image: 
        linear-gradient(
            45deg, 
            rgba(255, 255, 255, 0.15) 25%, 
            transparent 25%, 
            transparent 50%, 
            rgba(255, 255, 255, 0.15) 50%, 
            rgba(255, 255, 255, 0.15) 75%, 
            transparent 75%, 
            transparent
        ),
        linear-gradient(90deg, #00BFFF, #1E90FF, #4169E1);
    background-size: 40px 40px, 100% 100%;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
    transition: width 0.4s ease;
    animation: progressMove 1.5s linear infinite;
}

/* Texte sous la barre */
.loading-status span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

/* TIPS */
.loading-tips {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 11;
    max-width: 800px;
    margin: auto;
    animation: slideIn 0.8s ease;
}

/* TEXTE FIXE DES ASTUCES (Le saviez vous) */
.loading-tips h3 {
    color: #00BFFF; /* Couleur modifiée vers le bleu de la charte graphique */
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

/* BOX ANIMÉE DES ASTUCES (Même thème bleu-gris et bleu) */
.tip-content {
    margin-top: 12px;
    color: white;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 18px 35px;
    background: rgba(22, 32, 50, 0.85); /* Même fond bleu-gris sombre que la barre (avec opacité) */
    border-radius: 15px;
    border: 1px solid rgba(30, 144, 255, 0.35); /* Bordure bleue translucide */
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5),
                0 0 15px rgba(30, 144, 255, 0.15); /* Légère lueur bleue */
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: inline-block;
    transition: all 0.3s ease;
}

/* PARTICULES (Couleur adaptée au thème bleu) */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(30, 144, 255, 0.6); /* Changement de l'orange vers le bleu */
    border-radius: 50%;
    animation: float 12s linear infinite;
}

/* MUSIC CONTROLS */
.music-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 144, 255, 0.2); /* Changement vers le bleu */
    border: 2px solid rgba(30, 144, 255, 0.5); /* Changement vers le bleu */
    color: white;
    cursor: pointer;
}