Stunning hat-tricks for Romario and Ronaldo in the final were the highlights of the first eight-team FIFA Confederations Cup.