/* Bono de Bestfy: misma estructura y jerarquía, con las superficies de BestfyPlay. */
body .apuesta-container.bf-bonus-promotion {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #46536f;
  border-radius: 24px;
  background: #303a54;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  font-family: Manrope, Arial, sans-serif;
  container: bf-bonus / inline-size;
}
body .bf-bonus-promotion, body .bf-bonus-promotion * { box-sizing: border-box; }
body .bf-bonus-promotion .bf-bonus-columns { display: flex; flex-wrap: wrap; width: 100%; }
body .bf-bonus-promotion .bf-bonus-brand {
  position: relative;
  display: flex;
  flex: 5 1 420px;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 36px;
  overflow: hidden;
  background: var(--bf-bonus-brand);
}
/* El contraste de cada marca prevalece sobre los estilos globales del tema. */
body .apuesta-container.bf-bonus-promotion .bf-bonus-brand,
body .apuesta-container.bf-bonus-promotion .bf-bonus-brand * { color: var(--bf-bonus-brand-text) !important; }
body .bf-bonus-promotion .bf-bonus-brand::before,
body .bf-bonus-promotion .bf-bonus-brand::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
body .bf-bonus-promotion .bf-bonus-brand::before { width: 175px; height: 175px; right: -45px; bottom: -45px; background: rgba(255,255,255,.06); }
body .bf-bonus-promotion .bf-bonus-brand::after { width: 110px; height: 110px; right: -25px; top: -25px; background: rgba(255,255,255,.08); filter: blur(20px); }
body .bf-bonus-promotion .bf-bonus-brand-content { position: relative; z-index: 1; min-width: 0; }
body .bf-bonus-promotion .bf-bonus-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; margin-bottom: 28px; text-decoration: none; }
body .bf-bonus-promotion .bf-bonus-heading strong { min-width: 0; font-size: 20px; line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; }
body .bf-bonus-promotion .bf-bonus-heading img { display: block; flex-shrink: 0; width: 80px; height: auto; max-height: 70px; object-fit: contain; border-radius: 8px; }
body .bf-bonus-promotion .bf-bonus-label { display: block; margin-bottom: 8px; opacity: .85; font-size: 12px; line-height: 1.3; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-offer { display: block; margin: 0 0 8px; overflow: visible; -webkit-line-clamp: unset; font-size: clamp(28px,4vw,38px); line-height: 1.15; font-weight: 900; letter-spacing: -.025em; overflow-wrap: anywhere; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-conditions { display: block; margin: 0; overflow: visible; -webkit-line-clamp: unset; opacity: .85; font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: .04em; overflow-wrap: anywhere; }
body .bf-bonus-promotion .bf-bonus-details { display: flex; flex: 7 1 580px; flex-direction: column; min-width: 0; padding: 36px; background: #303a54; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-details-title { display: block; margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid #46536f; color: #c1c9db !important; font-size: 12px; line-height: 1.25; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
body .bf-bonus-promotion .bf-bonus-detail-list { display: flex; flex-direction: column; gap: 14px; }
body .bf-bonus-promotion .bf-bonus-detail { min-width: 0; padding: 15px; border: 1px solid #46536f; border-radius: 12px; background: #242a3e; overflow-wrap: anywhere; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-detail-label { display: block; margin-bottom: 5px; color: #c1c9db !important; font-size: 11px; line-height: 1.3; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-detail-value { color: #fff; font-size: 14px; line-height: 1.5; font-weight: 800; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-detail-value,
body .apuesta-container.bf-bonus-promotion .bf-bonus-detail-value * { color: #fff !important; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-detail-value a,
body .apuesta-container.bf-bonus-promotion .bf-bonus-detail-value a * { color: #61e85f !important; }
body .bf-bonus-promotion .bf-bonus-detail-value > :last-child { margin-bottom: 0; }
body .bf-bonus-promotion .bf-bonus-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #46536f; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-claim { display: inline-flex; flex: 1 1 260px; align-items: center; justify-content: center; gap: 8px; max-width: 100%; padding: 14px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--bf-bonus-action); font-size: 15px; line-height: 1.4; font-weight: 800; text-align: center; text-decoration: none; box-shadow: 0 4px 8px rgba(0,0,0,.08); overflow-wrap: anywhere; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-claim,
body .apuesta-container.bf-bonus-promotion .bf-bonus-claim * { color: var(--bf-bonus-action-text) !important; }
body .bf-bonus-promotion .bf-bonus-claim svg { display: block; flex-shrink: 0; width: 16px; height: 16px; }
body .bf-bonus-promotion .bf-bonus-claim:hover { filter: brightness(1.1); }
body .apuesta-container.bf-bonus-promotion a.bf-bonus-terms { flex-shrink: 0; color: #61e85f !important; font-size: 12px; line-height: 1.5; font-weight: 600; text-decoration: underline; }
body .bf-bonus-promotion a:focus-visible { outline: 2px solid #61e85f; outline-offset: 3px; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 24px; border: 0; border-top: 1px solid #46536f; border-radius: 0; background: #242a3e; text-align: center; box-shadow: none; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-legal-text { color: #c1c9db !important; font-size: 11px; line-height: 1.5; font-weight: 500; }
body .bf-bonus-promotion .bf-bonus-legal-icons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 100%; }
body .bf-bonus-promotion .bf-bonus-legal-icons a { display: block; max-width: 100%; }
body .apuesta-container.bf-bonus-promotion .bf-bonus-legal-icons img { display: block; width: auto; max-width: 100%; height: 23px; object-fit: contain; border-radius: 0; }
@container bf-bonus (max-width: 520px) {
  body .bf-bonus-promotion :is(.bf-bonus-brand, .bf-bonus-details) { padding: 24px; }
  body .bf-bonus-promotion .bf-bonus-heading { flex-wrap: wrap; gap: 12px; }
  body .bf-bonus-promotion .bf-bonus-heading strong { flex: 1 1 150px; }
  body .bf-bonus-promotion .bf-bonus-legal { justify-content: center; }
}
