* { box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  padding: 20px;
}

h1 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-shadow: 2px 2px 8px #0f172a;
}

.controls {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #22c55e;
  font-weight: bold;
  transition: all 0.2s ease;
}

button:hover { background: #16a34a; }

#sliders {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.slider-box { display: flex; flex-direction: column; align-items: center; }

input[type="range"] { writing-mode: bt-lr; -webkit-appearance: slider-vertical; height: 120px; }

.visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 300px;
  border-top: 2px solid #334155;
  padding-top: 10px;
  position: relative;
}

.block {
  position: relative;
  width: 30px;
  background: linear-gradient(to top, #64748b, #cbd5e1);
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.block:hover { transform: translateY(-3px); }

.water {
  position: absolute;
  bottom: 100%;
  width: 100%;
  background: linear-gradient(to top, rgba(59,130,246,0.8), rgba(147,197,253,0.8));
  transition: height 0.3s;
  border-radius: 2px 2px 0 0;
}
