/* Download Page Specific Styles */



/* Hero Download Section */
.hero-download {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-download .hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-download .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(228, 197, 113, 0.8);
}

.hero-download .hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2);
    z-index: 0;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Download Container - Main Background */
.download-container {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 50%, var(--dark-bg) 100%);
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
}

.download-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(228,197,113,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.design-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 2rem 20px;
    background: rgba(42, 42, 42, 0.95);
    border-radius: 20px;
    border: 2px solid rgba(228, 197, 113, 0.3);
    margin-top: -50px;
    position: relative;
    z-index: 20;
    backdrop-filter: blur(10px);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
    line-height: 1.6;
}



/* Requirements Section */
.requirements-section {
    margin-bottom: 4rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.requirements-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border: 2px solid rgba(228, 197, 113, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.requirements-card.minimum {
    border-left: 4px solid #ff6b6b;
}

.requirements-card.recommended {
    border-left: 4px solid #51cf66;
}

.requirements-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.requirement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.requirement-value {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Preview Section */
.preview-section {
    margin-bottom: 4rem;
}

.preview-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.preview-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.preview-item:hover .preview-overlay {
    transform: translateY(0);
}

.preview-item:hover .preview-image {
    transform: scale(1.05);
}

.preview-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Download Options Section */
.download-options-section {
    margin-bottom: 4rem;
}

.download-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-option-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border: 2px solid rgba(228, 197, 113, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.download-option-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 197, 113, 0.6);
    box-shadow: 0 15px 40px rgba(228, 197, 113, 0.2);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    margin: 0 auto 1.5rem;
}

.download-option-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.download-option-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.option-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature {
    background: rgba(228, 197, 113, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(228, 197, 113, 0.3);
}

.option-download-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.option-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 197, 113, 0.3);
}

/* Download Sources */
.download-sources {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.source-download-btn {
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.source-download-btn.mega {
    background: linear-gradient(135deg, #d9272e 0%, #b71c1c 100%);
}

.source-download-btn.gdrive {
    background: linear-gradient(135deg, #4285f4 0%, #1976d2 100%);
}

.source-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.source-download-btn.mega:hover {
    box-shadow: 0 6px 20px rgba(217, 39, 46, 0.4);
}

.source-download-btn.gdrive:hover {
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border: 2px solid rgba(228, 197, 113, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(228, 197, 113, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Support Section */
.support-section {
    margin-bottom: 4rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-option {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border: 2px solid rgba(228, 197, 113, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.support-option:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 197, 113, 0.6);
    box-shadow: 0 15px 40px rgba(228, 197, 113, 0.2);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    margin: 0 auto 1.5rem;
}

.support-option h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.support-option p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.support-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 197, 113, 0.3);
}

/* 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;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border: 2px solid rgba(228, 197, 113, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    color: var(--text-light);
}

.download-info {
    margin-bottom: 1.5rem;
}

.download-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.download-info strong {
    color: var(--text-light);
}

.download-progress {
    margin-top: 1.5rem;
}

.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(--primary-color) 0%, var(--secondary-color) 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.redirect-info {
    text-align: center;
    margin-top: 1.5rem;
}

.redirect-info p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-download .hero-title {
        font-size: 3rem;
    }
    
    .platform-grid,
    .requirements-grid,
    .download-options-grid,
    .support-options {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-download .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-download .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .platform-grid,
    .requirements-grid,
    .download-options-grid,
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-download .hero-title {
        font-size: 2rem;
    }
    
    .hero-download .hero-content {
        padding: 0 1rem;
    }
    
    .platform-card,
    .requirements-card,
    .download-option-card,
    .support-option {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
}
