body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #fafbfc;
  color: #222;
  font-family: Verdana, Arial, sans-serif;
  overflow: hidden;
}

.container {
  position: relative;
  max-width: 500px;
  height: 620px;
  margin: 50px auto;
  padding: 20px;
  background: url(assets/background.png) 100%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
  justify-items: center;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.question {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.answers button {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #444;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.answers button:hover {
  background: #666;
}

button#next-btn,
button#restart-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hidden {
  display: none;
}

#result-container {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 20px;
}

#instrutor {
  position: absolute;
  bottom: 20px;
  left: 200px;
}

#instrutor img {
  width: 100px;
  height: auto;
  user-select: none;
  pointer-events: none;
}

#instrutor:hover {
  cursor: url(assets/balloon3.png), auto;
  animation: balloon 3000ms infinite;
}

@keyframes balloon {
  0% {
    cursor: url(assets/balloon1.png), auto;
  }
  5% {
    cursor: url(assets/balloon2.png), auto;
  }
  10% {
    cursor: url(assets/balloon3.png), auto;
  }
}
/* Mantém apenas o essencial para o visual de caixa de diálogo */

/* --- Caixa de diálogo estilo Ragnarok --- */
.dialog-box {
  background: #fff;
  border: 2px solid #bcbcbc;
  border-radius: 6px;
  box-shadow: 2px 2px 8px #888;
  color: #222;
  font-family: Verdana, Arial, sans-serif;
  padding: 18px 18px 8px 18px;
  width: 350px;
  margin: 40px auto;
  position: relative;
}

.dialog-text {
  margin-bottom: 10px;
  font-size: 1rem;
  white-space: pre-line;
}

.dialog-options {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
}

.dialog-options li {
  padding: 6px 12px;
  margin-bottom: 4px;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  color: #222;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.dialog-options li:hover,
.dialog-options .dialog-selected {
  background: #cce0ff;
  color: #003366;
}

.dialog-btn {
  padding: 2px 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  background: #f4f4f4;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 1px 1px 2px #ccc;
}

.dialog-btn-cancel {
  background: #eaeaea;
  color: #666;
}
