body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #fff;
  overflow: hidden;
}

.quiz-container {
  background: #1c1c1e;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

#question-box {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #f1f1f1;
}

#answers {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

#answers button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #2d3436;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

#answers button:hover {
  background: #00cec9;
  color: #000;
}

#answers button.correct {
  background-color: #00b894;
}

#answers button.incorrect {
  background-color: #d63031;
}
button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: #00b894;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #019875;
}


button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#next-btn {
  padding: 10px 25px;
  background: #0984e3;
  border-radius: 6px;
  font-weight: bold;
}

#next-btn:hover {
  background: #74b9ff;
  color: #1c1c1e;
}

#progress,
#timer,
#difficulty {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #b2bec3;
}

#score-box.hide {
  display: none;
}

#score-box {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #dfe6e9;
}

#score-box p {
  margin: 0.5rem 0;
}

#score-box span {
  font-weight: bold;
  color: #00cec9;
}

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