01 - Preheat oven to 350°F. Grease a 9-inch springform pan and line the base with parchment paper.
02 - Sift together flour, cocoa powder, baking powder, and salt into a bowl. In a separate bowl, whisk sugar, eggs, oil, milk, and vanilla extract until smooth. Gradually add the dry ingredients to the wet mixture, stirring until just combined.
03 - Pour batter into the prepared springform pan and bake for 20–25 minutes until set. Allow the cake to cool completely in the pan.
04 - Soften gelatin in cold water for 5 minutes. Combine raspberries, sugar, and lemon juice in a saucepan over medium heat. Mash the berries and simmer for 5–8 minutes. Remove from heat and stir in the softened gelatin until fully dissolved. Let cool to room temperature.
05 - Melt dark chocolate using a double boiler or microwave until smooth, then let cool slightly. Beat egg whites with a pinch of salt to soft peaks, then gradually add sugar while beating to stiff peaks. In another bowl, whip the cold heavy cream to soft peaks. Stir egg yolks into the melted chocolate, gently fold in the whipped cream, then carefully fold in the beaten egg whites.
06 - Spread the raspberry layer evenly over the cooled cake in the 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.
07 - Heat heavy cream until steaming and pour over the chopped chocolate. Let sit for 2 minutes, then stir until glossy and smooth. Cool slightly, then pour evenly over the chilled mousse cake. Refrigerate for 30 minutes.
08 - Garnish with fresh raspberries and chocolate shavings. Carefully remove the springform ring and slice with a hot knife for clean portions.