/*
|--------------------------------------------------------------------------
| CABAL ASSAULT - DOWNLOAD PAGE
|--------------------------------------------------------------------------
*/


.download-page {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(196, 151, 65, 0.10),
            transparent 38%
        ),
        #080808;
    color: #f2f2f2;
}


/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.download-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            transparent
        );
}


.download-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(201, 157, 70, 0.08);
    filter: blur(80px);
    pointer-events: none;
}


.download-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 75px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    box-sizing: border-box;
}


.download-hero-content {
    min-width: 0;
}


.download-eyebrow,
.download-section-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #c9a45b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.download-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -2px;
}


.download-hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: #9b9b9b;
    font-size: 16px;
    line-height: 1.8;
}


.download-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 35px;
}


.download-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.download-meta-label {
    color: #666;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}


.download-meta-item strong {
    color: #ddd;
    font-size: 13px;
}


.download-meta-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.10);
}


.download-hero-status {
    flex-shrink: 0;
    min-width: 170px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}


.download-status-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #72d38b;
    box-shadow:
        0 0 0 4px rgba(114, 211, 139, 0.08),
        0 0 15px rgba(114, 211, 139, 0.45);
}


.download-hero-status > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.download-status-label {
    color: #666;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}


.download-hero-status strong {
    color: #d8d8d8;
    font-size: 12px;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/

.download-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0 90px;
    box-sizing: border-box;
}


.download-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}


.download-section-heading h2,
.download-install-heading h2,
.download-requirements h2 {
    margin: 0;
    color: #f1f1f1;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.7px;
}


.download-section-heading p,
.download-install-heading p {
    margin: 10px 0 0;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}


.download-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}


.download-total strong {
    color: #c9a45b;
    font-size: 26px;
    line-height: 1;
}


.download-total span {
    color: #5f5f5f;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}


/*
|--------------------------------------------------------------------------
| DOWNLOAD GRID
|--------------------------------------------------------------------------
*/

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


.download-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 164, 91, 0.32);
    background:
        linear-gradient(
            145deg,
            rgba(201, 164, 91, 0.07),
            rgba(255, 255, 255, 0.015)
        );
}


.download-card-recommended {
    border-color: rgba(201, 164, 91, 0.30);
}


.download-recommended {
    position: absolute;
    top: 0;
    right: 0;
    padding: 7px 11px;
    background: #c9a45b;
    color: #0a0a0a;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.download-card-top {
    min-height: 100px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.download-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.25);
    background: rgba(201, 164, 91, 0.06);
    color: #c9a45b;
    font-size: 18px;
}


.download-card-type {
    margin-top: 5px;
    color: #666;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


.download-card-body {
    flex: 1;
    padding: 25px 22px;
}


.download-card-body h3 {
    margin: 0;
    color: #ededed;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}


.download-card-body > p {
    min-height: 72px;
    margin: 12px 0 22px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}


.download-card-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}


.download-card-info > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.14);
}


.download-card-info span {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.download-card-info strong {
    display: block;
    color: #cfcfcf;
    font-size: 11px;
    font-weight: 700;
    word-break: break-word;
}


.download-checksum {
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.14);
}


.download-checksum span {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.download-checksum code {
    display: block;
    overflow: hidden;
    color: #777;
    font-family: monospace;
    font-size: 8px;
    line-height: 1.5;
    word-break: break-all;
}


.download-card-footer {
    padding: 0 22px 22px;
}


.download-button {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.28);
    background: rgba(201, 164, 91, 0.08);
    color: #c9a45b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.download-button strong {
    font-size: 17px;
    font-weight: 400;
}


.download-button:hover {
    border-color: #c9a45b;
    background: #c9a45b;
    color: #080808;
}


.download-button-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}


.download-button-disabled:hover {
    border-color: rgba(201, 164, 91, 0.28);
    background: rgba(201, 164, 91, 0.08);
    color: #c9a45b;
}


/*
|--------------------------------------------------------------------------
| EMPTY STATE
|--------------------------------------------------------------------------
*/

.download-empty {
    min-height: 260px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.015);
}


.download-empty-icon {
    margin-bottom: 15px;
    color: #555;
    font-size: 28px;
}


.download-empty strong {
    color: #aaa;
    font-size: 14px;
}


.download-empty span {
    margin-top: 7px;
    color: #555;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| INSTALLATION
|--------------------------------------------------------------------------
*/

.download-install {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}


.download-install-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0;
    box-sizing: border-box;
}


.download-install-heading {
    margin-bottom: 35px;
}


.download-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.06);
}


.download-step {
    min-width: 0;
    min-height: 180px;
    padding: 25px;
    box-sizing: border-box;
    background: #0b0b0b;
}


.download-step-number {
    margin-bottom: 25px;
    color: #c9a45b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.download-step h3 {
    margin: 0;
    color: #ddd;
    font-size: 14px;
    font-weight: 700;
}


.download-step p {
    margin: 10px 0 0;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| REQUIREMENTS
|--------------------------------------------------------------------------
*/

.download-requirements {
    width: 100%;
}


.download-requirements-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 90px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 50px;
    box-sizing: border-box;
}


.download-notice {
    min-width: 0;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.15);
    background: rgba(201, 164, 91, 0.035);
}


.download-notice-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 164, 91, 0.3);
    color: #c9a45b;
    font-size: 13px;
    font-weight: 800;
}


.download-notice strong {
    display: block;
    color: #cfcfcf;
    font-size: 13px;
}


.download-notice p {
    margin: 8px 0 0;
    color: #6b6b6b;
    font-size: 12px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 980px) {

    .download-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }


    .download-hero-status {
        min-width: 190px;
    }


    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .download-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .download-requirements-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 680px) {

    .download-hero-inner,
    .download-content,
    .download-install-inner,
    .download-requirements-inner {
        width: min(100% - 28px, 1180px);
    }


    .download-hero-inner {
        padding: 60px 0 55px;
    }


    .download-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }


    .download-hero p {
        font-size: 14px;
    }


    .download-hero-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }


    .download-meta-divider {
        display: none;
    }


    .download-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }


    .download-total {
        align-items: flex-start;
    }


    .download-grid {
        grid-template-columns: 1fr;
    }


    .download-card-body > p {
        min-height: auto;
    }


    .download-steps {
        grid-template-columns: 1fr;
    }


    .download-step {
        min-height: auto;
    }


    .download-requirements-inner {
        padding: 60px 0 70px;
    }

}


/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .download-hero h1 {
        font-size: 36px;
    }


    .download-card-top {
        padding: 18px;
    }


    .download-card-body {
        padding: 22px 18px;
    }


    .download-card-footer {
        padding: 0 18px 18px;
    }


    .download-card-info {
        grid-template-columns: 1fr;
    }


    .download-notice {
        padding: 18px;
    }

}
/*
|--------------------------------------------------------------------------
| CLIENT DOWNLOAD CARD
|--------------------------------------------------------------------------
*/

.download-client-card {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.18);
    background:
        linear-gradient(
            145deg,
            rgba(201, 164, 91, 0.055),
            rgba(255, 255, 255, 0.012)
        );
}


.download-client-header {
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.download-client-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 164, 91, 0.30);
    background: rgba(201, 164, 91, 0.07);
    color: #c9a45b;
    font-size: 23px;
}


.download-client-heading {
    min-width: 0;
}


.download-client-heading > span {
    display: block;
    margin-bottom: 7px;
    color: #c9a45b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}


.download-client-heading h3 {
    margin: 0;
    color: #ededed;
    font-size: 24px;
    line-height: 1.25;
}


.download-client-heading p {
    max-width: 700px;
    margin: 9px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| CLIENT META
|--------------------------------------------------------------------------
*/

.download-client-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.download-client-meta > div {
    min-width: 130px;
    flex: 1;
    padding: 17px 20px;
    box-sizing: border-box;
    background: #0a0a0a;
}


.download-client-meta span {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.download-client-meta strong {
    color: #ccc;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| MIRRORS
|--------------------------------------------------------------------------
*/

.download-mirrors {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}


.download-mirror {
    min-width: 0;
    min-height: 78px;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.018);
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.download-mirror:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 164, 91, 0.40);
    background: rgba(201, 164, 91, 0.06);
}


.download-mirror-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.25);
    color: #c9a45b;
    font-size: 13px;
    font-weight: 800;
}


.download-mirror-content {
    min-width: 0;
    flex: 1;
}


.download-mirror-content small {
    display: block;
    margin-bottom: 4px;
    color: #555;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.3px;
}


.download-mirror-content strong {
    display: block;
    overflow: hidden;
    color: #ddd;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.download-mirror-arrow {
    flex-shrink: 0;
    color: #777;
    font-size: 18px;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}


.download-mirror:hover .download-mirror-arrow {
    transform: translateX(3px);
    color: #c9a45b;
}


/*
|--------------------------------------------------------------------------
| LAUNCHER
|--------------------------------------------------------------------------
*/

.download-launcher-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.012);
}


.download-launcher-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0;
    box-sizing: border-box;
}


.download-launcher-heading {
    margin-bottom: 30px;
}


.download-launcher-heading h2 {
    margin: 0;
    color: #eee;
    font-size: 30px;
    line-height: 1.15;
}


.download-launcher-heading p {
    max-width: 650px;
    margin: 10px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}


.download-launcher-card {
    min-width: 0;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.18);
    background:
        linear-gradient(
            145deg,
            rgba(201, 164, 91, 0.045),
            rgba(255, 255, 255, 0.012)
        );
}


.download-launcher-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 164, 91, 0.28);
    background: rgba(201, 164, 91, 0.06);
    color: #c9a45b;
    font-size: 21px;
}


.download-launcher-info {
    min-width: 0;
    flex: 1;
}


.download-launcher-info > span {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.7px;
}


.download-launcher-info > strong {
    display: block;
    color: #ddd;
    font-size: 15px;
}


.download-launcher-meta {
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}


.download-launcher-meta span {
    color: #555;
    font-size: 10px;
}


.download-launcher-meta strong {
    margin-left: 4px;
    color: #aaa;
}


.download-launcher-button {
    min-height: 46px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 1px solid rgba(201, 164, 91, 0.32);
    background: rgba(201, 164, 91, 0.08);
    color: #c9a45b;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.download-launcher-button strong {
    font-size: 17px;
    font-weight: 400;
}


.download-launcher-button:hover {
    border-color: #c9a45b;
    background: #c9a45b;
    color: #080808;
}


.download-empty-launcher {
    min-height: 180px;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .download-mirrors {
        grid-template-columns: 1fr;
    }


    .download-launcher-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }


    .download-launcher-info {
        min-width: calc(100% - 75px);
    }


    .download-launcher-button {
        width: 100%;
        justify-content: space-between;
    }

}


@media (max-width: 600px) {

    .download-client-header {
        padding: 22px;
    }


    .download-client-icon {
        width: 45px;
        height: 45px;
    }


    .download-client-heading h3 {
        font-size: 19px;
    }


    .download-client-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


    .download-client-meta > div {
        min-width: 0;
    }


    .download-mirrors {
        padding: 14px;
    }


    .download-launcher-inner {
        width: min(100% - 28px, 1180px);
        padding: 60px 0;
    }


    .download-launcher-card {
        padding: 20px;
    }

}


@media (max-width: 420px) {

    .download-client-meta {
        grid-template-columns: 1fr;
    }


    .download-client-header {
        gap: 14px;
    }


    .download-client-heading h3 {
        font-size: 17px;
    }


    .download-launcher-heading h2 {
        font-size: 25px;
    }

}