

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  color: #222;
  overflow-x: hidden;
}

header.glass-header {
  text-align: center;
  padding: 30px 20px 20px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

header p {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.7;
}

.glass-controls {
  margin: 20px auto;
  padding: 15px;
  max-width: 900px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.sliders {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sliders label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.sliders input[type="range"] {
  width: 200px;
  accent-color: #667eea;
  cursor: pointer;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  color: #fff;
  background: linear-gradient(to right, #667eea, #764ba2);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

select {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.bars-container {
  display: flex;
  align-items: flex-end;
  height: 320px;
  margin: 40px auto;
  max-width: 95vw;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px;
  overflow-x: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.bar {
  position: relative;
  width: 20px;
  background-color: teal;
  margin: 0 3px;
  border-radius: 5px 5px 0 0;
  transition: height 0.3s ease, background-color 0.3s;
}

.bar-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #333;
}

.stats-panel {
  margin: 10px auto 40px;
  max-width: 500px;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  color: #333;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-around;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .bars-container {
    height: 250px;
    padding: 5px;
  }

  .bar {
    width: 10px;
    margin: 0 2px;
  }

  .bar-label {
    font-size: 10px;
  }

  .sliders input[type="range"] {
    width: 150px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }
}
