* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background:
    linear-gradient(
      135deg,
      #111827,
      #1f2937
    );

  color: white;
}

.app {
  width: 100%;
  max-width: 500px;

  margin: 0 auto;
  padding: 30px 20px;
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  font-size: 64px;
}

.header h1 {
  margin: 5px 0;
  font-size: 30px;
}

.header p {
  margin: 0;
  color: #facc15;

  font-size: 20px;
  font-weight: bold;
}

.trivia-card {
  background: white;
  color: #111827;

  padding: 25px;
  border-radius: 20px;

  box-shadow:
    0 20px 40px
    rgba(0, 0, 0, 0.3);
}

.question-number {
  color: #6b7280;

  font-size: 14px;
  margin-bottom: 15px;
}

.trivia-card h2 {
  font-size: 24px;
  line-height: 1.3;

  margin-bottom: 25px;
}

.answers {
  display: grid;
  gap: 12px;
}

.answer {
  width: 100%;

  padding: 16px;

  border: 2px solid #e5e7eb;
  border-radius: 12px;

  background: #f9fafb;

  font-size: 17px;
  cursor: pointer;

  transition: 0.2s;
}

.answer:hover {
  border-color: #facc15;
  transform: translateY(-2px);
}

.answer.correct {
  background: #dcfce7;
  border-color: #22c55e;
  color: #166534;
}

.answer.incorrect {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
}

.answer:disabled {
  cursor: default;
}

.result {
  min-height: 30px;

  margin-top: 20px;

  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

footer {
  margin-top: 30px;

  text-align: center;

  color: #9ca3af;
  font-size: 14px;
}

.next-button {
  width: 100%;
  margin-top: 20px;
  padding: 16px;

  border: none;
  border-radius: 12px;

  background: #111827;
  color: white;

  font-size: 17px;
  font-weight: bold;

  cursor: pointer;
}

.next-button:hover {
  background: #374151;
}
