/* Y2K Aesthetic — 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=Fredoka:wght@600;700&family=Rubik:wght@400;500;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #FBF2FF;
  --color-surface: #FFFFFF;
  --color-surface-2: #EEE6FF;
  --color-fg: #2A1240;
  --color-muted: #5E4A75;
  --color-primary: #D0147E;
  --color-on-primary: #FFFFFF;
  --color-accent: #7FE7F7;
  --color-on-accent: #1D0B33;
  --color-line: #CDB8EE;
  --color-success: #0E7A5A;
  --color-warning: #9A5B00;
  --color-danger: #C0123C;

  --font-display: "Fredoka", 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: 55px;
  --text-h1: 43px;
  --text-h2: 34px;
  --text-h3: 26px;

  --radius-sm: 12px;
  --radius-md: 999px;
  --radius-lg: 28px;
  --radius-button: 999px;
  --radius-input: 999px;

  --shadow-card: -4px 10px 30px rgba(208,20,126,0.14), inset 0 2px 0 rgba(255,255,255,0.9);
  --shadow-raised: -6px 16px 44px rgba(124,58,237,0.22), inset 0 2px 0 rgba(255,255,255,0.9);
  --shadow-button: inset 0 2px 0 rgba(255,255,255,0.55), inset 0 -3px 6px rgba(80,0,60,0.25), -2px 6px 16px rgba(208,20,126,0.35);
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    background-image: radial-gradient(700px 480px at 90% -10%, rgba(255,105,180,0.35), transparent 60%), radial-gradient(640px 460px at 0% 30%, rgba(127,231,247,0.40), transparent 60%), radial-gradient(700px 520px at 50% 110%, rgba(185,140,255,0.35), transparent 60%);
    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 #6D28D9; outline-offset: 2px; }
}

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