/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fa;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  background-color: #222;
  padding: 15px 20px;
  color: white;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-pequeno {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.logo {
  font-weight: 700;
  font-size: 24px;
}

.realce {
  color: #D96299;
}

.titulo {
  text-align: center;
  padding: 20px 10px;
  background-color: #e3f2fd;
  color: #0d47a1;
}

.conteudo-jogo {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.questionario {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  width: 100%;
  max-width: 520px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
}

.progresso {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: #666;
  text-align: right;
}

.pergunta {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  min-height: 60px;
  line-height: 1.3;
}

.respostas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.botao-resposta {
  background-color: #fff;
  border: 2px solid #333;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

.botao-resposta:hover:not(:disabled) {
  background-color: #f0f0f0;
}

.botao-resposta:disabled {
  cursor: default;
  opacity: 0.6;
}

.botao-resposta.correto {
  background-color: #4caf50;
  border-color: #388e3c;
  color: white;
}

.botao-resposta.errado {
  background-color: #f44336;
  border-color: #d32f2f;
  color: white;
}

.explicacao {
  margin-top: 16px;
  font-style: italic;
  color: #444;
  background-color: #f9f9f9;
  border-left: 4px solid #2196f3;
  padding: 12px 18px;
  border-radius: 3px;
}

.fim {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.botao-reiniciar {
  margin-top: 25px;
  background-color: #2196f3;
  border: none;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.botao-reiniciar:hover {
  background-color: #1769aa;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 15px 10px;
  background-color: #222;
  color: white;
}

footer a {
  color: #D96299;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsividade básica */
@media (max-width: 600px) {
  .questionario {
    padding: 20px 15px;
  }

  .pergunta {
    font-size: 18px;
  }

  .botao-resposta {
    font-size: 14px;
    padding: 10px 15px;
  }
}
