/* TrivalRO platform download pages */
.trival-download-section {
    position: relative;
    width: 100%;
    padding: 34px 0 70px;
    background: linear-gradient(180deg, rgba(247,251,253,.94), rgba(234,247,254,.78));
    overflow: hidden;
}

.trival-download-inner {
    width: min(var(--trival-shared-content-rail, 1000px), calc(100vw - 48px));
    max-width: var(--trival-shared-content-rail, 1000px);
    margin: 0 auto;
}

.trival-download-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}

.trival-download-platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 16px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #EAF7FE;
    color: #2C9FDF;
    font-family: 'Informb', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.trival-download-heading h2 {
    display: inline-block;
    margin: 0;
    padding: 13px 28px 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, #68c7f4 0%, #48afe8 55%, #2993d4 100%);
    color: #fff;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 1.3px;
    text-shadow: 0 2px 2px rgba(36,99,143,.34);
    box-shadow: 0 5px 0 #247fb7, 0 12px 24px rgba(44,159,223,.18);
}

.trival-download-heading p {
    max-width: 690px;
    margin: 20px auto 0;
    color: #5f7787;
    font-family: 'Informb', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.trival-download-main {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(290px, .88fr);
    gap: 22px;
    align-items: stretch;
}

.trival-download-primary,
.trival-download-side {
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 34px rgba(72,143,190,.16);
}

.trival-download-primary {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 20px;
    align-content: start;
    padding: 30px;
}

.trival-download-icon {
    width: 82px;
    height: 82px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EAF7FE;
    color: #2C9FDF;
    box-shadow: inset 0 -4px 0 rgba(44,159,223,.12);
}

.trival-download-icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.trival-download-primary-copy {
    min-width: 0;
}

.trival-download-kicker {
    display: block;
    margin-bottom: 7px;
    color: #718797;
    font-family: 'Informb', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.trival-download-primary h3,
.trival-download-side h3,
.trival-download-help strong {
    color: #376983;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-weight: 400;
}

.trival-download-primary h3 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.1;
}

.trival-download-primary-copy p {
    margin: 0;
    max-width: 620px;
    color: #627b8d;
    font-family: 'Informb', sans-serif;
    font-size: 14px;
    line-height: 1.62;
}

.trival-download-action-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 6px;
}

.trival-download-cta,
.trival-download-switch,
.trival-download-review-link,
.trival-download-help a {
    text-decoration: none;
    font-family: 'Grobold', 'Arial Black', sans-serif;
}

.trival-download-review-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px 9px;
    border-radius: 10px;
    background: #EAF7FE;
    color: #2C9FDF;
    font-size: 11px;
    letter-spacing: .7px;
    box-shadow: 0 4px 0 rgba(44,159,223,.20);
}

.trival-download-review-link:hover {
    color: #227fae;
    transform: translateY(-1px);
}

.trival-download-action-row--requirements-first {
    justify-content: flex-start;
}

.trival-download-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #5cc3f5 0%, #2fa8ef 50%, #1a88d8 100%);
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,60,110,.5);
    box-shadow: 0 4px 0 #1573b0, 0 9px 18px rgba(30,130,210,.23);
    transition: transform .12s ease, filter .15s ease;
}

.trival-download-cta:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.trival-download-cta--disabled {
    cursor: default;
    background: linear-gradient(180deg, #9cb4c3, #829eaf);
    box-shadow: 0 4px 0 #6f8795;
    color: #fff;
    opacity: .9;
}

.trival-download-switch {
    color: #2C9FDF;
    font-size: 12px;
}

.trival-download-switch:hover,
.trival-download-help a:hover {
    color: #227fae;
}

.trival-download-side {
    padding: 28px;
    background: rgba(234,247,254,.95);
}

.trival-download-side h3 {
    margin: 0 0 18px;
    font-size: 21px;
}

.trival-download-checks {
    display: grid;
    gap: 18px;
}

.trival-download-checks > div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.trival-download-checks > div > span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2C9FDF;
    color: #fff;
    font-family: 'Arial Black', sans-serif;
    font-size: 14px;
    box-shadow: 0 3px 0 #247fb7;
}

.trival-download-checks p {
    margin: 0;
}

.trival-download-checks strong,
.trival-download-checks small {
    display: block;
    font-family: 'Informb', sans-serif;
}

.trival-download-checks strong {
    margin-bottom: 3px;
    color: #376983;
    font-size: 13px;
}

.trival-download-checks small {
    color: #718797;
    font-size: 11px;
    line-height: 1.45;
}

.trival-download-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 26px rgba(72,143,190,.11);
}

.trival-download-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 8px 10px;
}

.trival-download-step > span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EAF7FE;
    color: #2C9FDF;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 15px;
}

.trival-download-step strong,
.trival-download-step small {
    display: block;
    font-family: 'Informb', sans-serif;
}

.trival-download-step strong {
    margin-bottom: 2px;
    color: #376983;
    font-size: 12px;
}

.trival-download-step small {
    color: #718797;
    font-size: 10px;
    line-height: 1.35;
}

.trival-download-rules {
    margin-top: 28px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 34px rgba(72,143,190,.14);
}

.trival-download-rules-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.trival-download-rules-head h3 {
    margin: 0;
    color: #376983;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.08;
}

.trival-download-rules-head p {
    margin: 8px 0 0;
    max-width: 720px;
    color: #718797;
    font-family: 'Informb', sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.trival-download-rules-version {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    background: #EAF7FE;
    color: #2C9FDF;
    font-family: 'Informb', sans-serif;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.trival-download-rules-list {
    margin-top: 0;
}

.trival-download-rules-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 11px 18px 8px;
    border-radius: 10px;
    background: #EAF7FE;
    color: #2C9FDF;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 10px;
    letter-spacing: .6px;
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(44,159,223,.18);
}

.trival-download-rules-link:hover {
    color: #227fae;
    transform: translateY(-1px);
}

.trival-pc-requirements {
    margin-top: 28px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 34px rgba(72,143,190,.14);
}

.trival-pc-requirements-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.trival-pc-requirements-head h3,
.trival-pc-runtime h4 {
    margin: 0;
    color: #376983;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-weight: 400;
}

.trival-pc-requirements-head h3 {
    font-size: 24px;
    line-height: 1.08;
}

.trival-pc-requirements-head p {
    margin: 8px 0 0;
    color: #718797;
    font-family: 'Informb', sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.trival-pc-build-note {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    background: #EAF7FE;
    color: #2C9FDF;
    font-family: 'Informb', sans-serif;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.trival-pc-specs-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.trival-pc-specs {
    min-width: 820px;
    overflow: hidden;
    border-radius: 14px;
    background: #F7FBFD;
}

.trival-pc-spec-row {
    display: grid;
    grid-template-columns: 135px repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.trival-pc-spec-row:nth-child(even) {
    background: #FFFFFF;
}

.trival-pc-spec-row:nth-child(odd):not(.trival-pc-spec-row--head) {
    background: #F4FAFD;
}

.trival-pc-spec-row--head {
    background: #EAF7FE;
}

.trival-pc-spec-row > * {
    padding: 13px 14px;
    color: #5F7787;
    font-family: 'Informb', sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.trival-pc-spec-row--head > * {
    color: #376983;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.trival-pc-spec-row > strong {
    color: #376983;
    font-size: 12px;
}

.trival-pc-spec-row small {
    color: #718797;
    font-size: 10px;
}

.trival-pc-runtime {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #EAF7FE;
}

.trival-pc-runtime-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2C9FDF;
    color: #fff;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 22px;
    box-shadow: 0 3px 0 #247fb7;
}

.trival-pc-runtime h4 {
    margin-bottom: 5px;
    font-size: 17px;
}

.trival-pc-runtime p {
    margin: 0;
    color: #627B8D;
    font-family: 'Informb', sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.trival-pc-runtime-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 16px 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, #5cc3f5 0%, #2fa8ef 50%, #1a88d8 100%);
    color: #fff;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 10px;
    letter-spacing: .7px;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,60,110,.5);
    box-shadow: 0 4px 0 #1573b0, 0 8px 16px rgba(30,130,210,.18);
    white-space: nowrap;
}

.trival-pc-runtime-link:hover {
    color: #fff;
    filter: brightness(1.06);
}

.trival-pc-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.trival-pc-notes > div {
    padding: 16px 18px;
    border-radius: 12px;
    background: #F7FBFD;
}

.trival-pc-notes strong,
.trival-pc-notes span {
    display: block;
    font-family: 'Informb', sans-serif;
}

.trival-pc-notes strong {
    margin-bottom: 5px;
    color: #376983;
    font-size: 12px;
}

.trival-pc-notes span {
    color: #718797;
    font-size: 10px;
    line-height: 1.5;
}

.trival-pc-note-important {
    background: #EAF7FE !important;
}

.trival-pc-performance-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 10px;
    background: rgba(234,247,254,.78);
    color: #627B8D;
    font-family: 'Informb', sans-serif;
    font-size: 10px;
    line-height: 1.5;
}

.trival-pc-performance-note strong {
    color: #376983;
    white-space: nowrap;
}

.trival-pc-download-gate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 20px;
    padding: 22px 24px;
    border-radius: 14px;
    background: #EAF7FE;
}

.trival-pc-download-gate-copy {
    min-width: 0;
}

.trival-pc-download-gate h4 {
    margin: 0 0 6px;
    color: #376983;
    font-family: 'Grobold', 'Arial Black', sans-serif;
    font-size: 19px;
    font-weight: 400;
}

.trival-pc-download-gate p {
    margin: 0;
    max-width: 620px;
    color: #627B8D;
    font-family: 'Informb', sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.trival-download-cta--final {
    flex: 0 0 auto;
    min-width: 210px;
}

.trival-download-help {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 15px 18px;
    border-radius: 10px;
    background: rgba(234,247,254,.86);
    color: #627b8d;
    font-family: 'Informb', sans-serif;
    font-size: 12px;
}

.trival-download-help strong {
    font-size: 14px;
    white-space: nowrap;
}

.trival-download-help span {
    flex: 1;
}

.trival-download-help a {
    color: #2C9FDF;
    white-space: nowrap;
}

body.trival-download-page #main-wrapper {
    width: 100%;
    max-width: none;
    margin-top: 76px;
    margin-bottom: 0;
    padding: 0;
}

body.trival-download-page #content-col,
body.trival-download-page #content-box,
body.trival-download-page #content-box .content-inner {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

body.trival-download-page #content-box {
    background: transparent;
}

@media (max-width: 900px) {
    .trival-download-inner {
        width: min(100% - 28px, var(--trival-shared-content-rail, 1000px));
    }

    .trival-download-main {
        grid-template-columns: 1fr;
    }

    .trival-download-side {
        padding: 24px;
    }

    .trival-pc-requirements {
        padding: 24px;
    }

    .trival-pc-runtime {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .trival-pc-runtime-link {
        grid-column: 1 / -1;
        width: 100%;
    }

    .trival-pc-notes {
        grid-template-columns: 1fr;
    }

    .trival-download-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .trival-download-section {
        padding: 24px 0 46px;
    }

    .trival-download-heading h2 {
        width: 100%;
        font-size: 23px;
        padding: 12px 14px 9px;
    }

    .trival-download-heading p {
        font-size: 13px;
        margin-top: 16px;
    }

    .trival-download-primary {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .trival-download-rules {
        padding: 20px;
    }

    .trival-download-rules-head {
        flex-direction: column;
        gap: 12px;
    }

    .trival-download-rules-version {
        align-self: flex-start;
    }

    .trival-download-rules-link {
        width: 100%;
        text-align: center;
    }

    .trival-pc-requirements {
        padding: 20px;
    }

    .trival-pc-requirements-head {
        flex-direction: column;
        gap: 12px;
    }

    .trival-pc-build-note {
        align-self: flex-start;
    }

    .trival-pc-runtime {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .trival-pc-runtime-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .trival-pc-performance-note {
        flex-direction: column;
        gap: 4px;
    }

    .trival-download-icon {
        width: 66px;
        height: 66px;
    }

    .trival-download-icon img {
        width: 58px;
        height: 58px;
    }

    .trival-download-action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .trival-download-cta,
    .trival-download-switch {
        width: 100%;
        text-align: center;
    }

    .trival-download-help {
        align-items: flex-start;
        flex-direction: column;
    }

    .trival-download-help a {
        white-space: normal;
    }

    .trival-download-review-link {
        width: 100%;
        text-align: center;
    }

    .trival-pc-download-gate {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .trival-download-cta--final {
        width: 100%;
        min-width: 0;
    }
}
