body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.quiz-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  width: 400px;
  padding: 30px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.quiz-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.question-text {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

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

.option {
  background: #f4f4f4;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

.option:hover {
  background: #eaf6ff;
}

.option.correct {
  background: #d4edda;
  border-color: #28a745;
}

.option.wrong {
  background: #f8d7da;
  border-color: #dc3545;
}

.next-btn,
.restart-btn {
  margin-top: 20px;
  background: #4facfe;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.next-btn:hover,
.restart-btn:hover {
  background: #00c6ff;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
