/* Styles globaux */
body {
    background-image: url('../images/wall4.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: #FFF;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


header {
    background: rgba(27, 59, 112, 0.8);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
    width: 90%;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px rgba(240, 165, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Logo Gameocracy */
.logo-container {
    position: relative;
    display: inline-block;
    float: left;
}

.banner-logo {
    width: 245px; /* Taille modifiée à 200px pour le logo Gameocracy */
    height: auto;
    transition: transform 0.3s ease;
    z-index: 1;
}

.logo-container:hover .banner-logo {
    transform: scale(1.3); /* Agrandissement x1.3 au survol */
}

/* Bouton Discord */
.banner-discord {
    width: 135px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a img.banner-discord:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.8);
}

.discord-call-to-action {
    color: #FFF;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    transition: color 0.3s ease;
}

a:hover .discord-call-to-action {
    color: #7289da;
}

/* Contenu principal */
.content {
    padding-top: 180px;
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trois colonnes de taille égale */
    gap: 30px; /* Espacement entre les éléments */
    justify-items: center; /* Centre les éléments dans chaque cellule */
    margin: 20px auto; /* Centrer la grille dans la page */
}

.game-logo, .text-frame {
    position: relative;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 0 15px 10px rgba(114, 137, 218, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    width: 340px;
    z-index: 1;
    transition: transform 0.3s, z-index 0.3s, box-shadow 0.3s;
}

.game-logo {
    height: 200px;
    margin-bottom: -10px;
}

.text-frame {
    min-height: 80px;
    margin-top: 30px;
    color: #B0B0B0;
}

.game-logo img {
    width: 100%; /* Les images prendront toute la largeur du conteneur */
    max-width: 300px; /* Largeur maximale des images */
    height: auto; /* Préserve les proportions des images */
}

.game-logo:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.5);
}

.text-frame {
    text-align: center;
    margin-top: 10px;
    padding: 10px; /* Ajout de padding pour aérer les textes */
}

.text-frame p {
    margin: 0;
    font-size: 16px;
    text-align: center;
    padding: 5px;
}

/* Pied de page (footer) */
footer {
    background: rgba(27, 59, 112, 0.8);
    border-radius: 15px;
    padding: 15px;
    height: 75px; /* 50% de la hauteur de la bannière */
    width: 90%;
    margin: 50px auto 0 auto;
    box-shadow: 0 0 15px 5px rgba(240, 165, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        row-gap: 40px;
        justify-content: center;
    }

    .game-logo, .text-frame {
        width: 100%;
        height: auto;
    }

    .game-logo img, .text-frame p {
        width: 100%;
        height: auto;
    }
}
.logo-container {
    position: relative;
    display: inline-block;
    float: left;
}

.banner-logo {
    width: 245px; /* Taille modifiée à 245px */
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.logo-container:hover .banner-logo {
    transform: scale(1.3); /* Agrandissement x1.3 au survol */
}

/* Halo lumineux doré autour du logo */
.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;  /* Taille maintenue */
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 240, 0.9), rgba(255, 255, 240, 0.6), rgba(255, 223, 186, 0.4), transparent); /* Lumière naturelle dorée et blanche */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(30px); /* Flou ajusté pour un effet lumineux doux */
    opacity: 1; /* Brillance maximale */
}

.banner-logo {
    position: relative;
    z-index: 1; /* Le logo doit rester au-dessus du halo */
}

/* Styles généraux pour les textes des jeux */
.game-text {
    font-size: 18px;
    color: #FFF;
}
/* Styles globaux */
body {
    background-image: url('../images/wall4.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: #FFF;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header, .content, footer {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}

/* Ajustement du style pour les images */
.game-logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px; /* Arrondi des coins pour les images */
}

/* Définition des positions fixes pour les cadres */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.game-logo, .text-frame {
    position: relative;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 0 15px 10px rgba(114, 137, 218, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    width: 340px;
    z-index: 1;
}

/* Empêcher le déplacement automatique des éléments */
.game-logo {
    height: 200px;
}

.text-frame {
    min-height: 80px;
    color: #B0B0B0;
}

/* Styles pour le footer */
footer {
    background: rgba(27, 59, 112, 0.8);
    border-radius: 15px;
    padding: 15px;
    height: 75px;
    box-shadow: 0 0 15px 5px rgba(240, 165, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .game-logo, .text-frame {
        width: 100%;
    }
}
