/* CSS Custom Properties - Design System */

:root {
    /* Colors - Dark theme (default) */
    --color-bg: #1e1e24;
    --color-text: #e0dfe4;
    --color-text-light: #a0a0b0;
    --color-accent: #c8c6d0;
    --color-border: #3d3c47;
    --color-hover: #2a2a32;
    --color-surface: #26252d;
    --bg-gradient: radial-gradient(
        ellipse at 50% 30%,
        rgba(88, 78, 140, 0.12) 0%,
        rgba(60, 80, 140, 0.08) 40%,
        transparent 70%
    );
    --glow-color: 92, 196, 84;
    color-scheme: dark;

    /* Spacing Scale */
    --spacing-xs: 0.5rem; /* 8px */
    --spacing-sm: 1rem; /* 16px */
    --spacing-md: 2rem; /* 32px */
    --spacing-lg: 4rem; /* 64px */
    --spacing-xl: 6rem; /* 96px */
    --spacing-xxl: 8rem; /* 128px */

    /* Typography */
    --font-body:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: 0.875rem; /* 14px */
    --text-sm: 1rem; /* 16px */
    --text-md: 1.125rem; /* 18px */
    --text-lg: 1.25rem; /* 20px */
    --text-xl: 1.5rem; /* 24px */
    --text-2xl: 2rem; /* 32px */
    --text-3xl: 2.5rem; /* 40px */
    --text-4xl: 3rem; /* 48px */

    /* Layout */
    --max-width: 1200px;
    --content-width: 800px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

[data-theme="light"] {
    --color-bg: #faf9f6;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-accent: #333333;
    --color-border: #e0e0e0;
    --color-hover: #f0f0f0;
    --color-surface: #ffffff;
    --bg-gradient: none;
    --glow-color: 130, 116, 173;
    color-scheme: light;
}
