* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary); /* Fallback */
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Three.js Background Canvas setup */
#webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Gradient overlay so the text remains readable over the stars */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 100%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gradient-cyan); border-radius: 4px; }