.bf-banner {
  position: fixed;
  z-index: 9999;
  right: 0;
  bottom: 0;
  left: 0;
  color: #fff;
  background: #0f0f12;
  border-top: 1px solid rgba(255, 215, 0, 0.65);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}

.bf-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  min-height: 100px;
  margin: 0 auto;
  padding: 16px 64px 16px 24px;
  box-sizing: border-box;
}

.bf-banner__copy {
  min-width: 0;
}

.bf-banner__badge {
  display: inline-block;
  margin-bottom: 5px;
  padding: 3px 8px;
  color: #0f0f12;
  background: #ffd700;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bf-banner__title {
  margin: 0;
  color: #ffd700;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.bf-banner__description {
  margin: 4px 0 0;
  color: #e5e5e7;
  font-size: 0.95rem;
}

.bf-banner__cta {
  flex: 0 0 auto;
  padding: 12px 24px;
  color: #fff;
  background: #e62e2d;
  border: 1px solid #ff3b30;
  border-radius: 5px;
  box-shadow: 0 4px 16px rgba(255, 59, 48, 0.28);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bf-banner__cta:hover,
.bf-banner__cta:focus {
  color: #fff;
  background: #c91f20;
  box-shadow: 0 5px 20px rgba(255, 59, 48, 0.42);
  text-decoration: none;
  transform: translateY(-1px);
}

.bf-banner__close {
  position: absolute;
  top: 50%;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.bf-banner__close:hover,
.bf-banner__close:focus {
  color: #ffd700;
  border-color: #ffd700;
}

body.close-special-entrance .bf-banner {
  display: none !important;
}

html:not(.bf-campaign-active) .bf-banner {
  display: none !important;
}

html.bf-campaign-active .bf-promo-btn {
  position: relative;
  isolation: isolate;
  color: #ffd700 !important;
  background: linear-gradient(135deg, #242428, #0f0f12) !important;
  border: 1px solid #f5c518 !important;
  box-shadow: 0 3px 12px rgba(245, 197, 24, 0.18);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

html.bf-campaign-active .bf-promo-btn::after {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 6px;
  color: #0f0f12;
  background: #ffd700;
  border-radius: 0 0 0 5px;
  content: "BF DEAL";
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  pointer-events: none;
}

html.bf-campaign-active .bf-promo-btn:hover,
html.bf-campaign-active .bf-promo-btn:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #e62e2d, #b91f1e) !important;
  border-color: #ff3b30 !important;
  box-shadow: 0 5px 18px rgba(255, 59, 48, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .bf-banner__inner {
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px 48px 14px 14px;
    text-align: center;
  }

  .bf-banner__badge {
    margin-bottom: 3px;
  }

  .bf-banner__title {
    font-size: 1.05rem;
  }

  .bf-banner__description {
    font-size: 0.85rem;
  }

  .bf-banner__cta {
    padding: 9px 18px;
    font-size: 0.9rem;
  }

  .bf-banner__close {
    top: 10px;
    right: 10px;
    transform: none;
  }

  html.bf-campaign-active .bf-promo-btn::after {
    font-size: 0.5rem;
  }
}
