[hidden] {
  display: none !important;
}

body.offer-prompt-open {
  overflow: hidden;
}

.promo-offer {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 40%, rgba(11, 99, 246, .18), transparent 32rem),
    rgba(4, 8, 16, .58);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s var(--ease), visibility .24s var(--ease);
}

.promo-offer.is-visible {
  opacity: 1;
  visibility: visible;
}

.promo-offer__surface {
  position: relative;
  width: min(100%, 500px);
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(125, 178, 255, .30);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 8%, rgba(11, 99, 246, .22), transparent 14rem),
    radial-gradient(circle at 86% 100%, rgba(14, 159, 110, .18), transparent 16rem),
    rgba(14, 20, 31, .94);
  color: #fff;
  box-shadow:
    0 30px 110px rgba(0, 0, 0, .58),
    0 0 70px rgba(11, 99, 246, .15),
    inset 0 0 0 1px rgba(255, 255, 255, .045);
  transform: translateY(18px) scale(.98);
  transition: transform .28s var(--ease);
}

.promo-offer.is-visible .promo-offer__surface {
  transform: translateY(0) scale(1);
}

.promo-offer__surface::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(125, 178, 255, .32), transparent 32%, rgba(14, 159, 110, .18) 68%, rgba(11, 99, 246, .25));
  opacity: .7;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.promo-offer__close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 178, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .065);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.promo-offer__close:hover,
.promo-offer__close:focus-visible {
  transform: rotate(8deg) scale(1.04);
  border-color: rgba(125, 178, 255, .48);
  background: rgba(11, 99, 246, .15);
  outline: none;
}

.promo-offer__mark {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(125, 178, 255, .26);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  color: #b9d5ff;
  font-size: 25px;
  text-shadow: 0 0 18px rgba(125, 178, 255, .86);
  box-shadow: 0 18px 46px rgba(11, 99, 246, .14), inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.promo-offer__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #8db8ff;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.promo-offer__title {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  padding-left: 52px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 4vw, 2.35rem);
  line-height: 1.28;
  text-shadow: 0 0 26px rgba(125, 178, 255, .32);
}

.promo-offer__lead {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.9;
}

.promo-offer__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #d7e2f0;
  font-size: 1rem;
  line-height: 2;
}

.promo-offer__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.promo-offer__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .94rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.promo-offer__button:hover,
.promo-offer__button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.promo-offer__button--primary {
  border: 1px solid rgba(125, 178, 255, .55);
  background: linear-gradient(135deg, #0b63f6, #084dbd);
  color: #fff;
  box-shadow: 0 18px 44px rgba(11, 99, 246, .30);
}

.promo-offer__button--primary:hover,
.promo-offer__button--primary:focus-visible {
  box-shadow: 0 22px 54px rgba(11, 99, 246, .38);
}

.promo-offer__button--secondary {
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.promo-offer__button--secondary:hover,
.promo-offer__button--secondary:focus-visible {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .10);
}

.promo-offer-recall {
  position: fixed;
  top: 88px;
  right: 50%;
  z-index: 220;
  width: min(440px, calc(100% - 28px));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 14px;
  border: 1px solid rgba(125, 178, 255, .28);
  border-radius: 999px;
  background: rgba(12, 18, 28, .90);
  color: #fff;
  box-shadow: 0 18px 64px rgba(0, 0, 0, .42), 0 0 44px rgba(11, 99, 246, .14);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transform: translateX(50%) translateY(-12px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease), border-color .2s var(--ease);
}

.promo-offer-recall.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.promo-offer-recall:hover,
.promo-offer-recall:focus-visible {
  border-color: rgba(125, 178, 255, .46);
  outline: none;
}

.promo-offer-recall span {
  font-family: var(--font-display);
  font-weight: 800;
  text-shadow: 0 0 20px rgba(125, 178, 255, .46);
}

.promo-offer-recall small {
  color: #aab8ca;
  font-size: 12px;
  white-space: nowrap;
}

.promo-offer-recall i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0e9f6e, #0b63f6, #8db8ff);
  box-shadow: 0 0 18px rgba(125, 178, 255, .70);
  transform-origin: right center;
  transform: scaleX(0);
}

.promo-offer-recall.is-counting i {
  animation: offerRecallProgress 10s linear forwards;
}

@keyframes offerRecallProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 620px) {
  .promo-offer {
    align-items: end;
    place-items: end center;
    padding: 0 11px max(14px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 50% 100%, rgba(11, 99, 246, .18), transparent 22rem),
      rgba(4, 8, 16, .38);
    backdrop-filter: blur(7px);
  }

  .promo-offer__surface {
    width: 100%;
    max-height: calc(100svh - 106px);
    overflow-y: auto;
    padding: 24px 20px 20px;
    border-radius: 28px;
    transform: translateY(28px);
    box-shadow: 0 -18px 80px rgba(0, 0, 0, .54), 0 0 54px rgba(11, 99, 246, .16);
  }

  .promo-offer__close {
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
  }

  .promo-offer__mark {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    border-radius: 18px;
  }

  .promo-offer__title {
    padding-left: 46px;
    font-size: 1.7rem;
  }

  .promo-offer__text {
    font-size: .95rem;
    line-height: 1.95;
  }

  .promo-offer__actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .promo-offer__button {
    min-height: 52px;
  }

  .promo-offer-recall {
    top: 78px;
    width: calc(100% - 22px);
    border-radius: 22px;
    padding: 12px 14px 15px;
  }

  .promo-offer-recall span,
  .promo-offer-recall small {
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-offer,
  .promo-offer__surface,
  .promo-offer__button,
  .promo-offer-recall {
    transition-duration: .001ms !important;
  }

  .promo-offer-recall.is-counting i {
    animation: none;
    transform: scaleX(1);
  }
}
