/* Custom Scrollbars & Reset */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.8);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
  }
}

.hotbar-selected {
  border-color: #f59e0b !important;
  transform: translateY(-4px);
  background: rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.animate-bounce-once {
  animation: bounceOnce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceOnce {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Touch Control Helpers */
#joystick-zone {
  touch-action: none;
}

#touch-look-zone {
  touch-action: none;
}