html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0a0a12;
}

#canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: grab;
  touch-action: none;
}

#canvas.grabbing {
  cursor: grabbing;
}

/* =============================================
   CONTROLS
   ============================================= */
.controls {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 1rem;
}

.control-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: rgba(255,255,255,0.7);
  font-family: 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.control-btn:active {
  transform: translateY(0);
}

.control-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.control-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =============================================
   HINT
   ============================================= */
.hint {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

.hint-text {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-family: 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  animation: hintFade 4s ease 2s forwards;
}

@keyframes hintFade {
  0%   { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .controls {
    gap: 0.7rem;
  }
  
  .control-btn {
    padding: 0.7rem 1rem;
  }
  
  .control-icon {
    font-size: 1.3rem;
  }
  
  .control-label {
    font-size: 0.65rem;
  }
}
