/* ============================================================
   Contient tous les élements nécessaires aux différents menus
   ============================================================ */

/* ============================================================
   RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================================
   BODY & GLOBAL
   ============================================================ */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1b2b3b 0%, #050811 60%, #020308 100%);
    color: #e9f3ff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   HEADER
   ============================================================ */
.tl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: #0b1c2b;
    border-bottom: 1px solid #1f3a4f;
}

.tl-logo {
    font-family: "Press Start 2P", monospace;
    font-size: 14px;
    color: #00e5ff;
    letter-spacing: 2px;
}

.tl-nav a {
    color: #cfe7ff;
    text-decoration: none;
    margin-left: 16px;
    font-size: 14px;
}

.tl-nav a.active {
    color: #00e5ff;
}

.tl-nav a:hover {
    color: #ffffff;
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */
.hub-container {
    flex: 1;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ============================================================
   INTRO
   ============================================================ */
.hub-intro {
    text-align: center;
    margin-bottom: 32px;
}

.hub-intro h1 {
    font-family: "Press Start 2P", monospace;
    font-size: 20px;
    margin-bottom: 12px;
    color: #00e5ff;
}

.hub-intro p {
    font-size: 15px;
    color: #cfe7ff;
}

/* ============================================================
   GRID
   ============================================================ */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* ============================================================
   CARDS
   ============================================================ */
.hub-card {
    background: rgba(5, 12, 24, 0.9);
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #1f3a4f;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.hub-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.hub-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.hub-card p {
    font-size: 14px;
    color: #cfe7ff;
    margin-bottom: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.hub-button {
    margin-top: auto;
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* ARCADE */
.hub-arcade {
    border-color: #00e5ff;
}
.hub-arcade::before {
    background: radial-gradient(circle at top left, #00e5ff 0%, transparent 60%);
}
.hub-arcade .hub-button {
    background: linear-gradient(135deg, #00e5ff, #ff00ff);
    color: #050811;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

/* RÉFLEXION */
.hub-reflexion {
    border-color: #7fd0ff;
}
.hub-reflexion::before {
    background: radial-gradient(circle at top, #7fd0ff 0%, transparent 60%);
}
.hub-reflexion .hub-button {
    background: linear-gradient(135deg, #7fd0ff, #ffffff);
    color: #041019;
    box-shadow: 0 0 10px rgba(127, 208, 255, 0.5);
}

/* RPG */
.hub-rpg {
    border-color: #e0a15a;
}
.hub-rpg::before {
    background: radial-gradient(circle at top right, #e0a15a 0%, transparent 60%);
}
.hub-rpg .hub-button {
    background: linear-gradient(135deg, #e0a15a, #7b3b1f);
    color: #050811;
    box-shadow: 0 0 10px rgba(224, 161, 90, 0.6);
}

/* Hover */
.hub-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   RESPONSIVE — ORIENTATION
   ============================================================ */

/* PORTRAIT */
@media (orientation: portrait) {
    .hub-container {
        margin-top: 40px;
        padding-bottom: 40px;
    }

    .hub-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hub-card {
        padding: 22px;
        min-height: 220px;
    }

    .hub-card h2 {
        font-size: 16px;
    }

    .hub-icon {
        font-size: 26px;
    }
}

/* LANDSCAPE */
@media (orientation: landscape) {
    .hub-container {
        margin-top: 10px;
        padding-bottom: 20px;
    }

    .hub-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .hub-card {
        padding: 16px;
        min-height: 180px;
    }

    .hub-card h2 {
        font-size: 18px;
    }

    .hub-icon {
        font-size: 32px;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.tl-footer {
    text-align: center;
    padding: 16px;
    font-size: 13px;
    color: #7fa0c0;
    border-top: 1px solid #1f3a4f;
    background: #050811;
}


/* ================================
   SELECTION LANGUE
   ================================ */
.lang-switch {
    margin-left: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    color: #cfe7ff;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.lang-switch a.active {
    color: #00e5ff;
    font-weight: 600;
}

.lang-switch a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #00e5ff;
}


.tl-user {
    font-family: "Press Start 2P", monospace;
    font-size: 12px;
    color: #00e0ff;
    margin-left: 20px;
    margin-right: 20px;
    white-space: nowrap;
}

/* Cartes réservées aux membres RSL */
.role-rsl {
    display: none;
}
/* Cartes cachees*/
.hidden-game{
    display: none;
}