Costa Rica ignited their World Cup campaign with a smash-and-grab 1-0 win over Japan at the Ahmad bin Ali Stadium.