/* ============================================================
   AURORE BORÉALE — style du fond animé (voir aurora.js)
   Le fond se place derrière tout le contenu et ne capte aucun clic.
   ============================================================ */

/* Le fond animé remplace l'ancienne lueur de style.css sur les pages qui l'utilisent */
html.aurora-active body::before { display: none !important; }

#aurora-ciel,
#aurora-voile {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

#aurora-ciel {
  display: block;
  /* Couleur de secours pendant le chargement */
  background: linear-gradient(180deg, var(--re-fond) 0%, var(--re-fond) 60%, var(--re-carte) 100%);
}

/* Voile sombre : garde les textes lisibles au centre de l'écran */
#aurora-voile {
  background:
    radial-gradient(ellipse 75% 60% at 50% 42%, color-mix(in srgb, var(--re-fond) 55%, transparent) 0%, color-mix(in srgb, var(--re-fond) 25%, transparent) 60%, color-mix(in srgb, var(--re-fond) 0%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--re-fond) 25%, transparent) 0%, color-mix(in srgb, var(--re-fond) 0%, transparent) 30%);
}
