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

body {
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow: hidden;
  height: 100vh;
}

.plasma-lab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 20px;
  padding: 20px;
}

.canvas-area {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plasma-blob {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.plasma-blob::before,
.plasma-blob::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  opacity: 0.5;
}

.plasma-blob::before {
  background: inherit;
  filter: blur(30px);
  animation: pulse 3s ease-in-out infinite;
}

.plasma-blob::after {
  background: inherit;
  filter: blur(60px);
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00f8ff;
  text-shadow: 0 0 10px rgba(0,248,255,0.3);
}

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  width: 100%;
  max-width: 420px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slider-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  display: flex;
  justify-content: space-between;
}

.slider-group label span {
  color: #00f8ff;
  font-weight: 600;
}

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

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00f8ff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,248,255,0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00f8ff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(0,248,255,0.5);
}

.reset-btn {
  grid-column: 1 / -1;
  background: transparent;
  border: 1px solid #00f8ff33;
  color: #00f8ff;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  justify-self: center;
}

.reset-btn:hover {
  background: #00f8ff15;
  border-color: #00f8ff66;
}
