Chris Hemsworth and Mark Ruffalo in Thor: Ragnarok.

They were smoking some wild shit and licking frogs when they put together Thor: Ragnarok, a film so nutty that it easily surpasses the Guardians of the Galaxy films as the screwiest offering in the Marvel universe.

When you hand the keys to the Thor franchise over to a director like Taika Waititi, you know you are going to get something bizarre—and Waititi doesn’t disappoint. Waititi is the New Zealand comic actor/director responsible for the hilarious vampire faux documentary What We Do in the Shadows and the funny family drama Hunt for the Wilderpeople. There’s really nothing on his resume that screams, “Hey, let’s have this guy direct an action packed, highly expensive Thor film!” but he got the gig, so there you go. Sometimes the wild card pays off.

Borrowing from a host of Marvel comics (including the famed “Planet Hulk” storyline), the hallucinogenic plot drops Thor (Chris Hemsworth) on a crazy garbage planet where everyone is bent on around-the-clock, violent entertainment, and led by Grandmaster (Jeff Goldblum, finally getting a worthy high-profile role outside of a Wes Anderson film—that was a long drought). The Grandmaster shaves Thor’s head, dresses him in gladiator gear and throws him into the ring for a weaponized bout with his prized competitor.

That prized competitor would be the Hulk, who has been held captive on the planet for the past couple of years. He’s been nothing but the Hulk the whole time, with Dr. Bruce Banner (Mark Ruffalo) trapped inside him. Thor and Hulk have a battle royale for the ages, followed by some great scenes in which the Hulk actually speaks. (Ruffalo provides the voice, and this is the first time in the recent Marvel films where Lou Ferrigno isn’t providing Hulk’s growls.)

There’s also a whole other, apocalyptic subplot in which Thor’s long-lost sister Hela (a striking and devilish Cate Blanchett, decked out in black) is causing major havoc on his home planet of Asgard. Blanchett is now high in the ranking of Marvel movie villains. She’s played a baddie before, but never this entertainingly.

Thor’s mischievous brother, Loki (Tom Hiddleston) makes it into the mix, siding with his brother in the war for Asgard, although he’s still not 100 percent trustworthy. Waititi wisely plays upon the comic notes from Loki’s past Avenger films and makes Loki, more or less, a clown in this movie. It works beautifully.

The great Tessa Thompson plays Valkyrie, an Asgardian-turned-trapper for the Grandmaster who has a slight drinking problem. Karl Urban gets perhaps his best role outside of Star Trek as Skurge, an Asgardian who becomes Hela’s right-hand man; he boasts a collection of stuff that includes an infamous exercising tool.

To say the result of all this is trippy is an understatement. The movie looks like Thor meets Boogie Nights (minus the porn) meets The Lord of the Rings. It scores high marks in the fantasy genre realm while being one of the year’s funniest movies—and that’s high praise. Most of the cast members get to demonstrate both comedic and action chops, and the film never feels off balance. Goldblum, thankfully, gets to riff most of his dialogue, Goldblum-style. It all feels very improvised and loose.

As far as moving the stories of Thor and Hulk forward … in this respect, the movie spins its wheels. Ragnarok is largely a standalone, expensively silly curio that looks great and distinguishes itself without worrying much about connecting to plot threads in other films. It does do that (stay for the after credits scene), but it does so without being too obvious

This is not a problem. These are comic-book movies, and sometimes (like with Avengers: Age of Ultron), they can take themselves a little too seriously. Ragnarok embraces its insanity and takes it to highly entertaining, WTF? levels.

No, I don’t want to see this happen with every Marvel movie, because it could get tired and gimmicky. But, say, with every fourth movie, why not let a rogue director go crazy with some Avengers? It certainly works here.

Thor: Ragnarok is playing at theaters across the valley, in a variety of formats.