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 fold the dry ingredients into the wet mixture, stirring until just combined. Pour the batter into the prepared pan and bake for 20–25 minutes until set. Allow the cake to cool completely in the pan.
03 - Sprinkle the gelatin over cold water and let it soften for 5 minutes. In a saucepan, combine the raspberries, sugar, and lemon juice 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 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 beating to stiff peaks. In a separate bowl, whip the cold heavy cream to soft peaks. Stir the egg yolks into the cooled chocolate, gently fold in the whipped cream, then carefully fold in the beaten egg whites.
05 - Spread the raspberry mixture evenly over the cooled cake base in the springform pan. Chill for 15 minutes to allow it to partially set. Gently spread the chocolate mousse over the raspberry layer, smoothing the top. Refrigerate for at least 2 hours, or overnight, until fully set.
06 - Heat the cream just until steaming and pour it over the chopped chocolate. Let it sit for 2 minutes, then stir until glossy and smooth. Cool slightly, then pour the ganache over the chilled mousse cake. Refrigerate for 30 minutes.
07 - Decorate with fresh raspberries and chocolate shavings just before serving. Carefully remove the springform ring and slice with a hot knife for clean portions.