/* ==========================================================================
   jeux_video.css — Hub Jeux Vidéo
   Thème : dashboard moderne dark, néons violet et cyan
   ========================================================================== */

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

body {
    font-family: 'Outfit', 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.65;
    color: #e6e8ef;
    background: #0a0a14;
    background-image:
        radial-gradient(ellipse at 15% 0%, rgba(108, 30, 209, .35) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(0, 217, 255, .25) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a14 0%, #12101e 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.jv-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 22px 60px;
    position: relative;
}

.back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: #00d9ff;
    text-decoration: none;
    font-size: 0.9em;
    border-bottom: 1px solid rgba(0, 217, 255, .4);
    padding-bottom: 1px;
    letter-spacing: 0.5px;
}
.back-link:hover { color: #6c1ed1; border-color: #6c1ed1; }

/* HERO ====================================================================== */
.jv-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(108, 30, 209, .85) 0%, rgba(0, 217, 255, .8) 100%),
        repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,.05) 20px 21px);
    padding: 70px 40px;
    border-radius: 24px;
    margin-bottom: 42px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(108, 30, 209, .4),
                0 0 0 1px rgba(255, 255, 255, .08) inset;
}

.jv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.18) 0%, transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(0,0,0,.25) 0%, transparent 40%);
    pointer-events: none;
}

.jv-hero h1 {
    position: relative;
    font-size: 3.8em;
    font-weight: 800;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .4);
    line-height: 1;
}

.jv-hero h1 .accent {
    background: linear-gradient(90deg, #ffe066, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jv-hero .tagline {
    position: relative;
    font-size: 1.25em;
    color: rgba(255, 255, 255, .92);
    font-weight: 300;
    max-width: 720px;
}

.jv-hero .meta {
    position: relative;
    display: flex;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.jv-hero .meta-pill {
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.92em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, .15);
}

/* SECTIONS ================================================================== */
.section {
    background: rgba(20, 18, 36, .6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 30, 209, .25);
    border-radius: 18px;
    padding: 32px 36px;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.section h2 {
    font-size: 1.7em;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    position: relative;
    padding-left: 18px;
    letter-spacing: -0.5px;
}
.section h2::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 5px;
    background: linear-gradient(180deg, #6c1ed1, #00d9ff);
    border-radius: 5px;
}

.section h3 {
    font-size: 1.18em;
    color: #00d9ff;
    margin: 20px 0 8px;
    font-weight: 600;
}

.section p { margin-bottom: 12px; color: #c8ccd8; }
.section ul, .section ol { margin: 10px 0 14px 26px; }
.section li { margin-bottom: 7px; color: #c8ccd8; }
.section strong { color: #fff; font-weight: 600; }
.section em { color: #ffe066; font-style: italic; }

/* HUB GRID ================================================================== */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.hub-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 16px;
    padding: 32px 26px;
    overflow: hidden;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 180px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08);
}

.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

.hub-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}

.hub-card .hc-icon {
    font-size: 2.6em;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
}

.hub-card .hc-title {
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
    display: block;
}

.hub-card .hc-desc {
    font-size: 0.9em;
    opacity: 0.88;
    font-weight: 400;
    display: block;
}

.hc-arcade   { background: linear-gradient(135deg, #ff004c, #6f00ff); }
.hc-consoles { background: linear-gradient(135deg, #003eff, #00d9ff); }
.hc-esport   { background: linear-gradient(135deg, #18122B, #6c1ed1 70%, #00ff88); }
.hc-retro    { background: linear-gradient(135deg, #d77a3a, #c24a1f); }

/* TIMELINE ================================================================== */
.timeline {
    position: relative;
    margin: 22px 0;
    padding-left: 32px;
    border-left: 2px solid rgba(108, 30, 209, .35);
}
.timeline-event {
    position: relative;
    padding-bottom: 18px;
}
.timeline-event::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 6px;
    width: 14px; height: 14px;
    background: #00d9ff;
    border: 3px solid #0a0a14;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 217, 255, .6);
}
.timeline-event .date {
    display: inline-block;
    font-weight: 700;
    color: #00d9ff;
    background: rgba(0, 217, 255, .1);
    padding: 1px 10px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 0.92em;
}

/* GENRES GRID =============================================================== */
.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.genre-card {
    background: rgba(108, 30, 209, .12);
    border: 1px solid rgba(108, 30, 209, .35);
    border-radius: 10px;
    padding: 14px 16px;
}
.genre-card h4 {
    color: #fff;
    font-size: 1em;
    margin-bottom: 4px;
}
.genre-card p {
    font-size: 0.85em;
    color: #a8acb8;
    margin: 0;
}

/* STATS BAR ================================================================= */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 16px 0 10px;
}
.stat-box {
    background: linear-gradient(135deg, rgba(108, 30, 209, .25), rgba(0, 217, 255, .15));
    border: 1px solid rgba(0, 217, 255, .3);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}
.stat-box .stat-value {
    font-size: 2em;
    font-weight: 800;
    background: linear-gradient(90deg, #00d9ff, #ffe066);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-box .stat-label {
    font-size: 0.85em;
    color: #c8ccd8;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* TABLE ===================================================================== */
.section table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 0.93em;
    background: rgba(0, 0, 0, .25);
    border-radius: 10px;
    overflow: hidden;
}
.section th {
    background: rgba(108, 30, 209, .35);
    color: #fff;
    padding: 11px 14px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.section td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: #c8ccd8;
}
.section tr:last-child td { border-bottom: none; }
.section tr:hover td { background: rgba(108, 30, 209, .08); }

/* RESPONSIVE ================================================================ */
@media (max-width: 700px) {
    .jv-hero h1 { font-size: 2.5em; }
    .jv-hero { padding: 44px 24px; }
    .section { padding: 22px 20px; }
    .section h2 { font-size: 1.4em; }
}
