.quiz-page {
  background: linear-gradient(135deg, #F5E6D3 0%, #E8DED3 100%);
}

.quiz-main {
  padding: 2.5rem 1rem 2rem;
}

.quiz-shell {
  max-width: 920px;
  margin: 0 auto;
}

.quiz-intro {
  text-align: center;
  margin-bottom: 1.4rem;
}

.quiz-intro h1 {
  color: #7B4B94;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.quiz-subtitle {
  color: #2C3E50;
  font-size: 1.16rem;
  margin-bottom: 0.25rem;
}

.quiz-meta {
  color: #8B7D6B;
  font-size: 1rem;
  margin-bottom: 0;
}

.quiz-progress-block {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(139, 125, 107, 0.28);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  color: #2C3E50;
  font-weight: 600;
  font-family: 'Calibri', sans-serif;
}

.quiz-progress-track {
  background: #DDD3CA;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.quiz-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #D4817E 0%, #7B4B94 100%);
  transition: width 0.35s ease;
}

.quiz-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(44, 62, 80, 0.14);
  padding: 1.35rem 1.2rem;
}

.quiz-question-title {
  color: #2C3E50;
  text-align: center;
  margin-bottom: 1rem;
}

.quiz-options {
  display: grid;
  gap: 0.75rem;
}

.quiz-option {
  border: 2px solid #E8DED3;
  border-radius: 12px;
  background: #FFFFFF;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: 'Calibri', sans-serif;
  color: #2C3E50;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.quiz-option:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 16px rgba(123, 75, 148, 0.12);
  border-color: #C6AFD6;
}

.quiz-option-arrow {
  color: #7B4B94;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quiz-result {
  text-align: center;
}

.quiz-result-emoji {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.quiz-result-title {
  color: #7B4B94;
  margin-bottom: 0.2rem;
}

.quiz-result-subtitle {
  color: #D4817E;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.quiz-result-desc {
  color: #2C3E50;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.quiz-result-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #FFF4EC 0%, #FFFCE9 100%);
  border-radius: 12px;
  text-align: left;
}

.quiz-result-list li {
  margin-bottom: 0.55rem;
  color: #2C3E50;
}

.quiz-result-list li:last-child {
  margin-bottom: 0;
}

.quiz-result-list li.with-check::before {
  content: "✓ ";
  color: #7B4B94;
  font-weight: bold;
}

.quiz-actions {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.quiz-actions .btn {
  text-align: center;
}

.quiz-result-footer {
  color: #8B7D6B;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.quiz-byline {
  text-align: center;
  color: #8B7D6B;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .quiz-main {
    padding: 1.25rem 0.85rem 1rem;
  }

  .quiz-subtitle {
    font-size: 1.03rem;
  }

  .quiz-card {
    padding: 1rem 0.85rem;
  }

  .quiz-option {
    padding: 0.8rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-progress-bar,
  .quiz-option {
    transition: none;
  }
}
