.matrix-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: black;
  overflow: hidden;
}

.matrix-glyph {
  position: absolute;
  color: rgba(0, 255, 0, 0.4);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-100%);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  translate: no;
  -webkit-translate: no;
}

@keyframes matrixRain {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0.4; 
  }
  90% {
    opacity: 0.4; 
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matrix-glyph {
    animation-duration: 8s !important;
    opacity: 0.3 !important; 
  }
}
