Kirsten Dunst steps out of her comfort zone and deep into a paralyzing depression in her latest film Melancholia.

Better known for light fare like Spider-Man and romantic comedies, Dunst plays the lead in the part science-fiction, part family drama from Danish director Lars von Trier, which opens in select U.S. cities on Friday.

The actress, 29, found herself challenged with intense emotional scenes and nudity while portraying Justine -- a complex bride who deteriorates into a melancholic depression after getting married and immediately regretting it.

It's a very vulnerable part and there are very difficult scenes, but the environment was very comfortable, said Dunst.

Anything I had to do, which I may not have felt comfortable with in a different setting, felt protected so I could let loose and be open, the actress added.

Complicated female characters and visually arresting images have become a trademark for von Trier, who cast Nicole Kidman in the 2003 thriller Dogville and Charlotte Gainsbourg in the 2009 supernatural movie Antichrist.

Dunst called von Trier one of the great directors of our time. He, in turn, drew a performance from Dunst that won her the best actress award at the Cannes film festival and is now earning talk of a possible first Oscar nomination.

It is the best critical acclaim Dunst has experienced since her performance as a 12-year-old in the 1994 drama Interview With the Vampire alongside Tom Cruise and Brad Pitt.

New York Times movie reviewer A.O. Scott said the actress is remarkably effective at conveying both the acute anguish and the paralyzing hollowness of depression.

END OF THE WORLD

Melancholia is an apocalyptic tale of sisters Justine (Dunst) and Claire (Gainsbourg) set against an epic backdrop, when Earth's existence is threatened by the approach of the planet Melancholia. Alexander Skarsgard and Keifer Sutherland co-star.

The film is divided into two sections named after the sisters, and moves from light, celebratory scenes of Justine's wedding to darker anxieties, accompanied by arresting cinematography and Richard Wagner's dramatic operatic score of Tristan and Isolde.

Justine's depression and mental decline make her reliant on the strength of her sister Claire. But as the mysterious planet Melancholia slowly edges its way on a collision course with Earth, Justine finds herself becoming stronger while her sister crumbles.

I kind of envisioned it as Justine comes from this planet that's going to hit Earth, and this is her mother Earth in some way, Dunst said.

The actress believes the overall message of the film is a comforting one, despite its melancholic overtones.

This film is very personal to everyone, but I think it's very comforting for anyone who's gone through any depression in their lives, she said. It's exciting to experience a movie like that.

Dunst has more than 60 films under her belt in a career that has seen her transition from child actress to Hollywood star in movies such as Crazy/Beautiful, Marie Antoinette and the Spider-Man franchise.

I could retire, and I'd be proud, laughed the actress.

However, she isn't quite ready to step away from the spotlight. She wants to portray iconic characters like Marlene Dietrich, or Blondie singer Debbie Harry.

Blondie was going to happen at one point and I'd still like to do that. She was successful in her thirties, so that would be fun to play, said Dunst, adding, Don't worry, I'm not going to put out an album, I'm going to stick to acting.

The actress will next be seen in an adaptation of Jack Kerouac's On The Road, and alongside British actor Jim Sturgess in sci-fi romance Upside Down.