/* ===== RESET & FONTES ===== */
:root {
  --roxo: #6a11cb;
  --azul: #2575fc;
  --vermelho: #ff416c;
  --verde: #2af598;
  --cinza-claro: #f5f7fa;
  --cinza-escuro: #2d3748;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cinza-claro);
  color: var(--cinza-escuro);
  line-height: 1.6;
}

/* ===== CONTAINER PRINCIPAL ===== */
.quiz-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== BARRA DE PROGRESSO ===== */
.progress-container {
  margin: 1.5rem 0;
}

.progress-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--roxo), var(--azul));
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== PERGUNTAS ===== */
.question {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--cinza-escuro);
}

/* ===== OPÇÕES DE RESPOSTA ===== */
.options {
  display: grid;
  gap: 0.75rem;
}

.option {
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.option:hover {
  border-color: var(--roxo);
  background: rgba(106, 17, 203, 0.05);
  transform: translateY(-2px);
}

.option.selected {
  border-color: var(--roxo);
  background: rgba(106, 17, 203, 0.1);
  font-weight: 600;
}

/* ===== BOTÕES DE NAVEGAÇÃO ===== */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.nav-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#prevBtn {
  background: #f1f5f9;
  color: var(--cinza-escuro);
}

#prevBtn:hover {
  background: #e2e8f0;
}

#nextBtn {
  background: linear-gradient(45deg, var(--roxo), var(--azul));
  color: white;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

#nextBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}

/* ===== EFEITOS ESPECIAIS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-container {
  animation: fadeIn 0.5s ease-out;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 640px) {
  .quiz-container {
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
  }
  
  .question {
    font-size: 1.1rem;
  }
  
  .option {
    padding: 0.75rem 1rem;
  }
}