.download-page {
    color: #f5e3be;
}

.download-main {
    width: 100%;
    padding: 205px 0 54px;
}

.download-shell {
    width: min(1200px, calc(100vw - 44px));
    margin: 0 auto;
}

.download-hero,
.download-grid-section,
.download-instructions,
.download-requirements,
.download-note {
    border: 1px solid #c17f3724;
    border-radius: 18px;
    background: linear-gradient(180deg, rgb(0 0 0 / 26%), rgb(43 32 15 / 26%)), rgb(27 22 18 / 64%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgb(220 133 46 / 13%);
    backdrop-filter: blur(24px);
}

.download-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 28px;
    padding: 34px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(255, 192, 86, 0.16), transparent 36%, rgba(255, 74, 46, 0.14) 80%, transparent);
}

.download-hero-meta,
.download-hero-side {
    position: relative;
    z-index: 1;
}

.download-kicker,
.download-section-kicker,
.download-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f3c46e, #d6872d);
    color: #2b1207;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.download-title {
    margin: 16px 0 10px;
    font-family: 'Times New Roman', Georgia, serif;
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.92;
    color: #fff2d0;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6), 0 0 22px rgba(255, 193, 91, 0.12);
}

.download-subtitle {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 236, 210, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
}

.download-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.download-hero-stat {
    min-height: 88px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(232, 171, 80, 0.22);
    background: rgba(0, 0, 0, 0.22);
    display: grid;
    gap: 6px;
}

.download-hero-stat span {
    color: rgba(255, 224, 182, 0.72);
    font-size: 0.92rem;
}

.download-hero-stat strong {
    color: #fff6e5;
    font-size: 1.1rem;
}

.download-hero-banner {
    height: 100%;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgb(255 153 0 / 24%);
    background: linear-gradient(180deg, rgb(160 102 46), rgba(8, 7, 6, 0.92));
    display: grid;
    align-content: center;
    gap: 24px;
}

.download-hero-banner strong {
    color: #fff1d0;
    font-size: 1.7rem;
    line-height: 1.1;
    font-family: 'Times New Roman', Georgia, serif;
}

.download-hero-banner p {
    margin: 0;
    color: rgba(255, 233, 198, 0.75);
    line-height: 1.6;
}

.download-grid-section,
.download-instructions,
.download-requirements {
    padding: 22px;
    margin-bottom: 18px;
}

.download-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.download-section-head h2 {
    margin: 10px 0 0;
    color: #fff1d0;
    font-family: 'Times New Roman', Georgia, serif;
    font-size: clamp(1.9rem, 2.6vw, 2.7rem);
    line-height: 1.05;
}

.download-section-note {
    color: rgba(255, 220, 165, 0.72);
    font-size: 0.95rem;
}

.download-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.download-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    min-height: 420px;
    border-radius: 16px;
    border: 1px solid rgba(232, 171, 80, 0.18);
    background:
        linear-gradient(180deg, rgba(24, 16, 12, 0.92), rgba(10, 8, 7, 0.96));
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 232, 180, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 184, 91, 0.42);
    box-shadow:
        0 26px 48px rgba(0, 0, 0, 0.4),
        0 0 24px rgba(231, 143, 45, 0.12),
        inset 0 1px 0 rgba(255, 232, 180, 0.06);
}

.download-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.download-source {
    display: grid;
    gap: 4px;
}

.download-source-ru {
    color: #fff0d2;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.download-source-en {
    color: rgba(255, 220, 165, 0.64);
    font-size: 0.82rem;
}

.download-version {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 196, 92, 0.12);
    color: #ffd998;
    border: 1px solid rgba(255, 196, 92, 0.2);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.download-logo {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    border: 1px solid rgba(255, 227, 179, 0.12);
    overflow: hidden;
}

.download-logo::before,
.download-logo::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.download-logo-mark {
    position: relative;
    z-index: 1;
    color: #fff3df;
    font-weight: 1000;
    font-size: 3rem;
    line-height: 1;
    text-shadow: 0 0 14px rgba(255, 211, 128, 0.2);
}

.download-logo--google {
    background: radial-gradient(circle at 50% 28%, rgba(255, 220, 131, 0.18), rgba(0, 0, 0, 0) 65%), rgba(0, 0, 0, 0.18);
}

.download-logo--google::before {
    inset: 23px 28px 23px 28px;
    background: linear-gradient(135deg, #36c66a 0%, #35b2c2 34%, #ffd44f 66%, #ef5d43 100%);
    clip-path: polygon(50% 2%, 4% 92%, 96% 92%);
    filter: drop-shadow(0 0 12px rgba(255, 196, 90, 0.18));
}

.download-logo--google::after {
    inset: 38px 43px 38px 43px;
    background: linear-gradient(135deg, rgba(16, 11, 8, 0.96), rgba(16, 11, 8, 0.82));
    clip-path: polygon(50% 2%, 11% 90%, 89% 90%);
}

.download-logo--dropbox {
    background: radial-gradient(circle at 50% 26%, rgba(74, 136, 255, 0.16), rgba(0, 0, 0, 0) 66%), rgba(0, 0, 0, 0.18);
}

.download-logo--dropbox::before {
    width: 34px;
    height: 34px;
    left: 35px;
    top: 28px;
    background: linear-gradient(135deg, #6da4ff, #235dff);
    transform: rotate(45deg);
    box-shadow: 36px 0 0 #2f68ff, 18px 36px 0 #6f86ff, 54px 36px 0 #1f51db;
}

.download-logo--dropbox::after {
    width: 34px;
    height: 34px;
    left: 51px;
    top: 56px;
    background: linear-gradient(135deg, #6da4ff, #235dff);
    transform: rotate(45deg);
    box-shadow: -18px 36px 0 #2f68ff, 18px 36px 0 #1f51db, 36px 0 0 #6f86ff;
}

.download-logo--yandex {
    background: radial-gradient(circle at 50% 24%, rgba(255, 102, 102, 0.16), rgba(0, 0, 0, 0) 65%), rgba(0, 0, 0, 0.18);
}

.download-logo--yandex::before {
    inset: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff8e8e 0%, #e33636 52%, #8f0a0a 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 229, 229, 0.15);
}

.download-logo--yandex::after {
    inset: 37px;
    border-radius: 50%;
    background: rgba(20, 8, 8, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 244, 244, 0.08);
}

.download-card-body {
    display: grid;
    gap: 8px;
    text-align: center;
}

.download-card-body h3 {
    margin: 0;
    color: #fff4df;
    font-size: 1.15rem;
    line-height: 1.25;
}

.download-card-body p {
    margin: 0;
    color: rgba(255, 227, 179, 0.74);
    line-height: 1.6;
}

.download-card-meta {
    display: grid;
    gap: 8px;
}

.download-card-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid rgba(232, 171, 80, 0.14);
    background: rgba(0, 0, 0, 0.22);
    color: #ffeccc;
    font-size: 0.95rem;
}

.download-card-meta i {
    color: #ff6a53;
    width: 16px;
    text-align: center;
}

.download-card-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 211, 125, 0.38);
    background: linear-gradient(180deg, #ffe0a4 0%, #f39b2e 44%, #c93b24 100%);
    color: #2b1006;
    font-weight: 1000;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        0 12px 24px rgba(167, 59, 19, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.download-card-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.download-card-button i {
    color: #2b1006;
}

.download-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.download-step {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
    min-height: 188px;
    border-radius: 14px;
    border: 1px solid rgba(232, 171, 80, 0.16);
    background: rgba(0, 0, 0, 0.22);
}

.download-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #6ea8ff;
    background: rgba(110, 168, 255, 0.12);
    border: 1px solid rgba(110, 168, 255, 0.18);
    font-size: 1.35rem;
}

.download-step strong {
    color: #fff3df;
    font-size: 1rem;
}

.download-step p {
    margin: 0;
    color: rgba(255, 227, 179, 0.74);
    line-height: 1.6;
}

.download-requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.download-requirement-card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(232, 171, 80, 0.16);
    background: rgba(0, 0, 0, 0.22);
}

.download-requirement-card h3 {
    margin: 0 0 14px;
    color: #ffca77;
    font-size: 1.3rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.download-requirement-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.download-requirement-card li {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(232, 171, 80, 0.1);
}

.download-requirement-card li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.download-requirement-card span {
    color: rgba(255, 220, 165, 0.7);
}

.download-requirement-card strong {
    color: #fff5df;
    font-weight: 800;
}

.download-note {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin: 0 0 18px;
    color: #ffd99f;
    background: linear-gradient(180deg, rgba(43, 25, 9, 0.86), rgba(12, 10, 8, 0.92));
}

.download-note i {
    color: #ffb24d;
    font-size: 1.2rem;
}

@media (max-width: 1180px) {
    .download-hero,
    .download-card-grid,
    .download-steps,
    .download-requirements-grid {
        grid-template-columns: 1fr;
    }

    .download-hero-stats {
        grid-template-columns: 1fr;
    }

    .download-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .download-main {
        padding-top: 145px;
    }

    .download-shell {
        width: min(100% - 22px, 1500px);
    }

    .download-hero,
    .download-grid-section,
    .download-instructions,
    .download-requirements {
        padding: 18px;
    }

    .download-title {
        font-size: 2.6rem;
    }

    .download-card {
        min-height: auto;
    }

    .download-requirement-card li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
