* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #ffffff;
}

/* CONTAINER PRINCIPAL */
.box {
  max-width: 720px;
  margin: 40px auto;
  padding: 30px;
  background: #020617;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

/* TÍTULOS */
h1, h2 {
  text-align: center;
  color: #38bdf8;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.author {
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 25px;
}

/* PERGUNTA */
.question {
  font-size: 22px;
  margin: 25px 0;
  text-align: center;
}

/* INFO */
.info,
.score,
.timer {
  text-align: center;
  font-size: 16px;
  margin: 8px 0;
}

/* RESPOSTAS */
.answers button {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #1e293b;
  color: #ffffff;
  transition: 0.2s;
}

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

/* CERTO / ERRADO */
.answers button.correct {
  background: #16a34a !important;
  color: #022c22;
}

.answers button.wrong {
  background: #dc2626 !important;
  color: #ffffff;
}

/* BOTÕES */
.start-btn,
.actions button {
  display: block;
  margin: 20px auto 0;
  padding: 14px 30px;
  font-size: 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #22c55e;
  color: #022c22;
  animation: pulse 1.5s infinite;
}

/* ANIMAÇÃO BOTÃO */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* TEXTO MOTIVACIONAL */
.motivation {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
}

/* MOBILE */
@media (max-width: 600px) {
  .box {
    margin: 20px;
    padding: 20px;
  }

  .question {
    font-size: 20px;
  }

  .answers button {
    font-size: 17px;
  }
}



.home-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  background: #38bdf8;
  color: #020617;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.home-btn:hover {
  background: #0ea5e9;
}