.soa-quiz-section,
.soa-quiz-section * {
  box-sizing: border-box;
}

.soa-quiz-section {
  margin: 0;
  padding: 40px 20px;
  background: #6f4ea1;
  color: #fff;
}

.soa-quiz-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.soa-quiz-intro {
  text-align: center;
  margin-bottom: 32px;
}

.soa-quiz-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 64px;
  line-height: 0.95;
  font-weight: 700;
}

.soa-quiz-subtitle {
  margin: 0 auto;
  max-width: 760px;
  color: #fff;
  font-size: 22px;
  line-height: 1.45;
}

.soa-quiz-section a {
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.questionnaire {
  width: 100%;
}

.slide-container {
  width: 100%;
}

.slide {
  width: 100%;
  padding: 30px 24px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: #fff;
  animation-duration: 0.35s;
  animation-fill-mode: both;
}

.slide h2 {
  margin: 0 0 32px;
  text-align: center;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 500;
  word-break: break-word;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.option-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  min-height: 58px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: normal;
}

.option-button:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #222325;
  border-color: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.final-message {
  margin: 0 0 20px;
  text-align: center;
  overflow: visible;
}

.final-message h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 500;
}

.final-message p {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
}

.two-column-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.two-column-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}

.two-column-box h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
}

.two-column-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-30px);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .soa-quiz-section {
    padding: 24px 12px 32px;
  }

  .soa-quiz-wrapper {
    max-width: 100%;
  }

  .soa-quiz-intro {
    margin-bottom: 22px;
  }

  .soa-quiz-title {
    font-size: 36px;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .soa-quiz-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .slide {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .slide h2 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 22px;
  }

  .options {
    gap: 12px;
  }

  .option-button {
    max-width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.3;
  }

  .final-message {
    margin-bottom: 16px;
  }

  .final-message h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .final-message p {
    font-size: 15px;
    line-height: 1.6;
  }

  .two-column-boxes {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .two-column-box {
    padding: 16px;
  }

  .two-column-box h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .two-column-box p {
    font-size: 15px;
    line-height: 1.55;
  }
}