/* ==========================================================================
   Golden Play — Design tokens (CSS Custom Properties)
   ========================================================================== */
:root {
  /* Colors — backgrounds */
  --color-bg-primary: #1B1B1F;
  --color-bg-dark: #131313;
  --color-surface: #262727;

  /* Colors — text */
  --color-white: #FFFFFF;
  --color-text-primary: #FFFFFF;
  --color-heading-gold: #D1AA41;
  --color-text-on-button-dark: #000000;
  --color-text-muted: #B9B9BE;

  /* Colors — buttons */
  --color-gold: #D1AA41;
  --color-gold-gradient: linear-gradient(180deg, #8E713A 0%, #282010 100%);
  --color-green: #18AE62;
  --color-green-hover: #27AA5E;
  --color-neutral-button: #313236;

  /* Colors — semantic */
  --color-danger: #E0384B;
  --color-border: transparent;
  --color-focus: #D1AA41;

  /* Typography */
  --font-primary: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', var(--font-primary);

  --fs-base: 1rem; /* 16px */
  --fs-h1-logo: 1.5rem; /* 24px */
  --fs-h1-banner: clamp(1.75rem, 4vw, 2.6875rem); /* up to 43px */
  --fs-h2: 1.125rem; /* 18px */
  --fs-h3: 1rem; /* 16px */
  --fs-small: 0.875rem; /* 14px */

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-base: 1.35;
  --lh-banner: 1.0;
  --lh-h2: 1.2;

  /* Spacing */
  --space-section: clamp(2.5rem, 5vw, 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-faq-gap: 1rem; /* 12-16px */
  --space-card-padding: 1.5rem; /* 24px */

  /* Layout */
  --container-max-width: 1920px;
  --container-side-padding: clamp(1rem, 4vw, 3.6875rem); /* ~59px */
  --main-bottom-padding: 4.5rem; /* 72px */

  /* Radius */
  --radius-card: 1.875rem; /* 30px */
  --radius-pill: 999px;
  --radius-sm: 0.75rem;
  --game-card-width: 9.375rem; /* ~150px */

  /* Shadows */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.45);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Z-index scale */
  --z-header: 100;
  --z-burger-menu: 110;
  --z-scroll-top: 90;
}

/* Reduced motion: neutralise transition/animation durations everywhere by
   overriding the tokens themselves — every component reads these vars, so
   no per-rule !important is needed anywhere in the codebase. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
  }
}
