/* ========================================
   LAYOUT DE 1 COLUNA - FULL WIDTH
   Remove coluna direita e expande conteúdo
   ======================================== */

/* Esconder coluna direita (Themeboxes) */
#ThemeboxesColumn {
  display: none !important;
}

/* Esconder coluna esquerda (Menu Lateral) */
#MenuColumn {
  display: none !important;
}

/* Expandir ContentColumn para largura total */
#ContentColumn {
  position: relative;
  margin: 0;
  margin-left: 15px;
  margin-right: 15px;
  width: auto !important;
  max-width: 100%;
}

/* Ajustar ContentHelper */
#ContentHelper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Ajustar Container Principal */
#Bodycontainer {
  text-align: left;
  min-width: 900px;
  max-width: 1400px;
  width: 95%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: table;
}

/* Ajustar ContentRow */
#ContentRow {
  position: relative;
  top: 30px;
  width: 100%;
}

/* Ajustar Content */
.Content {
  position: relative;
  top: 0;
  width: 100%;
  max-width: 100%;
}

/* Ajustar Box */
.Content .Box {
  font-size: 0pt;
  position: relative;
  margin: 15px auto;
  max-width: 1200px;
  color: #5A2800;
  border-left: 2px solid #3a3738;
  border-right: 2px solid #3a3738;
  background-color: #debb9d;
  background-repeat: no-repeat;
  overflow: visible;
}

/* Ajustar BoxContent */
.Content .BoxContent {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 9pt;
  background-color: #FFF2db;
  color: #5A2800;
  min-height: 367px;
  height: auto !important;
  padding: 20px;
}

/* Ajustar Menu Horizontal */
#HorizontalMenu {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 15px auto;
  background: linear-gradient(180deg, #2d1654 0%, #1a0a2e 100%);
  border: 2px solid #3a3738;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 50; /* Reduzido para evitar bloquear conteúdo */
  overflow: visible;
}

/* Ajustar Account Panel */
.account-panel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 15px auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: panelEntrance 0.5s ease-out;
  z-index: 1; /* Garantir que fique abaixo do menu */
}

/* Ajustar Coin Shop */
#CoinShopComponent {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 15px auto;
  background: linear-gradient(180deg, #2d1654 0%, #1a0a2e 100%);
  border: 2px solid #3a3738;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: slideInUp 0.5s ease-out;
  z-index: 1; /* Garantir que fique abaixo do menu */
}

/* Ajustar Modern News Box */
.ModernNewsBox {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 15px auto;
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: newsEntrance 0.5s ease-out;
  z-index: 1; /* Garantir que fique abaixo do menu */
}

/* Ajustar Header Banner */
#HeaderBanner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  padding: 0 0 0 0;
  text-align: center;
  margin-bottom: 5px;
  position: relative;
  top: 30px;
}

#HeaderBanner img {
  max-width: 800px;
  width: 90%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(240, 93, 238, 0.6));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

/* Ajustar Server Status */
#ServerStatus {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0 15px 0;
  position: relative;
  top: 20px;
}

/* Ajustar Footer */
#Footer {
  font-family: Verdana, Arial, Times New Roman, sans-serif;
  font-size: 7pt;
  font-weight: normal;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
  color: white;
}

/* Remover hacks IE antigos que causam problemas */
* html .Content {
  position: relative;
  top: 0 !important;
  margin: 0 !important;
  border: none !important;
}

* html #ContentHelper {
  display: block !important;
  position: relative;
  top: 0 !important;
  margin: 0 !important;
}

* html .Content .Box {
  width: 100% !important;
}

* html .Content .BoxContent {
  width: 100% !important;
}

/* Responsividade melhorada */
@media (max-width: 1400px) {
  #Bodycontainer {
    max-width: 95%;
  }
}

@media (max-width: 1200px) {
  #HorizontalMenu,
  .account-panel,
  #CoinShopComponent,
  .ModernNewsBox,
  .Content .Box {
    max-width: 95%;
  }
  
  #HeaderBanner img {
    max-width: 700px;
  }
}

@media (max-width: 900px) {
  #Bodycontainer {
    min-width: 100%;
  }
  
  #ContentColumn {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  #HorizontalMenu,
  .account-panel,
  #CoinShopComponent,
  .ModernNewsBox,
  .Content .Box {
    margin-left: 5px;
    margin-right: 5px;
  }
  
  #HeaderBanner img {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .character-outfit {
    width: 64px;
    height: 64px;
    padding: 3px;
  }
  
  .character-card {
    padding: 10px;
    min-height: 100px;
    max-height: 120px;
  }
  
  .character-info h5 {
    font-size: 10pt;
  }
  
  .top-skills {
    gap: 6px;
  }
  
  .skill-mini {
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .character-outfit {
    width: 56px;
    height: 56px;
  }
  
  .character-card {
    min-height: 90px;
    max-height: 110px;
  }
  
  .top-skills {
    flex-direction: column;
    gap: 4px;
  }
}

/* Animações */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelEntrance {
  from {
    opacity: 0;
  transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsEntrance {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
transform: translateY(0);
  }
}
