/* ====================
   ESTILO GERAL DO SITE - SUNFLOWERLAND
======================= */
#sfl-hub-root {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  padding: 30px;
  color: var(--ink);
  overflow-x: hidden;
}

#sfl-hub-root h1 {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 1px 1px 2px #000000;
}

#sfl-hub-root h2 {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: left;
  text-shadow: 1px 1px 2px #000000;
}

#sfl-hub-root h3 {
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px #000000;
}

#sfl-hub-root h4 {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px #000000;
}

#sfl-hub-root h5 {
  font-size: 18px;
  color: var(--muted);
  margin-top: 20px;
  text-shadow: 1px 1px 2px #000000;
}

/* ====================
   ÃREA DE RESULTADOS
======================= */
#saida-das-crops {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-das-crops-cm {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-das-frutas {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-da-greenhouse {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-dos-minerios {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-das-crop-to-coins {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-das-galinhas {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-das-vacas {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

#saida-das-ovelhas {
  padding: 20px;
  border-radius: 14px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(17, 16, 16, 0.4);
  font-size: 1px;
  font-weight: bold;
  background-color: var(--bg-elev);
  color: #ffffff;
}

/* ====================
   TABELA DE CROPS
======================= */
.tabela-crops {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #555;
  box-shadow: 0 0 8px rgba(182,255,74,.4);
}

.tabela-crops th,
.tabela-crops td {
  padding: 7px 8px;
  text-align: center;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
}

.tabela-crops th:last-child,
.tabela-crops td:last-child {
  border-right: none;
}

.tabela-crops tr:last-child td {
  border-bottom: none;
}

.tabela-crops th {
  background-color: #383838;
  color: var(--accent);
  font-weight: bold;
  border-bottom: 2px solid #4a4a4a;
  border-right: 1px solid #4a4a4a;
}

.tabela-crops th:last-child {
  border-right: none;
}

.tabela-crops tr:nth-child(even) {
  background-color: var(--bg-elev);
}

.tabela-crops tr:nth-child(odd) {
  background-color: #242424;
}

.tabela-crops tr:hover td {
  background-color: #2f2820;
}

.crop-img {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: contain;
  border-radius: 6px;
}

td input.quantidade-input {
  display: block;
  margin: 0 auto;
  width: 125px;
  height: 28px;
  padding: 2px 4px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #555;
  background-color: var(--bg);
  color: #ffffff;
  text-align: center;
}

td input.quantidade-input-cm {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: var(--bg);
  color: #ffffff;
  padding: 10px;
  text-align: center;
}

/* ====================
   Selects Idioma
======================= */
.select-idioma {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.select-idioma label {
  font-weight: bold;
  margin: 0;
  color: var(--accent);
  white-space: nowrap;
}

/* ====================
   Inserir Farm label
======================= */
.input-numero-da-farm {
  font-weight: bold;
  margin: 0;
  color: var(--accent);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ====================
   Inserir Resultado Combo label
======================= */
.visualizar-combo-completo {
  font-weight: bold;
  margin: 0;
  color: var(--accent);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ====================
   Selects Group
======================= */
.select-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.select-group label {
  font-weight: bold;
  margin-bottom: 1px;
  color: var(--accent);
}

select {
  padding: 6px 12px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid var(--accent-dim);
  background-color: var(--bg-elev);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

/* ====================
   CONTAINER PRINCIPAL DAS TABS E CARD
======================= */
.items-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}

/* ====================
   TAB CONTAINER
======================= */
.tab-container {
  flex: 1;
  max-width: 1000px;
  box-sizing: border-box;
  overflow-x: auto;
}

/* ====================
   ESTILOS GERAIS PARA TABS E SUB-TABS
======================= */
.tab-content {
  display: none;
  padding: 15px;
  border-radius: 0 0 12px 12px;
  border: 3px solid rgba(182,255,74,.45);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  box-shadow:
    0 0 10px #0008,
    0 0 12px rgba(182,255,74,.45)33 inset,
    0 6px 12px rgba(0,0,0,0.5);
}

.tab-btn.active {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border-color: rgba(182,255,74,.45);
  border-bottom: 3px solid var(--bg-elev);
  color: var(--ink);
}

.tab-content.active {
  display: block;
}

/* ====================
   BOTÃ•ES DAS ABAS PRINCIPAIS
======================= */
.tabs-buttons-container {
  display: flex;
  margin-bottom: -1px;
}

.tab-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  background-color: #1a2420;
  color: var(--accent);
  border: 1px solid #444;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-right: 2px;
}

.tab-btn:hover {
  background-color: #24302a;
}

.tab-btn.active {
  background-color: var(--bg-elev);
  color: #ffffff;
  border-color: #444;
  border-bottom: 1px solid var(--bg-elev);
}

/* ====================
   BOTÃ•ES DAS SUB-ABAS
======================= */
.sub-tabs-buttons-container {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}

.sub-tab-btn {
  padding: 6px 12px;
  font-size: 14px;
  background-color: transparent;
  color: var(--ink);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-right: 5px;
}

.sub-tab-btn:hover {
  background-color: #383838;
}

.sub-tab-btn.active {
  background-color: var(--accent);
  color: var(--bg);
  font-weight: bold;
}

/* ====================
   CONTEÃšDO DAS SUB-ABAS
======================= */
.sub-tab-content {
  display: none;
  padding-top: 10px;
}

.sub-tab-content.active {
  display: block;
}

.texto-skill-desbloquear {
  flex-basis: 100%;
  white-space: normal;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px #000000;
  font-weight: bold;
}

/* ====================
   NFTS, SKILLS E CHECKBOXES
======================= */
.nft-container, .skill-container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 3px;
  column-gap: 11px;
}

.nft-wrapper, .skill-wrapper {
  position: relative;
  text-align: center;
}

.nft-img, .skill-img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  border-radius: 12px;
  background-color: var(--bg-elev);
  padding: 6px;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.nft-img:hover, .skill-img:hover {
  transform: scale(1.15) rotate(-3deg);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(182,255,74,.35);
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

input[type="checkbox"]:checked + .nft-img,
input[type="checkbox"]:checked + .skill-img,
input[type="checkbox"]:checked + .sprite-box {
  border: 2px solid var(--accent);
  background-color: #4a4035;
  box-shadow: 0 0 10px rgba(182,255,74,.5);
  transform: scale(1.15);
}

.icon-btn {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

/* ============================
   CARD DE BUFFS AO LADO DAS TABS
=============================== */
#info-card {
  position: relative;
  width: 260px;
  padding: 12px;
  margin-left: 10px;
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border: 3px solid rgba(182,255,74,.45);
  border-radius: 14px;
  display: none;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
  box-shadow:
    0 0 10px #0008,
    0 0 12px rgba(182,255,74,.45)33 inset,
    0 6px 12px rgba(0,0,0,0.5);
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

#info-card img.card-img {
  width: 30px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin: 5px auto 10px auto;
}

#info-card .card-titulo {
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0 8px 0;
  color: #ffcf7a;
  text-align: center !important;
  text-shadow: 1px 1px 2px #000;
}

#info-card .card-descricao {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4em;
  padding: 0 12px 10px 12px;
  color: #e9ddc7;
  text-shadow: 1px 1px 1px #000;
}

/* ====================
   SELECTS E INPUTS
======================= */
.linha-selects {
  display: flex;
  justify-content: left;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

select, input[type="number"] {
  padding: 6px 12px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid var(--accent-dim);
  background-color: var(--bg-elev);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

/* ====================
   INPUTS DOS MINERAIS
======================= */
.input-wrap input[type="number"] {
  width: 160px;
  height: 25px;
  padding: 2px 6px;
  font-size: 15px;
}

select:focus, input[type="number"]:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 6px rgba(182,255,74,.5);
}

button {
  padding: 8px 18px;
  background-color: #fa9600;
  color: white;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background-color: var(--accent);
  box-shadow: 0 4px 8px rgba(182,255,74,.3);
}

/* ====================
   SKILLS BLOQUEADAS
======================= */
input[type="checkbox"]:disabled + .skill-img,
input[type="checkbox"]:disabled + .nft-img,
input[type="checkbox"]:disabled + .sprite-box {
  filter: brightness(40%);
  opacity: 0.7;
  cursor: not-allowed;
  border: 2px solid #444;
  box-shadow: none;
  transform: none !important;
}

input[type="checkbox"]:disabled + .skill-img:hover,
input[type="checkbox"]:disabled + .nft-img:hover,
input[type="checkbox"]:disabled + .sprite-box:hover {
  transform: none;
  border-color: #444;
  box-shadow: none;
}

/* ====================
   SPRITE-BOX
======================= */
.sprite-box {
  --checkbox-size: 33px;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  border-radius: 5px;
  background-color: var(--bg-elev);
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sprite-box:hover {
  transform: scale(1.15) rotate(-3deg);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(182,255,74,.35);
}

.nft-wrapper label,
.skill-wrapper label {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cards-totais-crops {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.card-total-crops {
  background: #222;
  border: 1px solid #444;
  padding: 15px 20px;
  border-radius: 12px;
  min-width: 120px;
  text-align: center;
  color: var(--accent);
  box-shadow: 0 0 10px #0005;
}

.card-total-crops h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.card-total-crops p {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}

/* CARDS DOS MINERAIS */
.cards-totais-minerais {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.card-total-mineral {
  background: #222;
  border: 1px solid #444;
  padding: 15px 20px;
  border-radius: 12px;
  height: 110px;
  min-width: 120px;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--accent);
  box-shadow: 0 0 10px #0005;
}

.card-total-mineral h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.card-total-mineral p {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}

/* CARDS DOS ANIMAIS */
.cards-totais-animais {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.card-total-animal {
  background: #222;
  border: 1px solid #444;
  padding: 15px 20px;
  border-radius: 12px;
  min-width: 120px;
  text-align: center;
  color: var(--accent);
  box-shadow: 0 0 10px #0005;
}

.card-total-animal h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.card-total-animal p {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}

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

.header h1 {
  margin: 0;
}

.loader {
  width: 22px;
  height: 22px;
  border: 3px solid #ffffff33;
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ====================
   TABELA DE MINERIOS
======================= */
.tabela-minerios {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #555;
  box-shadow: 0 0 8px rgba(182,255,74,.4);
}

.tabela-minerios th,
.tabela-minerios td {
  padding: 7px 8px;
  text-align: center;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
}

.tabela-minerios th:last-child,
.tabela-minerios td:last-child {
  border-right: none;
}

.tabela-minerios tr:last-child td {
  border-bottom: none;
}

.tabela-minerios th {
  background-color: #383838;
  color: var(--accent);
  font-weight: bold;
  border-bottom: 2px solid #4a4a4a;
  border-right: 1px solid #4a4a4a;
}

.tabela-minerios th:last-child {
  border-right: none;
}

.tabela-minerios tr:nth-child(even) {
  background-color: var(--bg-elev);
}

.tabela-minerios tr:nth-child(odd) {
  background-color: #242424;
}

.tabela-minerios tr:hover td {
  background-color: #2f2820;
}

/* ====================
   TABELA SECUNDÃRIA COM TAMANHO FIXO
======================= */
.tabela-minerios-secundaria {
  width: 600px;
  height: 220px;
  overflow-y: auto;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #555;
  box-shadow: 0 0 8px rgba(182,255,74,.4);
}

.tabela-minerios-secundaria th,
.tabela-minerios-secundaria td {
  padding: 7px 8px;
  text-align: center;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
}

.tabela-minerios-secundaria th:last-child,
.tabela-minerios-secundaria td:last-child {
  border-right: none;
}

.tabela-minerios-secundaria tr:last-child td {
  border-bottom: none;
}

.tabela-minerios-secundaria th {
  background-color: #383838;
  color: var(--accent);
  font-weight: bold;
  border-bottom: 2px solid #4a4a4a;
  border-right: 1px solid #4a4a4a;
}

.tabela-minerios-secundaria th:last-child {
  border-right: none;
}

.tabela-minerios-secundaria tr:nth-child(even) {
  background-color: var(--bg-elev);
}

.tabela-minerios-secundaria tr:nth-child(odd) {
  background-color: #242424;
}

.tabela-minerios-secundaria tr:hover td {
  background-color: #2f2820;
}

/* ====================
   INPUT DOS ICONES DE PREENCHIMENTO DOS MINERIOS
======================= */
.input-icon {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: contain;
  border-radius: 6px;
}

#qtdDeArvores,
#qtdDePedras,
#qtdDeFerros,
#qtdDeOuros,
#qtdDeCrimstones,
#qtdDeOils,
#qtdDeSaltFarm {
  margin-left: 35px;
  display: block;
}

/* ====================
   TABELA DE ANIMAIS
======================= */
.tabela-animais {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #555;
  box-shadow: 0 0 8px rgba(182,255,74,.4);
}

.tabela-animais th,
.tabela-animais td {
  padding: 7px 8px;
  text-align: center;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
}

.tabela-animais th:last-child,
.tabela-animais td:last-child {
  border-right: none;
}

.tabela-animais tr:last-child td {
  border-bottom: none;
}

.tabela-animais th {
  background-color: #383838;
  color: var(--accent);
  font-weight: bold;
  border-bottom: 2px solid #4a4a4a;
  border-right: 1px solid #4a4a4a;
}

.tabela-animais th:last-child {
  border-right: none;
}

.tabela-animais tr:nth-child(even) {
  background-color: var(--bg-elev);
}

.tabela-animais tr:nth-child(odd) {
  background-color: #242424;
}

.tabela-animais tr:hover td {
  background-color: #2f2820;
}

/* ============================================================
   TABS SECUNDÃRIAS - CROPS / MINERIOS (ESTILO SUNFLOWERLAND)
   ============================================================ */

.tabs-secundarias-buttons {
  display: flex;
  margin-top: 30px;
  margin-bottom: -1px;
}

.tab2-btn {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: bold;
  background-color: #1a2420;
  color: var(--accent);
  border: 1px solid #444;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-right: 2px;
}

.tab2-btn:hover {
  background-color: #24302a;
}

.tab2-btn.active {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  color: var(--ink);
  border: 3px solid rgba(182,255,74,.45);
  border-bottom: 3px solid var(--bg-elev);
}

.tab2-content {
  display: none;
  padding: 15px;
  border-radius: 0 0 12px 12px;
  border: 3px solid rgba(182,255,74,.45);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  box-shadow:
    0 0 10px #0008,
    0 0 12px rgba(182,255,74,.45)33 inset,
    0 6px 12px rgba(0,0,0,0.5);
}

.tab2-content.active {
  display: block;
}

/* ============================================
   SUBTABS
=============================================== */

.subtabs-crops-buttons,
.subtabs-skills-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}

.subtab-btn,
.skill-tab-btn {
  padding: 6px 12px;
  font-size: 14px;
  background-color: transparent;
  color: var(--ink);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-right: 5px;
}

.subtab-btn:hover,
.skill-tab-btn:hover {
  background-color: #383838;
}

.subtab-btn.active,
.skill-tab-btn.active {
  background-color: var(--accent);
  color: var(--bg);
  font-weight: bold;
}

.subtab-content {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.subtab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================
   HEADER BAR
======================= */
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg);
  color: #b6afaf;
  padding: 8px 0px;
  border-bottom: 2px solid #333;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-header {
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-right: 0.3rem;
  vertical-align: middle;
  margin-top: -0.3rem;
}

.header-left h1.title-bar {
  font-size: 3.2rem;
  margin: 0;
  font-family: "Micro 5", sans-serif;
}

.header-left span {
  font-size: 14px;
  color: #b6afaf;
}

.select-idioma select {
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid var(--accent);
  background-color: var(--bg-elev);
  color: var(--ink);
  cursor: pointer;
  font-weight: bold;
}

.header-center {
  font-size: 14px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  margin: 5px 10px;
  font-weight: bold;
}

.header-center a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

.header-center a:hover {
  text-decoration: underline;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  color: #b6afaf;
}

.icon-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  transition: 0.2s;
}

.icon-btn:hover svg {
  transform: scale(1.3);
}

.icon-btn.yt:hover { color: #ff4d4d; }
.icon-btn.dc:hover { color: #7289da; }

@media (max-width: 800px) {
  .header-bar {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .header-center { margin: 0; }
}

/* ====================
   BOTÃƒO COPIAR WALLET
======================= */
.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  margin-left: 5px;
  vertical-align: middle;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.copy-tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  white-space: nowrap;
  transform: translateY(-30px);
}

.copy-tooltip.show { opacity: 1; }

/* =========================
   TABELA CROP TO COINS
============================*/

.th-ordenavel {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.th-ordenavel:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.th-ordenavel.asc::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid #27ae60;
  vertical-align: middle;
}

.th-ordenavel.desc::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #e74c3c;
  vertical-align: middle;
}

/* ================= ACCORDION RESULTADO DO COMBO ================= */

.accordion-combo {
  margin: 25px 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border: 3px solid rgba(182,255,74,.45);
  box-shadow:
    0 0 10px #0008,
    0 0 12px rgba(182,255,74,.45)33 inset,
    0 6px 12px rgba(0,0,0,0.5);
}

.accordion-header-combo {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  color: var(--ink);
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-bottom: 3px solid rgba(182,255,74,.45);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-shadow: 1px 1px 2px #000;
}

.accordion-header-combo:hover { filter: brightness(1.1); }

.accordion-icon {
  transition: transform 0.25s ease;
  font-size: 14px;
}

.accordion-header-combo.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content-combo {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--bg);
}

.accordion-content-combo.open {
  max-height: 5000px;
  padding: 20px;
}

/* ================= Carinhos e comidas ================= */

.checkbox-carinho-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.checkbox-carinho {
  position: relative;
  cursor: pointer;
}

.checkbox-carinho input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-visual {
  width: 25px;
  height: 25px;
  border-radius: 12px;
  background-color: var(--bg-elev);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
}

.checkbox-visual:hover {
  transform: scale(1.15) rotate(-3deg);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(182,255,74,.35);
}

.checkbox-carinho input[type="checkbox"]:checked + .checkbox-visual {
  border: 2px solid var(--accent);
  background-color: #4a4035;
  box-shadow: 0 0 10px rgba(182,255,74,.5);
  transform: scale(1.15);
}

.carinhos-possuido-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.carinhos-possuido-titulo {
  font-weight: bold;
  margin-bottom: 4px;
  color: var(--accent);
  white-space: nowrap;
}

.checkbox-visual img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

/* ================= AURAS DOS BUDS ================= */
.bud-wrapper.aura-bg-basicAura   .sprite-box { background-color: #606060 !important; box-shadow: 0 0 10px 2px #ffffffcc !important; }
.bud-wrapper.aura-bg-greenAura   .sprite-box { background-color: #1e6e1e !important; box-shadow: 0 0 10px 2px #32c850cc !important; }
.bud-wrapper.aura-bg-rareAura    .sprite-box { background-color: #6e5a00 !important; box-shadow: 0 0 10px 2px #ffc800cc !important; }
.bud-wrapper.aura-bg-myticalAura .sprite-box { background-color: #006e6e !important; box-shadow: 0 0 10px 2px #01d9ff !important; }
.bud-wrapper.aura-bg-semAura     .sprite-box { background-color: var(--bg-elev) !important; box-shadow: none !important; }

/* ================= MODAL DE AJUDA ================= */
.modal-ajuda-overlay {
  position: fixed;
  inset: 0;
  background: #000000aa;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.modal-ajuda-caixa {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border: 3px solid rgba(182,255,74,.45);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 560px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow:
    0 0 20px #0009,
    0 0 14px rgba(182,255,74,.45)33 inset;
  animation: fadeIn 0.2s ease;
  position: relative;
}

.modal-ajuda-titulo {
  font-size: 18px;
  font-weight: bold;
  color: #ffcf7a;
  margin-bottom: 18px;
  text-shadow: 1px 1px 2px #000;
  border-bottom: 2px solid rgba(182,255,74,.45)55;
  padding-bottom: 10px;
}

.modal-ajuda-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-ajuda-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-ajuda-item-titulo {
  font-size: 13px;
  font-weight: bold;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.modal-ajuda-item-desc {
  font-size: 13px;
  color: #e9ddc7;
  line-height: 1.5em;
}

.modal-ajuda-fechar {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-ajuda-fechar:hover {
  color: #fff;
  box-shadow: none;
  background: none;
}

.btn-ajuda-tabela {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(182,255,74,.45)88;
  border-radius: 8px;
  color: #ffcf7a;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 12px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s;
  box-shadow: none;
}

.btn-ajuda-tabela:hover {
  background: var(--bg-elev);
  border-color: rgba(182,255,74,.45);
  box-shadow: 0 0 8px rgba(182,255,74,.45)44;
  color: #fff;
}

.btn-ajuda-tabela span.icone-interrogacao {
  background: rgba(182,255,74,.45);
  color: var(--bg);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* ===================== MENU DE NAVEGAÃ‡ÃƒO DO HEADER ===================== */

.header-nav-menu {
  display: none;
}

.nav-menu-toggle,
.nav-menu-dropdown {
  display: none !important;
}

/* ===================== BARRA DE NAV ABAIXO DO HEADER ===================== */

.nav-bar-abaixo {
  display: flex;
  align-items: center;
  gap: 0;
  background-color: var(--bg);
  border-bottom: 2px solid #333;
  padding: 0 16px;
}

.nav-bar-item {
  position: relative;
  padding: 10px 18px;
  color: #b6afaf;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-bar-item:hover {
  color: #ffffff;
  text-decoration: none;
}

.nav-bar-item-active {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}

.nav-bar-item-active:hover {
  color: #ffc55e;
}


