* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #0b0f19; color: #fff; }
.card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px 30px; text-align: center; width: 90%; max-width: 480px; }
.title { font-size: 2.2rem; background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.subtitle { color: #94a3b8; margin-bottom: 30px; }
.btn { display: inline-block; padding: 12px 32px; border-radius: 50px; background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); color: #0b0f19; font-weight: bold; text-decoration: none; }
.status { margin-top: 30px; font-size: 0.8rem; color: #64748b; display: flex; justify-content: center; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; }
.music-drawer { position: fixed; right: -80px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px 0 0 20px; padding: 10px; display: flex; align-items: center; z-index: 999; transition: right 0.4s; }
.music-drawer.open { right: 0; }
.music-btn { background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%); border: none; color: #0b0f19; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; margin-right: 10px; }
.arrow-btn { background: #ff4d4f; border: none; color: #fff; font-size: 2rem; font-weight: bold; cursor: pointer; width: 55px; height: 55px; border-radius: 50%; box-shadow: 0 0 15px rgba(255, 77, 79, 0.8); animation: bounce 1s infinite alternate; display: flex; justify-content: center; align-items: center; }
@keyframes bounce { from { transform: translateX(0); } to { transform: translateX(-8px); } }

/* ===== 以下为新增：文件上传功能样式 ===== */

/* 上传按钮 */
.upload-trigger {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px 28px;
}

/* 上传弹窗遮罩 */
.upload-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}
.upload-modal.show {
    opacity: 1;
    pointer-events: auto;
}

/* 弹窗面板 */
.upload-panel {
    background: rgba(20, 26, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
    width: 90%;
    max-width: 480px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 10px;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}
.close-btn:hover { color: #fff; }

/* 弹窗标题 */
.upload-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

/* 拖拽区域 */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
}
.drop-zone:hover,
.drop-zone.dragover {
    border-color: #4facfe;
    background: rgba(79, 172, 254, 0.08);
}
.drop-icon {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 8px;
}
.drop-zone p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 文件列表 */
.file-list {
    margin-top: 16px;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.file-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 10px 14px;
}
.file-name {
    font-size: 0.85rem;
    color: #e2e8f0;
    word-break: break-all;
    margin-bottom: 6px;
}
.file-name a {
    color: #4facfe;
    text-decoration: none;
}
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    transition: width 0.2s;
}
.file-status {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 6px;
}
.file-status.ok { color: #10b981; }
.file-status.err { color: #ff4d4f; }