* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #000;
  overflow: hidden;
  touch-action: none;
  height: 100vh;
}

.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#remoteVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  z-index: 10;
}

.header {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  pointer-events: none;
}

h1 {
  font-size: 1.4rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.status {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: bold;
  background: rgba(0,0,0,0.6);
  color: white;
}

.status-connected { background: #0a0; }

.joystick-wrapper {
  position: absolute;
  bottom: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.joystick-wrapper.active {
  opacity: 1;
  pointer-events: auto;
}

.left { left: 30px; }
.right { right: 30px; }

.joystick-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.joystick-left, .joystick-right {
  width: 130px;
  height: 130px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  transition: all 0.2s ease;
}