/* Retro Terminal — Tailwind CSS v4 theme, Hebrew / RTL.
   Put this in your main CSS file (instead of a bare @import "tailwindcss").
   In RTL use logical utilities: ms-* me-* ps-* pe-* start-* end-* text-start text-end. */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&family=IBM+Plex+Mono:wght@400;600&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #070B07;
  --color-surface: #0D150D;
  --color-surface-2: #132013;
  --color-fg: #B4F5AC;
  --color-muted: #77C26F;
  --color-primary: #39FF6A;
  --color-on-primary: #061006;
  --color-accent: #FFB000;
  --color-on-accent: #120C00;
  --color-line: #2F6B2F;
  --color-success: #39FF6A;
  --color-warning: #FFB000;
  --color-danger: #FF5C5C;

  --font-display: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 49px;
  --text-h1: 39px;
  --text-h2: 31px;
  --text-h3: 25px;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-button: 0px;
  --radius-input: 0px;

  --shadow-card: 0 0 0 1px rgba(57,255,106,0.08), 0 0 24px rgba(57,255,106,0.06);
  --shadow-raised: 0 0 0 1px rgba(57,255,106,0.30), 0 0 32px rgba(57,255,106,0.18);
  --shadow-button: 0 0 12px rgba(57,255,106,0.35);
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    background-image: repeating-linear-gradient(0deg, rgba(57,255,106,0.035) 0px, rgba(57,255,106,0.035) 1px, transparent 1px, transparent 3px), radial-gradient(1200px 800px at 50% 30%, rgba(57,255,106,0.07), transparent 70%);
    background-attachment: fixed;
    color: var(--color-fg);
    font-family: var(--font-sans);
    line-height: 1.6;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
  }
  :focus-visible { outline: 3px solid #39FF6A; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[1px] border-line rounded-lg shadow-card p-6
   button:  bg-primary text-on-primary rounded-button shadow-button px-5 min-h-11 font-semibold border-[1px] border-primary
   input:   bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
