@font-face {
  font-family: "NotoSerif-Regular";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/font/NotoSerif-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat-Regular";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/font/Montserrat-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat-Medium";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/font/Montserrat-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat-Bold";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/font/Montserrat-Bold.woff2") format("woff2");
  font-display: swap;
}
.popup-anket {
  z-index: 7;
  position: fixed;
  right: 16px;
  bottom: 24px;
  left: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 160px;
  padding: 14px 20px 14px 96px;
  border: 2px solid #FFF;
  border-radius: 20px;
  background: radial-gradient(circle at 101px 137px, rgba(176, 58, 98, 0.45) 0, rgba(176, 58, 98, 0) 11px), radial-gradient(circle at 57px 61px, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 54px), #FBE9EE;
  box-shadow: 0 12px 32px rgba(155, 37, 65, 0.2);
  overflow: hidden;
  animation: popup-anket-in 0.4s ease both;
}
.popup-anket[hidden] {
  display: none;
}
.popup-anket::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../svg/popup-anket/sparkle-1.svg") 14px 22px/18px 18px no-repeat, url("../svg/popup-anket/sparkle-2.svg") 30px 46px/10px 10px no-repeat, url("../svg/popup-anket/sparkle-3.svg") 86px 30px/14px 14px no-repeat, url("../svg/popup-anket/sparkle-4.svg") 92px 92px/12px 12px no-repeat, url("../svg/popup-anket/sparkle-5.svg") 18px 112px/9px 9px no-repeat, url("../svg/popup-anket/sparkle-4.svg") right 52px top 14px/12px 12px no-repeat, url("../svg/popup-anket/sparkle-6.svg") right 158px top 70px/8px 8px no-repeat;
  opacity: 0.85;
  filter: blur(1px);
  pointer-events: none;
}
.popup-anket::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border-radius: 60px;
  background: linear-gradient(112deg, rgba(255, 233, 238, 0.92) 35.63%, rgba(155, 37, 92, 0.92) 68.66%);
  opacity: 0.35;
  filter: blur(24px);
  pointer-events: none;
}
.popup-anket__trophy {
  position: absolute;
  bottom: 14px;
  left: 24px;
  width: 39.5px;
  height: 120px;
}
.popup-anket__trophy::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 42px;
  height: 7px;
  border-radius: 14.5px;
  background-color: rgba(107, 21, 41, 0.28);
  filter: blur(3px);
}
.popup-anket__trophy-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.popup-anket__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.popup-anket__category {
  display: inline-block;
  max-width: calc(100% - 24px);
  margin-bottom: 8px;
  padding: 5px 11px;
  border: 1px solid #DAAD57;
  border-radius: 18.5px;
  background-color: rgba(255, 255, 255, 0.6);
  color: #9B2541;
  font-family: "Montserrat-Medium";
  font-size: 9px;
  line-height: normal;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.popup-anket__title {
  margin: 0 28px 10px 0;
  color: #9B2541;
  font-family: "NotoSerif-Regular";
  font-size: 15px;
  line-height: 21px;
}
.popup-anket__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 1;
  gap: 8px;
  align-self: flex-start;
  max-width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 32px;
  background-color: #9B2541;
  color: #FFF;
  font-family: "Montserrat-Regular";
  font-size: 13px;
  white-space: nowrap;
  line-height: normal;
  text-decoration: none;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
}
.popup-anket__button::after {
  content: "";
  flex: none;
  width: 10px;
  height: 16px;
  background: url("../svg/popup-anket/drop.svg") center/contain no-repeat;
}
.popup-anket__button:hover, .popup-anket__button:focus, .popup-anket__button:focus-visible {
  background-color: rgb(130.296875, 31.103125, 54.640625);
  color: #FFF;
}
.popup-anket__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: url("../svg/popup-anket/close.svg") center/14px 14px no-repeat;
  cursor: pointer;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
}
.popup-anket__close:hover, .popup-anket__close:focus-visible {
  filter: brightness(0.7);
}
.popup-anket:not([hidden]) ~ .back-to-top-button {
  bottom: calc(var(--popup-anket-height, 0px) + 40px);
}

@keyframes popup-anket-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 359.99px) {
  .popup-anket {
    padding-right: 14px;
  }
  .popup-anket__button {
    padding: 0 12px;
    font-size: 12px;
  }
}

@media screen and (min-width: 412px) {
  .popup-anket {
    right: 16px;
    left: 16px;
    margin: 0 auto;
    width: calc(100% - 32px);
    max-width: 380px;
    align-items: flex-start;
    min-height: 176px;
    padding: 16px 21px 16px 108px;
  }
  .popup-anket__trophy {
    bottom: 16px;
    left: 34px;
    width: 47.39px;
    height: 144px;
  }
  .popup-anket__trophy::before {
    bottom: -2px;
    width: 50px;
    height: 8px;
  }
  .popup-anket__category {
    margin-bottom: 10px;
    font-size: 10px;
  }
  .popup-anket__title {
    margin-right: 37px;
    margin-bottom: 11px;
    font-size: 16px;
  }
  .popup-anket__button {
    gap: 12px;
    height: 52px;
    padding: 0 22px;
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) {
  .popup-anket {
    right: 24px;
    bottom: 24px;
    left: auto;
    margin: 0;
    width: 380px;
  }
  .popup-anket:not([hidden]) ~ .back-to-top-button {
    bottom: calc(var(--popup-anket-height, 0px) + 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .popup-anket {
    animation: none;
  }
}