Ronaldo scored his 900th career goal for club and country to help lift Portugal past Croatia in their opening match of UEFA Nations League play, winning 2-1.