body {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: Arial, sans-serif;
}

.showDesc {
  position: fixed;
  width: 80px;
  height: 30px;
  padding: 0;
  bottom: 0px;
  left: 0px;
}

/* iPod body */
.player {
  width: 260px;
  height: 420px;
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  border-radius: 30px;
  box-shadow: 
    inset -5px -5px 10px #ffffff,
    inset 5px 5px 10px #cfcfcf,
    0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  position: relative;
}

/* Reflection */
.player::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 420px;
  border-radius: 30px;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.2),
    transparent 60%
  );
  pointer-events: none;
}

/* Screen */
.details {
  width: 100%;
  height: 140px;
  background: #b5d2a2;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 
    inset 0 0 8px rgba(0,0,0,0.3),
    0 0 10px rgba(144, 164, 174, 0.6);
}

.track-name {
  font-weight: bold;
  font-size: 16px;
  color: #000;
  transition: transform 0.2s ease;
}

.player.playing .track-name {
  transform: scale(1.05);
}

.description {
  font-weight: bold;
  font-size: 11px;
  color: #000;
  overflow-y: auto;
  max-height: 60px;
  display: none;
}

.description::-webkit-scrollbar {
  width: 4px;
}

.description::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.track-artist,
.release-date {
  font-size: 13px;
  color: #222;
  margin-top: 5px;
}

/* Click wheel */
.buttons {
  margin-top: 30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top left, #ffffff, #dcdcdc);
  border-radius: 50%;
  position: relative;
  box-shadow: 
    inset -5px -5px 10px #ffffff,
    inset 5px 5px 10px #cfcfcf;
}

/* Buttons */
.buttons button {
  position: absolute;
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  color: #333;
}

.buttons button:active {
  transform: scale(0.9) translateY(-50%);
}

/* Positions */
.buttons button:nth-child(1) {
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.buttons button:nth-child(2) {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ddd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-weight: bold;
}

.buttons button:nth-child(2):active {
  transform: translate(-50%, -50%) scale(0.9);
}

.buttons button:nth-child(3) {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Menu text */
.buttons::before {
  content: "MENU";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #555;
}

/* Time display */
.time {
  margin-top: 10px;
}

/* Sliders */
.sliders {
  width: 100%;
  margin-top: 15px;
}

input[type="range"] {
  width: 100%;
  margin-top: 10px;
  appearance: none;
  height: 4px;
  background: linear-gradient(to right, #333, #aaa);
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: #111;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
