body {
  margin: 0;
  background-color: black; /* solid black background */
  font-family: 'Courier New', Courier, monospace;
  color: white;
  overflow: hidden;
  position: relative;
}
.linkstratting {
    color: #00ff00;
    text-shadow: 0 0 3px #4bdb4b;
  }
.background-layer-1 {
  background: url('grid1.png') repeat;
      background-repeat: repeat;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
  animation: drift-down 10s linear infinite;
  pointer-events: none;
  opacity: 0.3;
}

.background-layer-2 {
  background: url('grid2.png') repeat;
    background-repeat: repeat;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    z-index: -2;
  animation: drift-up 30s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

.planet-zone {
  position: relative;
  border: 4px ridge #ff6666;
  background-color: #111;
  padding: 40px;
  margin: 40px auto;
  width: 90%;
  max-width: 1000px;
  box-shadow: inset 0 0 10px #330000, 2px 2px 0 #660000;
  overflow: hidden;
  z-index: 1;
}


.planet-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: url('TREEBG.png') repeat;
  animation: drift-vertical 20s linear infinite;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}


.planet-chaos {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.planet-box {
  width: 130px;
  padding: 8px;
  text-align: center;
  position: relative;
  margin-top: calc(var(--offset, 0) * 10px);
  z-index: 1;
}

.planet-box:hover {
  transform: scale(1.08);
  z-index: 2;
}

.planet-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.planet-label {
  margin-top: 6px;
  font-size: 14px;
  color: #fff0f0;
  text-shadow: 1px 1px 0 #660000;
}

.center-planet {
  order: 0;
  --offset: 0;
  --offset-x: 0;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .planet-chaos {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .planet-box {
    transform: none;
    margin-top: 10px;
  }
}


@keyframes drift-vertical {
  0% { background-position: 0 0; }
  100% { background-position: 0 400px; }
}

@keyframes drift-down {
  0% { background-position: 0 0; }
  100% { background-position: 400px 400px; }
}

@keyframes drift-up {
  0% { background-position: 0 0; }
  100% { background-position: -400px -400px; }
}