
/* ============== ACCUEIL : APPEL A L'ACTION DANS LE BANDEAU ==============
   Le bandeau mesurait 420 px et ne portait qu'un logo. L'adresse du serveur, son etat
   et le lien Discord y tiennent maintenant, donc sans avoir a faire defiler. */
.hero-actions {
    position: absolute;
    left: 0; right: 0;
    bottom: 54px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    text-align: center;
}
.hero-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hero-ip,
.hero-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

/* Meme habillage que le bouton « Jouer » : le bord plein donne le relief, la lueur
   pose le bouton sur le decor. */
.hero-ip {
    background: linear-gradient(180deg, #ffb845 0%, #f5a623 100%);
    color: #5a2e00;
    box-shadow: 0 3px 0 #b8650a, 0 6px 12px rgba(245, 166, 35, .25);
}
.hero-discord {
    background: linear-gradient(180deg, #6b76f7 0%, #5865f2 100%);
    color: #fff;
    box-shadow: 0 3px 0 #3a45c4, 0 6px 12px rgba(88, 101, 242, .25);
}
.hero-ip:hover,
.hero-discord:hover { transform: translateY(-1px); filter: brightness(1.05); }
.hero-ip:active { transform: translateY(1px); box-shadow: 0 1px 0 #b8650a; }
.hero-discord:active { transform: translateY(1px); box-shadow: 0 1px 0 #3a45c4; }

/* Le reflet qui balaie le bouton « Jouer », repris a l'identique. */
.hero-ip::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    animation: play-shine 3.4s ease-in-out infinite;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(10, 13, 20, .62);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
    color: #c9cedb;
    font-size: .9rem;
}
.hero-status strong { color: #fff; }
.hero-version {
    margin-left: 6px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .14);
    color: var(--text-muted);
}

/* La barre d'action mange le bas du bandeau : on remonte un peu le logo pour
   qu'ils ne se chevauchent pas. */
.banner:has(.hero-actions) .banner-logo { transform: translateY(-38px); }

@media (max-width: 720px) {
    .hero-actions { bottom: 24px; gap: 10px; }
        .hero-ip, .hero-discord { padding: 10px 16px; font-size: .92rem; }
    .banner:has(.hero-actions) .banner-logo { transform: translateY(-24px); }
}

/* ============== ACCUEIL : ACTUALITES ==============
   Les articles du site n'apparaissaient nulle part sur l'accueil. */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform .14s ease, border-color .14s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 166, 35, .45);
}
.news-image {
    display: block;
    height: 160px;
    background: var(--bg-card-2) center / cover no-repeat;
}
.news-body { padding: 18px 20px 20px; }
.news-meta {
    font-size: .78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.news-author { margin-left: 8px; }
.news-title { margin: 8px 0 10px; font-size: 1.1rem; line-height: 1.3; }
.news-title a { color: var(--text); text-decoration: none; }
.news-title a:hover { color: var(--orange-2); }
.news-excerpt {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.55;
}
.news-link {
    color: var(--orange);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}
.news-link:hover { color: var(--orange-2); }
.news-link i { transition: transform .12s ease; }
.news-link:hover i { transform: translateX(3px); }

/* Podium sans votant : une phrase plutot que trois silhouettes anonymes. */
.podium-vide {
    margin: 18px 0 6px;
    text-align: center;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.6;
}
.podium-vide span { color: var(--orange); font-weight: 600; }

/* Place du podium que personne n'occupe encore. */
.podium-libre { color: var(--text-dim); font-style: italic; }

/* ------------------------------------------------------------------------------
   Section « Débuter » — les étapes et la liste des commandes.

   Elle reprend la carte a deux colonnes de la section « Jouer » juste au-dessus :
   `join-section`, `join-text` et `join-panel` sont deja habilles par le theme, on
   n'ajoute que ce qui leur manque pour ce contenu-la.
   ------------------------------------------------------------------------------ */

.etapes {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.etape {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.etape-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .12);
    border: 1px solid rgba(245, 166, 35, .35);
    color: var(--orange-2, #ffb845);
    font-weight: 800;
    font-size: 15px;
}

.etape strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 2px;
}

.etape p {
    margin: 0;
    color: var(--text-muted, #7a8194);
    font-size: 13px;
    line-height: 1.5;
}

.etape code,
.commandes code {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    padding: 1px 6px;
    color: var(--orange-2, #ffb845);
    font-size: 12.5px;
}

.commandes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.commandes li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
}

.commandes li span {
    color: var(--text-muted, #7a8194);
    font-size: 12.5px;
    line-height: 1.4;
}

@media (max-width: 720px) {
    .commandes li {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
