/* ============================================================================
   home7k.css — o desenho da home do 7k.bet.br, traduzido do Tailwind deles.
   ============================================================================
   As medidas foram tiradas do site: cartão 4:5 com 118/135/140px, raio 8px,
   título 14px/600 sobre faixa em degradê, chips de 36px, trilho com encaixe,
   hover por brilho. A única troca é o verde #A1CD3D pelo amarelo #F9E30E.
   ========================================================================== */

.h7-wrap {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px)  { .h7-wrap { padding: 16px; gap: 24px; } }
@media (min-width: 1024px) { .h7-wrap { padding: 24px; } }

/* ── chips de categoria ────────────────────────────────────────────────────── */
.h7-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.h7-chips::-webkit-scrollbar { display: none; }
.h7-chip {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: #1c1e34;
  color: #e0e0e0;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .15s;
}
@media (min-width: 640px) { .h7-chip { font-size: 13px; } }
.h7-chip:hover { filter: brightness(1.15); }
.h7-chip-on { background: #f9e30e; color: #1c1e34; }

/* bolinha pulsante do "ao vivo" — mesma animação do 7k */
.h7-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; animation: h7pulse 1.5s infinite; }
.h7-dot-red   { background: #ef4444; }
.h7-dot-green { background: #22bb33; }
@keyframes h7pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }

/* ── banner ────────────────────────────────────────────────────────────────── */
.h7-banner { border-radius: 8px; overflow: hidden; }
.h7-banner-track { display: flex; }
.h7-banner-slide { flex: 0 0 100%; display: none; }
.h7-banner-slide.on { display: block; }
.h7-banner-slide img { width: 100%; height: auto; display: block; aspect-ratio: 920 / 334; object-fit: cover; }

/* ── prateleira ────────────────────────────────────────────────────────────── */
.h7-shelf { display: flex; flex-direction: column; }
.h7-shelf-head {
  /* a faixa que some para a direita, como no 7k */
  background: linear-gradient(to right, rgba(59,62,94,.5) 0%, rgba(59,62,94,.2) 50%, transparent 100%);
  border-radius: 8px;
  min-height: 40px;
  padding: 0 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .h7-shelf-head { margin-bottom: 12px; } }
.h7-shelf-head h2 { font-size: 14px; font-weight: 600; color: #e0e0e0; margin: 0; }

.h7-arrows { display: none; gap: 4px; }
@media (min-width: 640px) { .h7-arrows { display: flex; } }
.h7-arrows button {
  width: 24px; height: 24px;
  border: 0; border-radius: 6px;
  background: rgba(224,224,224,.08);
  color: #e0e0e0; font-size: 16px; line-height: 1;
  cursor: pointer;
}
.h7-arrows button:hover { background: rgba(224,224,224,.16); }

/* trilho: sangra até a borda no celular, volta ao container a partir de 640px */
.h7-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximate;
  scrollbar-width: none;
  margin: 0 -12px;
  padding: 0 12px;
  -webkit-overflow-scrolling: touch;
}
.h7-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .h7-track { gap: 12px; margin: 0; padding: 0; } }

/* ── cartão de jogo: retrato 4:5 ───────────────────────────────────────────── */
.h7-card-wrap { flex: 0 0 auto; width: 118px; scroll-snap-align: start; }
@media (min-width: 640px)  { .h7-card-wrap { width: 135px; } }
@media (min-width: 1024px) { .h7-card-wrap { width: 140px; } }

.h7-card { display: block; text-decoration: none; transition: filter .15s; }
.h7-card:hover { filter: brightness(1.1); }
.h7-card-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1e34;
  aspect-ratio: 4 / 5;
}
.h7-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* o nome fica ATRÁS da capa, só aparece enquanto a imagem não carregou — igual ao 7k */
.h7-card-name {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(160deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.9) 100%);
}

/* ── Top Games: cartão deitado ─────────────────────────────────────────────── */
.h7-top-card {
  flex: 0 0 auto;
  position: relative;
  width: 176px; height: 112px;
  border: 1px solid #f9e30e;
  border-radius: 4px;
  background: #1c1e34;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: filter .15s;
}
.h7-top-card:hover { filter: brightness(1.1); }
.h7-top-num { font-size: 24px; font-weight: 700; font-style: italic; color: #f9e30e; line-height: 1; }
.h7-top-ico { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.h7-top-play {
  position: absolute; right: 8px; bottom: 8px;
  width: 96px; height: 32px;
  border-radius: 8px;
  background: #f9e30e;
  background-image: linear-gradient(276deg, rgba(0,0,0,.22) 1.72%, rgba(255,255,255,.15) 67.16%);
  color: #1c1e34;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
}

/* quem pediu menos animação no sistema não recebe a pulsação */
@media (prefers-reduced-motion: reduce) {
  .h7-dot { animation: none; }
  .h7-track { scroll-behavior: auto; }
}

/* ── emoji antes do título (16px, destaque a 83%) ──────────────────────────── */
.h7-shelf-title { display: flex; align-items: center; gap: 5px; }
.h7-emoji {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; font-size: 14px; line-height: 1;
  opacity: .83;
}

/* ── banner como TRILHO de cards 460x167, não faixa larga ──────────────────── */
.h7-ban-card {
  flex: 0 0 auto;
  width: 90vw; max-width: 460px;
  aspect-ratio: 460 / 167;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  background: #1c1e34;
  transition: filter .15s;
}
.h7-ban-card:hover { filter: brightness(1.1); }
.h7-ban-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* o corte do banner é 768px, diferente do resto do site */
@media (min-width: 768px) { .h7-ban-card { width: 460px; } }
.h7-banner-shelf .h7-track { scroll-snap-type: x mandatory; }

/* ── Maiores Ganhos e Últimas Apostas ──────────────────────────────────────── */
.h7-wins {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px)  { .h7-wins { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .h7-wins { grid-template-columns: repeat(3, 1fr); } }

.h7-win {
  display: flex; align-items: center; gap: 10px;
  background: #1c1e34;
  border-radius: 8px;
  padding: 8px 10px;
}
.h7-win img { width: 36px; height: 45px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
.h7-win-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.h7-win-user { font-size: 12px; font-weight: 600; color: #e0e0e0; }
.h7-win-game {
  font-size: 11px; color: rgba(224,224,224,.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* o 7k usa um limão mais claro que o destaque para valor em dinheiro */
.h7-win-val { font-size: 13px; font-weight: 700; color: #f9f871; white-space: nowrap; }

/* ── Lista de Provedores ───────────────────────────────────────────────────── */
.h7-prov {
  flex: 0 0 auto;
  width: 120px; height: 56px;
  background: #1c1e34;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: filter .15s;
}
.h7-prov:hover { filter: brightness(1.15); }
.h7-prov img { max-width: 100%; max-height: 100%; object-fit: contain; }
.h7-prov span {
  font-size: 11px; font-weight: 600; color: #e0e0e0;
  text-align: center; line-height: 1.2;
}

/* ── "Ver todos" ao lado do título ─────────────────────────────────────────── */
.h7-shelf-head { gap: 8px; }
.h7-shelf-title { flex: 1; min-width: 0; }
.h7-vertodos {
  font-size: 12px; font-weight: 600;
  color: rgba(224, 224, 224, .75);
  text-decoration: none; white-space: nowrap;
}
.h7-vertodos:hover { color: #f9e30e; }

/* ── Top Games no formato da 7k: número, valor, capa e botão ───────────────── */
/* A 7k mostra quanto o jogo pagou hoje em destaque — é o que dá o apelo do bloco.
   Por isso o cartão é bem maior que um cartão de jogo comum. */
.h7-top-card {
  width: 250px; height: 112px;
  display: grid;
  grid-template-columns: 22px 56px 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "num  ico  val"
    "num  ico  play"
    "num  ico  hoje";
  align-items: center;
  gap: 2px 8px;
  padding: 10px;
}
.h7-top-num  { grid-area: num; font-size: 26px; }
.h7-top-ico  { grid-area: ico; width: 56px; height: 56px; }
.h7-top-val  {
  grid-area: val;
  font-size: 15px; font-weight: 700;
  color: #f9e30e;
  white-space: nowrap;
}
.h7-top-play {
  grid-area: play;
  position: static;
  width: 100%; height: 28px;
  font-size: 11px;
}
.h7-top-hoje {
  grid-area: hoje;
  font-size: 9px;
  color: rgba(224, 224, 224, .5);
}

/* ── a capa do Top Games estava esticada e saía em branco ──────────────────── */
/* O grid dava 56px de coluna, mas sem altura fixa a imagem colapsava. */
.h7-top-ico {
  width: 56px !important; height: 56px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  background: #16182a;
  align-self: center;
}

/* ── botões do topo, como na 7k ────────────────────────────────────────────── */
/* Lá o "Entrar" é discreto (cinza-azulado) e o "Cadastrar" é a cor da marca. */
.btn-login, .login-btn, a[href*="login"].btn, .header-login {
  background: #3b3e5e !important;
  background-image: none !important;
  color: #e0e0e0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}
.btn-register, .register-btn, .header-register, .btn-cadastrar {
  background: #f9e30e !important;
  background-image: linear-gradient(276deg, rgba(0,0,0,.22) 1.72%, rgba(255,255,255,.15) 67.16%) !important;
  color: #1c1e34 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}

/* ── seções da home antiga que sobraram no fim ─────────────────────────────── */
/* "Jogos em Destaque" e "Copa do Mundo" são blocos do layout anterior; a 7k
   termina em Maiores Ganhos. Ficam escondidos, não apagados. */
#destaqueSection, #copaSection, .prov-section { display: none !important; }
