
.quiz-container {
  max-width: 600px;
  margin: auto;
}

.question {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.question h3 {
  margin-bottom: 15px;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.option {
  padding: 10px;
  background: #edf2f7;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.option:hover {
  background: #d9e2ec;
}

.correct {
  background-color: #b5f5b5 !important;
}

.wrong {
  background-color: #ffb3b3 !important;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.4s ease;
}

#restartBtn {
  margin-top: 15px;
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
