@import "tailwindcss";

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@theme {
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-tertiary: #1a1a1a;
  --color-bg-hover: #222222;
  --color-border: #262626;
  --color-border-active: #333333;
  --color-text-primary: #e5e5e5;
  --color-text-secondary: #a3a3a3;
  --color-text-tertiary: #737373;
  --color-accent: #d4a04e;
  --color-accent-hover: #e0b366;
  --color-accent-muted: rgba(212, 160, 78, 0.15);

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-hero: 4.75rem;
  --text-display: 3.5rem;
  --text-title: 2rem;
  --text-body-lg: 1.125rem;
  --text-body: 0.9375rem;
  --text-caption: 0.75rem;
}

:root {
  color-scheme: dark;
  background-color: var(--color-bg-primary);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-bg-primary);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#root {
  min-height: 100vh;
}

code,
pre,
.font-mono {
  font-family: var(--font-mono);
}

::selection {
  background: rgba(212, 160, 78, 0.28);
  color: var(--color-text-primary);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #3a3125 #111111;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #111111;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #403223 0%, #2d241a 100%);
  border: 2px solid #111111;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5b4731 0%, #3c2f21 100%);
}
