RETRO_PIXEL.exe v1.0

RETRO PIXEL
8-BIT INTERFACE

A style inspired by classic Game Boy, NES, and retro arcade aesthetics. Pixel-perfect borders, chunky containers, health bars, RPG dialog boxes, and CSS pixel art. Every element screams 8-bit nostalgia with a modern twist.

HP
ATK
XP
HP - Health
85 / 100
MP - Mana
62 / 100
XP - Experience
4500 / 10000
ATK - Power
78 / 100
Score
089400
Level
LV.12
Coins
x 042
Time
03:27
Old Wizard
Brave designer, you have reached the Pixel Kingdom! Will you accept the quest to build an 8-bit interface
YES NO

INVENTORY

1
🛡1
5
3
💎12
🔑2
Achievement unlocked: Pixel Master!

AI Request Prompt

Design a landing page in Retro Pixel / 8-bit style — pixel art aesthetic, Game Boy vibes, chunky bordered containers with CRT scanline overlay.

COLOR TOKENS:
--bg: #1a1c2c (deep midnight blue)
--bg-light: #333c57 (muted slate)
--primary: #a7f070 (pixel green)
--accent: #f77622 (retro orange)
--secondary: #29adff (electric blue)
--danger: #ff004d (pixel red)
--highlight: #ffec27 (coin yellow)
--text: #a7f070 (green on dark)
--text-dim: #5d6f4f (muted green)
--white: #e0f8cf (Game Boy lightest green)
--border: #5d6f8e (steel blue border)
No other colors. All tones must feel like an 8-bit palette.

TYPOGRAPHY:
Font: "Press Start 2P" from Google Fonts, fallback monospace
Body: 10px, line-height 2.0 (pixel fonts need generous spacing)
Headings: same font, clamp(1rem, 3.5vw, 2rem), line-height 1.6
Labels: 7-8px, uppercase
All text must use the pixel font — no font mixing.
text-shadow: 3px 3px 0 var(--bg-light) on headings for depth.

UI COMPONENTS:
- Game frame: 4px solid border, box-shadow inset 0 0 0 2px + outer 0 8px 32px, title bar with colored square dots (no border-radius)
- Health bars: 16px tall, 2px solid border, filled div with stepped transition (steps(10))
  HP green (#a7f070), MP blue (#29adff), XP orange (#f77622), ATK red (#ff004d)
- Stat blocks: 3px solid border, semi-transparent bg, 8px uppercase labels
- RPG dialog box: 4px solid white border, triangle pointer via CSS ::before, speaker name in yellow, choices prefixed with "> "
- Score display: flex row of bordered blocks, value in highlight yellow, label in dim text
- Inventory grid: square aspect-ratio slots, 2px border, hover highlights in yellow, active slot in green, item count in corner
- 8-bit buttons: 3px solid border, box-shadow for 3D depth (0 4px 0), translateY on hover/active for press effect, no border-radius
- Toast notification: 3px solid green border, slide-in animation using steps()
- Blinking cursor: "_" character with steps(2) animation at 0.8s

PIXEL ART (CSS box-shadow technique):
Create decorative pixel art using a tiny div (4px x 4px) with multiple box-shadow declarations.
Each shadow = one pixel: Xpx Ypx 0 color
Heart: 7 rows of red (#ff004d) pixels in heart shape
Sword: blade in white, yellow guard, brown handle, orange pommel
Star: 5 rows of yellow (#ffec27) pixels
Add floating animation: translateY(0) to translateY(-4px), steps(4), 2s infinite

SCANLINE EFFECT:
body::after with position fixed, inset 0, z-index 9998, pointer-events none
repeating-linear-gradient(180deg, transparent 0-2px, rgba(0,0,0,0.12) 2-4px)

LAYOUT:
Content max-width: min(1040px, 92vw)
Page padding: 26px 0 80px
Stats grid: repeat(auto-fit, minmax(200px, 1fr)), gap 12px
Score display: flex-wrap, gap 12px, centered
Inventory: repeat(auto-fill, minmax(50px, 1fr)), gap 4px, max-width 400px
Screen padding: clamp(20px, 4vw, 40px)

MOTION:
- All animations use steps() easing for pixelated feel
- Float: steps(4), 2s infinite
- Slide-in: steps(8), 0.5s
- Blink: steps(2), 0.8s infinite
- Health bar fill: steps(10), 1s transition
- Button press: translateY(-2px) hover, translateY(2px) active

RESPONSIVE:
Below 640px: single column stats, stacked score items, 4-column inventory, smaller font sizes (7-8px for pre), stacked dialog choices
Above 640px: multi-column stats grid, flex row scores, 8-column inventory

FORBIDDEN:
- No border-radius on game elements (pixel = sharp corners)
- No gradients except scanline overlay
- No anti-aliased fonts — pixel font only
- No smooth transitions — use steps() for everything
- No blur or glassmorphism
- No serif or sans-serif fonts
- No colors outside the defined 8-bit palette
- No opacity below 0.3 on visible elements
- image-rendering must be set to pixelated

OUTPUT:
1. Single HTML file with inline CSS
2. CRT scanline overlay on body::after
3. CSS pixel art using box-shadow technique (heart, sword, star)
4. Health bar system with stepped transitions
5. RPG dialog box with speaker, text, blinking cursor, and YES/NO choices
6. Score display and inventory grid
7. 8-bit button system with 3D press effect
8. "Press Start 2P" Google Font with monospace fallback