body {
    background-color: #121212;
    color: #f1f1f1;
    font-family: Arial, sans-serif;
}

h1 {
    margin-bottom: 1.5rem;
}

/* Conteneur principal des onglets (Chansons, Artistes...) */
.tops-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #23232c;
    padding-bottom: 10px;
}

/* Style de base de chaque onglet */
.tops-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #a2a2a9;
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease-in-out;
}

/* Effet au survol des onglets */
.tops-navigation a:hover {
    color: #fff;
    background-color: #191922;
}

/* L'ONGLET ACTIF : Mis en avant avec ta couleur */
.tops-navigation a.active {
    color: #fff;
    background-color: #ef5466; /* Ta couleur distinctive */
    box-shadow: 0 4px 12px rgba(239, 84, 102, 0.2);
}

/* Filtres */
.tops-filter { display: flex; gap: 15px; margin-bottom: 30px; }
.tops-filter a { text-decoration: none; padding: 10px 20px; background: #23232c; color: #fff; border-radius: 20px; font-weight: bold; }
.tops-filter a:hover { background: #ef5466; } /* Couleur Rouge/Rose Deezer */

.top-title { color: #fff; margin-bottom: 20px; font-family: sans-serif; }

/* --- STYLE 1 : LISTE DEEZER (Chansons) --- */
.deezer-list { display: flex; flex-direction: column; gap: 10px; background: #121216; padding: 15px; border-radius: 8px; }
.deezer-list-item { display: flex; align-items: center; padding: 10px; border-bottom: 1px solid #23232c; color: #fff; }
.item-rank { width: 40px; font-size: 1.4rem; font-weight: bold; color: #a2a2a9; }
.item-cover-small { width: 50px; height: 50px; border-radius: 4px; margin-right: 15px; object-fit: cover; }
.item-details { display: flex; flex-direction: column; }
.item-name { font-weight: bold; font-size: 1rem; }
.item-sub { color: #a2a2a9; font-size: 0.9rem; margin-top: 4px; }

/* --- STYLE 2 : GRILLE DEEZER (Albums, Artistes, Films) --- */
.deezer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.deezer-card { background: #191922; padding: 12px; border-radius: 8px; transition: background 0.3s; }
.deezer-card:hover { background: #23232c; }
.card-image-wrapper { position: relative; width: 100%; aspect-ratio: 1; }
.item-cover-grid { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.item-cover-grid.circle { border-radius: 50%; } /* Les artistes sont ronds chez Deezer */
.card-badge { position: absolute; top: 8px; left: 8px; background: #ef5466; color: white; padding: 4px 8px; border-radius: 12px; font-weight: bold; font-size: 0.85rem; }
.card-info { margin-top: 12px; color: #fff; }
.card-title { font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-subtitle { color: #a2a2a9; font-size: 0.85rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Couleurs des badges pour le podium */
.card-badge.rank-1 { background: #ffd700; color: #000; font-size: 0.9rem; } /* Or */
.card-badge.rank-2 { background: #c0c0c0; color: #000; } /* Argent */
.card-badge.rank-3 { background: #cd7f32; color: #fff; } /* Bronze */

/* Effet de zoom léger sur le numéro 1 du mois */
.deezer-card.gold {
    border: 1px solid #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    transform: scale(1.02);
}

.time-navigation-bar {
    background: #191922;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}
.time-filter-form {
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
}
.time-filter-form select {
    background: #23232c;
    color: #fff;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: 600;
    cursor: pointer;
}
.time-filter-form select:focus {
    border-color: #ef5466;
    outline: none;
}