/* Custom Glassmorphism and UI polish */

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Hide scrollbars for smooth scrolling carousel */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* HUD buttons style */
.hud-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-center: center;
  backdrop-filter: blur(8px);
  transition: all 0.15s ease-out;
}
.hud-btn:active {
  transform: scale(0.92);
  background-color: rgba(255, 255, 255, 0.18);
}

/* Preset Cards */
.preset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.preset-card:active {
  transform: scale(0.92);
}
.preset-card.active div {
  border-color: #FF9800 !important;
  box-shadow: 0 0 15px rgba(255, 152, 0, 0.4);
}

/* Custom Range Slider */
.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FF9800;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
  border: 2px solid #ffffff;
  transition: transform 0.1s ease;
}
.custom-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
}

.custom-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FF9800;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
  border: 2px solid #ffffff;
}

/* Touch action optimization */
button, input, select {
  touch-action: manipulation;
}