/* === style.css === */
:root {
    --bg-main: #0f172a;
    --bg-panel: #1e293b;
    --bg-card: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-gold: #fbbf24;
    --accent-silver: #e2e8f0; 
    --accent-bronze: #d97706; 
    --border-color: #475569;
}

body { 
    font-family: 'Segoe UI', system-ui, sans-serif; 
    padding: 20px; 
    margin: 0; 
    background-color: var(--bg-main); 
    color: var(--text-main); 
}

/* En-tête */
.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    border-bottom: 2px solid var(--border-color); 
    padding-bottom: 10px; 
}

.title-container { display: flex; align-items: center; gap: 20px; }
.header-logo { height: 50px; object-fit: contain; }
.header h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* Boutons */
button { 
    font-family: inherit; 
    font-weight: bold; 
    cursor: pointer; 
    border: none; 
    border-radius: 6px; 
    padding: 10px 16px; 
    transition: all 0.2s; 
    color: white; 
}
button:hover { filter: brightness(1.1); transform: scale(1.02); }
.btn-blue { background: var(--accent-blue); }
.btn-green { background: var(--accent-green); }
.btn-red { background: var(--accent-red); }
.btn-gray { background: #64748b; }

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
    body { padding: 10px; }
    
    .header { flex-direction: column; gap: 10px; text-align: center; }
    .title-container { justify-content: center; width: 100%; }
    .header h1 { font-size: 24px; }
    .header-logo { height: 40px; }
    
    .top-dashboard, .leaderboards { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px;
    }
    
    .panel { min-height: auto !important; height: auto !important; }
    .liste-scrollable { max-height: 400px; overflow-y: auto; }
}