/**
 * tidex6 Design Tokens
 * ====================
 * CSS Variables — Dark Solana-native theme
 * All visual values live here. No hardcoded colors/sizes in components.
 */

:root {
    /* COLORS - BACKGROUNDS */
    --color-bg-primary: #0A0A0A;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #1A1A1A;
    --color-bg-elevated: #1E1E1E;
    --color-bg-hero: linear-gradient(135deg, #0A0A0A 0%, #1A0B2E 50%, #0A0A0A 100%);

    /* COLORS - SURFACES */
    --color-surface-primary: #111111;
    --color-surface-hover: #1A1A1A;
    --color-surface-active: #222222;
    --color-surface-input: #0A0A0A;

    /* COLORS - BORDERS */
    --color-border-subtle: #1F1F1F;
    --color-border-default: #2A2A2A;
    --color-border-strong: #3A3A3A;
    --color-border-focus: var(--color-primary);
    --color-border-gradient: linear-gradient(90deg, #9945FF, #14F195);

    /* COLORS - TEXT */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A3A3A3;
    --color-text-tertiary: #666666;
    --color-text-muted: #444444;
    --color-text-link: #9945FF;

    /* COLORS - BRAND / SOLANA GRADIENT */
    --color-primary: #9945FF;
    --color-primary-hover: #B066FF;
    --color-primary-muted: rgba(153, 69, 255, 0.15);
    --color-secondary: #14F195;
    --color-secondary-muted: rgba(20, 241, 149, 0.15);
    --color-magenta: #DC1FFF;
    --color-gradient: linear-gradient(90deg, #9945FF, #DC1FFF, #14F195);
    --color-gradient-subtle: linear-gradient(90deg, rgba(153,69,255,0.2), rgba(20,241,149,0.2));

    /* COLORS - STATUS */
    --color-success: #14F195;
    --color-success-muted: rgba(20, 241, 149, 0.12);
    --color-warning: #F59E0B;
    --color-warning-muted: rgba(245, 158, 11, 0.15);
    --color-error: #FF4C4C;
    --color-error-muted: rgba(255, 76, 76, 0.12);

    /* TYPOGRAPHY */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 2rem;      /* 32px */
    --font-size-4xl: 2.25rem;   /* 36px */

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;

    /* SPACING */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */

    /* LAYOUT */
    --content-max-width: 1200px;
    --header-height: 72px;

    /* RADIUS */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 999px;

    /* SHADOWS */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(153, 69, 255, 0.15);
    --shadow-focus: 0 0 0 3px rgba(153, 69, 255, 0.1);

    /* TRANSITIONS */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Z-INDEX */
    --z-header: 100;
    --z-dropdown: 200;
    --z-modal: 300;
    --z-toast: 400;
}
