body {
  padding: 0;
  margin: 0;
  height: 100vh;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}

:root {
  --color-bg1: rgb(20, 0, 40);
  --color-bg2: rgb(0, 5, 20);
  --color1: 18, 50, 150;
  --color2: 120, 30, 150;
  --color3: 100, 20, 120;
  --color4: 60, 20, 80;
  --color5: 30, 30, 60;
  --color-interactive: 70, 50, 150;
  --circle-size: 80%;
  --blending: hard-light;
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

.gradient-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
  top: 0;
  left: 0;
  z-index: -1;
}

.gradient-bg svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.gradient-bg .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}

.gradient-bg .g1 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
  opacity: 1;
}

.gradient-bg .g2 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 1;
}

.gradient-bg .g3 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
  opacity: 1;
}

.gradient-bg .g4 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.gradient-bg .g5 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
  opacity: 1;
}

.gradient-bg .interactive {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
}
/* Disabled Animation State */
.gradient-bg.animations-disabled .g1,
.gradient-bg.animations-disabled .g2,
.gradient-bg.animations-disabled .g3,
.gradient-bg.animations-disabled .g4,
.gradient-bg.animations-disabled .g5 {
  animation: none !important;
}

/* Reduce blur and filters when animations are disabled for better performance */
.gradient-bg.animations-disabled .gradients-container {
  filter: blur(20px);
}

.gradient-bg.simple-mode {
  background: linear-gradient(135deg, #752c9d, #041959, #4d235f);
  filter: none;
}

.gradient-bg.simple-mode .gradients-container {
  display: none;
}

/* Toggle Button Styles */
.toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 16px;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.toggle-btn:active {
  transform: translateY(0);
}

.toggle-btn.disabled {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.toggle-btn.disabled:hover {
  background: rgba(255, 255, 255, 0.08);
}

.toggle-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.toggle-text {
  user-select: none;
}
.command-palette {
  width: 480px;
  background: rgba(28, 26, 48, 0.55);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.search-container {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  flex: 1;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.section {
  padding: 16px 20px;
}

.section-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
}
#heure-paris{
  text-transform: lowercase;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.menu-item:hover {
  background: rgba(139, 92, 246, 0.1);
  color: #A78BFA;
}

.menu-item.active {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

.menu-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  flex-shrink: 0;
}

.menu-text {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
}

.menu-shortcut {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.track-selector {
  position: relative;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.track-selector.active .dropdown-icon {
  transform: rotate(180deg);
}

.track-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin: 0 -12px;
}

.track-dropdown.open {
  max-height: 300px;
  overflow-y: auto;
}

.track-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.track-option:last-child {
  border-bottom: none;
}

.track-option:hover {
  background: rgba(139, 92, 246, 0.1);
  color: #A78BFA;
}

.track-option.active {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

.track-option-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  flex-shrink: 0;
}

.track-option-text {
  font-size: 14px;
  font-weight: 400;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.controls-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.control-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.progress-bar {
  -webkit-appearance: none;
  flex: 1;
  height: 4px;
  background: rgba(240, 232, 255, 0.919);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #A78BFA;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.progress-tooltip {
  position: absolute;
  top: -35px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.progress-container:hover .progress-tooltip {
  opacity: 1;
}

.volume-control {
  -webkit-appearance: none;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #A78BFA;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.time-display {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  min-width: 70px;
  text-align: center;
}

.button-group {
  display: flex;
  gap: 8px;
}

.control-button {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.control-button:hover {
  background: rgba(139, 92, 246, 0.3);
  color: #A78BFA;
}

.control-button.play-pause {
  background: linear-gradient(135deg, #8B5CF6, #3B82F6);
  font-size: 16px;
}

.control-button.play-pause:hover {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  transform: scale(1.05);
}

.control-button svg {
  width: 20px;
  height: 20px;
}

.control-button.play-pause svg {
  width: 24px;
  height: 24px;
}

.bottom-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.visualizer-container {
    flex: 1;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.repeat-btn.active {
    background: rgba(147, 51, 234, 0.3);
    color: #a855f7;
}

#visualizer {
    width: 100%;
    height: 100%;
}
