body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #dbeafe, #ffffff);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.game-container {
  text-align: center;
  color: rgb(30, 28, 28);
}

.controls {
  margin-bottom: 15px;
}

#stats {
  margin: 15px 0;
}

.game-board {
  display: grid;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.card {
  width: 80px;
  height: 80px;
  background: #f3f0f0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card.flipped {
  background: #f8e327;
}

.card.matched {
  background: #48b34b;
  color: rgb(231, 220, 220);
  cursor: default;
}

#message {
  font-size: 1.5rem;
  margin-top: 15px;
}
