/* =========================================================================
   base.css - сброс стилей, базовая типографика
   Фон — cubes-bg.js (плавающие изометрические кубы).
   ========================================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Фон с плавающими кубами (cubes-bg.js) ── */
.toxic-cubes-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(184,255,60,0.05), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(57,255,20,0.035), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(184,255,60,0.02), transparent 34%),
    linear-gradient(145deg, #050705 0%, #000 52%, #020302 100%);
}
.toxic-cubes-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.22) 54%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
#toxic-cubes-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 6px rgba(184,255,60,0.04));
}

/* ── Типографика ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

p { line-height: 1.65; color: var(--text-dim); }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

::selection {
  background: var(--accent-glow);
  color: var(--text);
}

/* Контейнер */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Eyebrow / технический лейбл */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
