/* 
 * miacelium.gay Color Theme
 * Based on terminal color scheme - purple/magenta aesthetic
 * Use these CSS custom properties for consistent theming
 */

:root {
  /* Background colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --bg-elevated: #242424;
  
  /* Text colors */
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --text-dim: #444444;
  
  /* Accent colors - Purple/Magenta theme */
  --accent-primary: #b48ead;      /* Soft purple - main accent */
  --accent-secondary: #a277ff;    /* Bright purple - links, highlights */
  --accent-tertiary: #c792ea;     /* Light purple - hover states */
  
  /* Semantic colors */
  --color-success: #a3be8c;       /* Green - success, online */
  --color-warning: #ebcb8b;       /* Yellow - warnings */
  --color-error: #bf616a;         /* Red - errors, offline */
  --color-info: #88c0d0;          /* Cyan - info, comments */
  
  /* Border colors */
  --border-subtle: #333333;
  --border-default: #444444;
  --border-accent: #b48ead40;
  
  /* Special */
  --selection-bg: #b48ead30;
  --code-bg: #1a1a1a;
  --scrollbar-thumb: #333333;
  --scrollbar-track: #0a0a0a;
}

/* Dark mode is default, but define explicitly */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

/* Typography scale */
:root {
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
}

/* Spacing scale */
:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
}

/* Utility classes */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-primary); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }
.text-info { color: var(--color-info); }

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-elevated { background-color: var(--bg-elevated); }

/* Link styles */
a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-tertiary);
  text-decoration: underline;
}

/* Selection */
::selection {
  background-color: var(--selection-bg);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-default);
}
