
#streamers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

}

.card {
    background: #1a1a1a;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    padding: 20px;
    width: 180px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* centre horizontalement */


}
.card:focus,
.card:active,
.card:visited {
    outline: none;
    text-decoration: none;
}

.card.loaded {
    opacity: 1;
    transform: scale(1);
}

.card:hover {
    transform: scale(1.05);
}

/* Avatar + wrapper */
.avatar-wrapper {
    position: relative;
    display: inline-block;
}


.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #444;
}

.avatar.live {
    border-color: red;
    box-shadow: 0 0 12px red;
}

.account-box {
    background: #1a1a1d;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(180, 138, 255, 0.4);
}


.live-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(255,0,0,0.6);
}

/* Nom */
.card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
}


.card h3 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 8px 0 0;
    font-weight: 600;
}

/* Icône plateforme */
.platform {
    width: 20px;
    height: 20px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
}

.platform.twitch {
    background-image: url('Asset/img/twitch.png');
}

.platform.tiktok {
    background-image: url('Asset/img/tiktok.png');
}

