body {
  font-family: Arial, sans-serif;
  background: #f5f6fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
}

h1 {
  margin-bottom: 10px;
  color: #2f3640;
}

#moves-container {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
}

#game-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 90vw;
  max-width: 400px;
  margin: 0 auto 15px;
}

.card {
  background: #718093;
  border-radius: 8px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.card.flipped {
  background: #fbc531;
  color: #2f3640;
  transform: scale(1.05);
}

.card.matched {
  background: #44bd32;
  color: white;
  cursor: default;
}

#status {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #273c75;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background: #40739e;
}

a {
  text-decoration: none;
  color: #273c75;
}

a:hover {
  text-decoration: underline;
}
