.bt-home-promo-open { overflow: hidden; }

.bt-home-promo {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border, #e2e8e8);
  border-radius: 24px;
  background: var(--surface, #fff);
  color: var(--text, #172433);
  box-shadow: 0 26px 80px rgba(10, 29, 34, .35);
}

.bt-home-promo::backdrop { background: rgba(10, 20, 29, .62); }
.bt-home-promo [hidden] { display: none; }

.bt-home-promo__visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  height: clamp(130px, 24dvh, 200px);
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 0%, rgba(137, 244, 213, .26), transparent 53%),
    linear-gradient(115deg, #0b494b, #0d7165);
}

.bt-home-promo__visual::before,
.bt-home-promo__visual::after {
  position: absolute;
  z-index: -1;
  width: 275px;
  height: 275px;
  border: 1px solid rgba(198, 255, 236, .24);
  border-radius: 50%;
  content: '';
}

.bt-home-promo__visual::before { top: -145px; right: -50px; }
.bt-home-promo__visual::after { bottom: -165px; left: -25px; }

.bt-home-promo__mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 22px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  box-shadow: 0 12px 26px rgba(5, 43, 41, .24);
}

.bt-home-promo__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b494b;
}

.bt-home-promo__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #173333;
  cursor: pointer;
}

.bt-home-promo__close:hover { background: #e6f3f0; }

.bt-home-promo__body {
  padding: clamp(20px, 5vw, 34px);
  overflow-wrap: anywhere;
}

.bt-home-promo__title {
  margin: 0;
  font-size: clamp(23px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.bt-home-promo__message {
  margin: 12px 0 0;
  color: var(--text-2, #4b5563);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

.bt-home-promo__terms {
  margin: 12px 0 0;
  color: var(--text-2, #4b5563);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.bt-home-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bt-home-promo__action {
  display: inline-flex;
  flex: 1 1 172px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--border-2, #d9e1e1);
  border-radius: 11px;
  color: var(--text, #172433);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.bt-home-promo__register,
.bt-home-promo--member .bt-home-promo__listing {
  border-color: transparent;
  background: #0c6c61;
  color: #fff;
}

.bt-home-promo__register:hover,
.bt-home-promo--member .bt-home-promo__listing:hover { background: #09584f; }
.bt-home-promo:not(.bt-home-promo--member) .bt-home-promo__listing:hover { background: var(--surface-3, #edf4f2); }
.bt-home-promo :focus-visible { outline: 3px solid #188a83; outline-offset: 3px; }

@media (max-width: 420px) {
  .bt-home-promo { border-radius: 18px; }
  .bt-home-promo__actions { margin-top: 18px; }
  .bt-home-promo__action { flex-basis: 100%; }
}
