/*
Theme Name: Gaming Hub - Jeux Vidéo
Author: Nebile Ferdinand
Version: 1.0
Description: Site simple sur les jeux vidéo
*/

/* ===== COULEURS ===== */
:root {
    --bg: #0a0e27;
    --bg-light: #1a1f3a;
    --accent: #9d4edd;
    --text: #ffffff;
    --text-grey: #b0b0b0;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

/* ===== HEADER ===== */
header {
    background-color: var(--bg-light);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent);
}

header h1 {
    font-size: 1.5rem;
    color: var(--accent);
}

/* ===== MENU ===== */
.menu ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.menu a {
    color: var(--text);
    text-decoration: none;
}

.menu a:hover {
    text-decoration: underline;
}

/* ===== CONTENU ===== */
#conteneur {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
}

/* ===== SECTIONS ===== */
section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent);
}

section h2 {
    margin-bottom: 1rem;
    color: var(--accent);
}

section p {
    color: var(--text-grey);
}

/* ===== BOUTONS ===== */
.conteneur-bouton {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.bouton {
    background-color: var(--bg-light);
    border: 1px solid var(--accent);
    padding: 1rem;
    cursor: pointer;
    borderradius: 5px;
    text-align: center;
}

.bouton:hover {
    background-color: #222;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--bg-light);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--accent);
}

footer h3 {
    margin-bottom: 1rem;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
    }

    header {
        flex-direction: column;
        gap: 1rem;
    }
}