* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  user-select: none;
}

body {
  overflow: hidden;
  background-color: #000;
}

#container {
  position: relative;
  top: 50;
  left: 100;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.controls-panel {
   position: fixed;
   left: 50%;
   top: 32px;
   right: 32px;
   left: unset;
   bottom: unset;
   transform: none;
   background: rgba(0, 0, 0, 0.86);
   border: 1px solid #30bfdd;
   border-radius: 14px;
   padding: 20px 26px 18px 26px;
   width: 320px;
   color: #fff;
   z-index: 1000;
   box-shadow: 0 0 28px 4px rgba(48, 191, 221, 0.45);
   max-width: 95vw;
   /* Responsive fallback */
   box-sizing: border-box;
}

.title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 2px;
  color: #30bfdd;
  text-shadow: 0 0 5px rgba(48, 191, 221, 0.8);
}

.shape-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.shape-selector button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #30bfdd;
  border-radius: 5px;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.shape-selector button:hover {
  background: rgba(48, 191, 221, 0.3);
  transform: translateY(-2px);
}

.shape-selector button.active {
  background: rgba(48, 191, 221, 0.6);
  box-shadow: 0 0 10px rgba(48, 191, 221, 0.8);
}

.sliders {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.slider-container label {
  color: #30bfdd;
  font-size: 0.9rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #30bfdd;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #fff;
  box-shadow: 0 0 5px rgba(48, 191, 221, 0.8);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #30bfdd;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #fff;
  box-shadow: 0 0 5px rgba(48, 191, 221, 0.8);
}

/* Animation for the electric effects */
@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(48, 191, 221, 0.8);
  }
  50% {
    box-shadow: 0 0 15px rgba(48, 191, 221, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(48, 191, 221, 0.8);
  }
}

.shape-selector button.active {
  animation: pulse 2s infinite;
}