/* bonus-banner.css */
/* Мобильная версия (база): картинка — сплошной фон (object-fit: cover) на
   всю высоту блока, текст и кнопка — по центру поверх неё.
   Планшет/десктоп (от 768px): картинка возвращена к исходному размеру —
   высоту диктует сама картинка (object-fit: contain, без обрезания), а
   текст с кнопкой просто накладываются по центру поверх неё. */
.bonus-banner {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-bg-dark);
}

.bonus-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  line-height: 0;
}

.bonus-banner__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--color-bg-dark);
}

.bonus-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 11, 29, 0.55) 0%, rgba(7, 11, 29, 0.35) 45%, rgba(7, 11, 29, 0.6) 100%);
  pointer-events: none;
}

.bonus-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  padding: 24px 20px;
}

.bonus-banner__eyebrow {
  color: var(--color-heading-gold);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-small);
  margin: 0;
}

.bonus-banner__amount {
  color: var(--color-white);
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  margin: 0 0 10px;
}

@media (min-width: 768px) {
  .bonus-banner {
    min-height: 0;
  }

  .bonus-banner__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .bonus-banner__bg {
    height: auto;
    max-height: 60vh;
    object-fit: contain;
  }

  .bonus-banner__content {
    position: absolute;
    inset: 0;
    justify-content: center;
    max-width: 640px;
    padding: 32px 40px;
  }
}
