/* Pixel Art — 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+Pixels&family=Rubik:wght@400;500;700&family=Cousine:wght@400;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #1B1B3A;
  --color-surface: #262650;
  --color-surface-2: #323268;
  --color-fg: #FFFFFF;
  --color-muted: #C9C9E8;
  --color-primary: #FFCC00;
  --color-on-primary: #1B1B3A;
  --color-accent: #3EE07A;
  --color-on-accent: #0E1E14;
  --color-line: #0B0B1A;
  --color-success: #3EE07A;
  --color-warning: #FF9E2C;
  --color-danger: #FF6B6B;

  --font-display: "Rubik Pixels", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "Cousine", "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 -4px 0 0 #0B0B1A, 0 4px 0 0 #0B0B1A, 4px 0 0 0 #0B0B1A, -4px 0 0 0 #0B0B1A, -8px 8px 0 0 #0B0B1A;
  --shadow-raised: 0 -4px 0 0 #FFCC00, 0 4px 0 0 #FFCC00, 4px 0 0 0 #FFCC00, -4px 0 0 0 #FFCC00, -8px 8px 0 0 #0B0B1A;
  --shadow-button: 0 -4px 0 0 #0B0B1A, 0 4px 0 0 #0B0B1A, 4px 0 0 0 #0B0B1A, -4px 0 0 0 #0B0B1A, inset 4px -4px 0 0 #C79A00;
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    background-image: linear-gradient(rgba(255,255,255,0.03) 2px, transparent 2px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(255,255,255,0.03) 2px, transparent 2px) 0 0 / 16px 16px;
    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: 400;
    letter-spacing: 0;
    line-height: 1.2;
  }
  :focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[0px] 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
   input:   bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
