* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a3e 50%, #24243e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 560px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.icon {
    font-size: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.file-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: block;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, #7373f8, #9b6dff);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

.download-btn:active {
    transform: scale(0.97);
}

.footer {
    text-align: center;
}

.footer p {
    color: rgba(255,255,255,0.25);
    font-size: 12px;
}

.footer code {
    background: rgba(255,255,255,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .file-item {
        padding: 14px 16px;
        gap: 12px;
    }
    .file-icon {
        font-size: 28px;
    }
    .file-name {
        font-size: 14px;
    }
    .download-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    h1 {
        font-size: 24px;
    }
}
