.amb-popup {
  width: 100%;
  height: 100%;
  display: none;

  background-color: rgb(0, 0, 0, 0.8);

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999999;
}

div.amb-popup__container {
  width: 90%;
  max-width: 720px;
  max-height: 90vh;

  overflow: hidden;
  display: flex;
  background: var(--quaternary);
  flex-direction: column;

  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  &::after {
    content: '';
    z-index: 0;
    opacity: 0.28;
    pointer-events: none;
    width: 100%;
    height: 100%;
    max-width: 720px;
    max-height: 90vh;
    position: absolute;
    background: url('./bg-highlighted.svg');
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
  }
}

.amb-popup__title {
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(90.49deg, #d6b858 1.84%, #e5d197 26.16%, #ead9aa 39.03%, #d7ba5d 62.4%, #e9d7a5 83.38%, #d8bb5f 99.59%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  position: relative;
  z-index: 1;
  pointer-events: none;

  padding: 25px 55px 0 55px;
}

.amb-popup__content {
  overflow: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;

  padding-inline: 5.5rem;
  padding-bottom: 2.5rem;
  pointer-events: none;
}

.amb-popup__text-content {
  width: 80%;

  color: white;
  text-align: center;

  margin: 25px auto 20px;
}

.amb-popup__button {
  pointer-events: auto;
  background: var(--tertiary) !important;
  color: var(--black) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  width: fit-content !important;
  padding: 1.6rem !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  line-height: 100% !important;
  transition: background .3s !important;
  display: flow-root !important;
  position: relative !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.amb-popup__close-cross {
  color: #fff;
  cursor: pointer;
  font-size: 45px;
  font-weight: 400;
  line-height: 31px;

  position: absolute;
  top: 20px;
  right: 20px;
}
