/* ====== CLASSEMENT JEUX (Poker / Roulette / autres) ====== */

#jeux-root {
    max-width: 90%;
    margin: 20px auto;
    padding: 15px;
    background: #212121;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
}

/* Conteneur principal */
.jeux-ranking {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Bloc niveau */
.jeux-ranking-level {
    border: 1px solid #444;
    border-radius: 10px;
    padding: 10px;
    min-width: 240px;
    background: #1f1f1f;
}

/* Titre niveau */
.jeux-ranking-level .label-titre-span {
    display: block;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #0ff;
	animation:glow 3s infinite
	
}

/* Liste */
.jeux-ranking-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Entrée joueur */
.jeux-ranking-entry {
    padding: 6px 8px;
    border-radius: 6px;
    background: #181818;
    font-size: 0.9rem;
}

.jeux-ranking-entry span {
    display: block;
}

/* Rang */
.jeux-rank {
    font-size: 1.1em;
    margin-bottom: 2px;
}

/* Joueur */
.jeux-player {
    font-weight: bold;
	line-height: 20px;
}

/* Infos */
.jeux-infos {
    line-height: 20px;
}

.jeux-infos span {
    color: lightgreen;
	display: inline-block;
}

.jeux-infos-date {
	margin-top: 8px;
    line-height: 20px;
	font-size: 12px;
}

.jeux-infos-date span {
    color: lightgreen;
	display: inline-block;
}

/* Highlight joueur connecté */
.jeux-ranking-entry.jeux-highlight {
    background: #121212;
    font-weight: bold;
}

.jeux-ranking-entry.jeux-highlight .jeux-player {
    color: #f2af70;
}

@keyframes glow{0%{box-shadow:0 0 5px #0ff}50%{box-shadow:0 0 40px #0ff}100%{box-shadow:0 0 5px #0ff}}

/* Mobile */
@media (max-width: 800px){
    .bouton-trier {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 500px){
    .jeux-ranking {
        flex-direction: column;
    }
}
