Preheat the oven to 350°F (175°C) and grease two 8-inch cake pans.
In a mixing bowl, whisk together the flour, cocoa powder, baking soda, baking powder, and salt. Set aside.
In another bowl, beat the butter and sugar with an electric mixer until light and fluffy.
Add the eggs one at a time, mixing well after each addition, then stir in the vanilla extract.
Gradually add the dry ingredients, alternating with buttermilk and hot coffee, mixing until just combined.
Divide the batter evenly between the prepared cake pans and smooth the tops.
Bake for 28-30 minutes, or until a toothpick inserted into the center comes out clean.
Let the cakes cool in the pans for 10 minutes, then transfer to a cooling rack to cool completely.
Tint half of the buttercream frosting black using the black gel food coloring and set aside.
For the firefly frosting, mix the tonic water with the remaining buttercream and tint it yellow. Add vitamin B2 powder for extra glow.
Frost the entire cake with the black buttercream to create a night sky effect.
Using a piping bag, pipe small dots of the yellow UV-reactive frosting onto the cake to resemble glowing fireflies.
Chill the cake for 30 minutes before serving. Display under a blacklight to reveal the glowing fireflies!