The Lost Mind of Dr. Brain/Neural Maze

The neural maze is a 3d maze. The maze is split into several layers, connected via up and down arrows.

You can control this minigame with the arrow keys on the keyboard or mouse.

There are several tunnels in the maze that move you greater distances.

Higher difficulty levels add more layers to the maze.

Strategy
The mazes are perfect, meaning that there are no loops in them. As such, you can use the classical maze solving method of following one edge of the maze (commonly known as "keep a hand on one of the walls"). Just a matter of extending it to 3d.

Every level of the maze will be traversed, so the correct path tends to have a lot of vertical movement on higher difficulties.