/* Download 页面样式 */

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* 登录提示 */
.login-prompt {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.login-prompt svg {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.login-prompt h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.login-prompt p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-gray);
}

.feature-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
}

.login-prompt-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-prompt-btn:hover {
    background: var(--primary-dark);
}

/* 下载内容 */
.welcome-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.welcome-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: var(--text-gray);
}

.download-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.download-section h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.download-count {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.download-files {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.file-card:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.file-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--primary-color);
}

.file-icon svg {
    width: 24px;
    height: 24px;
}

.file-info {
    flex: 1;
}

.file-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.file-info p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.download-file-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.download-file-btn:hover {
    background: var(--primary-dark);
}

/* 响应式 */
@media (max-width: 768px) {
    .file-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-file-btn {
        width: 100%;
    }
}
