@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
  font-family: "Montserrat", sans-serif;
  background-color: #d9d9d9;
  color: #fff;
}

.wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  min-height: 100vh;
  position: relative;
}

.main {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
}
@media (max-width: 992px) {
  .main {
    display: block;
    gap: 0px;
  }
}

.header {
  text-align: center;
  width: 100%;
  padding: 0 15px;
}
@media (max-width: 992px) {
  .header {
    text-align: left;
    margin-bottom: 0;
    margin-bottom: 0px;
    padding-bottom: 0;
    padding-top: 20px;
  }
}

.quiz {
  flex: 0 1 40%;
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 992px) {
  .quiz {
    width: 100%;
    padding: 0;
    margin-top: 15px;
  }
}

.content {
  flex: 0 1 50%;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 992px) {
  .content {
    padding-top: 0px;
    text-align: center;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    display: none;
  }
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  width: 100%;
}
@media (max-width: 992px) {
  .steps {
    gap: 10px;
    margin-bottom: 20px;
  }
}
.steps__item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fff;
  padding-top: 1px;
  font-weight: 500;
  font-size: 25px;
  color: #f16f9e;
  border: 2px solid #f16f9e;
  width: 54px;
  height: 54px;
}
.steps__item img {
  display: none;
}
.steps__item.current {
  color: #fff;
  background-color: #f16f9e;
  border: 2px solid #f16f9e;
}
.steps__line {
  width: 20px;
  background: #f16f9e;
  height: 2px;
}
@media (max-width: 992px) {
  .steps__line {
    width: 15px;
  }
}

.quiz {
  position: relative;
}
.quiz__container {
  max-width: 800px;
  width: 100%;
  padding: 0px 15px;
}
@media (max-width: 992px) {
  .quiz__container {
    padding: 0;
    margin: 0 auto;
  }
}
.quiz__wrapper {
  max-width: 576px;
  width: 100%;
  border-radius: 10px;
  min-height: 510px;
  padding: 20px 20px;
  background: #d9d9d9;
}
@media (max-width: 992px) {
  .quiz__wrapper {
    background: #d9d9d9;
    padding: 0px 15px;
    padding-bottom: 20px;
    min-height: 315px;
    margin-bottom: 10px;
    min-height: 660px;
  }
}
.quiz__form {
  display: none;
  gap: 20px;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  max-width: 550px;
  margin: 0 auto;
  justify-content: center;
}
.quiz__form.active {
  display: grid;
}
.quiz__form_3 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 992px) {
  .quiz__form_3 {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 992px) {
  .quiz__form {
    max-width: 440px;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
}
.quiz__answer {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f16f9e;
  border-radius: 55px;
  height: 50px;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 4px;
  color: #fff;
  position: relative;
  width: 100%;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  transition: all 0.3s;
}
.quiz__answer:hover {
  opacity: 0.7;
}
.quiz__content {
  display: flex;
}
.quiz__decor img {
  width: 100%;
  max-width: 250px;
}
@media (max-width: 992px) {
  .quiz__decor img {
    max-width: 110px;
  }
}
@media (max-width: 992px) {
  .quiz__decor {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 0;
  }
}

.quiz__info {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: #000;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .quiz__info {
    font-size: 16px;
  }
}

.quiz__stars {
  grid-template-columns: repeat(5, 52px) !important;
  gap: 12px;
  justify-content: center;
}

.quiz__star {
  width: 52px;
  height: auto;
  border: none;
  background: none;
  cursor: pointer;
  box-shadow: none;
  /* display: block; */
}

.quiz__star svg {
  width: 52px;
  height: 50px;
}

.quiz__star.active svg path {
  transition: all 0.3s;
}

.quiz__star.active svg path {
  fill: #f16f9e;
  fill-opacity: 1;
}

.content {
  text-align: center;
  position: relative;
  justify-content: end;
}
.content__img {
  max-width: 500px;
  text-align: center;
}
.content__img img {
  max-width: 532px;
  width: 100%;
}
@media (max-width: 992px) {
  .content__img img {
    max-width: 250px;
  }
}
@media (max-width: 992px) {
  .content {
    height: auto;
    text-align: center;
    justify-content: center;
  }
}
.content__bg {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(0%, -50%);
  z-index: -1;
}
.content__bg svg {
  width: 100%;
  max-width: 450px;
}
@media (max-width: 992px) {
  .content__bg svg {
    max-width: 205px;
    fill: #fff;
  }
}
@media (max-width: 992px) {
  .content__bg svg path {
    fill: #fff;
  }
}
@media (max-width: 992px) {
  .content__bg {
    z-index: 1;
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@keyframes fade-out-soft {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
  40% {
    transform: scale(1.02);
    opacity: 0.6;
    filter: blur(1px);
  }
  100% {
    transform: scale(1.05);
    opacity: 0;
    filter: blur(3px);
  }
}
@keyframes fade-in-soft {
  0% {
    transform: scale(0.95);
    opacity: 0;
    filter: blur(3px);
  }
  60% {
    transform: scale(1.02);
    opacity: 1;
    filter: blur(0.5px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}
.slide-out {
  animation: fade-out-soft 0.5s ease-in-out forwards;
}

.slide-in {
  animation: fade-in-soft 0.5s ease-in-out forwards;
}

@keyframes slide-out-tic {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}
@keyframes slide-in-tic {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.ticket-value {
  display: inline-block;
  position: relative;
  transition: opacity 0.5s;
}

.slide-out-tic {
  position: relative;
  animation: slide-out-tic 0.5s forwards;
}

.slide-in-tic {
  position: relative;
  animation: slide-in-tic 0.5s forwards;
}

#tickets {
  position: relative;
  width: 32px;
  display: inline-block;
  color: #c52103;
}
@media (max-width: 992px) {
  #tickets {
    width: 27px;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
  z-index: 99;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  max-width: 565px;
  width: 100%;
  padding: 20px;
  padding-top: 15px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  background: #d9d9d9;
}
.popup img {
  width: 300px;
  margin-top: -100px;
  margin-bottom: 26px;
}
.popup h1 {
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #f16f9e;
  line-height: 115%;
  margin-bottom: 16px;
}
@media (max-width: 992px) {
  .popup h1 {
    font-size: 24px;
  }
}
.popup p {
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  color: #000;
  margin-bottom: 30px;
}
@media (max-width: 992px) {
  .popup p {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .popup {
    width: 92%;
    padding: 20px 14px;
  }
}
.bg {
  background-image: url(../img/bg.webp);
  position: absolute;
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}
.bg img {
  display: none;
}
@media (max-width: 767px) {
  .bg {
    background-image: none;
    position: static;
  }
  .bg img {
    display: block;
    width: 100%;
  }
}

.logo {
  text-align: center;
  margin-top: 12px;
}
.logo img {
  width: 90px;
}
@media (max-width: 992px) {
  .logo {
    margin-top: 15px;
  }
}

.title {
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #000;
  line-height: 115%;
  margin-bottom: 16px;
}
.subtitle {
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #000;
  line-height: 130%;
  margin-bottom: 16px;
}
@media (max-width: 992px) {
  .subtitle {
    font-size: 16px;
  }
}
.subtitle span {
  font-weight: 800;
}

.text {
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #000;
  line-height: 130%;
  margin-bottom: 16px;
}
@media (max-width: 992px) {
  .text {
    font-size: 16px;
  }
}
.text span {
  font-weight: 800;
}

.timer {
  font-weight: 900;
  font-size: 16px;
  text-align: center;
  color: #f00;
  text-shadow: 3px 5px 14px rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
}

.question {
  font-weight: 900;
  font-size: 16px;
  text-align: center;
  color: #f16f9e;
  margin-bottom: 18px;
  line-height: 110%;
  font-weight: 700;
  font-size: 20px;
}
@media (max-width: 992px) {
  .question {
    font-weight: 700;
    font-size: 20px;
    text-align: center;
  }
}

.btn-final {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f16f9e;
  border-radius: 10px;
  width: 100%;
  height: 50px;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  margin: 0 auto;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: #fff;
  border-radius: 50px;
  transition: all 0.3s;
  overflow: hidden;
  background: #f16f9e;
  color: #fff;
}
@media (max-width: 992px) {
  .btn-final {
    height: 40px;
  }
}
.btn-final {
  position: relative;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
.final-text {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 26px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #000;
}
.final-text b {
  font-weight: 800;
  font-size: 24px;
  line-height: 115%;
}
@media (max-width: 992px) {
  .final-text b {
    font-weight: 700;
    font-size: 16px;
  }
}
@media (max-width: 992px) {
  .final-text {
    margin-bottom: 16px;
  }
}

.stars {
  flex-direction: row;
  justify-content: center;
  gap: 14px;
}
.stars__item {
  background: none;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  cursor: pointer;
}
.stars__item svg path {
  transition: all 0.3s;
}
.stars__item.active svg path {
  fill: #d6ac57;
}

.footer {
  position: absolute;
  bottom: 10px;
  left: 50%;
  display: flex;
  gap: 4px;
  transform: translate(-50%, 0);
  width: 100%;
  justify-content: center;
}
.footer a {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #9b9898;
}
@media (max-width: 767px) {
  .footer a {
    font-size: 12px;
  }
}

.final-img {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}
.final-img img {
  max-width: 323px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.pc-block {
  display: block;
}
@media (max-width: 992px) {
  .pc-block {
    display: none;
  }
}

.pc-flex {
  display: flex;
}
@media (max-width: 992px) {
  .pc-flex {
    display: none;
  }
}

.mob-block {
  display: none;
}
@media (max-width: 992px) {
  .mob-block {
    display: block;
  }
}