* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.player-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 350px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

.theme-selector {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 20px;
}

.theme-selector input {
  display: none;
}

.theme-selector label {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  color: #ccc;
}

.theme-selector input:checked + label {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
}

.controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.volume {
  text-align: left;
}

.volume input {
  width: 100%;
}

canvas#visualizer {
  width: 100%;
  height: 100px;
  background: transparent;
  margin: 10px 0;
}
