body {
  background-color: #111;
  color: #f4f4f4;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 2rem;
}

.container {
  max-width: 600px;
  margin: auto;
  background: #222;
  padding: 2rem;
  border-radius: 10px;
}

button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 16px;
  background: #29b6f6;
  color: #111;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #03a9f4;
}

#choices button {
  display: block;
  margin: 0.5rem auto;
  width: 80%;
}
/* === TrailSec Animations === */
h1 {
  animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

button {
  transition: transform 0.2s ease;
}

button:hover {
  transform: scale(1.05);
}

.correct {
  background-color: #4caf50 !important;
  animation: flashCorrect 0.5s;
}

@keyframes flashCorrect {
  0%, 100% { background-color: #4caf50; }
  50% { background-color: #81c784; }
}

#score-container {
  animation: fadeIn 1s ease-in;
}

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