---
version: alpha
name: "3D & Hyperrealism (RTL)"
description: "Glossy elements with deep, multi-layer shadows on a midnight-blue stage. Gleaming gold and silver and a cinematic sense of real depth."
colors:
  primary: "#F2C94C"
  on-primary: "#1A1205"
  secondary: "#C9D3E0"
  on-secondary: "#08121F"
  neutral: "#08121F"
  surface: "#12223A"
  surface-variant: "#1A2F4E"
  on-surface: "#F3F6FB"
  on-surface-variant: "#B3C3DA"
  outline: "#FFFFFF1A"
  success: "#4ADE80"
  warning: "#FBBF24"
  error: "#FF8F8F"
typography:
  display-lg:
    fontFamily: "Karantina"
    fontSize: 67px
    fontWeight: 700
    lineHeight: 1.05
  headline-lg:
    fontFamily: "Karantina"
    fontSize: 50px
    fontWeight: 700
    lineHeight: 1.05
  headline-md:
    fontFamily: "Karantina"
    fontSize: 38px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Karantina"
    fontSize: 28px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.65
  body-md:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.65
  label-md:
    fontFamily: "Noto Sans Hebrew"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 8px
  md: 12px
  lg: 18px
  button: 12px
  input: 12px
  full: 999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 48px
motion:
  standard:
    duration: 360ms
    timingFunction: "cubic-bezier(0.2, 0.9, 0.25, 1)"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.button}"
    height: 44px
    padding: 24px
  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: 24px
  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}"
---

# 3D & Hyperrealism — Hebrew / RTL design system

## Overview

Glossy elements with deep, multi-layer shadows on a midnight-blue stage. Gleaming gold and silver and a cinematic sense of real depth.

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: product launches and showcases, games and gaming, luxury and jewelry.

## Colors

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

- **Primary (#F2C94C):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #1A1205.
- **Secondary / accent (#C9D3E0):** highlights, badges, the one featured card per screen. Text on it is #08121F.
- **Neutral / background (#08121F):** the page itself (with a decorative background: `radial-gradient(900px 520px at 85% -5%, rgba(242,201,76,0.18), transparent 60%), radial-gradient(800px 600px at 10% 105%, rgba(60,110,200,0.28), transparent 60%), linear-gradient(to bottom, #0B1830, #06101B)`).
- **Surface (#12223A) and surface-variant (#1A2F4E):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#F3F6FB) and on-surface-variant (#B3C3DA):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#FFFFFF1A):** borders and dividers.
- **Status:** success #4ADE80, warning #FBBF24, error #FF8F8F.

## Typography

- **Display / headings:** Karantina, weight 700.
- **Body:** Noto Sans Hebrew, weight 400, line-height 1.65.
- Scale (ratio 1.33): 67px / 50px / 38px / 28px / 21px / 16px / 14px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Karantina:wght@400;700&family=Noto+Sans+Hebrew:wght@400;500;600&display=swap`

## Layout

- Density: **comfortable**. Spacing scale: 4px, 8px, 12px, 16px, 24px, 32px, 48px, 72px.
- 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.
- Use one hero object or card cluster as the stage and let everything else recede into the dark background.

## Elevation & Depth

- Card shadow: `inset -1px 1px 0 rgba(255,255,255,0.10), -2px 3px 4px rgba(0,0,0,0.30), -8px 12px 20px rgba(0,0,0,0.35), -24px 36px 60px rgba(0,0,0,0.45)`
- Raised / hover shadow: `inset -1px 1px 0 rgba(255,255,255,0.14), -3px 4px 6px rgba(0,0,0,0.35), -12px 18px 30px rgba(0,0,0,0.40), -36px 54px 90px rgba(0,0,0,0.55)`
- Button shadow: `inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -3px 6px rgba(120,80,0,0.35), -3px 6px 14px rgba(0,0,0,0.5), 0 0 24px rgba(242,201,76,0.18)`; on hover `inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -3px 6px rgba(120,80,0,0.35), -5px 10px 22px rgba(0,0,0,0.55), 0 0 36px rgba(242,201,76,0.32)`
- Shadows are stacked in three or four layers (contact, mid, ambient) that all fall down-left; surfaces carry a glossy top-right sheen and buttons a specular top edge.

## Shapes

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

## Motion & Micro-interaction

- Duration 360ms, easing `cubic-bezier(0.2, 0.9, 0.25, 1)`.
- Hover behaviour: **lift** (cards and buttons rise 2px).
- 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 layer shadows — contact, mid and ambient.
- Do add a glossy sheen on the top-right of every surface.
- Do use gold for the primary action and silver for the secondary one.
- Do slow motion down for weight — 300–400ms.
- Don't give every element the same depth — hierarchy disappears.
- Don't place long text on a glossy surface.
- Don't use it for forms and data-heavy systems.

## 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=Karantina:wght@400;700&family=Noto+Sans+Hebrew:wght@400;500;600&display=swap");

:root {
  --rs-bg: #08121F;
  --rs-bg-image: radial-gradient(900px 520px at 85% -5%, rgba(242,201,76,0.18), transparent 60%), radial-gradient(800px 600px at 10% 105%, rgba(60,110,200,0.28), transparent 60%), linear-gradient(to bottom, #0B1830, #06101B);
  --rs-surface: #12223A;
  --rs-surface-2: #1A2F4E;
  --rs-text: #F3F6FB;
  --rs-text-muted: #B3C3DA;
  --rs-primary: #F2C94C;
  --rs-on-primary: #1A1205;
  --rs-accent: #C9D3E0;
  --rs-on-accent: #08121F;
  --rs-border: rgba(255,255,255,0.10);
  --rs-success: #4ADE80;
  --rs-warning: #FBBF24;
  --rs-danger: #FF8F8F;
  --rs-focus: #FFE08A;
  --rs-font-display: "Karantina", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Noto Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Noto Sans Hebrew", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.05;
  --rs-line: 1.65;
  --rs-text-display: 67px;
  --rs-text-h1: 50px;
  --rs-text-h2: 38px;
  --rs-text-h3: 28px;
  --rs-text-lg: 21px;
  --rs-text-base: 16px;
  --rs-text-sm: 14px;
  --rs-text-xs: 12px;
  --rs-radius-sm: 8px;
  --rs-radius-md: 12px;
  --rs-radius-lg: 18px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 12px;
  --rs-input-radius: 12px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: inset -1px 1px 0 rgba(255,255,255,0.10), -2px 3px 4px rgba(0,0,0,0.30), -8px 12px 20px rgba(0,0,0,0.35), -24px 36px 60px rgba(0,0,0,0.45);
  --rs-shadow-raised: inset -1px 1px 0 rgba(255,255,255,0.14), -3px 4px 6px rgba(0,0,0,0.35), -12px 18px 30px rgba(0,0,0,0.40), -36px 54px 90px rgba(0,0,0,0.55);
  --rs-shadow-button: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -3px 6px rgba(120,80,0,0.35), -3px 6px 14px rgba(0,0,0,0.5), 0 0 24px rgba(242,201,76,0.18);
  --rs-shadow-button-hover: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -3px 6px rgba(120,80,0,0.35), -5px 10px 22px rgba(0,0,0,0.55), 0 0 36px rgba(242,201,76,0.32);
  --rs-shadow-input: inset -2px 3px 8px rgba(0,0,0,0.45);
  --rs-blur: 0px;
  --rs-duration: 360ms;
  --rs-easing: cubic-bezier(0.2, 0.9, 0.25, 1);
  --rs-hover-transform: translateY(-2px);
  --rs-icon-stroke: 1.75;
  --rs-space-1: 4px;
  --rs-space-2: 8px;
  --rs-space-3: 12px;
  --rs-space-4: 16px;
  --rs-space-5: 24px;
  --rs-space-6: 32px;
  --rs-space-7: 48px;
  --rs-space-8: 72px;
}

/* style-specific details (selectors are from theme.css) */
.rs-app .rs-btn { background-image: linear-gradient(to bottom, rgba(255,255,255,0.42), rgba(255,255,255,0) 52%, rgba(0,0,0,0.10)); } .rs-app .rs-btn--ghost { background-image: none; } .rs-app .rs-card { background-image: linear-gradient(to bottom left, rgba(255,255,255,0.08), rgba(255,255,255,0) 42%); } .rs-app .rs-stat-value { text-shadow: -2px 3px 0 rgba(0,0,0,0.45); }
```

## Credits

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