/**
 * CSS Variables for luotettavimmatnettikasinot.net
 * JackpotDeck Design: Purple (#b63abb), Gold (#f3c117), Dark (#151515)
 * Fonts: Rubik + Anton
 */

:root {
    /* Primary Colors — Purple */
    --color-primary: #b63abb;
    --color-primary-dark: #9a2e9e;
    --color-primary-light: #cb58cf;
    --color-primary-rgb: 182, 58, 187;

    /* Secondary Colors — Dark */
    --color-secondary: #151515;
    --color-secondary-dark: #0e0e0e;
    --color-secondary-light: #1a1a1a;
    --color-secondary-rgb: 21, 21, 21;

    /* Accent Colors — Gold */
    --color-accent: #f3c117;
    --color-accent-dark: #d9ab10;
    --color-accent-light: #eec747;
    --color-accent-rgb: 243, 193, 23;

    /* Background Colors */
    --color-bg: #ffffff;
    --color-bg-dark: #f5f5f5;
    --color-bg-light: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-header: #151515;
    --color-bg-footer: #151515;
    --color-bg-alt: #fdf5ff;

    /* Text Colors */
    --color-text: #151515;
    --color-text-light: #555555;
    --color-text-muted: #888888;
    --color-text-white: #FFFFFF;
    --color-text-on-primary: #FFFFFF;
    --color-text-on-secondary: #FFFFFF;

    /* Semantic Colors */
    --color-success: #28A745;
    --color-error: #DC3545;
    --color-warning: #f3c117;
    --color-info: #17A2B8;
    --color-border: #dedede;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #b63abb 0%, #cb58cf 100%);
    --gradient-secondary: linear-gradient(135deg, #151515 0%, #29323c 100%);
    --gradient-accent: linear-gradient(135deg, #f3c117 0%, #eec747 100%);
    --gradient-hero: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
    --gradient-card-hover: linear-gradient(135deg, rgba(182, 58, 187, 0.1) 0%, rgba(243, 193, 23, 0.1) 100%);

    /* Typography — Rubik + Anton */
    --font-main: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Anton", var(--font-main);
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Segoe UI Mono", monospace;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.12);
    --shadow-card-hover: 0 10px 25px rgba(0, 0, 0, 0.25);
    --shadow-glow-primary: 0 0 16px rgba(182, 58, 187, 0.6);
    --shadow-glow-accent: 0 0 10px rgba(243, 193, 23, 0.6);

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

    /* Layout */
    --container-max: 1200px;
    --container-padding: 1rem;
    --header-height: 70px;
    --footer-min-height: 200px;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;

    /* Carousel Animation */
    --carousel-speed-row1: 240s;
    --carousel-speed-row2: 250s;
    --carousel-speed-row3: 260s;
}
