
:root {
            --bg-dark: #0f1117;
            --bg-card: rgba(25, 28, 36, 0.95);
            --bg-hover: rgba(45, 50, 65, 0.85);
            --primary: #d4af37;
            --primary-dark: #b08d26;
            --accent: #ffd700;
            --text-primary: #f0f0f8;
            --text-secondary: #a0a8c0;
            --text-disabled: #666680;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --transition: all 1.2s ease;
            --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
            --glass: rgba(255, 255, 255, 0.05);
            --glow: 0 0 15px rgba(212, 175, 55, 0.3);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 头部样式 */
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            position: relative;
            z-index: 100;
        }

        /* 导航菜单样式 */
        .nav-menu {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        /* Logo样式 */
        .nav-logo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            text-decoration: none;
            /* 添加淡入动画 */
            animation: fadeIn 0.8s ease-out;
            animation-fill-mode: both;
            opacity: 0;
            animation-delay: 0.05s;
        }

        .nav-logo:hover {
            transform: scale(1.1);
            background: transparent;
        }

        .nav-logo .svg-icon {
            width: 28px;
            height: 28px;
            color: #d4af37;
            transition: all 0.3s ease;
        }

        .nav-logo:hover .svg-icon {
            color: var(--accent);
            transform: scale(1.1);
        }

        .nav-item {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            text-decoration: none;
            /* 添加淡入动画 */
            animation: fadeIn 0.8s ease-out;
            animation-fill-mode: both;
            opacity: 0;
        }

        .nav-item:hover {
            transform: scale(1.1);
            background: transparent;
        }

        /* 导航菜单悬停提示文字 */
.nav-item::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

        .nav-item:hover::after {
            opacity: 1;
        }

        .nav-item .svg-icon {
    width: 28px;
    height: 28px;
    color: #d4af37;
    transition: all 0.3s ease;
}

/* 单独缩小音乐图标 */
.nav-item[title="音乐"] .svg-icon {
    width: 26px;
    height: 26px;
}

        .nav-item:hover .svg-icon {
            color: var(--accent);
            transform: scale(1.1);
        }

        /* 播放控制区域SVG图标样式 */
        .player-controls .svg-icon {
            width: 28px;
            height: 28px;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .play-pause-btn .svg-icon {
            width: 32px;
            height: 32px;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .play-pause-btn:hover .svg-icon {
            color: var(--primary);
        }

        .nav-btn:hover .svg-icon {
            color: var(--primary);
            transform: scale(1.1);
        }

        .control-btn:hover .svg-icon {
            color: var(--primary);
            transform: scale(1.1);
        }
        
        /* 为导航菜单项添加不同的动画延迟 */
        .nav-item:nth-child(1) { animation-delay: 0.1s; }
        .nav-item:nth-child(2) { animation-delay: 0.2s; }
        .nav-item:nth-child(3) { animation-delay: 0.3s; }
        .nav-item:nth-child(4) { animation-delay: 0.4s; }

        /* 二维码弹窗样式 */
        .cloud-qr-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 0;
            animation: fadeInScale 0.5s ease-out forwards;
        }
        
        .cloud-qr-modal .qr-modal-content {
            background-color: rgba(30, 30, 40, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            max-width: 90%;
            width: 320px;
            overflow: hidden;
            transform: translateY(20px);
            animation: modalBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .cloud-qr-modal .qr-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.cloud-qr-modal .qr-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.cloud-qr-modal .qr-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
        
        .cloud-qr-modal .qr-modal-close {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 24px;
            cursor: pointer;
            transition: color 0.2s;
            margin-left: 10px;
        }
        
        .cloud-qr-modal .qr-modal-close:hover {
            color: var(--text-primary);
        }
        
        .cloud-qr-modal .qr-modal-body {
            padding: 20px;
            text-align: center;
        }
        
        .cloud-qr-modal .qr-code-image {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-md);
         
        }
        
        .cloud-qr-modal .qr-modal-body p {
            margin: 10px 0;
            color: #ffffff;
            font-size: 16px;
            text-align: center;
        }
        
        .cloud-qr-modal .qr-modal-body a {
            display: inline-block;
            color: var(--primary);
            text-decoration: none;
            transition: all 0.2s;
            padding: 8px 16px;
            border: 1px solid var(--primary);
            border-radius: var(--radius-md);
            background-color: rgba(212, 175, 55, 0.1);
            margin-top: 10px;
        }
        
        .cloud-qr-modal .qr-modal-body a:hover {
            color: var(--accent);
            background-color: rgba(212, 175, 55, 0.2);
            border-color: var(--accent);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes fadeInScale {
            from { 
                opacity: 0;
                transform: scale(0.95);
            }
            to { 
                opacity: 0.8;
                transform: scale(1);
            }
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes modalBounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3) translateY(100px);
                filter: blur(10px);
            }
            60% {
                opacity: 1;
                transform: scale(1.05) translateY(-10px);
                filter: blur(0);
            }
            80% {
                transform: scale(0.98) translateY(5px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        
        @keyframes modalBounceOut {
            0% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
            30% {
                opacity: 0.8;
                transform: scale(1.1) translateY(-20px);
            }
            100% {
                opacity: 0;
                transform: scale(0.3) translateY(100px);
                filter: blur(10px);
            }
        }
        
        /* SVG旋转动画 */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        

        .about-content {
            text-align: left;
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.6;
            margin: 15px 0;
        }

        .about-content p {
            margin-bottom: 10px;
        }

        .about-content p:last-child {
            margin-bottom: 0;
        }

        

        body {
            background: linear-gradient(135deg, #0f1117 0%, #1a1d28 100%);
            color: var(--text-primary);
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            min-height: 100vh;
            padding: 15px 10px;
            overflow-x: hidden;
            line-height: 1.6;
        }
        
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
            pointer-events: none;
            z-index: -2;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0;
            position: relative;
            /* 添加淡入动画 */
            animation: fadeIn 1s ease-out;
            animation-fill-mode: both;
        }
        
        
        
        /* 移动端专属样式 */
@media (max-width: 767px) {
  .album-item {
    flex-direction: column !important;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .album-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  }

  .album-image img {
    object-fit: cover;
    height: 100% !important;
    border-radius: 8px;
  }
}

/* 音乐播放器样式 */
.player-container {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 2px;
            z-index: 10;
            /* 添加缩放动画 */
            animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            animation-fill-mode: both;
            animation-delay: 0.3s;
            max-width: 100%;
            overflow: hidden;
        }
        
        @media (min-width: 1024px) {
            .player-container {
                flex-direction: row;
                align-items: stretch; /* 修改为stretch使子元素高度拉伸 */
                justify-content: space-between;
                gap: 30px; /* 增加间距 */
                height: 600px; /* 设置固定高度 */
                max-width: 1400px; /* 增加总宽度 */
                margin: 10px auto; /* 居中显示 */
            }
            
            .songs-sidebar {
                width: 380px; /* 增大列表区域 */
                flex-shrink: 0;
                margin-top: 0;
                display: flex;
                flex-direction: column;
            }
            
            .songs-sidebar .songs-list {
                flex: 1; /* 占据剩余空间 */
                overflow-y: auto; /* 启用滚动 */
            }
            
            .main-player {
                flex: 1;
                margin-top: 0;
                min-width: 0;
            }
        }
        
        @media (max-width: 1023px) {
            .player-container {
                gap: 15px;
            }
        }
        
        @media (max-width: 768px) {
            .player-container {
                gap: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .player-container {
                gap: 5px;
            }
        }
        
        /* 主播放器样式 */
        .main-player {
            background: transparent;
            border-radius: var(--radius-md);
            padding: 20px;
            box-shadow: none;
            border: 1px solid rgba(212, 175, 55, 0.2);
            display: flex;
            flex-direction: column;
            gap: 20px;
            position: relative;
            height: 600px;
            overflow: hidden;
            width: 100%;
            max-width: 100%;
        }
        
        @media (max-width: 1024px) {
            .main-player {
                height: 550px;
            }
        }
        
        @media (max-width: 768px) {
            .main-player {
               gap: 15px;
               height: 470px;
               padding: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .main-player {
               gap: 10px;
               height: 400px;
               padding: 10px;
            }
        }
        
        /* 封面页面和歌词页面容器 */
        .cover-page,
        .lyrics-page {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% - 140px); /* 减去进度条和播放控件的高度 */
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }
        
        /* 歌词页面特定布局 */
        .lyrics-page {
            justify-content: flex-start; /* 从顶部开始布局 */
            padding-top: 20px; /* 减少顶部内边距，为歌词提供更多空间 */
        }
        
        @media (max-width: 1024px) {
            .cover-page,
            .lyrics-page {
                height: calc(100% - 140px);
                padding: 15px;
            }
            
            .lyrics-page {
                padding-top: 18px; /* 调整顶部内边距，为歌词提供更多空间 */
            }
        }
        
        @media (max-width: 768px) {
            .lyrics-page {
                padding-top: 15px; /* 减少移动端顶部内边距，为歌词提供更多空间 */
            }
            
            .lyrics-page .player-info {
                margin-bottom: 8px; /* 减少播放器信息底部外边距 */
            }
        }
        
        @media (max-width: 480px) {
            .cover-page,
            .lyrics-page {
                height: calc(100% - 100px);
                padding-top: 12px; /* 进一步减少小屏幕顶部内边距，为歌词提供更多空间 */
                
            }
            
            .lyrics-page .player-info {
                margin-bottom: 6px; /* 减少播放器信息底部外边距 */
            }
        }
        
        .cover-page,
        .lyrics-page {
            justify-content: center; /* 恢复居中显示 */
        }
        
        .cover-page.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            z-index: 30;
        }
        
        .lyrics-page.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            z-index: 20;
        }
        
        /* 歌词页面的player-info样式 */
        .lyrics-page .player-info {
            text-align: center;
            margin-bottom: 15px;
            margin-top: 0;
            width: 100%;
            max-width: 100%;
            z-index: 10;
            position: relative;
            order: -1; /* 确保player-info显示在最前面 */
        }

        .lyrics-page .player-info h1 {
            font-size: 24px;
            margin: 0 0 5px 0;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
        }

        .lyrics-page .player-info p {
            font-size: 16px;
            margin: 0;
            color: rgba(255, 255, 255, 0.8);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
        }
        
        @media (max-width: 1024px) {
            .lyrics-page .player-info h1 {
                font-size: 22px;
            }
            
            .lyrics-page .player-info p {
                font-size: 15px;
            }
        }
        
        @media (max-width: 768px) {
            .lyrics-page .player-info {
                margin-bottom: 3px;
            }
            
            .lyrics-page .player-info h1 {
                font-size: 20px;
                margin: 0 0 3px 0;
            }
            
            .lyrics-page .player-info p {
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .lyrics-page .player-info {
                margin-bottom: 2px;
                padding: 0 5px;
            }
            
            .lyrics-page .player-info h1 {
                font-size: 18px;
                margin: 0 0 2px 0;
            }
            
            .lyrics-page .player-info p {
                font-size: 12px;
            }
        }
        
        .player-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-top: 15px;
            height: calc(100% - 150px);
            width: 100%;
            max-width: 100%;
        }
        
        @media (max-width: 1024px) {
            .player-header {
                gap: 15px;
                height: calc(100% - 140px);
            }
        }
        
        @media (max-width: 768px) {
            .player-header {
                gap: 10px;
                height: calc(100% - 130px);
            }
        }
        
        @media (max-width: 480px) {
            .player-header {
                gap: 8px;
                height: calc(100% - 120px);
            }
        }
        
        .album-cover {
            width: 280px;
            height: 280px;
            position: relative;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s ease;
            cursor: pointer;
            backdrop-filter: blur(10px);
            overflow: visible;
            margin-bottom: 40px;
            max-width: 100%;
            max-height: 50vh;
            z-index: 10;
            pointer-events: auto;
        }
        
        @media (max-width: 1024px) {
            .album-cover {
                width: 240px;
                height: 240px;
                margin-bottom: 30px;
                margin-top: 5px;
            }
        }
        
        @media (max-width: 768px) {
            .album-cover {
                width: 200px;
                height: 200px;
                margin-bottom: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .album-cover {
                width: 160px;
                height: 160px;
                margin-bottom: 33px;
            }
        }
        
        .album-cover:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.5);
        }
        
        .album-cover .cover-image {
            width: 100%;
            height: 100%;
            border-radius: var(--radius-md);

            z-index: 2;
            box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
            position: relative;
        }
        
        .album-cover .cover-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
            /* 调整图像圆角以匹配容器 */
            border-radius: var(--radius-md);
            /* 增加图像缩放以消除直角边 */
            transform: scale(1.05);
            /* 确保图像在容器内正确显示 */
            will-change: transform;
        }
        
        /* 黑胶唱片样式 */
        .vinyl-record {
            position: absolute;
            width: 280px; 
            height: 280px; 
            background: url('../img/cd.png') center/cover no-repeat;
            border-radius: 50%;
            border: 2px solid #222;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
            top: 50%;
            right: -135px; /* 调整位置以适应增大后的尺寸 */
            transform: translateY(-50%);
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            pointer-events: none; /* 确保不会阻止点击事件 */
        }
        
        @media (max-width: 1024px) {
            .vinyl-record {
                width: 240px;
                height: 240px;
                right: -115px;
            }
        }
        
        @media (max-width: 768px) {
            .vinyl-record {
                width: 200px;
                height: 200px;
                right: -95px;
            }
        }
        
        @media (max-width: 480px) {
            .vinyl-record {
                width: 160px;
                height: 160px;
                right: -75px;
            }
        }
        
        .vinyl-record::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: #222;
            border-radius: 50%;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            z-index: 3;
            /* 添加高光效果 */
            box-shadow: 
                0 0 5px rgba(0, 0, 0, 0.5),
                inset 0 0 5px rgba(255, 255, 255, 0.3);
        }
        

        

        
        /* 添加唱片高光效果 */
        .vinyl-record::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
            pointer-events: none;
        }
        
        /* 播放时黑胶旋转动画 - 优化版 */
        .album-cover.playing .vinyl-record {
            animation: rotate 5s linear infinite; /* 减慢旋转速度 */
            will-change: transform;
            transform: translateY(-50%); /* 分离定位变换 */
            backface-visibility: hidden; /* 防止动画闪烁 */
            perspective: 1000px; /* 提高3D性能 */
            transform-style: preserve-3d; /* 启用3D变换 */
        }
        
        @keyframes rotate {
            from {
                transform: translateY(-50%) rotate(0deg);
            }
            to {
                transform: translateY(-50%) rotate(360deg);
            }
        }
        
        /* 移动端优化动画 */
        @media (max-width: 768px) {
            .album-cover.playing .vinyl-record {
                animation: rotate 6s linear infinite; /* 移动端进一步减慢旋转速度 */
            }
            
            /* 移动端播放动画已移除 */
            

        }
        

        

        
        /* 播放动效已移除 */
        
        .player-info {
            text-align: center;
            max-width: 550px; /* 增加最大宽度 */
            width: 100%;
        }
        
        @media (max-width: 1024px) {
            .player-info {
                max-width: 500px;
                margin-top: 10px;
            }
        }
        
        @media (max-width: 768px) {
            .player-info {
                max-width: 100%;
            }
        }
        
        @media (max-width: 480px) {
            .player-info {
                max-width: 100%;
                padding: 0 5px;
                margin-top: 0;
            }
            
        }
        
        .song-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 5px;
            line-height: 1.2;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
        }
        
        .song-artist {
            font-size: 16px;
            color: var(--text-secondary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
        }
        
        /* 音质指示器样式 */
        .quality-indicator {
            position: relative;
          
           right:0;
            padding: 6px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px !important;
            font-weight: 600 !important;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.3s ease;
            cursor: pointer;
            opacity: 0.9;
            backdrop-filter: blur(8px);
            z-index: 10;
            text-transform: uppercase;
            box-sizing: border-box; /* 确保盒模型一致 */
            line-height: 1; /* 确保行高一致 */
            font-family: inherit !important; /* 强制继承字体 */
        }
        
        .quality-indicator.active {
            color: var(--primary);
            background: rgba(212, 175, 55, 0.25);
            border: 1px solid rgba(212, 175, 55, 0.5);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
            opacity: 1;
        }
        
        .quality-indicator.hq-active {
            color: var(--primary);
            background: rgba(212, 175, 55, 0.25);
            border: 1px solid rgba(212, 175, 55, 0.5);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
            opacity: 1;
        }
        
        .quality-indicator:hover {
            transform: translateY(-1px);
        }
        
        @media (max-width: 1024px) {
            .quality-indicator {
              
            }
        }
        
        @media (max-width: 768px) {
            .quality-indicator {
               
                padding: 5px;
                font-size: 11px;
            }
        }
        
        @media (max-width: 480px) {
            .quality-indicator {
                
                padding: 4px;
                font-size: 10px;
            }
        }
        
        /* 音质标识样式 */
        .quality-badge {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            opacity: 0.8;
            transition: all 0.3s ease;
            /* 统一使用金色样式 */
            color: #ffd700;
        }
        
        .song-item:hover .quality-badge {
            opacity: 1;
        }
        
        /* 音质选择弹窗样式 */
        .quality-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .quality-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .quality-modal-content {
            background-color: rgba(30, 30, 40, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            max-width: 90%;
            width: 400px;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .quality-modal.active .quality-modal-content {
            transform: scale(1);
        }
        
        .quality-modal-header {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }
        
        .quality-modal-header h3 {
            margin: 0;
            color: var(--text-primary);
            font-size: 18px;
        }
        
        .quality-modal-close {
            position: absolute;
            right: 20px;
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 5px;
            transition: color 0.3s ease;
        }
        
        .quality-modal-close:hover {
            color: var(--text-primary);
        }
        
        .quality-modal-body {
            padding: 20px;
        }
        
        .quality-option {
            padding: 10px;
            margin-bottom: 10px;
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }
        
        .quality-option-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            font-weight: bold;
            font-size: 14px;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .quality-option-content {
            flex: 1;
        }
        
        .quality-option:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        
        .quality-option.selected {
            background: rgba(212, 175, 55, 0.2);
            border-color: #D4AF37;
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
        }
        
        .quality-option.selected .quality-option-icon {
            background: #D4AF37;
            color: white;
        }
        
        .quality-option.selected .quality-option-title {
            color: #D4AF37;
        }
        
        .quality-option.unavailable {
            opacity: 0.5;
            cursor: not-allowed;
            background: rgba(255, 255, 255, 0.02);
            border-color: rgba(255, 255, 255, 0.05);
        }
        
        .quality-option.unavailable:hover {
            background: rgba(255, 255, 255, 0.02);
            border-color: rgba(255, 255, 255, 0.05);
            transform: none;
        }
        
        .quality-option.unavailable .quality-option-icon {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-disabled);
        }
        
        .quality-option.unavailable .quality-option-title {
            color: var(--text-disabled);
        }
        
        .quality-option.unavailable .quality-option-desc {
            color: var(--text-disabled);
        }
        
        .quality-option:last-child {
            margin-bottom: 0;
        }
        
        .quality-option-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 5px;
        }
        
        .quality-option-desc {
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        /* 歌词页隐藏音质指示器 */
        .lyrics-page .quality-indicator {
            display: none;
        }
        
        @media (max-width: 1024px) {
            .song-title {
                font-size: 22px;
            }
            
            .song-artist {
                font-size: 15px;
            }
        }
        
        @media (max-width: 768px) {
            .song-title {
                font-size: 20px;
            }
            
            .song-artist {
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .song-title {
                font-size: 18px;
                margin-bottom: 3px;
            }
            
            .song-artist {
                font-size: 12px;
            }
        }
        
        .player-controls {
            width: 100%;
            max-width: 600px; /* 增加最大宽度以适应更大的按钮 */
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin: 10px auto;
        }
        
        @media (max-width: 1024px) {
            .player-controls {
                max-width: 550px;
                gap: 18px;
            }
        }
        
        @media (max-width: 768px) {
            .player-controls {
                gap: 15px;
               
                max-width: 100%;
            }
        }
        
        @media (max-width: 480px) {
            .player-controls {
                gap: 12px;
                margin: 5px auto;
            }
        }
    
        
        /* 控制按钮样式 - 透明背景 */
        .control-btn, .nav-btn {
            background: transparent !important;
            border: 1px solid rgba(212, 175, 55, 0.2);
            color: var(--text-secondary);
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .control-btn::before, .nav-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
            transform: translateX(-100%);
            transition: transform 0.8s ease;
            z-index: -1;
            pointer-events: none;
        }
        
        .control-btn:hover::before, .nav-btn:hover::before {
            transform: translateX(100%);
            transition-duration: 1s;
        }
        
        .control-btn {
            font-size: 18px;
            position: relative; /* 为单曲循环数字1提供定位上下文 */
        }
        
        @media (max-width: 480px) {
            .control-btn {
                font-size: 13px;
                padding: 9px;
            }
            
            .control-btn svg {
                width: 18px;
                height: 18px;
            }
        }
        
        /* SVG图标样式 */
        .control-btn svg {
            width: 20px;
            height: 20px;
            fill: var(--text-secondary);
            transition: fill 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }
        
        .control-btn:hover svg {
            fill: var(--primary);
        }
        
        .nav-btn {
            font-size: 28px;
            width: 60px;
            height: 60px;
        }
        
        @media (max-width: 1024px) {
            .nav-btn {
                font-size: 26px;
                width: 55px;
                height: 55px;
            }
        }
        
        @media (max-width: 768px) {
            .nav-btn {
                font-size: 24px;
                width: 50px;
                height: 50px;
            }
        }
        
        @media (max-width: 480px) {
            .nav-btn {
                font-size: 22px;
                width: 45px;
                height: 45px;
            }
        }
        
        .control-btn:hover, .nav-btn:hover {
            background: transparent;
            color: var(--primary);
            border: 1px solid rgba(212, 175, 55, 0.4);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
            border-radius: var(--radius-md);
            z-index: 2;
            transform: translateY(-2px);
        }
        
        /* 播放/暂停按钮样式 - 透明背景 */
        .play-pause-btn {
            width: 75px;
            height: 75px;
            font-size: 32px;
            background: transparent;
            color: var(--text-secondary);
            border-radius: var(--radius-md);
            border: 1px solid rgba(212, 175, 55, 0.2);
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        @media (max-width: 1024px) {
            .play-pause-btn {
                width: 65px;
                height: 65px;
                font-size: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .play-pause-btn {
                width: 60px;
                height: 60px;
                font-size: 28px;
            }
        }
        
        @media (max-width: 480px) {
            .play-pause-btn {
                width: 55px;
                height: 55px;
                font-size: 25px;
            }
        }
        
        .play-pause-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
            transform: translateX(-100%);
            transition: transform 0.8s ease;
            z-index: -1;
            pointer-events: none;
        }
        
        .play-pause-btn:hover::before {
            transform: translateX(100%);
            transition-duration: 1s;
        }
        
        .play-pause-btn:hover {
            background: rgba(212, 175, 55, 0.1);
            color: var(--primary);
            border: 1px solid rgba(212, 175, 55, 0.4);
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
            border-radius: var(--radius-md);
            z-index: 2;
            transform: scale(1.05);
        }
        
        .play-pause-btn:active {
            transform: scale(0.98);
        }
        
        /* 音量和进度条样式增强 */
        .progress-container {
            width: 100%;
            max-width: 550px; /* 增加最大宽度 */
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 1px auto;
            z-index: 100; /* 提高层级确保可点击 */
        }
        
        @media (max-width: 1024px) {
            .progress-container {
                max-width: 500px;
                gap: 8px;
            }
        }
        
        @media (max-width: 768px) {
            .progress-container {
                max-width: 500px;
                gap: 8px;
                margin: 0 auto ;
            }
        }
        
        @media (max-width: 480px) {
            .progress-container {
                gap: 5px;
                margin: 0 ;
            }
        }
        
        .progress-bar {
            flex: 1;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            overflow: hidden;
            cursor: pointer;
            position: relative;
            transition: height 0.2s ease;
        }
        
        .progress-bar:hover {
            height: 8px;
        }
        
        .progress {
            height: 100%;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
            transition: width 0.1s ease;
            position: relative;
        }
        
        .progress::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 10px var(--primary);
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        
        .progress-bar:hover .progress::after {
            opacity: 1;
        }
        
        /* 拖拽状态样式 */
        .progress-bar.dragging {
            height: 10px;
            cursor: grabbing;
        }
        
        .progress-bar.dragging .progress::after {
            opacity: 1;
            width: 16px;
            height: 16px;
            box-shadow: 0 0 15px var(--primary);
        }
        
        .time {
            font-size: 12px;
            color: var(--text-secondary);
            min-width: 40px;
            text-align: center;
        }
        
        /* 歌词显示样式 */
        .lyrics-container {
            width: 100%;
            height: 100%; /* 让歌词容器占据全部可用空间 */
            margin: 0 auto;
            background: transparent;
            border: none;
            border-radius: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            max-width: 100%;
            flex: 1; /* 让歌词容器占据剩余空间 */
            position: relative;
        }
        
        @media (max-width: 1024px) {
            .lyrics-container {
                height: 100%; /* 确保歌词容器占据全部可用空间 */
            }
        }
        
        @media (max-width: 768px) {
            .lyrics-container {
                margin: 3px auto; /* 减少外边距 */
                height: 100%; /* 确保歌词容器占据全部可用空间 */
            }
        }
        
        @media (max-width: 480px) {
            .lyrics-container {
                margin: 2px auto; /* 进一步减少外边距 */
                height: 100%; /* 确保歌词容器占据全部可用空间 */
            }
        }
        
        
        
        
        
        
        
        .lyrics-content {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden; /* 去掉横向滚动条 */
            padding: 20px 10px 10px; /* 增加顶部内边距，避免歌词被歌名挡住 */
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: flex-start; /* 改为从顶部开始显示，而不是居中 */
            align-items: center;
            width: 100%;
            max-width: 800px;
            background: transparent; /* 确保背景透明 */
            scroll-behavior: smooth; /* 添加平滑滚动效果 */
            /* 确保滚动容器不会影响整个页面 */
            position: relative;
            overscroll-behavior: contain; /* 防止滚动传播到父元素 */
            /* 隐藏滚动条但保持滚动功能 */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE 和 Edge */
            /* 添加渐变遮罩，让上下边缘自然淡出 */
            mask-image: linear-gradient(
                to bottom,
                transparent 0%,
                black 15%,
                black 85%,
                transparent 100%
            );
            height: 100%; /* 确保高度填满容器 */
        }
        
        @media (max-width: 1024px) {
            .lyrics-content {
                max-width: 700px;
                padding: 18px 8px 8px; /* 增加顶部内边距 */
            }
        }
        
        @media (max-width: 768px) {
            .lyrics-content {
                padding: 15px 8px 8px; /* 增加顶部内边距 */
                max-width: 100%;
                height: 100%; /* 确保高度填满容器 */
            }
        }
        
        @media (max-width: 480px) {
            .lyrics-content {
                padding: 12px 8px 8px; /* 增加顶部内边距 */
                max-width: 100%;
                height: 100%; /* 确保高度填满容器 */
            }
        }
        
        /* 隐藏滚动条 - Webkit浏览器 (Chrome, Safari等) */
        .lyrics-content::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }
        
        /* 时间线样式 - 网易云音乐风格 */
        .lyrics-timeline {
            position: absolute;
            left: 0;
            width: 100%;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 10;
            pointer-events: none;
        }
        
        .lyrics-timeline.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        
        /* 时间线中间的指示线 - 缩短长度 */
        .lyrics-timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 2px;
            height: 30px;
            background: var(--primary);
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        }
        
        /* 时间线容器 */
        .timeline-content {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 100%;
        }
        
        .timeline-time {
            position: absolute;
            left: 10px;
            font-size: 14px;
            color: var(--primary);
            font-weight: 600;
            min-width: 50px;
        }
        
        .timeline-play-btn {
            position: absolute;
            right: 10px;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: none;
            border: none;
            padding: 0;
        }
        
        .timeline-play-btn:hover {
            transform: scale(1.2);
        }
        
        .timeline-play-btn svg {
            color: var(--primary);
            width: 24px;
            height: 24px;
        }
        
        /* 时间线高亮歌词样式 - 网易云音乐风格 */
        .lyrics-line.highlight {
            background: rgba(212, 175, 55, 0.15);
            border-left: 3px solid var(--primary);
            border-radius: 0 4px 4px 0;
            padding: 5px 10px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
            cursor: pointer;
        }
        
        
        
        .lyrics-line {
            margin-bottom: 12px; /* 增加行间距 */
            font-size: 18px;
            line-height: 1.6; /* 增加行高，提高可读性 */
            color: rgba(255, 255, 255, 0.4); /* 提高默认透明度 */
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 更自然的缓动函数 */
            text-align: center;
            width: 100%;
            max-width: 100%;
            overflow: visible; /* 改为可见，不截断内容 */
            text-overflow: unset; /* 取消文本截断 */
            white-space: normal; /* 允许文本换行 */
            word-wrap: break-word; /* 允许长单词换行 */
            word-break: break-word; /* 允许在任意位置换行 */
            opacity: 0.2; /* 降低默认透明度，让延伸效果更明显 */
            transform: scale(1); /* 取消默认缩放 */
        }
        
        @media (max-width: 1024px) {
            .lyrics-line {
                font-size: 16px;
                margin-bottom: 10px;
                line-height: 1.6;
                overflow: visible; /* 改为可见，不截断内容 */
                text-overflow: unset; /* 取消文本截断 */
                white-space: normal; /* 允许文本换行 */
                word-wrap: break-word; /* 允许长单词换行 */
                word-break: break-word; /* 允许在任意位置换行 */
            }
        }
        
        @media (max-width: 768px) {
            .lyrics-line {
                font-size: 14px; /* 增加字体大小 */
                margin-bottom: 10px; /* 增加行间距 */
                line-height: 1.6; /* 增加行高，提高可读性 */
                overflow: visible; /* 改为可见，不截断内容 */
                text-overflow: unset; /* 取消文本截断 */
                white-space: normal; /* 允许文本换行 */
                word-wrap: break-word; /* 允许长单词换行 */
                word-break: break-word; /* 允许在任意位置换行 */
            }
        }
        
        @media (max-width: 480px) {
            .lyrics-line {
                font-size: 12px;
                margin-bottom: 8px;
                line-height: 1.5;
                overflow: visible; /* 改为可见，不截断内容 */
                text-overflow: unset; /* 取消文本截断 */
                white-space: normal; /* 允许文本换行 */
                word-wrap: break-word; /* 允许长单词换行 */
                word-break: break-word; /* 允许在任意位置换行 */
            }
        }
        
        .lyrics-line.active {
            color: var(--primary);
            font-weight: 600;
            font-size: 22px;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
            transform: scale(1.05);
            opacity: 1; /* 完全显示 */
            cursor: pointer;
        }
        
        .lyrics-line.past {
            color: rgba(255, 255, 255, 0.3);
            font-size: 18px; /* 与未播放歌词相同大小 */
            opacity: 0.3; /* 降低透明度，与默认歌词区分 */
            transform: scale(1); /* 与未播放歌词相同，不缩放 */
        }
        
        .lyrics-line.next {
            color: rgba(255, 255, 255, 0.5);
            opacity: 0.6; /* 中等透明度，准备淡入 */
            transform: scale(0.98); /* 轻微缩放 */
        }
        
        /* 添加更多的透明度层级，让歌词向外延伸时透明度依次减弱 */
        .lyrics-line.past-1 {
            opacity: 0.6; /* 紧挨着当前歌词的已播放歌词 */
        }
        
        .lyrics-line.past-2 {
            opacity: 0.5; /* 再远一点的已播放歌词 */
        }
        
        .lyrics-line.past-3 {
            opacity: 0.4; /* 更远的已播放歌词 */
        }
        
        .lyrics-line.next-1 {
            opacity: 0.7; /* 紧挨着当前歌词的下一句歌词 */
        }
        
        .lyrics-line.next-2 {
            opacity: 0.6; /* 再远一点的下一句歌词 */
        }
        
        .lyrics-line.next-3 {
            opacity: 0.5; /* 更远的下一句歌词 */
        }
        
        @media (max-width: 1024px) {
            .lyrics-line.active {
                font-size: 20px;
            }
            
            .lyrics-line.past {
                font-size: 14px;
            }
        }
        
        @media (max-width: 768px) {
            .lyrics-line.active {
                font-size: 18px;
            }
            
            .lyrics-line.past {
                font-size: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .lyrics-line.active {
                font-size: 16px;
            }
            
            .lyrics-line.past {
                font-size: 10px;
            }
        }
        
        .lyrics-empty {
            text-align: center;
            color: var(--text-dim);
            font-style: italic;
            padding: 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        
        /* 只有一句歌词或纯音乐时的居中显示 */
        .lyrics-content.single-line {
            justify-content: center !important;
        }
        
        .lyrics-content.single-line .lyrics-line {
            margin-bottom: 0;
            font-size: 20px;
            line-height: 1.8;
            opacity: 0.8;
        }
        
        .lyrics-content.single-line .lyrics-line.active {
            font-size: 24px;
            opacity: 1;
        }
        
        /* 移动端歌词样式优化 */
        @media (max-width: 768px) {
            .lyrics-container {
                margin: 5px auto; /* 减少外边距 */
                height: calc(100% - 40px); /* 增加高度，减少顶部和底部留白 */
            }
            
            .lyrics-content {
                max-height: 250px; /* 增加最大高度 */
                padding: 15px 8px 8px; /* 增加顶部内边距 */
            }
            
            .lyrics-line {
                font-size: 14px; /* 增加字体大小 */
                margin-bottom: 10px; /* 增加行间距 */
                line-height: 1.6; /* 增加行高，提高可读性 */
                overflow: visible; /* 改为可见，不截断内容 */
                text-overflow: unset; /* 取消文本截断 */
                white-space: normal; /* 允许文本换行 */
                word-wrap: break-word; /* 允许长单词换行 */
                word-break: break-word; /* 允许在任意位置换行 */
            }
        }
        
        /* 歌曲列表样式 */
        .songs-sidebar {
            background: transparent;
            border-radius: var(--radius-md);
            box-shadow: none;
            border: 1px solid rgba(212, 175, 55, 0.15);
            max-height: 100%;
            overflow-y: auto;
            display: none;
        }
        
        @media (min-width: 1024px) {
            .songs-sidebar {
                display: block;
            }
        }
        
        .songs-sidebar.active {
            display: block;
        }
        
        .songs-header {
            padding: 25px ;
            border-bottom: 1px solid rgba(212, 175, 55, 0.15);
            font-size: 18px;
            font-weight: 600;
            color: var(--primary);
            background: rgba(212, 175, 55, 0.05);
            display: flex;
            align-items: center;
        }
        
        .songs-header .svg-icon {
            width: 22px;
            height: 22px;
            margin-right: 8px;
            color: var(--primary);
            vertical-align: middle;
            fill: currentColor;
            overflow: hidden;
            transform: scale(0.8);
        }
        
        /* 电脑端音质切换按钮样式 */
        .songs-sidebar .quality-indicator {
            padding: 4px 8px;
         
            font-size: 12px;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
            margin-left: auto;
            z-index: 2;
        }
        
        .songs-sidebar .quality-indicator.active {
            color: var(--primary);
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid rgba(212, 175, 55, 0.3);
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
        }
        
        .songs-sidebar .quality-indicator.hq-active {
            color: var(--primary);
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid rgba(212, 175, 55, 0.3);
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
        }
        
        .songs-sidebar .quality-indicator:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        /* 移动端音质切换按钮样式 */
        @media (max-width: 1023px) {
            .mobile-songs-list .quality-indicator {
                padding: 4px 8px;
          
                font-size: 12px;
                font-weight: 600;
                background: rgba(255, 255, 255, 0.1);
                border: 1px solid rgba(255, 255, 255, 0.2);
                color: var(--text-secondary);
                cursor: pointer;
                transition: all 0.3s ease;
                flex-shrink: 0;
                margin-left: auto;
                z-index: 2;
            }
            
            .mobile-songs-list .quality-indicator.active {
                color: var(--primary);
                background: rgba(212, 175, 55, 0.15);
                border: 1px solid rgba(212, 175, 55, 0.3);
                box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
            }
            
            .mobile-songs-list .quality-indicator.hq-active {
                color: var(--primary);
                background: rgba(212, 175, 55, 0.15);
                border: 1px solid rgba(212, 175, 55, 0.3);
                box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
            }
            
            .mobile-songs-list .quality-indicator:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            }
        }
        
        .songs-list {
            padding: 10px;
        }
        
        .song-item {
            padding: 10px 15px;
            padding-right: 50px; /* 增加右侧内边距，为音质标识留出空间 */
            margin-bottom: 5px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
            overflow: hidden;
        }
        
        .song-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
            transform: translateX(-100%);
            transition: transform 0.8s ease;
            z-index: -1;
            pointer-events: none;
        }
        
        .song-item:hover::before {
            transform: translateX(100%);
            transition-duration: 1s;
        }
        
        .song-item:hover {
            background: var(--bg-hover);
            transform: translateX(5px);
        }
        
        .song-item.active {
            background: rgba(212, 175, 55, 0.15);
            border-left: 3px solid var(--primary);
        }
        
        .song-number {
            color: var(--text-secondary);
            font-size: 14px;
            width: 20px;
            text-align: center;
        }
        
        .song-details {
            flex: 1;
            overflow: hidden;
        }
        
        .song-name {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-bottom: 2px;
        }
        
        .song-artist-name {
            font-size: 12px;
            color: var(--text-secondary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        /* 专辑列表样式 - 居中显示 */
        .albums-section {
            
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            /* 添加动画效果 */
            animation: fadeInScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform-origin: center;
        }
        
        /* 专辑列表弹出动画 */
        @keyframes fadeIn {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }
        
        
        
        /* 添加缩放动画定义 */
        @keyframes zoomIn {
            0% {
                opacity: 0;
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        /* 添加脉冲动画定义 */
        @keyframes fadeInScale {
            0% {
                opacity: 0;
                transform: scale(0.8) translateY(20px);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.05) translateY(-5px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        
        /* 专辑项动画效果 */
        .album-item {
            background: transparent;
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            cursor: pointer;
            position: relative;
            backdrop-filter: none;
            border: 1px solid rgba(212, 175, 55, 0.15);
            box-shadow: none;
            width: 100%;
            /* 添加弹出动画效果 */
            animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            animation-fill-mode: both;
            /* 为每个专辑项添加不同的延迟，创建波浪效果 */
            opacity: 0;
        }
        
        /* 专辑项弹出动画 */
        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        /* 为专辑项添加不同的动画延迟 */
        .album-item:nth-child(1) { animation-delay: 0.1s; }
        .album-item:nth-child(2) { animation-delay: 0.2s; }
        .album-item:nth-child(3) { animation-delay: 0.3s; }
        .album-item:nth-child(4) { animation-delay: 0.4s; }
        .album-item:nth-child(5) { animation-delay: 0.5s; }
        .album-item:nth-child(6) { animation-delay: 0.6s; }
        .album-item:nth-child(7) { animation-delay: 0.7s; }
        .album-item:nth-child(8) { animation-delay: 0.8s; }
        .album-item:nth-child(9) { animation-delay: 0.9s; }
        .album-item:nth-child(10) { animation-delay: 1.0s; }
        .album-item:nth-child(11) { animation-delay: 0.1s; }
        .album-item:nth-child(12) { animation-delay: 0.2s; }
        
        /* 歌曲列表弹出动画 */
        .songs-list {
            animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes slideInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 歌曲项动画效果 */
        .song-item {
            animation: fadeInRight 0.5s ease-out;
            animation-fill-mode: both;
            opacity: 0;
        }
        
        @keyframes fadeInRight {
            0% {
                opacity: 0;
                transform: translateX(-20px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* 为歌曲项添加不同的动画延迟 */
        .song-item:nth-child(1) { animation-delay: 0.05s; }
        .song-item:nth-child(2) { animation-delay: 0.1s; }
        .song-item:nth-child(3) { animation-delay: 0.15s; }
        .song-item:nth-child(4) { animation-delay: 0.2s; }
        .song-item:nth-child(5) { animation-delay: 0.25s; }
        .song-item:nth-child(6) { animation-delay: 0.3s; }
        .song-item:nth-child(7) { animation-delay: 0.35s; }
        .song-item:nth-child(8) { animation-delay: 0.4s; }
        .song-item:nth-child(9) { animation-delay: 0.45s; }
        .song-item:nth-child(10) { animation-delay: 0.5s; }
        
        .albums-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
    max-width: 1400px; /* 增加最大宽度以容纳6列 */
    width: 100%;
    /* 添加硬件加速以优化iOS上的动画性能 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    /* 优化iOS上的渲染性能 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
        
        .album-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            cursor: pointer;
            position: relative;
            border: 1px solid rgba(212, 175, 55, 0.2);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1;
            contain: layout; /* 添加性能优化 */
            will-change: transform; /* 优化变换性能 */
            transform: translateZ(0); /* 启用硬件加速 */
        }
        
        .album-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
            transform: translateX(-100%);
            transition: transform 0.8s ease;
            z-index: 1;
            pointer-events: none;
        }
        
        .album-item:hover {
            background: rgba(212, 175, 55, 0.15);
            color: var(--primary);
            border: 1px solid rgba(212, 175, 55, 0.4);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.4);
            z-index: 2;
            margin-top: -4px; /* 使用margin实现上浮效果 */
            margin-bottom: 4px; /* 补偿下方空间，避免布局偏移 */
        }
        
        .album-item:hover::before {
            transform: translateX(100%);
            transition-duration: 1s;
        }
        
        .album-image {
            width: 100%;
            aspect-ratio: 1/1;
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
            flex-shrink: 0;
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            border-radius: var(--radius-md) var(--radius-md) 0 0;
            transform-origin: center; /* 修改缩放原点为中心点向四周 */
            z-index: 1; /* 确保缩放图片在album-info之下 */
        }
        
 
        
        .album-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.2s ease;
        }
        
        .album-item:hover .album-image {
            transform: scale(1.1);
        }
        

        
        .album-info {
            padding: 6px;
            text-align: center;
            border-top: 2px solid #fdd504;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            width: 100%;
            position: relative;
            z-index: 2; /* 确保黄线在缩放图片之上 */
            background: rgba(25, 28, 36, 0.95); /* 添加背景色，防止图片透过 */
        }
        
        .album-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 2px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            transition: color 1.2s ease;
        }
        
        .album-item:hover .album-title {
            color: var(--primary);
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        }
        
        /* 移动端歌曲列表样式 */
        .mobile-songs-list {
            background: transparent;
            border-radius: var(--radius-md);
            box-shadow: none;
            border: 1px solid rgba(212, 175, 55, 0.15);
           
            display: block;
            border-radius: var(--radius-md);
            overflow: hidden;
        }
        
        @media (min-width: 1024px) {
            .mobile-songs-list {
                display: none;
            }
        }
        
        @media (max-width: 1023px) {
            .mobile-songs-list .songs-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px;
                cursor: pointer;
                width: 100%;
                box-sizing: border-box;
                position: relative;
            }
            
            .mobile-songs-list .songs-title {
                display: flex;
                align-items: center;
                font-size: 16px;
                font-weight: 500;
                color: var(--text-primary);
                flex-grow: 1;
                justify-content: flex-start;
                text-align: left;
                position: relative;
                z-index: 1;
            }
            
            .mobile-songs-list .songs-title .svg-icon {
                width: 22px;
                height: 22px;
                margin-right: 8px;
                color: var(--text-primary);
                vertical-align: middle;
                fill: currentColor;
                overflow: hidden;
                transform: scale(0.8);
            }
            

            

            
            .mobile-songs-list .songs-list {
        max-height: 250px; /* 约5首歌曲的高度 */
        overflow-y: auto;
        padding: 0;
        transition: max-height 0.3s ease;
        will-change: max-height;
        -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
        backface-visibility: hidden; /* 防止动画闪烁 */
        transform: translateZ(0); /* 硬件加速 */
        perspective: 1000px; /* 提高3D性能 */
    }
            
            .mobile-songs-list.collapsed .songs-list {
        max-height: 0;
        padding: 0;
        overflow: hidden;
    }
            
            .mobile-songs-list .song-item {
                margin-bottom: 0;
                border-radius: 0;
                border-bottom: 1px solid rgba(212, 175, 55, 0.05);
            }
            
            .mobile-songs-list .song-item:last-child {
                border-bottom: none;
            }
            
            .mobile-songs-list .song-item:hover {
                transform: none;
            }
        }
        
        /* 移动端歌曲列表限制高度和滚动 */
        @media (max-width: 1023px) {
            .mobile-songs-list .songs-list {
                max-height: 250px; /* 约5首歌曲的高度 */
                overflow-y: auto;
                overflow-x: hidden;
                scrollbar-width: thin;
                scrollbar-color: var(--primary) transparent;
            }
            
            .mobile-songs-list .songs-list::-webkit-scrollbar {
                width: 4px;
            }
            
            .mobile-songs-list .songs-list::-webkit-scrollbar-track {
                background: transparent;
            }
            
            .mobile-songs-list .songs-list::-webkit-scrollbar-thumb {
                background: var(--primary);
                border-radius: 2px;
            }
        }
        
        /* 滚动条样式 */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 3px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: rgba(212, 175, 55, 0.5);
            border-radius: 3px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }
        
        footer {
            text-align: center;
            padding: 30px 0 15px;
            color: var(--text-secondary);
            font-size: 14px;    
            
            border-top: 1px solid rgba(212, 175, 55, 0.1);
            /* 添加淡入动画 */
            animation: fadeIn 1s ease-out;
            animation-fill-mode: both;
            animation-delay: 0.8s;
            opacity: 0;
        }
        
        /* 响应式设计 */
        @media (max-width: 1023px) {
            .album-cover {
                width: 240px;
                height: 240px;
            }
            
            /* 移动端黑胶唱片适配 */
            .vinyl-record {
                width: 240px;
                height: 240px;
                right: -110px;
                background: url('../img/cd.png') center/cover no-repeat;
            }
            

        }
        
        @media (max-width: 768px) {
            .albums-list {
                grid-template-columns: repeat(4, 1fr);
                gap: 10px;
                
            }
            
            .album-item {
                max-width: none;
                width: 100%;
                padding: 0;
               height: auto;
            }
            
            .album-info {
                padding: 0;
                display: none;
            }
            
            .album-title {
                display: none;
                margin-bottom: 0;
            }
            .album-image {
                width: 100%;
                aspect-ratio: 1 / 1;
                position: relative;
                overflow: hidden;
                margin-bottom: 0;
                flex-shrink: 0;
            }
            
            .song-title {
                font-size: 20px;
            }
            
            /* 进一步缩小专辑封面和黑胶唱片 */
            .album-cover {
                width: 200px;
                height: 200px;
            }
            
            .vinyl-record {
                width: 200px;
                height: 200px;
                right: -90px;
                background: url('../img/cd.png') center/cover no-repeat;
            }
            

        }
        
        @media (max-width: 767px) {
  .album-item {
    width: 100%;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* 添加硬件加速以优化iOS上的动画性能 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    /* 优化iOS上的渲染性能 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  
  .album-image img {
    height: 100% !important;
    object-fit: cover;
  }
}
        @media (max-width: 480px) {
            .album-cover {
                width: 170px;
                height: 170px;
            }
            
            /* 移动端黑胶唱片适配 */
            .vinyl-record {
                width: 165px;
                height: 165px;
                right: -78px;
                background: url('../img/cd.png') center/cover no-repeat;
            }
            

            

            

            
            .albums-list {
                grid-template-columns: repeat(4, 1fr);
                gap: 8px;
              
            }
            
            .album-item {
                max-width: none;
                width: 100%;
                padding: 0;
                /* 确保在小屏幕上正确显示 */
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            .album-info {
                padding: 0;
                display: none;
                border-top:none;
            }
            
            .album-title {
                display: none;
                margin-bottom: 0;
            }
        }
        




        

        
        /* 懒加载图片样式 */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(25, 28, 36, 0.5);
    background-image: linear-gradient(45deg, #1a1d28 25%, transparent 25%, transparent 75%, #1a1d28 75%, #1a1d28),
                      linear-gradient(45deg, #1a1d28 25%, transparent 25%, transparent 75%, #1a1d28 75%, #1a1d28);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    position: relative;
    overflow: hidden;
}

img[data-src]:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* 专辑图片懒加载占位符样式 */
.album-image img[data-src] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* 封面图片懒加载占位符样式 */
.album-cover .cover-image img[data-src] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transform: scale(1.05);
}

/* 懒加载图片加载完成后的样式 */
img.lazy-loaded {
    opacity: 1;
}

/* 加载状态样式 */
        .play-pause-btn.loading {
            position: relative;
            cursor: not-allowed;
        }
        
        .loading-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--primary);
            font-size: 20px;
            z-index: 10;
        }
        
        /* 错误提示样式 */
        .error-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: rgba(220, 53, 69, 0.95);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 10000;
            font-size: 14px;
            max-width: 300px;
            backdrop-filter: blur(10px);
            animation: slideInRight 0.3s ease-out;
        }
        
        .error-toast i {
            font-size: 16px;
            color: white;
        }
        
        .error-toast.fade-out {
            animation: slideOutRight 0.3s ease-out forwards;
        }
        
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bg-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top .svg-icon {
    width: 24px !important;
    height: 24px !important;
    fill: var(--primary) !important;
    color: var(--primary) !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top .svg-icon {
        width: 20px !important;
        height: 20px !important;
        fill: var(--primary) !important;
        color: var(--primary) !important;
    }
}
