/* 文件路径：/music_app/assets/css/style.css */
/* 功能：前台公共样式 */

@font-face {
    font-family: 'Cherry Unicode';
    src: url('/assets/fonts/cherry_unicode.woff2') format('woff2'),
         url('/assets/fonts/cherry_unicode.woff') format('woff'),
         url('/assets/fonts/cherry_unicode.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* djskins07模板配色方案 */
:root {
    --primary-color: #0070d9; /* 主色调 - 蓝色 */
    --dark-bg: #171a2b; /* 深色背景 */
    --darker-bg: #161829; /* 更深色背景 */
    --text-color: #FFF; /* 文本颜色 */
    --text-secondary: #95979f; /* 次要文本颜色 */
    --card-bg: #2a2e45; /* 卡片背景色 */
    --hover-bg: #1c1f31; /* 悬停背景色 */
    --border-color: #212434; /* 边框颜色 */
    --nav-bg: #1a1a1a; /* 导航栏背景 */
    --footer-bg: #111; /* 底部背景 */
    --input-bg: #222; /* 输入框背景 */
    --heading-color: #fff; /* 标题颜色 */
    
    /* 功能页面配色变量 */
    --hot-gradient-start: #ff4757; /* 热门歌曲渐变起始色 */
    --hot-gradient-end: #ff3838; /* 热门歌曲渐变结束色 */
    --new-gradient-start: #f093fb; /* 新歌渐变起始色 */
    --new-gradient-end: #f5576c; /* 新歌渐变结束色 */
    --daily-gradient-start: #667eea; /* 每日推荐渐变起始色 */
    --daily-gradient-end: #764ba2; /* 每日推荐渐变结束色 */
    --classic-gradient-start: #fa709a; /* 经典老歌渐变起始色 */
    --classic-gradient-end: #fee140; /* 经典老歌渐变结束色 */
    --favorites-gradient-start: #4facfe; /* 收藏页面渐变起始色 */
    --favorites-gradient-end: #00f2fe; /* 收藏页面渐变结束色 */
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 统一容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

input[type="text"], input[type="password"], select, textarea {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-color);
    border-radius: 3px;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 112, 217, 0.3);
}

/* LayUI样式重写与扩展 */
.layui-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.layui-row {
    margin: 0 -10px;
}

.layui-col-md1, .layui-col-md2, .layui-col-md3, .layui-col-md4, .layui-col-md6, .layui-col-md8, .layui-col-md12 {
    padding: 0 10px;
}

/* 导航栏样式 */
.layui-nav {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

.layui-nav-item a {
    color: var(--text-color) !important;
    font-size: 18px;
    padding: 0 25px !important;
    line-height: 60px !important;
}

.layui-nav-item a:hover {
    color: #fff !important;
    background-color: var(--hover-bg) !important;
}

.layui-nav-item.layui-this a {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* 顶部菜单布局样式 */
.menu_pc {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

.menu_pc .container {
    display: flex;
    justify-content: flex-start;
}

.menu_pc .nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu_pc .nav-item {
    position: relative;
}

.menu_pc .nav-item a {
    display: block;
    padding: 18px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.menu_pc .nav-item a:hover {
    background-color: var(--hover-bg);
    color: #fff;
}

.menu_pc .nav-item.active a {
    color: #fff;
    background: var(--primary-color);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .menu_pc {
        display: none;
    }
    
    .top-login, .top-nav {
        float: none;
        text-align: center;
    }
    
    .top-nav {
        margin-top: 10px;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .wap {
        flex-direction: column;
        text-align: center;
    }
    
    .waplogo {
        margin-right: 0;
        margin-bottom: 15px;
        padding: 8px 12px;
    }
    
    .search {
        width: 100%;
        margin-top: 15px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .menu_pc .nav {
        flex-direction: column;
    }
    
    .menu_pc .nav-item a {
        padding: 10px 15px;
        text-align: center;
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .menu_pc .nav-item a {
        padding: 18px 18px;
        font-size: 16px;
    }
    
    .search {
        width: 250px;
    }
    
    .waplogo {
        padding: 8px 12px;
    }
}

/* 桌面设备适配 */
@media (min-width: 1025px) {
    .container {
        padding: 0 20px;
    }
    
    .menu_pc .nav-item a {
        padding: 18px 25px;
        font-size: 18px;
    }
    
    .search {
        width: 300px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* 移动端菜单样式 */
.layui-side {
    background-color: var(--darker-bg);
    border-right: 1px solid var(--border-color);
}

/* 添加移动端侧边栏收缩/展开样式 */
@media (max-width: 768px) {
    .layui-side {
        position: fixed;
        top: 0;
        right: -260px; /* 默认收缩在右边框外 */
        width: 260px;
        height: 100%;
        z-index: 999;
        transition: right 0.3s ease;
        border-right: none;
        border-left: 1px solid var(--border-color);
    }

    .layui-side.expanded {
        right: 0; /* 展开时显示 */
    }

    .side-toggle-btn {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }
}

/* 桌面端隐藏切换按钮 */
@media (min-width: 769px) {
    .side-toggle-btn {
        display: none;
    }
}

.layui-side-scroll .layui-nav {
    background-color: transparent;
}

.layui-side-scroll .layui-nav-item a {
    color: var(--text-color);
    line-height: 40px !important;
    padding: 0 20px !important;
}

.layui-side-scroll .layui-nav-item a:hover {
    background-color: var(--hover-bg);
}

/* 自定义Logo样式 */
.logo-container {
    text-align: center;
    padding: 20px 0;
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* 发布作品按钮样式 */
.publish-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-left: 15px;
}

.publish-btn:hover {
    background-color: #0066cc;
}

.publish-btn-container {
    margin-left: auto;
}

/* 移动端菜单按钮样式调整 */
.mobile-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    display: none;
}

/* 卡片样式 */
.layui-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.layui-card-header {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.layui-card-body {
    color: var(--text-color);
}

/* 按钮样式 */
.layui-btn {
    border-radius: 3px;
    font-size: 14px;
}

.layui-btn-primary {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.layui-btn-primary:hover {
    background-color: var(--hover-bg);
    color: #fff;
}

/* 表格样式 */
.layui-table {
    background-color: var(--card-bg);
    color: var(--text-color);
}

.layui-table th {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.layui-table td {
    border-bottom: 1px solid var(--border-color);
}

.layui-table tr:hover {
    background-color: var(--hover-bg);
}

/* 搜索框样式 */
.layui-input {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.layui-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 112, 217, 0.3);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: normal;
    margin-bottom: 15px;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--text-secondary);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans', 'Microsoft YaHei', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, Myanmar Text, 'Cherry Unicode', 'Noto Sans Myanmar';
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 80px; /* 为底部播放器留出空间 */
    background-image: url(../images/top-bg.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

/* 顶部区域 */
.top {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    height: 40px;
    line-height: 40px;
}

.top-login {
    float: left;
    line-height: 30px;
    min-width: 200px; /* 设置最小宽度 */
    max-width: 250px; /* 设置最大宽度 */
}

.top-nav {
    float: right;
    line-height: 30px;
}

.top-nav a {
    color: #f5f5f5;
    text-decoration: none;
    margin-left: 15px;
    font-size: 12px;
}

.top-nav a:hover {
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 0 15px;
    height: 24px;
    line-height: 24px;
    border-radius: 2px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--primary-color) !important;
}

.bg-gray {
    background-color: var(--card-bg);
    color: #fff;
}

.bg-gray:hover {
    background-color: var(--hover-bg);
}

/* 登录用户样式 */
/* 确保未登录状态的按钮组宽度一致 */
#unLogin {
    display: flex;
    gap: 10px;
    min-width: 180px; /* 设置最小宽度 */
}

.logined {
    position: relative;
    display: inline-block;
    max-width: 240px; /* 限制最大宽度 */
}

.c-gray {
    color: #f5f5f5;
    font-size: 12px;
}

.colord {
    color: #e13e3e;
    text-decoration: none;
}

.usercenter-btn {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
}

.usercenter-btn i {
    margin-left: 5px;
    font-size: 12px;
}

.usercenter-btn ul {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    min-width: 120px;
    z-index: 1000;
}

.usercenter-btn:hover ul {
    display: block;
}

.usercenter-btn ul li {
    line-height: 32px;
    padding: 0 10px;
}

.usercenter-btn ul li a {
    color: #f5f5f5;
    text-decoration: none;
    display: block;
    font-size: 12px;
}

.usercenter-btn ul li a:hover {
    color: #ffffff;
}

/* 头部区域 */
.head {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.head canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.menu-container {
    position: relative;
    z-index: 1;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.wap {
    display: flex;
    align-items: center;
    min-width: 300px; /* 设置最小宽度 */
}

.waplogo {
    margin-right: 20px;
    padding: 8px 15px;
    background: rgba(0, 112, 217, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 112, 217, 0.2);
    box-shadow: 0 4px 15px rgba(0, 112, 217, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0; /* 防止被压缩 */
    width: auto; /* 固定宽度 */
}

.waplogo:hover {
    background: rgba(0, 112, 217, 0.2);
    border-color: rgba(0, 112, 217, 0.3);
    box-shadow: 0 6px 20px rgba(0, 112, 217, 0.2);
    transform: translateY(-2px);
}

.waplogo img {
    height: 40px;
    width: auto;
    display: block;
}

.other-mobile {
    margin-right: 20px;
}

.other-mobile a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #0070d9;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.other-mobile a:hover {
    background: #0070d9;
    border-color: #0056b3;
}

/* 搜索框 */
.search {
    position: relative;
    width: 300px;
    flex-shrink: 0;
}

.bar {
    position: relative;
}

.bar input {
    width: 100%;
    height: 36px;
    padding: 0 40px 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 14px;
    outline: none;
}

.bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 112, 217, 0.3);
}

.bar button {
    position: absolute;
    right: 2px;
    top: 2px;
    height: 32px;
    padding: 0 15px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
}

.bar button:hover {
    background: var(--hover-bg);
}

/* 主导航菜单 - 已由LayUI样式替代 */

.hot-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5722;
    margin-left: 5px;
    vertical-align: middle;
}

/* 底部区域 */
.footer {
    background: var(--footer-bg);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

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

.footer strong {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.footer p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-login, .top-nav {
        float: none;
        text-align: center;
    }
    
    .top-nav {
        margin-top: 10px;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .wap {
        flex-direction: column;
        text-align: center;
    }
    
    .waplogo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .search {
        width: 100%;
        margin-top: 15px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* 移动端菜单适配 */
    .layui-nav-item a {
        padding: 0 15px !important;
        font-size: 16px !important;
    }
}

/* 搜索页面样式 */
.search-container {
    margin-top: 30px;
}

.search-header {
    text-align: center;
}

.search-page-container {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1e1e1e 100%);
    border-radius: 8px;
}

.search-header h1 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 28px;
}

.search-info {
    color: #ccc;
    font-size: 16px;
}

.bit {
    margin-bottom: 20px;
    padding: 10px 0;
    color: #999;
    font-size: 14px;
}

.bit a {
    color: #999;
    text-decoration: none;
}

.bit a:hover {
    color: #e13e3e;
}

.search-prompt {
    text-align: center;
    padding: 60px 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.search-prompt h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.search-prompt p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 16px;
}

.search-page-box {
    max-width: 500px;
    margin: 0 auto;
}

.search-page-box form {
    display: flex;
    gap: 10px;
}

.search-page-box input {
    flex: 1;
    height: 45px;
    padding: 0 20px;
    border: 1px solid #444;
    border-radius: 25px;
    background: #333;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.search-page-box input:focus {
    border-color: #e13e3e;
}

.search-page-box button {
    height: 45px;
    padding: 0 25px;
    border: none;
    background: #e13e3e;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-page-box button:hover {
    background: #c53030;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.no-results h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.no-results p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 16px;
}

.no-results ul {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 30px;
    color: #999;
}

.no-results li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.no-results li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e13e3e;
}

.error-message {
    background: #8b0000;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.search-results {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
}

.song-list {
    display: grid;
    gap: 20px;
}

.song-item {
    display: flex;
    background: #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.song-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.song-cover {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.song-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.song-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.song-info h3 a:hover {
    color: #e13e3e;
}

.featured-badge {
    display: inline-block;
    background: #e13e3e;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 8px;
}

.song-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.song-meta span {
    display: flex;
    align-items: center;
}

.song-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.song-actions a,
.song-actions button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn {
    background: #e13e3e;
    color: #fff;
}

.play-btn:hover {
    background: #c53030;
}

.download-btn {
    background: #666;
    color: #fff;
}

.download-btn:hover {
    background: #777;
}

.favorite-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    transition: color 0.3s;
}

.favorite-btn:hover,
.favorite-btn.favorited {
    color: #ff6b6b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .song-item {
        flex-direction: column;
    }
    
    .song-cover {
        width: 100%;
        height: 200px;
    }
    
    .song-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .song-actions {
        flex-wrap: wrap;
    }
    
    .search-box form {
        flex-direction: column;
    }
    
    .search-box input,
    .search-box button {
        width: 100%;
    }
}

/* 容器样式定义 - 已由LayUI样式替代 */

/* 非播放页面主内容区域样式 */
.main-content {
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 内容区域样式 */
.content-area {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
}

/* 针对search.php中的main标签 */
.main-content > main {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    .main-content {
        padding: 15px;
        margin-top: 20px;
    }
}

/* 添加自定义LayUI样式 */
.song-grid {
    margin: 0 -10px;
}

.song-grid > div {
    padding: 0 10px 20px;
}

.song-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.song-cover {
    width: 100%;
    height: auto;
    display: block;
}

.song-info {
    padding: 15px;
}

.song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    word-wrap: break-word;
    white-space: normal;
}

.song-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.song-meta {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

/* 底部播放器 */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--darker-bg);
    padding: 15px;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
}

.now-playing {
    display: flex;
    align-items: center;
    width: 30%;
}

.now-playing-cover {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    margin-right: 15px;
}

.player-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.control-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    margin: 0 10px;
    cursor: pointer;
}

.play-btn {
    font-size: 32px;
    color: var(--primary-color);
}

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

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #444;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 30%;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.player-actions {
    display: flex;
    gap: 15px;
    width: 15%;
    justify-content: flex-end;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.action-btn:hover {
    color: var(--primary-color);
}

/* 语言切换器 */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-switcher select {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.language-switcher::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    font-size: 10px;
}

/* 页脚 */
footer {
    margin-top: 50px;
    background-color: var(--darker-bg);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-section p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 移动端菜单按钮 - 已被上面的样式替换 */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .layui-nav {
        display: none;
    }

    .layui-layout-admin .layui-header {
        background-color: var(--darker-bg);
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .now-playing {
        display: none;
    }
    
    .player-actions {
        width: 25%;
    }
}

/* 整合的网易风格样式 */

/* 网易风格颜色类 */
.netease-red { background-color: var(--netease-red); }
.netease-dark { background-color: var(--netease-dark); }
.netease-gray { background-color: var(--netease-gray); }
.netease-light-gray { background-color: var(--netease-light-gray); }
.netease-text-red { color: var(--netease-red); }
.netease-text-white { color: #fff; }
.netease-text-gray { color: #aaa; }

/* 网易风格按钮 */
.netease-btn {
    background-color: var(--netease-red);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.netease-btn:hover {
    background-color: #c6161b;
}

/* 网易风格卡片 */
.netease-card {
    background-color: var(--netease-gray);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 优化滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 网易风格轮播图 */
.netease-carousel {
    position: relative;
    overflow: hidden;
    height: 300px;
    margin-bottom: 30px;
}

.netease-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.netease-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.netease-carousel-item.active {
    opacity: 1;
}

/* 用户中心样式 */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.profile-sidebar {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.profile-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.1;
}

.avatar-container {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 112, 217, 0.3);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 112, 217, 0.4);
}

.user-info {
    position: relative;
    z-index: 1;
}

.user-info h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.user-info p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info p span:first-child {
    color: var(--text-secondary);
}

.user-info p span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.profile-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.profile-content h2 {
    color: var(--text-color);
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.profile-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* 账号设置页面样式 */
.settings-container {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.settings-container h2 {
    color: var(--text-color);
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.settings-container h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.settings-section {
    background: var(--darker-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.settings-section:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.settings-section h3 {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.settings-section h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

/* 头像上传区域样式 */
.avatar-container.settings {
    display: flex;
    align-items: center;
    gap: 30px !important; /* 增大头像和按钮之间的距离 */
    padding: 20px;
    background: var(--darker-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.avatar-container.settings .profile-avatar {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.avatar-form {
    display: flex;
    flex-direction: column;
    gap: 25px !important; /* 增大选择头像和保存按钮之间的距离 */
    flex: 1;
}

.avatar-form .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    line-height: 1.2 !important; /* 修复按钮文字上下错位问题 */
    height: auto !important; /* 确保按钮高度自适应 */
    vertical-align: middle !important; /* 垂直居中对齐 */
}

.avatar-form .btn:first-child {
    background: var(--primary-color);
    color: white;
}

.avatar-form .btn:first-child:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.avatar-form .btn:last-child {
    background: #28a745;
    color: white;
}

.avatar-form .btn:last-child:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* 表单样式美化 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 112, 217, 0.1);
    background: var(--darker-bg);
}

.form-group input[type="text"]:disabled {
    background: var(--darker-bg);
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    line-height: 1.2 !important; /* 修复按钮文字上下错位问题 */
    height: auto !important; /* 确保按钮高度自适应 */
    vertical-align: middle !important; /* 垂直居中对齐 */
}

.form-group .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 112, 217, 0.3);
}

/* 消息提示样式 */
.message {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border-left: 4px solid #1e7e34;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .profile-sidebar {
        padding: 20px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-content {
        padding: 20px;
    }
    
    .avatar-container.settings {
        flex-direction: column;
        text-align: center;
        gap: 25px !important; /* 移动端也保持适当间距 */
    }
    
    .avatar-form {
        width: 100%;
        gap: 20px !important; /* 移动端按钮间距 */
    }
    
    .settings-section {
        padding: 20px;
    }
}

/* 用户中心提交按钮 - djskins07配色方案 */
.profile-container .btn,
.settings-container .btn,
.form-group .btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 112, 217, 0.2) !important;
    line-height: 1.2 !important; /* 修复按钮文字上下错位问题 */
    height: auto !important; /* 确保按钮高度自适应 */
    vertical-align: middle !important; /* 垂直居中对齐 */
}

.profile-container .btn:hover,
.settings-container .btn:hover,
.form-group .btn:hover {
    background: #0056b3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 112, 217, 0.4) !important;
}

/* 头像表单按钮特殊样式 */
.avatar-form .btn:first-child {
    background: var(--primary-color) !important;
    color: white !important;
    line-height: 1.2 !important; /* 修复按钮文字上下错位问题 */
    height: auto !important; /* 确保按钮高度自适应 */
    vertical-align: middle !important; /* 垂直居中对齐 */
}

.avatar-form .btn:first-child:hover {
    background: #0056b3 !important;
}

.avatar-form .btn:last-child {
    background: #28a745 !important;
    color: white !important;
    line-height: 1.2 !important; /* 修复按钮文字上下错位问题 */
    height: auto !important; /* 确保按钮高度自适应 */
    vertical-align: middle !important; /* 垂直居中对齐 */
}

.avatar-form .btn:last-child:hover {
    background: #218838 !important;
}

/* ============================= */
/* 功能页面通用样式类 - 新增部分 */
/* ============================= */

/* 分页组件通用样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 5px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 2px;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-link.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 112, 217, 0.3);
}

.page-link.disabled {
    background: var(--darker-bg);
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

.page-link.disabled:hover {
    background: var(--darker-bg);
    border-color: var(--border-color);
    color: var(--text-secondary);
    transform: none;
}

/* 页面横幅通用样式 */
.page-banner {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-bg) 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 各功能页面特定横幅样式 */
.hot-banner {
    background: linear-gradient(135deg, var(--hot-gradient-start) 0%, var(--hot-gradient-end) 100%);
}

.new-banner {
    background: linear-gradient(135deg, var(--new-gradient-start) 0%, var(--new-gradient-end) 100%);
}

.daily-banner {
    background: linear-gradient(135deg, var(--daily-gradient-start) 0%, var(--daily-gradient-end) 100%);
}

.classic-banner {
    background: linear-gradient(135deg, var(--classic-gradient-start) 0%, var(--classic-gradient-end) 100%);
}

.favorites-banner {
    background: linear-gradient(135deg, var(--favorites-gradient-start) 0%, var(--favorites-gradient-end) 100%);
}

/* 歌曲卡片网格增强样式 */
.song-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.song-card-enhanced {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.song-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.song-card-enhanced .song-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.song-card-enhanced:hover .song-cover {
    transform: scale(1.05);
}

.song-card-enhanced .song-info {
    padding: 20px;
}

.song-card-enhanced .song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card-enhanced .song-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card-enhanced .song-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.song-card-enhanced .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.song-card-enhanced:hover .play-overlay {
    opacity: 1;
}

.song-card-enhanced .play-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.song-card-enhanced .play-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* 页面头部通用样式 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.page-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.page-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-color);
    color: #fff;
}

.badge-hot {
    background: var(--hot-gradient-start);
    color: #fff;
}

.badge-new {
    background: var(--new-gradient-start);
    color: #fff;
}

.badge-daily {
    background: var(--daily-gradient-start);
    color: #fff;
}

.badge-classic {
    background: var(--classic-gradient-start);
    color: #fff;
}

.badge-favorites {
    background: var(--favorites-gradient-start);
    color: #fff;
}

/* 功能页面内容区域 */
.page-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 空状态提示 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 30px;
}

.no-data-container {
    text-align: center;
    padding: 50px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.no-data-container i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-data-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .song-grid-enhanced {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .page-banner {
        height: 150px;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .page-banner p {
        font-size: 16px;
    }
    
    .page-header h2 {
        font-size: 24px;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 12px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .song-grid-enhanced {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .song-card-enhanced .song-cover {
        height: 120px;
    }
    
    .song-card-enhanced .song-info {
        padding: 12px;
    }
    
    .page-banner {
        height: 120px;
    }
    
    .page-banner h1 {
        font-size: 20px;
    }
    
    .page-banner p {
        font-size: 14px;
    }
}

/* 隐藏PC端侧边栏切换按钮 */
.layui-layout-admin .layui-side-toggle {
    display: none;
}

/* 适配LayUI的响应式表格 */
.layui-table-responsive {
    overflow-x: auto;
}

/* 确保LayUI的加载动画可见 */
.layui-layer-loading .layui-layer-content {
    background-color: rgba(0, 0, 0, 0.7);
}

.layui-layer-loading .layui-layer-loading {}

/* 适配LayUI的弹出层样式 */
.layui-layer {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.layui-layer-title {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.layui-layer-content {
    color: var(--text-color);
}

.layui-layer-btn a {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.layui-layer-btn .layui-layer-btn1 {
    background-color: var(--primary-color);
    border: none;
}

/* 适配LayUI的表单样式 */
.layui-form-label {
    color: var(--text-color);
}

.layui-form-radio * {
    color: var(--text-color);
}

.layui-form-radioed i {
    color: var(--primary-color);
}

.layui-form-checked span,
.layui-form-checked:hover span {
    background-color: var(--primary-color);
}

/* 适配LayUI的选项卡样式 */
.layui-tab {
    margin: 0;
}

.layui-tab-title {
    border-bottom: 1px solid var(--border-color);
}

.layui-tab-title li {
    color: var(--text-secondary);
}

.layui-tab-title li.layui-this {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.layui-tab-content {
    padding: 15px 0;
    color: var(--text-color);
}

/* 适配LayUI的分页样式 */
.layui-laypage {
    margin: 20px 0;
}

.layui-laypage a,
.layui-laypage span {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.layui-laypage a:hover {
    background-color: var(--hover-bg);
    color: #fff;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: var(--primary-color);
}

.layui-laypage .layui-laypage-curr span {
    color: #fff;
    border-color: var(--primary-color);
}

/* 适配LayUI的徽章样式 */
.layui-badge {
    background-color: var(--primary-color);
}

.layui-badge-dot {
    background-color: #e13e3e;
}

/* 适配LayUI的图标颜色 */
.layui-icon {
    color: var(--text-color);
}

/* 适配图片懒加载的占位样式 */
.layui-lazyload {
    background-color: var(--darker-bg);
    display: inline-block;
}

/* 清除浮动 */
.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 文本溢出省略 */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 加载中动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 骨架屏样式 */
.skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* 优化无障碍访问 */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 打印样式优化 */
@media print {
    body {
        background: none;
        color: #000;
    }

    .top, .head, .footer, .player-bar {
        display: none;
    }

    .main-content {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    .song-actions {
        display: none;
    }
}

/* 响应式断点优化 */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        box-sizing: border-box;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 900px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        box-sizing: border-box;
    }

    .main-content {
        padding: 15px;
        margin-top: 20px;
    }

    .song-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .song-grid {
        grid-template-columns: 1fr;
    }

    .now-playing {
        width: 40%;
    }

    .player-actions {
        width: 25%;
    }
}

/* 深色模式增强 */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #121212;
        --darker-bg: #0a0a0a;
        --card-bg: #1e1e1e;
        --border-color: #333;
    }
}

/* 结束样式文件 */

/* ============================= */
/* 通用样式模块 - 播放器相关 */
/* ============================= */

/* 通用按钮样式 */
.btn-icon {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-icon-lg {
    font-size: 28px;
}

.btn-icon-md {
    font-size: 22px;
}

.btn-icon-sm {
    font-size: 18px;
}

/* 通用进度条样式 */
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #444;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar-lg {
    height: 6px;
    border-radius: 3px;
}

.progress-bar-sm {
    height: 2px;
    border-radius: 1px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
}

/* 通用时间信息样式 */
.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.time-info-lg {
    font-size: 14px;
}

@media (max-width: 768px) {
    /* 调整播放器控件大小 */
    .play-btn-large {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    /* 调整进度条和音量控制 */
    .progress-bar-lg {
        height: 4px;
    }

    .volume-slider {
        width: 80px;
    }

    /* 确保歌曲信息在移动端清晰可见 */
    .song-info {
        padding: 10px;
    }
}

/* 侧边栏基础样式 */
.sidebar {
    width: 240px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* 左侧边栏悬浮效果 */
.sidebar {
    position: fixed;
    top: 200px;
    left: 20px;
    z-index: 999;
}

.sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.sidebar-title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 16px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 10px;
}

.sidebar-list a {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-list a:hover {
    background: rgba(0, 112, 217, 0.2);
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 90%;
        max-width: 300px;
        left: 5%;
        right: 5%;
        top: auto;
        bottom: 80px;
        margin: 0 auto;
        position: fixed;
    }
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-song-list {
    list-style: none;
}

.sidebar-song-item {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.sidebar-song-item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 10px;
}

.sidebar-song-info {
    flex: 1;
}

.sidebar-song-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-song-artist {
    font-size: 12px;
    color: var(--text-secondary);
}

.sidebar-dark {
    background: #1a1a1a;
}

.sidebar-right {
    width: 300px;
    flex-shrink: 0;
}

/* 通用歌曲卡片样式 */
.song-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.song-card-light {
    background: rgba(255,255,255,0.05);
}

.song-card-light:hover {
    background: rgba(255,255,255,0.1);
}

/* 通用歌曲信息样式 */
.song-info {
    padding: 15px;
}

.song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 通用列表样式 */
.list-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.list-item:last-child {
    border-bottom: none;
}

/* 通用排名数字样式 */
.rank-num {
    background: #444;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* 通用区域标题样式 */
.section-title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    background: linear-gradient(90deg, var(--primary-color), #0078d7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* 通用操作按钮样式 */
.song-actions {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.song-action-btn {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.3s;
}

.song-action-btn:hover {
    color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}

/* 通用播放器控制样式 */
.player-controls {
    width: 100%;
    max-width: 500px;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.play-btn-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.play-btn-large:hover {
    background: #c53030;
    transform: scale(1.05);
}

/* 通用音量控制样式 */
.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.volume-slider {
    width: 100px;
    -webkit-appearance: none;
    height: 5px;
    background: #444;
    border-radius: 5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--text-color);
    cursor: pointer;
}

/* 通用操作按钮组样式 */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 相关推荐样式 */
.recommended-songs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .recommended-songs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .recommended-songs {
        grid-template-columns: 1fr;
    }
}

.recommended-song {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recommended-song img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px; /* 添加图片与名称之间的间距 */
}

.recommended-song .song-name {
    color: var(--text-color);
    font-size: 14px;
    text-align: center;
    margin-top: 8px; /* 确保名称在图片下方 */
    word-break: break-word;
}

/* 多语言下拉菜单样式 */
.language-switcher-item {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

/* 旋转下拉箭头 */
.dropdown.active .caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #222;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

/* 显示激活的下拉菜单 */
.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #ddd;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}

/* 高亮当前选中的语言 */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #337ab7;
    font-weight: bold;
}

/* 添加新样式 */
.language-switcher-container {
    position: relative;
    height: 100%;
}

.language-switcher {
    height: 100%;
}

.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 25px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.language-switcher.active .dropdown-toggle {
    color: #fff;
    background: var(--primary-color);
}

.language-switcher .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 160px;
    padding: 5px 0;
    background-color: #222;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.language-switcher.active .dropdown-menu {
    display: block;
}

.dropdown-menu > li > a {
    display: block;
    padding: 8px 20px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-menu > li > a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* 高亮当前语言 */
.dropdown-menu > .active > a {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

/* 添加语言图标样式 */
.language-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.language-switcher.active .language-icon {
    transform: rotate(15deg);
}

/* 调整按钮内间距 */
.language-switcher .dropdown-toggle {
    padding: 0 15px 0 10px; /* 增加左侧空间 */
}

/* 确保图标和文字对齐 */
.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
}

/* 新增下拉菜单样式 */
.dropdown-container {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--text-color);
    font: inherit;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    transition: all 0.3s;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-section {
    margin-bottom: 15px;
}

.dropdown-header {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

/* 高亮当前页面 */
.dropdown-content .active > a {
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(0, 112, 217, 0.1);
}

/* 增强导航菜单悬停效果 */
.menu_pc .nav-item:not(.dropdown-container):hover {
    background: linear-gradient(to bottom, var(--primary-color) 0%, transparent 100%);
    background-size: 100% 4px;
    background-repeat: no-repeat;
    background-position: bottom;
}

.menu_pc .nav-item:not(.dropdown-container):hover a {
    color: #fff;
    transform: translateY(-2px);
}

.menu_pc .nav-item.active {
    background: linear-gradient(to bottom, var(--primary-color) 0%, transparent 100%);
    background-size: 100% 4px;
    background-repeat: no-repeat;
    background-position: bottom;
}

.menu_pc .nav-item.active a {
    color: #fff;
    font-weight: 500;
}

/* 右侧边栏样式 */
.sidebar-right {
    position: fixed;
    top: 200px;
    right: 20px;
    width: 220px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-language h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 16px;
}

.language-list {
    list-style: none;
}

.language-list li {
    margin-bottom: 10px;
}

.language-list a {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.language-list a:hover {
    background: rgba(0, 112, 217, 0.2);
    transform: translateX(5px);
}

.active-language {
    background: rgba(0, 112, 217, 0.3) !important;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar-right {
        width: 90%;
        max-width: 300px;
        right: 5%;
        left: 5%;
        top: auto;
        bottom: 80px;
        margin: 0 auto;
    }
}

/* 功能页面歌曲卡片网格布局 - 专用类 */
.song-grid-feature {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.song-grid-feature .song-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.song-grid-feature .song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.song-grid-feature .song-card .song-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.song-grid-feature .song-card:hover .song-cover {
    transform: scale(1.05);
}

.song-grid-feature .song-card .song-info {
    padding: 20px;
}

.song-grid-feature .song-card .song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-grid-feature .song-card .song-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-grid-feature .song-card .song-meta,
.song-grid-feature .song-card .song-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 功能页面移动端适配 */
@media (max-width: 768px) {
    .song-grid-feature {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .song-grid-feature {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .song-grid-feature .song-card .song-cover {
        height: 120px;
    }
    
    .song-grid-feature .song-card .song-info {
        padding: 12px;
    }
}

/* 歌曲卡片网格布局 - 新增部分 */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.song-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.song-card .song-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.song-card:hover .song-cover {
    transform: scale(1.05);
}

.song-card .song-info {
    padding: 20px;
}

.song-card .song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card .song-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card .song-meta,
.song-card .song-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .song-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .song-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .song-card .song-cover {
        height: 120px;
    }
    
    .song-card .song-info {
        padding: 12px;
    }
}

/* 首页歌曲卡片网格布局 - 专用类 */
.song-grid-home {
    margin: 30px 0;
}

.song-grid-home .song-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.song-grid-home .song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.song-grid-home .song-card .song-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.song-grid-home .song-card:hover .song-cover {
    transform: scale(1.05);
}

.song-grid-home .song-card .song-info {
    padding: 20px;
}

.song-grid-home .song-card .song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-grid-home .song-card .song-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-grid-home .song-card .song-meta,
.song-grid-home .song-card .song-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 首页移动端适配 */
@media (max-width: 768px) {
    .song-grid-home .song-card .song-cover {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .song-grid-home .song-card .song-cover {
        height: 120px;
    }
    
    .song-grid-home .song-card .song-info {
        padding: 12px;
    }
}

.play-page-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .play-page-container {
        grid-template-columns: 1fr;
    }

    .right-column {
        width: 100%;
        max-width: 100%;
    }
}

/* 首页介绍文字样式 */
.site-description {
    padding: 30px 0;
    text-align: center;
    margin-bottom: 40px;
}

.site-description h1 {
    font-size: 36px; /* 增大标题字体 */
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.site-description p {
    font-size: 18px; /* 增大描述文字字体 */
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}