/*Ranking*/

#left_bg_top_ranking {
  color: #FFFFFF;
  padding-left: 5%;
  padding-top: 5%;
  padding-bottom: 5%;
  position: relative;
  margin: 0px auto;
}

#top_rank_bgrank {
  background-image: url(../images/gb_rank_top.png);
  background-repeat: no-repeat;
  width: 20px;
  height: 106px;
  position: absolute;
  right: 10%;
  top: 10%;
}

.left_bg_topo_outro_rank {
  width: 108px;
  height: 31px;
  position: relative;
  margin-bottom: 2px;
}

.top_rank_gender {
  width: 30px;
  height: 29px;
  position: absolute;
  left: 32px;
  top: 2px;
}

.top_rank_nivel {
  width: 15px;
  height: 25px;
  position: absolute;
  left: 63px;
  top: 2px;
}

.top_rank_guild {
  height: 12px;
  position: absolute;
  left: 83px;
  top: 1px;
  color: #FFA27B;
  font-size: 12px;
  font-family: Tahoma;
}

.top_rank_nickname {
  height: 12px;
  position: absolute;
  left: 83px;
  top: 14px;
  color: #FFFFFF;
  font-size: 12px;
  font-family: Tahoma;
}

.top_rank_pos {
  width: 30px;
  height: 29px;
  position: absolute;
  left: 2px;
  top: 2px;
}

.gb-hall-small {
  height: 35px;
  width: 35px;
}

.gds {
  height: 25px;
  -o-object-fit: contain;
  object-fit: contain;
  width: 28px;
}

.fl,
.gds {
  display: inline-block;
}

.ranking-number {
  background-color: rgb(156, 73, 5);
  border-radius: .25rem;
  bottom: 0;
  color: #ffffff;
  font-size: .75rem;
  left: 50%;
  line-height: 1;
  /*padding: .125rem .25rem;*/
  padding: 0 .125rem;
  position: absolute;
  transform: translateX(-50%);
}

/* destaca a cor do TOP1*/
#left_bg_top_ranking>.left_bg_topo_outro_rank:nth-child(2)>.top_rank_pos>.ranking-number {
  background-color: rgb(255, 102, 0) !important;
}

/*------------------FIM RANKING------------------*/


/*------------------CUSTOM GRID RATIOS------------------*/
@media (min-width: 992px) {
  .col-lg-2-5 {
    flex: 0 0 20.833333%;
    max-width: 20.833333%;
  }

  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
}

/*------------------HEADER DO CONTEUDO------------------*/

.main-card-gb {
  background: #ffffff;
  max-width: 1200px;
  overflow: hidden;
  margin-bottom: 25px;
  margin-left: 2vh;
  margin-right: 2vh;
}


.main-card-gb a:not(.btn):not(.gb-btn):not(.btn-gb-primary):not(.btn-download-main):not(.gb-retro-btn):not(.page-link):not(.breadcrumb-link):not(.rank-text-link):not(.mirror-link):hover,
.profile-content a:not(.btn):not(.gb-btn):not(.btn-gb-primary):not(.btn-download-main):not(.gb-retro-btn):not(.page-link):not(.breadcrumb-link):not(.rank-text-link):not(.mirror-link):hover,
.sidebar-panel a:not(.btn):not(.gb-btn):not(.btn-gb-primary):not(.btn-download-main):not(.gb-retro-btn):not(.page-link):not(.breadcrumb-link):not(.rank-text-link):not(.mirror-link):hover {
  color: var(--color-dark-main) !important;
  /* #003260 - azul escuro contrastante e legível */
}


/*HEADERS DO TOPO*/
.about-header {
  background: linear-gradient(135deg, #f79000 25%, #f9d900 100%);
  color: white;
  border-radius: 8px;
}

.ranking-header {
  background: linear-gradient(135deg, #B33F3F 25%, #DB6767 100%);
  color: white;
  border-radius: 8px;
}

.guild-header {
  background: linear-gradient(135deg, #67b0db 25%, #67b0db 100%);
  color: white;
  border-radius: 8px;
}

.register-header {
  background: linear-gradient(135deg, #b3853f 25%, #dba567 100%);
  color: white;
  border-radius: 8px;
}

.news-header {
  background: linear-gradient(135deg, #655991 15%, #9189ac 100%);
  color: white;
  border-radius: 8px;
}

.error404-header {
  background: linear-gradient(135deg, #afafaf 15%, #808083 100%);
  color: white;
  border-radius: 8px;
}

.download-header {
  background: linear-gradient(135deg, #d4af37 45%, #ffe27f 100%);
  color: white;
  border-radius: 8px;
}

.profile-header {
  background: linear-gradient(135deg, #b33fa2 45%, #db67d0 100%);
  color: white;
  border-radius: 8px;
}

.missions-header {
  background: linear-gradient(135deg, #F3B015 45%, #ffd863 100%);
  color: white;
  border-radius: 8px;
}

/*FIM HEADERS DO TOPO*/

.gbl-header-content {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gbl-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gbl-char-img {
  width: 70px;
  height: 42px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.gbl-char-img img {
  width: 65px;
  /*-webkit-transform: scaleX(-1);
  transform: scaleX(-1);*/
}

.gbl-title {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
}


.gbl-breadcrumb {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 20px;
}

.breadcrumb-link {
  color: var(--color-emerald-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--color-emerald-blue);
  text-decoration: none;
}

.breadcrumb-current {
  color: #666;
  font-weight: 500;
}

.about-content {
  background: white;
}

/*NAV*/

.gbl-nav {
  background: #e3f2fd;
  border-radius: 4px;
  padding: 15px 20px;
  margin: 0 20px;
  display: flex;
  gap: 50px;
}

.gbl-nav-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.gbl-nav-column a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0;
}

.gbl-nav-column a:hover {
  color: var(--color-emerald-blue);
  text-decoration: none;
}

.gbl-nav-column a.active {
  color: var(--color-emerald-blue);
  font-weight: bold;
  position: relative;
  padding-left: 15px;
}

.gbl-nav-column a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid #ff4444;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}


/*Conteudo*/

.gbl-content {
  background: white;
}

.gbl-main-content {
  padding: 15px;
  background: white;
}

.section-content {
  padding: 30px;
  background: white;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-emerald-blue);
  padding-bottom: 10px;
}

.section-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

/*----------------END HEADER DO CONTEUDO-----------------*/


/*----------------RANKING CONTEUDO-----------------*/

.ranking-table {
  margin: 3vh;
  overflow: hidden;
}

.ranking-table thead tr {
  background: repeating-linear-gradient(45deg, #ffeb99 0 15px, #ffd85e 15px 30px);
  /*background: repeating-linear-gradient(45deg, #DB6767 0 15px, #B33F3F 15px 30px);*/
  border-radius: 10px;
}

.ranking-table thead {
  position: relative;
}

.ranking-table thead th {
  background: transparent;
  border-bottom: none;
}

.ranking-table thead::before {
  content: "";
  position: absolute;
  margin-top: 0.5vh;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 8px;
  pointer-events: none;
}

/* arredonda só extremos */
.ranking-table th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.ranking-table th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.rank-text-link {
  color: var(--color-emerald-blue) !important;
  text-decoration: none;
}

.rank-text-link:hover {
  color: var(--color-emerald-blue) !important;
  text-shadow: 0 0 1px var(--color-accent-cyan);
}

/*Estilização do ranking*/
.ranking-table tbody td {
  background: transparent;
}

.ranking-table tbody tr {
  vertical-align: middle;
  transition: all 0.2s ease-in-out;
}

.ranking-table tbody tr:hover {
  background: rgb(255, 252, 239);
  /* ou o mesmo fundo que já usas */
  box-shadow: inset 0 0 10px rgba(255, 217, 0, 0.103);
}

/*faz isso pro hover nao ficar grudado no thread*/
.ranking-table tbody tr:nth-child(1) {
  border-top: 2px solid transparent;
}

/*.ranking-table tbody tr:nth-child(1):hover {*/
.ranking-table tbody tr.rank-top1:hover {
  background: linear-gradient(to top, #fff6a0, #ffd54a);
  box-shadow: inset 0 0 5px #ffd54a;
  border-top: 2px solid transparent;
}

/*.ranking-table tbody tr:nth-child(2):hover {*/
.ranking-table tbody tr.rank-top2:hover {
  background: linear-gradient(to top, #f5f5f5, #dcdcdc);
  box-shadow: inset 0 0 5px #dcdcdc;
}

/*.ranking-table tbody tr:nth-child(3):hover {*/
.ranking-table tbody tr.rank-top3:hover {
  background: linear-gradient(to top, #ffdeb7, #e2c4a3);
  box-shadow: inset 0 0 5px #e2c7aa;
}

/*Fim Estilização do ranking*/

/*----------------END RANKING CONTEUDO-----------------*/



/* PAGINACAO*/

.pagination-container {
  display: flex;
  justify-content: center;
  margin: 20px auto 40px auto;
  max-width: 100%;
  padding: 0 10px;
}

.pagination {
  background: linear-gradient(to bottom, #ffe680, #ffcb2b 45%, #ffffff 100%);
  background-size: 100% 100%;
  border: 2px solid #d2a600;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  display: flex;
  flex-wrap: nowrap;
}

/* Itens */
.pagination .page-item {
  margin: 0 3px;
}

/* Botão base */
.pagination .page-link {
  border: none;
  color: #3a2500;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

/* Hover */
.pagination .page-link:hover {
  background: linear-gradient(to top, #ffe580, #fff7c2);
  color: #111;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Ativo */
.pagination .page-item.active .page-link {
  background: linear-gradient(to top, #ffce38, #fff3b0);
  color: #432a00;
  border: 1px solid #d39e02;
  box-shadow: inset 0 0 4px rgba(255, 180, 0, 0.9);
}

/* Desabilitado */
.pagination .page-item.disabled .page-link {
  opacity: 0.6;
  pointer-events: none;
}

/* Responsividade Mobile */
@media (max-width: 576px) {
  .pagination .pagination-text {
    display: none;
  }
  .pagination .page-item {
    margin: 0 2px;
  }
  .pagination .page-link {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
  .pagination {
    padding: 4px 8px;
  }
}

/************PAGINACAO************/


/*DROP DOWN DA LINGUAGEM*/

/* Estilo do <label> (o ícone de globo) */
.form-label[for="language-switcher"] {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2px !important;
  cursor: pointer;
}

.lang-form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: var(--color-bg-dark);
  border: 1px solid var(--color-accent-cyan-dark);
  color: var(--color-text-normal);
  border-radius: 5px;
  padding: 6px 30px 6px 1px;
  font-size: 0.95rem;
  cursor: pointer;

  /* --- MUDANÇA AQUI: Usar seu SVG --- */
  background-image: url('../images/svg/dropdown.svg');
  /* Caminho relativo */
  /* --- FIM DA MUDANÇA --- */

  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 32px 24px;
  /* Ajuste o tamanho se o seu SVG tiver outro tamanho nativo */
}

/* Estilo das <option> (para o menu dropdown) */
.lang-form-select option {
  background-color: var(--color-dark-green);
  color: #FFF;
  cursor: pointer;
}

/*--------------Pagina de cadastro--------------*/

/* Estilo para a sidebar de registro (Coluna 2) */
.register-sidebar-bg {
  background-image: url(../images/bg-side-register.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  /* Garante que a coluna tenha altura mínima, mesmo que vazia */
  min-height: 400px;
}

/* Estilo para os ícones de gênero no formulário */
.gender-icon {
  width: 28px;
  /* Tamanho igual ao do Top 5 */
  height: 25px;
  /* Tamanho igual ao do Top 5 */
  border-radius: 4px;
}

/* Melhora o espaçamento dos labels de gênero */
.gender-field {
  display: flex;
  flex-wrap: wrap;
  /* Permite quebrar linha em ecrãs pequenos */
  gap: 1.5rem;
  /* Espaço entre "Masculino" e "Feminino" */
}

/* Ajusta o alinhamento do label do radio/imagem */
.gender-field label {
  cursor: pointer;
}

/* O form passa é o container relativo dos personagens */
#register-container {
  position: relative;
  overflow: visible;
  z-index: 2;
  background: linear-gradient(135deg, #8bb5c3 0%, #7aa6b5 100%);
  border-radius: 15px;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

/* estilo base das imagens */
#register-container .form-character {
  position: absolute;
  bottom: -5px;
  /* ligeiramente sobreposto à borda */
  width: 60px;
  /* ajusta o tamanho pro teu design */
  pointer-events: none;
  /* não atrapalha cliques */
  z-index: 5;
  /* acima do fundo do form */
  user-select: none;
  opacity: 0.95;
  transition: transform .3s ease-in-out;
}

/* posicionamento individual */
#register-container .char-left {
  left: -15px;
}

#register-container .char-right {
  right: -15px;
}

#register-container .char-top {
  top: -50px;
  /* sobe acima da borda */
  left: 50%;
  /* centraliza horizontalmente */
  transform: translateX(-50%);
  /* ajusta o centro */
  width: 120px;
  /* opcional: um pouco maior pro destaque */
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
  /* brilho dourado */
}

#register-container .form-character {
  animation: floatGunbound 3s ease-in-out infinite;
}

/* efeito de brilho da borda */
#register-container .form-character {
  filter: drop-shadow(0 0 10px rgba(231, 231, 231, 0.8));
}

/* responsivo */
@media (max-width: 768px) {
  #register-container .form-character {
    width: 30px;
  }

  #register-container .char-top {
    width: 80px;
  }
}

#register-container #register-form .login-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 8px;
}

#register-container #register-form .login-input:focus {
  background: rgba(0, 0, 0, 0.3);
  border-color: #56a6ff;
  box-shadow: 0 0 10px rgba(86, 166, 255, 0.5);
}

#register-container #register-form select.login-input {
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url('../images/svg/dropdown.svg');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#register-container #register-form select.login-input option {
  background-color: #2a7cdb;
  color: #fff;
}

#register-container #register-form label {
  color: #fff;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#register-container #register-form .login-input::placeholder {
  color: #ffffff !important;
  opacity: 0.85 !important;
}

#register-container #register-form .login-input::-webkit-input-placeholder {
  color: #ffffff !important;
  opacity: 0.85 !important;
}

#register-container #register-form .login-input::-moz-placeholder {
  color: #ffffff !important;
  opacity: 0.85 !important;
}

#register-container #register-form .login-input:-ms-input-placeholder {
  color: #ffffff !important;
  opacity: 0.85 !important;
}

/*--------------Pagina de cadastro--------------*/


/*--------------Estilos para o Sistema de Notícias--------------*/
.news-container {
  /* 1. Remove o padding (que definimos antes) para 
       que o 'panel-header' interno ocupe 100% do container */
  padding: 0;

  /* 2. Centraliza o container na página */
  margin-left: auto;
  margin-right: auto;

  /* 3. Em telas pequenos, ocupa 100% da largura */
  width: 100%;
}

/* * 4. Em ecrãs médios e grandes (desktops), 
 * aplicamos a largura de 60% que você pediu.
 */
@media (min-width: 768px) {

  /* Ponto de quebra 'md' do Bootstrap */
  .news-container {
    width: 80%;
  }
}

.news-panel-header {

  background: repeating-linear-gradient(180deg, #b184cf 0%, #8e54c0 100%);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px), linear-gradient(180deg, #b184cf 0%, #8e54c0 100%);
  border-radius: 8px 8px 0 0;
  padding-left: 1%;
  padding-right: 1%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-panel-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}


/* Estilo para o TÍTULO da notícia dentro do 'panel-header' */
.news-title-header {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFF;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-title-header .news-badge-n {
  margin-right: 0;
  /* Gap handled by parent flex */
  z-index: 1;
  transform: rotate(-10deg) translateY(-2px);
}

/* Estilo para a data no 'panel-header' */
.news-date-header {
  font-size: 0.9rem;
  color: #FFF;
  flex-shrink: 0;
  /* Impede que a data quebre linha */
  margin-left: 15px;
  z-index: 10;
}

/* Estilo para o CORPO da notícia (dentro do 'content-panel-3d')
  A classe 'content-panel-3d' já fornece o padding de 20px 
  e o fundo escuro.
*/
.news-content-body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: none;
  border: 3px solid #8e54c0;
  box-shadow: inset 0 0 15px #8e54c070;
  border-radius: 0 0 8px 8px;
  padding: 30px 30px 30px 30px;
  color: #333;
}

/* Garante que o HTML (<p>, <br>) do admin funcione bem */
.news-content-body p {
  margin-left: 1rem;
  margin-bottom: 1rem;
  font-size: 12px;
  text-align: justify;
}

.news-content-body br {
  display: block;
  margin-bottom: 0.8rem;
  content: "";
}

.news-footer {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.212);
  text-align: right;
}

/* Limpa os estilos antigos que não são mais usados */
.news-item,
.news-header,
.news-content {
  border: none;
  padding: 0;
  margin: 0;
}

.news-category {
  font-size: 0.9rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

/* Cores das Categorias */
.news-category.news {
  background-color: #007bff;
  color: white;
}

.news-category.event {
  background-color: #28a745;
  color: white;
}

.news-category.maintenance {
  background-color: #ffc107;
  color: #333;
}

/*--------------FIM Estilos para o Sistema de Notícias--------------*/

/*--------------INICIO Estilos para o Download--------------*/

.download-container {
  padding: 30px 20px;
  background: transparent;
}

/* Card Principal de Download */
.download-master-card {
  background: linear-gradient(145deg, #1b243b 0%, #0d121f 100%);
  border: 2px solid #d4af37;
  border-radius: 20px;
  padding: 35px;
  box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.1);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.download-master-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/patterns/grid.png');
  opacity: 0.05;
  pointer-events: none;
}

.download-info-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.download-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.download-badge span:first-child {
  font-size: 10px;
  text-transform: uppercase;
  color: #ffd85e;
  margin-bottom: 2px;
}

.download-badge span:last-child {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* Botão de Download Master */
.btn-download-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 450px;
  padding: 20px;
  background: linear-gradient(180deg, #4295ed 0%, #2067b5 100%);
  border: 3px solid #57a1ff;
  border-radius: 15px;
  color: #fff !important;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 0 #0d3f7a, 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-download-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
  pointer-events: none;
}

.btn-download-main:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #56a6ff 0%, #2a7cdb 100%);
  box-shadow: 0 10px 0 #0d3f7a, 0 12px 25px rgba(0, 0, 0, 0.5);
}

.btn-download-main:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #0d3f7a;
}

.btn-download-main .download-icon {
  font-size: 2.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Mirror Links */
.mirrors-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mirrors-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mirror-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}

.mirror-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffd85e;
}

/* Requisitos Grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.requirement-card {
  background: rgb(0 0 0 / 78%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s;
}

.requirement-card:hover {
  border-color: #d4af37;
}

.req-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.req-icon-box {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  font-size: 18px;
}

.req-title {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
}

.req-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-spec-item {
  display: flex;
  flex-direction: column;
}

.req-spec-label {
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.req-spec-value {
  font-size: 13px;
  color: #eaeaea;
}

.req-spec-recommended {
  color: #ffd85e;
}

@media (max-width: 768px) {
  .btn-download-main {
    font-size: 1.4rem;
    padding: 15px;
  }

  .download-master-card {
    padding: 20px;
  }
}

/* --- Novos Botoes Sidebar --- */
.gb-sidebar-action-btn {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid #57a1ff;
  /* Gradiente mais vibrante */
  background: linear-gradient(180deg, #4295ed 0%, #2067b5 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
  box-shadow: 0 4px 0px rgba(13, 63, 122, 1), 0 5px 8px rgba(0, 0, 0, 0.3);
}

/* Efeito de brilho (glossy) mais definido */
.gb-sidebar-action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 90%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Estrelas no Hover - Mais vivas */
.gb-sidebar-action-btn .btn-stars {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 15px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.gb-sidebar-action-btn .btn-stars i {
  color: #fff;
  font-size: 1.6rem;
  /* Sombra para destaque conforme a imagem fixada */
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
  opacity: 0.4;
}

.gb-sidebar-action-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #56a6ff 0%, #2a7cdb 100%);
  box-shadow: 0 3px 0px rgba(13, 63, 122, 1), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gb-sidebar-action-btn:hover .btn-stars {
  opacity: 1;
}

.gb-sidebar-action-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: text-shadow 0.3s ease;
}

.gb-sidebar-action-btn:hover .btn-text {
  /* Brilho no texto ao passar o mouse */
  text-shadow: 0 0 10px #fff, 0 1px 3px rgba(0, 0, 0, 0.8);
}

/*--------------Painel de Usuário Logado--------------*/

.panel-body-logged {
  padding: 18px;
  background: linear-gradient(135deg, #f2f5eb 0%, #dbe4cd 100%);
  border-radius: 8px;
  border: 2px solid #a8baa2;
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(0, 0, 0, 0.06),
    0 0 0 3px #c4d0bb;
  /* Efeito de borda dupla clássica do GunBound */
  position: relative;
  overflow: hidden;
}

/* Linhas diagonais sutis que imitam telas CRT de fliperama/PC */
.panel-body-logged::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.45) 0px,
      rgba(255, 255, 255, 0.45) 1px,
      transparent 1px,
      transparent 3px);
  opacity: 0.15;
  pointer-events: none;
}

.logged-user-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.user-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.user-avatar-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
  padding: 3px;
  border-radius: 50%;
  box-shadow:
    0 0 10px rgba(218, 165, 32, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dca432;
}

.user-avatar-wrapper:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.4);
  background: linear-gradient(135deg, #fff 0%, #00bcd4 100%);
  border-color: #00bcd4;
}

.user-avatar-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(185deg, #eef4f7 0%, #cbdde6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.user-avatar-inner img {
  width: 36px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.user-name-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid #bdcaae;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 6px;
  gap: 8px;
}

.user-name-tag h5 {
  margin: 0;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #43542f;
  text-shadow: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.user-name-tag .rank-badge {
  width: 24px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Container de renderização do avatar compartilhado */
.avatar-render-wrap {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 156, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Tamanho específico para as páginas de perfil */
.avatar-render-wrap.profile-large {
  flex-grow: 1;
  min-height: 120px;
  /* fallback min-height */
}

/* Tamanho específico para a barra lateral/login */
.avatar-render-wrap.sidebar-mini {
  width: 180px;
  max-width: 100%;
  aspect-ratio: 180 / 120;
  height: auto;
  margin: 10px 0;
}

/* Imagem ou canvas de avatar renderizado */
.avatar-render-wrap img,
.avatar-render-wrap canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.6));
  transition: opacity 0.4s ease-in-out, transform 0.3s ease;
}

/* Ajuste específico para a imagem interna do perfil grande */
.avatar-render-wrap.profile-large img,
.avatar-render-wrap.profile-large canvas {
  max-height: 240px;
}

.what-todo-text {
  font-size: 0.8rem;
  color: #6d7c57;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  margin: 4px 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: none;
}

.user-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn-user-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  color: #fff !important;
  box-shadow:
    0 3px 0px rgba(0, 0, 0, 0.15),
    0 3px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-user-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.btn-user-action:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 0px rgba(0, 0, 0, 0.18),
    0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-user-action:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0px rgba(0, 0, 0, 0.15);
}

.btn-user-action i {
  font-size: 14px;
}

.btn-account {
  background: linear-gradient(180deg, #9ae27c 0%, #68b846 100%);
  border-color: #82cc63;
}

.btn-account:hover {
  background: linear-gradient(180deg, #a7ea8a 0%, #76c653 100%);
}

.btn-logout {
  background: linear-gradient(180deg, #ff8c8c 0%, #db5151 100%);
  border-color: #ea7878;
}

.btn-logout:hover {
  background: linear-gradient(180deg, #ffa1a1 0%, #e86060 100%);
}

.btn-missions {
  background: linear-gradient(180deg, #ffd863 0%, #f0a500 100%);
  border-color: #ffd863;
}

.btn-missions:hover {
  background: linear-gradient(180deg, #ffe185 0%, #ffb617 100%);
}

/* --- Trabalhadores Pendurados na TV (Home) --- */
.tv-workers-container {
  position: absolute;
  bottom: -45px;
  /* Ajuste para pendurar na borda */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
  /* Não atrapalha cliques */
  z-index: 10;
}

.tv-worker {
  width: 65px;
  /* Tamanho ajustado conforme solicitação visual */
  height: auto;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.worker-left {
  transform: rotate(-5deg);
}

.worker-right {
  transform: rotate(5deg);
}

/* Efeito sutil de movimento ao interagir com a TV */
.tv-frame:hover .worker-left {
  transform: rotate(-10deg) translateY(-2px);
}

.tv-frame:hover .worker-right {
  transform: rotate(10deg) translateY(-2px);
}

/* Responsividade para telas menores */
@media (max-width: 991px) {
  .tv-worker {
    width: 45px;
  }

  .tv-workers-container {
    bottom: -35px;
    padding: 0 20px;
  }
}

/* ==============================================
   Footer - Layout Horizontal (3 Colunas)
   Esquerda: links | Centro: social+texto | Direita: idioma
   ============================================== */
.gb-footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.gb-footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gb-footer-col-left {
  align-items: flex-start;
}

.gb-footer-col-center {
  flex: 2;
  align-items: center;
  text-align: center;
}

.gb-footer-col-right {
  align-items: flex-end;
}

/* override margin do gb-footer-links para nao empurrar verticalmente */
.gb-footer-col-left .gb-footer-links {
  margin: 0;
  flex-direction: column;
  gap: 8px;
}

/* Language Selector Styles */
.gb-footer-lang-seletor {
  display: flex;
  justify-content: flex-end;
}

.lang-selector-wrapper {
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lang-selector-wrapper:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lang-icon {
  font-size: 16px;
  color: #ffd700;
  margin-right: 10px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.lang-form-select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 30px 8px 0;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
}

.lang-form-select option {
  background: #4a737a;
  color: #fff;
  font-family: 'Archivo Narrow', sans-serif;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .gb-footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .gb-footer-col-left,
  .gb-footer-col-right {
    align-items: center;
  }

  .gb-footer-col-left .gb-footer-links {
    align-items: center;
  }

  .gb-footer-lang-seletor {
    justify-content: center;
  }
}

/* --- Premium Lightbox (Gallery Modal) --- */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1080;
  backdrop-filter: blur(5px);
}

.modal-nav-btn:hover {
  background: rgba(255, 215, 0, 0.6);
  border-color: #ffd700;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev {
  left: 20px;
}

.modal-nav-btn.next {
  right: 20px;
}

#modalImage {
  transition: opacity 0.4s ease-in-out;
  max-height: 85vh;
  display: block;
  margin: 0 auto;
}

#modalImage.fade:not(.show) {
  opacity: 0;
}

#modalCaption {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
}

/* Gallery Marquee (Continuous Scroll) */
.gallery-marquee-container {
  overflow: hidden;
  width: 100%;
}

.gallery-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
  gap: 10px;
  /* Adicionando espaçamento entre as imagens */
  padding-right: 10px;
  /* Compensa o gap no final do loop */
}

.gallery-marquee-track:hover {
  animation-play-state: paused;
}

.gallery-marquee-track .thumb {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  height: 120px;
  width: auto;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: none !important;
}

.gallery-marquee-track .thumb:hover {
  filter: brightness(1.10);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/*------------------MOBILE NAVIGATION STYLE (PREMIUM RETRO-CONSOLE)------------------*/
@media (max-width: 991.98px) {

  /* Toggler Button */
  .navbar-toggler {
    border: 2px solid #a8baa2 !important;
    background: linear-gradient(135deg, #f2f5eb 0%, #dbe4cd 100%) !important;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: inset 1px 1px 0px #fff, 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }

  .navbar-toggler:focus {
    box-shadow: inset 1px 1px 0px #fff, 0 0 0 3px rgba(168, 186, 162, 0.4);
    outline: none;
  }

  /* Inverter cor do ícone padrão do Bootstrap (de branco para verde-oliva escuro) */
  .navbar-toggler-icon {
    filter: invert(27%) sepia(20%) saturate(830%) hue-rotate(50deg) brightness(95%) contrast(89%);
  }

  /* Floating Card/Cápsula Menu Container */
  #main-nav {
    margin: 12px 15px 0 15px;
    /* Margens laterais e superior para criar efeito de card flutuante */
    background: linear-gradient(135deg, #f2f5eb 0%, #dbe4cd 100%);
    border: 2px solid #a8baa2;
    border-radius: 12px;
    box-shadow:
      inset 0 0 10px rgba(255, 255, 255, 0.9),
      0 6px 20px rgba(0, 0, 0, 0.15),
      0 0 0 3px #c4d0bb;
    /* Borda dupla clássica */
    padding: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1050;
  }

  /* CRT Scanlines delicadas no fundo do menu mobile */
  #main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
        rgba(255, 255, 255, 0.4) 0px,
        rgba(255, 255, 255, 0.4) 1px,
        transparent 1px,
        transparent 3px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
  }

  #main-nav .navbar-nav {
    position: relative;
    z-index: 2;
    gap: 8px;
    /* Espaço entre os itens do menu (Miller's law chunking) */
  }

  /* Links do menu */
  #main-nav .nav-link {
    color: #43542f !important;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    padding: 12px 16px !important;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Animação tátil spring */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  /* Efeito tátil de clique / hover retrô brilhante */
  #main-nav .nav-link:hover,
  #main-nav .nav-link:focus,
  #main-nav .nav-link:active {
    background: linear-gradient(to bottom, #71CAD8 0%, #6cc1ce 100%) !important;
    color: #ffffff !important;
    border-color: #5ab0be !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      0 3px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.02) translateX(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
}

/*------------------COMO JOGAR PAGE - RETRO GAMING HUD SYSTEM------------------*/

.gb-hud-header {
  background: #fdfaf2;
  border: 2px solid #e2a13c;
  border-radius: 8px;
  padding: 5px;
}

.hud-header-bar {
  background: linear-gradient(180deg, #f79000 0%, #d46c00 100%);
  background-image: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 10px,
      transparent 10px,
      transparent 20px), linear-gradient(180deg, #f79000 0%, #d46c00 100%);
  border: 1px solid #ffbc58;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.hud-title {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.4);
  margin: 0;
  letter-spacing: 0.5px;
}

.hud-status-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #55ff55;
  box-shadow: 0 0 8px #55ff55, inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid #22aa22;
  animation: hud-led-blink 2s infinite ease-in-out;
}

@keyframes hud-led-blink {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

.hud-screw-group {
  display: flex;
  gap: 6px;
}

.hud-screw {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #b5b5b5 30%, #5e5e5e 80%);
  border: 1px solid #333;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.hud-screw::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1.5px;
  background: #222;
  transform: translateY(-50%) rotate(45deg);
}

/* Moldura CRT de Monitor Retrô */
.gb-retro-monitor {
  background: linear-gradient(180deg, #303030 0%, #1e1e1e 100%);
  border: 6px solid #141414;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(255, 255, 255, 0.1);
  padding: 14px 14px 8px 14px;
  margin-bottom: 20px;
}

.monitor-screen-glass {
  position: relative;
  border: 4px solid #080808;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.monitor-glass-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 41%);
  pointer-events: none;
  z-index: 2;
}

.monitor-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  z-index: 1;
}

.monitor-img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.03) contrast(1.02);
  transition: filter 0.3s ease;
}

.gb-retro-monitor:hover .monitor-img {
  filter: brightness(1.08) contrast(1.05);
}

.monitor-control-bezel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  color: #888;
  font-size: 0.65rem;
  font-family: 'Archivo Narrow', monospace;
  font-weight: 700;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

.bezel-led-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33ff33;
  box-shadow: 0 0 6px #33ff33;
  animation: bezel-led-flash 1s infinite alternate;
}

@keyframes bezel-led-flash {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.bezel-dials-group {
  display: flex;
  gap: 4px;
}

.bezel-analog-dial {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #444 30%, #111 80%);
  border: 1px solid #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.bezel-analog-dial::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 45%;
  width: 12%;
  height: 35%;
  background: #aaa;
}

/* Painel de Inventário / HUD List */
.gb-inventory-panel {
  background: #fdfaf2;
  border: 3px double #bcae97;
  border-radius: 10px;
  padding: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.inventory-list {
  display: flex;
  flex-direction: column;
}

.inventory-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px dashed #e4dcd0;
  transition: all 0.2s ease;
}

.inventory-item:last-child {
  border-bottom: none;
}

.inventory-item:hover {
  background: #fdf6ea;
  border-radius: 6px;
  transform: translateX(4px);
}

.inventory-token {
  background: linear-gradient(180deg, #ffd797 0%, #db901b 100%);
  color: #4a2d00;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  min-width: 26px;
  max-width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1.5px solid #bd7607;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 2px 0px rgba(255, 255, 255, 0.4);
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
}

.inventory-text {
  font-size: 0.95rem;
  color: #4a4a4a;
  font-weight: 600;
}

/* Quadrante de Equipamentos - Cards de Status e Climas */
.gb-equipment-slot {
  background: #fbfbfb;
  border: 2px solid #dcdcdc;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gb-equipment-slot:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.slot-icon-box {
  background: #fff;
  border: 1.5px dashed #ccc;
  border-radius: 6px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.slot-gif {
  image-rendering: pixelated;
  transition: transform 0.2s ease;
}

.gb-equipment-slot:hover .slot-gif {
  transform: scale(1.15) translateY(-2px);
}

.slot-content {
  width: 100%;
}

.slot-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-family: 'Archivo Narrow', sans-serif;
}

.slot-desc {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.35;
}

/* Cores Customizadas HSL por Tipo de Status */
.slot-attack {
  border-color: #db6767;
  background: linear-gradient(180deg, #fffcfc 0%, #fff3f3 100%);
}

.slot-attack .slot-icon-box {
  border-color: #db6767;
}

.slot-attack .slot-title {
  color: #833131;
}

.slot-defense {
  border-color: #66b3ff;
  background: linear-gradient(180deg, #fcfdff 0%, #f0f7ff 100%);
}

.slot-defense .slot-icon-box {
  border-color: #66b3ff;
}

.slot-defense .slot-title {
  color: #1b65d8;
}

.slot-life {
  border-color: #6bb96b;
  background: linear-gradient(180deg, #fcfdfc 0%, #f2fbf2 100%);
}

.slot-life .slot-icon-box {
  border-color: #6bb96b;
}

.slot-life .slot-title {
  color: #2e692e;
}

.slot-delay {
  border-color: #e2a13c;
  background: linear-gradient(180deg, #fffcfa 0%, #fffcf0 100%);
}

.slot-delay .slot-icon-box {
  border-color: #e2a13c;
}

.slot-delay .slot-title {
  color: #8a5a00;
}

/* Abas de Navegação Estilizadas HUD */
.gb-hud-tab-wrapper {
  background: #fdfcfb;
  border: 1px solid #dcd5ca;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.gb-hud-tabs {
  background: linear-gradient(180deg, #f0ede6 0%, #ded9cd 100%);
  border: 2px solid #bcae97;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  gap: 4px;
}

.hud-tab-btn {
  flex: 1;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 0.9rem !important;
  color: #555 !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  padding: 10px !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  text-align: center;
  box-shadow: none !important;
}

.hud-tab-btn:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  color: #111 !important;
}

.hud-tab-btn.active {
  background: linear-gradient(180deg, #ffd797 0%, #db901b 100%) !important;
  color: #4a2d00 !important;
  border-color: #bd7607 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.1) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.gb-tab-panes {
  padding-top: 15px;
}

/* ==========================================================================
   GUNBOUND RETRO RANKING PODIUM & CHAMPIONS GLOW SYSTEM
   ========================================================================== */

/* 1. Modern Minimalist Podium Card System */
.gb-podium-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px 15px;
  background: #ffffff;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(13, 50, 97, 0.08);
  border-radius: 12px;
  position: relative;
}

.gb-podium {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.gb-podium-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 20px 20px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.gb-podium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(13, 50, 97, 0.06);
}

.gb-podium-card.gold {
  background-color: #fff9e6;
  border: 3px solid #ffe59e;
}

.gb-podium-card.silver {
  background-color: #f3f6f9;
  border: 3px solid #cfd8dc;
}

.gb-podium-card.bronze {
  background-color: #f6fbff;
  border: 3px solid #b9d5f8;
}

.gb-podium-card a {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Rank-specific Badges overlapping the top border */
.podium-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gold .podium-card-badge {
  background-color: #ffe59e;
  color: #8c6d1f;
}

.silver .podium-card-badge {
  background-color: #cfd8dc;
  color: #546e7a;
}

.bronze .podium-card-badge {
  background-color: #b9d5f8;
  color: #2b78c5;
}

/* Elegant Vector Outline Icons */
.podium-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.gold .podium-card-icon {
  color: #e5a93b;
}

.silver .podium-card-icon {
  color: #78909c;
}

.bronze .podium-card-icon {
  color: #64b5f6;
}

/* Card details styling */
.podium-card-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0d3261 !important;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
  text-decoration: none !important;
  border-bottom: none !important;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-card-name:hover {
  color: #1c4b85 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.podium-card-subtext {
  font-size: 0.78rem;
  font-weight: 600;
  color: #627d98;
  text-transform: uppercase;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.podium-card-score {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0d3261;
}

/* Responsive mobile scaling */
@media (max-width: 768px) {
  .gb-podium-container {
    padding: 40px 10px 20px 10px;
  }

  .gb-podium {
    flex-direction: column;
    gap: 30px;
  }

  .gb-podium-card {
    width: 100%;
    padding: 26px 15px 18px 15px;
  }
}

/* 2. Destaque dos Campeões nas Linhas da Tabela */
tr.rank-top1 {
  background: linear-gradient(90deg, rgba(255, 183, 0, 0.05) 0%, rgba(255, 255, 255, 0) 100%) !important;
  border-left: 4px solid #ffb700 !important;
}

tr.rank-top2 {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.06) 0%, rgba(255, 255, 255, 0) 100%) !important;
  border-left: 4px solid #94a3b8 !important;
}

tr.rank-top3 {
  background: linear-gradient(90deg, rgba(167, 109, 71, 0.05) 0%, rgba(255, 255, 255, 0) 100%) !important;
  border-left: 4px solid #a76d47 !important;
}

/* Links do Ranking */
.rank-text-link {
  font-weight: 600;
  color: #0d3261 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.rank-text-link:hover {
  color: #ff6600 !important;
}

/* 3. Barra de Busca Temática Retro HUD */
.gb-search-container {
  max-width: 500px;
  margin: 0 auto;
}

.gb-search-container .input-group {
  background: #f8fafc;
  border: 1px solid rgba(13, 50, 97, 0.15);
  border-radius: 6px;
  overflow: hidden;
  padding: 2px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.gb-search-container .input-group:focus-within {
  border-color: #0d3261;
  box-shadow: 0 0 0 3px rgba(13, 50, 97, 0.15);
}

.gb-search-container .input-group-text {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.95rem;
  padding-left: 12px;
}

.gb-retro-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.9rem;
  height: 38px;
}

.gb-retro-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

#btn-clear-search {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  transition: color 0.2s ease !important;
  box-shadow: none !important;
  padding: 0 12px !important;
  font-size: 0.9rem;
}

#btn-clear-search:hover {
  color: #ef4444 !important;
}

/* 4. Animações */
@keyframes float-sprite {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes crown-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 183, 0, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 6px rgba(255, 183, 0, 0.8));
  }
}

/* 5. Responsividade do Pódio */
@media (max-width: 576px) {
  .gb-podium-container {
    min-height: 250px;
    padding-bottom: 20px;
  }

  .gb-podium {
    gap: 10px;
  }

  .podium-base {
    font-size: 1.4rem;
  }

  .gold .podium-base {
    width: 85px;
    height: 80px;
  }

  .silver .podium-base {
    width: 80px;
    height: 60px;
  }

  .bronze .podium-base {
    width: 75px;
    height: 45px;
  }

  .podium-avatar-wrapper {
    width: 48px;
    height: 48px;
  }

  .podium-guild-mark,
  .podium-guild-mark-fallback,
  .podium-rank-gif.floating-sprite {
    width: 36px;
    height: 36px;
    max-height: 36px;
  }

  .podium-info {
    max-width: 100px;
    padding: 4px 8px;
  }

  .podium-name {
    font-size: 0.75rem;
  }

  .podium-score {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   SISTEMA DE FÓRUM
   ========================================================================== */

.forum-header {
  background: linear-gradient(135deg, #446390 45%, #598CBA 100%);
  color: #fff;
  border-radius: 8px;
}

#forum-header-img,
#forum-topic-header-img {
  max-width: 60px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.gbl-tab-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  border-radius: 6px;
  padding: 8px 24px;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.gbl-tab-btn:hover {
  background: #e2e8f0;
  color: #334155;
}

.gbl-tab-btn.active {
  background: #446795;
  border-color: #365277;
  color: white;
  box-shadow: 0 2px 4px rgba(13, 50, 97, 0.2);
}

.gbl-tab-btn.active i {
  color: white !important;
}

.gbl-select,
.gbl-input {
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0d3261 !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  transition: all 0.2s ease !important;
}

.gbl-select:focus,
.gbl-input:focus {
  border-color: #0d3261 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(13, 50, 97, 0.15) !important;
}

.gbl-input::placeholder {
  color: #94a3b8 !important;
}

.gbl-btn-search {
  background: #446795 !important;
  border: 1px solid #365277 !important;
  color: #fff !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 6px 16px !important;
  transition: all 0.2s ease !important;
}

.gbl-btn-search:hover {
  background: #092447 !important;
  border-color: #092447 !important;
  color: #fff !important;
}

.gbl-btn-action {
  background: linear-gradient(to bottom, #d4af37, #b28e21) !important;
  border: 1px solid #ffe27f !important;
  color: #071c35 !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  font-family: 'Archivo Narrow', sans-serif !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease-in-out !important;
}

.gbl-btn-action:hover {
  background: linear-gradient(to bottom, #eac44e, #cfa832) !important;
  border-color: #fff !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important;
  color: #071c35 !important;
}

.table-dark-gb {
  background-color: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #cbd5e1 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  width: 100% !important;
}

.table-dark-gb thead tr {
  background: repeating-linear-gradient(45deg, #ffeb99 0 15px, #ffd85e 15px 30px) !important;
}

.table-dark-gb thead tr th {
  background: transparent !important;
  color: #3e2600 !important;
  border: none !important;
  border-bottom: 2px solid #e2a500 !important;
}

.table-dark-gb th {
  padding: 12px 15px !important;
  font-family: 'Archivo Narrow', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  border-bottom: 2px solid #e2a500 !important;
}

.table-dark-gb td {
  padding: 12px 15px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  background-color: transparent !important;
}

.table-dark-gb tbody tr td {
  background-color: #ffffff !important;
  color: #334155 !important;
  transition: background-color 0.15s ease-in-out !important;
}

.table-dark-gb tbody tr:hover td {
  background-color: rgb(255, 252, 239) !important;
}

.forum-row-fixed td {
  background-color: #fffbeb !important;
  border-left: 3px solid #f59e0b !important;
  color: #b45309 !important;
}

.forum-topic-link {
  color: #0d3261 !important;
  text-decoration: none !important;
  transition: color 0.15s ease-in-out !important;
}

.forum-topic-link:hover {
  color: #ff9c00 !important;
  text-shadow: none !important;
}

.text-warning-gb {
  color: #d97706 !important;
}

.text-dark-gb {
  color: #0d3261 !important;
}

.forum-post-wrapper {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.main-post-card {
  border: 2px solid #0d3261;
}

.main-post-card .row {
  margin: 0;
}

.bg-dark-gb-profile {
  background-color: #f8fafc !important;
  color: #334155;
  border-right: 1px solid #cbd5e1 !important;
}

.border-dark-gb {
  border-color: #cbd5e1 !important;
}

.user-avatar-inner {
  background-color: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.forum-post-text {
  font-family: Verdana, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
}

.forum-post-text p {
  margin-bottom: 1rem;
}

.forum-post-text p:last-child {
  margin-bottom: 0;
}

.forum-reply-card {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.alert-danger-gb {
  background-color: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  color: #991b1b !important;
  border-radius: 6px !important;
}

.alert-secondary-gb {
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  border-radius: 6px !important;
}

/* Modais Customizados do Fórum (Design Premium Clean) */
#forum-modal-overlay {
  background: rgba(0, 20, 40, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  transition: opacity 0.4s ease-in-out !important;
}

#forum-modal-card {
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(13, 50, 97, 0.18) !important;
  color: #1e293b !important;
  padding: 35px !important;
  overflow: hidden !important;
}

#forum-modal-card .overlay-header {
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 15px !important;
  margin-bottom: 20px !important;
}

#forum-modal-card .overlay-header h2 {
  color: #0d3261 !important;
  font-family: 'Archivo Narrow', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  font-size: 1.8rem !important;
}

/* Animação de Flutuação da Fênix (Estilo Mobile Idle) */
@keyframes phoenixFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(3deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.forum-modal-header-img {
  height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  animation: phoenixFloat 3.5s ease-in-out infinite !important;
  filter: drop-shadow(0 4px 6px rgba(13, 50, 97, 0.25)) !important;
}

/* Animação Metalizada e Efeito Brilho Shimmer do Título */
@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#forum-modal-card .forum-modal-title {
  font-family: 'Archivo Narrow', sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: linear-gradient(90deg, #0d3261 0%, #0088cc 35%, #f9d900 50%, #0088cc 65%, #0d3261 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: textShimmer 5s linear infinite !important;
  display: inline-block !important;
  font-size: 1.8rem !important;
}

/* TinyMCE Editor Wrapper */
#forum-modal-card .tox-tinymce,
.forum-reply-card .tox-tinymce {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#forum-modal-card .tox-tinymce:focus-within,
.forum-reply-card .tox-tinymce:focus-within {
  border-color: #0d3261 !important;
  box-shadow: 0 0 0 3px rgba(13, 50, 97, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}

/* Form inputs & select stylings within modal */
#forum-modal-card label.form-label {
  color: #475569 !important;
  letter-spacing: 0.8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* ==========================================================================
   SISTEMA DE NOTÍCIAS (Steel Blue & Gold Card Design)
   ========================================================================== */

.news-list-card {
  background-color: #071c35;
  border: 1px solid #133966;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.news-list-card:hover {
  transform: translateY(-2px);
  border-color: #d4af37;
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.25);
}

.news-card-inner {
  padding: 24px;
}

.news-card-title {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
}

.news-card-link {
  color: #fff !important;
  text-decoration: none;
  font-size: 1.25rem;
  transition: color 0.15s ease-in-out;
}

.news-card-link:hover {
  color: #ffe27f !important;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.3) !important;
}

.news-card-summary {
  color: #a3c2e6;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  font-family: Verdana, sans-serif;
}

.news-card-meta {
  border-color: rgba(28, 77, 135, 0.3) !important;
}

/* Badges de Notícias Premium */
.news-badge-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 4px;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-badge-n.news {
  background: linear-gradient(135deg, #9b59b6, #893497);
}

.news-badge-n.event {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.news-badge-n.maintenance {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
}

/* ==========================================================================
   SISTEMA DE FÓRUM - CARDS CLEAN DESIGN (Inspirado no anexo)
   ========================================================================== */

.forum-topic-card {
  background-color: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(13, 50, 97, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.forum-topic-card-fixed {
  border-left: 5px solid #ffbc58;
  /* gold indicator on the left side for fixed posts */
}

/* Category Badges on Cards */
.forum-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  color: #ffffff !important;
  line-height: 1;
}

.forum-category-badge.badge-geral {
  background-color: #0f62fe;
}

.forum-category-badge.badge-eventos {
  background-color: #198754;
}

.forum-category-badge.badge-moderacao {
  background-color: #dc3545;
}

/* Title link */
.forum-topic-title-link {
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.forum-topic-title-link:hover {
  color: #1b65d8 !important;
}

/* Excerpt/Summary */
.forum-topic-card-excerpt {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Meta Footer Info */
.forum-topic-card-meta {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.forum-topic-author-name {
  font-weight: 700;
  color: #334155;
}

.forum-meta-divider {
  color: #cbd5e1;
  user-select: none;
}

.forum-topic-card-meta i {
  font-size: 0.88rem;
  margin-right: 2px;
}

/* Badge de Clã Premium */
.badge-clan {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  font-family: 'Archivo Narrow', sans-serif;
  text-transform: uppercase;
}

.badge-clan i {
  color: #64748b;
}

/* ==========================================================================
   FORUM - CURTIDAS, POPULARIDADE E TÍTULOS HONORÁRIOS
   ========================================================================== */

/* Botão de Curtir Premium (Steel Blue & Grey/Gold transition) */
.btn-like-gb {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-like-gb:hover:not(.disabled) {
  background: #e2e8f0;
  color: #3b82f6;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.1);
}

.btn-like-gb.active {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-color: #38bdf8;
  color: #0369a1;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
  animation: popLike 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-like-gb.active i {
  color: #0284c7;
}

.btn-like-gb.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@keyframes popLike {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Badge de Título Honorário */
.badge-title {
  display: inline-block;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid transparent;
  line-height: 1.2;
}

/* Classes para cada Patamar de curtidas */
.badge-title.title-recrud {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  border-color: #cbd5e1;
}

.badge-title.title-veteran {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.badge-title.title-celebrity {
  background: linear-gradient(135deg, #d946ef 0%, #a21caf 100%);
  border-color: #f0abfc;
  box-shadow: 0 2px 8px rgba(217, 70, 239, 0.35);
}

.badge-title.title-legend {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #fcd34d;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  animation: legendGlow 2s infinite alternate;
}

@keyframes legendGlow {
  from {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
  }

  to {
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.7);
  }
}

/* Caixa de Popularidade no perfil lateral do post */
.forum-author-popularity-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 6px;
  margin-top: 10px;
}

.bg-dark-gb-profile .forum-author-popularity-box {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: #cbd5e1;
}

/* Custom FAQ Header & Accordion styling */
.faq-header {
  background: linear-gradient(135deg, #0d3261 25%, #2a68b4 100%);
  color: white;
  border-radius: 8px;
}

.gb-retro-accordion .accordion-item {
  background: #fdfaf2;
  border: 3px double #bcae97;
  border-radius: 10px !important;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.gb-retro-accordion .accordion-button {
  background-color: transparent;
  color: #0d3261 !important;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: none !important;
  padding: 18px 20px;
}

.gb-retro-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(220, 180, 120, 0.08);
  border-bottom: 1px dashed #e4dcd0;
}

.gb-retro-accordion .accordion-body {
  background-color: #fffcf8;
  padding: 20px;
  line-height: 1.6;
}