diff --git a/apps/web/src/app/games/complement-race/components/RaceTrack/SteamTrainJourney.tsx b/apps/web/src/app/games/complement-race/components/RaceTrack/SteamTrainJourney.tsx index 93c6bead..9d6e4c4c 100644 --- a/apps/web/src/app/games/complement-race/components/RaceTrack/SteamTrainJourney.tsx +++ b/apps/web/src/app/games/complement-race/components/RaceTrack/SteamTrainJourney.tsx @@ -203,6 +203,42 @@ export function SteamTrainJourney({ momentum, trainPosition, pressure, elapsedTi overflow: 'visible' }} > + {/* Gradient definitions for mountain shading and ground */} + + + + + + + + + + + + + + + + + + {/* Ground layer - extends full width */} + + + {/* Ground gradient for depth */} + + {/* Railroad ballast (gravel bed) */} - {/* Left tunnel - at absolute left edge of viewBox (x = -50) */} + {/* Left mountain and tunnel */} - {/* Mountain face - extends from left edge */} + {/* Mountain base - extends from left edge */} + + {/* Mountain peak - triangular slope */} + + + {/* Mountain ridge shading */} + + + {/* Rocky texture - vertical cracks */} + {[0, 1, 2, 3].map((i) => ( + + ))} + + {/* Vegetation/bushes at base */} + {[0, 1, 2].map((i) => ( + + ))} + {/* Tunnel depth/interior (dark entrance) */} + {/* Tunnel arch opening */} - {/* Tunnel arch rim (stone) */} + + {/* Tunnel arch rim (stone bricks) */} + + {/* Stone brick texture around arch */} + - {/* Right tunnel - at absolute right edge of viewBox (x = 850) */} + {/* Right mountain and tunnel */} - {/* Mountain face - extends to right edge */} + {/* Mountain base - extends to right edge */} + + {/* Mountain peak - triangular slope */} + + + {/* Mountain ridge shading */} + + + {/* Rocky texture - vertical cracks */} + {[0, 1, 2, 3].map((i) => ( + + ))} + + {/* Vegetation/bushes at base */} + {[0, 1, 2].map((i) => ( + + ))} + {/* Tunnel depth/interior (dark entrance) */} + {/* Tunnel arch opening */} - {/* Tunnel arch rim (stone) */} + + {/* Tunnel arch rim (stone bricks) */} + + {/* Stone brick texture around arch */} + {/* Railroad ties */}