body { 
  margin: 0;
  background: linear-gradient(45deg, #88aaff, #aaccff);
  overflow: hidden;
  cursor: crosshair;
}

body:active {
  cursor: none;
}

body:-webkit-full-screen {
  cursor: none;
}

body:-moz-full-screen {
  cursor: none;
}

body:fullscreen {
  cursor: none;
}

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

.controls {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.controls span {
  display: block;
  margin: 5px 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.audio-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.audio-controls button {
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.audio-controls button:hover {
  background: rgba(255,255,255,0.4);
}

.welcome-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 30px 50px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.welcome-message.visible {
  opacity: 1;
}

.welcome-message h2 {
  margin: 0;
  font-weight: 300;
  font-size: 2.5em;
  letter-spacing: 0.05em;
}

.welcome-message p {
  margin: 5px 0;
  font-size: 0.9em;
}

.crosshair {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.teleport-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(136, 204, 255, 0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.quality-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.quality-popup.visible {
  opacity: 1;
  pointer-events: all;
}

.quality-popup button {
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.quality-popup button:hover {
  background: rgba(255,255,255,0.4);
}