/* ---- QUIZ PAGE ---- */

.quiz-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1510 50%, #0D0D0D 100%);
  padding: 80px 0 40px;
}

.quiz-hero .hero-sub {
  margin-bottom: 40px;
}

/* PROGRESS */
.quiz-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 80px 0 40px;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 10%;
}

.progress-text {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--gray-dark);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* QUESTION CARD */
.quiz-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quiz-question {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1.2;
}

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

.quiz-option {
  background: var(--bg-card);
  border: 1px solid rgba(200, 169, 78, 0.12);
  padding: 20px 24px;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz-option:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(200, 169, 78, 0.06);
}

.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(200, 169, 78, 0.1);
  color: var(--white);
}

.option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 78, 0.3);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.quiz-option:hover .option-letter,
.quiz-option.selected .option-letter {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* RESULTS */
.quiz-results {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 80px 0 40px;
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1510 30%, #0D0D0D 100%);
}

.result-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.result-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 3px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.result-nickname {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}

.result-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.result-description {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 48px;
}

.result-detail-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 169, 78, 0.12);
  padding: 28px;
}

.result-detail-card h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}

.result-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-detail-card li {
  color: var(--gray);
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
}

.result-detail-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.result-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.result-share {
  margin-top: 32px;
  color: var(--gray-dark);
  font-size: 0.85rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .quiz-hero {
    padding: 100px 0 40px;
  }

  .quiz-option {
    padding: 16px 18px;
    font-size: 0.9rem;
  }

  .option-letter {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .result-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .result-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .result-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .result-type-badge {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}
