/* === memory.css === */

#status {
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #fff;
}

#board {
  border-collapse: separate;
  border-spacing: 8px; /* etwas enger, damit es passt */
  margin: 0 auto;
}

#board td {
  width: 80px;      /* kleinere Zellen */
  height: 80px;
  border-radius: 12px;
  background-color: #456;
  color: #ffd700;   /* Fragezeichen sichtbar */
  text-align: center;
  font-size: 1.8em; /* kleiner als vorher */
  cursor: pointer;
  transition: transform 0.1s, background 0.2s, color 0.2s;
}

#board td:hover {
  transform: scale(1.05);
  background-color: #333;
}

/* Aufgedeckte Karte */
#board td.revealed {
  background: #ffd700;
  color: #000; 
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Bereits gefundene Paare */
#board td.matched {
  background: #4dff4d;
  color: #000;
  transform: none;
  opacity: 0.8;
}

@media (max-width: 600px) {
  #board td {
    width: 60px;
    height: 60px;
    font-size: 1.5em;
  }
}
