/* =========================================================
   GM.IA — CYBERPUNK BACKGROUND SAFE
   Fond animé diagonales, sans casser le contenu
========================================================= */

html, body {
  background:
    radial-gradient(circle at 18% 22%, rgba(33,223,255,0.10), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(255,48,72,0.08), transparent 32%),
    linear-gradient(115deg, #02060b 0%, #031120 40%, #020913 100%) !important;
}

/* couche fond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.00) 0%,
      rgba(33,223,255,0.035) 40%,
      rgba(0,0,0,0.00) 100%
    );

  opacity: 0.9;
}

/* diagonales animées */
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;

  background:
    repeating-linear-gradient(
      -62deg,
      transparent 0px,
      transparent 24px,
      rgba(33,223,255,0.22) 24px,
      rgba(33,223,255,0.22) 26px,
      transparent 26px,
      transparent 54px
    );

  animation: gmiaCyberLines 14s linear infinite;
  will-change: transform;
}

/* on remet le vrai contenu au-dessus */
body > * {
  position: relative;
  z-index: 1;
}

@keyframes gmiaCyberLines {
  from {
    transform: translate3d(-140px, 0, 0);
  }
  to {
    transform: translate3d(140px, 0, 0);
  }
}
