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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
}

#canvas {
  display: block;
  width: 100vw;
  height: 100vh;
}

#controls {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  z-index: 10;
  max-width: 300px;
  transition: opacity 0.3s ease;
}

#controls.hidden {
  opacity: 0;
  pointer-events: none;
}

h1 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #00ffff;
}

.control-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9em;
  color: #aaa;
}

input[type="file"] {
  display: none;
}

button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 1em;
  transition: transform 0.2s;
  margin-bottom: 10px;
}

button:hover {
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}

select {
  width: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: white;
  font-size: 0.9em;
}

select option {
  background: #222;
}

.status {
  font-size: 0.85em;
  color: #00ff00;
  margin-top: 10px;
}

#toggleControls {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 11;
}
