/* bonus-banner.css — Golden Play France */

.bonus-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  margin-block: var(--space-xl);
}

.bonus-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

.bonus-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.35) 0%, rgba(19, 19, 19, 0.75) 65%, rgba(19, 19, 19, 0.9) 100%);
}

.bonus-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.bonus-banner__title {
  color: var(--color-white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  margin: 0;
}

.bonus-banner__amount {
  color: var(--color-heading);
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
  margin: 0;
}

.bonus-banner__note {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0 0 0.4rem;
  max-width: 26rem;
}

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

/* Mobile uniquement (<768px) : même principe que le hero — le banner devient
   un arrière-plan derrière le texte/bouton, dont la hauteur est désormais
   fixée par le contenu (flux normal) plutôt que par le ratio de l'image. */
@media (max-width: 767px) {
  .bonus-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .bonus-banner__overlay {
    z-index: 0;
  }
  .bonus-banner__content {
    position: relative;
    z-index: 1;
    padding-block: var(--space-lg);
  }
}
