/**
 * tokens.css — Design tokens (CSS Custom Properties)
 * Colors, typography, spacing, radii, shadows, transitions.
 * All other stylesheets must reference these variables — no magic numbers.
 */

:root {
  /* ---------- Colors ---------- */
  --color-bg-primary: #14292b;      /* Site background, header, footer */
  --color-bg-dark: #0d1e21;         /* Deeper dark blocks, game sections */
  --color-accent-light-bg: #8bd35a; /* Active buttons, badges, promo accents */
  --color-white: #f1f4f4;           /* Light text on dark backgrounds */
  --color-btn-accent: linear-gradient(180deg, #9be86a 0%, #4caf3f 100%);
  --color-btn-secondary-border: #4f6a68;
  --color-text-primary: #a9b9b6;    /* Body text, menus, descriptions */
  --color-accent-green: #9be86a;    /* H2, decorative lines, promo accents */
  --color-btn-dark-text: #102013;   /* Text inside light green buttons */
  --color-card-bg: #1b3335;         /* Game cards, panels, content blocks */
  --color-accent-lime: #6fcb45;     /* Register buttons, active tabs */
  --color-danger: #e5484d;          /* 18+ badge background */
  --color-focus-ring: #f1f4f4;

  /* ---------- Typography ---------- */
  --font-family-base: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --fs-body: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);      /* 14–16px */
  --fs-small: clamp(0.75rem, 0.72rem + 0.2vw, 0.875rem);
  --fs-h1: clamp(2.125rem, 1.7rem + 1.8vw, 2.875rem);    /* 34–46px */
  --fs-h2: clamp(1.625rem, 1.4rem + 1vw, 2.125rem);      /* 26–34px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);       /* 20–24px */

  --lh-body: 1.35;
  --lh-banner: 1;
  --lh-h2: 1.2;

  /* ---------- Spacing ---------- */
  --space-section: clamp(2.5rem, 2rem + 2vw, 3.75rem);   /* 40–60px */
  --space-card-gap: 1.625rem;                            /* 26px */
  --space-paragraph: 1.25rem;                             /* 20px */
  --space-h2-text: 1.25rem;                                /* 20px */
  --space-h3-text: 1rem;                                   /* 16px */
  --space-h2-margin-top: clamp(1.5rem, 1.3rem + 1vw, 2rem);       /* 24–32px */
  --space-h2-margin-bottom: clamp(0.75rem, 0.65rem + 0.5vw, 1rem); /* 12–16px */
  --space-faq-gap: clamp(0.75rem, 0.7rem + 0.2vw, 1rem);  /* 12–16px */
  --space-card-padding: 1.5rem;                            /* 24px */
  --container-max-width: 120rem;                           /* 1920px */
  --container-side-padding: clamp(1rem, 0.5rem + 2vw, 3.6875rem); /* ~59px */
  --main-bottom-padding: 4.5rem;                            /* 72px */

  /* ---------- Radii & sizing ---------- */
  --radius-card: 1.875rem; /* 30px */
  --radius-btn: 0.75rem;
  --radius-badge: 999px;
  --card-width: 9.375rem; /* ~150px */

  /* ---------- Effects ---------- */
  --shadow-card: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ---------- Layout ---------- */
  --header-height: 4.75rem;
  --z-header: 1000;
  --z-burger-menu: 1100;
  --z-scroll-top: 900;
}
