I'll create a stunning Half-Life 5 official website with cinematic design, smooth animations, and a dark sci-fi atmosphere. Let me plan and execute this systematically.
Plan:
- Install dependencies (GSAP, Framer Motion, Lenis)
- Update index.html with proper meta tags
- Create global styles
- Build 15+ modular components (each ≤250 lines)
- Wire everything in App.tsx
- Generate hero images
- Build and verify
Let's begin!
Packages installed. Now let me create the project files.
Now let me generate key visual assets for the site:
Now let me create the component files. Starting with the shared hook and utility components:
Now the cinematic Hero section:
Now the Story section:
Characters section:
Technologies/Weapons section:
Locations section:
Enemies section:
There's a string escaping issue with "SHI'AN". Let me fix it:
I see - the apostrophe in SHI'AN is breaking the string. Let me fix both occurrences:
Now let me create the Gallery component:
News section:
Editions section:
System Requirements section:
FAQ section:
Footer component:
Now let me create the main App.tsx that ties everything together:
All components are created. Let me build the project to verify everything compiles:
The build failed due to Tailwind CSS v4's handling of @apply with responsive modifiers. Let me fix the CSS:
The build succeeded! Let me verify the project is complete by checking all the files:
The project builds successfully! Here's a summary of everything created:
🎮 Half-Life 5 — Official Website
Architecture (15 modular components, all ≤250 lines)
| Component | Description |
|---|
| Preloader | Cinematic loading with λ symbol, progress bar, orange reveal wipe |
| Navbar | Scroll-aware fixed nav with mobile hamburger menu |
| Hero | Full-screen cinematic with GSAP staggered title, parallax mouse tracking, scanlines |
| Story | Timeline narrative with alternating cards |
| Characters | 4 character cards with color-coded traits (Gordon, Alyx, G-Man, Eli) |
| Technologies | 4 weapons with animated stat bars + 4 gadgets |
| Locations | 4 locations with danger levels and threat indicators |
| Enemies | 6 enemy types with threat bars and type badges |
| Gallery | Filterable gallery with category tabs + lightbox modal |
| News | 4 news articles with featured highlighting |
| Editions | 3-tier pricing (Standard/Resistance/Lambda) with "Most Popular" badge |
| SystemReqs | Minimum/Recommended/Ultra spec columns |
| FAQ | 7 accordion items with animated expand/collapse |
| Footer | CTA banner, link columns, social links, disclaimer |
| SectionTitle | Reusable section header with subtitle, title, description, divider |
Technical Highlights
- GSAP — Hero title stagger animation with 3D rotation
- Framer Motion — Scroll-triggered animations on every section
- Lenis — Smooth page-wide scrolling
- Parallax — Mouse-tracking hero background
- 6 AI-generated images — Hero, characters, locations, weapons, enemies
- Dark sci-fi aesthetic — Black/charcoal + Half-Life orange, scanlines, noise, vignette
- 3 custom fonts — Orbitron (display), Inter (body), JetBrains Mono (labels)
- Fully responsive — Mobile-first with hamburger nav
Files built: index.html, src/index.css, src/hooks/useSmoothScroll.ts, src/components/SectionTitle.tsx, src/components/Preloader.tsx, src/components/Navbar.tsx, src/components/Hero.tsx, src/components/Story.tsx, src/components/Characters.tsx, src/components/Technologies.tsx, src/components/Locations.tsx, src/components/Enemies.tsx, src/components/Gallery.tsx, src/components/News.tsx, src/components/Editions.tsx, src/components/SystemReqs.tsx, src/components/FAQ.tsx, src/components/Footer.tsx, src/App.tsx