In a large bowl, whisk together flour, cornstarch, baking powder, garlic powder, paprika, salt, and pepper. Slowly pour in the beer, whisking continuously until you achieve a smooth, lump-free batter. Let it rest for 10 minutes to allow flavors to meld.