/* ===== INFORMATION PAGE (information.html / #other) ===== */

#other video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  min-width: 100vw !important;
  min-height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  object-fit: cover !important;
  z-index: -10;
  background: #13100E;
  pointer-events: none;
}

/* ===== WRAP & LAYOUT ===== */
#other .wrap {
  width: 90vw;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px 28px 24px;
  background: rgba(0, 0, 0, 0.60);
  border-radius: 14px;
  box-shadow: 0 2px 10px #13100e33;
  box-sizing: border-box;
}

#other h1,
#other h2,
#other h3 {
  color: #ff9900;
  text-align: center;
  margin-top: 36px;
  font-size: 1.7em;
  line-height: 1.2;
  word-break: break-word;
}

#other h1 {
  font-size: 2em;
  margin-top: 24px;
  margin-bottom: 10px;
}

#other h2 {
  font-size: 1.25em;
  margin-top: 28px;
}

#other h3 {
  font-size: 1.1em;
}

/* ===== SECTION SPACING ===== */
#other .section {
  margin-bottom: 32px;
  padding: 0 4px;
}

/* ===== TABLES ===== */
#other table.dynamic-table {
  width: 100%;
  margin: 16px auto;
  border-collapse: collapse;
  font-size: 1em;
  table-layout: auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 7px;
  overflow: hidden;
  box-sizing: border-box;
}

#other table.dynamic-table th,
#other table.dynamic-table td {
  padding: 11px 8px;
  border: 1px solid #444;
  text-align: center;
  background-color: transparent;
  color: #fff;
  word-break: break-word;
  white-space: normal;
  font-size: 1em;
  line-height: 1.25;
}

#other table.dynamic-table thead {
  background-color: transparent;
  color: #ffcc00;
}

#other table.dynamic-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.07);
}

/* ===== NOTES & TEXT ===== */
#other .note {
  color: #ff6666;
  font-style: italic;
  text-align: center;
}

#other p,
#other li {
  margin: 10px 0;
  text-align: center;
}

#other ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

/* ===== MELHOR RESPONSIVIDADE ===== */
@media (max-width: 1000px) {
  #other .wrap {
    width: 98vw;
    max-width: 98vw;
    padding: 14px 2vw 22px 2vw;
  }
}

@media (max-width: 700px) {
  #other .wrap {
    width: 99vw;
    max-width: 99vw;
    padding: 8vw 1vw 11vw 1vw;
    border-radius: 0;
  }

  #other h1 {
    font-size: 1.3em;
    /* antes 1.25em */
    margin-top: 16px;
  }

  #other h2 {
    font-size: 1.15em;
    /* antes 1em */
    margin-top: 14px;
  }

  #other h3 {
    font-size: 1.05em;
    margin-top: 10px;
  }

  #other table.dynamic-table th,
  #other table.dynamic-table td {
    padding: 8px 2vw;
    font-size: 0.96em;
  }
}

@media (max-width: 600px) {
  #other .wrap {
    padding: 4vw 0 8vw 0;
    border-radius: 0;
    box-shadow: none;
  }

  #other h1 {
    font-size: 1.2em;
    /* antes 1em */
    margin-top: 10px;
  }

  #other h2 {
    font-size: 1.1em;
    /* antes 1em */
    margin-top: 9px;
  }

  #other h3 {
    font-size: 1em;
    margin-top: 8px;
  }


  #other .section {
    margin-bottom: 18px;
  }

  #other p,
  #other li {
    font-size: 0.97em;
    margin: 8px 0;
  }

  #other ul {
    padding-left: 20px;
  }
}

/* ===== MOBILE TABLES ===== */
@media (max-width: 600px) {

  #other table.dynamic-table,
  #other table.dynamic-table th,
  #other table.dynamic-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  #other table.dynamic-table thead {
    display: none;
  }

  #other table.dynamic-table tr {
    margin-bottom: 12px;
    display: block;
    border-bottom: 2px solid #444;
    background: none !important;
  }

  #other table.dynamic-table td {
    position: relative;
    padding-left: 45%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #333;
    background: none !important;
    min-height: 32px;
    font-size: 0.97em;
  }

  #other table.dynamic-table td:before {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #ffcc00;
    white-space: nowrap;
    content: attr(data-label);
    font-size: 0.92em;
    letter-spacing: 0.2px;
  }

  /* Corrige borda do último elemento */
  #other table.dynamic-table tr:last-child td {
    border-bottom: none;
  }
}

/* ===== MELHORIA: TABELA MAIS TOCÁVEL ===== */
@media (max-width: 420px) {
  #other .wrap {
    padding: 2vw 0 5vw 0;
    border-radius: 0;
    box-shadow: none;
  }

  #other table.dynamic-table td {
    padding-left: 38%;
    font-size: 0.92em;
    min-height: 32px;
  }

  #other .section {
    margin-bottom: 14px;
  }
}



/* ===== MELHORIAS DE SCROLL ===== */
#other {
  overflow-x: auto;
}