* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comic Sans MS", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(
    270deg,
    red,
    yellow,
    green
  );
  background-size: 600% 600%;
  animation: bgMove 10s ease infinite;
}

/* HEADER */
.header {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.3);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.header nav a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  color: black;
}

/* QUIZ CARD */
.quiz-card, .wiki-card {
  max-width: 500px;
  margin: 40px auto;
  background: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* OPTIONS */
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.option {
  padding: 15px;
  border-radius: 20px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, green, yellow);
  transition: 0.3s;
}

.option:hover {
  transform: scale(1.08);
}

/* BUTTONS */
.next-btn, .wiki-card button {
  margin-top: 20px;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(135deg, red, yellow);
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.next-btn:hover, .wiki-card button:hover {
  transform: scale(1.1);
}

/* INPUT */
input {
  width: 100%;
  padding: 12px;
  border-radius: 20px;
  border: 2px solid green;
  margin-top: 15px;
}

/* SCORE */
.score {
  margin-top: 15px;
  font-weight: bold;
}

/* BACKGROUND ANIMATION */
@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
