* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.game-container {
  text-align: center;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.color-box {
  width: 300px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
}

.color-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.color-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.game-status {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  height: 24px;
}

.score {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.new-game-btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.new-game-btn:hover {
  background-color: #0056b3;
}

/* Animations */
@keyframes fadeOut {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}

@keyframes celebrate {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
  100% {
      transform: scale(1);
  }
}

.fade-out {
  animation: fadeOut 0.5s ease-in-out forwards;
}

.celebrate {
  animation: celebrate 0.5s ease-in-out;
}
