body { font-family: 'Poppins', sans-serif; }

/* ── BREADCRUMB ── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.breadcrumb-nav a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: #252F52; }
.breadcrumb-nav i.sep { font-size: 0.55rem; opacity: 0.4; }
.breadcrumb-nav .current { color: #252F52; font-weight: 600; }
[data-theme="dark"] .breadcrumb-nav a:hover  { color: #60a5fa; }
[data-theme="dark"] .breadcrumb-nav .current { color: #60a5fa; }

/* ── HERO ── */
.jeux-hero {
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37,47,82,0.08);
    color: #252F52;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}
[data-theme="dark"] .hero-badge {
    background: rgba(96,165,250,0.12);
    color: #60a5fa;
}
.jeux-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #212529;
    line-height: 1.15;
    margin-bottom: 1rem;
}
[data-theme="dark"] .jeux-hero h1 { color: #f1f5f9; }
.jeux-hero .lead {
    font-size: 1rem;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── HOW TO ── */
.how-strip {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.8rem 2rem;
    margin-bottom: 3.5rem;
}
[data-theme="dark"] .how-strip { background: #161b2e; }
.how-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #252F52;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
[data-theme="dark"] .how-title { color: #60a5fa; }
.how-title::after { content: ''; flex: 1; height: 1px; background: #dee2e6; }
[data-theme="dark"] .how-title::after { background: #2d3748; }
.how-step {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}
.how-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #252F52;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
[data-theme="dark"] .how-num { background: #4a6cf7; }
.how-step h5 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #212529;
}
[data-theme="dark"] .how-step h5 { color: #f1f5f9; }
.how-step p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* ── SECTION LABEL ── */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.section-label h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #212529;
    white-space: nowrap;
}
[data-theme="dark"] .section-label h2 { color: #f1f5f9; }
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dee2e6;
}
[data-theme="dark"] .section-label::after { background: #2d3748; }

/* ── GAME CARD ── */
.game-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    border-left: 4px solid #252F52;
    display: flex;
    flex-direction: column;
}
[data-theme="dark"] .game-card {
    background: #161b2e;
    border-left-color: #4a6cf7;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37,47,82,0.12);
}
[data-theme="dark"] .game-card:hover {
    box-shadow: 0 12px 30px rgba(74,108,247,0.15);
}
.game-card.c-api   { border-left-color: #fd7e14; }
.game-card.c-other { border-left-color: #198754; }
[data-theme="dark"] .game-card.c-api   { border-left-color: #fb923c; }
[data-theme="dark"] .game-card.c-other { border-left-color: #20c997; }

.game-emoji {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    display: block;
    line-height: 1;
}
.game-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.35rem;
}
[data-theme="dark"] .game-card h3 { color: #f1f5f9; }
.game-desc {
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}
[data-theme="dark"] .game-desc { color: #94a3b8; }

.game-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.game-cmd {
    display: inline-block;
    background: rgba(37,47,82,0.08);
    color: #252F52;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 700;
}
[data-theme="dark"] .game-cmd {
    background: rgba(74,108,247,0.15);
    color: #93c5fd;
}
.game-card.c-api .game-cmd {
    background: rgba(253,126,20,0.1);
    color: #c96000;
}
[data-theme="dark"] .game-card.c-api .game-cmd {
    background: rgba(251,146,60,0.15);
    color: #fb923c;
}
.game-card.c-other .game-cmd {
    background: rgba(25,135,84,0.1);
    color: #198754;
}
[data-theme="dark"] .game-card.c-other .game-cmd {
    background: rgba(32,201,151,0.15);
    color: #34d399;
}

/* badges */
.gtag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 50px;
    padding: 0.18rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
}
.gtag-solo {
    background: rgba(37,47,82,0.07);
    color: #252F52;
}
[data-theme="dark"] .gtag-solo {
    background: rgba(96,165,250,0.12);
    color: #93c5fd;
}
.gtag-multi {
    background: rgba(25,135,84,0.1);
    color: #198754;
}
[data-theme="dark"] .gtag-multi {
    background: rgba(32,201,151,0.12);
    color: #34d399;
}
.gtag-api {
    background: rgba(253,126,20,0.1);
    color: #c96000;
}
[data-theme="dark"] .gtag-api {
    background: rgba(251,146,60,0.15);
    color: #fb923c;
}

/* ── FEATURED ── */
.game-card.game-featured {
    background: linear-gradient(135deg, #252F52 0%, #1a2040 100%);
    border-left-color: #4a6cf7;
    box-shadow: 0 8px 30px rgba(37,47,82,0.2);
}
.game-card.game-featured:hover {
    box-shadow: 0 16px 40px rgba(37,47,82,0.3);
}
.game-card.game-featured h3      { color: #fff; }
.game-card.game-featured .game-desc { color: rgba(255,255,255,0.6); }
.game-card.game-featured .game-cmd {
    background: rgba(255,255,255,0.12);
    color: #a5b4fc;
}
.game-card.game-featured .gtag-solo {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
}

/* ── CTA ── */
.jeux-cta {
    background: linear-gradient(135deg, #252F52 0%, #3a4a7a 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}
.jeux-cta h3 {
    font-weight: 800;
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.jeux-cta p  { opacity: 0.75; margin-bottom: 1.5rem; max-width: 440px; margin-left:auto; margin-right:auto; }
.btn-sky {
    background: white;
    color: #252F52;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-sky:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #252F52;
    text-decoration: none;
}