/* GameHero11 — design tokens
   Theme: "hero-red-light" (custom). Sampled from the uploaded Hero11 art:
   signal red shield on white studio backdrops, ink-black type, deep red glow bands. */
:root {
  /* Colour — brand */
  --color-accent:         #D80808;  /* shield red; 5.3:1 on white */
  --color-accent-bright:  #F23030;  /* gloss highlight */
  --color-accent-dim:     #B00505;  /* hover / small text on pale red */
  --color-accent-deep:    #7A0000;  /* shadowed red */
  --color-accent-night:   #1C0303;  /* glow band base */
  --color-accent-soft:    #FDECEC;  /* pale red wash */

  /* Colour — surfaces */
  --color-bg:             #FFFFFF;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F3F5F8;  /* studio grey, from the image backdrops */
  --color-surface-3:      #E9EDF2;
  --color-border:         #E2E6EC;
  --color-border-strong:  #C9D0D9;

  /* Colour — text */
  --color-ink:            #0E1014;
  --color-text-primary:   #0E1014;
  --color-text-secondary: #414854;  /* 9.4:1 on white */
  --color-text-muted:     #5F6875;  /* 5.6:1 on white, 5.1:1 on surface-2 */
  --color-text-on-accent: #FFFFFF;
  --color-text-on-night:  #FBE3E3;
  --color-link:           #B80606;

  /* Colour — status */
  --color-error:          #B00020;
  --color-success:        #0B7A3B;
  --color-warning-bg:     #FFF6E5;
  --color-warning-border: #E8B34B;

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  --line-height-tight:  1.12;
  --line-height-snug:   1.3;
  --line-height-normal: 1.5;
  --line-height-loose:  1.7;

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius — the app-icon squircle drives the large radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  36px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:        0 1px 2px rgba(14, 16, 20, 0.04), 0 8px 24px -12px rgba(14, 16, 20, 0.16);
  --shadow-raised:      0 2px 4px rgba(14, 16, 20, 0.05), 0 24px 48px -20px rgba(14, 16, 20, 0.28);
  --shadow-glow:        0 10px 24px -8px rgba(216, 8, 8, 0.5);
  --shadow-glow-strong: 0 16px 36px -10px rgba(216, 8, 8, 0.65);
  --gloss: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 6px rgba(90, 0, 0, 0.3);

  /* Z-index */
  --z-base:   0;
  --z-raised: 10;
  --z-nav:    100;
  --z-modal:  200;
  --z-toast:  300;

  /* Motion */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: var(--space-4);
  --measure: 70ch;
  --header-h: 60px;
}

@media (min-width: 768px) {
  :root {
    --container-pad: var(--space-8);
    --header-h: 68px;
  }
}
