
/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    font-family: sans-serif;*/
/*}*/

/*!* 页面主体容器 *!*/
/*.container {*/
/*    height: 100vh;*/
/*    width: 100%;*/
/*    background-image: url("/static/img/image.png");*/
/*    background-size: cover;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/*!* 导航栏样式 *!*/
/*.navbar {*/
/*    width: 88%;*/
/*    margin: auto;*/
/*    padding: 15px 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*}*/
/*.logo {*/
/*    width: 140px;*/
/*    cursor: pointer;*/
/*}*/
/*.navbar ul li {*/
/*    list-style: none;*/
/*    display: inline-block;*/
/*    margin: 0 2px;*/
/*}*/
/*.navbar ul li a {*/
/*    text-decoration: none;*/
/*    color: #5f5f5f;*/
/*    font-size: 15px;*/
/*}*/
/*.navbar ul li a:hover {*/
/*    color: #6495ED;*/
/*}*/

/*!* 主体内容布局 *!*/
/*.content {*/
/*    width: 100%;*/
/*    position: absolute;*/
/*    top: 30%;*/
/*}*/
/*.left-col {*/
/*    margin-left: 6%;*/
/*}*/
/*.left-col h1 {*/
/*    font-size: 80px;*/
/*    color: #fff;*/
/*    line-height: 100px;*/
/*    float: left;*/
/*}*/
/*.right-col {*/
/*    float: right;*/
/*    margin-right: 7%;*/
/*    margin-top: 140px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    position: relative;*/
/*}*/

/*!* 音乐播放器核心样式 *!*/
/*.player-warp {*/
/*    position: relative;*/
/*}*/

/*!* 播放控制器 *!*/
/*.player-warp .player-control {*/
/*    width: 360px;*/
/*    height: 80px;*/
/*    padding: 20px 30px;*/
/*    background-color: #fff;*/
/*    border-radius: 15px;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    position: relative;*/
/*    z-index: 10;*/
/*}*/

/*!* 唱片封面 *!*/
/*.player-control .cover {*/
/*    width: 100px;*/
/*    height: 100px;*/
/*    border-radius: 50%;*/
/*    background-color: #fff;*/
/*    margin-top: -60px;*/
/*    padding: 6px;*/
/*    position: relative;*/
/*    animation: zhuan 5s infinite linear;*/
/*    animation-play-state: paused;*/
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);*/
/*    z-index: 11;*/
/*}*/
/*.player-control .cover::before {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    width: 15px;*/
/*    height: 15px;*/
/*    border-radius: 50%;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    background-color: #fff;*/
/*}*/
/*.cover img {*/
/*    width: 100%;*/
/*    border-radius: 50%;*/
/*    object-fit: cover;*/
/*    height: 100%;*/
/*}*/

/*!* 控制按钮 *!*/
/*.player-control .control {*/
/*    width: 60%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*}*/
/*.control i {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    text-align: center;*/
/*    line-height: 40px;*/
/*    font-size: 26px;*/
/*    color: #b3b0b0;*/
/*    cursor: pointer;*/
/*    transition: all 0.4s;*/
/*}*/
/*.control i:hover {*/
/*    border-radius: 6px;*/
/*    background-color: rgba(71, 70, 70, 0.2);*/
/*    color: #fff;*/
/*}*/

/*!* 歌曲信息卡片 - 使用原来的正确样式，修改圆角 *!*/
/*.player-warp .player-info {*/
/*    width: calc(100% - 50px); !* 宽度贴合控制器，减少左右空隙 *!*/
/*    position: absolute;*/
/*    top: -35px; !* 初始位置就贴近控制器上方，不是完全隐藏 *!*/
/*    left: 50%;*/
/*    padding: 10px;*/
/*    transform: translateX(-50%);*/
/*    z-index: 9;*/
/*    opacity: 0; !* 初始透明，播放时显示 *!*/
/*    background: rgba(255, 255, 255, 0.65);*/
/*    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);*/
/*    backdrop-filter: blur(3.5px);*/
/*    -webkit-backdrop-filter: blur(3.5px);*/
/*    !* 只设置顶部圆角，底部保持直角 *!*/
/*    border-radius: 10px 10px 0 0;*/
/*    border: 1px solid rgba(255, 255, 255, 0.18);*/
/*    border-bottom: none; !* 移除底部边框 *!*/
/*    display: flex;*/
/*    justify-content: flex-end;*/
/*    transition: all 0.3s ease;*/
/*    margin: 0; !* 清除多余边距 *!*/
/*}*/
/*!* 调整卡片内边距，避免内容拥挤 *!*/
/*.player-info .info {*/
/*    width: 60%; !* 内容占满卡片宽度 *!*/
/*    font-size: 10px;*/
/*}*/
/*.info .name {*/
/*    font-size: 14px;*/
/*    font-weight: bold;*/
/*}*/
/*.info .singer-album {*/
/*    color: #757474;*/
/*    line-height: 20px;*/
/*}*/

/*!* 进度条样式 *!*/
/*.info .music_progress {*/
/*    width: 100%;*/
/*}*/
/*.music_progress .music_progress_top {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    color: #f2709b;*/
/*    line-height: 20px;*/
/*}*/
/*.music_progress .music_progress_bar {*/
/*    width: 100%;*/
/*    height: 3px;*/
/*    background-color: #cccaca;*/
/*    border-radius: 10px;*/
/*    margin-top: 3px;*/
/*}*/
/*.music_progress_bar .music_progress_line {*/
/*    width: 0%;*/
/*    height: 100%;*/
/*    background-color: #f2709b;*/
/*}*/

/*!* 音乐列表模态框 *!*/
/*.modal {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-color: rgba(0, 0, 0, 0.5);*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    display: none;*/
/*    z-index: 999;*/
/*}*/
/*.modal .modal-box {*/
/*    width: 360px;*/
/*    max-width: 90%;*/
/*    height: 100%;*/
/*    padding: 20px;*/
/*    background-color: #fff;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    box-sizing: border-box;*/
/*}*/
/*.modal-box .modal-box-top {*/
/*    width: 100%;*/
/*    height: 40px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*}*/
/*.modal-box-top .modal-close {*/
/*    font-size: 20px;*/
/*    cursor: pointer;*/
/*    transition: transform 0.4s;*/
/*}*/
/*.modal-box-top .modal-close:hover {*/
/*    transform: rotate(180deg);*/
/*}*/
/*.modal-box .modal-wrapper {*/
/*    width: 100%;*/
/*    height: calc(100% - 40px);*/
/*    overflow-y: auto;*/
/*}*/
/*.modal-wrapper .music-list {*/
/*    list-style: none;*/
/*}*/
/*.music-list li {*/
/*    padding: 10px 0;*/
/*    border-bottom: 1px solid rgb(186, 182, 182);*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/
/*.play-circle {*/
/*    font-size: 20px;*/
/*    margin-right: 20px;*/
/*    transition: transform 0.4s;*/
/*    cursor: pointer;*/
/*}*/
/*.play-circle:hover {*/
/*    transform: scale(1.2);*/
/*}*/
/*.playing {*/
/*    color: aquamarine;*/
/*}*/

/*!* 唱片旋转动画 *!*/
/*@keyframes zhuan {*/
/*    0% { transform: rotate(0deg); }*/
/*    100% { transform: rotate(360deg); }*/
/*}*/
/* ========== 基础重置与全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* ========== 导航栏样式 ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
}

.logo {
    width: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========== 主体内容区域 ========== */
.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.left-col {
    flex: 1;
    padding-right: 50px;
    min-width: 300px;
}

.left-col h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.right-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

/* ========== 播放器包装 ========== */
.player-warp {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.player-warp:hover {
    transform: translateY(-5px);
}

/* ========== 歌曲信息卡片 ========== */
.player-info {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.info {
    position: relative;
}

.name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffd93d;
}

.singer-album {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* ========== 进度条样式 ========== */
.music_progress_top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.music_progress_bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.music_progress_line {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    border-radius: 3px;
    transition: width 0.1s linear;
    position: relative;
}

.music_progress_line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ========== 播放控制器 ========== */
.player-control {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    animation: rotateCover 20s linear infinite;
    animation-play-state: paused;
}

.cover.playing {
    animation-play-state: running;
}

@keyframes rotateCover {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.control i {
    font-size: 1.8rem;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control i:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: #ffd93d;
}

#playBtn {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
}

#playBtn:hover {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* ========== 模态框样式 ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-box {
    width: 500px;
    max-width: 90vw;
    height: 600px;
    max-height: 80vh;
    background: rgba(30, 30, 46, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-box-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd93d;
}

.modal-close {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.1);
}

.modal-wrapper {
    height: calc(100% - 70px);
    overflow-y: auto;
    padding: 10px;
}

/* ========== 音乐列表样式 ========== */
.music-list {
    list-style: none;
}

.music-list li {
    padding: 15px 20px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
}

.music-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-left: 3px solid #ffd93d;
}

.music-list li.active {
    background: rgba(255, 217, 61, 0.15);
    border-left: 3px solid #ffd93d;
    color: #ffd93d;
}

.music-list li .song-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.music-list li .artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.music-list li .duration {
    margin-left: auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 音频播放器样式 ========== */
#audioPlayer {
    display: none;
}

/* ========== 响应式设计 ========== */

/* 平板设备 (宽度小于1024px) */
@media screen and (max-width: 1024px) {
    .content {
        flex-direction: column;
        margin-top: 40px;
    }

    .left-col {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .left-col h1 {
        font-size: 3.5rem;
    }

    .right-col {
        width: 100%;
    }

    .player-warp {
        max-width: 500px;
    }
}

/* 手机设备 (宽度小于768px) */
@media screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .logo {
        width: 80px;
        margin-bottom: 15px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar ul li {
        margin: 0 8px;
    }

    .navbar ul li a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .content {
        margin-top: 30px;
        padding: 0 10px;
    }

    .left-col h1 {
        font-size: 2.8rem;
    }

    .player-warp {
        padding: 20px;
        transform: scale(0.95);
        transform-origin: center;
    }

    .cover {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }

    .control {
        gap: 20px;
    }

    .control i {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
    }

    #playBtn {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .name {
        font-size: 1.5rem;
    }

    .singer-album {
        font-size: 1.1rem;
    }

    .modal-box {
        width: 90vw;
        height: 70vh;
    }
}

/* 小屏幕手机 (宽度小于480px) */
@media screen and (max-width: 480px) {
    .left-col h1 {
        font-size: 2.2rem;
    }

    .player-warp {
        padding: 15px;
        transform: scale(0.9);
    }

    .cover {
        width: 150px;
        height: 150px;
    }

    .control {
        gap: 15px;
    }

    .control i {
        font-size: 1.3rem;
        width: 45px;
        height: 45px;
    }

    #playBtn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .player-info {
        padding: 15px;
    }

    .name {
        font-size: 1.3rem;
    }

    .singer-album {
        font-size: 1rem;
    }

    .modal-box-top {
        padding: 15px 20px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .music-list li {
        padding: 12px 15px;
    }

    .music-list li .song-name {
        font-size: 1rem;
    }

    .navbar ul {
        gap: 5px;
    }

    .navbar ul li a {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* 横屏模式 (高度小于500px且横屏) */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .content {
        flex-direction: row;
        height: calc(100vh - 80px);
        margin-top: 20px;
    }

    .left-col {
        width: 40%;
        margin-bottom: 0;
        text-align: left;
    }

    .right-col {
        width: 60%;
    }

    .player-warp {
        transform: scale(0.8);
    }

    .cover {
        width: 120px;
        height: 120px;
    }
}

/* 超大屏幕适配 (宽度大于1600px) */
@media screen and (min-width: 1600px) {
    .container {
        max-width: 1500px;
        margin: 0 auto;
    }

    .left-col h1 {
        font-size: 5rem;
    }

    .player-warp {
        max-width: 550px;
    }
}

/* 滚动条美化 */
.modal-wrapper::-webkit-scrollbar {
    width: 6px;
}

.modal-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 217, 61, 0.5);
    border-radius: 10px;
}

.modal-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 217, 61, 0.8);
}