* {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

body {
  margin: 0;
  padding: 0;
  /* background-color: #1A1A1A; */
  background-color: #0e0e0e;
  padding-bottom: 50px;
}

#btnTopo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  /* começa invisível */
  pointer-events: none;
  /* não clicável quando invisível */
  transition: opacity 0.3s ease-in-out;
  /* transição suave */
}

/* Classe para mostrar o botão */
#btnTopo.show {
  opacity: 1;
  pointer-events: auto;
  /* clicável */
}

#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#header h1 {
  font-size: 1.8rem;
  text-align: center;
}

#header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* distribui logo e botão */
  margin-bottom: 15px;
  gap: 25px;
}

#duvida {
  margin-left: auto;
  margin-right: 15px;
  background-color: #008746;
  padding: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  gap: 10px;
  text-decoration: none;
}

#duvida i {
  font-size: 1.3rem;
}

#header img {
  margin-top: 13px;
  margin-left: 12px;
  width: 175px;
}

main {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-item {
  width: 95%;
  /* ou 100% para ocupar totalmente */
  max-width: 100%;
  /* opcional, para não esticar demais em telas grandes */
  margin: 5px;
  /* centraliza e dá espaçamento */
  /* margin-bottom: 15px; */
  border-radius: 10px;
  overflow: hidden;
  background-color: #1f1f1f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #2c2c2c;
  color: #fff;
  padding: 14px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.5s;
  display: flex;
  align-items: center;
}

.faq-question:hover {
  background-color: #3c3c3c;
}

.faq-question i {
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform 0.5s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 14px;
  background-color: #1f1f1f;
  font-size: 16px;
  line-height: 1.5;
  transition: 
    max-height 0.25s ease,
    opacity 0.1s ease,
    padding 0.2s ease;
}

.faq-answer.show {
  max-height: 500px;
  opacity: 1;
  padding: 14px;
  transition: 
    max-height 0.4s ease,
    opacity 0.4s ease 0.1s,
    padding 0.35s ease;
}

.txt-xbox {
  font-weight: bold;
  color: #52b043;
}

.txt-play {
  font-weight: bold;
  color: #2e6db4;
}

.txt-nint {
  font-weight: bold;
  color: #f56e64;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #header {
    gap: 10px;
    align-items: center;
    justify-content: space-evenly;
    font-size: 0.55rem;
  }

  #header img {
    width: 105px;
  }

  #duvida {
    font-size: 0.8rem;
  }

  #duvida i {
    font-size: 1rem;
  }

  #header h1 {
    font-size: 1.2rem;
    text-align: center;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }
}