01 - Preheat the oven to 350°F. Grease a 9-inch springform pan and line the base with parchment paper.
02 - Sift together the flour, cocoa powder, baking powder, and salt into a bowl. In a separate bowl, whisk the sugar, eggs, vegetable oil, milk, and vanilla extract until smooth. Gradually add the dry ingredients to the wet mixture, folding until just combined. Pour the batter into the prepared pan and bake for 20 to 25 minutes until set. Allow the cake to cool completely in the pan.
03 - Soften the gelatin in cold water for 5 minutes. In a saucepan, combine the raspberries, sugar, and lemon juice over medium heat. Gently mash the berries and simmer for 5 to 8 minutes. Remove from heat and stir in the softened gelatin until fully dissolved. Let the mixture cool to room temperature.
04 - Melt the dark chocolate over a double boiler or in the microwave until smooth, then let it cool slightly. Beat the egg whites with a pinch of salt to soft peaks, then gradually add the sugar while continuing to beat until stiff peaks form. In a separate bowl, whip the cold heavy cream to soft peaks. Stir the egg yolks into the cooled chocolate, then gently fold in the whipped cream followed by the egg whites.
05 - Spread the raspberry layer evenly over the cooled cake base in the springform pan. Chill for 15 minutes until slightly set. Gently spread the chocolate mousse over the raspberry layer and smooth the top. Refrigerate for at least 2 hours or overnight until fully set.
06 - Heat the heavy cream just until steaming and pour it over the chopped chocolate. Let it sit for 2 minutes, then stir until glossy and smooth. Allow the ganache to cool slightly before pouring it over the chilled mousse cake. Refrigerate for 30 minutes.
07 - Decorate the top with fresh raspberries and chocolate shavings. Carefully remove the springform ring and slice with a hot knife for clean portions.