* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #80deea);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.game-container {
  text-align: center;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 90vw;
  max-width: 400px;
}
.game-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0277bd;
}
.board {
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  gap: 10px;
}
.cell {
  background: #b3e5fc;
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1;
  font-size: 2.5rem;
  color: #01579b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cell:hover {
  background: #81d4fa;
}
.cell:active {
  transform: scale(0.95);
}
.status {
  margin: 1rem 0;
  font-size: 1.2rem;
  color: #01579b;
}
.status.bounce {
  animation: bounce 0.5s ease;
}
@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.reset-btn {
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border: none;
  background: #0288d1;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.reset-btn:hover {
  background: #0277bd;
}
@media (min-width: 600px) {
  .game-title { font-size: 3rem; }
  .cell { font-size: 3.5rem; }
}
