AP Sports Writer
DETROIT (AP) -- Matt Ryan got what he wanted.
Calvin Johnson was forced to settle for what he could get.
Ryan matched a career high with four touchdown passes, two to Roddy White, to help the Atlanta Falcons beat the Detroit Lions 31-18 Saturday night and earn home-field advantage throughout the NFC playoffs.
"It's great," Ryan said. "Our confidence is high and our experience -- good and bad -- has helped us. The key is to keep the focus where it's been."
In yet another loss, Johnson had a record-breaking night.
Johnson broke Jerry Rice's NFL single-season yards receiving mark of 1,848. After making the record-breaking catch in the fourth quarter, Johnson jogged over to the sideline and handed the football to his father.
"That was a very special moment," he said.
Johnson also became the only player with 100 yards receiving in eight straight games and the first with 10 receptions in four games in a row in league history. He had 11 receptions for 225 yards, giving him 1,892 this season.
"I've been an NFL fan my whole life, dating back to watching Johnny Unitas and Raymond Berry as a kid, and I've coached in this league for 19 years," Detroit coach Jim Schwartz said. "I've seen a lot of Hall of Famers, but I've never seen a better player than Calvin Johnson.
"He just broke a record set by Jerry Rice, who is arguably the best player in this history of this league."
The Falcons (13-2) pulled away with Ryan's fourth TD pass to wide-open tight end Michael Palmer in the fourth quarter and Matt Bryant's 20-yard field goal with 3:05 left that gave them a 15-point lead.
Ryan was 25 of 32 for 279 yards without a turnover.
The Falcons hope playing at home, potentially throughout the conference playoffs, helps them more than it did after the 2010 and 1980 seasons. The Falcons failed to win a game in either postseason, getting routed by Green Bay two years ago and blowing a double-digit, fourth-quarter lead to Dallas three decades ago.
Atlanta advanced to its only Super Bowl with a win at Minnesota after winning a franchise-record 14 games during the 1998 season.
The Falcons won't have much incentive to match that mark next week at home against Tampa Bay, when they'll have nothing to gain and something to lose if a key player or more gets hurt.
Detroit (4-11) has been relegated to playing for pride this month and that hasn't been going very well.
The Lions, whose seven-game losing streak is the longest skid in the league, haven't struggled this much since the laughingstock of a franchise became the league's first to go 0-16 in 2008.
The Falcons led 21-3 at halftime before letting the Lions pull within five points early in the fourth quarter.
Ryan dashed Detroit's comeback hopes.
Facing intense pressure, he converted a third down in Atlanta territory with a pass to White, picked on rookie cornerback Jonte Green by throwing to Jones to pick up more first downs and found Tony Gonzalez open to convert another third down to set up his fourth TD pass.
"We didn't play well in the third quarter," Atlanta coach Mike Smith said. "Matt made some big throws on that drive."
Stafford was clearly trying to get the ball to Johnson on the next drive and cornerback Asante Samuel figured that out, stepping in front of the receiver for an interception to set up Bryant's field goal.
Atlanta running back Michael Turner was tackled in the end zone, after Detroit turned the ball over on downs, to give the Lions two meaningless points.
Ryan went deep to White for the first score, connecting with him on a 44-yard TD strike with 5:50 left in the first quarter. Ryan threw a short pass to him early in the second quarter and the standout receiver did the rest on a 39-yard sprint down the sideline.
Ryan put his third TD pass where only Julio Jones could catch it a corner of the end zone, and he did on a 16-yard reception that put Atlanta up 21-3.
Detroit didn't give up, a game after being accused of doing just that in a 38-10 loss at Arizona.
Jason Hanson kicked a second field goal late in the first half to make it 21-6.
After Atlanta opened the second half with a three-and-out drive, Mikel Leshoure scored on a 1-yard run midway through the third quarter to pull the Lions with eight points.