body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  height: 100vh;
}

.background {
  background-image: url('/public/wml.jpg'); 
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}

.mixer {
  display: flex;

  justify-content: center;
  gap: 1vw;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
}

.stem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 12px;
  min-width: 45px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  flex: 1 1 auto;
}

.stem label {
  margin-bottom: 10px;
  font-weight: bold; 
  font-size: 1rem;
  color: #eee;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.slider {
writing-mode: vertical-lr;
  direction: rtl;
  -webkit-appearance: none;
  appearance: none;
  width: 0.8rem;
  height: 20vh;
  min-height: 100px;
  max-height: 160px;
  margin: 0.6rem 0;

  background: repeating-linear-gradient(
    to bottom,
    #1a1a1a,
    #1a1a1a 0.125rem,
    #222 0.125rem,
    #222 0.25rem
  );

  border-radius: 0.6rem;
  box-shadow: inset 0 0 0.25rem #000;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #d9d9d9, #777);
  border: 1px solid #333;
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: transform 0.1s ease;
}

.slider::-webkit-slider-thumb:hover {
  background: #eee;
  transform: scale(1.1);
  box-shadow: 0 0 5px #0f0;
}

button,
.master-btn {
  margin-top: 0.5rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
  transition: background 0.2s ease;
}

button:hover,
.master-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  box-shadow: 0 0 2px #000;
  margin-bottom: 8px;
  transition: background 0.3s, box-shadow 0.3s;
}

.led[data-on="true"] {
  background: #0f0;
  box-shadow: 0 0 8px #0f0;
}
.vu-wrapper {
  
  height: 160px; /* Match or exceed the slider height */
  width: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.vu-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #0f0;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 255, 0, 0.5);
  opacity: 0.7;
  z-index: 1;
  transition: height 0.08s ease-out;
}

@font-face {
  font-family: 'DigitalClock';
  src: local('DS-Digital'), url('https://fonts.cdnfonts.com/s/17554/DS-DIGI.TTF') format('truetype');
}

.time-display {
  font-family: 'Orbitron', monospace;
  font-size: .7rem;
  color: #0f0; /* VFD cyan glow */
  background-color: #000;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 24px;

  text-shadow:
    0 0 4px #00f7ff,
    0 0 8px #00f7ff,
    0 0 12px rgba(0, 255, 255, 0.5),
    0 0 20px rgba(0, 255, 255, 0.3);
  

}

.nav-buttons {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 10;
}

.nav-btn {
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  width: 100px;
  text-align: center;
  transition: background 0.2s ease;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
  text-shadow: 0 0 3px #0f0;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
@media (max-width: 768px) {
  .mixer {
    flex-direction: row;
    justify-content: center;
    gap: 4px;
    padding-bottom: 80px;
  }

  .stem {
    width: 6vw;
  }

  .time-display {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .nav-buttons.nav-left {
    flex-direction: column;
    left: 10px;
    top: 10px;
  }

  .nav-btn {
    width: auto;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}