:root {
    --bg: #0b0b0f;
    --bg-panel: #16161c;
    --bg-panel-border: #2a2a33;
    --text: #f2f2f4;
    --text-muted: #a6a6b0;
    --accent: #40c8dc;
    --accent-amber: #f0a830;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- En-tete --- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-header__emblem {
    width: 32px;
    height: 32px;
}

.site-header__name {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lang-switch a.is-active {
    color: var(--accent);
    font-weight: 600;
}

.lang-switch a:hover {
    color: var(--text);
}

/* --- Hero --- */

.hero {
    text-align: center;
    padding: clamp(3rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 6vw, 4rem);
}

.hero__logo {
    max-width: min(420px, 80vw);
    margin: 0 auto 2rem;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.hero__tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    max-width: 40ch;
    margin: 0 auto;
}

/* --- Sections generiques --- */

main section {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 2rem);
}

main section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about {
    text-align: center;
}

.about p {
    color: var(--text-muted);
    max-width: 62ch;
    margin: 0 auto;
}

/* --- Jeux --- */

.games h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.game-card {
    background: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.game-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.game-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.game-card p {
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.game-card__status {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-amber);
    border: 1px solid var(--accent-amber);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}

/* --- Pied de page --- */

.site-footer {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
