body.downloads-body {
    background: linear-gradient(180deg, #050a11, #07111d 54%, #050a11);
}

.site-header--solid {
    background: rgba(5, 11, 18, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.downloads-page { padding-top: var(--header-height); }

.downloads-hero {
    position: relative;
    min-height: 530px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 8, 14, .88), rgba(3, 8, 14, .40), rgba(3, 8, 14, .90)),
        url('../images/site/downloads-hero.jpg') center/cover no-repeat;
}

.downloads-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 34%, rgba(83, 168, 216, .18), transparent 28%),
        radial-gradient(circle at 72% 24%, rgba(240, 210, 141, .12), transparent 24%);
}

.downloads-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 17, .06), rgba(5, 10, 17, .88));
}

.downloads-hero__content {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 36px));
    padding: 62px 0 68px;
    text-align: center;
}

.downloads-hero h1 {
    margin: 17px auto 18px;
    max-width: 850px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2.25rem, 4.4vw, 4.45rem);
    line-height: 1.02;
}

.downloads-hero .hero__lead {
    max-width: 760px;
    margin-inline: auto;
    color: #d6dee5;
}

.downloads-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.section--downloads { padding-top: 52px; }

.download-grid {
    width: min(1060px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.download-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid rgba(213, 174, 91, .20);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(83, 168, 216, .10), transparent 32%),
        linear-gradient(180deg, rgba(8, 18, 29, .92), rgba(4, 10, 17, .95));
    box-shadow: var(--shadow);
}

.download-card--featured {
    border-color: rgba(83, 168, 216, .32);
}

.download-card::after {
    content: '';
    position: absolute;
    inset: auto 20px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 210, 141, .65), transparent);
}

.download-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.download-card__sigil {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(213, 174, 91, .36);
    color: var(--gold-bright);
    background: rgba(213, 174, 91, .08);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    font: 700 1.2rem 'Cinzel', Georgia, serif;
}

.download-card__badge {
    color: var(--gold-bright);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.download-card h3 {
    margin: 5px 0 0;
    font: 600 clamp(1.38rem, 2vw, 1.85rem) 'Cinzel', Georgia, serif;
}

.download-card__description {
    min-height: 58px;
    color: #aebbc5;
}

.download-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0;
}

.download-details div {
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}

.download-details dt {
    color: #738490;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.download-details dd {
    margin: 4px 0 0;
    color: #eef3f6;
    font-weight: 800;
}

.download-card__requirement {
    display: grid;
    gap: 5px;
    padding: 12px 14px;
    border-left: 2px solid var(--gold);
    background: rgba(213, 174, 91, .05);
}

.download-card__requirement strong { color: var(--gold-bright); }
.download-card__requirement span,
.download-card__note { color: #9eacb7; }
.download-card__note { min-height: 38px; margin: 14px 0 0; }

.download-card__footer {
    margin-top: auto;
    padding-top: 16px;
}

.download-card__button {
    width: 100%;
    display: flex;
    margin-top: 0;
}

.download-card__button.is-disabled {
    opacity: .56;
    pointer-events: none;
}

.download-notice,
.installation-steps {
    width: min(1060px, calc(100% - 36px));
    margin-inline: auto;
}

.download-notice {
    margin-top: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(112, 185, 151, .20);
    border-radius: 20px;
    background: rgba(112, 185, 151, .055);
}

.download-notice > span { color: #8fd0ad; font-size: 1.4rem; }
.download-notice strong { color: #bce6cf; }
.download-notice p { margin: 4px 0 0; color: #9aabb5; }

.installation-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 72px;
}

.installation-steps article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
}

.installation-steps article > span {
    color: var(--gold-bright);
    font: 700 1.1rem 'Cinzel', Georgia, serif;
}
.installation-steps strong { color: #ecf0f3; }
.installation-steps p { margin: 5px 0 0; color: #8999a5; font-size: .88rem; }

@media (max-width: 820px) {
    .download-grid,
    .installation-steps { grid-template-columns: 1fr; }
    .download-card__description,
    .download-card__note { min-height: 0; }
}

@media (max-width: 560px) {
    .downloads-hero__content,
    .download-grid,
    .download-notice,
    .installation-steps { width: min(100% - 24px, 100%); }
    .downloads-hero__actions { display: grid; }
    .download-card { padding: 23px 18px; }
    .download-details { grid-template-columns: 1fr; }
}


/* ===== v1.1.0 • cards mais compactos em desktop ===== */
@media (min-width: 821px) {
    .download-card__description {
        margin: 18px 0 0;
        line-height: 1.55;
    }

    .download-details dd {
        font-size: .94rem;
    }

    .download-card__requirement,
    .download-card__note {
        font-size: .94rem;
        line-height: 1.5;
    }

    .download-card__button {
        min-height: 48px;
    }
}

@media (min-width: 1500px) {
    .download-grid,
    .download-notice,
    .installation-steps {
        width: min(1040px, calc(100% - 48px));
    }
}


/* Patch 07.9: one official launcher, wide presentation. */
.download-grid--single{grid-template-columns:minmax(0,1fr);max-width:1180px;margin-inline:auto}
.download-grid--single .download-card{min-height:0;padding:34px 38px}
.download-grid--single .download-card__description{max-width:900px;min-height:0;font-size:1.02rem}
.download-grid--single .download-details{grid-template-columns:repeat(4,minmax(0,1fr))}
.download-grid--single .download-card__requirement,.download-grid--single .download-card__note{max-width:960px}
.download-grid--single .download-card__footer{justify-content:flex-start}
.download-grid--single .download-card__button{min-width:280px}
.installation-steps--launcher{max-width:1180px;margin-inline:auto}
@media(max-width:820px){.download-grid--single .download-card{padding:26px 22px}.download-grid--single .download-details{grid-template-columns:repeat(2,minmax(0,1fr))}.download-grid--single .download-card__button{width:100%;min-width:0}}


/* v2.1.0 • full-bleed downloads hero directly below the fixed navigation */
.downloads-page{padding-top:var(--header-height);width:100%;max-width:none;margin:0!important;}
.downloads-hero{
  width:100vw;
  max-width:none;
  min-height:610px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  place-items:center;
  background-position:center 18%;
}
.downloads-hero::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(3,8,14,.08) 0%,rgba(3,8,14,.16) 38%,rgba(5,10,17,.62) 70%,#050a11 100%);
}
.downloads-hero__veil{
  z-index:0;
  background:linear-gradient(90deg,rgba(3,8,14,.46),rgba(3,8,14,.12) 48%,rgba(3,8,14,.44));
}
.downloads-hero__content{z-index:2;padding:74px 0 116px;}
.section--downloads{position:relative;z-index:3;margin-top:-34px;background:linear-gradient(180deg,rgba(5,10,17,.98),#050a11 90px);}
@media(max-width:820px){
  .downloads-hero{min-height:560px;background-position:center top;}
  .downloads-hero__content{padding:58px 0 94px;}
}


/* v2.2.0 • cinematic full-bleed downloads hero */
.downloads-body{overflow-x:hidden;background:#050a11;}
.downloads-body .downloads-page{width:100%!important;max-width:none!important;margin:0!important;padding-top:var(--header-height)!important;}
.downloads-body .downloads-hero{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  min-height:clamp(620px,calc(100svh - var(--header-height)),860px);
  place-items:center;
  background:
    linear-gradient(90deg,rgba(3,8,14,.72) 0%,rgba(3,8,14,.36) 42%,rgba(3,8,14,.24) 63%,rgba(3,8,14,.64) 100%),
    url('../images/site/downloads-hero.jpg') 58% 18%/cover no-repeat!important;
}
.downloads-body .downloads-hero::before{
  z-index:0;
  background:
    radial-gradient(circle at 30% 34%,rgba(83,168,216,.14),transparent 30%),
    radial-gradient(circle at 72% 20%,rgba(240,210,141,.10),transparent 24%);
}
.downloads-body .downloads-hero::after{
  z-index:1;
  background:linear-gradient(180deg,rgba(5,10,17,0) 0%,rgba(5,10,17,.08) 42%,rgba(5,10,17,.46) 70%,#050a11 98%,#050a11 100%);
}
.downloads-body .downloads-hero__veil{
  z-index:1;
  background:linear-gradient(90deg,rgba(3,8,14,.36),rgba(3,8,14,.06) 48%,rgba(3,8,14,.32));
}
.downloads-body .downloads-hero__content{
  z-index:2;
  width:min(980px,calc(100% - 40px));
  padding:72px 0 150px;
}
.downloads-body .section--downloads{
  position:relative;
  z-index:3;
  margin-top:-82px;
  padding-top:86px;
  background:linear-gradient(180deg,rgba(5,10,17,0) 0,#050a11 76px,#050a11 100%);
}
@media(max-width:820px){
  .downloads-body .downloads-hero{min-height:620px;background-position:62% top!important;}
  .downloads-body .downloads-hero__content{padding:62px 0 126px;}
  .downloads-body .section--downloads{margin-top:-58px;padding-top:68px;}
}
