body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, hsl(0, 0%, 0%), hsl(0, 0%, 0%));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease;
}

.game-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

button {
  padding: 15px 30px;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

button:hover {
  transform: scale(1.1);
  opacity: 1;
}

.purple {
  background: #8e44ad;
}
.green {
  background: #27ae60;
}
.orange {
  background: #e67e22;
}

.dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px 40px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  z-index: 999;
}

.dialog.show {
  transform: translate(-50%, -50%) scale(1);
}

.dialog button {
  margin-top: 20px;
  background: #34495e;
  font-size: 16px;
  padding: 10px 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }
  button {
    width: 100px;
    font-size: 16px;
  }
}
