* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #ac3436, #3526a2);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

span2 {
  padding-left: 5px;
  padding-right: 5px;
}

.player-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 360px;
}

.player-card, .playlist-card {
  background: rgba(92, 15, 34, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cover-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.track-info {
  text-align: center;
  margin-bottom: 20px;
}

.track-info h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.track-info p {
  color: #a0a0b0;
  font-size: 0.9rem;
}

.progress-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #bbb;
  margin-bottom: 20px;
}

input[type="range"] {
  flex: 1;
  accent-color: #6366f1;
  cursor: pointer;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

.controls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.controls button:hover {
  color: #818cf8;
  transform: scale(1.2);
}

.controls .play-btn {
  background: #6366f1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.controls .play-btn:hover {
  background: #4f46e5;
  transform: scale(1.08);
}

.volume-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #888;
}

.playlist-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #c7d2fe;
}

.playlist-card ul {
  list-style: none;
  max-height: 180px;
  overflow-y: auto;
}

.playlist-card li {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: background 0.2s;
}

.playlist-card li:hover {
  background: rgba(255, 255, 255, 0.08);
}

.playlist-card li.active {
  background: rgba(199, 102, 41, 0.75);
  color: #a5b4fc;
  font-weight: 600;
}

