/* RESET E GERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', 'Arial', sans-serif;
  color: #222;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* CONTAINER GERAL */
.wrapper {
  display: flex;
  max-width: 1280px;
  width: 100%;
  margin-top: 120px; /* compensação para header fixo */
}

/* SIDEBAR FIXA ALINHADA AO CONTEÚDO */
.sidebar {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-640px); /* metade da largura do wrapper */
  width: 260px;
  height: calc(100vh - 120px);
  background-color: #f9f9f9;
  border-right: 1px solid #ddd;
  padding: 20px;
  overflow-y: auto;
  z-index: 998;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.sidebar a {
  display: block;
  margin: 18px 0;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
}

.sidebar a:hover {
  color: #007bff;
}

.sidebar a:first-of-type {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
}

.sidebar hr {
  margin: 10px 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* HEADER FIXO CENTRALIZADO */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-header-inner {
  width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.main-header .logo img {
  max-height: 38px;
}

.main-header .languages {
  display: flex;
  gap: 12px;
}

.main-header .languages img {
  width: 28px;
  cursor: pointer;
}

/* CONTEÚDO PRINCIPAL */
.content {
  flex: 1;
  padding: 40px 60px 40px 80px;
  margin-left: 300px; /* 260 (sidebar) + 40 (espaço interno) */
  max-width: calc(100% - 300px);
  font-size: 16px;
  line-height: 1.8;
}

/* TÍTULOS */
header h1,
.content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* DATA DE PUBLICAÇÃO */
.published-info {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 2.5rem;
}

/* PARÁGRAFOS */
.content p {
  margin-bottom: 1.2rem;
}

/* LISTAS */
.content ul {
  margin-top: 1rem;
  margin-bottom: 2rem;
  margin-left: 1.5rem;
  padding-left: 1rem;
  line-height: 1.8;
  list-style-type: disc;
}

/* SEÇÕES */
section {
  margin-bottom: 60px;
}

/* RODAPÉ */
footer {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding: 20px 0;
}

/* RESPONSIVO: OCULTAR MENU EM MOBILE */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .content {
    margin-left: 0;
    max-width: 100%;
    padding: 40px 20px;
  }

  .main-header-inner {
    padding: 20px;
  }
}
.section-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.anchor-fix {
  position: relative;
  top: -120px; /* mesma altura do header */
  height: 1px;
  visibility: hidden;
}
.anchor-fix {
  position: relative;
  top: -120px;
  height: 1px;
  visibility: hidden;
}

.sidebar details summary {
  cursor: pointer;
  font-weight: bold;
  padding: 5px 0;
}

.sidebar details a {
  display: block;
  margin-left: 1.2rem;
  padding: 2px 0;
  font-size: 0.95em;
  color: #444;
  text-decoration: none;
}
.section-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.tokenomics-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  margin-bottom: 30px;
}

.tokenomics-table th,
.tokenomics-table td {
  padding: 10px 12px;
  border: 1px solid #ccc;
  text-align: left;
}

.tokenomics-table thead {
  background-color: #f8f8f8;
  font-weight: bold;
}
/* Estilo para manter as tabelas padronizadas e alinhadas */
.table-container {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.standard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.standard-table th,
.standard-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
}

.standard-table th {
  background-color: #f9f9f9;
  font-weight: bold;
}

/* Imagem do gráfico responsiva e alinhada com o conteúdo */
.tokenomics-chart {
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 2rem auto;
}
/* Esconde o menu lateral no mobile */
@media (max-width: 768px) {
  .sidebar {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    width: 80%;
    max-width: 300px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 999;
  }

  .sidebar.open {
    display: block;
  }

  .menu-toggle {
    display: block;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}
