/* Jugadores */
.jugadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.jugador-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
}

.jugador-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.jugador-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.avatar-jugador {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-iniciales {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 48px;
}

.jugador-info h3 {
    margin: 0 0 15px 0;
    color: #1a472a;
    font-size: 1.4em;
}

.jugador-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.jugador-stats .stat {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.jugador-stats .puntos {
    grid-column: span 2;
    font-weight: bold;
    color: #1a472a;
    border-top: 2px solid #1a472a;
    padding-top: 10px;
    margin-top: 5px;
}

/* Información de jugador en tablas */
.jugador-info-tabla {
    display: flex;
    align-items: center;
}

.avatar-tabla {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.avatar-tabla .avatar-jugador {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-tabla .avatar-iniciales {
    font-size: 16px;
}

.nombre-jugador {
    font-weight: 500;
}




