/* Container e Título */
.container {
  padding: 20px;
}
.page-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Painel de controle */
.control-panel {
  text-align: center;
  margin-bottom: 20px;
}
.control-panel label {
  font-weight: bold;
  margin-right: 8px;
}
.animal-select {
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #007bff;
  border-radius: 4px;
  color: #333;
  background-color: #fff;
  outline: none;
  transition: box-shadow .2s;
}
.animal-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Botões grandes */
.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
  line-height: 1.2;
}

/* Tabuleiro */
.board {
  display: grid;
  gap: 10px;
  margin: 0 auto 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 480px;
}

/* Cartões */
.card {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  background-size: cover;
  background-position: center;
}
.card-face {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
/* Canvas de raspadinha */
.scratch-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Mensagem de resultado */
.result-message {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 8px;
  max-width: 400px;
  margin: 20px auto;
  color: #fff;
  background-color: #28a745; /* vitória */
}
.result-message.lose {
  background-color: #dc3545; /* derrota */
}

/* Botão reiniciar */
#restart-btn {
  display: block;
  margin: 0 auto 40px;
}
