01 - Preheat the oven to 350°F. Grease and line three 8-inch round cake pans with parchment paper.
02 - In a medium bowl, whisk together the all-purpose flour, baking powder, and salt. Set aside.
03 - In a large mixing bowl, beat the softened unsalted butter and granulated sugar together using an electric mixer until pale, light, and fluffy, approximately 3 to 4 minutes.
04 - Add the eggs one at a time, beating thoroughly after each addition. Blend in the cotton candy flavoring and vanilla extract until evenly distributed.
05 - With the mixer running on low speed, add the flour mixture in three additions, alternating with the whole milk in two additions, beginning and ending with the flour. Mix until just combined to avoid overworking the batter.
06 - Divide the batter evenly between two bowls. Tint one portion pink and the other blue using food coloring. Drop alternating spoonfuls of each color into the prepared cake pans, then gently swirl with a skewer or knife to create a marbled effect.
07 - Bake for 25 to 28 minutes, or until a toothpick inserted into the center of each layer comes out clean. Allow the cakes to cool in the pans for 10 minutes, then invert onto a wire rack to cool completely.
08 - Beat the softened butter until creamy and smooth. Gradually add the sifted powdered sugar on low speed, then incorporate the cotton candy flavoring and milk, beating until light and fluffy. Divide the buttercream and tint one portion pink and the other blue as desired.
09 - Once the cake layers are completely cool, stack and frost them with the tinted buttercream, swirling the pink and blue together for a cotton candy-inspired effect.
10 - Just before serving, arrange generous pieces of fresh cotton candy on top of the frosted cake. Serve immediately to preserve the cotton candy texture.