/**
 * bonus-banner.css — BEM: bonus-banner, bonus-banner__*
 * The image is always a background layer behind the text.
 * Mobile (<768px): the banner's height is driven by the TEXT content, not
 * a fixed crop — the image fills whatever height that turns out to be
 * (object-fit: cover), so the text always has as much room as it needs.
 * Desktop/tablet (>=768px): original behavior — image at natural height
 * (never cropped), text centered over it behind a radial scrim.
 */

.bonus-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
}

.bonus-banner__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bonus-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bonus-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(7, 11, 29, 0.82) 0%, rgba(7, 11, 29, 0.62) 45%, rgba(7, 11, 29, 0.35) 100%);
}

.bonus-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: clamp(1.5rem, 6vw, 2rem);
  min-height: clamp(220px, 55vw, 300px);
}

@media (min-width: 768px) {
  .bonus-banner__media {
    position: relative;
    inset: auto;
  }

  .bonus-banner__image {
    height: auto;
    object-fit: initial;
  }

  .bonus-banner__scrim {
    background: radial-gradient(ellipse at center, rgba(7, 11, 29, 0.78) 0%, rgba(7, 11, 29, 0.55) 45%, rgba(7, 11, 29, 0.25) 100%);
  }

  .bonus-banner__content {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    max-width: 34rem;
    margin: 0 auto;
  }
}

.bonus-banner__eyebrow {
  color: var(--color-accent-bg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-small);
  margin-bottom: 0;
}

.bonus-banner__amount {
  color: var(--color-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: 0;
}

.bonus-banner__note {
  color: var(--color-white);
  font-size: var(--font-size-small);
  margin-bottom: 0.5rem;
}

.bonus-banner__cta {
  margin-top: 0.5rem;
}
