/* 网易云音乐风格歌曲详情页样式 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* 主容器 */
.netease-song-detail-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 左侧区域 */
.left-section {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

/* 黑胶唱片样式 */
.vinyl-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: rotate 10s linear infinite;
    transition: all 0.3s ease;
}

.vinyl-record:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-cover {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.vinyl-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinyl-center {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.vinyl-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.vinyl-shadow {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

/* 黑胶唱片下方按钮 */
.vinyl-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.external-player-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.external-player-btn:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.client-btn {
    padding: 10px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 20px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.client-btn:hover {
    background-color: #e0e0e0;
    border-color: #999;
}

/* 中间内容区域 */
.middle-section {
    flex: 1;
    min-width: 0;
}

/* 歌曲头部信息 */
.song-header {
    margin-bottom: 25px;
}

.song-tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: #ff6b35;
    color: white;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: bold;
}

.song-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.song-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.song-info {
    font-size: 14px;
    color: #666;
}

.song-info p {
    margin-bottom: 5px;
}

.artist-link, .album-link {
    color: #0c73c2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.artist-link:hover, .album-link:hover {
    color: #108de0;
    text-decoration: underline;
}

/* 歌曲操作按钮 */
.song-operation-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.primary-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #ff6b35;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.primary-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.secondary-btn {
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    justify-content: center;
}

.secondary-btn:hover {
    background-color: #f5f5f5;
    border-color: #999;
    color: #333;
}

.secondary-btn .icon {
    font-size: 16px;
}

.comment-count {
    font-size: 12px;
    margin-left: 3px;
}

.vip-btn {
    background-color: #fde68a;
    color: #d97706;
    border-color: #fbbf24;
}

.vip-btn:hover {
    background-color: #fcd34d;
    border-color: #f59e0b;
    color: #92400e;
}

/* 歌词容器 */
.lyrics-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.lyrics-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.lyrics-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.lyrics-content {
    max-height: 500px;
    overflow-y: auto;
    text-align: center;
}

.lyric-line {
    font-size: 16px;
    line-height: 2.8;
    color: #555;
    transition: all 0.3s ease;
    padding: 5px 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.lyric-line:hover {
    color: #ff6b35;
    transform: scale(1.02);
}

.lyric-line.active {
    color: #ff6b35;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

.lyric-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.lyric-line:hover::before,
.lyric-line.active::before {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* 右侧区域 */
.right-section {
    width: 400px;
    flex-shrink: 0;
    padding-left: 20px;
}

/* 主内容区域 - 左右布局 */
.netease-song-detail-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧主区域 */
.left-main {
    flex: 1;
    min-width: 0;
}

/* 左侧顶部 */
.left-top {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* 黑胶唱片容器 */
.vinyl-container {
    margin-bottom: 0;
}

/* 右侧推荐区域样式 */
.recommended-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 右侧推荐区域标题样式 */
.recommended-section h3 {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 18px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 右侧推荐区域列表样式 */
.recommended-list {
    padding: 12px 0;
}

/* 右侧推荐区域歌曲项样式 */
.recommended-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/* 右侧推荐区域歌曲项悬停效果 */
.recommended-item:hover {
    background-color: rgba(255, 107, 53, 0.05);
    transform: translateX(2px);
}

/* 右侧推荐区域封面图片样式 */
.recommended-cover {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommended-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-item:hover .recommended-cover img {
    transform: scale(1.05);
}

/* 右侧推荐区域歌曲信息样式 */
.recommended-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.recommended-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右侧推荐区域元数据样式 */
.recommended-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.play-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 右侧推荐区域播放按钮样式 */
.recommended-play-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 107, 53, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ff6b35;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 12px;
}

.recommended-play-btn:hover {
    background-color: #ff6b35;
    color: white;
    transform: scale(1.1);
}

/* 右侧区块通用样式 */
.playlist-section, .similar-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.playlist-section h3, .similar-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* 歌单列表 */
.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.playlist-item {
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
}

.playlist-item:hover {
    background-color: #f5f5f5;
    transform: translateX(5px);
}

.playlist-cover {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-item:hover .playlist-cover img {
    transform: scale(1.1);
}

.playlist-info {
    flex: 1;
    min-width: 0;
}

.playlist-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.playlist-info h4 a:hover {
    color: #ff6b35;
}

.playlist-creator {
    font-size: 12px;
    color: #999;
}

/* 相似歌曲列表 */
.similar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.similar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-item:hover {
    background-color: #f5f5f5;
}

.similar-info {
    flex: 1;
    min-width: 0;
    margin-right: 10px;
}

.similar-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-info p {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.similar-item:hover .similar-actions {
    opacity: 1;
}

.similar-play-btn, .similar-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.similar-play-btn:hover, .similar-add-btn:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: scale(1.1);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .netease-song-detail-container {
        gap: 20px;
        padding: 0 15px;
    }
    
    .right-section {
        width: 350px;
    }
    
    .song-title {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .netease-song-detail-container {
        flex-direction: column;
    }
    
    .left-top {
        flex-direction: column;
        align-items: center;
    }
    
    .left-section {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-container {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-cover {
        width: 90px;
        height: 90px;
    }
    
    .vinyl-ring {
        width: 120px;
        height: 120px;
    }
    
    .song-header {
        width: 100%;
        text-align: center;
    }
    
    .right-section {
        width: 100%;
        max-width: 600px;
        padding-left: 0;
        margin-top: 20px;
    }
    
    .song-operation-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .netease-song-detail-container {
        margin: 20px 0;
    }
    
    .song-title {
        font-size: 24px;
    }
    
    .song-subtitle {
        font-size: 13px;
    }
    
    .song-operation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .lyrics-container {
        padding: 20px;
    }
    
    .lyric-line {
        font-size: 15px;
        line-height: 2.5;
    }
    
    .lyric-line.active {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .song-title {
        font-size: 20px;
    }
    
    .song-info {
        font-size: 13px;
    }
    
    .lyrics-container {
        padding: 15px;
    }
    
    .playlist-section, .similar-section {
        padding: 15px;
    }
    
    .similar-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .similar-actions {
        opacity: 1;
        align-self: flex-end;
    }
}


/* 歌曲列表 */
.songs-list {
    padding: 16px 0;
}

/* 歌曲项 */
.song-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    background-color: transparent;
}

.song-item:hover {
    background-color: rgba(255, 107, 53, 0.05);
    transform: translateX(4px);
}

.song-item:last-child {
    border-bottom: none;
}