/* ============================================================
   music.css — 音乐页专属
   ============================================================ */

.music-header { padding: 60px 0 20px; }

.music-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 40px 0 80px;
}

/* ---------- 黑胶唱片设计 ---------- */
.vinyl-wrapper {
  flex: 0 0 auto;
  /* 增加一圈淡淡的发光 */
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.15));
}

.vinyl-disc {
  width: 280px;
  height: 280px;
  background: #111; /* 黑胶底色 */
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 黑胶纹理（用径向渐变模拟一圈一圈的沟槽） */
  background-image: repeating-radial-gradient(
    #181818,
    #181818 2px,
    #111 3px,
    #111 4px
  );
  border: 4px solid #222;
  /* 旋转动画：20秒转一圈，平滑无限循环 */
  animation: spin 20s linear infinite;
  /* 鼠标悬停时暂停 */
  transition: animation-play-state 0.3s;
}
.vinyl-disc:hover {
  animation-play-state: paused;
}

/* 中间的专辑封面 */
.vinyl-cover {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  /* 给封面加个发光描边 */
  box-shadow: 0 0 0 4px #000, 0 0 15px rgba(0, 229, 255, 0.4);
}

/* 唱片中心的孔洞 */
.vinyl-hole {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--bg);
  border-radius: 50%;
  z-index: 10;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

/* 旋转关键帧 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- 右侧信息区 ---------- */
.music-info {
  flex: 1 1 400px;
  max-width: 500px;
}

.music-info h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.music-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* 播放器占位 */
.player-embed {
  width: 100%;
  min-height: 120px;
  background: var(--bg-elev);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.player-placeholder {
  text-align: center;
  color: var(--text-muted);
}
.player-placeholder p {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.player-placeholder span {
  font-size: 0.85rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .music-layout {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .vinyl-disc { width: 220px; height: 220px; }
  .vinyl-cover { width: 140px; height: 140px; }
}