---
name: "Arcade Night"
slug: "arcade-night"
schema: "freedesignmd/v2"
description: "Neon pixel-adjacent game launcher: Silkscreen headings, Chakra Petch UI, a dark purple cabinet canvas with magenta and cyan glow edges. Built for game stores, launchers, esports and leaderboard pages."
source: "https://freedesignmd.com/system/arcade-night"
aesthetic: "technical"
industry: "entertainment"
default_mode: "dark"
fonts:
  display: "Silkscreen"
  body: "Chakra Petch"
  mono: "Share Tech Mono"
  google_fonts_url: "https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Chakra+Petch:wght@400;500;600&family=Share+Tech+Mono&display=swap"
colors:
  light:
    background: "#f1edff"
    foreground: "#1b1033"
    card: "#ffffff"
    cardForeground: "#1b1033"
    muted: "#e4dcfb"
    mutedForeground: "#58497e"
    primary: "#c0118e"
    primaryForeground: "#ffffff"
    secondary: "#d9f4f8"
    secondaryForeground: "#0b3f4a"
    accent: "#d0f3f7"
    accentForeground: "#0a4452"
    border: "rgba(27,16,51,0.18)"
    input: "rgba(27,16,51,0.4)"
    ring: "#006f84"
    destructive: "#c42a33"
    destructiveForeground: "#ffffff"
    success: "#0c7a3e"
    successForeground: "#ffffff"
    warning: "#ffc21a"
    warningForeground: "#2a1d00"
  dark:
    background: "#0a0618"
    foreground: "#f0eaff"
    card: "#140d2c"
    cardForeground: "#f0eaff"
    muted: "#1e1540"
    mutedForeground: "#a99ccf"
    primary: "#ff3fd0"
    primaryForeground: "#14041f"
    secondary: "#1a2a4a"
    secondaryForeground: "#bdf6ff"
    accent: "#0e3a4a"
    accentForeground: "#7af3ff"
    border: "rgba(122,243,255,0.2)"
    input: "rgba(122,243,255,0.4)"
    ring: "#2de6ff"
    destructive: "#ff5a6e"
    destructiveForeground: "#20040a"
    success: "#43f08a"
    successForeground: "#03200f"
    warning: "#ffd23a"
    warningForeground: "#2a1d00"
chart:
  light: ["#c0118e", "#00a3bd", "#6a3de0", "#f2a50c", "#1ea45a"]
  dark: ["#ff3fd0", "#2de6ff", "#a07bff", "#ffd23a", "#43f08a"]
type:
  display: { font: display, size: 56, size_mobile: 31, leading: 1.1, weight: 700, tracking: "0.01em", uppercase: true }
  h1: { font: display, size: 40, size_mobile: 27, leading: 1.15, weight: 700, tracking: "0.01em", uppercase: true }
  h2: { font: display, size: 24, size_mobile: 19, leading: 1.25, weight: 400, tracking: "0.02em", uppercase: true }
  h3: { font: body, size: 20, size_mobile: 20, leading: 1.3, weight: 600, tracking: "0.02em" }
  body: { font: body, size: 16, size_mobile: 16, leading: 1.55, weight: 400, tracking: "0.01em" }
  small: { font: body, size: 14, size_mobile: 14, leading: 1.5, weight: 400, tracking: "0.01em" }
  label: { font: body, size: 12, size_mobile: 12, leading: 1.3, weight: 600, tracking: "0.12em", uppercase: true }
  mono: { font: mono, size: 14, size_mobile: 14, leading: 1.5, weight: 400, tracking: "0.02em" }
spacing: [4, 8, 12, 16, 24, 32, 48, 64, 96, 128]
radius: { sm: "0", md: "2px", lg: "4px", xl: "8px", full: "9999px" }
shadow:
  light:
    sm: "0 0 0 1px rgba(192,17,142,0.18)"
    md: "0 6px 20px -6px rgba(192,17,142,0.35)"
    lg: "0 24px 56px -16px rgba(106,61,224,0.45), 0 0 0 1px rgba(192,17,142,0.2)"
  dark:
    sm: "0 0 0 1px rgba(122,243,255,0.18)"
    md: "0 0 16px -2px rgba(255,63,208,0.45), 0 0 0 1px rgba(255,63,208,0.5)"
    lg: "0 0 40px -4px rgba(45,230,255,0.4), 0 0 0 1px rgba(45,230,255,0.5), 0 32px 64px -16px rgba(0,0,0,0.8)"
motion:
  duration_ms: { instant: 60, fast: 120, base: 200, slow: 400 }
  easing: { standard: "cubic-bezier(0.4, 0, 0.2, 1)", out: "steps(6, end)", in: "cubic-bezier(0.6, 0, 1, 1)" }
  reveal: { distance_px: 8, stagger_ms: 50 }
layout: { max_width: 1240, columns: 12, gutter: 20, section_y: 88, section_y_mobile: 52, measure: "60ch" }
extras:
  scanlines: { light: "repeating-linear-gradient(0deg, rgba(27,16,51,0.04) 0 1px, transparent 1px 3px)", dark: "repeating-linear-gradient(0deg, rgba(240,234,255,0.04) 0 1px, transparent 1px 3px)" }
---

# Arcade Night, DESIGN.md

> Neon pixel-adjacent game launcher: Silkscreen headings, Chakra Petch UI, a dark purple cabinet canvas with magenta and cyan glow edges. Built for game stores, launchers, esports and leaderboard pages.

## How to use this file

1. Save this file as `DESIGN.md` in the project root and paste the `tokens.css` block (section 10) into your global stylesheet, or import `https://freedesignmd.com/system/arcade-night.css`, which also contains every component class.
2. **Claude Code:** add `Before any UI work, read @DESIGN.md and use only its tokens and component recipes.` to `CLAUDE.md`.
3. **Cursor:** create `.cursor/rules/design.mdc` with `alwaysApply: true` and the line `Follow @DESIGN.md for every color, font, radius, shadow, spacing and duration.`
4. **Lovable:** paste section 10 into `src/index.css` and add this file to Project Knowledge; ask for changes by role name (`primary`, `muted-foreground`), never by hex.
5. Default mode is **dark**: put `class="dark"` on `<html>`; light mode is the same file without the class. Use semantic names only (`bg-primary`, `text-muted-foreground`, `.btn-primary`, `var(--radius-lg)`); if a value is not in this file, it does not belong in the UI.

## 1. Overview & personality

Arcade Night is a cabinet in a dark room. The canvas is near-black purple, panels are stepped in two lighter purples, and the two neon colors, magenta for action and cyan for information, light only the edges: borders, focus rings and underlines. Silkscreen is the pixel voice for headings and scores; Chakra Petch carries every readable sentence so the retro feel never costs legibility. Corners are chamfered or square, never round, and the 2px glow edge on the active tile is the single recurring motif. Light mode is the daytime arcade, lavender floor, ink purple type and the same two hues darkened for contrast.

**At a glance**

- Aesthetic: Technical · Industry: Music & gaming · Default mode: dark
- Type: Silkscreen (display) · Chakra Petch (body) · Share Tech Mono (mono)
- Brand color (`primary`): `#c0118e` light · `#ff3fd0` dark, on primary, text is `#ffffff` / `#14041f`
- Corners: 0 / 2px / 4px / 8px · Container 1240px · Base motion 200ms

**Signature moves**

- Neon edge, not neon fill: 1px colored borders with a 12px same-hue glow on active and focused elements
- Silkscreen pixel headings at 40px and 56px; body in Chakra Petch so paragraphs stay readable
- Chamfered corners via 0 radius and a 6px clipped corner on cards and primary buttons
- Scores and timers in Silkscreen with zero-padded digits (007,420) and a subtle CRT scanline overlay at 4%
- Magenta means act (Play, Buy), cyan means info (rank, level, ping); never swap them

## 2. Color

Roles follow shadcn/ui naming, so `primary` is always the brand / main-action color and `foreground` is always body text. Every text pair below is WCAG AA (≥ 4.5:1) in both modes.

### Light mode (`:root`)

| Role | CSS variable | Value | Contrast | Usage |
|---|---|---|---|---|
| `background` | `--background` | `#f1edff` |  | Page canvas |
| `foreground` | `--foreground` | `#1b1033` | 15.66:1 on background | Body text and headings on background |
| `card` | `--card` | `#ffffff` |  | Cards, panels, popovers |
| `cardForeground` | `--card-foreground` | `#1b1033` | 17.97:1 on card | Text on card |
| `muted` | `--muted` | `#e4dcfb` |  | Subtle fills: table headers, code, skeletons |
| `mutedForeground` | `--muted-foreground` | `#58497e` | 5.97:1 on muted | Secondary text, captions, placeholders |
| `primary` | `--primary` | `#c0118e` |  | Brand color: primary buttons, links, focus, active states |
| `primaryForeground` | `--primary-foreground` | `#ffffff` | 5.66:1 on primary | Text and icons on primary |
| `secondary` | `--secondary` | `#d9f4f8` |  | Secondary buttons and quiet fills |
| `secondaryForeground` | `--secondary-foreground` | `#0b3f4a` | 10.00:1 on secondary | Text on secondary |
| `accent` | `--accent` | `#d0f3f7` |  | Hover and selected backgrounds (rows, menu items, ghost buttons) |
| `accentForeground` | `--accent-foreground` | `#0a4452` | 9.10:1 on accent | Text on accent |
| `border` | `--border` | `rgba(27,16,51,0.18)` |  | Dividers and card outlines |
| `input` | `--input` | `rgba(27,16,51,0.4)` |  | Input borders |
| `ring` | `--ring` | `#006f84` |  | Focus ring |
| `destructive` | `--destructive` | `#c42a33` |  | Errors and destructive actions |
| `destructiveForeground` | `--destructive-foreground` | `#ffffff` | 5.64:1 on destructive | Text on destructive |
| `success` | `--success` | `#0c7a3e` |  | Positive status |
| `successForeground` | `--success-foreground` | `#ffffff` | 5.43:1 on success | Text on success |
| `warning` | `--warning` | `#ffc21a` |  | Caution status |
| `warningForeground` | `--warning-foreground` | `#2a1d00` | 10.19:1 on warning | Text on warning |
| `chart-1…5` | `--chart-1…5` | `#c0118e` `#00a3bd` `#6a3de0` `#f2a50c` `#1ea45a` | | Data series, in this order |

### Dark mode (`.dark`)

| Role | CSS variable | Value | Contrast | Usage |
|---|---|---|---|---|
| `background` | `--background` | `#0a0618` |  | Page canvas |
| `foreground` | `--foreground` | `#f0eaff` | 17.03:1 on background | Body text and headings on background |
| `card` | `--card` | `#140d2c` |  | Cards, panels, popovers |
| `cardForeground` | `--card-foreground` | `#f0eaff` | 15.95:1 on card | Text on card |
| `muted` | `--muted` | `#1e1540` |  | Subtle fills: table headers, code, skeletons |
| `mutedForeground` | `--muted-foreground` | `#a99ccf` | 6.75:1 on muted | Secondary text, captions, placeholders |
| `primary` | `--primary` | `#ff3fd0` |  | Brand color: primary buttons, links, focus, active states |
| `primaryForeground` | `--primary-foreground` | `#14041f` | 6.44:1 on primary | Text and icons on primary |
| `secondary` | `--secondary` | `#1a2a4a` |  | Secondary buttons and quiet fills |
| `secondaryForeground` | `--secondary-foreground` | `#bdf6ff` | 12.07:1 on secondary | Text on secondary |
| `accent` | `--accent` | `#0e3a4a` |  | Hover and selected backgrounds (rows, menu items, ghost buttons) |
| `accentForeground` | `--accent-foreground` | `#7af3ff` | 9.34:1 on accent | Text on accent |
| `border` | `--border` | `rgba(122,243,255,0.2)` |  | Dividers and card outlines |
| `input` | `--input` | `rgba(122,243,255,0.4)` |  | Input borders |
| `ring` | `--ring` | `#2de6ff` |  | Focus ring |
| `destructive` | `--destructive` | `#ff5a6e` |  | Errors and destructive actions |
| `destructiveForeground` | `--destructive-foreground` | `#20040a` | 6.41:1 on destructive | Text on destructive |
| `success` | `--success` | `#43f08a` |  | Positive status |
| `successForeground` | `--success-foreground` | `#03200f` | 11.56:1 on success | Text on success |
| `warning` | `--warning` | `#ffd23a` |  | Caution status |
| `warningForeground` | `--warning-foreground` | `#2a1d00` | 11.40:1 on warning | Text on warning |
| `chart-1…5` | `--chart-1…5` | `#ff3fd0` `#2de6ff` `#a07bff` `#ffd23a` `#43f08a` | | Data series, in this order |

### System extras

| Variable | Light | Dark | Usage |
|---|---|---|---|
| `--scanlines` | `repeating-linear-gradient(0deg, rgba(27,16,51,0.04) 0 1px, transparent 1px 3px)` | `repeating-linear-gradient(0deg, rgba(240,234,255,0.04) 0 1px, transparent 1px 3px)` | CRT scanline overlay on hero and game art at 4% strength; never over body text |

## 3. Typography

Load fonts with:

```html
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Chakra+Petch:wght@400;500;600&family=Share+Tech+Mono&display=swap" />
```

| Role | Font | Size (390px → 1440px) | Line height | Weight | Tracking | Style | Class |
|---|---|---|---|---|---|---|---|
| `display` | Silkscreen | 31px → 56px | 1.1 | 700 | 0.01em | uppercase | `.type-display` |
| `h1` | Silkscreen | 27px → 40px | 1.15 | 700 | 0.01em | uppercase | `.type-h1` |
| `h2` | Silkscreen | 19px → 24px | 1.25 | 400 | 0.02em | uppercase | `.type-h2` |
| `h3` | Chakra Petch | 20px | 1.3 | 600 | 0.02em | – | `.type-h3` |
| `body` | Chakra Petch | 16px | 1.55 | 400 | 0.01em | – | `.type-body` |
| `small` | Chakra Petch | 14px | 1.5 | 400 | 0.01em | – | `.type-small` |
| `label` | Chakra Petch | 12px | 1.3 | 600 | 0.12em | uppercase | `.type-label` |
| `mono` | Share Tech Mono | 14px | 1.5 | 400 | 0.02em | – | `.type-mono` |

- `h1`–`h3` elements map to the roles of the same name; `display` is for one hero headline per page.
- Fluid sizes use `clamp()` between the two values (see `--type-*-size` in tokens.css).
- Only the weights in this table are loaded; never use other weights.

## 4. Spacing & layout

Spacing is a 4px scale. Use these steps only (`--space-N` = N × 4px):

| Token | `--space-1` | `--space-2` | `--space-3` | `--space-4` | `--space-6` | `--space-8` | `--space-12` | `--space-16` | `--space-24` | `--space-32` |
|---|---|---|---|---|---|---|---|---|---|---|
| px | 4 | 8 | 12 | 16 | 24 | 32 | 48 | 64 | 96 | 128 |

- Container: max 1240px, 20px side gutters (`.container`).
- Grid: 12 columns, 20px gap.
- Sections: 88px vertical padding on desktop, 52px on mobile (`.section`).
- Long text: max 60ch per line (`.prose`).
- Launcher shell: 88px icon rail, a 12-column tile grid, and a 360px friends panel that collapses below 1100px.
- Game tiles are 3:4 posters with a 2px neon edge on hover; the featured game spans 8 columns.
- Leaderboards use 44px rows with rank in cyan Silkscreen and the player name in Chakra Petch.

## 5. Shape & elevation

| Radius | Value | Use |
|---|---|---|
| `--radius-sm` | 0 | badges, checkboxes, small chips |
| `--radius-md` | 2px | buttons, inputs, tabs (= shadcn `--radius`) |
| `--radius-lg` | 4px | cards, panels, menus |
| `--radius-xl` | 8px | dialogs, hero media, large surfaces |
| `--radius-full` | 9999px | avatars, pills, toggles |

| Shadow | Mode | Value |
|---|---|---|
| `--shadow-sm` | light | `0 0 0 1px rgba(192,17,142,0.18)` |
| `--shadow-md` | light | `0 6px 20px -6px rgba(192,17,142,0.35)` |
| `--shadow-lg` | light | `0 24px 56px -16px rgba(106,61,224,0.45), 0 0 0 1px rgba(192,17,142,0.2)` |
| `--shadow-sm` | dark | `0 0 0 1px rgba(122,243,255,0.18)` |
| `--shadow-md` | dark | `0 0 16px -2px rgba(255,63,208,0.45), 0 0 0 1px rgba(255,63,208,0.5)` |
| `--shadow-lg` | dark | `0 0 40px -4px rgba(45,230,255,0.4), 0 0 0 1px rgba(45,230,255,0.5), 0 32px 64px -16px rgba(0,0,0,0.8)` |

`sm` = resting card · `md` = hover / raised · `lg` = dialogs and popovers. Nothing else casts a shadow.

## 6. Motion

**Insert coin.** Glow edges power on in steps: borders flicker once (opacity 0.6 to 1) over `base`, and tiles lift 8px with a stepped `out` curve like frames of a sprite. Page loads show a stepped progress bar instead of a spinner.

| Token | Value | Use |
|---|---|---|
| `--duration-instant` | 60ms | press feedback, toggles |
| `--duration-fast` | 120ms | hover, focus, color changes |
| `--duration-base` | 200ms | menus, tabs, popovers, cards lifting |
| `--duration-slow` | 400ms | dialogs and scroll reveals |
| `--ease-standard` | `cubic-bezier(0.4, 0, 0.2, 1)` | state changes |
| `--ease-out` | `steps(6, end)` | entrances and reveals |
| `--ease-in` | `cubic-bezier(0.6, 0, 1, 1)` | exits |

- Scroll reveal (`.reveal` → `.reveal.is-in` via IntersectionObserver): rise 8px and fade over `--duration-slow` with `--ease-out`; siblings stagger by 50ms (`--reveal-index`).
- Use no durations other than the four above.
- `prefers-reduced-motion: reduce` → no transforms, reveals show immediately (included in tokens.css).

## 7. Components

Every component reads only variables from section 10, so light and dark mode work with no extra code. These are the exact rules (also in `https://freedesignmd.com/system/arcade-night.css`). In React/shadcn projects, put the same declarations on the matching shadcn component variants.

### Button

```html
<button class="btn btn-primary">Save</button>  <!-- btn-secondary · btn-outline · btn-ghost -->
```

```css
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 85%, white);
  filter: drop-shadow(0 0 8px var(--primary));
}
.btn-primary:active:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 80%, black);
  transform: translateY(2px);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-secondary:active:not(:disabled) {
  background: var(--muted);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 16%, transparent);
  filter: drop-shadow(0 0 6px var(--primary));
}
.btn-outline:active:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 28%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-ghost:active:not(:disabled) {
  background: var(--secondary);
}
.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
}
```

### Input

```html
<input class="input" placeholder="you@company.com" />  <!-- aria-invalid="true" for errors -->
```

```css
.input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: 0;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}
.input::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}
.input:hover:not(:disabled):not(:focus) {
  border-color: var(--ring);
}
.input:focus, .input:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring), 0 0 14px -2px var(--ring);
}
.input[aria-invalid="true"] {
  border-color: var(--destructive);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 22%, transparent);
}
.input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--muted);
}
```

### Card

```html
<article class="card">…</article>  <!-- add card-interactive when the whole card is a link -->
```

```css
.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), background-color var(--duration-base) var(--ease-out);
}
.card-interactive:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
```

### Badge

```html
<span class="badge badge-soft" data-tone="success">Paid</span>  <!-- badge-solid · badge-outline; tones: primary (default) · success · warning · destructive -->
```

```css
.badge {
  --tone: var(--primary);
  --tone-foreground: var(--primary-foreground);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.badge[data-tone="success"] {
  --tone: var(--success);
  --tone-foreground: var(--success-foreground);
}
.badge[data-tone="warning"] {
  --tone: var(--warning);
  --tone-foreground: var(--warning-foreground);
}
.badge[data-tone="destructive"] {
  --tone: var(--destructive);
  --tone-foreground: var(--destructive-foreground);
}
.badge-solid {
  background: var(--tone);
  color: var(--tone-foreground);
  border: 1px solid var(--tone);
}
.badge-soft {
  background: color-mix(in oklab, var(--tone) 22%, var(--card));
  color: var(--foreground);
  border: 1px solid color-mix(in oklab, var(--tone) 38%, transparent);
}
.badge-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
```

### Navigation bar

```html
<nav class="nav"><a class="nav-link" aria-current="page">Home</a><a class="nav-link">Docs</a></nav>
```

```css
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 60px;
  padding: 0 24px;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-link {
  padding: 6px 2px;
  margin: 0 10px;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.nav-link:hover {
  color: var(--foreground);
  border-bottom-color: var(--border);
}
.nav-link[aria-current="page"] {
  color: var(--foreground);
  border-bottom-color: var(--primary);
}
```

### Tabs

```html
<div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Overview</button>…</div>
```

```css
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}
.tab {
  height: 40px;
  padding: 0;
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.tab:hover:not([aria-selected="true"]) {
  color: var(--foreground);
}
.tab[aria-selected="true"] {
  color: var(--foreground);
  border-bottom-color: var(--primary);
}
```

### Table

```html
<table class="table"><thead><tr><th>…</th></tr></thead><tbody><tr><td>…</td></tr></tbody></table>
```

```css
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.table th {
  text-align: left;
  height: 40px;
  padding: 0 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--muted);
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}
.table td {
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  transition: background-color var(--duration-fast) var(--ease-standard);
}
.table tbody tr:hover td {
  background: var(--accent);
  color: var(--accent-foreground);
}
```

### Dialog / modal

```html
<div class="dialog-overlay"><div class="dialog" role="dialog" aria-modal="true">…</div></div>
```

```css
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,2,14,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.dialog {
  width: min(520px, 100%);
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
```

### Text link

```html
<a class="link" href="…">Read more</a>
```

```css
.link {
  color: var(--ring);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--ring) 50%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-standard), text-decoration-color var(--duration-fast) var(--ease-standard);
}
.link:hover {
  text-decoration-color: var(--ring);
}
```

## 8. Imagery & iconography

**Imagery.** Key art is the imagery: vertical game posters, character renders and screenshots on the dark canvas, with a 2px neon edge on hover and a 4% scanline overlay. Banners may use pixel-art dithering and low-resolution sprites scaled with nearest-neighbor. Avoid photography of people holding controllers.

**Icons.** 20px pixel-grid icons drawn on a 10x10 grid with square caps, 2px stroke: joystick, coin, trophy, heart, lightning bolt. Active state fills the glyph in cyan; action glyphs are magenta.

## 9. Do / Don't

**Do**

- Use magenta `primary` for actions (Play, Buy, Join) and cyan `ring` for information (rank, level, ping)
- Set headings, scores and timers in Silkscreen uppercase; keep every sentence in Chakra Petch
- Light only the edges: a 1px neon border plus a same-hue glow on active and focused elements
- Keep corners square or chamfered at 8px; round only avatars and status dots
- Zero-pad scores and ranks (007,420) and align them in mono

**Don't**

- Don't set paragraphs in Silkscreen; it is a pixel face for short strings only
- Don't fill large areas with neon; the surface stays dark purple
- Don't put the scanline overlay over text blocks or forms
- Don't use more than one glowing element per row of tiles
- Don't mix magenta and cyan on the same control

## 10. tokens.css

Drop-in, shadcn/ui-compatible. Works with Tailwind v4 as-is (the `@theme inline` block creates `bg-primary`, `text-muted-foreground`, `font-heading`, `text-display`, `rounded-ui-lg`, `shadow-ui-md`…). Plain CSS projects can ignore the `@theme` block.

```css
/* Arcade Night, tokens.css
 * https://freedesignmd.com/system/arcade-night
 * shadcn/ui-compatible variables. Light on :root, dark on .dark.
 * Default mode: dark, add class="dark" to <html>.
 */
@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Chakra+Petch:wght@400;500;600&family=Share+Tech+Mono&display=swap");

:root {
  --font-display: "Silkscreen", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-sans: "Chakra Petch", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --type-display-size: clamp(31px, 21.71px + 2.381vw, 56px);
  --type-display-leading: 1.1;
  --type-display-weight: 700;
  --type-display-tracking: 0.01em;
  --type-h1-size: clamp(27px, 22.17px + 1.238vw, 40px);
  --type-h1-leading: 1.15;
  --type-h1-weight: 700;
  --type-h1-tracking: 0.01em;
  --type-h2-size: clamp(19px, 17.14px + 0.476vw, 24px);
  --type-h2-leading: 1.25;
  --type-h2-weight: 400;
  --type-h2-tracking: 0.02em;
  --type-h3-size: 20px;
  --type-h3-leading: 1.3;
  --type-h3-weight: 600;
  --type-h3-tracking: 0.02em;
  --type-body-size: 16px;
  --type-body-leading: 1.55;
  --type-body-weight: 400;
  --type-body-tracking: 0.01em;
  --type-small-size: 14px;
  --type-small-leading: 1.5;
  --type-small-weight: 400;
  --type-small-tracking: 0.01em;
  --type-label-size: 12px;
  --type-label-leading: 1.3;
  --type-label-weight: 600;
  --type-label-tracking: 0.12em;
  --type-mono-size: 14px;
  --type-mono-leading: 1.5;
  --type-mono-weight: 400;
  --type-mono-tracking: 0.02em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --radius: 2px;
  --radius-sm: 0;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-xl: 8px;
  --radius-full: 9999px;
  --duration-instant: 60ms;
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 400ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: steps(6, end);
  --ease-in: cubic-bezier(0.6, 0, 1, 1);
  --reveal-distance: 8px;
  --reveal-stagger: 50ms;
  --container-max: 1240px;
  --gutter: 20px;
  --section-y: 88px;
  --section-y-mobile: 52px;
  --measure: 60ch;
  --background: #f1edff;
  --foreground: #1b1033;
  --card: #ffffff;
  --card-foreground: #1b1033;
  --muted: #e4dcfb;
  --muted-foreground: #58497e;
  --primary: #c0118e;
  --primary-foreground: #ffffff;
  --secondary: #d9f4f8;
  --secondary-foreground: #0b3f4a;
  --accent: #d0f3f7;
  --accent-foreground: #0a4452;
  --border: rgba(27,16,51,0.18);
  --input: rgba(27,16,51,0.4);
  --ring: #006f84;
  --destructive: #c42a33;
  --destructive-foreground: #ffffff;
  --success: #0c7a3e;
  --success-foreground: #ffffff;
  --warning: #ffc21a;
  --warning-foreground: #2a1d00;
  --chart-1: #c0118e;
  --chart-2: #00a3bd;
  --chart-3: #6a3de0;
  --chart-4: #f2a50c;
  --chart-5: #1ea45a;
  --shadow-sm: 0 0 0 1px rgba(192,17,142,0.18);
  --shadow-md: 0 6px 20px -6px rgba(192,17,142,0.35);
  --shadow-lg: 0 24px 56px -16px rgba(106,61,224,0.45), 0 0 0 1px rgba(192,17,142,0.2);
  --scanlines: repeating-linear-gradient(0deg, rgba(27,16,51,0.04) 0 1px, transparent 1px 3px);
}

.dark {
  --background: #0a0618;
  --foreground: #f0eaff;
  --card: #140d2c;
  --card-foreground: #f0eaff;
  --muted: #1e1540;
  --muted-foreground: #a99ccf;
  --primary: #ff3fd0;
  --primary-foreground: #14041f;
  --secondary: #1a2a4a;
  --secondary-foreground: #bdf6ff;
  --accent: #0e3a4a;
  --accent-foreground: #7af3ff;
  --border: rgba(122,243,255,0.2);
  --input: rgba(122,243,255,0.4);
  --ring: #2de6ff;
  --destructive: #ff5a6e;
  --destructive-foreground: #20040a;
  --success: #43f08a;
  --success-foreground: #03200f;
  --warning: #ffd23a;
  --warning-foreground: #2a1d00;
  --chart-1: #ff3fd0;
  --chart-2: #2de6ff;
  --chart-3: #a07bff;
  --chart-4: #ffd23a;
  --chart-5: #43f08a;
  --shadow-sm: 0 0 0 1px rgba(122,243,255,0.18);
  --shadow-md: 0 0 16px -2px rgba(255,63,208,0.45), 0 0 0 1px rgba(255,63,208,0.5);
  --shadow-lg: 0 0 40px -4px rgba(45,230,255,0.4), 0 0 0 1px rgba(45,230,255,0.5), 0 32px 64px -16px rgba(0,0,0,0.8);
  --scanlines: repeating-linear-gradient(0deg, rgba(240,234,255,0.04) 0 1px, transparent 1px 3px);
}

/* Tailwind v4: utilities like bg-primary, text-muted-foreground, font-heading, text-display, rounded-ui-lg, shadow-ui-md */
@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-success: var(--success);
  --color-success-foreground: var(--success-foreground);
  --color-warning: var(--warning);
  --color-warning-foreground: var(--warning-foreground);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --font-heading: var(--font-display);
  --font-body: var(--font-sans);
  --font-code: var(--font-mono);
  --radius-ui-sm: var(--radius-sm);
  --radius-ui-md: var(--radius-md);
  --radius-ui-lg: var(--radius-lg);
  --radius-ui-xl: var(--radius-xl);
  --text-display: var(--type-display-size);
  --text-display--line-height: var(--type-display-leading);
  --text-display--letter-spacing: var(--type-display-tracking);
  --text-display--font-weight: var(--type-display-weight);
  --text-h1: var(--type-h1-size);
  --text-h1--line-height: var(--type-h1-leading);
  --text-h1--letter-spacing: var(--type-h1-tracking);
  --text-h1--font-weight: var(--type-h1-weight);
  --text-h2: var(--type-h2-size);
  --text-h2--line-height: var(--type-h2-leading);
  --text-h2--letter-spacing: var(--type-h2-tracking);
  --text-h2--font-weight: var(--type-h2-weight);
  --text-h3: var(--type-h3-size);
  --text-h3--line-height: var(--type-h3-leading);
  --text-h3--letter-spacing: var(--type-h3-tracking);
  --text-h3--font-weight: var(--type-h3-weight);
  --text-body: var(--type-body-size);
  --text-body--line-height: var(--type-body-leading);
  --text-body--letter-spacing: var(--type-body-tracking);
  --text-body--font-weight: var(--type-body-weight);
  --text-small: var(--type-small-size);
  --text-small--line-height: var(--type-small-leading);
  --text-small--letter-spacing: var(--type-small-tracking);
  --text-small--font-weight: var(--type-small-weight);
  --text-label: var(--type-label-size);
  --text-label--line-height: var(--type-label-leading);
  --text-label--letter-spacing: var(--type-label-tracking);
  --text-label--font-weight: var(--type-label-weight);
  --text-mono: var(--type-mono-size);
  --text-mono--line-height: var(--type-mono-leading);
  --text-mono--letter-spacing: var(--type-mono-tracking);
  --text-mono--font-weight: var(--type-mono-weight);
  --shadow-ui-sm: var(--shadow-sm);
  --shadow-ui-md: var(--shadow-md);
  --shadow-ui-lg: var(--shadow-lg);
}

@layer base {
  body {
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: var(--type-body-size);
    line-height: var(--type-body-leading);
    font-weight: var(--type-body-weight);
    letter-spacing: var(--type-body-tracking);
    -webkit-font-smoothing: antialiased;
  }
  .type-display {
    font-family: var(--font-display);
    font-size: var(--type-display-size);
    line-height: var(--type-display-leading);
    font-weight: var(--type-display-weight);
    letter-spacing: var(--type-display-tracking);
    text-transform: uppercase;
  }
  .type-h1 {
    font-family: var(--font-display);
    font-size: var(--type-h1-size);
    line-height: var(--type-h1-leading);
    font-weight: var(--type-h1-weight);
    letter-spacing: var(--type-h1-tracking);
    text-transform: uppercase;
  }
  .type-h2 {
    font-family: var(--font-display);
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-leading);
    font-weight: var(--type-h2-weight);
    letter-spacing: var(--type-h2-tracking);
    text-transform: uppercase;
  }
  .type-h3 {
    font-family: var(--font-sans);
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-leading);
    font-weight: var(--type-h3-weight);
    letter-spacing: var(--type-h3-tracking);
  }
  .type-body {
    font-family: var(--font-sans);
    font-size: var(--type-body-size);
    line-height: var(--type-body-leading);
    font-weight: var(--type-body-weight);
    letter-spacing: var(--type-body-tracking);
  }
  .type-small {
    font-family: var(--font-sans);
    font-size: var(--type-small-size);
    line-height: var(--type-small-leading);
    font-weight: var(--type-small-weight);
    letter-spacing: var(--type-small-tracking);
  }
  .type-label {
    font-family: var(--font-sans);
    font-size: var(--type-label-size);
    line-height: var(--type-label-leading);
    font-weight: var(--type-label-weight);
    letter-spacing: var(--type-label-tracking);
    text-transform: uppercase;
  }
  .type-mono {
    font-family: var(--font-mono);
    font-size: var(--type-mono-size);
    line-height: var(--type-mono-leading);
    font-weight: var(--type-mono-weight);
    letter-spacing: var(--type-mono-tracking);
  }
  h1 {
    font-family: var(--font-display);
    font-size: var(--type-h1-size);
    line-height: var(--type-h1-leading);
    font-weight: var(--type-h1-weight);
    letter-spacing: var(--type-h1-tracking);
    text-transform: uppercase;
  }
  h2 {
    font-family: var(--font-display);
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-leading);
    font-weight: var(--type-h2-weight);
    letter-spacing: var(--type-h2-tracking);
    text-transform: uppercase;
  }
  h3 {
    font-family: var(--font-sans);
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-leading);
    font-weight: var(--type-h3-weight);
    letter-spacing: var(--type-h3-tracking);
  }
  code, kbd, samp, pre {
    font-family: var(--font-mono);
  }
  ::selection {
    background: var(--primary);
    color: var(--primary-foreground);
  }
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .section {
    padding-block: var(--section-y);
  }
  .prose {
    max-width: var(--measure);
  }
  .reveal {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
    transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  }
}
```

Tailwind v3:

```js
// tailwind.config.js, Tailwind v3 (v4 users: the @theme block in tokens.css does this)
module.exports = {
  darkMode: "class",
  theme: {
    extend: {
      colors: {
        "background": "var(--background)",
        "foreground": "var(--foreground)",
        "card": { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },
        "muted": { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },
        "primary": { DEFAULT: "var(--primary)", foreground: "var(--primary-foreground)" },
        "secondary": { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },
        "accent": { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },
        "border": "var(--border)",
        "input": "var(--input)",
        "ring": "var(--ring)",
        "destructive": { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },
        "success": { DEFAULT: "var(--success)", foreground: "var(--success-foreground)" },
        "warning": { DEFAULT: "var(--warning)", foreground: "var(--warning-foreground)" },
        chart: { 1: "var(--chart-1)", 2: "var(--chart-2)", 3: "var(--chart-3)", 4: "var(--chart-4)", 5: "var(--chart-5)" },
      },
      fontFamily: { heading: ["var(--font-display)"], body: ["var(--font-sans)"], code: ["var(--font-mono)"] },
      borderRadius: { "ui-sm": "var(--radius-sm)", "ui-md": "var(--radius-md)", "ui-lg": "var(--radius-lg)", "ui-xl": "var(--radius-xl)" },
      boxShadow: { "ui-sm": "var(--shadow-sm)", "ui-md": "var(--shadow-md)", "ui-lg": "var(--shadow-lg)" },
      transitionDuration: { instant: "var(--duration-instant)", fast: "var(--duration-fast)", base: "var(--duration-base)", slow: "var(--duration-slow)" },
      transitionTimingFunction: { standard: "var(--ease-standard)", out: "var(--ease-out)", in: "var(--ease-in)" },
      maxWidth: { container: "var(--container-max)", measure: "var(--measure)" },
    },
  },
};
```

Dependencies: `lucide-react`
