Varela's equaliser deep into injury time kept Portugal in the World Cup following a dramatic draw with USA.
The substitute dived in to head in a Cristiano Ronaldo cross after it looked like Clint Dempsey had won it for USA.
Portugal were ahead through Nani, but Jermaine Jones's superb strike levelled the scores just after an hour.
A draw between Germany and USA will see both progress from Group G, while Portugal must beat Ghana to have any chance of progressing into the last 16.
Portugal are relying on a Germany win and must also achieve a six-goal swing if they are to pip the USA to second place and reach the last 16.
Realistically, they had needed to win in the Amazonian rainforest after a 4-0 thrashing by Germany in their opening game, but their performance was at least a marked improvement on that showing in Salvador.
For the USA - who had opened with a late win over Ghana - this was a performance characterised by attacking verve and defensive slackness, the latter allowing the European side to race into a fifth-minute lead, and also to hit back with the final whistle seconds away.
Their first defensive lapse came when Geoff Cameron sliced an attempted clearance across the face of his goal to Nani, the Manchester United winger finishing emphatically past Everton keeper Tim Howard.
The early goal stung the Americans into action, and they chased the game to create decent chances from which Clint Dempsey and Michael Bradley failed to test Portugal keeper Beto.
But while Portugal looked vulnerable to the USA's rapid counter-attacks, they remained a threat going forward themselves and went close to doubling their lead just before the break when Nani struck the post from outside the area, and Eder's follow-up was brilliantly pushed over by Howard.
Ronaldo's participation had been in some doubt following a bout of tendonitis in his left knee, and while the World Player of the Year looked good when supplying his team mates, his finishing was wayward.
Ten minutes into the second half, Bradley should have equalised, but the midfielder's side-footed shot from close range was superbly cleared off the line by Ricardo Costa.
The miss was soon forgotten, though, when Jones side-stepped Nani before bending in a brilliant shot from outside the box beyond the static Beto.
With less than 10 minutes to go, Dempsey stooped to guide the ball in off his midriff from close range for what looked to be the winner, until the defence switched off again in the 94th minute and Varela dived to meet Ronaldo's cross and claim what might still turn out to be a crucial point.
USA coach Jurgen Klinsmann: "When you concede in the last second it is unfortunate, but it was an amazing game from us - I can't ask for any more. Now we have to get a result against Germany and that is what we are going to do.
"We will take even more confidence into the next game. It will be another final but that is what the World Cup is about.
"Germany played yesterday and so have more time to recover. We played in the Amazon and they haven't had to travel much. Everything has been made easy for the favourites, whereas we have to struggle to go through, but that is what we will do."
Latest Stories
-
At least 24 dead after two boats capsize off coast of Madagascar
40 mins -
Madina MP lauds White Chapel Youth Group for championing peace ahead of elections
52 mins -
Man United settle for draw at Ipswich Town in Amorim’s first game in charge
1 hour -
GPL 2024/2025: Prince Owusu screamer earns Medeama win over Young Apsotles
2 hours -
BBC visits mpox clinic as WHO says DR Congo cases ‘plateauing’
2 hours -
Burning old TVs to survive in Ghana: The toxic trade in e-waste
2 hours -
Perfume boss admitted he ignored Russia sanctions
2 hours -
Wicked proves popular as opening set to be biggest for Broadway film
2 hours -
Nominee for agriculture secretary completes Trump cabinet
2 hours -
ECG urges prepaid customers to top up to last one month ahead of system upgrade
3 hours -
Three more tourists named in Laos methanol deaths
3 hours -
Betway Africa offers a once-in-a-lifetime ‘Play-on-the-Pitch’ experience at Emirates Stadium
3 hours -
The rise and fall of Matt Gaetz in 8 wild days
3 hours -
School Feeding Programme: Bono East NIB seizes smuggled rice, arrest driver
4 hours -
Dr. Razak Opoku: Despite challenges, facts and data still prove NPP is better manager of the economy than NDC
4 hours