body {
  margin: 0;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  cursor: none;
  font-family: Arial, sans-serif;
  transition: background-color 0.5s ease;
}

.container {
  position: relative;
  width: 768px;
  height: 768px;
  overflow: hidden;
}

.factory-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.5s ease;
}

.container:hover .factory-img {
  transform: scale(1.01);
  filter: brightness(1.1) contrast(1.05);
}

.container.tooltip-active .factory-img {
  filter: grayscale(100%) brightness(0.8);
}

.info-box {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  color: #0ff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  pointer-events: none;
  z-index: 3;
  max-width: 240px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
  animation: tooltipPop 0.25s ease-out;
  transform: scale(1);
}

@keyframes tooltipPop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.highlight-zone {
  position: absolute;
  border: 2px dashed transparent;
  border-radius: 4px;
  box-shadow: 0 0 0 rgba(0, 255, 255, 0);
  animation: scanPulse 2s infinite;
  background: rgba(0, 255, 255, 0.05);
}

.highlight-zone:hover {
  box-shadow: 0 0 20px 5px rgba(0, 255, 255, 0.5);
  border-color: #0ff;
}

@keyframes scanPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.2);
  }
}

.toggle-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #0ff;
  border: none;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.2s ease;
}

.toggle-btn:hover {
  transform: scale(1.1);
}

.vapor {
  position: fixed;
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, #0ff, #ff0, #f0f);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.9;
  z-index: 9999;
  box-shadow: 0 0 12px 6px rgba(255, 255, 255, 0.3);
  animation: vaporFade 1s linear forwards;
  transform: translate(-50%, -50%);
}

@keyframes vaporFade {
  0% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.3) translate(-50%, -50%);
    opacity: 0;
  }
}

.starry-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(2px 2px at 20% 30%, #fff 20%, transparent 20%),
                    radial-gradient(1.5px 1.5px at 60% 70%, #0ff 20%, transparent 20%),
                    radial-gradient(1px 1px at 80% 10%, #f0f 20%, transparent 20%);
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.05;
  z-index: 0;
  animation: drift 60s linear infinite;
}

@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 100%;
  }
}



