/* ========== FONT IMPORT ========== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ========== COLOR VARIABLES ========== */
/* GameSnacks Light Theme */

:root {
    /* Font Family */
    --font-family: 'Roboto', 'Arial', sans-serif;

    /* Primary Colors */
    --color-primary: #0b57d0;
    --color-secondary: #1a73e8;
    --color-accent: #0b57d0;
    --color-background: #f8f9fa;
    --color-text: #1f1f1f;

    /* Additional Colors */
    --color-background-light: #ffffff;
    --color-background-card: #ffffff;
    --color-text-secondary: #444746;
    --color-text-muted: #70757a;

    /* Surface Colors */
    --color-surface: #ffffff;
    --color-surface-variant: #f0f4f9;
    --color-outline: #c4c7c5;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #0b57d0 0%, #1a73e8 100%);
    --gradient-accent: linear-gradient(135deg, #0b57d0 0%, #1a73e8 100%);
    --gradient-dark: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);

    /* Hover States */
    --color-primary-hover: #0842a0;
    --color-secondary-hover: #1565c0;
    --color-accent-hover: #0842a0;

    /* Shadows */
    --shadow-primary: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-secondary: 0 2px 6px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.15);

    /* Border Colors */
    --border-primary: #c4c7c5;
    --border-secondary: #c4c7c5;
    --border-light: #e1e3e1;

    /* Overlay Colors */
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(0, 0, 0, 0.3);

    /* Status Colors */
    --color-success: #1e8e3e;
    --color-warning: #f9ab00;
    --color-error: #d93025;
    --color-info: #1a73e8;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Z-Index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Responsive Typography (Base - Desktop) */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.8;
}

/* ========== RESPONSIVE VARIABLES ========== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-base: 15px;
        --font-size-sm: 13px;
        --font-size-xs: 11px;
        --font-size-lg: 17px;
        --font-size-xl: 19px;
        --font-size-2xl: 22px;
        --font-size-3xl: 28px;
        --font-size-4xl: 32px;
        --font-size-5xl: 42px;

        --spacing-xs: 6px;
        --spacing-sm: 14px;
        --spacing-md: 20px;
        --spacing-lg: 28px;
        --spacing-xl: 40px;
        --spacing-xxl: 56px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
        --font-size-sm: 12px;
        --font-size-xs: 10px;
        --font-size-lg: 16px;
        --font-size-xl: 18px;
        --font-size-2xl: 20px;
        --font-size-3xl: 24px;
        --font-size-4xl: 28px;
        --font-size-5xl: 36px;

        --spacing-xs: 4px;
        --spacing-sm: 12px;
        --spacing-md: 18px;
        --spacing-lg: 24px;
        --spacing-xl: 32px;
        --spacing-xxl: 48px;

        --radius-sm: 6px;
        --radius-md: 10px;
        --radius-lg: 14px;
        --radius-xl: 20px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-base: 13px;
        --font-size-sm: 11px;
        --font-size-xs: 10px;
        --font-size-lg: 15px;
        --font-size-xl: 17px;
        --font-size-2xl: 18px;
        --font-size-3xl: 22px;
        --font-size-4xl: 26px;
        --font-size-5xl: 32px;

        --spacing-xs: 4px;
        --spacing-sm: 10px;
        --spacing-md: 16px;
        --spacing-lg: 20px;
        --spacing-xl: 28px;
        --spacing-xxl: 40px;

        --radius-sm: 5px;
        --radius-md: 8px;
        --radius-lg: 12px;
        --radius-xl: 16px;
    }
}

/* Large Desktop / PC (1440px+) */
@media (min-width: 1441px) {
    :root {
        --font-size-base: 17px;
        --font-size-sm: 15px;
        --font-size-xs: 13px;
        --font-size-lg: 19px;
        --font-size-xl: 22px;
        --font-size-2xl: 26px;
        --font-size-3xl: 32px;
        --font-size-4xl: 40px;
        --font-size-5xl: 56px;

        --spacing-xs: 10px;
        --spacing-sm: 18px;
        --spacing-md: 28px;
        --spacing-lg: 36px;
        --spacing-xl: 56px;
        --spacing-xxl: 72px;
    }
}
