:root {
  --background-color-dark: #121212;
  --background-color-light: #f5f5f5;
  --button-bg-dark: #6200ea;
  --button-bg-light: #3700b3;
  --text-color-dark: #ffffff;
  --text-color-light: #121212;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--background-color-dark);
  color: var(--text-color-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  width: 400px;
  padding: 20px;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  text-align: center;
}

h1,
h2 {
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  background-color: #333333;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

li:hover {
  background-color: #3700b3;
  transform: translateY(-3px);
}

button {
  padding: 10px;
  width: 100%;
  margin: 20px auto;
  background-color: var(--button-bg-dark);
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s, transform 0.3s ease-in-out;
}

button:hover {
  background-color: #3700b3;
}

button:active {
  transform: scale(0.98);
}

button.hidden {
  display: none;
}

body.light-theme {
  background-color: var(--background-color-light);
  color: var(--text-color-light);
}

body.light-theme .container {
  background-color: #ffffff;
  color: var(--text-color-light);
  box-shadow: 0 5px 15px rgba(18, 0, 0, 0.8);
}

body.light-theme button {
  background-color: #6200ea;
}

.hidden {
  display: none;
}

/* Your existing styles remain unchanged */

li.selected {
  background-color: #6200ea; /* Color for the selected option */
}

/* Add an animation class for the confetti effect */
@keyframes confettiAnimation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-500px);
  }
}

.confetti {
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  background-color: #6200ea;
  animation: confettiAnimation 1s infinite;
}

#theme-toggle-btn {
  background-color: #00bcd4;
  /* Light Blue color */
  color: black;
  font-weight: bold;
}

#theme-toggle-btn:hover {
  background-color: rgb(38, 38, 217);
  color: white; /* Dark blue when hovered */
}

body.light-theme #theme-toggle-btn {
  background-color: #03a9f4; /* Slightly different shade of light blue when in light theme */
}

#score {
  font-weight: bold;
  font-size: 2rem; /* Optional: Increase font size for emphasis */
}

/* Light theme specific styling */
body.light-theme li {
  background-color: #6200ea; /* Purple color for list items */
  color: white; /* Ensure the text is white for contrast */
}

body.light-theme li:hover {
  background-color: #3700b3; /* Darker purple for hover effect */
}

body.light-theme li.selected {
  background-color: #829006; /* Darker purple for the selected state */
}

/* Dark theme selected option */
body:not(.light-theme) li.selected {
  border: 2px solid white; /* White border in dark theme */
}

/* Light theme selected option */
body.light-theme li.selected {
  border: 2px solid rgb(0, 0, 0); /* Black border in light theme */
}
