/* ==========================================================================
   variables.css — tokeny projektowe niezależne od motywu
   (typografia, odstępy, promienie, warstwy, czasy animacji, kolory marki).
   Kolory zależne od motywu znajdują się w themes.css.
   ========================================================================== */

:root {
    /* --- Typografia --- */
    --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
    --font-heading: "Exo 2", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

    --fs-2xs: 0.6875rem;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
    --fs-2xl: clamp(1.6rem, 1.35rem + 1vw, 2.1rem);
    --fs-3xl: clamp(2rem, 1.55rem + 1.8vw, 2.9rem);
    --fs-hero: clamp(2.4rem, 1.5rem + 3.8vw, 4.6rem);

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

    --lh-tight: 1.12;
    --lh-snug: 1.3;
    --lh-base: 1.6;
    --lh-relaxed: 1.75;

    --tracking-wide: 0.08em;
    --tracking-wider: 0.16em;

    /* --- Odstępy (skala 4px) --- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 2rem;
    --space-8: 2.5rem;
    --space-9: 3rem;
    --space-10: 4rem;
    --space-11: 5rem;
    --space-12: 6.5rem;
    --section-padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

    /* --- Promienie --- */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;

    /* --- Układ --- */
    --container-width: 1240px;
    --container-narrow: 820px;
    --container-padding: clamp(1rem, 0.6rem + 2vw, 2rem);
    --header-height: 76px;
    --header-height-compact: 64px;
    --sidebar-width: 272px;
    --touch-target: 44px;

    /* --- Warstwy --- */
    --z-below: -1;
    --z-base: 1;
    --z-raised: 10;
    --z-sticky: 100;
    --z-header: 500;
    --z-drawer: 800;
    --z-overlay: 900;
    --z-modal: 1000;
    --z-toast: 1100;
    --z-skip-link: 1200;

    /* --- Ruch --- */
    --duration-instant: 80ms;
    --duration-fast: 160ms;
    --duration-base: 260ms;
    --duration-slow: 450ms;
    --duration-slower: 700ms;
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --carousel-interval: 6000ms;

    /* --- Kolory marki GoCheats.eu: ostry „zielony kwas” (stałe w obu motywach) --- */
    --brand-lime: #c6ff00;
    --brand-lime-deep: #6fa300;
    --brand-acid: #39ff14;
    --brand-acid-deep: #1fa30a;
    --brand-volt: #eeff00;
    --brand-volt-deep: #9aa800;
    --brand-mint: #00ff9c;

    --gradient-brand: linear-gradient(120deg, var(--brand-volt) 0%, var(--brand-lime) 45%, var(--brand-acid) 100%);
    --gradient-brand-soft: linear-gradient(120deg, rgb(238 255 0 / 0.18), rgb(198 255 0 / 0.18) 45%, rgb(57 255 20 / 0.18));
    --gradient-conic: conic-gradient(from var(--border-angle, 0deg), var(--brand-lime), var(--brand-acid), var(--brand-mint), var(--brand-volt), var(--brand-lime));
    /* Kanał RGB poświaty kursora (efekty spotlight) */
    --spot-rgb: 198 255 0;

    /* --- Szkło --- */
    --glass-blur: 18px;
    --glass-saturate: 160%;

    /* --- Focus --- */
    --focus-ring-width: 3px;
    --focus-ring-offset: 3px;
}
