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 fold the dry ingredients into the wet mixture, stirring until just combined.
03 - Pour the batter into the prepared springform pan. Bake for 20 to 25 minutes until a toothpick inserted in the center comes out clean. Allow the cake to cool completely in the pan.
04 - Soften gelatin in cold water for 5 minutes. In a saucepan, combine raspberries, sugar, and lemon juice over medium heat. Mash the berries and simmer for 5 to 8 minutes. Remove from heat and stir in the softened gelatin until fully dissolved. Let cool to room temperature.
05 - Melt dark chocolate over a double boiler or in the microwave until smooth, then cool slightly. Beat egg whites with a pinch of salt to soft peaks, then gradually add sugar while beating to stiff peaks. In a separate bowl, whip cold heavy cream to soft peaks. Stir egg yolks into the cooled 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 base still 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.
07 - Heat heavy cream in a small saucepan just until steaming. Pour over the chopped chocolate and let sit for 2 minutes. Stir until the mixture is 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. Slice with a hot knife for clean portions.