* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.car-model {
  color: #4dd0e1;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.car-details {
  color: #666;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
}

.dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.gauges-container {
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
}

#gearDisplay {
  font-size: 80px;
  font-weight: 900;
  color: #4dd0e1;
  text-shadow: 0 0 30px #4dd0e1;
  user-select: none;
}

.sliders {
  display: flex;
  align-items: center;
  gap: 40px;
}

.slider-group {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-group label {
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buttons button {
  padding: 12px 40px;
  background: transparent;
  border: 2px solid #888;
  border-radius: 8px;
  color: #888;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.buttons button:hover {
  border-color: #aaa;
  color: #aaa;
}

.buttons button.active {
  border-color: #4dd0e1;
  color: #4dd0e1;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: #333;
  outline: none;
  -webkit-appearance: none;
  border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #4dd0e1;
  border: 2px solid #888;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px #4dd0e1;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #4dd0e1;
  border: 2px solid #888;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px #4dd0e1;
}

canvas {
  display: block;
}

.footer {
  margin-top: 60px;
}

.footer a {
  color: #444;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer a:hover {
  color: #666;
}
