Cristiano Ronaldo led the charge as Real Madrid beat Ludogorets 4-0 to finish their Champions League group with a perfect record.
The Portuguese scored from the penalty spot, before Gareth Bale, Alvaro Arbeloa and Alvaro Medran completed proceedings as the Spanish giants coasted into the last 16 after winning all six group games.
Marcelinho's 20th minute red card gifted Real their opener from the spot, with Ronaldo surpassing Raul's 71-goal Champions League haul as he tucked the penalty home.
Madrid set a new Spanish record of 19 consecutive victories with their routine triumph.
Basel join them in the knockout stages after they drew 1-1 with Liverpool at Anfield to finish second behind Real.
Arsenal hammered Galatasaray 4-1 in Turkey, but still wound up finishing second in Group D.
Aaron Ramsey claimed two goals in 18 first-half minutes to add to his weekend strike in Arsenal's 3-2 Premier League defeat to Stoke.
The Wales midfielder ended his 17-match barren run for both club and country against the Potters, and gave further indications of a return to scoring form in Turkey.
Lukas Podolski also fired home twice, starting the rout on three minutes and compounding the hosts' misery with his second in stoppage time.
Wesley Sneijder had notched for Galatasaray, but the home side were outclassed as Arsene Wenger's fired back to form after the frustrations of their Stoke loss.
Ciro Immobile's goal ensure Borussia Dortmund sealed top spot, despite his side's 1-1 home draw with Anderlecht.
The hosts took the lead just ahead of the hour, expecting to coast home, only for Aleksandar Mitrovic to level with six minutes to play.
Monaco sneaked into top spot in Group C with a 2-0 home victory over Zenit St Petersburg.
Defenders Aymen Abdennour and Fabinho claimed the vital second-half goals as Monaco overhauled Bayer Leverkusen into top spot.
Leverkusen were held to a frustrating goalless draw at Benfica, and their inability to secure victory gifted Monaco first place in the group.
Olympiakos eased past Malmo 4-2 in Greece, but despite their comfortable victory it was not enough to secure a last-16 spot.
That's because Juventus secured second place in Group A with a goalless draw against pool winners Atletico Madrid.
David Fuster, Alejandro Dominguez, Kostas Mitroglou and Ibrahim Afellay claimed the crucial strikes for Olympiacos, with Simon Kroon and captain Markus Rosenberg hitting back for the visitors.
Malmo's Enock Adu was sent off for a second yellow card in the closing stages, but by then the hosts had already secured their win.
Atletico rode their luck in shutting out Juventus in Italy, but the hosts' point secured their safe passage to the next round, at Olympiakos' expense.