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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-logo img {
    width: 500px;
    opacity: 60;
    animation: popIn 1s ease forwards, rotateHalf 50s ease-out forwards;
}

/* Effet de rebond avec scaling pour le logo principal */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5); }
    60% { opacity: 1; transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Rotation lente continue */
@keyframes rotateMain {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Positionnement des logos de jeux */
.game-logos {
    position: absolute;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

.game-logo {
    width: 200px;
    opacity: 0;
    animation: bounceIn 2s ease-out forwards, float 3s ease-in-out infinite;
}

/* Animation de rebond et d’apparition */
@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(-50px) scale(0.5); }
    60% { opacity: 1; transform: translateY(10px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

/* Animation de flottement subtile */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Position spécifique des logos autour */
.minecraft {
    position: absolute;
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.gta {
    position: absolute;
    top: 15%;
    right: 20%;
    animation-delay: 1s;
}

.rust {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}
