
body {
  text-align: center;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

h1 {
  font-size: 3rem;
  margin: 20px 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

#score {
  font-size: 1.5rem;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 25px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.line-one,
.line-two {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  height: 150px;
  width: 150px;
  border-radius: 20px;
  border: 5px solid white;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.8);
}

.red {
  background-color: #d95980;
}

.green {
  background-color: #63aac0;
}

.yellow {
  background-color: #f99b45;
}

.purple {
  background-color: #819ff9;
}

.flash {
  background-color: white !important;
}

.userflash {
  background-color: green !important;
}

.magic-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fff, #00f, transparent);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  animation: fadeOut 0.7s forwards;
}

@keyframes fadeOut {
  to {
    transform: scale(0);
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .btn {
    width: 100px;
    height: 100px;
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }
}
