/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  text-align: center;
  padding: 20px;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

header p {
  margin: 5px 0 0;
  font-size: 1em;
  font-weight: 300;
}

/* Question Cards */
.question-card {
  background: #ffffff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.question-card h2 {
  margin-bottom: 15px;
  font-size: 1.2em;
}

/* Answer List */
.question-card ul {
  list-style: none;
  padding: 0;
}

.question-card li {
  background: #eef3f8;
  margin: 8px 0;
  padding: 12px;
  border-radius: 6px;
  font-size: 1em;
  transition: background 0.2s;
}

/* Hover effect */
.question-card li:hover {
  background: #e2e8f0;
}

/* Correct Answer Highlight */
.question-card li.correct {
  background: #d4edda;
  border-left: 5px solid #28a745;
  font-weight: bold;
  color: #155724;
  position: relative;
}

/* Add tick automatically */
.question-card li.correct::after {
  content: " ✓";
  font-weight: bold;
  color: #28a745;
  margin-left: 5px;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  background: #f1f1f1;
  color: #555;
}
