/* Estilos modernizados - Configurações Gerais */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
   padding-bottom: 120px; /* Altura do footer + margem */
}

:focus-visible {
  outline: 2px solid #2c3e50;
  outline-offset: 2px;
}

/* Cards de Certificação - Versão Modernizada */
.certification-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: 100%;
  border-radius: 12px;
  background-color: #fff;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(47, 127, 207, 0.911);
  z-index: 10;
}

/* Página de Configuração - Novos Estilos */
.bg-dark-gradient {
  background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
}

.custom-range::-webkit-slider-thumb {
  background: #2c3e50;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
}

.custom-range::-moz-range-thumb {
  background: #2c3e50;
}

.custom-range::-webkit-slider-runnable-track {
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
}

.btn-dark {
  transition: all 0.3s ease;
  background-color: #2c3e50;
  border: none;
}

.btn-dark:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-dark {
  transition: all 0.3s ease;
  border: 2px solid #2c3e50;
}

.btn-outline-dark:hover {
  background-color: #f8f9fa;
  border-color: #1a1a1a;
  transform: translateY(-2px);
}

.results-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.results-score {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 1.5rem 0;
    font-family: 'Inter', sans-serif;
}

.results-summary {
    display: flex;
    justify-content: space-around;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-number {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}

.summary-label {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Accordion Modernizado */
.questions-accordion {
    margin-top: 2.5rem;
}

.accordion-item {
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-header {
    background-color: #f8f9fa;
}

.accordion-button {
    font-weight: 500;
    color: #2c3e50;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f1f3f5;
    color: #2c3e50;
}

.accordion-button.correct {
    color: #28a745;
}

.accordion-button.incorrect {
    color: #dc3545;
}

.accordion-body {
    padding: 1.75rem;
}

/* Elementos de Resposta */
.answers-list li {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.user-answer {
    background-color: rgba(255, 193, 7, 0.15);
    border-left: 3px solid #ffc107;
}

.correct-answer {
    background-color: rgba(40, 167, 69, 0.15);
    border-left: 3px solid #28a745;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.reference-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Barra de Progresso */
.progress {
    height: 10px;
    margin: 1.5rem 0;
    border-radius: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #2c3e50;
    transition: width 0.6s ease;
}

/* Botões de Ação Atualizados */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-restart {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-restart:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-home {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background-color: #5c636a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Questões Incorretas */
.incorrect-questions .card {
  border-left: 4px solid #dc3545;
  transition: all 0.3s ease;
}

.incorrect-questions .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Footer Octodex */
.octodex-footer {
  border-top: 3px solid #f9826c;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: 100;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  background-color: #fff;
}

.octodex-footer a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: #2c3e50;
}

.octodex-footer a:hover {
  color: #f9826c !important;
}

/* Efeitos Hover Consistentes */
.card-hover-effect {
  transition: all 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.btn-octodex {
  background-color: #2c3e50;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-octodex:hover {
  background-color: #f9826c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .results-container {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 12px;
    }
    
    .results-summary {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .certification-card {
        padding: 1.25rem !important;
    }
    
    .accordion-button {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .results-container {
        padding: 1.25rem;
        margin: 0.75rem;
    }
    
    .results-score {
        font-size: 2.2rem;
    }
    
    .summary-number {
        font-size: 1.6rem;
    }
}
/* Efeito de cards em cascata */
/* Container principal responsivo */
.certifications-container {
  display: flex;
  flex-wrap: wrap; /* Permite que os cards quebrem para a próxima linha */
  justify-content: center;
  gap: 20px; /* Espaço entre os cards */
  padding: 20px 0;
  margin: 60px auto;
  max-width: 1200px;
  overflow-x: auto; /* Alterado de auto para visible */
}

/* Estilo dos cards responsivos */
.certification-card {
  display: flex;
  flex-direction: column;
  height: 260px;
  min-width: 200px;
  background-color: #17141d;
  border-radius: 10px;
  box-shadow: -1rem 0 3rem #000;
  transition: 0.4s ease-out;
  position: relative;
  left: 0;
  color: white;
  padding: 20px;
  margin-right: -50px; /* Sobreposição dos cards */
}

/* Remover o efeito de cascata em dispositivos móveis */
.certification-card:hover ~ .certification-card {
  transform: translateX(0);
}

/* Título do card */
.cert-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Imagem responsiva */
.cert-icon-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  transition: transform 0.3s ease;
}

/* Barra de progresso */
.cert-progress {
  margin: 15px 0;
  height: 5px;
  width: 100%;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}

.cert-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2f7fcfe8 4%, #470796 100%);
  transition: width 0.6s ease;
}

/* Efeitos hover */
.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(45, 128, 211, 0.527);
  z-index: 1;
}

.cert-svg {
  width: 120px;
  height: 120px;
  margin: 20px auto;
}

.cert-svg circle {
  stroke: white;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: 0.6s ease-out;
}

.cert-icon-img {
  width: 160px; /* Ajuste conforme necessário */
  height: 160px;
  object-fit: contain;
  margin: 15px auto;
  display: block;
  transition: transform 0.3s ease;
}

.certification-card:hover .cert-progress-bar {
  width: 100%;
}

.certification-card:hover .cert-icon-img {
  transform: scale(1.1);
}

/* Texto do link */
.certification-card p {
  margin-top: auto;
  color: #ffffffe8;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Media Queries para responsividade */
@media (max-width: 1200px) {
  .certifications-container {
    grid-template-columns: 1fr; /* Uma coluna em mobile */
    max-width: 900px;
  }
}

@media (max-width: 992px) {
  .certification-card {
    width: 220px;
    height: 300px;
  }
  
  .cert-icon-img {
    width: 100px;
    height: 100px;
  margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .certifications-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .certification-card {
    width: 100%;
    max-width: 350px;
    height: auto;
    min-height: 280px;
  }
  
  .cert-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .certification-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .certifications-container {
    padding: 10px;
    margin: 30px auto;
  }
  
  .cert-icon-img {
    width: 80px;
    height: 80px;
  }
}
.certification-card {
  /* ... outros estilos ... */
  height: 420px; /* Aumentei de 280px para 320px */
  /* ... outros estilos ... */
}

/* Estilo para os ícones de fallback */
.cert-icon {
  font-size: 3rem;
  color: #58a6ff;
  display: block;
  margin: 150px auto;
  transition: all 0.3s ease;
}

/* Estilos para a página de configuração - Versão Modernizada */
.config-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
}

.config-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(47, 127, 207, 0.2);
}

.config-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.config-title {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.config-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
}

/* Input modernizado */
.config-input {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.config-input:focus {
  border-color: #2c3e50;
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* Botões compactos */
.config-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-config {
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-start {
  background-color: #2c3e50;
  color: white;
  border: none;
}

.btn-start:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-back {
  background-color: #f8f9fa;
  color: #2c3e50;
  border: 2px solid #e9ecef;
}

.btn-back:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Ícones */
.config-icon {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* Responsividade */
@media (max-width: 576px) {
  .config-card {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .config-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-config {
    width: 100%;
  }
}

/*Simulado Certificações Github*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');

.certification-title {
  background: linear-gradient(to right, #2f7fcfe8 0%, #05010a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Poppins', sans-serif;
  color: transparent;
  font-size: 3rem; /* Tamanho ajustado para ficar proporcional */
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

/* Efeito de levitação sutil ao passar o mouse */
.certification-title:hover {
  transform: translateY(-3px);
  text-shadow: 0 5px 15px rgba(48, 207, 208, 0.3);
  
}

body {
  background-color: #f8f9fa; /* ou a mesma cor de fundo usada no resto do site */
  position: relative;
}

.scubatocat-wrapper {
  position: absolute;
  top: 120px; /* ajustável */
  left: 0;
  z-index: 0;
  background-color: #f8f9fa; /* mesma cor do body para mesclar */
  padding: 20px;
}

.scubatocat-img {
  width: 550px; /* maior tamanho */
  max-width: 100%;
  height: auto;
  opacity: 0.9; /* opcional, para suavizar */
}
.scubatocat-img {
  width: 550px;
  max-width: 100%;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px #00f);
}

/* Efeito de "raios" ao passar o mouse */
.scubatocat-img:hover {
  transform: scale(1.05);
  cursor: pointer;
}
/* Adicione ao seu arquivo style.css */
.badge {
  font-family: monospace;
  font-size: 0.9rem;
  padding: 0.35em 0.65em;
}