/* Corps de la page */
body {
    background: url("../img/digital_sea.png") no-repeat center center fixed;
    background-size: cover;
    font-family: 'Orbitron', sans-serif; /* Police principale */
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header avec flou */
.header-container {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    backdrop-filter: blur(8px); /* Flou renforcé */
    background-color: rgba(0, 0, 0, 0.2); /* Très légère opacité sombre */
}

/* Logo */
.logo {
    max-width: 150px;
    margin: 20px auto;
    display: block;
}

/* Texte avec halo lumineux */
h1 {
    font-family: 'Lucida Console', monospace;
    font-size: 36px;
    color: #ff79c6;
    text-shadow: 
        0 0 10px #ff79c6,
        0 0 20px #ff79c6,
        0 0 30px #ff79c6;
}

.subtitle {
    font-size: 18px;
    color: #cccccc;
    text-shadow: 
        0 0 5px #00d4ff,
        0 0 10px #00d4ff;
}

/* Surcouche sombre derrière le texte */
.text-overlay {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Surcouche sombre transparente */
    border-radius: 15px;
    box-shadow: 0 0 10px #ff79c6; /* Effet futuriste */
}

/* Navbar */
.navbar {
    background-color: rgba(20, 30, 48, 0.9); /* Fond sombre transparent */
    padding: 10px 0;
    box-shadow: 0 0 10px 2px #ff79c6; /* Ombre lumineuse */
    position: sticky; /* Fixe la navbar en haut de l'écran */
    top: 0;
    z-index: 10; /* Toujours au-dessus */
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #00ffff; /* Couleur cyan lumineuse */
    text-decoration: none;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00d4ff; /* Halo lumineux */
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: #ff79c6; /* Couleur rose au survol */
    text-shadow: 0 0 10px #ff79c6, 0 0 20px #ff79c6;
    transform: scale(1.1); /* Effet de mise en avant */
}

/* Boîtes */
.box {
    margin: 30px auto;
    padding: 20px;
    max-width: 900px;
    background-color: rgba(40, 40, 60, 0.9);
    border-radius: 20px;
    border: 3px solid #ff79c6;
    box-shadow: 0 0 20px 5px #ff79c6;
}

/* Titres des sections */
h2 {
    font-family: 'Lucida Console', monospace;
    color: #00d4ff;
    text-align: center;
    text-shadow: 0px 0px 10px #00d4ff, 0px 0px 20px #009ec5;
}

/* Grille des contenus */
.content-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

/* Contenus individuels */
.content-item {
    background-color: rgba(60, 60, 90, 0.9);
    padding: 15px;
    border-radius: 10px;
    flex: 1;
    text-align: left;
    box-shadow: 0 0 10px 2px #00d4ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px 3px #ff79c6;
}

.content-icon {
    max-width: 50px;
    display: block;
    margin: 10px auto;
}

/* Logos des jeux */
.game-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.game-logo {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease; /* Supprime le halo */
    border-radius: 10px; /* Coins légèrement arrondis */
}

.game-logo:hover {
    transform: scale(1.1); /* Effet d'agrandissement au survol */
}

/* Liens dans les sections (ex. À propos) */
.box a {
    color: #00ffff; /* Couleur cyan lumineuse */
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00d4ff; /* Halo lumineux */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.box a:hover {
    color: #ff79c6; /* Couleur rose au survol */
    text-shadow: 0 0 10px #ff79c6, 0 0 20px #ff79c6; /* Halo lumineux au survol */
}

/* Liens spécifiques pour les emails */
.box a[href^="mailto:"] {
    color: #00ffcc; /* Couleur légèrement différente pour les emails */
}

.box a[href^="mailto:"]:hover {
    color: #ff79c6; /* Rose lumineux au survol */
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        flex-direction: column;
        align-items: center;
    }

    .content-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar li {
        margin: 10px 0;
    }
}
