/* Base Reset & Styling */
body {
  margin: 0;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background-color: #fdf6e3;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Top & Bottom Navigation Tabs */
#tabs-top, #tabs-bottom {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, #ffd54f, #ff6f61);
  padding: 12px 0;
  border-radius: 25px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  margin: 10px 20px;
}

#tabs-top a, #tabs-bottom a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

#tabs-top a:hover, #tabs-bottom a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Buttons */
button {
  padding: 12px 20px;
  margin: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #81ecec, #6c5ce7);
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #74b9ff, #a29bfe);
}

button.hidden {
  display: none;
}

/* Quiz Area */
#quizContainer {
  margin-top: 30px;
}

.hidden {
  display: none;
}

#questionContainer {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

#answersContainer button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 8px auto;
}

/* Confetti Canvas Container */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
}

/* Dark Mode Styles */
body.dark {
  background-color: #2e2e2e;
  color: #f0f0f0;
}

body.dark #tabs-top,
body.dark #tabs-bottom {
  background: linear-gradient(135deg, #5e548e, #9f86c0);
}

body.dark button {
  background: linear-gradient(135deg, #ffeaa7, #fab1a0);
  color: #2d3436;
}

body.dark button:hover {
  background: linear-gradient(135deg, #fdcb6e, #e17055);
}
