/* 底部导航栏样式 */
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    z-index: 1000; /* 确保导航栏在最上层 */
}

#bottom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

#bottom-nav ul li {
    position: relative; /* 为子菜单定位提供参考 */
    display: inline;
}

#bottom-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: inline-block;
}

#bottom-nav ul li a:hover {
    color: #ffcc00;
}

/* 风格选择菜单样式 */
#category-menu {
    position: absolute;
    bottom: 100%; /* 将菜单放在按钮上方 */
    left: 50%;
    transform: translateX(-50%); /* 水平居中 */
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none; /* 默认隐藏 */
}

#category-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#category-menu ul li {
    margin: 5px 0;
}

#category-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
    padding: 5px 10px;
}

#category-menu ul li a:hover {
    color: #ffcc00;
    background-color: #f0f0f0;
}

/* 登录和注册页面样式 */
form {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

form label {
    display: block;
    margin-bottom: 8px;
}

form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}

a {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.favorite-btn {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc; /* 空心状态 */
    margin-left: auto; /* 将按钮推到最右边 */
}

#favorite-btn.favorited {
    color: red; /* 实心状态 */
}
#favorite-songs {
    list-style: none;
    padding: 0;
    margin: 0;
}

#favorite-songs li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#favorite-songs li img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

#favorite-songs li span {
    font-size: 16px;
}
#login-box {
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

#login-box p {
    margin: 0;
    font-size: 16px;
}

#login-box button {
    padding: 5px 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

#login-box button:hover {
    background-color: #555;
}

#login-box form {
    display: inline-block;
    text-align: left;
}

#login-box form label {
    display: block;
    margin-bottom: 5px;
}

#login-box form input {
    width: 150px;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#login-box form button {
    width: 100%;
    padding: 5px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

#login-box form button:hover {
    background-color: #555;
}
/* 调整图片大小 */
#favorite-songs img {
    width: 100px; /* 你可以根据需要调整这个值 */
    height: auto;
    border-radius: 5px; /* 可选：添加圆角 */
}

/* 调整列表项的样式 */
#favorite-songs li {
    list-style-type: none;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#favorite-songs li span {
    margin-left: 10px;
    font-size: 16px;
}
#ctrlogout {
    margin-top: 20px;
}

#ctrlogout button {
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ff3c00;
}

#ctrlogout button:hover {
    background-color: #3d2923;
}
/* 广告歌曲样式 */
li[data-ad] {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
}

li[data-ad] span::before {
    content: "广告";
    background-color: #ffc107;
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 8px;
}
/* 广告歌曲样式 */
.ad-song {
    background-color: rgba(255, 235, 59, 0.1); /* 浅黄色背景 */
}

.ad-badge {
    display: inline-block;
    background-color: #FFEB3B; /* 黄色背景 */
    color: #333;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: bold;
}

/* 如果是VIP用户，隐藏广告标记 */
.vip-user .ad-badge {
    display: none;
}

.vip-user .ad-song {
    background-color: transparent;
}

/* 分享按钮样式 */
#share-btn {
    padding: 6px 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

/* 分享面板样式 */
#simple-share {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 4px;
    padding: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
}

#simple-share .fl {
    float: left;
    margin-right: 8px;
    font-size: 12px;
    line-height: 24px;
}

#simple-share div[onclick] {
    display: inline-block;
    cursor: pointer;
    margin: 0 2px;
}

#simple-share img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
/* 语言切换下拉菜单样式 */
#language-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
    min-width: 120px;
}

#language-dropdown li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 修改这里 - 确保文字颜色是深色 */
#language-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #333 !important; /* 深色文字 */
    text-decoration: none !important;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

#language-dropdown a:hover {
    background-color: #f5f5f5 !important;
    color: #ff5722 !important; /* 悬停时使用更醒目的颜色 */
}

/* 当前语言按钮样式 */
#language-btn {
    position: relative;
    padding: 10px;
    display: inline-block;
    color: white !important; /* 主按钮文字保持白色 */
}

/* 当菜单显示时的样式 */
#language-dropdown.show {
    display: block;
}
/* 音效控件样式 */
.effect-btn {
    padding: 8px 12px;
    background: #555;
    color: white;
    border: 1px solid #777;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
}
.vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.user-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 8px;
}
        /* 修改后的客服页面样式 */
        #help-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            overflow-y: auto;
        }
        .help-content {
            background: white;
            margin: 50px auto;
            padding: 20px;
            width: 90%;
            max-width: 600px;
            border-radius: 10px;
            max-height: 80vh;
            overflow-y: auto;
        }
        .close-help {
            float: right;
            cursor: pointer;
            font-size: 24px;
        }
        .contact-method {
            margin: 15px 0;
            padding: 10px;
            background: #f5f5f5;
            border-radius: 5px;
        }
        .help-section {
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
        }
        .help-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 5px 0;
        }
        .help-section-header h3 {
            margin: 0;
            font-size: 16px;
        }
        .toggle-section {
            font-size: 20px;
            font-weight: bold;
            color: #666;
        }
        .help-section-content {
            display: none;
            padding: 10px 5px;
        }
        .help-section-content p {
            margin: 8px 0;
            font-size: 14px;
            line-height: 1.5;
        }
        .contact-method img {
            max-width: 150px;
            height: auto;
        }
        
        /* 加载动画样式 */
        .loading-spinner {
            text-align: center;
            padding: 20px;
            color: #666;
            font-style: italic;
            width: 100%;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .loading-spinner::after {
            content: "??";
            display: inline-block;
            animation: spin 1s linear infinite;
            margin-left: 8px;
        }