/* ------------------------------
   Base geral
------------------------------ */
body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: #f4f2fa;
  color: #2e2e2e;
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* ------------------------------
   Cabeçalho
------------------------------ */
header {
  text-align: center;
  background: linear-gradient(135deg, #4b1e78, #7a2bbf);
  color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 180px;
  height: auto;
  border-radius: 10px;
  max-width: 80vw;
}

.header-text h1 {
  margin: 0;
  font-size: 2.2em;
  color: #fff;
}

.header-text p {
  margin: 0;
  font-size: 1em;
  color: #e0d5ef;
  font-style: italic;
}

/* Layout horizontal em telas grandes */
@media (min-width: 700px) {
  .header-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 140px;
    margin-right: 20px;
  }

  .header-text {
    text-align: left;
  }
}

/* ------------------------------
   Alternância de idioma
------------------------------ */
.lang-toggle {
  text-align: right;
  font-size: 0.9em;
  margin: -15px 0 25px;
}

.lang-toggle a {
  color: #5b1eb3;
  text-decoration: none;
  font-weight: 600;
}

.lang-toggle a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Títulos de seção
------------------------------ */
h2 {
  border-left: 4px solid #7a2bbf;
  padding-left: 10px;
  margin-top: 40px;
  color: #4b1e78;
  font-size: 1.4em;
}

/* ------------------------------
   Listas e textos gerais
------------------------------ */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 8px;
}

a {
  color: #5b1eb3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Seções padrão (como factsheet, descrição)
------------------------------ */
section {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}

/* ------------------------------
   Ícones das redes sociais
------------------------------ */
#factsheet a i {
  font-size: 2.2em;
  margin-right: 14px;
  color: #5b1eb3;
  transition: 0.2s;
  vertical-align: middle;
}

#factsheet a i:hover {
  color: #3b1489;
  transform: scale(1.1);
}

/* ------------------------------
   Lista de jogos (Games)
------------------------------ */
.games-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.games-list li {
  background: #fff;
  border: 1px solid #e3d7f7;
  border-radius: 12px;
  transition: 0.2s;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.games-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Link container */
.games-list a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

/* Imagem */
.games-list img {
  width: 40%;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Texto */
.games-list a div {
  flex: 1;
}

/* Primeiro strong */
.games-list a strong:first-of-type {
  color: #5b1eb3;
  text-decoration: underline;
  transition: 0.2s;
}

.games-list a:hover strong:first-of-type {
  color: #3b1489;
}

/* ------------------------------
   Galeria (caso use)
------------------------------ */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery img {
  width: 45%;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  margin-top: 50px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

/* ------------------------------
   Responsividade
------------------------------ */
@media (max-width: 700px) {
  .games-list a {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .games-list img {
    width: 100%;
  }

  section {
    padding: 15px;
  }
}
