:root {
  --bg: #111;
  --card: #1a1a1a;
  --accent: #f5c518;
  --text: #f0f0f0;
  --muted: #999;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.player-card {
  background-color: var(--card);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#radioMenu::-webkit-scrollbar {
  width: 6px;
}
#radioMenu::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

.footer-credit {
  margin-top: 45px; /* atau bisa coba 5px jika masih terlalu jauh */
  font-size: 0.75em;
  color: var(--muted);
}

.logo {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.track-title {
  margin-bottom: 30px;
  font-size: 1em;
  color: var(--muted);
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.control-button {
  background-color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
  transition: transform 0.2s ease;
}

.control-button:hover {
  transform: scale(1.05);
}

.control-button svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

.equalizer {
  display: flex;
  align-items: flex-end;
  height: 40px;
  width: 40px;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin: 0 auto;
}

.equalizer.active {
  opacity: 1;
}

.equalizer span {
  width: 5px;
  background: var(--accent);
  animation: bounce 1s infinite ease-in-out;
  border-radius: 3px;
}

.equalizer span:nth-child(1) {
  animation-delay: 0s;
}
.equalizer span:nth-child(2) {
  animation-delay: 0.2s;
}
.equalizer span:nth-child(3) {
  animation-delay: 0.4s;
}
.equalizer span:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%,
  100% {
    height: 10%;
  }
  50% {
    height: 100%;
  }
}

@media (max-width: 480px) {
  .control-button {
    width: 50px;
    height: 50px;
  }
  .control-button svg {
    width: 20px;
    height: 20px;
  }
  .equalizer {
    height: 30px;
    width: 30px;
  }
}