:root {
  color-scheme: dark;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #557f8c 0%, #9fbe84 50%, #d6e6bc 100%);
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#bloom-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#controls {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(380px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 14px;
  border-radius: 12px;
  background: rgba(14, 18, 22, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.controls-header h1 {
  margin: 0;
  font-size: 18px;
}

.controls-header p {
  margin: 8px 0 12px;
  font-size: 13px;
  opacity: 0.85;
}

.buttons-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

button {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ebf3ef;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.slider-row {
  margin: 10px 0;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
}

.slider-row input[type="range"] {
  width: 100%;
}
