/*
  Purpose: Base styles, CSS variables, reset, typography, global background effects.
  Dependencies: Google Fonts (JetBrains Mono, Bebas Neue) loaded in index.html
*/
:root {
  --bg: #07080a;
  --bg2: #0d0f13;
  --bg3: #131620;
  --border: #1e2130;
  --green: #00e5a0;
  --red: #ff3d5a;
  --yellow: #ffc940;
  --blue: #4d9eff;
  --white: #f0f2ff;
  --dim: #525870;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Bebas Neue', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 32px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 32px
    );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: -30%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 229, 160, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 10px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--white);
}

/* Firefox Scrollbar */
* {
  scrollbar-color: var(--green) var(--bg2);
  scrollbar-width: thin;
}

img, svg {
  display: block;
}

small {
  color: var(--dim);
}
