/* Game Hub by Villa Estelle: design tokens (Direction C · Night Rally)
   Import this file into Figma as variables (Tokens Studio / html.to.design reads the computed colors).
   Contrast ratios are measured against --c-black (#0C0C0E) unless noted. */
:root {
  /* ---- Color: raw palette ---- */
  --c-black:      #0C0C0E;  /* page background */
  --c-panel:      #17171B;  /* cards, panels */
  --c-raised:     #202026;  /* inputs, chips, hover */
  --c-line:       #2E2E35;  /* dividers (decorative) */
  --c-line-strong:#75757F;  /* input / chip borders: 4.29:1 on black, 3.92:1 on panel (WCAG 1.4.11 ≥3:1) */
  --c-red:        #D91F28;  /* PRIMARY fill (buttons, slash). White text on it: 5.03:1 */
  --c-red-hover:  #B9161F;
  --c-red-bright: #E5252E;  /* LARGE display text only ("PLAY?"): 4.31:1 (needs ≥3:1) */
  --c-red-text:   #FF5A60;  /* small red text (prices, errors): 6.41:1 on black, 5.86:1 on panel */
  --c-blue:       #3D8BFF;  /* ACCENT: active nav, selected chips, links. 5.90:1 on black, 5.39:1 on panel */
  --c-white:      #F5F5F5;  /* main text: 17.93:1 */
  --c-grey:       #B4B4BC;  /* secondary text: 9.49:1 on black, 8.68:1 on panel, 7.87:1 on raised */
  --c-green:      #4ADE80;  /* "Open" status (always with text) */

  /* ---- Color: roles ---- */
  --bg: var(--c-black);
  --surface: var(--c-panel);
  --surface-2: var(--c-raised);
  --text: var(--c-white);
  --text-muted: var(--c-grey);
  --text-accent: var(--c-blue);
  --text-price: var(--c-white);
  --text-on-red: #FFFFFF;
  --text-on-blue: var(--c-black);   /* black on blue: 5.90:1 (white on blue would fail at 3.31:1) */
  --text-error: var(--c-red-text);
  --border: var(--c-line);
  --border-input: var(--c-line-strong);
  --focus: var(--c-blue);

  /* ---- Type ---- */
  --font-head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  /* desktop scale */
  --fs-display: 128px;   /* hero "READY TO PLAY?" */
  --fs-h2: 72px;         /* section titles */
  --fs-h3: 30px;         /* card titles */
  --fs-price: 40px;
  --fs-lead: 19px;
  --fs-body: 16px;       /* minimum for any body text */
  --fs-label: 14px;      /* eyebrows, chip status, badges only (uppercase, bold) */
  --lh-tight: 0.9;
  --lh-body: 1.6;

  /* ---- Space (4-pt scale) ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  /* ---- Shape ---- */
  --r-sm: 4px;   /* buttons, chips (sharp = sporty) */
  --r-md: 8px;   /* cards, inputs */
  --r-pill: 999px;
  --slash: polygon(0 0, 100% 0, 72% 100%, 0 100%);

  /* ---- Layout ---- */
  --tap: 44px;            /* minimum tap target */
  --header-h: 84px;
  --chips-h: 0px;         /* section chips (mobile only) */
  --mcta-h: 0px;          /* fixed mobile CTA */
  --gutter: 64px;
  --max: 1312px;
}

@media (max-width: 760px) {
  :root {
    --fs-display: 72px;
    --fs-h2: 48px;
    --fs-h3: 24px;
    --fs-price: 32px;
    --fs-lead: 16px;
    --header-h: 60px;
    --chips-h: 56px;
    --mcta-h: 76px;
    --gutter: 16px;
  }
}
