.downloads-hub-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;

  min-height: calc(100svh - var(--header-height));
  padding: clamp(36px, 5vw, 64px) 0;

  display: flex;
  align-items: center;

  color: var(--scheme-white-color);
  background:
    linear-gradient(
      rgba(var(--scheme-deepblue-rgb), .65),
      rgba(var(--scheme-deepblue-rgb), .65)
    ),
    radial-gradient(circle at 20% 10%, rgba(var(--scheme-blue-rgb), .12), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(var(--scheme-orange-rgb), .10), transparent 16%),
    url("/assets/mine.gmg/imgs/downloads/downloads.hero.jpg") center center / cover no-repeat;
}

.downloads-hub-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(var(--scheme-orange-rgb), 0.16);
  filter: blur(34px);
  pointer-events: none;
}

.downloads-hub-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -220px;
  width: 900px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 113, 235, 0.22);
  filter: blur(80px);
  pointer-events: none;
}

.downloads-hub-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.downloads-hub-hero__content {
  max-width: 760px;
}

.downloads-hub-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.downloads-hub-hero p {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.74);
  font-size: 18px;
  line-height: 1.65;
}

.downloads-hub-hero__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 28px 80px rgba(0,0,0,0.26);
  backdrop-filter: blur(18px);
}

.downloads-hub-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0071EB, #FC5130);
}

.downloads-hub-hero__panel-icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 30px;
  background: linear-gradient(135deg, #0071EB, #FC5130);
  box-shadow: 0 18px 42px rgba(0, 113, 235, 0.28);
}

.downloads-hub-hero__panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
}

.downloads-hub-hero__panel span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.55;
}


.downloads-hub-main {
  position: relative;
  overflow: clip;
  padding: 90px 0;
  color: var(--scheme-black-color);
  background:
    linear-gradient(
      color-mix(in srgb, var(--scheme-white-color) 65%, transparent),
      color-mix(in srgb, var(--scheme-white-color) 65%, transparent)
    ),
    radial-gradient(circle at 20% 10%, rgba(0, 113, 235, .12), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(252, 81, 48, .10), transparent 16%),
    url("/assets/mine.gmg/imgs/downloads/downloads.files.jpg") center center / cover no-repeat;
}

.downloads-hub-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.downloads-hub-head h2,
.downloads-hub-help h2 {
  margin: 0;
  color: #07142f;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.045em;
}

.downloads-hub-head p {
  margin: 20px 0 0;
  color: rgba(7, 20, 47, 0.68);
  font-size: 17px;
  line-height: 1.65;
}

.downloads-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.downloads-brand-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: #fff;
  text-decoration: none;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 26px 70px rgba(7, 20, 47, 0.16);
  isolation: isolate;

  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 19, 0.86) 0%,
      rgba(3, 26, 107, 0.72) 34%,
      rgba(3, 26, 107, 0.26) 64%,
      rgba(2, 7, 19, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 7, 19, 0.18) 0%,
      rgba(2, 7, 19, 0.72) 100%
    ),
    var(--downloads-card-image);

  background-size: cover;
  background-position: var(--downloads-card-position, center);
  background-repeat: no-repeat;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
}

.downloads-brand-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #0071EB, #FC5130);
  z-index: 2;
}

.downloads-brand-card::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(0, 113, 235, 0.26);
  filter: blur(46px);
  z-index: -1;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.downloads-brand-card--colorlight {
  --downloads-card-image: url('/assets/mine.gmg/imgs/downloads/downloads.colorlight.jpg');
  --downloads-card-position: center center;
}

.downloads-brand-card--huidu {
  --downloads-card-image: url('/assets/mine.gmg/imgs/downloads/downloads.huidu.jpg');
  --downloads-card-position: center center;
}

.downloads-brand-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 34px 90px rgba(7, 20, 47, 0.28);
  filter: saturate(1.08) contrast(1.04);
}

.downloads-brand-card__top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.downloads-brand-card__logo-text {
  color: rgba(255,255,255,0.96);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.downloads-brand-card__badge {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
}

.downloads-brand-card__body {
  max-width: 510px;
  margin-top: 82px;
}

.downloads-brand-card__body h3 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.downloads-brand-card__body p {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  line-height: 1.6;
}

.downloads-brand-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.downloads-brand-card__footer i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.12);
  transition:
    transform 0.28s ease,
    background-color 0.28s ease;
}

.downloads-brand-card:hover .downloads-brand-card__footer i {
  transform: translateX(4px);
  background: #FC5130;
}

.downloads-hub-help {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    linear-gradient(
      color-mix(in srgb, var(--scheme-deepblue-color) 64%, transparent),
      color-mix(in srgb, var(--scheme-deepblue-color) 68%, transparent)
    ),
    radial-gradient(circle at 20% 10%, rgba(0, 113, 235, .12), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(252, 81, 48, .10), transparent 16%),
    url("/assets/mine.gmg/imgs/backgrounds/dark.01.jpg") center center / cover no-repeat;
}

.downloads-hub-help__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.downloads-hub-help h2 {
  max-width: 780px;
  color: #fff;
}

.downloads-hub-help p {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  line-height: 1.65;
}

.downloads-hub-help .uled-btn {
  white-space: nowrap;
}


/* Адаптив */
@media (max-width: 992px) {
  .downloads-hub-hero {
    padding: 120px 0 76px;
  }

  .downloads-hub-hero__inner {
    grid-template-columns: 1fr;
  }

  .downloads-hub-hero__panel {
    max-width: 520px;
  }

  .downloads-hub-grid {
    grid-template-columns: 1fr;
  }

  .downloads-hub-help__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .downloads-hub-hero {
    min-height: auto;
    padding: 105px 0 64px;
  }

  .downloads-hub-hero h1 {
    font-size: 40px;
  }

  .downloads-hub-hero p {
    font-size: 16px;
  }

  .downloads-hub-hero__panel {
    padding: 22px;
    border-radius: 24px;
  }

  .downloads-hub-hero__panel-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: 25px;
  }

  .downloads-hub-main {
    padding: 70px 0 76px;
  }

  .downloads-brand-card {
    min-height: 330px;
    padding: 24px;
    border-radius: 26px;
  }

  .downloads-brand-card__top {
    flex-direction: column;
  }

  .downloads-brand-card__body {
    margin-top: 58px;
  }

  .downloads-brand-card__logo-text {
    font-size: 40px;
  }

  .downloads-hub-help {
    padding: 68px 0;
  }
}
