:root {
    /* 主色调：深海蓝 */
    --primary: #165DFF;
    /* 辅助色：珊瑚橙 */
    --secondary: #FF7D54;
    /* 强调色：荧光青 */
    --accent: #00F0FF;
    /* 中性色 */
    --dark: #1D2939;
    --medium: #667085;
    --light: #F5F7FA;
    --white: #FFFFFF;
    /* 交互状态 */
    --hover: rgba(22, 93, 255, 0.1);
    --active: rgba(22, 93, 255, 0.2);
    /* 过渡动画 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Microsoft YaHei', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* 导航栏样式 */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: var(--white);
    color: var(--dark);
    padding-top: 24px;
    height: 100vh;
    position: fixed;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
    transition: var(--transition);
}

.sidebar:hover {
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.08);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: var(--medium);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    margin: 0 4px;
}

.menu-item:hover {
    background-color: var(--hover);
    color: var(--primary);
    transform: translateX(4px);
}

.menu-item.active {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.menu-item .icon {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* 调整主内容区域 */
.main-content {
    flex: 1;
    margin-left: 220px;
    padding: 20px;
    padding-bottom: 40px; /* 增加底部内边距，为装饰条留出空间 */
    position: relative;
}

/* 添加主内容区域底部主题色装饰条 */
.main-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 4px;
    opacity: 0.8;
}

/* 修改原有container样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--primary-light); /* 使用主题色的浅色变体作为分隔线 */
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}

.download-song::after, #downloadBtn::after, .menu-item::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* 卡片悬停效果 */
.song-info, .setting-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-info:hover, .setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 手机模式下的设置调整 */
@media (max-width: 768px) {
    .bilibili-icon {
        width: 30px;
        height: 30px;
    }
    
    .bilibili-icon::before {
        width: 15px;
        height: 15px;
    }
    
    .bilibili-icon::after {
        width: 6px;
        height: 6px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}

.download-song::after, #downloadBtn::after, .menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.download-song:active::after, #downloadBtn:active::after, .menu-item:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 卡片悬停效果 */
.song-info, .setting-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-info:hover, .setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 手机模式下的设置调整 */
@media (max-width: 768px) {
    .bilibili-icon {
        width: 30px;
        height: 30px;
    }
    
    .bilibili-icon::before {
        width: 15px;
        height: 15px;
    }
    
    .bilibili-icon::after {
        width: 6px;
        height: 6px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}

.download-song::after, #downloadBtn::after, .menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.download-song:active::after, #downloadBtn:active::after, .menu-item:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 卡片悬停效果 */
.song-info, .setting-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-info:hover, .setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 手机模式下的设置调整 */
@media (max-width: 768px) {
    .bilibili-icon {
        width: 30px;
        height: 30px;
    }
    
    .bilibili-icon::before {
        width: 15px;
        height: 15px;
    }
    
    .bilibili-icon::after {
        width: 6px;
        height: 6px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}

.download-song::after, #downloadBtn::after, .menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.download-song:active::after, #downloadBtn:active::after, .menu-item:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 卡片悬停效果 */
.song-info, .setting-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-info:hover, .setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 手机模式下的设置调整 */
@media (max-width: 768px) {
    .bilibili-icon {
        width: 30px;
        height: 30px;
    }
    
    .bilibili-icon::before {
        width: 15px;
        height: 15px;
    }
    
    .bilibili-icon::after {
        width: 6px;
        height: 6px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}

.download-song::after, #downloadBtn::after, .menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.download-song:active::after, #downloadBtn:active::after, .menu-item:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 卡片悬停效果 */
.song-info, .setting-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-info:hover, .setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 手机模式下的设置调整 */
@media (max-width: 768px) {
    .bilibili-icon {
        width: 30px;
        height: 30px;
    }
    
    .bilibili-icon::before {
        width: 15px;
        height: 15px;
    }
    
    .bilibili-icon::after {
        width: 6px;
        height: 6px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}

.download-song::after, #downloadBtn::after, .menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 80%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.download-song:active::after, #downloadBtn:active::after, .menu-item:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 卡片悬停效果 */
.song-info, .setting-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-info:hover, .setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 手机模式下的设置调整 */
@media (max-width: 768px) {
    .bilibili-icon {
        width: 30px;
        height: 30px;
    }
    
    .bilibili-icon::before {
        width: 15px;
        height: 15px;
    }
    
    .bilibili-icon::after {
        width: 6px;
        height: 6px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--primary); /* 添加底部主题色边框 */
}

h1 {
    color: #d43c33;
    text-align: center;
}

.input-group {
    display: flex;
    margin: 30px 0;
}

#songId {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#parseBtn {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#parseBtn:hover {
    background-color: #c0352c;
}

.hidden {
    display: none;
}

.song-info {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

#cover {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin-right: 20px;
}

details h2 {
    margin: 0 0 10px 0;
    color: #222;
}

details p {
    margin: 5px 0;
    color: #666;
}

.download-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.download-options h3 {
    margin-top: 0;
}

label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quality {
    margin: 20px 0;
}

.download-song, #downloadBtn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.download-song:hover, #downloadBtn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

#downloadBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 16px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #E4E7EC;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#error {
    color: #d43c33;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ffcdd2;
    background-color: #ffebee;
    border-radius: 4px;
}


/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 移除可能导致冲突的hidden类样式 */
.hidden {
    display: none;
}

/* 添加在文件末尾 */
/* 手机端导航栏调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* 从260px缩小到60px */
        overflow-x: hidden;
    }
    
    .menu-item {
        padding: 14px 10px;
        justify-content: center; /* 图标居中 */
    }
    
    .menu-item .text {
        display: none; /* 隐藏文字 */
    }
    
    .menu-item .icon {
        margin-right: 0; /* 移除右边距 */
        font-size: 20px; /* 稍微增大图标 */
    }
    
    .main-content {
        margin-left: 60px; /* 调整主内容左边距 */
    }
}

/* 设置页面样式 */
.setting-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.setting-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.bilibili-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.bilibili-link:hover {
    transform: translateX(5px);
}

.bilibili-icon {
    width: 40px;
    height: 40px;
    background-color: #fb7299;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.bilibili-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}

.bilibili-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#device-mode {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.help-text {
    margin-top: 10px;
    color: var(--medium);
    font-size: 14px;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--medium);
    font-size: 14px;
    text-align: center;
}

/* 添加主题选择器样式 */
.theme-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* 添加交互动画效果 */
/* 内容区域过渡动画 */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

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

/* 按钮点击波纹效果 */
.download-song, #downloadBtn, .theme-btn, .menu-item {
    position: relative;
    overflow: hidden;
}
