/* ==========================================================================
   Design tokens — Godz Casino (Раздел 2 ТЗ)
   All design decisions live here as CSS Custom Properties.
   ========================================================================== */

:root {
    /* --- Colours --- */
    --color-bg-primary: #121212;   /* general page background, header, footer */
    --color-bg-dark: #0F1617;      /* dark cards, game sections, category panels */
    --color-accent: #009CA9;       /* active buttons, chips, badges, promo accents */
    --color-white: #FFFFFF;        /* primary light text on dark */
    --color-text: #A4A4A4;         /* body text, menus, descriptions, captions */
    --color-heading: #F8C64E;      /* H2, section titles, decorative lines, accents */
    --color-btn-text: #FFFFFF;     /* text inside primary CTA buttons */
    --color-card: #181818;         /* game cards, panels, content blocks */
    --color-cool: #394950;         /* nav panels, category tabs, side menu, dividers */

    /* --- Gradients (buttons) --- */
    --btn-primary: linear-gradient(180deg, #09272B 0%, #3E9FAD 50%, #09272B 100%);
    --btn-secondary: linear-gradient(180deg, #0F1617 0%, #688091 51%, #2B313B 100%);

    /* --- Typography --- */
    --font-body: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Norse', 'Cabin', sans-serif;

    --fs-body: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);      /* 14–16px */
    --fs-h1: clamp(2.125rem, 1.6rem + 2.6vw, 2.875rem);    /* 34–46px */
    --fs-h2: clamp(1.625rem, 1.3rem + 1.6vw, 2.125rem);    /* 26–34px */
    --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);       /* 20–24px */
    --fs-small: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);

    --lh-base: 1.6;

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

    /* --- Spacing & grid --- */
    --space-section: clamp(2.5rem, 2rem + 2vw, 3.75rem);   /* 40–60px between sections */
    --space-card-gap: 1.25rem;   /* 20px between grid cards */
    --space-paragraph: 1.25rem;  /* 20px between paragraphs */
    --space-h2-text: 1.25rem;    /* 20px between H2 and text */
    --space-h3-text: 1rem;       /* 16px between H3 and text */
    --space-faq: 0.875rem;       /* 14px between FAQ items */
    --pad-card: 1.5rem;          /* 24px inner card padding */
    --container-max: 1440px;

    /* --- Shape: cut bottom-right corner instead of radius --- */
    --clip-cut: polygon(100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 0);
    --radius: 0;

    /* --- Effects --- */
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.35);
    --transition: 0.25s ease;
    --transition-fast: 0.15s ease;

    /* --- Layout helpers --- */
    --header-height: 72px;
}
