Goalkeeper Guillermo Ochoa made a series of outstanding saves to help Mexico hold Brazil to a thrilling 0-0 draw at the World Cup on Tuesday.
The result leaves both teams with four points each after two games in Group A, but Brazil is ahead on goal difference going into their decisive final matches. Croatia and Cameroon meet on Wednesday for their second games after both opened with defeats.
Ochoa's first remarkable save prevented Neymar from scoring in the 26th minute. The Brazil striker's powerful header looked set to fly just inside the post when the goalkeeper dived to his right to push the ball wide.
Ochoa also made three other difficult saves to keep the hosts from breaking the deadlock -- a shot by Paulinho in the 44th, a second-half effort by Neymar from inside the area and a close-range header by Thiago Silva in the 86th minute which produced a remarkable block by the Mexico keeper.
After that, there was still time for a thrilling end to the game in the northeastern city of Fortaleza.
The referee dismissed Brazilian claims for a penalty after Marcelo seemed to have been grabbed in the 88th minute. Mexico then had two great chances, first with Andres Guardado's shot over the crossbar in the 90th and then with an effort by Raul Jimenez that was stopped by Brazil goalkeeper Julio Cesar in injury time.
"In the end, the 0-0 mirrors what happened, it was a very hard-fought match," Brazil coach Luiz Felipe Scolari said. "The draw wasn't a good result because a victory would have already allowed us to advance, but we need to be able to respect our opponent, which played very well."
A win by either team would have guaranteed a spot in the next round if Cameroon and Croatia were to draw in the jungle city of Manaus.
Brazil had won all three previous World Cup matches between the teams without conceding a goal, but the Latin American rivals hadn't met in the sport's showcase tournament since 1962.
It was an evenly balanced game at the Arena Castelao, with Mexico not allowing Brazil to take control. El Tri didn't play defensively and created chances throughout the match, especially with long-range shots by midfielders Hector Herrera and Jose Vazquez.
Brazil, playing without injured strike Hulk, turned up the pressure in the second half, but there was no getting past Ochoa.
He denied Paulinho just before halftime, blocking the midfielder's shot after a loose ball inside the area, and then got his body in the way of Neymar's drive from inside the area. In the 86th, he was there on cue to block Silva's powerful header from point-blank range.
Fans wearing Brazil's green and yellow colors were the majority as expected, but Mexicans took over large seating sections of the stadium and at times were louder than the local fans. Among those in the crowd of 60,342 was NBA star Kobe Bryant, of the Los Angeles Lakers.
Brazil, the only team to play in all 20 World Cups, has reached the second round every time since 1970. Mexico is seeking to advance for its sixth straight appearance in the last 16, where it has been eliminated in the last five World Cups.
Mexico had won six of the last 10 matches, including in the final of the 2012 London Olympics, keeping the Brazilians from earning their first gold medal in football. In their latest match, Brazil won 2-0 in last year's Confederations Cup, also in Fortaleza and also in the second match of the group stage.
Brazil: Julio Cesar, Dani Alves, Thiago Silva, David Luiz, Marcelo, Luiz Gustavo, Paulinho, Oscar (Willian, 84), Ramires (Bernard, 46), Neymar, Fred (Jo, 68).
Mexico: Guillermo Ochoa, Francisco Rodriguez, Rafael Marquez, Hector Moreno, Miguel Layun, Paul Aguilar, Jose Vazquez, Andres Guardado, Hector Herrera (Marco Fabian, 76), Giovani Dos Santos (Raul Jimenez, 84), Oribe Peralta (Javier Hernandez, 73).