/* CSS Variables and Theme */
:root {
  /* Colors */
  --color-bg: #0c0c0e;
  --color-text: #f0f0f4;
  --color-muted: #8a8aa0;
  
  /* Primary gradient */
  --color-pink: #f0059a;
  --color-pink-glow: rgba(240, 5, 154, 0.28);
  --color-pink-light: #ff4dc4;
  
  /* Status colors */
  --color-success: #1fcc74;
  --color-warning: #f59e0b;
  --color-danger: #f43f5e;
  
  /* Accent colors */
  --color-gold: #eab308;
  --color-silver: #94a3b8;
  --color-bronze: #b45309;
  --color-purple: #a78bfa;
  --color-blue: #38bdf8;
  
  /* Glass effect */
  --color-glass: rgba(255, 255, 255, 0.055);
  --color-border: rgba(255, 255, 255, 0.09);
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(240, 5, 154, 0.28);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s ease;
  
  /* Font sizes */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 2rem;
  
  /* Font weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 600;
  --font-semibold: 700;
  --font-bold: 800;
  --font-black: 900;
}

/* Dark theme (default) */
[data-theme='dark'] {
  --color-bg: #0c0c0e;
  --color-text: #f0f0f4;
  --color-muted: #8a8aa0;
  --color-glass: rgba(255, 255, 255, 0.055);
  --color-border: rgba(255, 255, 255, 0.09);
}

/* Light theme */
[data-theme='light'] {
  --color-bg: #f9f9fb;
  --color-text: #1a1a1e;
  --color-muted: #6a6a7a;
  --color-glass: rgba(0, 0, 0, 0.04);
  --color-border: rgba(0, 0, 0, 0.08);
}

/* Typography */
body {
  font-size: var(--font-base);
  font-weight: var(--font-normal);
}

small {
  font-size: var(--font-sm);
}

strong {
  font-weight: var(--font-bold);
}

code {
  font-family: 'Courier New', monospace;
  background: var(--color-glass);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
}

/* Responsive typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}
