Neymar gave Brazil a winning start to its home World Cup, scoring twice to lead the host nation to an unconvincing 3-1 victory over Croatia in the opening game on Thursday.
Brazil had a disastrous start when defender Marcelo found his own net while trying to clear a low cross by Ivica Olic in the 11th minute, but Neymar then showed why the nation's high hopes are all pinned on him.
The 22-year-old forward equalized in the 29th minute, clearing a defender in midfield before making a run toward the edge of the area and firing a perfectly placed low shot that went in off the post.
The game turned on a controversial penalty awarded by Japanese referee Yuichi Nishimura in the 71st minute when striker Fred went down inside the area under minimal contact from defender Dejan Lovren.
Neymar scored from the spot and the Croatians were furious.
"If that was a penalty, we should be playing basketball," said Croatia coach Niko Kovac. "Those kinds of fouls are penalized there."
"That is shameful, this is not a World Cup referee. He had one kind of criteria for them and another for us. The rules were not the same," said Kovac.
As Croatia searched desperately for an equalizer, Oscar added to the lead in the first minute of injury time with a toe poke from just outside the penalty area.
Croatia had a few good chances toward the end and had a goal disallowed in the 83rd after the referee ruled Olic had fouled Brazil goalkeeper Julio Cesar.
The host nation hasn't lost in the opening match in the last nine World Cups. South Africa was held by Mexico to a 1-1 draw four years ago.
A draw would have been a huge disappointment for Brazil, which had won its opening match the last eight times. The five-time champion entered the home tournament having won 15 of its last 16 games, including five in last year's Confederations Cup, the warm-up tournament it won. The team hadn't been held to a draw in the opener since a 1-1 result against Sweden in the 1978 World Cup in Argentina.
The result kept Croatia without a win in its last five World Cup matches. Its last triumph was a 2-1 win over Italy in 2002. The Croats didn't play in South Africa four years ago.
The tournament finally got underway as planned after months of talk about the preparation problems that plagued Brazil since it was picked as host seven years ago.
The troubled Itaquerao Stadium, which wasn't fully finished for the opener, held up without major setbacks to fans or the match itself, although part of the lights atop the pitch went out a few times for brief periods in the first half.
Despite the support from most of the more than 62,100 fans in attendance, Brazil got off to a slow start and allowed Croatia to threaten early. It opened the scoring with one of its first chances as Marcelo failed to clear Olic's cross. The ball got slightly redirected by striker Nikica Jelavic before the Brazilian defender touched it backward into the goal.
The crowd stayed behind the team despite the setback and Brazil started creating more chances. Midfielder Paulinho and playmaker Oscar both came close to scoring, but it was Neymar who found the net with his well-struck low shot into the far corner.
"I wouldn't say it was the best game, but it's the World Cup debut," said Oscar. "I'm representing the national team and I'm giving it my best. And I managed to do this."
The penalty kick was awarded when Fred appeared to be tugged inside the area by Lovren. The Croats insisted Fred wasn't touched and at least five Croatian players swarmed around Nishimura of Japan to protest.
Neymar converted his shot from the spot even though Croatia goalkeeper Stipe Pletikosa touched the ball and nearly made the save.
The goals were Neymar's 32nd and 33rd goals in 50 matches with Brazil's national team. The Barcelona star got a standing ovation when he was substituted near the end of the match.
He had received a yellow card in the 27th for elbowing Real Madrid playmaker Luka Modric.
The other Group A match will be played between Mexico and Cameroon in Natal on Friday.