/* 인간관계 유형 테스트 - 페이지 전용 스타일 */

.container {
  max-width: 700px;
}

.disclaimer-top {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* ===================== */
/* 시작 섹션             */
/* ===================== */
.start-section {
  margin-bottom: 30px;
}

.start-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 4px 15px var(--shadow);
  text-align: center;
}

.start-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}

.start-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 30px;
  word-break: keep-all;
}

.start-btn {
  padding: 18px 60px;
  font-size: 1.3rem;
  font-weight: 600;
  background-color: var(--accent-color);
  color: var(--btn-text);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.start-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* ===================== */
/* 퀴즈 섹션             */
/* ===================== */
.quiz-section {
  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--accent-color);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 24px;
}

.question-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 4px 15px var(--shadow);
  animation: fadeInUp 0.4s ease forwards;
}

.question-text {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 28px;
  word-break: keep-all;
  color: var(--text-color);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  text-align: left;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  word-break: keep-all;
}

.option-btn:hover {
  border-color: var(--accent-color);
  background-color: var(--tag-bg);
}

.option-btn.selected {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  color: #fff;
}

/* ===================== */
/* 결과 섹션             */
/* ===================== */
.result-section {
  animation: fadeInUp 0.6s ease forwards;
}

.result-type-card {
  background: linear-gradient(135deg, var(--accent-color), var(--btn-bg));
  border-radius: 20px;
  padding: 45px 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px var(--shadow);
  text-align: center;
  color: #fff;
  animation: fadeInUp 0.6s ease forwards;
}

.result-emoji {
  font-size: 4.5rem;
  margin-bottom: 16px;
}

.result-type-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.result-type-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* 결과 카드 */
.result-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px var(--shadow);
  text-align: left;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.result-card:nth-child(2) { animation-delay: 0.1s; }
.result-card:nth-child(3) { animation-delay: 0.2s; }
.result-card:nth-child(4) { animation-delay: 0.3s; }
.result-card:nth-child(5) { animation-delay: 0.4s; }

.result-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.result-card-icon {
  font-size: 1.8rem;
}

.result-card-header h2 {
  font-size: 1.4rem;
  color: var(--accent-color);
}

.result-card-content {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* 면책 조항 */
.result-disclaimer {
  text-align: center;
  padding: 20px;
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
  word-break: keep-all;
}

/* 다시 테스트 버튼 */
.retry-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: var(--btn-secondary-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  background-color: var(--btn-secondary-hover);
  transform: translateY(-2px);
}

/* ===================== */
/* 반응형                 */
/* ===================== */
@media (max-width: 768px) {
  .start-card {
    padding: 35px 20px;
  }

  .start-icon {
    font-size: 4rem;
  }

  .start-desc {
    font-size: 1rem;
  }

  .start-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
  }

  .question-card {
    padding: 25px 20px;
  }

  .question-text {
    font-size: 1.1rem;
  }

  .option-btn {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .result-type-card {
    padding: 35px 20px;
  }

  .result-emoji {
    font-size: 3.5rem;
  }

  .result-type-name {
    font-size: 1.6rem;
  }

  .result-type-subtitle {
    font-size: 0.95rem;
  }

  .result-card {
    padding: 25px 20px;
  }

  .result-card-header h2 {
    font-size: 1.2rem;
  }

  .result-card-content {
    font-size: 1rem;
  }

  .result-disclaimer {
    font-size: 0.8rem;
    padding: 15px 10px;
  }

  .disclaimer-top {
    font-size: 0.75rem;
  }
}
