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

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

header h1 {
  font-size: 1.8rem; /* antes 2.4rem */
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

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


/* ------------------------------
   Alternância de idioma
------------------------------ */
/* ------------------------------
   Top bar (voltar + idiomas)
------------------------------ */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  margin: -15px 0 25px;
}

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

.back-link a:hover {
  text-decoration: underline;
}

/* Estilo já existente dos idiomas */
.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
------------------------------ */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 8px;
}

/* ------------------------------
   Links padrão
------------------------------ */
a {
  color: #5b1eb3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Galeria de imagens
------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* ------------------------------
   Logo do jogo
------------------------------ */
.logo {
  max-width: 200px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

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

/* ------------------------------
   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) {
  header {
    padding: 25px 10px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  section {
    padding: 15px;
  }
}


/* ------------------------------
   Logos e Ícones
------------------------------ */
#logos .logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* permite quebrar em telas pequenas */
  gap: 20px;
  margin: 20px 0;
}

#logos .logos-container .logo {
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

#logos .logos-container .logo:hover {
  transform: scale(1.05);
}



/* ------------------------------
   Botão de download do press kit
------------------------------ */
.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #5b1eb3, #7a2bbf);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.download-btn:hover {
  background: linear-gradient(135deg, #3b1489, #6722a8);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* ------------------------------
   Lightbox (imagem ampliada)
------------------------------ */
#lightbox {
  display: none; /* escondido por padrão */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

#lightbox img {
  max-width: 60%;
  max-height: 60%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.25s ease;
}

/* Efeito de transição suave */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ------------------------------
   Í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);
}

/* ------------------------------
   Banner do cabeçalho
------------------------------ */
.header-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* ------------------------------
   Galeria de vídeos
------------------------------ */
#videos .video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  margin-top: 10px;
  justify-content: center; /* centraliza quando há 1 só */
  justify-items: center;   /* centraliza o conteúdo dentro da célula */
}

#videos .video-item {
  width: 100%;
  max-width: 420px; /* impede que um único vídeo fique gigante */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  padding: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


#videos .video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

#videos iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

#videos p {
  margin-top: 8px;
  font-size: 0.95em;
  color: #4b1e78;
  font-weight: 500;
}

/* Responsivo: vídeos maiores em telas grandes */
@media (min-width: 900px) {
  #videos iframe {
    height: 250px;
  }
}


/* ------------------------------
   Sublistas dentro de Features
------------------------------ */
#features ul.sublist {
  margin-top: 8px;
  margin-left: 100px;
  list-style: disc; /* bolinhas comuns */
  color: #444;
}

#features ul.sublist li {
  margin-bottom: 5px;
  font-size: 0.95em;
  line-height: 1.6;
}

#features ul.sublist li::marker {
  color: #7a2bbf; /* cor das bolinhas */
}
