---
version: alpha
name: "Cyberpunk UI (RTL)"
description: "A future city at night: neon yellow and magenta on near-black, diagonally clipped corners and broken glitch headings. Aggressive, techy and full of energy."
colors:
  primary: "#FCEE0A"
  on-primary: "#0A0A0F"
  secondary: "#FF2BD6"
  on-secondary: "#0A0A0F"
  neutral: "#0A0A0F"
  surface: "#14141C"
  surface-variant: "#1E1E2A"
  on-surface: "#F2F2F7"
  on-surface-variant: "#B4B4C6"
  outline: "#3A3550"
  success: "#00F0A0"
  warning: "#FCEE0A"
  error: "#FF4D6D"
typography:
  display-lg:
    fontFamily: "Rubik Glitch"
    fontSize: 59px
    fontWeight: 400
    lineHeight: 1.1
  headline-lg:
    fontFamily: "Rubik Glitch"
    fontSize: 46px
    fontWeight: 400
    lineHeight: 1.1
  headline-md:
    fontFamily: "Rubik Glitch"
    fontSize: 35px
    fontWeight: 400
    lineHeight: 1.2
  title-md:
    fontFamily: "Rubik Glitch"
    fontSize: 27px
    fontWeight: 400
    lineHeight: 1.25
  body-lg:
    fontFamily: "Rubik"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.6
  body-md:
    fontFamily: "Rubik"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.6
  label-md:
    fontFamily: "Rubik"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 0px
  md: 0px
  lg: 0px
  button: 0px
  input: 0px
  full: 999px
spacing:
  xs: 3px
  sm: 6px
  md: 13px
  lg: 19px
  xl: 38px
motion:
  standard:
    duration: 120ms
    timingFunction: "cubic-bezier(0.7, 0, 0.3, 1)"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.button}"
    height: 44px
    padding: 19px
  button-secondary:
    backgroundColor: "{colors.surface-variant}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.button}"
    height: 44px
  button-accent:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-secondary}"
    rounded: "{rounded.button}"
    height: 44px
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.lg}"
    padding: 19px
  input:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.input}"
    height: 44px
  badge:
    backgroundColor: "{colors.surface-variant}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.full}"
---

# Cyberpunk UI — Hebrew / RTL design system

## Overview

A future city at night: neon yellow and magenta on near-black, diagonally clipped corners and broken glitch headings. Aggressive, techy and full of energy.

This interface is **Hebrew-first and right-to-left**. Every screen is built with `<html lang="he" dir="rtl">` and logical CSS properties, so layout, icons, numbers and forms behave correctly in Hebrew. Best for: gaming and esports, tech product launches, events and parties.

## Colors

A dark theme: the page background is the darkest layer; surfaces get lighter as they come forward.

- **Primary (#FCEE0A):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #0A0A0F.
- **Secondary / accent (#FF2BD6):** highlights, badges, the one featured card per screen. Text on it is #0A0A0F.
- **Neutral / background (#0A0A0F):** the page itself (with a decorative background: `linear-gradient(135deg, rgba(252,238,10,0.06) 0 12%, transparent 12%), repeating-linear-gradient(0deg, rgba(255,43,214,0.035) 0 1px, transparent 1px 3px), radial-gradient(900px 600px at 100% 0%, rgba(255,43,214,0.16), transparent 60%)`).
- **Surface (#14141C) and surface-variant (#1E1E2A):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#F2F2F7) and on-surface-variant (#B4B4C6):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#3A3550):** borders and dividers.
- **Status:** success #00F0A0, warning #FCEE0A, error #FF4D6D.

## Typography

- **Display / headings:** Rubik Glitch, weight 400.
- **Body:** Rubik, weight 400, line-height 1.6.
- **Mono:** Cousine (Latin only — Hebrew inside mono text falls back to Rubik).
- Scale (ratio 1.3): 59px / 46px / 35px / 27px / 21px / 16px / 14px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Rubik+Glitch&family=Rubik:wght@400;500;700&family=Cousine:wght@400;700&display=swap`

## Layout

- Density: **compact**. Spacing scale: 3px, 6px, 10px, 13px, 19px, 26px, 38px, 58px.
- Content max width about 1180px; generous outer padding on desktop, 16px on mobile.
- Sidebars and navigation start on the **right** (inline-start). The primary action in a row sits at the inline-start or is visually dominant; secondary actions follow it.
- Clip one corner of every card and button at 45°, put IDs and numbers in Cousine, and save Rubik Glitch for the main heading.

## Elevation & Depth

- Card shadow: `inset 0 0 0 1px rgba(252,238,10,0.10)`
- Raised / hover shadow: `inset 0 0 0 1px rgba(255,43,214,0.55), inset 0 0 24px rgba(255,43,214,0.25)`
- Button shadow: `none`; on hover `inset 0 0 0 2px #0A0A0F, inset 0 0 0 4px #FF2BD6`
- Clipped corners cut off outer shadows, so depth is drawn inside: a magenta inner rim on hover. Every card and button loses one 45° corner, mirrored for RTL.

## Shapes

- Corner radius: small 0px, medium 0px, large 0px (cards). Buttons 0px, inputs 0px. Pills and badges are fully rounded.
- Border: 1px solid in the outline color.

## Motion & Micro-interaction

- Duration 120ms, easing `cubic-bezier(0.7, 0, 0.3, 1)`.
- Hover behaviour: **glow** (a soft glow appears, no movement).
- Respect `prefers-reduced-motion`: drop all transitions.

## Voice & Content Strategy

- All UI copy is Hebrew. Short, direct, second person plural or neutral (`התחילו`, `שמירה`), no English loanwords where a common Hebrew word exists.
- Buttons are verbs or verbal nouns: `שמירה`, `המשך לתשלום`, `הוספה לעגלה`.
- Error messages say what to do: `מספר טלפון צריך 10 ספרות, למשל 050-1234567`.

## Components

- **Buttons:** primary (filled primary), accent (filled secondary — at most one per view), secondary (surface-variant with outline), ghost (text only). Min height 44px. Directional icons inside buttons are mirrored.
- **Cards:** surface, outline border, large radius, card shadow. One card per screen may use the primary or accent fill to feature something.
- **Inputs:** surface background, outline border, medium radius, 44px. Focus: primary border plus a 3px primary ring at 30% opacity. Invalid: error border plus a message below in the error color.
- **Badges:** pill, small, bold. Status badges are a tinted background with a colored dot, never color alone.
- **Tables:** header row in muted small text, row dividers, numeric columns end-aligned with tabular LTR numbers.
- **Navigation:** sidebar on the right; active item tinted with primary at 12% and primary text.

## Do's and Don'ts

- Do use neon yellow for actions and magenta for highlights, on black.
- Do clip one corner of each card and button at 45°, mirrored in RTL.
- Do use Rubik Glitch for the main heading only.
- Do put numbers and codes in Cousine, which has Hebrew glyphs.
- Don't use matrix green — that is Retro Terminal.
- Don't use the glitch font for body text or inputs.
- Don't use flicker or looping glitch animations.

## RTL & Hebrew Rules

- Set `<html lang="he" dir="rtl">` at the root. Never mirror the layout manually with `flex-direction: row-reverse` or `float: right`.
- Use logical CSS only: `margin-inline-start/end`, `padding-inline`, `inset-inline-start`, `border-inline-start`, `text-align: start/end`. In Tailwind: `ms-* me-* ps-* pe-* start-* end-* text-start text-end`, never `ml/mr/pl/pr/left/right`.
- Directional icons (arrows, chevrons, "next", "back", send) are mirrored with `transform: scaleX(-1)` under `[dir="rtl"]`. Non-directional icons (search, bell, cart, check) are never mirrored.
- Numbers, prices, phone numbers, IDs, codes and dates keep LTR order: wrap them in `<bdi>` or a span with `direction: ltr; unicode-bidi: isolate`. Use tabular numbers in tables.
- Currency: shekel sign before the number with no space — `₪1,240` — or after with a space — `1,240 ₪`. Pick one and keep it consistent. Thousands separator is a comma.
- Dates are `DD/MM/YYYY` (02/12/2026). Show the Hebrew date next to it when the audience is religious or institutional (e.g. כ״ב בכסלו תשפ״ז).
- Phone, email, URL and ID inputs get `dir="ltr"` but stay right-aligned inside the RTL form. Israeli mobile format: `050-1234567`.
- Hebrew has no capital letters: never rely on `text-transform: uppercase` for hierarchy — use weight, size and color. Avoid letter-spacing on Hebrew body text.
- Hebrew needs a slightly larger line-height than Latin (1.6–1.75 for body). Use a font that really contains Hebrew glyphs; never let Hebrew fall back to a system font next to a Latin web font.
- Gershayim and geresh are real characters: ״ and ׳ (מע״מ, ח״פ, יום ד׳), not straight quotes.
- Tables: first column is on the right; numeric columns align to the end (left). Sidebars sit on the right (inline-start). Breadcrumbs read right-to-left with a mirrored chevron.
- Charts keep the time axis running right-to-left only if the product does so everywhere; otherwise keep chart axes LTR and say so — be consistent.

## Reference CSS

Drop this into the project (or use `theme.css` from the same page, which also contains ready component classes such as `.rs-btn`, `.rs-card`, `.rs-input`).

```css
@import url("https://fonts.googleapis.com/css2?family=Rubik+Glitch&family=Rubik:wght@400;500;700&family=Cousine:wght@400;700&display=swap");

:root {
  --rs-bg: #0A0A0F;
  --rs-bg-image: linear-gradient(135deg, rgba(252,238,10,0.06) 0 12%, transparent 12%), repeating-linear-gradient(0deg, rgba(255,43,214,0.035) 0 1px, transparent 1px 3px), radial-gradient(900px 600px at 100% 0%, rgba(255,43,214,0.16), transparent 60%);
  --rs-surface: #14141C;
  --rs-surface-2: #1E1E2A;
  --rs-text: #F2F2F7;
  --rs-text-muted: #B4B4C6;
  --rs-primary: #FCEE0A;
  --rs-on-primary: #0A0A0F;
  --rs-accent: #FF2BD6;
  --rs-on-accent: #0A0A0F;
  --rs-border: #3A3550;
  --rs-success: #00F0A0;
  --rs-warning: #FCEE0A;
  --rs-danger: #FF4D6D;
  --rs-focus: #00E5FF;
  --rs-font-display: "Rubik Glitch", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "Cousine", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 400;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.1;
  --rs-line: 1.6;
  --rs-text-display: 59px;
  --rs-text-h1: 46px;
  --rs-text-h2: 35px;
  --rs-text-h3: 27px;
  --rs-text-lg: 21px;
  --rs-text-base: 16px;
  --rs-text-sm: 14px;
  --rs-text-xs: 12px;
  --rs-radius-sm: 0px;
  --rs-radius-md: 0px;
  --rs-radius-lg: 0px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 0px;
  --rs-input-radius: 0px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: inset 0 0 0 1px rgba(252,238,10,0.10);
  --rs-shadow-raised: inset 0 0 0 1px rgba(255,43,214,0.55), inset 0 0 24px rgba(255,43,214,0.25);
  --rs-shadow-button: none;
  --rs-shadow-button-hover: inset 0 0 0 2px #0A0A0F, inset 0 0 0 4px #FF2BD6;
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 120ms;
  --rs-easing: cubic-bezier(0.7, 0, 0.3, 1);
  --rs-hover-transform: none;
  --rs-icon-stroke: 2;
  --rs-space-1: 3px;
  --rs-space-2: 6px;
  --rs-space-3: 10px;
  --rs-space-4: 13px;
  --rs-space-5: 19px;
  --rs-space-6: 26px;
  --rs-space-7: 38px;
  --rs-space-8: 58px;
}

/* style-specific details (selectors are from theme.css) */
.rs-card{--cut:14px}
.rs-btn{--cut:10px}
.rs-card,.rs-btn{clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,var(--cut) 100%,0 calc(100% - var(--cut)))}
[dir="rtl"] .rs-card,[dir="rtl"] .rs-btn{clip-path:polygon(var(--cut) 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%,0 var(--cut))}
.rs-card{border-inline-start:3px solid var(--rs-primary)}
.rs-app h1,.rs-app .rs-display{color:var(--rs-primary);text-shadow:-2px 2px 0 rgba(255,43,214,0.7)}
```

## Credits

Adapted to Hebrew / RTL from UI UX Pro Max (https://github.com/nextlevelbuilder/ui-ux-pro-max-skill), MIT license.
