/*
Theme Name: Joue et Gagne
Theme URI: https://gboro.com
Author: TK
Description: Thème sur mesure pour gboro — fond bleu nuit, accent doré, direction visuelle validée pour le projet.
Version: 1.0
*/

:root {
    --bg: #10112b;
    --surface: #191a3d;
    --surface-2: #22234f;
    --gold: #f4b740;
    --teal: #2bd9a6;
    --red: #ff6b6b;
    --text: #f2f0f7;
    --muted: #9491b8;
    --line: #2e2f5c;
}
[data-theme="light"] {
    --bg: #f4f5fb;
    --surface: #ffffff;
    --surface-2: #eef0fa;
    --gold: #dc9a1f;
    --teal: #149e79;
    --red: #e2483f;
    --text: #181933;
    --muted: #63628a;
    --line: #dcdeef;
}

* { box-sizing: border-box; }

body {
    background: radial-gradient(1200px 600px at 80% -10%, var(--surface) 0%, var(--bg) 55%);
    color: var(--text);
    transition: background 0.25s ease, color 0.25s ease;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* En-tête */
.rg-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 12px;
}
.rg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text);
}
.rg-logo:hover { text-decoration: none; }
.rg-bars { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.rg-bars span { width: 4px; background: var(--gold); border-radius: 1px; display: block; }
.rg-bars span:nth-child(1) { height: 35%; }
.rg-bars span:nth-child(2) { height: 60%; }
.rg-bars span:nth-child(3) { height: 80%; }
.rg-bars span:nth-child(4) { height: 100%; background: var(--teal); }

.rg-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rg-nav a {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}
.rg-nav a:hover { color: var(--text); text-decoration: none; }
.rg-nav a.rg-nav-cta {
    background: var(--gold);
    color: #10112b;
    padding: 8px 16px;
    border-radius: 100px;
}
.rg-lang-switch {
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: 6px;
}
.rg-lang-switch a { color: var(--muted); font-weight: 700; }
.rg-lang-switch a:hover { color: var(--gold); }
.rg-theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Contenu principal */
.rg-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Page d'accueil */
.rg-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.rg-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}
.rg-hero p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 28px;
}
.rg-hero-cta {
    display: inline-block;
    background: var(--gold);
    color: #10112b;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
}
.rg-hero-cta:hover { text-decoration: none; opacity: 0.92; }

/* Pied de page */
.rg-site-footer {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--line);
    margin-top: 40px;
}

/* Titre de page générique (pages sans shortcode dédié, ex : Mentions légales) */
.rg-page-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 720px;
}
.rg-page-content {
    max-width: 720px;
    color: var(--text);
    line-height: 1.7;
    font-size: 0.92rem;
}
.rg-page-content a { color: var(--gold); }
