.bole-promo-active {
  padding-bottom: clamp(86px, 17vw, 128px);
}

.bole-footer-promo,
.bole-popup-backdrop {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bole-footer-promo *,
.bole-popup-backdrop * {
  box-sizing: border-box;
}

.bole-footer-promo {
  position: fixed;
  z-index: 2147483000;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(255, 214, 94, 0.45);
  border-radius: 8px;
  background: #05070d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44);
  overflow: hidden;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.bole-footer-promo.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.bole-footer-promo a {
  display: block;
  min-height: 64px;
}

.bole-footer-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.bole-footer-close,
.bole-popup-close {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.bole-footer-close {
  top: 6px;
  right: 6px;
}

.bole-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 8, 18, 0.62);
  opacity: 0;
  transition: opacity 180ms ease;
}

.bole-popup-backdrop.is-visible {
  opacity: 1;
}

.bole-popup {
  position: relative;
  width: min(94vw, 430px);
  color: #fff;
  border: 1px solid rgba(255, 232, 151, 0.45);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 214, 94, 0.28), transparent 28%),
    linear-gradient(145deg, #101529 0%, #351064 52%, #0b1020 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  transform: translateY(14px) scale(0.985);
  transition: transform 180ms ease;
}

.bole-popup-backdrop.is-visible .bole-popup {
  transform: translateY(0) scale(1);
}

.bole-popup-close {
  top: 10px;
  right: 10px;
}

.bole-popup-inner {
  padding: 22px;
}

.bole-popup-kicker {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 214, 94, 0.44);
  border-radius: 999px;
  color: #ffe89b;
  background: rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 800;
}

.bole-popup-title {
  margin: 0;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.bole-popup-title strong {
  color: #ffd84f;
}

.bole-popup-subtitle {
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.55;
}

.bole-offer-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 13px;
}

.bole-offer-tab {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.bole-offer-tab.is-active {
  color: #171207;
  border-color: #ffe178;
  background: linear-gradient(180deg, #ffe790, #ffb735);
}

.bole-offer-panel {
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.bole-offer-panel h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.bole-offer-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.bole-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 14px;
  border-radius: 8px;
  color: #160d05;
  background: linear-gradient(180deg, #ffe790, #ff9e2c);
  box-shadow: 0 10px 24px rgba(255, 157, 43, 0.28);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.bole-popup-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 520px) {
  .bole-promo-active {
    padding-bottom: clamp(72px, 23vw, 106px);
  }

  .bole-footer-promo {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .bole-popup-inner {
    padding: 18px 15px 16px;
  }

  .bole-offer-tabs {
    gap: 5px;
  }

  .bole-offer-tab {
    min-height: 44px;
    padding: 4px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bole-footer-promo,
  .bole-popup-backdrop,
  .bole-popup {
    transition: none;
  }
}
