/* Flash Portal — full-page matrix rain (cmatrix npm / github.com/jcubic/cmatrix) */

.fp-has-matrix {
  position: relative;
  background: #020302;
}

.fp-matrix-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 90% at 50% 0%, #041208 0%, #020302 45%, #000000 100%);
  opacity: 1;
}

.fp-matrix-bg canvas {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: none !important;
}

.fp-matrix-canvas--green {
  opacity: 0.14;
}

.fp-matrix-canvas--white {
  opacity: 0.09;
  mix-blend-mode: screen;
}

.fp-page-layer {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .fp-matrix-bg canvas {
    display: none;
  }
}
