/* Style pour les cartes de statistiques modernes */
.modern-stat-card {
    background-color: #1a1f2a;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

.modern-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.modern-stat-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    opacity: 0.8;
}

.icon-container {
    margin-bottom: 15px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(13, 110, 253, 0.5));
}

.stat-dots {
    color: #0d6efd;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.stat-label {
    color: #8b92a8;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-top: auto;
}

/* Style spécifique pour la carte de répartition des factions */
.faction-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 10px;
}

.faction-distribution {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.alliance, .horde {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.faction-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.faction-icon:hover {
    transform: scale(1.1);
}

.alliance-icon {
    filter: drop-shadow(0 0 10px rgba(0, 120, 255, 0.8));
    border: 4px solid #0078FF;
}

.horde-icon {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
    border: 4px solid #CC0000;
}

#alliance-percent, #horde-percent {
    color: #EABA28;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* Animation au survol */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.modern-stat-card:hover .icon-container {
    animation: pulse 1.5s infinite;
}
