@charset "UTF-8";

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #171717;
}
::-webkit-scrollbar-thumb {
  background: #78350f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b45309;
}

/* Touch & Interaction resets */
* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* Equalizer Bars Animations */
.eq-bar {
  transition: height 0.08s ease-in-out;
  border-radius: 1px;
}

/* Steering Wheel Grip Texture */
#steering-wheel {
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 -4px 8px rgba(0, 0, 0, 0.7);
}

/* Realistic Headlight Lens Flare */
.headlight-active {
  opacity: 0.9 !important;
}

/* Pulsing flasher hazard lights */
.hazard-active {
  animation: hazard-blink 0.8s infinite alternate;
}

@keyframes hazard-blink {
  from {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
  }
  to {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 1);
    background-color: rgba(127, 29, 29, 0.7);
  }
}

/* Smooth range slider track */
input[type="range"]::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.8);
  cursor: pointer;
  -webkit-appearance: none;
}