body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #fceabb, #f8b500);
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.quiz-container {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 1s ease-in;
}

h1 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.1rem;
}

#question {
  margin-bottom: 20px;
}

#answer-buttons button {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: none;
  background: #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

#answer-buttons button:hover {
  background: #d1d1d1;
}

#answer-buttons button.correct {
  background: #a8f0c6;
}

#answer-buttons button.wrong {
  background: #f7a8a8;
}

#next-btn {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  background: #f8b500;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.explanation {
  margin-top: 10px;
  font-style: italic;
  color: #444;
}

.hide {
  display: none;
}

.show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
