:root {
  color-scheme: dark;

  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-raised: #181818;
  --color-border: #222222;
  --color-border-subtle: #161616;

  --color-primary: #ffffff;
  --color-primary-fg: #0a0a0a;
  --color-on-surface: #f0f0f0;
  --color-muted: #777777;
  --color-muted-2: #444444;

  --color-accent: #e9e9e9;
  --color-accent-dim: rgba(110, 231, 183, 0.1);

  --color-danger: #f87171;
  --color-success: #4ade80;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;

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

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --font-brand: 'Comfortaa', sans-serif;
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;

  --navbar-height: 60px;
  --container-max: 1080px;
  --container-code-max: 1280px;
  --container-padding: 1.5rem;
}

::selection {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-on-surface);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted-2);
}

@media (max-width: 640px) {
  :root {
    --container-padding: 1rem;
  }
}