body {
  background: #020b04;
  position: relative;
  overflow-x: hidden;
}

.jp-matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;         /* Full lebar layar */
  height: 100vh;        /* Full tinggi layar */
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  grid-auto-rows: 40px;
  font-size: 28px;
  color: rgba(0, 255, 100, 0.25);
  font-family: "Courier New", monospace;
  justify-content: center;
  align-content: center;
  background-color: #020b04;
  z-index: -1;
}

.jp-matrix > span {
  text-align: center;
  text-shadow: 0 0 6px rgba(0, 255, 100, 0.6);
  user-select: none;
  transition: color 0.5s, text-shadow 0.5s;
  line-height: 1;
}

/* animasi sama aja kayak sebelumnya */
.jp-matrix > span:nth-child(19n + 2) {animation: smooth-pulse 3.5s ease-in-out infinite 0.2s;}
.jp-matrix > span:nth-child(29n + 1) {animation: smooth-pulse 4.1s ease-in-out infinite 0.7s;}
.jp-matrix > span:nth-child(11n) {color: rgba(0, 255, 130, 0.6);animation: smooth-pulse 2.9s ease-in-out infinite 1.1s;}
.jp-matrix > span:nth-child(37n + 10) {animation: smooth-pulse 5.3s ease-in-out infinite 1.5s;}
.jp-matrix > span:nth-child(41n + 1) {animation: smooth-pulse 3.9s ease-in-out infinite 0.4s;}
.jp-matrix > span:nth-child(17n + 9) {animation: smooth-pulse 2.8s ease-in-out infinite 0.9s;}
.jp-matrix > span:nth-child(23n + 18) {animation: smooth-pulse 4.3s ease-in-out infinite 1.3s;}
.jp-matrix > span:nth-child(31n + 4) {animation: smooth-pulse 5.6s ease-in-out infinite 0.1s;}
.jp-matrix > span:nth-child(43n + 20) {animation: smooth-pulse 3.6s ease-in-out infinite 1.8s;}
.jp-matrix > span:nth-child(13n + 6) {animation: smooth-pulse 3.2s ease-in-out infinite 1.2s;}
.jp-matrix > span:nth-child(53n + 5) {animation: smooth-pulse 4.9s ease-in-out infinite 0.5s;}
.jp-matrix > span:nth-child(47n + 15) {animation: smooth-pulse 5.9s ease-in-out infinite 1s;}

@keyframes smooth-pulse {
  0%, 100% {
    color: rgba(0, 255, 80, 0.25);
    text-shadow: 0 0 5px rgba(0, 255, 80, 0.5);
  }
  30% {
    color: rgba(0, 255, 100, 0.9);
    text-shadow: 0 0 10px rgba(0, 255, 80, 0.9),
                 0 0 15px rgba(0, 255, 100, 0.9);
  }
  50% {
    color: #6aff7a;
    text-shadow: 0 0 10px #00ff66,
                 0 0 20px #00ff88,
                 0 0 25px #00ff55;
  }
  70% {
    color: #b6ffb6;
    text-shadow: 0 0 8px #00ff66,
                 0 0 12px #00ff88,
                 0 0 18px #00ff66;
  }
}
