:root {
  --primary: #f5b731;
  --bg: #0c0c0c;
  --card: #1e1e1e;
  --text: #e8e8e8;
  --success: #10b981;
  --danger: #ef4444;
  --border: rgba(255,255,255,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container { max-width: 700px; width: 100%; text-align: center; }

.gradient-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--primary), #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #a0a0a0;
  margin-bottom: 2rem;
}

.quiz-container {
  background: var(--card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  min-height: 400px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.welcome-content {
  text-align: center;
}

.info {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #a0a0a0;
}

.btn-primary {
  padding: 1.2rem 3rem;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 2rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245,183,49,0.4);
}

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

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #ffd700);
  width: 10%;
  transition: width 0.3s;
}

.question-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #a0a0a0;
}

.question-info span span {
  color: var(--primary);
  font-weight: 700;
}

.question-card h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--text);
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.answer-btn {
  padding: 1.5rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
}

.answer-btn:hover:not(.correct):not(.wrong) {
  border-color: var(--primary);
  transform: translateX(5px);
}

.answer-btn.correct {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.answer-btn.wrong {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

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

.score-display {
  margin-bottom: 2rem;
}

.result-text {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.final-score {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.result-message {
  font-size: 1.2rem;
  color: #a0a0a0;
}

.btn-back {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 600px) {
  .quiz-container { padding: 1.5rem; }
  .question-card h2 { font-size: 1.2rem; }
  .final-score { font-size: 4rem; }
}
