/* Top Classes Section Styling for Valorium KalOnline */

.top-classes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.top-class-card {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 8px;
    padding: 25px;
    width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-left: 3px solid #9c27b0;
    position: relative;
    overflow: hidden;
}

.top-class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.top-class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
}

.class-image-container {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0);
}

.class-image {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.top-class-card:hover .class-image {
    transform: scale(1.05);
}

.class-name {
    color: #9c27b0;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(156, 39, 176, 0.2);
}

.player-stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: #9c9c9c;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-value {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-classes-container {
        gap: 15px;
    }
    
    .top-class-card {
        width: calc(50% - 15px);
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .top-class-card {
        width: 100%;
    }
}