@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --layout-max-width: 1000px;
  --layout-viewport-gutter: 16px;
  --layout-inner-pad: clamp(10px, 1.5vw, 14px);
  --layout-shell-width: min(
    calc(100% - 2 * var(--layout-viewport-gutter)),
    var(--layout-max-width)
  );
  --radius-sm: 5px;
  --radius-card: 14px;
  /* Базовый шаг между секциями (~на 15% меньше предыдущего max ~96px) */
  --section-y-gap: clamp(1.9rem, 4.7vw, 5.1rem);
  /* После hero: минус нижний padding .hero-block — тогда «от контента hero» до NEWSWIRE ≈ от карточек до GAMES */
  --section-y-gap-after-hero: max(0px, calc(var(--section-y-gap) - var(--layout-inner-pad)));
  --glass-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 0px);
}

@media (max-width: 768px) {
  .header-inner {
    padding: 15px var(--layout-inner-pad);
  }

  .logo img {
    height: 28px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 14px;
  }

  .bg-blur-decor__blob {
    filter: blur(40px);
    opacity: 0.1;
    will-change: auto;
  }

  .hero-text-box,
  .newswire-card__body {
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
  }

  .hero-text-box::before,
  .newswire-card__body::before {
    opacity: 0.12;
  }

  .hero-text-box::after,
  .newswire-card__body::after {
    opacity: 0.22;
  }
}

@media (max-width: 420px) {
  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 13px;
    letter-spacing: 0.01em;
  }
}

/* Очень узкие экраны: меню переносится на 2 строки и не вылезает за край */
@media (max-width: 360px) {
  .header-inner {
    padding: 12px var(--layout-inner-pad);
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 8px;
    row-gap: 6px;
  }

  .nav a {
    font-size: 12px;
    letter-spacing: 0.005em;
  }
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #111;
}

/* Плавные появления (load + scroll): из блюра в фокус, без смещения (чтобы не было ощущения автоскролла) */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transition:
    opacity 520ms ease,
    filter 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter;
}

.reveal.is-inview {
  opacity: 1;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    filter: none;
    transition: none;
    will-change: auto;
  }
}

/* Слегка заметные блюр-пятна в тонах промо (фиолетовый / маджента / синий / бирюза) */
.bg-blur-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-blur-decor__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(clamp(56px, 12vmin, 120px));
  opacity: 0.16;
  mix-blend-mode: screen;
  will-change: transform;
}

.bg-blur-decor__blob--1 {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  top: -12%;
  left: -8%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(168, 85, 247, 0.95) 0%,
    rgba(124, 58, 237, 0.45) 45%,
    transparent 70%
  );
  animation: bg-blob-drift 28s ease-in-out infinite alternate;
}

.bg-blur-decor__blob--2 {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  top: 18%;
  right: -10%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(244, 114, 182, 0.9) 0%,
    rgba(219, 39, 119, 0.4) 50%,
    transparent 72%
  );
  animation: bg-blob-drift 32s ease-in-out infinite alternate-reverse;
}

.bg-blur-decor__blob--3 {
  width: min(62vw, 560px);
  height: min(62vw, 560px);
  bottom: max(-22vh, -140px);
  left: 10%;
  background: radial-gradient(
    circle at 45% 55%,
    rgba(56, 189, 248, 0.75) 0%,
    rgba(59, 130, 246, 0.35) 48%,
    transparent 70%
  );
  animation: bg-blob-drift 36s ease-in-out infinite alternate;
}

.bg-blur-decor__blob--4 {
  width: min(44vw, 400px);
  height: min(44vw, 400px);
  bottom: max(-8vh, -48px);
  right: 0%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(192, 132, 252, 0.65) 0%,
    rgba(147, 51, 234, 0.3) 55%,
    transparent 68%
  );
  opacity: 0.12;
  animation: bg-blob-drift 24s ease-in-out infinite alternate-reverse;
}

@keyframes bg-blob-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(2%, 3%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-blur-decor__blob {
    animation: none;
  }
}

/* Один слой над декоративным блюром: новые секции добавляйте внутрь .page-front */
.page-front {
  position: relative;
  z-index: 1;
}

/* Внешняя полоса на всю ширину; выравнивание с блоком hero — у .header-inner */
.header {
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.header.header--scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: var(--layout-shell-width);
  margin-inline: auto;
  box-sizing: border-box;
  padding: 30px var(--layout-inner-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  color: white;
  font-weight: 600;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 36px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #b7b7b7;

  transition: color 0.25s ease, transform 0.25s ease;
}

.nav a.active {
  color: #fff;
}

.nav a:hover {
  color: #fff;
  transform: scale(1.05);
}



.hero-block {
  --hero-gap: clamp(10px, 2vw, 14px);
  /* ~2/3 banner + ~1/3 text column (как на референсе) */
  --hero-media: 2;
  --hero-text-col: 1;
  /* Верхняя граница размера шрифта в сером блоке (hero-fit.js); уменьшите, если текст слишком крупный */
  --hero-text-size-max: 20px;

  position: relative;
  width: var(--layout-shell-width);
  margin-inline: auto;
  /* Ближе к шапке: раньше clamp(1.75rem, 4vw, 2.5rem) */
  margin-block: clamp(0.4rem, 1.2vw, 0.85rem) 0;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  /* Нельзя скрывать overflow: подсветка кнопки должна выходить наружу */
  overflow: visible;
  padding: var(--layout-inner-pad);
  font-size: clamp(0.8125rem, 1.1vw + 0.65rem, 1rem);
}

/* Высота ряда = реальная высота image.png при заданной ширине (без искусственного aspect-ratio) */
.hero-inner {
  position: relative;
  width: 100%;
}

.hero-image {
  max-width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Только широкий экран: картинка слева, текст справа (иначе базовые правила перебивают узкий режим) */
@media (min-width: 1025px) {
  .hero-image {
    width: calc(
      (var(--hero-media) / (var(--hero-media) + var(--hero-text-col))) *
        (100% - var(--hero-gap))
    );
    border-radius: var(--radius-sm);
  }

  .hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(
      (var(--hero-text-col) / (var(--hero-media) + var(--hero-text-col))) *
        (100% - var(--hero-gap))
    );
    left: calc(
      (var(--hero-media) / (var(--hero-media) + var(--hero-text-col))) *
        (100% - var(--hero-gap)) + var(--hero-gap)
    );

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-width: 0;
    padding: 0;
    gap: clamp(10px, 1.5vw, 16px);
    color: white;
  }

  .hero-text-box {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    font-weight: 500;
  }
}

.download-btn {
  display: inline-flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: clamp(10px, 1.2vw, 14px) clamp(12px, 2vw, 18px);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: #111;
  position: relative;
  /* Свечение рисуем снаружи — не обрезаем */
  overflow: visible;
  isolation: isolate;
  transition:
    box-shadow 320ms ease;
}

.download-btn::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    70% 70% at 50% 50%,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.22) 55%,
    rgba(255, 255, 255, 0) 78%
  );
  filter: blur(10px);
  transition: opacity 320ms ease;
}

.download-btn::after {
  content: none;
}

.download-btn:hover {
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.38),
    0 0 38px rgba(255, 255, 255, 0.14),
    0 10px 26px rgba(0, 0, 0, 0.28),
    0 3px 10px rgba(0, 0, 0, 0.16);
}

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

.download-btn:hover::after {
  content: none;
}

.download-btn:active {
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(255, 255, 255, 0.1),
    0 7px 18px rgba(0, 0, 0, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.12);
}

.download-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .download-btn,
  .download-btn::before {
    transition: none;
  }

  .download-btn::before {
    filter: none;
  }
}

.download-btn > * {
  position: relative;
  z-index: 1;
}

/* Жидкое стекло: hero + newswire */
.hero-text-box,
.newswire-card__body {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 38%,
    rgba(0, 0, 0, 0.06) 100%
  );
  background-color: rgba(32, 32, 32, 0.38);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.22);
}

.hero-text-box::before,
.newswire-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.08) 72%,
      rgba(255, 255, 255, 0) 100%
    ),
    var(--glass-noise);
  background-size: auto, 180px 180px;
}

.hero-text-box::after,
.newswire-card__body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background: radial-gradient(
    120% 80% at 10% -20%,
    rgba(255, 255, 255, 0.16) 0%,
    transparent 55%
  );
  mix-blend-mode: soft-light;
}

.hero-text-box {
  display: flex;
  align-items: stretch;
  padding: clamp(10px, 1.5vw, 16px);
  overflow: hidden;
}

.hero-text-box p {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.4;
  overflow-wrap: break-word;
  hyphens: auto;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-text-box,
  .newswire-card__body {
    background-color: rgba(36, 36, 36, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-text-box::before,
  .hero-text-box::after,
  .newswire-card__body::before,
  .newswire-card__body::after {
    opacity: 0.12;
  }

}

/* ——— NEWSWIRE ——— */
.newswire {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  padding-block-start: var(--section-y-gap-after-hero);
}

.newswire-inner {
  width: var(--layout-shell-width);
  margin-inline: auto;
  box-sizing: border-box;
  padding: 0 var(--layout-inner-pad);
}

.newswire__title {
  margin-block: 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.newswire__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}

.newswire-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #161616;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.newswire-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f4fc 0%, #d4e8f7 45%, #c5dff3 100%);
}

.newswire-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Нижний блок карточки: без border-radius — клип у родителя; inset-тень вместо border */
.newswire-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(16px, 2.2vw, 22px);
  text-align: left;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 8px 28px rgba(0, 0, 0, 0.2);
}

.newswire-card__body::before,
.newswire-card__body::after {
  mix-blend-mode: normal;
  border-radius: 0;
  opacity: 0.16;
}

.newswire-card__body::after {
  opacity: 0.28;
}

.newswire-card__body > * {
  position: relative;
  z-index: 1;
}

.newswire-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a8a8a8;
}

.newswire-card__source {
  color: #b7b7b7;
}

.newswire-card__date {
  color: #8f8f8f;
  font-variant-numeric: tabular-nums;
}

.newswire-card__text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

@media (max-width: 720px) {
  .newswire__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— GAMES ——— */
.games {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  padding-block-start: var(--section-y-gap);
  padding-block-end: calc(var(--section-y-gap) * 1.09);
}

.games-inner {
  width: var(--layout-shell-width);
  margin-inline: auto;
  box-sizing: border-box;
  padding: 0 var(--layout-inner-pad);
}

.games__title {
  margin-block: 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.games__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: flex-start;
}

.game-card {
  --game-icon: clamp(124px, 28vw, 160px);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 0.95rem);
  max-width: calc(var(--game-icon) + 4px);
}

.game-card__icon-wrap {
  width: var(--game-icon);
  border-radius: 22%;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.game-card__icon {
  width: 100%;
  height: auto;
  display: block;
}

.game-card__title {
  margin: 0;
  width: var(--game-icon);
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.game-card__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-card__stores > li {
  margin: 0;
  padding: 0;
}

.game-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-sm);
  color: #fff;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.game-store-btn:hover {
  color: #fff;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  transform: scale(1.04);
}

.game-store-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.game-store-btn__img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.game-store-btn--disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.42;
  border-color: rgba(255, 255, 255, 0.32);
}

.game-store-btn--disabled:hover,
.game-store-btn--disabled:focus,
.game-store-btn--disabled:focus-visible {
  transform: none;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

/* ——— FOOTER ——— */
.site-footer {
  width: 100%;
  box-sizing: border-box;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-inner {
  width: var(--layout-shell-width);
  margin-inline: auto;
  box-sizing: border-box;
  padding: clamp(2rem, 5.5vw, 3.25rem) var(--layout-inner-pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.site-footer__copy {
  margin: 0;
  font-size: clamp(0.8125rem, 1.4vw, 0.875rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__socials > li {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover {
  opacity: 1;
  transform: scale(1.06);
}

.site-footer__social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer__social-link img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

@media (max-width: 520px) {
  .site-footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .site-footer__socials {
    justify-content: center;
  }
}

/* ——— NAV responsive overrides (must be after base .nav) ——— */
@media (max-width: 768px) {
  .header .nav {
    gap: 28px;
  }

  .header .nav a {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .header .nav {
    gap: 20px;
  }

  .header .nav a {
    font-size: 18px;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 360px) {
  .header .nav {
    column-gap: 20px;
    row-gap: 18px;
  }

  .header .nav a {
    font-size: 18px;
    letter-spacing: 0.005em;
  }
}

/* Узкий экран; STACK_MQ в hero-fit.js = max-width: 1024px */
@media (max-width: 1024px) {
  .header-inner,
  .hero-block,
  .newswire-inner,
  .games-inner,
  .site-footer-inner {
    width: auto;
    max-width: var(--layout-max-width);
    margin-inline: var(--layout-viewport-gutter);
  }

  .hero-block {
    --hero-text-size-max: 18px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-image {
    width: 100%;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  /* Только колонка «под фото»: расстояние плашка ↔ кнопка (на широком экране см. .hero-content в min-width: 1025px) */
  .hero-content {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    bottom: auto;
    margin-top: 0;
    padding: 0;
    gap: clamp(20px, 5vw, 32px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    color: white;
  }

  /* Высота по содержимому — без min-height, иначе при маленьком шрифте остаётся пустая серая зона */
  .hero-text-box {
    flex: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    min-height: 0;
  }
}

