/* Estilos personalizados para o Quiz */
.quiz-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.quiz-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 2px solid #fff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
  backdrop-filter: blur(10px);
}

.quiz-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border-color: #fff !important;
  background: rgba(255, 255, 255, 1) !important;
  color: #000 !important;
}

.quiz-btn:active {
  transform: translateY(-1px) !important;
}

.quiz-btn.selected {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.quiz-btn.btn-success {
  background: linear-gradient(45deg, #28a745, #20c997) !important;
  border-color: #28a745 !important;
  color: white !important;
}

.quiz-btn.btn-success:hover {
  background: linear-gradient(45deg, #218838, #1e7e34) !important;
  color: white !important;
}

.quiz-btn.btn-danger {
  background: linear-gradient(45deg, #dc3545, #e83e8c) !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.quiz-btn.btn-danger:hover {
  background: linear-gradient(45deg, #c82333, #bd2130) !important;
  color: white !important;
}

.quiz-btn.btn-warning {
  background: linear-gradient(45deg, #ffc107, #fd7e14) !important;
  border-color: #ffc107 !important;
  color: #212529 !important;
}

.quiz-btn.btn-warning:hover {
  background: linear-gradient(45deg, #e0a800, #e67e22) !important;
  color: #212529 !important;
}

/* Estilos para os cards de resultado */
.quiz-result-container {
  animation: fadeInUp 0.8s ease-out;
}

.result-cards {
  margin-bottom: 2rem;
}

.result-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.result-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.result-card:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.card-icon i {
  font-size: 1.5em;
  color: white;
}

.card-content {
  flex: 1;
}

.card-title {
  color: #666;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.card-value {
  color: #333;
  font-size: 1.3em;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Botão CTA personalizado */
#ctaBtn {
  background: linear-gradient(45deg, #25D366, #128C7E) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

#ctaBtn:hover {
  background: linear-gradient(45deg, #128C7E, #075E54) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

#ctaBtn:active {
  transform: translateY(0);
}

#ctaBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#ctaBtn:active::before {
  width: 300px;
  height: 300px;
}

/* Animação de entrada para as perguntas */
.quiz-question {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito de ripple nos botões */
.quiz-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.quiz-btn:active::before {
  width: 300px;
  height: 300px;
}

/* Progress bar personalizada */
.progress {
  height: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
  border-radius: 10px;
  transition: width 0.8s ease;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .quiz-btn {
    font-size: 1em !important;
    padding: 12px 20px !important;
  }
  
  .quiz-container h4 {
    font-size: 1.4em !important;
    min-height: 100px !important;
  }
  
  .result-card {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .card-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .card-title {
    font-size: 0.8em;
  }
  
  .card-value {
    font-size: 1.1em;
  }
}

/* Efeito de loading para transições */
.quiz-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Ícones animados */
.quiz-btn i {
  transition: transform 0.3s ease;
}

.quiz-btn:hover i {
  transform: scale(1.2);
}

.quiz-btn.selected i {
  transform: scale(1.1);
} 