Substitute the all-purpose flour with a gluten-free flour blend that contains xanthan gum for structure, or use almond flour for a denser texture.