.border-gold { border: 2px solid rgba(255, 215, 0, 0.4); }
.rank-badge {
    position: absolute; top: -10px; left: -10px;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: #000; font-weight: 900; padding: 5px 12px;
    border-radius: 10px; z-index: 10; transform: rotate(-10deg);
}
.small-rank {
    position: absolute; top: 5px; left: 5px;
    background: rgba(0,0,0,0.6); color: #fff;
    padding: 1px 6px; border-radius: 4px; font-size: 0.7rem;
}
.small-title { font-size: 0.8rem; color: #ccc; margin-bottom: 0; }
.small-ccu { font-size: 0.75rem; font-weight: bold; }
.hover-opacity-100:hover { opacity: 1 !important; transform: scale(1.05); transition: 0.3s; }

.category-nav-wrapper {
    top: 70px; /* Ajuste selon la hauteur de ta Navbar principale */
    z-index: 1020;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.btn-tag {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s all ease;
}

.btn-tag:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: #00e5ff;
    color: #00e5ff;
    transform: translateY(-2px);
}

.btn-tag.active {
    background: #00e5ff;
    border-color: #00e5ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* Cache la scrollbar mais permet le scroll sur mobile */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.tagline-stats {
    color: rgba(255, 255, 255, 0.45) !important; /* Gris clair doux */
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: -10px;
}

/* Optionnel : mettre le mot "temps réel" ou "Real-time" en surbrillance discrète */
.tagline-stats strong {
    color: rgba(0, 229, 255, 0.7); /* Cyan translucide */
    font-weight: 600;
}

.btn-tag {
    display: flex;
    align-items: center;
    gap: 8px; /* Espace entre le nom et la bulle */
    padding: 6px 14px; /* Un peu plus compact pour en mettre 6 */
}

.badge-count {
    background: #000; /* Ta bulle noire */
    color: #00e5ff; /* Texte cyan pour que ça flashe */
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

/* Quand le bouton est actif, on inverse pour que ce soit lisible */
.btn-tag.active .badge-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: transparent;
}
