Preheat the oven to 375 degrees F (190 degrees C). Spray a baking dish with cooking spray (mine is about 7x10x2.5-inches).
Sprinkle zucchini slices with salt. Set aside for 10 minutes, then pat dry with a paper towel to remove excess water.
Heat a skillet over medium heat, add ground beef and onion. Cook, breaking meat apart with a spoon, until fully browned, about 5 minutes. Drain grease and stir in marinara sauce, garlic powder, Italian seasoning, and red pepper flakes; simmer for 3 minutes.
Whisk together ricotta, egg, salt, and pepper in a small bowl.
Evenly spread half of the ground beef mixture in the prepared baking dish. Arrange half of the zucchini slices over the beef, then spread with half of the ricotta, and top with half of the mozzarella cheese. Repeat the layer with the remaining ground beef, zucchini, and mozzarella.
In a small bowl, combine Parmesan cheese, Panko breadcrumbs, and butter until well combined. Sprinkle over the top of the casserole.
Cover the dish with foil, move to the oven, and bake for about 20 minutes. Remove foil and bake for an additional 10 minutes or until turning golden brown. Set aside to cool for about 5 minutes before serving and garnish with fresh basil.
