/* ============================================
   AI Era — Base / Reset
   ============================================ */
*{box-sizing:border-box;margin:0;padding:0}

html,body{
  width:100%;
  height:100%;
  overflow:hidden;
  background:var(--bg);
  color:var(--text);
}

body{
  font-family:var(--font-sans);
  -webkit-font-smoothing:antialiased;
  cursor:none;
  background:
    radial-gradient(circle at 50% 42%, rgba(99,102,241,.075), transparent 28%),
    radial-gradient(circle at 50% 50%, #06060a 0%, #030305 58%, #020203 100%);
}

/* WebGL canvas container */
#webgl{position:fixed;inset:0;z-index:0}
#webgl canvas{display:block;width:100%;height:100%}

/* Grain overlay */
.grain{
  position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.045;mix-blend-mode:screen;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

/* Vignette overlay */
.vignette{
  position:fixed;inset:0;z-index:2;pointer-events:none;
  box-shadow:inset 0 0 180px rgba(0,0,0,.5);
}
