body {
  font-family: "Georgia", serif;
  background: linear-gradient(135deg, #3e2723, #8d6e63); /* coklat tua → coklat muda */
  color: #f5deb3; /* keemasan lembut */
  text-align: center;
  margin: 0;
  padding: 0;
}

.player-card {
  background: #4e342e;
  color: #f5deb3;
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #ffd700;        /* ✅ border emas */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
}

h1 {
  margin-bottom: 15px;
  color: #ffd700; /* emas */
}

select {
  width: 90%;
  margin: 10px 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ffd700;
  background: #6d4c41;
  color: #ffd700;
}

.controls button {
  background: #795548;
  color: #ffd700;
  border: 1px solid #ffd700;
  /* Hapus padding, ganti dengan width/height */
  width: 45px;  /* Atur lebar */
  height: 45px; /* Atur tinggi (harus sama dengan lebar) */
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 45px; /* Bonus: Ini membantu ikon di tengah secara vertikal */
  transition: background 0.3s, transform 0.2s;
}

.controls button:hover {
  background: #ffd700; /* ✅ Warna Emas */
  color: #4E342E;     /* ✅ Warna Ikon Coklat Tua */
  transform: scale(1.1);
}

/* 🎚️ Slider Volume */
input[type="range"] {
  -webkit-appearance: none;
  width: 90%;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ffd700, #8d6e63); /* emas → coklat */
  outline: none;
  margin-top: 10px;
}

/* Track */
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ffd700, #8d6e63);
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ffd700, #8d6e63);
}

/* Thumb (tombol bulat) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffd700;  /* emas */
  border: 2px solid #4e342e;
  cursor: pointer;
  margin-top: -5px;
}
input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffd700;
  border: 2px solid #4e342e;
  cursor: pointer;
}

#visualizer {
  width: 100%;
  height: 150px;
  margin-top: 15px;
  background: #3e2723;
  border-radius: 10px;
  border: 1px solid #ffd700;  /* ✅ border emas */
}

#status {
  margin-top: 10px;
  font-size: 14px;
  color: #ffe082;
}

.footer {
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  border-top: 1px solid goldenrod;
  color: goldenrod;
  font-size: 14px;
}

/* FIX VISUAL: 
  Menggeser icon yg tidak simetris secara manual (1px ke atas)
*/

.controls button .fas {
  position: relative;
  /* Gunakan 'bottom: 1px' ATAU 'top: -1px'. Keduanya sama-sama
    menggeser elemen 1px ke atas.
  */
  bottom: 1px; 
}

/* Kita mungkin perlu geser 'Play' sedikit lagi secara horizontal
  karena bentuknya segitiga. Ini opsional.
*/
#playBtn .fa-play {
  left: 1px; /* Coba 1px atau 2px ke kanan */
}

input[type="radio"]:checked {
  accent-color: #ffd700; /* Warna emas */
}

/* Mencoba memberi style pada <option> di dropdown */
select option {
  background: #4e342e; /* Background coklat tua */
  color: #f5deb3;      /* Teks keemasan lembut */
}

/* Mencoba mengganti warna highlight biru.
  PERINGATAN: Ini TIDAK AKAN BERHASIL di banyak browser (spt. Chrome)
*/
select option:hover {
  background: #a1887f; /* Coklat muda saat di-hover */
  color: #ffd700;
}

select option:checked {
  background: #ffd700; /* Emas saat dipilih */
  color: #3e2723;      /* Teks coklat tua */
}
