@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Logo EGA en haut à gauche */
.logo-ega {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 100;
}

.logo-ega h2 {
    font-size: 80px;
    font-weight: 800;
    color: #d12c2c;
    text-shadow: 0 0 10px rgba(209, 44, 44, 0.7);
    letter-spacing: 5px;
    position: relative;
    overflow: hidden;
    animation: logoGlow 4s infinite;
}

@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(209, 44, 44, 0.7); }
    50% { text-shadow: 0 0 20px rgba(255, 0, 0, 0.9); }
}

.logo-slice {
    position: absolute;
    background-color: #000;
    width: 100%;
    height: 33%;
    left: 0;
    transform: translateX(-101%);
}

.logo-slice-1 {
    top: 0;
}

.logo-slice-2 {
    top: 33%;
}

.logo-slice-3 {
    top: 66%;
}

/* Conteneur principal pour l'effet de caméra */
.camera-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Couches d'images */
.image-layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transition: opacity 2s ease-in-out;
    opacity: 0;
    filter: brightness(0.7);
}

.image-layer.active {
    opacity: 1;
}

/* Conteneur du contenu central */
.content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 80%;
    max-width: 700px;
    text-align: center;
}

/* Titre avec effet de découpage */
.title-container {
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
    padding: 20px 0;
}

.title {
    font-size: 4rem;
    letter-spacing: 5px;
    position: relative;
    color: #d12c2c;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transform: translateY(0);
    animation: titlePulse 4s infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 0, 0, 0.8); }
}

.title-slice {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    top: 0;
    transform: translateX(-100%);
}

/* Barre de chargement avec effet */
.loading-bar-container {
    position: relative;
    height: 6px;
    background-color: rgba(50, 50, 50, 0.7);
    overflow: hidden;
    border-radius: 3px;
    margin-bottom: 20px;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8B0000, #d12c2c);
    transition: width 0.3s ease-out;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(209, 44, 44, 0.7);
}

.loading-text {
    font-size: 1.5rem;
    margin-top: 15px;
    opacity: 0.8;
    color: #d12c2c;
}

/* Effet de particules flottantes */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float linear infinite;
}


            .logo-container {
        position: relative;
        overflow: hidden;
    }

    .logo-image {
        height: 150px; 
        display: block;
    }


@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}


        /* Animation de pulsation pour le logo */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }

        .logo-image {
            animation: pulse 2s ease-in-out infinite;
        }

        /* Assurez-vous que le conteneur du logo ne soit pas affecté par l'animation */
        .logo-container {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1000;
        }

        /* Style de base pour l'image du logo */
        .logo-image {
            width: 150px;
            height: auto;
            display: block;
        }


/* Animation de vapeur */
.steam {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    animation: steamRise 8s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes steamRise {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(-20px); }
}