/* ========================================================================
   DOWNLOAD — SHAIYA ADDICTED
   ======================================================================== */

.download-page {
    padding: 22px 22px 24px;
}


/* ------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------ */

.download-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 18px;
    padding: 21px 22px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 91% 28%,
            rgba(208, 198, 150, .12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(24, 29, 34, .97),
            rgba(13, 16, 19, .95)
        );

    border:
        1px solid rgba(208, 198, 150, .17);

    border-radius: 5px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .025);
}


.download-hero::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(224, 203, 111, .85) 24%,
            rgba(208, 198, 150, .95) 50%,
            rgba(224, 203, 111, .85) 76%,
            transparent
        );

    box-shadow:
        0 0 16px rgba(208, 198, 150, .18);
}


.download-hero__content {
    min-width: 0;
}


.download-eyebrow {
    margin-bottom: 5px;

    color: #d0c696;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.download-title {
    margin: 0 !important;

    color: #f2f4f6 !important;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif !important;

    font-size: 24px !important;
    line-height: 30px !important;
    font-weight: 700 !important;
}


.download-description {
    max-width: 525px;

    margin: 7px 0 0 !important;

    color: #89919a;

    font-size: 13px;
    line-height: 19px;
}


.download-hero__badge {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 110px;
    height: 54px;

    padding: 0 15px;

    background:
        rgba(7, 9, 11, .42);

    border:
        1px solid
        rgba(255, 255, 255, .06);

    border-radius: 4px;
}


.download-hero__badge-number {
    margin-right: 8px;

    color: #e8dfb6;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif;

    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
}


.download-hero__badge-text {
    color: #727c86;

    font-size: 10px;
    line-height: 12px;

    text-transform: uppercase;
}


/* ------------------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------------------ */

.download-section,
.requirements-section {
    margin-bottom: 18px;
    padding: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(14, 18, 22, .91),
            rgba(10, 13, 16, .88)
        );

    border:
        1px solid
        rgba(255, 255, 255, .055);

    border-radius: 5px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .10);
}


.download-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 13px;
}


.download-section__head--requirements {
    align-items: center;
}


.download-section__eyebrow {
    margin-bottom: 3px;

    color: #6f7882;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.download-section__title {
    margin: 0 !important;

    color: #e9edf0 !important;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif !important;

    font-size: 16px !important;
    line-height: 21px !important;
    font-weight: 700 !important;
}


.download-section__note {
    color: #626c76;

    font-size: 10px;
}


/* ------------------------------------------------------------------------
   DOWNLOAD MIRRORS
   ------------------------------------------------------------------------ */

.download-mirrors {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 9px;
}


.download-mirror {
    position: relative;

    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        24px;

    align-items: center;

    min-height: 70px;

    padding: 10px 12px;

    overflow: hidden;

    color: inherit !important;

    background:
        linear-gradient(
            180deg,
            rgba(25, 30, 35, .94),
            rgba(15, 19, 23, .96)
        );

    border:
        1px solid
        rgba(255, 255, 255, .06);

    border-radius: 4px;

    text-decoration: none !important;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .018);

    transition:
        transform .17s ease,
        background .17s ease,
        border-color .17s ease,
        box-shadow .17s ease;
}


.download-mirror::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 2px;

    background: #d0c696;

    opacity: .0;

    transition: opacity .17s ease;
}


.download-mirror:hover {
    transform:
        translateY(-1px);

    background:
        linear-gradient(
            180deg,
            rgba(31, 36, 41, .98),
            rgba(18, 22, 26, .98)
        );

    border-color:
        rgba(208, 198, 150, .19);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .15),
        inset 0 1px 0 rgba(255, 255, 255, .025);
}


.download-mirror:hover::before {
    opacity: 1;
}


/* ICON */

.download-mirror__icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: #d7cd9c;

    background:
        rgba(208, 198, 150, .075);

    border:
        1px solid
        rgba(208, 198, 150, .11);

    border-radius: 5px;
}


.download-mirror__arrow {
    position: relative;

    display: block;

    width: 12px;
    height: 15px;
}


.download-mirror__arrow::before {
    content: "";

    position: absolute;

    left: 5px;
    top: 0;

    width: 2px;
    height: 10px;

    background: #d7cd9c;

    border-radius: 2px;
}


.download-mirror__arrow::after {
    content: "";

    position: absolute;

    left: 2px;
    bottom: 2px;

    width: 7px;
    height: 7px;

    border-right:
        2px solid #d7cd9c;

    border-bottom:
        2px solid #d7cd9c;

    transform: rotate(45deg);
}


.download-mirror__content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.download-mirror__eyebrow {
    margin-bottom: 2px;

    color: #646e78;

    font-size: 8px;
    line-height: 10px;

    letter-spacing: .6px;
    text-transform: uppercase;
}


.download-mirror__name {
    overflow: hidden;

    color: #e3e7eb;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif;

    font-size: 13px;
    line-height: 16px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.download-mirror__hint {
    margin-top: 3px;

    color: #707a84;

    font-size: 9px;
    line-height: 11px;
}


.download-mirror__go {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #6e7781;

    font-family: Arial, sans-serif;

    font-size: 23px;
    line-height: 23px;

    transition:
        color .17s ease,
        transform .17s ease;
}


.download-mirror:hover
.download-mirror__go {
    color: #d0c696;

    transform:
        translateX(2px);
}


/* ------------------------------------------------------------------------
   REQUIREMENTS
   ------------------------------------------------------------------------ */

.requirements-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;
}


.requirement-card {
    padding: 14px;

    background:
        rgba(20, 25, 30, .84);

    border:
        1px solid
        rgba(255, 255, 255, .055);

    border-radius: 4px;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .018);
}


.requirement-card--recommended {
    border-color:
        rgba(208, 198, 150, .12);

    background:
        linear-gradient(
            135deg,
            rgba(208, 198, 150, .035),
            rgba(20, 25, 30, .86) 40%
        );
}


.requirement-card__head {
    display: flex;
    align-items: center;

    margin-bottom: 12px;
    padding-bottom: 11px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .055);
}


.requirement-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    margin-right: 10px;

    color: #7f8993;

    background:
        rgba(255, 255, 255, .035);

    border:
        1px solid
        rgba(255, 255, 255, .05);

    border-radius: 5px;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif;

    font-size: 9px;
    font-weight: 700;
}


.requirement-card--recommended
.requirement-card__icon {
    color: #d6cb97;

    background:
        rgba(208, 198, 150, .07);

    border-color:
        rgba(208, 198, 150, .12);
}


.requirement-card__label {
    color: #6f7882;

    font-size: 9px;

    letter-spacing: .55px;
    text-transform: uppercase;
}


.requirement-card__title {
    margin:
        3px 0
        0 !important;

    color: #e2e6e9 !important;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif !important;

    font-size: 14px !important;
    line-height: 17px !important;
    font-weight: 700 !important;
}


/* ROWS */

.requirement-list {
    display: flex;
    flex-direction: column;
}


.requirement-row {
    display: grid;

    grid-template-columns:
        118px
        minmax(0, 1fr);

    gap: 12px;

    padding: 8px 3px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .04);
}


.requirement-row:last-child {
    border-bottom: 0;
}


.requirement-row__label {
    color: #747e88;

    font-size: 10px;
    line-height: 15px;
}


.requirement-row__value {
    color: #bfc6cd;

    font-size: 10px;
    line-height: 15px;
}


/* ------------------------------------------------------------------------
   SMALLER WIDTHS
   ------------------------------------------------------------------------ */

@media (max-width: 1250px) {

    .download-title {
        font-size: 21px !important;
    }

    .download-description {
        font-size: 12px;
    }

    .requirement-row {
        grid-template-columns:
            105px
            minmax(0, 1fr);
    }

}



/* ========================================================================
   DOWNLOAD V2 — BACKGROUND / REQUIREMENTS ALIGNMENT
   ======================================================================== */


/* ------------------------------------------------------------------------
   OLD DOWNLOAD BACKGROUND — SUBTLE VERSION
   ------------------------------------------------------------------------ */

.download-page {
    position: relative;
    isolation: isolate;

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Используем прежнюю картинку страницы загрузки:
| public/img/bg.png
|--------------------------------------------------------------------------
*/

.download-page::before {
    content: "";

    position: absolute;

    z-index: -2;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background:
        url("../img/bg.png")
        no-repeat
        center top;

    background-size:
        100% auto;

    opacity: .075;

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| Лёгкое затемнение поверх картинки, чтобы фон не мешал тексту.
|--------------------------------------------------------------------------
*/

.download-page::after {
    content: "";

    position: absolute;

    z-index: -1;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10, 13, 16, .10),
            rgba(10, 13, 16, .42) 46%,
            rgba(10, 13, 16, .67)
        );

    pointer-events: none;
}


/* ------------------------------------------------------------------------
   HERO WITHOUT MIRROR COUNTER
   ------------------------------------------------------------------------ */

.download-hero {
    justify-content: flex-start !important;
}

.download-hero__content {
    width: 100% !important;
    max-width: 680px;
}


/* Старый блок больше не используется */

.download-hero__badge {
    display: none !important;
}


/* ------------------------------------------------------------------------
   REQUIREMENTS — FIX ALIGNMENT
   ------------------------------------------------------------------------ */

.requirement-card {
    min-width: 0;
}


.requirement-card__head {
    display: grid !important;

    grid-template-columns:
        42px
        minmax(0, 1fr) !important;

    align-items: center !important;

    column-gap: 11px !important;
}


.requirement-card__icon {
    width: 38px !important;
    height: 38px !important;

    margin: 0 !important;
}


.requirement-card__head > div:last-child {
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
}


.requirement-card__label,
.requirement-card__title {
    display: block !important;

    width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    text-align: left !important;
}


.requirement-card__label {
    line-height: 12px !important;
}


.requirement-card__title {
    margin-top: 3px !important;

    line-height: 18px !important;
}


/*
|--------------------------------------------------------------------------
| Все строки имеют одну и ту же фиксированную левую колонку.
| Поэтому "ОС", "Процессор", "Оперативная память" и т.д. не прыгают.
|--------------------------------------------------------------------------
*/

.requirement-row {
    display: grid !important;

    grid-template-columns:
        128px
        minmax(0, 1fr) !important;

    align-items: start !important;

    column-gap: 14px !important;

    min-height: 34px;

    padding:
        8px 2px !important;
}


.requirement-row__label,
.requirement-row__value {
    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 16px !important;

    text-align: left !important;

    vertical-align: top !important;
}


.requirement-row__label {
    color: #7a848e !important;
}


.requirement-row__value {
    color: #c5cbd1 !important;

    overflow-wrap: anywhere;
}


/* ------------------------------------------------------------------------
   SLIGHTLY SOFTER CARDS OVER BACKGROUND IMAGE
   ------------------------------------------------------------------------ */

.download-section,
.requirements-section {
    background:
        linear-gradient(
            180deg,
            rgba(14, 18, 22, .94),
            rgba(10, 13, 16, .92)
        ) !important;

    backdrop-filter:
        blur(1px);
}


@media (max-width: 1250px) {

    .requirement-row {
        grid-template-columns:
            116px
            minmax(0, 1fr) !important;
    }

}



/* ========================================================================
   DOWNLOAD V3 — REQUIREMENTS BACKGROUND + TEXT FIX
   ======================================================================== */


/* Старый фон всей страницы отключаем.
   Теперь картинка будет только в блоке системных требований. */

.download-page::before,
.download-page::after {
    display: none !important;
}


/* ------------------------------------------------------------------------
   BACKGROUND IMAGE INSIDE REQUIREMENTS
   ------------------------------------------------------------------------ */

.requirements-section {
    position: relative !important;
    isolation: isolate !important;

    overflow: hidden !important;

    background:
        rgba(10, 13, 16, .90) !important;
}


/* Старая картинка страницы загрузки */

.requirements-section::before {
    content: "";

    position: absolute;

    z-index: -2;

    inset: 0;

    background-image:
        url("../img/bg.png");

    background-repeat:
        no-repeat;

    background-position:
        center center;

    background-size:
        cover;

    opacity: .16;

    filter:
        saturate(.70)
        contrast(1.05);

    pointer-events: none;
}


/* Затемнение поверх картинки */

.requirements-section::after {
    content: "";

    position: absolute;

    z-index: -1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 13, 16, .82) 0%,
            rgba(10, 13, 16, .65) 48%,
            rgba(10, 13, 16, .76) 100%
        );

    pointer-events: none;
}


/* Заголовок и карточки всегда поверх картинки */

.requirements-section
.download-section__head,
.requirements-section
.requirements-grid {
    position: relative;
    z-index: 2;
}


/* Карточки чуть прозрачнее,
   чтобы фон был едва заметен сквозь них */

.requirements-section
.requirement-card {
    background:
        rgba(15, 19, 23, .78) !important;

    backdrop-filter:
        blur(1.5px);

    -webkit-backdrop-filter:
        blur(1.5px);
}


.requirements-section
.requirement-card--recommended {
    background:
        linear-gradient(
            135deg,
            rgba(208, 198, 150, .045),
            rgba(15, 19, 23, .76) 42%
        ) !important;
}


/* ------------------------------------------------------------------------
   FIX HEADER TEXT
   ------------------------------------------------------------------------ */

/*
|--------------------------------------------------------------------------
| В основном main.css у h3/h4 есть padding-top.
| Именно он сдвигал "Для запуска игры" и "Для комфортной игры" вниз.
|--------------------------------------------------------------------------
*/

.requirements-section
.requirement-card__title {
    margin:
        3px 0
        0 0 !important;

    padding:
        0 !important;

    line-height:
        17px !important;
}


/* Одинаковая высота шапки обеих карточек */

.requirements-section
.requirement-card__head {
    display: grid !important;

    grid-template-columns:
        42px
        minmax(0, 1fr) !important;

    align-items:
        center !important;

    column-gap:
        11px !important;

    min-height:
        54px !important;

    margin-bottom:
        10px !important;

    padding:
        0 0
        10px 0 !important;
}


/* MIN / REC */

.requirements-section
.requirement-card__icon {
    width:
        38px !important;

    height:
        38px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;
}


/* Правая часть заголовка */

.requirements-section
.requirement-card__head > div:last-child {
    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        flex-start !important;

    justify-content:
        center !important;

    min-width:
        0 !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


.requirements-section
.requirement-card__label {
    display:
        block !important;

    width:
        100% !important;

    margin:
        0 !important;

    padding:
        0 !important;

    line-height:
        12px !important;

    text-align:
        left !important;
}


/* ------------------------------------------------------------------------
   FIX REQUIREMENT ROWS
   ------------------------------------------------------------------------ */

.requirements-section
.requirement-list {
    width:
        100% !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


.requirements-section
.requirement-row {
    display:
        grid !important;

    grid-template-columns:
        130px
        minmax(0, 1fr) !important;

    align-items:
        start !important;

    column-gap:
        12px !important;

    width:
        100% !important;

    min-height:
        34px !important;

    margin:
        0 !important;

    padding:
        8px 0 !important;

    box-sizing:
        border-box !important;
}


.requirements-section
.requirement-row__label,
.requirements-section
.requirement-row__value {
    display:
        block !important;

    width:
        100% !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        10px !important;

    line-height:
        15px !important;

    text-align:
        left !important;

    box-sizing:
        border-box !important;
}


.requirements-section
.requirement-row__label {
    color:
        #79838d !important;
}


.requirements-section
.requirement-row__value {
    color:
        #c8ced4 !important;

    overflow-wrap:
        anywhere;
}


/* Две карточки имеют одинаковую ширину и высоту */

.requirements-section
.requirements-grid {
    display:
        grid !important;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        ) !important;

    align-items:
        stretch !important;

    gap:
        10px !important;
}


.requirements-section
.requirement-card {
    min-width:
        0 !important;

    height:
        100% !important;
}


/* ------------------------------------------------------------------------
   SMALLER WIDTHS
   ------------------------------------------------------------------------ */

@media (max-width: 1250px) {

    .requirements-section
    .requirement-row {
        grid-template-columns:
            118px
            minmax(0, 1fr) !important;
    }

}


