* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  background: #000;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: white;
  font-family: monospace;
}

#loading-box {
  text-align: center;
  padding: 20px;
}

#loading-bar-bg {
  width: 300px;
  height: 4px;
  background: #333;
  margin: 20px auto;
  border-radius: 2px;
  overflow: hidden;
}

#loading-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  width: 0%;
  transition: width 0.3s ease;
}

#status {
  position: fixed;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  z-index: 1000;
  font-family: monospace;
  font-size: 12px;
  border-radius: 8px;
  min-width: 200px;
}

#status button {
  margin: 5px 2px;
  padding: 5px 10px;
  background: #4ecdc4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
}

#status button:hover {
  background: #45b7aa;
}

.nav-button {
  background: #ff6b6b !important;
}

.nav-button:hover {
  background: #e85d5d !important;
}