.promo-slide,
.promo-bottom {
  display: none !important;
}

.treasure-offer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 3, 8, .64);
  -webkit-backdrop-filter: blur(12px) brightness(.62);
  backdrop-filter: blur(12px) brightness(.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.treasure-offer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.treasure-offer-dialog {
  position: relative;
  width: min(820px, calc(100vw - 40px), calc((100vh - 40px) * 1.3333));
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 86, .65);
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .8), 0 0 48px rgba(240, 169, 45, .28);
  transform: translateY(18px) scale(.96);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.treasure-offer-overlay.is-open .treasure-offer-dialog {
  transform: none;
}

.treasure-offer-dialog:focus {
  outline: none;
}

.treasure-offer-media,
.treasure-offer-media::after {
  position: absolute;
  inset: 0;
}

.treasure-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.treasure-offer-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(45, 21, 4, .24) 0%, rgba(45, 21, 4, .08) 40%, transparent 62%);
}

.treasure-offer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 48%;
  min-height: 100%;
  padding: clamp(28px, 4vw, 48px);
}

.treasure-offer-kicker {
  margin: 0 0 14px;
  color: #f7c85a;
  font: 900 .78rem/1.2 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.treasure-offer-title {
  margin: 0;
  color: #fff9e9;
  font: 950 clamp(2.45rem, 5.3vw, 5.15rem)/.9 Arial Black, Impact, sans-serif;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 3px 5px rgba(0, 0, 0, .96), 0 8px 24px rgba(0, 0, 0, .62);
}

.treasure-offer-title em {
  display: block;
  color: #f7c85a;
  font-style: normal;
}

.treasure-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 28px;
  padding: 0 28px;
  border: 1px solid #ffe49c;
  border-radius: 12px;
  color: #161006;
  background: linear-gradient(180deg, #ffe580 0%, #eaa72a 100%);
  box-shadow: 0 8px 0 #8c520d, 0 18px 34px rgba(221, 151, 31, .34);
  font: 950 .82rem/1 Arial, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease;
}

.treasure-offer-cta:hover,
.treasure-offer-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #8c520d, 0 22px 40px rgba(221, 151, 31, .42);
}

.treasure-offer-close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 7, 5, .46);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: .9rem;
  line-height: 1;
  padding: 0;
}

.treasure-offer-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 9px;
  width: auto;
  min-width: 132px;
  max-width: calc(100vw - 36px);
  height: 58px;
  padding: 6px 17px 6px 7px;
  border: 1px solid rgba(141, 255, 50, .84);
  border-radius: 18px;
  color: #f8fff2;
  background:
    linear-gradient(145deg, rgba(162, 76, 255, .3), transparent 52%),
    #090a0f;
  box-shadow:
    0 14px 42px rgba(0, 0, 0, .68),
    0 0 0 4px rgba(141, 255, 50, .08),
    0 0 26px rgba(141, 255, 50, .24),
    inset 0 0 18px rgba(162, 76, 255, .13);
  cursor: pointer;
  font: 800 .72rem/1 system-ui, sans-serif;
  letter-spacing: .13em;
  isolation: isolate;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.treasure-offer-fab::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(141, 255, 50, .34);
  border-radius: 22px;
  opacity: 0;
  pointer-events: none;
}

.treasure-offer-fab:not(.is-seen)::before {
  animation: treasure-fab-signal 3.6s ease-out infinite;
}

.treasure-offer-fab::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b744ff;
  box-shadow: 0 0 12px #b744ff;
}

.treasure-offer-fab-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #081005;
  background: linear-gradient(145deg, #baff55, #75f51d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 0 18px rgba(141, 255, 50, .34);
  font-size: 1.25rem;
  filter: none;
}

.treasure-offer-fab-label {
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(141, 255, 50, .34);
}

.treasure-offer-fab:hover,
.treasure-offer-fab:focus-visible {
  transform: translateY(-3px);
  border-color: #8dff32;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, .72),
    0 0 0 4px rgba(141, 255, 50, .12),
    0 0 34px rgba(141, 255, 50, .34),
    inset 0 0 22px rgba(162, 76, 255, .2);
}

@keyframes treasure-fab-signal {
  0%, 60% { opacity: 0; transform: scale(.96); }
  72% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.12); }
}

body.treasure-offer-lock {
  overflow: hidden;
}

@media (max-width: 700px) {
  .treasure-offer-overlay {
    place-items: center;
    padding: 12px;
    background: rgba(2, 3, 8, .56);
    -webkit-backdrop-filter: blur(10px) brightness(.66);
    backdrop-filter: blur(10px) brightness(.66);
  }
  .treasure-offer-dialog {
    width: min(100%, 520px, calc((100vh - 24px) * 1.3333));
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .82), 0 0 30px rgba(141, 255, 50, .12);
  }
  .treasure-offer-media::after {
    background: linear-gradient(90deg, rgba(45, 21, 4, .28) 0%, rgba(45, 21, 4, .08) 46%, transparent 68%);
  }
  .treasure-offer-media {
    position: absolute;
    min-height: 0;
  }
  .treasure-offer-media img { object-position: center; }
  .treasure-offer-content {
    justify-content: center;
    width: 53%;
    min-width: 0;
    min-height: 100%;
    padding: 18px 8px 18px 16px;
  }
  .treasure-offer-kicker {
    margin-bottom: 6px;
    font-size: clamp(.48rem, 2.4vw, .65rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, .95);
  }
  .treasure-offer-title {
    max-width: 100%;
    font-size: clamp(.92rem, 5vw, 1.62rem);
    line-height: .98;
    overflow-wrap: anywhere;
  }
  .treasure-offer-title em { display: inline; }
  .treasure-offer-cta {
    width: 100%;
    min-height: 36px;
    margin-top: 12px;
    padding: 0 8px;
    font-size: clamp(.58rem, 2.8vw, .72rem);
    box-shadow: 0 4px 0 #8c520d, 0 10px 22px rgba(221, 151, 31, .28);
  }
  .treasure-offer-close { top: 7px; right: 7px; width: 20px; height: 20px; font-size: .72rem; }
  .treasure-offer-fab {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    padding: 4px;
    gap: 0;
    border-radius: 50%;
  }
  .treasure-offer-fab-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
  }
  .treasure-offer-fab-label { display: none; }
  .treasure-offer-fab::after { top: 1px; right: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .treasure-offer-overlay,
  .treasure-offer-dialog,
  .treasure-offer-cta,
  .treasure-offer-fab { transition: none; }
  .treasure-offer-fab::before { animation: none; }
}
