/* ==========================================================================
   Falooka (فلوكة) — Design Tokens
   Extracted from the Egyptian gouache illustration palette (Noura, Simsim, Luma)
   Shared with public/games/ via standard CSS custom properties.
   ========================================================================== */

:root {
  /* Surfaces — warm gouache paper & sand */
  --color-bg: #fcf7ec;
  --color-bg-alt: #f4e9d2;
  --color-surface: #fffdf7;
  --color-surface-warm: #faefda;
  --color-border: #e5d5b5;
  --color-border-strong: #cfb88c;

  /* Ink & Typography — high contrast (>= 4.5:1) */
  --color-text: #18293a;
  --color-text-muted: #465868;
  --color-text-inverse: #ffffff;

  /* Brand Primary (Deep Nile Teal) & Accent (Warm Terracotta Coral) */
  --color-primary: #0f6b6c;
  --color-primary-hover: #0a5253;
  --color-primary-dark: #084142;
  --color-primary-soft: #e2f2f1;

  --color-accent: #c9472e;
  --color-accent-hover: #a93822;
  --color-accent-dark: #872b19;
  --color-accent-soft: #fdebe6;

  /* Subject & Semantic Accents */
  --color-gold: #c27d14;
  --color-gold-fill: #f2b441;
  --color-gold-soft: #fdf3dc;
  --color-success: #266b35;
  --color-success-soft: #e5f4e8;
  --color-warning: #9c5b08;
  --color-warning-soft: #fef2db;
  --color-error: #b42c24;
  --color-error-soft: #fde8e6;

  /* Subject paper tints */
  --tint-arabic: #f9eed9;
  --tint-math: #fcece7;
  --tint-english: #e4f3f2;
  --tint-discover: #e9f3e6;

  /* Typography — kid-friendly large Arabic RTL */
  --font-sans: 'Cairo', 'Tajawal', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-size-sm: 0.95rem;
  --font-size-base: 1.125rem;
  --font-size-lg: 1.3rem;
  --font-size-xl: 1.65rem;
  --font-size-2xl: clamp(1.9rem, 3.6vw, 2.85rem);
  --line-height-body: 1.7;
  --line-height-heading: 1.28;

  /* Layout & Spacing */
  --container-max: 1180px;
  --space-1: 0.35rem;
  --space-2: 0.75rem;
  --space-3: 1.15rem;
  --space-4: 1.65rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  /* Radii & Tactile Shadows */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-soft: 0 6px 20px rgba(24, 41, 58, 0.08);
  --shadow-card: 0 10px 28px rgba(24, 41, 58, 0.1);
  --touch-min: 48px;
}
