* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  padding: 30px;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: #333;
}

.btn-grid {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.btn {
  background-color: #e0e0e0;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.btn:hover:not(:disabled) {
  background-color: #d6d6d6;
  transform: translateY(-2px);
}

/* Correct answer styling */
.btn.correct {
  background: #28a745;
  color: #fff;
  position: relative;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
  animation: popCorrect 0.3s ease;
}

.btn.correct::after {
  content: "✅";
  position: absolute;
  right: 15px;
  font-size: 18px;
}

/* Wrong answer styling */
.btn.wrong {
  background: #dc3545;
  color: #fff;
  position: relative;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.6);
  animation: shakeWrong 0.4s ease;
}

.btn.wrong::after {
  content: "❌";
  position: absolute;
  right: 15px;
  font-size: 18px;
}

/* Slight fade for disabled buttons */
.btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Animations */
@keyframes shakeWrong {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes popCorrect {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.next-btn {
  background-color: #4e73df;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  display: none;
}

.next-btn:hover {
  background-color: #3b5bce;
}
