/**
 * 登录器下载页面专用样式
 * 为下载区域、系统要求、FAQ等元素提供专门的样式
 */

/* 系统要求区域 */
.system-requirements {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
    padding: 4rem 0;
}

.requirements-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.requirements-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.requirements-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.requirements-card h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--primary-color);
}

.req-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.requirement-item h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.requirement-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.requirement-item p:last-child {
    margin-bottom: 0;
}

/* 下载区域 */
.download-section {
    background: var(--dark-bg);
    padding: 4rem 0;
}

.no-files-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.no-files-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.no-files-card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.no-files-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* 下载文件列表 */
.download-files {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.file-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
}

.file-name {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.file-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.file-size,
.file-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.file-description p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.download-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.download-btn,
.info-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* 安装说明 */
.installation-guide {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
    padding: 4rem 0;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.step-content h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 1rem;
}

.tip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-tip span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* FAQ区域 */
.faq-section {
    background: var(--dark-bg);
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.05);
}

.faq-question h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding: 0 2rem;
    padding-top: 1rem;
}

.faq-answer ul {
    color: var(--text-secondary);
    padding: 0 2rem 1.5rem;
    margin: 0;
    padding-left: 3rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* 技术支持区域 */
.support-section {
    background: var(--darker-bg);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.support-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.support-card h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-card > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-method {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.support-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--primary-color);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-method h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.support-method p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.support-method .btn {
    width: 100%;
    justify-content: center;
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    position: relative;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.file-info-detail h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.file-info-detail p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.file-warnings {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
}

.warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.warning-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .requirements-content {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .download-actions {
        width: 100%;
        justify-content: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .support-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .requirements-card,
    .no-files-card,
    .support-card {
        padding: 2rem;
    }
    
    .requirements-card h2,
    .support-card h2 {
        font-size: 2rem;
    }
    
    .download-card {
        padding: 1.5rem;
    }
    
    .file-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .step-item {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer p,
    .faq-answer ul {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem 1.5rem;
    }
}

/* 动画效果 */
.requirement-item,
.download-card,
.step-item,
.faq-item,
.support-method {
    animation: fadeInUp 0.6s ease-out;
}

.requirement-item:nth-child(1) { animation-delay: 0.1s; }
.requirement-item:nth-child(2) { animation-delay: 0.2s; }
.requirement-item:nth-child(3) { animation-delay: 0.3s; }
.requirement-item:nth-child(4) { animation-delay: 0.4s; }

.download-card:nth-child(1) { animation-delay: 0.1s; }
.download-card:nth-child(2) { animation-delay: 0.2s; }
.download-card:nth-child(3) { animation-delay: 0.3s; }

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.support-method:nth-child(1) { animation-delay: 0.1s; }
.support-method:nth-child(2) { animation-delay: 0.2s; }
.support-method:nth-child(3) { animation-delay: 0.3s; }

/* 悬停效果增强 */
.download-card:hover .file-icon {
    animation: pulse 1s infinite;
}

.step-item:hover .step-number {
    animation: pulse 1s infinite;
}

.support-method:hover .method-icon {
    animation: float 2s ease-in-out infinite;
}

