.offer-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}
.offer-overlay.hide {
  display: none;
}
.offer-overlay.active {
  pointer-events: auto;
}
.offer-overlay .overlay-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.blured-bg-offer {
  width: 100vw;
  height: 100vh;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  z-index: 100;
  transition: opacity 480ms cubic-bezier(0.16, 0.92, 0.22, 1), background 480ms cubic-bezier(0.16, 0.92, 0.22, 1), backdrop-filter 480ms cubic-bezier(0.16, 0.92, 0.22, 1);
}

.offer-overlay.active .blured-bg-offer {
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14.541967392px);
  opacity: 1;
}

.offer-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 240px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform-origin: center center;
  -webkit-transform-origin: center center;
  will-change: transform, width, height, opacity;
  transition: ease all;
}
.offer-dialog.hide {
  display: none;
}
.offer-dialog.opened {
  opacity: 1;
  pointer-events: auto;
  width: calc(100vw - 32px);
  max-width: 342px;
  height: 366px;
  transform: translate(calc(-50% - 342px), -50%) rotate(0deg) scale(1);
  -webkit-transform: translate(calc(-50% - 342px), -50%) rotate(0deg) scale(1);
}
.offer-dialog.opening {
  opacity: 1;
  animation: offerMoveOpen 800ms ease both;
  -webkit-animation: offerMoveOpen 800ms ease both;
}
.offer-dialog.closing {
  opacity: 1;
  animation: offerMoveClose 800ms ease forwards;
  -webkit-animation: offerMoveClose 800ms ease forwards;
}

.offer-dialog-rotator {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: right center;
  -webkit-transform-origin: right center;
  perspective: 2000px;
}

.offer-dialog.opening .offer-dialog-rotator {
  animation: offerRotateOpen 700ms ease both;
  -webkit-animation: offerRotateOpen 700ms ease both;
}

.offer-dialog.closing .offer-dialog-rotator {
  animation: offerRotateClose 700ms ease both;
  -webkit-animation: offerRotateClose 700ms ease both;
}

.offer-dialog.opened .offer-dialog-rotator {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.offer-dialog-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.offer-dialog-front {
  background: #000;
  border: 4px solid #FFF;
  box-sizing: border-box;
  transform-origin: center center;
  -webkit-transform-origin: center center;
}
.offer-dialog-front img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.offer-dialog-back {
  background: #FFF;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.offer-dialog-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #FFF;
  overflow: hidden;
}

.offer-close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  z-index: 3;
}

.offer-pattern {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  flex-shrink: 0;
  align-self: stretch;
  aspect-ratio: 243/158;
  z-index: 0;
  pointer-events: none;
}

.offer-image {
  width: 90px;
  height: 120px;
  border-radius: 9.474px;
  margin-bottom: 14px;
  object-fit: cover;
  z-index: 1;
}

.offer-title {
  color: #000;
  text-align: center;
  font-family: "Bangers", system-ui;
  font-size: 22px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 6px;
  z-index: 1;
}

.offer-description {
  color: #000;
  text-align: center;
  font-family: "Bangers", system-ui;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  margin: 0 0 14px 0;
  padding: 0;
  list-style: none;
  z-index: 1;
}

.offer-select-button {
  display: flex;
  height: 46px;
  padding: 6px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  cursor: pointer;
  border: 2px solid #000;
  background: #FF0026;
  box-shadow: 2px 2px 0 0 #000;
  color: #FFF;
  text-align: center;
  font-family: "Bangers", system-ui;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  z-index: 1;
}

.offer-terms {
  color: #000;
  text-align: center;
  font-family: "Bangers", system-ui;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin-top: 6px;
  cursor: pointer;
}

.character.offer-card-hidden {
  visibility: hidden;
}

@media only screen and (max-width: 767px) {
  .offer-dialog {
    width: 90px;
    height: 120px;
  }
  .offer-dialog.opening {
    opacity: 1;
    animation: offerMoveOpen 800ms ease both;
    -webkit-animation: offerMoveOpen 800ms ease both;
  }
  .offer-dialog.closing {
    opacity: 1;
    animation: offerMoveClose 700ms ease forwards;
    -webkit-animation: offerMoveClose 700ms ease forwards;
  }
  .offer-dialog.opened {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  .offer-dialog-rotator {
    transform-origin: center center;
    -webkit-transform-origin: center center;
    perspective: 1000px;
    -webkit-perspective: 1000px;
  }
  .offer-dialog-rotator .offer-dialog.opening .offer-dialog-rotator {
    animation: offerRotateOpen 400ms ease forwards;
    -webkit-animation: offerRotateOpen 400ms ease forwards;
  }
  .offer-dialog-rotator .offer-dialog.closing .offer-dialog-rotator {
    animation: offerRotateClose 700ms ease forwards;
    -webkit-animation: offerRotateClose 700ms ease forwards;
  }
}

/*# sourceMappingURL=offer-dialog.css.map */
