/* Style général futuriste */
body {
    background: linear-gradient(135deg, #1a1a2e, #16213e); /* Fond principal */
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

/* Lanières diagonales fixes avec un effet de flux à l'intérieur */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        240deg, /* 240° pour un flux haut droite -> bas gauche */
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(0, 255, 255, 0.05) 10%, 
        transparent 20%
    );
    background-size: 200px 150px; /* Taille plus fine des lanières */
    mask-image: linear-gradient(240deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0)); /* Effet dégradé */
    -webkit-mask-image: linear-gradient(240deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0));
    animation: internalFlow 9s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* Effet d'écoulement à l'intérieur des lanières */
@keyframes internalFlow {
    from { background-position: 0% 0%; }
    to { background-position: -50% 50%; }
}

/* Effet Néon sur le titre */
.neon-text {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #00f;
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    from { opacity: 1; }
    to { opacity: 0.8; }
}

/* Styles pour les cartes de jeux */
.games {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    width: 90%;
    max-width: 300px;
}

.game-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 1);
}

/* Effet glitch sur le texte */
.glitch {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    animation: glitch 0.5s infinite alternate;
}

@keyframes glitch {
    0% { text-shadow: -2px -2px 5px #ff00ff, 2px 2px 5px #00ffff; }
    100% { text-shadow: 2px -2px 5px #ff00ff, -2px 2px 5px #00ffff; }
}

/* Animation de survol */
.hover-effect {
    transform: scale(1.05);
    box-shadow: 0 0 15px #0ff;
}

/* Footer fixe et stylisé */
footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #0ff;
    box-shadow: 0 -2px 10px rgba(0, 255, 255, 0.5);
}

/* Adaptabilité pour mobile */
@media (max-width: 768px) {
    .neon-text {
        font-size: 2rem;
    }
    .games {
        flex-direction: column;
        align-items: center;
    }
    .game-card {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .neon-text {
        font-size: 1.8rem;
    }
}