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

body {
  background: #0a0a0a;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.container {
  width: 100%;
  max-width: 420px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 2rem 1.8rem 1.8rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.10);
}

.avatar-wrapper {
  width: 130px;
  height: 130px;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

#avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.desc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: 0.15rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #aaa;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.social a {
  color: #aaa;
  font-size: 1.45rem;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.social a:hover {
  color: #fff;
  transform: scale(1.08);
  text-shadow: 0 0 25px rgba(255,255,255,0.15);
}

.music-player {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.music-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.music-cover {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.music-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist {
  font-size: 0.7rem;
  font-weight: 400;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.music-controls button {
  background: none;
  border: none;
  color: #aaa;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.music-controls button:hover {
  color: #fff;
}

.music-controls button#btn-play {
  font-size: 1.4rem;
  color: #fff;
  background: rgba(255,255,255,0.06);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}

.music-controls button#btn-play:hover {
  background: rgba(255,255,255,0.12);
}

.music-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.1rem;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  pointer-events: none;
}

.time-current,
.time-total {
  font-size: 0.55rem;
  font-weight: 400;
  color: #555;
  min-width: 26px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  touch-action: none;
  -webkit-touch-callout: none;
  pointer-events: none;
  cursor: default;
}

.progress-bar:hover {
  height: 3px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
  border-radius: 4px;
  transition: width 0.1s linear;
  pointer-events: none;
  touch-action: none;
}

.progress-bar::after {
  display: none;
}

.footer {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.03em;
}

.footer a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}
