/**
 * CSS Variables for kolikkopelit.ai
 * Casinio2 Theme - Deep Indigo + Golden Amber
 */

:root {
    /* Primary Colors - Golden/Amber */
    --color-primary: #F8AF08;
    --color-primary-dark: #D99600;
    --color-primary-light: #FFCF4A;
    --color-primary-rgb: 248, 175, 8;

    /* Secondary Colors - Indigo */
    --color-secondary: #303891;
    --color-secondary-dark: #1F214F;
    --color-secondary-light: #4A54C8;
    --color-secondary-rgb: 48, 56, 145;

    /* Accent Colors - Purple */
    --color-accent: #7652E1;
    --color-accent-dark: #5A3DB8;
    --color-accent-light: #9170F0;
    --color-accent-rgb: 118, 82, 225;

    /* Background Colors - Dark Theme */
    --color-bg: #1F214F;
    --color-bg-dark: #181A40;
    --color-bg-light: #282B60;
    --color-bg-card: #282B60;
    --color-bg-header: #303891;
    --color-bg-footer: #181A40;

    /* Text Colors */
    --color-text: #E0E0E0;
    --color-text-light: #A0A0B8;
    --color-text-muted: #6E70A0;
    --color-text-white: #FFFFFF;
    --color-text-on-primary: #000000;
    --color-text-on-secondary: #FFFFFF;

    /* Semantic Colors */
    --color-success: #05FF00;
    --color-error: #FF4444;
    --color-warning: #F8AF08;
    --color-info: #0594F1;

    /* Gradients */
    --gradient-primary: linear-gradient(114.26deg, #E4A91B 13.41%, #F88021 87.24%);
    --gradient-secondary: linear-gradient(135deg, #303891 0%, #1F214F 100%);
    --gradient-accent: linear-gradient(135deg, #7652E1 0%, #321C55 100%);
    --gradient-hero: linear-gradient(180deg, #303891 0%, #1F214F 50%, #181A40 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1) 0%, rgba(var(--color-accent-rgb), 0.1) 100%);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-heading: 'Oswald', "Arial Narrow", Arial, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* 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.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
    --shadow-glow-accent: 0 0 20px rgba(var(--color-accent-rgb), 0.4);

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

    /* Layout */
    --container-max: 1290px;
    --container-padding: 1rem;
    --header-height: 80px;
    --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;
}
