/* ======== RESET ======== */
  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Roboto', sans-serif;
    background: #101823;
    color: #fff;
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  body.visible { opacity: 1; }
 

  /* ======== CABEÇALHO ======== */
  .top-header {
    background: linear-gradient(90deg, #1b2838, #171a21);
    color: #bbb;
    font-size: 14px;
    padding: 20px 20px;
    border-bottom: 2px solid #00adee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    
    /* FIXAR NO TOPO */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .top-header a { color: #00adee; text-decoration: none; margin-left: 15px; transition: 0.3s; }
  .top-header a:hover { color: #1ecfff; }
  .logo-container { display: flex; align-items: center; gap: 15px; transition: transform 0.3s ease; }
  .logo-container:hover { transform: scale(1.05); }
  .logo-container img.file-icon { height: 50px; width: auto; }

  .header-center-links {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex: 1;
    font-size: 18px;
    margin-right: 25px;
  }
  .header-center-links a { color: white; text-decoration: none; font-weight: 900; position: relative; }
  .header-center-links a:hover { color: #00adee; }

  /* barra de pesquisa */
  .right-section { display: flex; align-items: center; gap: 20px; }
  .menu-search { display: flex; align-items: center; border: 2px solid #00adee; border-radius: 8px; overflow: hidden; transition: 0.3s ease; }
  .menu-search:hover { box-shadow: 0 0 15px #00adee; }
  .menu-search input { padding: 6px 10px; border: none; background: #0e151f; color: white; }
  .menu-search button { padding: 6px 12px; border: none; background: #00adee; color: white; cursor: pointer; transition: background 0.3s ease; }
  .menu-search button:hover { background: #1ecfff; }

  /* ======== BANNER ======== */
  .banner {
    position: relative;
    width: 100%;
    height: 300px;              /* MUITO IMPORTANTE */
    overflow: hidden;
    background-color: #0e151f;
  }
  
  .banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .banner img.active {
    opacity: 1;
  }

     /* ======== NOVA SEÇÃO DE CARDS INFORMATIVOS ======== */
    .info-cards-section {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin: 20px 0;
    }

    .info-cards-section h2 {
      text-align: center;
      color: #00adee;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .info-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .info-card {
      background: #0e151f;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    .info-card:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 0 25px #00adee;
    }

    .info-card img {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .info-card h3 {
      color: #1ecfff;
      margin-bottom: 8px;
    }

    .info-card p {
      color: #bbb;
      font-size: 14px;
    }

    .info-card a {
      text-decoration: none;
      display: block;
    }

   /* Estilos para notícias com imagens */
    .news-item {
      display: flex;
      align-items: flex-start;
      gap: 15px; /* espaço entre imagem e texto */
      margin-bottom: 20px;
    }

    .news-item img.news-image {
      width: 80px;   
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
    }

    .news-item .news-text h3 {
      margin: 0 0 5px 0;
    }

    .news-item .news-text p {
      margin: 0;
    }

    /* Estilos para a tabela informativa */
    .info-table {
      display: flex;
      justify-content: center;
      margin: 20px 0;
      gap: 15px;
      flex-wrap: wrap;
    }

    .info-table a {
      display: block;
      padding: 10px 20px;
      background-color: #f5f5f5;
      color: #333;
      font-weight: bold;
      text-decoration: none;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .info-table a:hover {
      background-color: #007bff;
      color: white;
    }

  /* ======== CONTEÚDO ======== */
  .main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 10px 20px 100px; /* espaço extra para topo e rodapé fixos */
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .section {
    background: #16202d;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    animation: fadeUp 1s ease;
  }
  .section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00adee;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Jogos recentes */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Card inteiro clicável */
.game-card {
  background: #0e151f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: 0.3s;
  text-decoration: none;   /* Remove sublinhado */
  color: inherit;          /* Mantém cor do texto */
  display: block;           /* Card inteiro clicável */
}

.game-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 25px #00adee;
}

.game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.game-card .info {
  padding: 12px;
  text-align: center;
}

.game-card .info h3 {
  margin-bottom: 8px;
  color: #1ecfff;
}

.game-card .info p {
  font-size: 14px;
  color: #bbb;
}

/* Remove todos os estilos de link e de visita */
.game-card,
.game-card:visited,
.game-card:hover,
.game-card:active {
  text-decoration: none !important;
  color: inherit !important;
}
  /* Notícias */
  .news {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .news-item {
    background: #0e151f;
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
  }
  .news-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #00adee;
  }
  /* Estilos para notícias com imagens */
    .news-item {
      display: flex;
      align-items: flex-start;
      gap: 15px; /* espaço entre imagem e texto */
      margin-bottom: 20px;
    }

    .news-item img.news-image {
      width: 80px;   /* tamanho da imagem */
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
    }

    .news-item .news-text h3 {
      margin: 0 0 5px 0;
    }

    .news-item .news-text p {
      margin: 0;
    }
  /* Músicas */
  .music-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  .music-item {
    background: #0e151f;
    border-radius: 8px;
    padding: 15px;
    width: 250px;
    text-align: center;
    transition: 0.3s;
  }
  .music-item:hover {
    box-shadow: 0 0 15px #00adee;
    transform: translateY(-4px);
  }
  .music-item audio { width: 100%; margin-top: 10px; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ======== RODAPÉ ======== */
  footer {
    background: #0e151f;
    text-align: center;
    padding: 8px 0px;
    font-size: 12px;
    border-top: 2px solid #00adee;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
  }
  footer a {
    color: #00adee;
    text-decoration: none;
    margin: 0 10px;
  }
  footer a:hover { color: #1ecfff; }

  .board-card, .thread-card, .post {
    background: #111;
    border: 1px solid #333;
    padding: 10px;
    margin-bottom: 10px;
  }
  
  .post-id {
    color: #7f7f7f;
    font-size: 0.8em;
  }
  
  .chan-board, .chan-thread, .chan-post {
    background:#16202d;
    border:1px solid #00adee33;
    border-radius:10px;
    padding:15px;
    margin-bottom:15px;
  }
  
  .chan-board a, .chan-thread a {
    color:#00adee;
    text-decoration:none;
  }
  
  .post-meta {
    font-size:12px;
    color:#7fa9c7;
    margin-bottom:8px;
  }
  
  .chan-form input,
  .chan-form textarea {
    width:100%;
    background:#0e151f;
    border:1px solid #00adee;
    color:white;
    border-radius:6px;
    padding:10px;
    margin-bottom:10px;
  }
  
  .chan-form button {
    background:#00adee;
    border:none;
    border-radius:6px;
    padding:10px;
    cursor:pointer;
  }
  
/* ============================= */
/* WIKI ARTICLE AVANÇADO         */
/* ============================= */

.wiki-article {
  background: #f8f9fa;
  color: #202122;
  border: 1px solid #a2a9b1;
  border-radius: 4px;
  padding: 30px 40px;
  font-family: Georgia, "Times New Roman", serif;
  overflow: hidden;
}

/* INFOBOX */
.wiki-infobox {
  float: right;
  width: 260px;
  margin: 0 0 20px 30px;
  background: #ffffff;
  border: 1px solid #a2a9b1;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.wiki-infobox img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #a2a9b1;
}

.infobox-caption {
  text-align: center;
  font-size: 12px;
  color: #54595d;
  padding: 6px;
}

.wiki-infobox table {
  width: 100%;
  border-collapse: collapse;
}

.wiki-infobox th {
  text-align: left;
  background: #eaecf0;
  padding: 6px;
  width: 40%;
  font-weight: bold;
}

.wiki-infobox td {
  padding: 6px;
}

/* TEXTO */
.wiki-article h2 {
  font-family: Arial, sans-serif;
  font-size: 2.2em;
  border-bottom: 1px solid #a2a9b1;
  margin-bottom: 15px;
}

.wiki-article h3 {
  font-family: Arial, sans-serif;
  font-size: 1.4em;
  margin-top: 30px;
  border-bottom: 1px solid #c8ccd1;
}

.wiki-article p {
  font-size: 16px;
  line-height: 1.65;
  margin: 12px 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .wiki-infobox {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}
