* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #020308;
  color: #ff00ff;
}

/* Three.js Canvas Background */
#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

/* Interactive UI Layer */
#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Allows clicking through empty areas */
}

/* Neon Marker Buttons */
.level-node {
  position: absolute;
  pointer-events: auto;
  background: rgba(10, 0, 20, 0.85);
  border: 1px solid #ff00ff;
  color: #ff00ff;
  padding: 8px 14px;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  text-shadow: 0 0 5px #ff00ff;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
  transition: all 0.2s ease-in-out;
}

.level-node:hover {
  background: #ff00ff;
  color: #000;
  box-shadow: 0 0 20px #ff00ff;
  transform: scale(1.05);
}

/* Right HUD Panel */
#hud-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 300px;
  height: calc(100vh - 40px);
  background: rgba(5, 2, 12, 0.9);
  border: 1px solid #00ffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  z-index: 20;
  padding: 20px;
  color: #00ffff;
}

.hud-header {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #00ffff;
}

.neon-line {
  border: none;
  height: 1px;
  background: #00ffff;
  box-shadow: 0 0 5px #00ffff;
  margin: 12px 0;
}

.status-text {
  font-size: 0.85rem;
  line-height: 1.4;
}