@charset "UTF-8";
.mp-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}
@media (min-width: 640px) {
  .mp-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%) !important;
  }
}
.mg-main-newtop {
  overflow: hidden;
  box-sizing: border-box;
  background: url("top-mobile.webp") center center / cover no-repeat;
  padding: 88px 0 40px;
  margin-top: -64px;
}
@media (min-width: 640px) {
  .mg-main-newtop {
    background: url("top-tablet.webp") center center / cover no-repeat;
    padding: 88px 0 48px;
    margin-top: -80px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop {
    background: url("top-desktop.webp") center center / cover no-repeat;
    padding: 108px 0 48px;
    position: relative;
  }
}
.mg-main-newtop__image {
  display: none;
}
@media (min-width: 1200px) {
  .mg-main-newtop__image {
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    pointer-events: none;
    line-height: 0;
    font-size: 0;
  }
}
.mg-main-newtop__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  max-width: 1344px;
}
@media (min-width: 640px) {
  .mg-main-newtop__inner {
    padding: 0 24px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__inner {
    display: grid;
    grid-template-columns: 655px 440px;
    grid-gap: 40px;
    padding: 0 32px;
    position: relative;
  }
}
.mg-main-newtop__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  text-align: left;
}
@media (min-width: 640px) {
  .mg-main-newtop__left {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__left {
    margin-bottom: 0;
    max-width: 100%;
  }
}
.mg-main-newtop__title {
  font-weight: 700;
  font-size: 6vw;
  line-height: 110%;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 47%;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .mg-main-newtop__title {
    font-size: 40px;
  }
}
.mg-main-newtop__middle {
  position: relative;
  padding-top: 5.5vw;
  flex: none;
  width: 100%;
}
@media (min-width: 640px) {
  .mg-main-newtop__middle {
    padding-top: 43px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__middle {
    padding-top: 92px;
  }
}
.mg-main-newtop__date {
  background: #ffec04;
  border-radius: 80px;
  font-weight: 700;
  font-size: 3vw;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #000;
  padding: 2.75vw 4vw;
  display: inline-block;
}
@media (min-width: 640px) {
  .mg-main-newtop__date {
    padding: 20px 28px;
    font-size: 19px;
  }
}
.mg-main-newtop__percent {
  position: absolute;
  left: 32vw;
  width: 48.75vw;
  bottom: 11vw;
  line-height: 0;
}
@media (min-width: 640px) {
  .mg-main-newtop__percent {
    width: 360px;
    bottom: 39px;
    left: 208px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__percent {
    width: 320px;
    bottom: 30px;
    left: 221px;
  }
}
.mg-main-newtop__percent img {
  width: 100%;
  height: auto;
}
.mg-main-newtop__note {
  font-weight: 700;
  font-size: 6vw;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-align: right;
  color: #fff;
  position: absolute;
  width: 45vw;
  bottom: -1.5vw;
  right: 0;
}
@media (min-width: 640px) {
  .mg-main-newtop__note {
    font-size: 40px;
    width: 312px;
    bottom: -9px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__note {
    right: -3px;
  }
}
.mg-main-newtop__desc {
  margin-top: 4vw;
  font-weight: 400;
  font-size: 3.5vw;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}
@media (min-width: 640px) {
  .mg-main-newtop__desc {
    font-size: 22px;
    margin-top: 40px;
    position: relative;
    position: relative;
  }
  .mg-main-newtop__desc:before {
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31' height='80' fill='none' viewBox='0 0 31 80'%3E%3Cpath fill='%23ffec04' d='M8.14 69.18c.05-2.39.108-4.163.115-5.933.003-.937-.01-1.883-.148-2.808-.17-1.134-.929-1.794-2.053-1.963-1.086-.163-2.059.485-2.5 1.667-.163.433-.211.91-.32 1.365Q1.872 67.201.508 72.893c-.146.608-.363 1.202-.454 1.818-.273 1.89.474 3.232 2.278 3.882.87.314 1.823.462 2.747.528 7.505.529 14.556-1.1 21.243-4.394q.105-.052.205-.109c1.802-1.013 2.447-2.414 1.738-3.779-.704-1.358-2.173-1.658-4.11-.909-2.97 1.149-5.932 2.318-8.939 3.36-1.344.467-2.776.75-4.61.552 2.212-2.019 4.167-3.746 6.063-5.539 14.767-13.96 18.101-33.68 8.906-52.15-2.71-5.44-6.286-10.137-11.061-13.893-.92-.723-1.91-1.396-2.959-1.896-1.517-.726-2.87-.324-3.461.835-.563 1.102-.212 2.201 1.164 3.19 3.537 2.542 6.776 5.424 9.102 9.122 7.105 11.297 9.635 23.267 5.152 36.127-2.188 6.275-6.18 11.296-10.986 15.717-1.283 1.178-2.628 2.293-4.387 3.824'/%3E%3C/svg%3E");
    width: 31px;
    height: 80px;
    bottom: -74px;
    left: 50%;
    margin-left: 240px;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__desc {
    margin-top: 52px;
    font-size: 25px;
    text-align: left;
  }
  .mg-main-newtop__desc:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='72' fill='none' viewBox='0 0 56 72'%3E%3Cpath fill='%23ffec04' d='M45.115 15.005c-1.407 1.932-2.468 3.353-3.486 4.801-.538.767-1.068 1.55-1.483 2.388-.509 1.03-.264 2.004.562 2.785.798.755 1.967.778 3.005.061.38-.262.693-.625 1.042-.937q4.37-3.893 8.744-7.784c.467-.415.985-.779 1.412-1.232 1.304-1.394 1.458-2.923.35-4.488-.535-.755-1.232-1.42-1.953-2.003C47.452 3.872 40.736 1.177 33.366.059a4 4 0 0 0-.23-.028c-2.058-.199-3.388.582-3.586 2.107-.199 1.517.835 2.602 2.853 3.095 3.093.756 6.191 1.49 9.254 2.353 1.37.385 2.707.972 4.1 2.183-2.97.391-5.562.691-8.143 1.078C17.52 13.86 3.51 28.136.498 48.547c-.887 6.012-.637 11.91 1.134 17.722.34 1.119.77 2.237 1.343 3.247.831 1.463 2.17 1.907 3.318 1.293 1.092-.583 1.432-1.685.868-3.282-1.449-4.108-2.46-8.325-2.254-12.688.628-13.331 5.394-24.598 16.424-32.588 5.382-3.898 11.527-5.736 17.998-6.616 1.727-.234 3.467-.38 5.786-.63'/%3E%3C/svg%3E");
    width: 56px;
    height: 72px;
    bottom: auto;
    left: 606px;
    margin-left: 0;
    top: -217px;
  }
}
.mg-main-newtop__desc span {
  font-weight: 700;
}
.mg-main-newtop__bottom {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  width: 100%;
}
@media (min-width: 640px) {
  .mg-main-newtop__bottom {
    grid-template-columns: 280px 199px;
    justify-content: center;
  }
}
@media (min-width: 1200px) {
  .mg-main-newtop__bottom {
    margin-top: 32px;
    grid-template-columns: 298px 224px;
    justify-content: flex-start;
  }
}
.mg-main-newtop__right {
  width: 100%;
  max-width: 440px;
}
.quiz-wrap {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 390px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .quiz-wrap {
    min-height: 467px;
    border-radius: 32px;
    padding: 32px;
  }
}
.quiz-wrap * {
  box-sizing: border-box;
}
/* HEADER */
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.quiz-step-label {
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
}
@media (min-width: 640px) {
  .quiz-step-label {
    font-size: 13px;
  }
}
.quiz-timer {
  font-weight: 600;
  font-size: 11px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #de0000;
  display: flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 32px;
  padding: 4px 9px 4px 5px;
  animation: pulse 1.5s infinite ease-in-out;
  will-change: transform;
  filter: blur(0);
}
@media (min-width: 640px) {
  .quiz-timer {
    font-size: 12px;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
.quiz-timer.expired {
  color: #e53e3e;
}
.quiz-timer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* PROGRESS BAR */
.quiz-progress {
  height: 6px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 8px;
}
.quiz-progress span {
  height: 100%;
  background: linear-gradient(180deg, #00af69 0%, #1ca345 100%);
  opacity: 0.1;
  border-radius: 8px;
}
.quiz-progress span:first-child {
  opacity: 1;
}
.quiz-progress._2 span:nth-child(2) {
  opacity: 1;
}
.quiz-progress._3 span:nth-child(3) {
  opacity: 1;
}
.quiz-progress._4 span:nth-child(4) {
  opacity: 1;
}
.quiz-progress._5 span:nth-child(5) {
  opacity: 1;
}
/* STEP */
.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease;
  flex: 1 0 1%;
}
.quiz-step.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* QUESTION */
.quiz-question {
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 16px;
  margin-top: 0;
}
@media (min-width: 640px) {
  .quiz-question {
    font-size: 20px;
  }
}
/* OPTIONS */
.quiz-options {
  display: grid;
  gap: 8px;
}
.quiz-option {
  align-items: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  display: grid;
  border-radius: 8px;
  padding: 11px;
  cursor: pointer;
  background: #f3f5fa;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-align: left;
  width: 100%;
  min-height: 59px;
}
@media (min-width: 640px) {
  .quiz-option {
    padding: 13px;
    min-height: 66px;
  }
}
.quiz-option:hover {
  border-color: #21A038;
  background: #f5fdf6;
  transform: translateY(-1px);
}
.quiz-option:active {
  transform: scale(0.99);
}
.quiz-option.selected {
  border-color: #21A038;
  background: #f0faf2;
}
.quiz-option-text {
  font-weight: 600;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
}
@media (min-width: 640px) {
  .quiz-option-text {
    font-size: 14px;
  }
}
.quiz-option-desc {
  font-size: 12px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #46565d;
  margin-top: 2px;
}
@media (min-width: 640px) {
  .quiz-option-desc {
    font-size: 13px;
  }
}
/* STEP 3 — LOADING */
.quiz-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quiz-loading-anim {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  position: relative;
}
@media (min-width: 640px) {
  .quiz-loading-anim {
    width: 64px;
    height: 64px;
  }
}
.quiz-loading-anim::before, .quiz-loading-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}
.quiz-loading-anim::before {
  border-top-color: #21A038;
  animation: spin 0.9s linear infinite;
}
.quiz-loading-anim::after {
  border-bottom-color: #b5e4bf;
  animation: spin 1.4s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.quiz-loading-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: #000;
  text-align: center;
  margin-top: 0;
}
@media (min-width: 640px) {
  .quiz-loading-title {
    font-size: 18px;
  }
}
.quiz-loading-sub {
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
  margin-top: 0;
  margin-bottom: 94px;
}
@media (min-width: 640px) {
  .quiz-loading-sub {
    font-size: 14px;
  }
}
/* STEP 4 — FORM */
.quiz-form-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 8px;
  margin-top: 0;
  transition: color 0.3s;
}
@media (min-width: 640px) {
  .quiz-form-title {
    font-size: 18px;
  }
}
.quiz-form-sub {
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
  margin-top: 0;
  margin-bottom: 16px;
  transition: opacity 0.3s;
}
@media (min-width: 640px) {
  .quiz-form-sub {
    font-size: 14px;
  }
}
.quiz-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .quiz-form-row {
    gap: 12px;
    margin-bottom: 16px;
  }
}
.quiz-field div {
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
  margin-bottom: 6px;
}
@media (min-width: 640px) {
  .quiz-field div {
    font-size: 13px;
    margin-bottom: 8px;
  }
}
.mg-main-newtop .quiz-field input {
  width: 100%;
  background: #f7f8fb;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px;
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #000;
  outline: none;
  height: auto;
}
@media (min-width: 640px) {
  .mg-main-newtop .quiz-field input {
    padding: 16px;
  }
}
.mg-main-newtop .quiz-field input::placeholder {
  color: rgba(51, 51, 51, 0.3);
}
#quizForm {
  display: block;
}
.quiz-field input:focus {
  border-color: #21A038;
}
/* checkbox */
.quiz-checkbox-wrap {
  display: grid;
  grid-template-columns: 21px 1fr;
  align-items: center;
  grid-gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
}
@media (min-width: 640px) {
  .quiz-checkbox-wrap {
    margin-bottom: 24px;
  }
}
.quiz-checkbox-wrap input[type="checkbox"] {
  width: 21px;
  height: 21px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.quiz-checkbox-wrap span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: #f7f8fb;
  border: 1px solid #e4e8f3;
  border-radius: 4px;
  flex-shrink: 0;
}
.quiz-checkbox-wrap span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity 0.2s;
}
.quiz-checkbox-wrap input[type="checkbox"]:checked + span::before {
  background: #1DB954;
  border-color: #1DB954;
}
.quiz-checkbox-wrap input[type="checkbox"]:checked + span::after {
  opacity: 1;
}
.quiz-checkbox-wrap input[type="checkbox"]:focus + span::before {
  border-color: #1DB954;
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.15);
}
.quiz-checkbox-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
}
@media (min-width: 640px) {
  .quiz-checkbox-text {
    font-size: 13px;
  }
}
.quiz-checkbox-text a {
  color: #257de3;
  text-decoration: none;
}
.quiz-checkbox-text a:hover {
  text-decoration: underline;
}
/* submit btn */
.quiz-submit {
  width: 100%;
  border-radius: 48px;
  padding: 20px 24px;
  box-shadow: inset 0 0 12px 0 rgba(255, 255, 255, 0.81);
  background: linear-gradient(90deg, #00af69 0%, #1ca345 100%);
  font-weight: 700;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
  outline: none;
}
@media (min-width: 640px) {
  .quiz-submit {
    margin-bottom: 24px;
    font-size: 14px;
  }
}
.quiz-submit:hover {
  box-shadow: inset 0 0 12px 0 rgba(255, 255, 255, 0.81), 0 4px 20px 0 rgba(8, 172, 95, 0.36);
  background: linear-gradient(90deg, #00c275 0%, #14b946 100%);
}
.quiz-submit:active {
  box-shadow: inset 0 0 12px 0 rgba(255, 255, 255, 0.81);
  background: linear-gradient(90deg, #00af69 0%, #1ca345 100%);
  transition: all 0.3s ease;
}
.quiz-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}
/* bonus block */
.quiz-bonus {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quiz-bonus-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .quiz-bonus-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}
.quiz-bonus-icon svg {
  width: 19px;
  height: 19px;
}
@media (min-width: 640px) {
  .quiz-bonus-icon svg {
    width: 24px;
    height: 24px;
  }
}
.quiz-bonus-text {
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0em;
  color: #333;
}
@media (min-width: 640px) {
  .quiz-bonus-text {
    font-size: 13px;
  }
}
/* expired state */
.quiz-form-title.expired {
  color: #e53e3e;
}
.quiz-field {
  position: relative;
}
.quiz-field .quiz-field-error {
  position: absolute;
  font-size: 9px;
  bottom: -12px;
}
@media (min-width: 640px) {
  .quiz-field .quiz-field-error {
    font-size: 12px;
    bottom: -14px;
  }
}
#step4.active {
  display: flex !important;
  align-items: center;
}
