.mag-nix-card {
  text-align: center;
}

.mag-nix-frame {
  position: relative;
  width: min(650px, 100%);
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* Absichtlich spezifischer als .card img aus dem Haupt-CSS */
.mag-nix-card .mag-nix-poster {
  position: relative;
  z-index: 1;

  display: block;

  width: 100%;
  height: auto;

  max-width: none;
  max-height: none;

  margin: 0;

  object-fit: contain;

  border-radius: 10px;

  opacity: 0.04;
  animation: magNixPosterIn 2.5s ease-out 1s forwards;
}

#matrixCanvas {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;

  display: block;

  width: 100%;
  height: 100%;

  pointer-events: none;
  background: transparent;
  opacity: 1;
}

#matrixCanvas.matrix-fade-out {
  animation: magNixMatrixOut 1.25s ease-in forwards;
}

.mag-nix-back {
  margin-top: 18px;
}

@keyframes magNixPosterIn {
  from {
    opacity: 0.04;
  }

  to {
    opacity: 1;
  }
}

@keyframes magNixMatrixOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .mag-nix-frame {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mag-nix-card .mag-nix-poster {
    animation: none;
    opacity: 1;
  }

  #matrixCanvas {
    display: none;
  }
}