@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Backgrounds */
  --bg-primary:     #080b10;
  --bg-secondary:   #0d1117;
  --bg-surface:     #111820;
  --bg-elevated:    #1a2332;

  /* Borders */
  --border-subtle:  #1e2d3d;
  --border-mid:     #2a3f55;
  --border-active:  #3d6b8c;

  /* Text */
  --text-primary:   #e2eaf4;
  --text-secondary: #7a9bb5;
  --text-muted:     #3d5a73;

  /* Accents */
  --accent-cyan:    #00c8e0;
  --accent-green:   #00e5a0;
  --accent-amber:   #f5a623;
  --accent-red:     #e05555;

  /* Glows */
  --glow-cyan:      0 0 12px rgba(0, 200, 224, 0.35);
  --glow-green:     0 0 12px rgba(0, 229, 160, 0.3);
  --glow-amber:     0 0 10px rgba(245, 166, 35, 0.3);

  /* Typography */
  --font-display:   'Rajdhani', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Radii */
  --radius-sm:      2px;
  --radius-md:      4px;

  /* Transitions */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med:  280ms cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.scanlines::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}
