﻿/* Download Page Styles */

/* Download Hero */
.download-hero {
    margin-top: 72px;
    text-align: center;
    min-height: 23rem;
    justify-content: center;
    display: flex;
    align-items: center;
}

/* Dark theme hero */
[data-theme="dark"] .download-hero,
.download-hero-box {
    background: linear-gradient(85deg, rgba(26, 26, 26, 0.30) 20%, rgba(255, 178, 89, 0.24) 50%, rgba(26, 26, 26, 0.30) 80%), #1A1A1A;
    box-shadow: 0 0 4px 0 #000 inset;
}

/* Light theme hero */
[data-theme="light"] .download-hero {
    background: linear-gradient(85deg, rgba(240, 240, 240, 0.30) 20%, rgba(255, 178, 89, 0.24) 50%, rgba(240, 240, 240, 0.30) 80%), #f5f5f5;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1) inset;
}

.download-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-weight: 800;
    margin-bottom: .5rem;
    color: var(--primary);
}

.page-description {
    font-size: 1.2rem;
    color: var(--foreground);
    margin: unset;
}

/* Download Links */
.download-links {
    padding: 80px 0;
    background-color: var(--background);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 2);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

    .download-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px var(--shadow-color);
        border-color: var(--primary);
    }

    .download-card.featured {
        border-color: var(--primary);
        box-shadow: 0 8px 24px var(--shadow-color);
    }

.download-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 6px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.download-icon-large {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--secondary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.download-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--shadow-color);
}

.icon-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

.download-icon-large svg {
    color: var(--primary);
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--foreground);
    font-weight: 800;
}

.download-description {
    color: var(--muted-foreground);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--chart-2) 100%);
    color: var(--primary-foreground);
    padding: 16px 40px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;

    color: var(--W, #FFF);
    text-shadow: 0 0 5px #000;
    font-family: Cinzel;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.075rem;

    border-radius: 0.625rem;
    border: 2px solid var(--F, #D4AF37);
    background: var(--G, #B8941F);
    box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.25) inset;
}

    .btn-download-large:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 20px var(--shadow-color);
    }

/* System Requirements */
.system-requirements {
    padding: 80px 0;
    background-color: var(--secondary);
}
.requirements-container {
    padding: 1.8rem;
    /*border: 2px solid var(--border);*/

    && .section-title {
        margin-bottom: 2.5rem;
    }
}
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;



    && .requirements-category {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border);
        border-radius: .7rem;

        && .item {
            padding: 1.2rem;
            border-bottom: 1px solid var(--border);

            && p {
                margin: unset;
            }
        }

            && .item:first-child {
                border-radius: .7rem .7rem 0 0;
            }

            && .item:last-child {
                border-radius: 0 0 .7rem .7rem;
            }

            && .item:hover {
                background-color: var(--muted);
            }

        && .category-header {
            background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
            color: #000;
            font-weight: 700;
        }
    }

    && .requirements-minimum {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border);
        border-radius: .7rem;

        && .item {
            padding: 1.2rem;
            border-bottom: 1px solid var(--border);

            && p {
                margin: unset;
            }
        }

            && .item:first-child {
                border-radius: .7rem .7rem 0 0;
            }

            && .item:last-child {
                border-radius: 0 0 .7rem .7rem;
            }

            && .item:hover {
                background-color: var(--muted);
            }

        && .minimum-header {
            background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
            color: #000;
            font-weight: 700;
        }
    }

    && .requirements-recommended {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border);
        border-radius: .7rem;

        && .item {
            padding: 1.2rem;
            border-bottom: 1px solid var(--border);

            && p {
                margin: unset;
            }
        }

            && .item:first-child {
                border-radius: .7rem .7rem 0 0;
            }

            && .item:last-child {
                border-radius: 0 0 .7rem .7rem;
            }

            && .item:hover {
                background-color: var(--muted);
            }

        && .recommended-header {
            background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
            color: #000;
            font-weight: 700;
        }
    }
}
 

.table-header {
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr;
    border-bottom: 1px solid var(--border);
}

    .table-row:last-child {
        border-bottom: none;
    }

    .table-row:hover {
        background-color: var(--muted);
    }

.table-cell {
    padding: 20px 24px;
}

.category-header,
.category {
    font-weight: 700;
    color: #000;
}

[data-theme="dark"] .category-header {
    color: #000;
}

[data-theme="light"] .category-header {
    color: #000;
}

.category {
    color: var(--foreground);
    background-color: var(--secondary);
}

.minimum,
.recommended {
    color: var(--muted-foreground);
}

/* Installation Steps */
.installation-steps {
    padding: 80px 0;
    background-color: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 2);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

    .step-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px var(--shadow-color);
        border-color: var(--primary);
    }

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--chart-2) 100%);
    color: var(--primary-foreground);
    border-radius: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-icon {
    margin-bottom: 24px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--foreground);
}

.step-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Download Notes */
.download-notes {
    padding: 80px 0;
    background-color: var(--secondary);
}

.notes-wrapper {
    display: grid;
    gap: 32px;
    margin: 0 auto;
}

.note-box {
    display: flex;
    gap: 24px;
    padding: 32px;
    border-radius: calc(var(--radius) * 2);
    border-left: 4px solid;
}

    .note-box.info {
        background-color: rgba(59, 130, 246, 0.1);
        border-left-color: #3b82f6;
    }

    .note-box.warning {
        background-color: rgba(245, 158, 11, 0.1);
        border-left-color: #f59e0b;
    }

.note-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.note-box.info .note-icon {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.note-box.warning .note-icon {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.note-content h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--foreground);
}

.note-content p,
.note-content ul {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
}

.note-content ul {
    padding-left: 20px;
}

.note-content li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .download-hero {
        padding: 6rem 1.5rem;
    }

    .download-links,
    .system-requirements,
    .installation-steps,
    .download-notes {
        padding: 60px 0;
    }

    .download-cards,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }

    .table-cell {
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
    }

    .category {
        font-weight: 700;
        background-color: var(--muted);
    }

    .minimum::before {
        content: 'Minimum: ';
        font-weight: 700;
        color: var(--foreground);
    }

    .recommended::before {
        content: 'Recommended: ';
        font-weight: 700;
        color: var(--foreground);
    }

    .note-box {
        flex-direction: column;
        padding: 24px;
    }

    .note-icon {
        width: 48px;
        height: 48px;
    }
}
