:root {
    --km1-color: #ff00ea;
    --km2-color: #ff3c3c;
    --km3-color: #00d4ff;
    --gold: #facc15;
}

body { background: #05070a; color: white; font-family: 'Kanit', sans-serif; margin: 0; overflow-x: hidden; }
.bg-grid { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 30px 30px; z-index: -1; }

/* PUISSANCE GLOBALE */
.global-stats-container { display: flex; justify-content: center; padding: 30px 0; }
.power-display { text-align: center; background: rgba(20,25,45,0.9); padding: 20px 50px; border-radius: 30px; border: 2px solid var(--gold); box-shadow: 0 0 20px rgba(250, 204, 21, 0.2); }
.power-value { font-size: 4rem; font-weight: 900; color: var(--gold); text-shadow: 0 0 15px rgba(250, 204, 21, 0.4); }
.power-bar-bg { width: 100%; height: 8px; background: #000; border-radius: 10px; margin-top: 10px; }
.power-bar-fill { height: 100%; width: 0%; background: var(--gold); border-radius: 10px; transition: 2s ease; }

/* TICKER CLASSEMENT */
.ticker-container { overflow: hidden; white-space: nowrap; background: rgba(255,255,255,0.03); padding: 15px 0; border-radius: 15px; }
.ticker-wrapper { display: inline-flex; animation: scroll-left 25s linear infinite; }
.ticker-wrapper:hover { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* COLONNES CLANS */
.clan-wrapper { display: flex; justify-content: center; gap: 20px; padding: 20px; }
.clan-column { flex: 1; min-width: 320px; background: rgba(20, 25, 45, 0.7); padding: 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }

/* TITRES NÉON */
.clan-title { font-size: 3.5rem; font-weight: 900; text-align: center; margin: 0; }
.km1-neon { color: #fff; text-shadow: 0 0 15px var(--km1-color), 0 0 30px var(--km1-color); }
.km2-neon { color: #fff; text-shadow: 0 0 15px var(--km2-color), 0 0 30px var(--km2-color); }
.km3-neon { color: #fff; text-shadow: 0 0 15px var(--km3-color), 0 0 30px var(--km3-color); }

/* CARTES JOUEURS CLIQUABLES */
.player-link { text-decoration: none; color: inherit; display: block; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 12px; margin-bottom: 10px; transition: 0.2s; border: 1px solid transparent; }
.player-link:hover { transform: translateY(-3px); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }

.rank-badge { font-weight: 900; padding: 2px 8px; border-radius: 4px; background: #1e293b; margin-right: 8px; }
.top-1 { color: #facc15; } .top-2 { color: #cbd5e1; } .top-3 { color: #cd7f32; }

.player-bar-container { background: #000; height: 8px; border-radius: 10px; margin: 10px 0; overflow: hidden; }
.player-bar { height: 100%; transition: width 1s ease; }