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

html, body {
  width: 100%; height: 100%;
  background: #000;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

#canvas-container {
  position: fixed;
  inset: 0;
}

canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#ui {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}

#info {
  position: fixed;
  top: 20px;
  left: 20px;
  color: rgba(180,230,255,0.7);
  font-size: 13px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  pointer-events: none;
}

#loader {
  position: fixed;
  inset: 0;
  background: #000810;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 1.2s ease;
}

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

.loader-title {
  color: rgba(100,200,255,0.9);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.loader-bar-wrap {
  width: 240px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, #1af, #0ff);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}
