/* ============================================================
   GOLDEN ARK SYSTEMS · BASE LAYER
   Reset, typography, body, scrollbar, grid background.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === GRID BACKGROUND ===
   Persistent command-center grid behind all content. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,200,66,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,66,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  pointer-events: none;
}

/* === RADIAL VIGNETTE (subtle dimensionality) === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at top, transparent 0%, rgba(0,0,0,0.4) 100%);
  z-index: 0;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.1;
}

p { font-family: var(--font-body); }

/* === UTILITY: monospace label === */
.mono { font-family: var(--font-mono); }

.label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === SCROLLBAR (premium thin) === */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dark-1); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* === SELECTION === */
::selection { background: var(--gold); color: var(--dark-1); }
