html,body {
    font: 16px "Microsoft YaHei", Arial, Lucida Grande, Tahoma, sans-serif;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    /* 移除白色背景，让动态背景显示出来 */
    background-color: transparent;
    -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
    -webkit-text-size-adjust: 100%; /* 防止iOS缩放字体 */
}

/* 响应式字体大小 */
@media (max-width: 768px) {
    html, body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html, body {
        font-size: 12px;
    }
}

/* 移动端触摸优化 */
* {
    touch-action: manipulation; /* 优化触摸事件 */
}

/* 播放器容器 */
#player-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    /* 将背景样式应用到整个容器 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* 播放器头部 */
.player-header {
    margin-bottom: 20px;
    padding: 20px 30px 0;
}

.player-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.player-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* 按钮容器 */
.player-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 30px 20px;
}

/* 播放器按钮 */
.player-btn {
    background-color: #4A90E2;
    color: white;
    border: 2px solid #4A90E2;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 150px;
}

.player-btn:hover {
    background-color: #357ABD;
    border-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.player-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
}

/* 加载状态 */
#loading {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 10000000001;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* 错误状态 */
#error{
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    text-align:center;
    display:flex;
    justify-content:center;
    align-items:center;
    position: absolute;
    z-index: 10000000001;
}

/* 播放器应用 */
.artplayer-app {
    width: 100%;
    height: 100%;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .player-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .player-header h1 {
        font-size: 24px;
    }
    
    .player-header p {
        font-size: 14px;
    }
    
    .player-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .player-header h1 {
        font-size: 20px;
    }
    
    .player-header p {
        font-size: 12px;
    }
    
    .player-btn {
        padding: 8px 20px;
        font-size: 12px;
        min-width: 120px;
    }
}