/* Base body */
body {
  background-color: #000000 !important;
  
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
  overflow-y: hidden;
  height: 100vh;

}

.bg-dark {
  background-color: #000000 !important;
}

.container,
.container-fluid,
main,
.row {
  background-color: transparent !important; /* mantém o fundo preto visível */
}

/* Section Titles */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  user-select: none;
}
/* Se quiser reforçar a barra lateral também */
.promo-zone,
.top-losers-zone,
.game-section {
  background-color: transparent !important;
  box-shadow: none;
}

/* --- PROMO ZONE --- */
.promo-zone {
  background: #1a1a1a;
  border-radius: 15px;
  border: 2px solid #b8860b;
  color: #f9f6f2;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 15px #b8860b88;
  padding: 1rem 1rem;
  user-select: none;

  height: calc(100vh - 40px); /* altura visível, compensando o top */
  position: sticky;
  top: 20px;

  overflow-y: auto;
  overflow-x: hidden;
}

.promo-marquee {
  border-top: 1px solid #a97800;
  border-bottom: 1px solid #a97800;
  padding: 0.4rem 0;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-shadow: 0 0 6px #b8860b;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

/* Promo blocks styling */
.dynamic-ads {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex-grow: 1;
}

.promo-block {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 0.4rem;
  border-radius: 12px;
  user-select: text;
  min-height: 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  white-space: normal;
  line-height: 1.4;
  letter-spacing: 0.03em;
  overflow-wrap: break-word;

  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  position: relative;
  text-align: center;
}

/* Corrige o bloco digitável */
.promo-block.typewriter {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bloco escuro com alinhamento e moldura opcional */
.promo-block.bg-dark {
  background: #222;
  color: #f0e68c;
  box-shadow: inset 0 0 10px #b8860b88;
  font-weight: 700;
  border: 2px solid #d4af37;
}

/* Destaque com moldura para CODE e VIP CLUB */
.promo-block.highlighted {
  border: 2px solid #d4af37;
  box-shadow: inset 0 0 12px #d4af37aa;
}

/* Ajuste nos spans do USE CODE */
.promo-block span,
.promo-block .code-highlight {
  display: inline-block;
  margin: 0.25rem 0;
}

/* Destaque visual do código */
.code-highlight {
  color: #1a1a1a;
  background-color: #ffcc00;
  padding: 0.3rem 0.9rem;
  border-radius: 5px;
  font-weight: 900;
  text-shadow:
    0 0 2px #ffcc00,
    0 0 4px #ff9900;
  font-family: 'Courier New', monospace;
}

/* Trusted block estilizado */
.trusted-block {
  background-color: #3a2a00;
  color: #ffd700cc;
  box-shadow: inset 0 0 15px #b8860baa;
  font-weight: 900;
}


/* --- GAME SECTION --- */

.game-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-start;
}

/* Logo bigger and centered */
.tiger-logo {
  max-height: 160px;
  max-width: 100%;
  filter: drop-shadow(0 0 6px #b8860b);
  user-select: none;
  margin-bottom: 1rem;
  animation: pulseTiger 2s infinite ease-in-out;
}

@keyframes pulseTiger {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px #d4af37);
  }
  50% {
    transform: scale(1.07);
    filter: drop-shadow(0 0 12px #ffcc00);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px #b8860b);
  }
}
/* Container moldura maior */

/* Fundo das células */
/* Células */
.cell {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #331100, #4b1900); /* fundo marrom avermelhado suave */
  border: 2.5px solid #b8860b; /* dourado */
  border-radius: 15px;
  box-shadow: inset 0 0 8px #4b1900, 0 2px 5px rgba(184, 134, 11, 0.7);
  font-size: 3rem;
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover para as células */
.cell:hover:not(.disabled) {
  background: linear-gradient(145deg, #5c2200, #7a2e00);
  box-shadow: 0 0 20px #d4af37cc;
}

/* X estilizado vermelho com brilho dourado */
.cell.x {
  color: #e63946; /* vermelho vibrante */
  text-shadow:
    0 0 8px #d4af37, /* brilho dourado */
    0 0 15px #b8860b,
    0 0 25px #ffb700;
  font-size: 3.2rem;
  font-weight: 900;
}

/* O estilizado dourado com brilho vermelho */
.cell.o {
  color: #ffd700; /* dourado */
  font-size: 3.2rem;
  font-weight: 900;
}

/* Células desabilitadas ficam mais escuras */
.cell.disabled {
  cursor: default;
  background: #2e1a00;

  box-shadow: none;
}

/* Para evitar seleção de texto nos símbolos */
.cell.x, .cell.o {
  user-select: none;
}


/* Mensagem no rodapé da moldura */
#gameMessage {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%; /* Reduzido de 90% para evitar overflow lateral */
  font-size: 1.1rem;
  font-weight: 900;
  z-index: 4;
  text-align: center;
  color: #ffd700;
  padding: 0 4px; /* Um pouco de respiro lateral */
  line-height: 1.2;
}


/* --- TOP LOSERS ZONE --- */
.top-losers-zone {
  background: #222222;
  border-radius: 15px;
  border: 2px solid #b8860b;
  padding: 1.5rem 1.25rem;
  color: #f7f2de;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow:
    inset 0 0 15px #b8860b88;
  user-select: none;
  overflow-y: auto;
}

/* Scrollbar custom */
.top-losers-zone::-webkit-scrollbar {
  width: 8px;
}
.top-losers-zone::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}
.top-losers-zone::-webkit-scrollbar-thumb {
  background: #b8860bcc;
  border-radius: 10px;
  box-shadow: inset 0 0 5px #d4af37;
}

/* Each loser entry */
.loser-entry {
  background: #3a2a00;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px #b8860baa;
  transition: background-color 0.3s ease;
  user-select: text;
}

.loser-entry:hover {
  background-color: #5c4400;
  box-shadow: 0 0 18px #d4af37;
}

/* Header flex */
.loser-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

/* Loser name */
.loser-name {
  font-weight: 900;
  font-size: 1.1rem;
  color: #f0e68c;
  letter-spacing: 0.05em;
}

/* Loser loss */
.loser-loss {
  font-weight: 900;
  font-size: 1.1rem;
  color: #d4af37;
  text-shadow:
    0 0 4px #b8860b,
    0 0 7px #d4af37;
}

/* Quote */
.loser-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: #fff3b0;
  text-shadow: 0 0 5px #5c4400;
  min-height: 48px;
  user-select: none;
  line-height: 1.3;
}

.site-footer {
  background-color: #000000; /* Preto absoluto */
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  user-select: none;
  position: sticky;
  bottom: 0;
  width: 100%;
  z-index: 10000;
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(255, 0, 0, 0.25); /* leve brilho vermelho */
}

/* Container do CA */
.footer-contract {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.6rem 1.2rem;
  background-color: #111; /* fundo interno */
  border-radius: 12px;
  border: 2px solid #b8860b;
  box-shadow: 0 0 12px #FFD700;
}

/* Label "CA:" */
.ca-label {
  color: #FFD700;
  font-size: 1.5rem;
  text-shadow: 0 0 6px #FFD700;
}

/* Código do CA */
.contract-code {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  border: 1px dashed #FFD700;
  box-shadow: inset 0 0 6px #FFD700;
  user-select: all;
}

/* Botão copy */
#copyBtn {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
}

#copyBtn:hover {
  background-color: #FFD700;
  color: #000;
  box-shadow: 0 0 10px #FFD700;
}

/* Ícones sociais */
.social-icons {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  filter: drop-shadow(0 0 4px #FFD700);
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #ff0000);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .contract-code {
    font-size: 1.1rem;
  }

  #copyBtn {
    font-size: 0.9rem;
  }

  .ca-label {
    font-size: 1.2rem;
  }
}


/* Responsive tweaks */
@media (max-width: 767.98px) {
  #gameBoard {
    grid-template-columns: repeat(3, 60px);
    grid-template-rows: repeat(3, 60px);
    gap: 12px;
  }

  .promo-zone, .top-losers-zone {
    margin-bottom: 2rem;
  }

  .footer-contract code {
    font-size: 1.1rem;
  }

  .footer-contract button {
    font-size: 0.9rem;
  }
}

/* Moldura maior para comportar tudo */
.game-frame {
  position: relative;
  width: 320px;
  height: 420px;
}

/* Fundo traçado ajustado */
/* Moldura maior para comportar tudo */
.game-frame {
  position: relative;
  width: 320px;
  height: 420px;
}

/* Fundo traçado ajustado */
.game-background {
  position: absolute;
  top: 15px;      /* subi 10px para cima */
  left: 10px;
  width: 290px;
  height: 355px;  /* diminui um pouco pra dar espaço no rodapé */
  z-index: 1;
  pointer-events: none;
}
/* Tabuleiro */
.game-board {
  position: absolute;
  top: 55px;  /* Subi aqui de 90px para 55px para deixar as células mais próximas do topo da moldura */
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: repeat(3, 80px);
  gap: 10px;
  z-index: 2;
}

/* Células */
.cell {
  width: 80px;
  height: 80px;
  background: #2f2f2f;
  border: 3px solid #b8860b;
  border-radius: 15px;
  font-size: 2.5rem;
  font-weight: 900;
  color: #d4af37;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Moldura frontal por cima */
.game-moldura {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 400px;
  z-index: 3;
  pointer-events: none;
}

#gameMessage {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  font-size: 1.2rem;
  font-weight: 900;
  z-index: 4;
  text-align: center;
  color: #ffd700;
  line-height: 1.2;
  word-wrap: break-word;
}

#gameMessage.multi-line {
  font-size: 1rem;  /* reduz um pouco o tamanho da fonte */
  bottom: 40px;     /* sobe um pouco mais pra dar espaço */
}


  .top-losers-zone {
    margin-bottom: 2rem;
  }

  #errorOverlay {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.promo-marquee-wrapper {
  position: relative;
  overflow: hidden;
  height: 2.5rem;
  border-top: 1px solid #a97800;
  border-bottom: 1px solid #a97800;
  white-space: nowrap;

  display: flex;               /* 🔥 faz virar um container flex */
  align-items: center;         /* 🔥 centraliza verticalmente */
}
.promo-marquee-track {
  display: inline-block;
  padding-left: 100%; /* Começa fora da tela */
  animation: marqueeScroll 16s linear infinite;
}

.promo-marquee-message {
  display: inline-block;
  margin-right: 100px; /* Espaço entre as frases */
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-shadow: 0 0 6px #b8860b;
  color: #ffd700;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Corrige visual do primeiro bloco (deposit) */
.promo-block.bg-warning {
  background: #f0e68c;
  color: #3f2a00;
  box-shadow: inset 0 0 10px #d4af37cc;
  text-align: center;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  word-break: break-word;
}


/* Ajusta espaçamento vertical dos spans nos blocos destacados */
.promo-block.highlighted span,
.promo-block.highlighted .code-highlight {
  display: block;
  text-align: center;
  margin: 0.2rem 0;
}

.vip-title {
  text-shadow: 0 0 5px #ffd700cc;
}

.vip-desc {
  font-size: 0.95rem;
  font-weight: 700;
}
