html, body {
    background: linear-gradient(135deg, #1a1c2e 0%, #2d3250 100%) !important;
    background-color: #1a1c2e !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

#main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#player {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

#buttons {
    width: 100%;
    padding: 20px 24px 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 600;
    height: 44px;
    padding: 0 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn a:hover {
    opacity: 0.9;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    #buttons {
        padding: 10px;
    }
    .btn {
        height: 36px;
        padding: 0 15px;
    }
}