/* Download Page Specific Styles */

/* Download Header */
.download-header {
    padding: 4rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.download-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.current-version, .update-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.version-label, .update-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-number, .update-time {
    color: var(--portal-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Main Download Section */
.main-download {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.download-container {
    display: flex;
    justify-content: center;
}

.main-download-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--portal-border);
    text-align: center;
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(20px);
}

.download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.download-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.download-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.download-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--portal-primary);
}

.download-options {
    margin-top: 2rem;
}

.options-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.btn-download-primary, .btn-download-secondary {
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    width: 100%;
}

.btn-download-primary {
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.btn-download-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-download-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--portal-border);
}

.btn-download-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Disabled download button */
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    background: rgba(100, 100, 100, 0.3) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    background: rgba(100, 100, 100, 0.3) !important;
}

.btn-disabled .btn-subtitle {
    color: rgba(255, 100, 100, 0.8) !important;
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}



/* System Requirements */
.system-requirements {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.requirements-container {
    text-align: center;
}

.platform-notice {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    color: #fbbf24;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.platform-notice i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.requirements-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--portal-border);
    transition: all 0.3s ease;
}

.requirements-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.requirements-card.recommended {
    border-color: var(--portal-primary);
    background: rgba(0, 212, 255, 0.05);
}

.requirements-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
}

.requirements-title i {
    color: var(--portal-primary);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.requirements-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list strong {
    color: var(--portal-primary);
    font-weight: 600;
}

/* Installation Guide */
.installation-guide {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.guide-container {
    text-align: center;
}

.installation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--portal-border);
    transition: all 0.3s ease;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--portal-primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Download Modal */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.download-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(26, 26, 46, 0.95);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--portal-border);
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(20px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: white;
}

.download-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-percent {
    color: var(--portal-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.progress-speed {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.download-info {
    text-align: center;
}

.download-status {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-eta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .version-info {
        gap: 1.5rem;
    }
    
    .main-download-card {
        padding: 2rem;
    }
    
    .download-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    

    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .installation-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .download-header,
    .main-download,
    .alternative-downloads,
    .system-requirements,
    .installation-guide {
        padding: 2rem 1rem;
    }
    
    .download-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}