To make this Vanilla Magic Cake gluten-free, replace the all-purpose flour with a 1:1 gluten-free baking blend containing xanthan gum. Ensure all other ingredients, including vanilla extract and powdered sugar, are certified gluten-free. The texture will be slightly softer, but the layers will still form beautifully.