/* ============================================================
   SheikBet — Front-end estático mobile-first
   Tema: dark-luxo com dourado "sheik" + verde PIX para conversão
   ============================================================ */

:root {
  --bg0: #07090F;
  --bg1: #0C1018;
  --bg2: #131826;
  --bg3: #1A2134;
  --line: rgba(255, 255, 255, 0.08);
  --text: #EDEFF6;
  --muted: #9AA3B8;
  --gold-1: #F8D97E;
  --gold-2: #E9B93B;
  --gold-3: #C8871A;
  --gold: var(--gold-2);
  --green: #1DBF63;
  --green-dark: #128A45;
  --pix: #32BCAD;
  --hot: #FF4E4E;
  --radius: 16px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 66px;

  /* ---------- Escala de camadas (z-index) ----------
     Única fonte de verdade, em ordem crescente. Números locais de
     componente (-2…3 em .gcard/.slide/.live-card/.hero/.ticker) vivem em
     contextos de empilhamento isolados e ficam fora da escala global.
     Modais (<dialog>.showModal) e o toast (Popover API) vão para o TOP
     LAYER do navegador — acima de QUALQUER z-index deste documento. */
  --z-sticky: 40;   /* sub-navegação grudada (.lobby-nav) */
  --z-header: 50;   /* topo (.topbar) */
  --z-nav: 60;      /* navegação inferior (.bottomnav) */
  --z-toast: 100;   /* .toast em navegadores sem Popover API */
  --z-skip: 200;    /* .skip-link */
  --z-grain: 300;   /* granulado decorativo (body::after), topo do documento */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: rgba(233, 185, 59, 0.35); color: #FFF6DC; }
/* Scrollbar fina e escura (desktop) */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: #2A3146 transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: #2A3146; border-radius: 99px; border: 3px solid var(--bg0); }
  ::-webkit-scrollbar-track { background: transparent; }
}

/* Ícones do sprite: traço controlado por contexto (símbolos não fixam
   stroke-width, então o valor herda do host <svg> para dentro do <use>) */
.ic { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: -3px; stroke-width: 1.8; }
.eyebrow .ic, .chip .ic, .bonus-pill .ic, .dlg-secure .ic,
.trustbar li .ic, .tick-item .tick-ic, .hero-pause .ic, .anim-pause .ic { stroke-width: 2.4; }
.dlg-x .ic { stroke-width: 2.2; }
.bn-ico { stroke-width: 1.9; }
.lc-emo { stroke-width: 1.1; }

/* Link de pular conteúdo (acessibilidade) */
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: var(--z-skip);
  background: var(--gold-2); color: #2B2008;
  font-weight: 800; font-size: 13px;
  padding: 10px 16px; border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg0);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { text-wrap: balance; }
/* Aurora fixa ao fundo: profundidade sem custo de imagem */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 82% 4%, rgba(233, 185, 59, 0.11), transparent 70%),
    radial-gradient(30% 26% at 6% 16%, rgba(50, 188, 173, 0.08), transparent 70%),
    radial-gradient(36% 32% at 72% 82%, rgba(122, 92, 255, 0.07), transparent 70%);
}
/* Grão sutil por cima — acabamento de material */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 2px; border-radius: 6px; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }

/* ---------- Barra de anúncio / conformidade ---------- */
.announce {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 7px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: #2B2008;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2) 40%, var(--gold-1) 75%, var(--gold-2));
  white-space: nowrap; overflow: hidden;
}
.announce span { overflow: hidden; text-overflow: ellipsis; }
.announce-sep { opacity: 0.55; }
@media (max-width: 640px) {
  .announce-law { display: none; }
}

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.3s ease;
}
/* Header retrátil: some ao rolar para baixo, volta ao rolar para cima —
   libera viewport para o lobby (padrão de apps de cassino) */
body.hdr-hidden .topbar { transform: translateY(-105%); }
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-txt {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.04em;
}
.brand-txt em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topnav { display: none; gap: 22px; margin-inline: auto; }
.topnav a {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color 0.2s ease;
}
.topnav a:hover { color: var(--text); }
.topbar-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.balance-pill {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 14px;
  border-radius: 12px;
  font-weight: 800; font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--gold-1);
  background: rgba(233, 185, 59, 0.1);
  border: 1px solid rgba(233, 185, 59, 0.35);
  cursor: pointer;
}
.balance-pill:hover { background: rgba(233, 185, 59, 0.18); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; height: 44px;
  border-radius: 12px;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-gold {
  position: relative; overflow: hidden;
  color: #2B2008;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 50%, var(--gold-3));
  box-shadow: 0 4px 20px rgba(233, 185, 59, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 6px 26px rgba(233, 185, 59, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 60%);
  transform: translateX(-110%);
  animation: shine 4.2s ease-in-out infinite;
}
@keyframes shine { 0%, 72% { transform: translateX(-110%); } 88%, 100% { transform: translateX(110%); } }
.btn-green {
  /* Texto escuro sobre verde: contraste AA (≥4,5:1) em todo o gradiente */
  color: #04220F;
  background: linear-gradient(135deg, #3BE384, #1FCE6C 55%, #16A653);
  box-shadow: 0 4px 20px rgba(29, 191, 99, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-green:hover { filter: brightness(1.07); }
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.linklike { color: var(--gold-1); font-weight: 700; text-decoration: underline; }
.terms-link { color: var(--muted); font-size: 13px; font-weight: 600; }
.terms-link:hover { color: var(--text); }

/* ---------- Hero / carrossel ---------- */
.hero {
  position: relative; margin-top: 14px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  touch-action: pan-y;
}
.hero-track { display: flex; transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1); }
.slide {
  min-width: 100%;
  position: relative;
  display: flex; align-items: center;
  min-height: 210px;
  padding: 24px 20px;
}
.slide-a { background: radial-gradient(130% 160% at 100% 0%, rgba(233, 185, 59, 0.32), rgba(120, 74, 12, 0.16) 45%, var(--bg2) 78%); }
.slide-b { background: radial-gradient(130% 160% at 100% 0%, rgba(29, 191, 99, 0.30), rgba(10, 92, 48, 0.16) 45%, var(--bg2) 78%); }
.slide-c { background: radial-gradient(130% 160% at 100% 0%, rgba(122, 92, 255, 0.32), rgba(52, 34, 128, 0.18) 45%, var(--bg2) 78%); }
.slide-copy { position: relative; z-index: 1; max-width: 62%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-1);
  background: rgba(233, 185, 59, 0.12);
  border: 1px solid rgba(233, 185, 59, 0.3);
  padding: 4px 10px; border-radius: 99px;
}
.eyebrow .ic { width: 12px; height: 12px; }
.slide h1, .slide h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 5.4vw, 34px); line-height: 1.15;
  margin-bottom: 6px;
}
.slide p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.slide p strong { color: var(--gold-1); }
.slide-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.slide-art {
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
}
.slide-art svg { width: clamp(96px, 22vw, 160px); height: auto; aspect-ratio: 1; display: block; }
/* Halo + sunburst atrás da arte do slide */
.slide-art::before {
  content: ""; position: absolute; inset: -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13), transparent 62%);
}
.slide-art::after {
  content: ""; position: absolute; inset: -55%; z-index: -2;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.05) 0 9deg, transparent 9deg 18deg);
  border-radius: 50%;
}
@keyframes float { 0%, 100% { transform: translateY(-52%); } 50% { transform: translateY(-46%); } }
/* Palavras-chave com brilho dourado animado */
.shine {
  background: linear-gradient(100deg, var(--gold-1) 20%, #FFF3C4 40%, var(--gold-2) 60%, var(--gold-1) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shineTxt 3.6s ease-in-out infinite;
}
@keyframes shineTxt { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
/* Partículas decorativas do hero (SVG do sprite, sobre a metade da arte) */
.sp {
  position: absolute; z-index: 1; pointer-events: none;
  color: var(--gold-1); opacity: 0.55;
  animation: spFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(233, 185, 59, 0.6));
}
.sp:nth-of-type(2) { animation-delay: -2s; }
.sp:nth-of-type(3) { animation-delay: -4s; }
@keyframes spFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-10px) scale(1.15); opacity: 0.85; }
}
.hero-dots {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; z-index: 2;
}
/* Miolo visual de 8px, área de toque de 24×44px (padding + background-clip) */
.hero-dots button {
  box-sizing: content-box;
  width: 8px; height: 8px; border-radius: 99px;
  padding: 18px 8px;
  background: rgba(255, 255, 255, 0.28);
  background-clip: content-box;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.hero-dots button.is-active { width: 22px; background-color: var(--gold-2); }
.hero-pause {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 44px; height: 44px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(4, 6, 10, 0.35);
}
.hero-pause:hover { background: rgba(4, 6, 10, 0.6); color: #fff; }
.hero-pause .ic, .anim-pause .ic { width: 15px; height: 15px; }
/* Alterna ícone pausar/retomar pelo estado aria-pressed */
.hero-pause[aria-pressed="false"] .ic-play, .anim-pause[aria-pressed="false"] .ic-play { display: none; }
.hero-pause[aria-pressed="true"] .ic-pause, .anim-pause[aria-pressed="true"] .ic-pause { display: none; }

/* ---------- Trustbar ---------- */
.trustbar {
  display: flex; gap: 8px; list-style: none;
  margin: 14px 0 4px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.trustbar::-webkit-scrollbar { display: none; }
.trustbar li {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--bg1);
  border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 99px;
  white-space: nowrap;
}
.trustbar li .ic { width: 15px; height: 15px; color: var(--gold-2); }

/* ---------- Categorias + busca ---------- */
.lobby-nav {
  position: sticky; top: 60px; z-index: var(--z-sticky);
  margin: 10px -16px 0; padding: 10px 16px;
  background: rgba(7, 9, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: top 0.3s ease;
}
body.hdr-hidden .lobby-nav { top: 0; }
.search-row { margin: 10px 0 14px; }
.cats {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cats::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 700;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chip .ic { width: 14px; height: 14px; }
.chip:active { transform: scale(0.95); }
.chip:hover { color: var(--text); border-color: rgba(233, 185, 59, 0.4); }
.chip.is-active {
  color: #2B2008;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  border-color: transparent;
  box-shadow: 0 3px 14px rgba(233, 185, 59, 0.35);
}
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px; height: 44px;
  color: var(--muted);
}
.search:focus-within { border-color: rgba(233, 185, 59, 0.5); }
.search input {
  flex: 1; height: 100%;
  background: none; border: 0; outline: 0;
  color: var(--text); font-size: 16px;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- Lobby de jogos ---------- */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 12px;
}
.sec-head h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.sec-count { font-size: 12px; color: var(--muted); font-weight: 600; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gcard {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background:
    radial-gradient(95% 60% at 50% 30%, var(--glo, rgba(255, 255, 255, 0.16)), transparent 72%),
    var(--g, var(--bg2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 10px 8px 30px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Sunburst atrás do ícone — arte de slot clássica em CSS puro */
.gcard::before {
  content: ""; position: absolute; inset: -45%; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 46%, rgba(255, 255, 255, 0.07) 0 7deg, transparent 7deg 14deg);
  transform-origin: 50% 46%;
  opacity: 0.6;
}
/* Vinheta: topo levemente escuro, base ancorando a placa do nome */
.gcard::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 28%, transparent 52%, rgba(2, 3, 6, 0.62));
}
.gcard:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 185, 59, 0.55);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(233, 185, 59, 0.12);
}
.gcard:hover::before { animation: raysSpin 16s linear infinite; }
@keyframes raysSpin { to { transform: rotate(360deg); } }
/* Cover tipográfico: marca-d'água + título display + provedor.
   (As miniaturas oficiais dos jogos entram aqui via API do agregador.) */
.gc-mark {
  position: absolute; top: -14px; right: -6px; z-index: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 19vw, 96px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .gc-mark { color: rgba(255, 255, 255, 0.07); }
}
.gc-title {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(13.5px, 3.9vw, 18px); line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  padding-inline: 6px;
  text-wrap: balance;
  overflow-wrap: break-word;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gcard:hover .gc-title { transform: scale(1.06); }
.gc-prov {
  position: absolute; inset-inline: 6px; bottom: 9px; z-index: 1;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(237, 239, 246, 0.55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gcard:active { transform: scale(0.96); }
/* Entrada em cascata: só na 1ª pintura e na troca de categoria (classe .anim
   aplicada pelo JS). Anima apenas opacidade — não disputa o transform do
   hover/active nem pisca a cada tecla da busca. */
.gcard.anim { animation: cardIn 0.45s ease backwards; }
@keyframes cardIn { from { opacity: 0; } }
.gbadge {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  padding: 3px 7px; border-radius: 7px;
  color: #fff; background: #D92B2B;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.gbadge.novo { background: var(--green); color: #04220F; }
.gcard .playov {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 6, 10, 0.55);
  opacity: 0; transition: opacity 0.2s ease;
}
.gcard:hover .playov, .gcard:focus-visible .playov { opacity: 1; }
.playov span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  color: #2B0208;
  box-shadow: 0 6px 20px rgba(233, 185, 59, 0.5);
}
.playov .ic { width: 19px; height: 19px; margin-left: 2px; color: #2B2008; }
.grid-empty { text-align: center; color: var(--muted); padding: 30px 0; font-weight: 600; }

/* ---------- Ticker de ganhadores ---------- */
.winners { margin-top: 30px; }
.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--hot);
}
.live-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 99px;
  background: var(--hot);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
.ticker-head-actions { display: inline-flex; align-items: center; gap: 6px; }
.demo-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px dashed rgba(154, 163, 184, 0.5);
  padding: 4px 8px; border-radius: 99px;
  white-space: nowrap;
}
.anim-pause {
  width: 40px; height: 40px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.anim-pause:hover { color: var(--text); }
.ticker.is-paused .ticker-track { animation-play-state: paused; }
.demo-note { display: block; font-size: 11px; color: var(--muted); }
.ticker {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg1);
  padding: 12px 0;
}
/* Fade nas pontas sem mask (mask apagaria a borda e o fundo do card) */
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 30px; z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg1), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bg1), transparent); }
.ticker-track {
  display: flex; gap: 28px; width: max-content;
  animation: marq 36s linear infinite;
}
.tick-half { display: flex; gap: 28px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.tick-item { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.tick-item .tick-ic { width: 15px; height: 15px; color: var(--gold-2); }
.tick-item .t-name { color: var(--muted); font-weight: 600; }
.tick-item .t-amt { color: var(--green); font-weight: 800; }
.tick-item .t-game { color: var(--gold-1); font-weight: 600; }

/* ---------- Jackpot ---------- */
.jackpot {
  margin-top: 24px;
  border-radius: 20px;
  border: 1px solid rgba(233, 185, 59, 0.35);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(233, 185, 59, 0.16), transparent 60%),
    var(--bg1);
  padding: 26px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.jackpot-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}
.jackpot-label .ic { width: 16px; height: 16px; color: var(--gold-2); }
.jackpot-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 8.5vw, 52px);
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(233, 185, 59, 0.25);
}

/* ---------- PIX ---------- */
.pix {
  margin-top: 30px;
  border-radius: 20px;
  border: 1px solid rgba(50, 188, 173, 0.3);
  background:
    radial-gradient(100% 130% at 0% 0%, rgba(50, 188, 173, 0.12), transparent 55%),
    var(--bg1);
  padding: 24px 18px;
}
.pix-head { text-align: center; margin-bottom: 18px; }
.pix-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.06em;
  color: var(--pix);
  border: 1px solid rgba(50, 188, 173, 0.4);
  background: rgba(50, 188, 173, 0.1);
  padding: 6px 12px; border-radius: 99px;
  margin-bottom: 10px;
}
.pix-badge .ic { width: 17px; height: 17px; }
.btn .ic { width: 17px; height: 17px; }
.pix-head h2 { font-family: var(--font-display); font-size: clamp(20px, 5.6vw, 30px); font-weight: 800; }
.pix-head h2 em { font-style: normal; color: var(--pix); }
.pix-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pix-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pix-steps li {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.pix-steps span {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  color: #042115;
  background: linear-gradient(135deg, #4BD8C9, var(--pix));
  box-shadow: 0 0 0 4px rgba(50, 188, 173, 0.12), 0 4px 12px rgba(50, 188, 173, 0.3);
}
.pix-steps strong { display: block; font-size: 14px; }
.pix-steps small { color: var(--muted); font-size: 12px; }
.pix-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 10px; }

/* ---------- VIP ---------- */
.vip { margin-top: 30px; }
.vip-row {
  display: flex; gap: 10px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.vip-row::-webkit-scrollbar { display: none; }
.vip-card {
  flex: 0 0 156px;
  scroll-snap-align: start;
  border-radius: 16px;
  padding: 16px 14px;
  /* Borda em gradiente (padding-box/border-box) */
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 55%) border-box;
}
.vip-card .vip-ico { width: 26px; height: 26px; display: block; margin-bottom: 10px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); }
.vip-card h3 { font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.vip-card p { font-size: 12px; color: var(--muted); line-height: 1.45; }
.vip-top {
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(165deg, var(--gold-1), var(--gold-3) 70%) border-box;
  box-shadow: 0 6px 24px rgba(233, 185, 59, 0.15);
}
.vip-top::before { content: none; }
.vip-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 34px; }
.faq h2 { font-family: var(--font-display); font-size: 20px; margin-bottom: 14px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg1);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 42px 14px 16px;
  font-weight: 700; font-size: 14px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-2); font-size: 18px; font-weight: 700;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 16px 14px; color: var(--muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--bg1);
  padding: 30px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-bottom: 24px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 8px 0 12px; max-width: 420px; }
.footer-logo { display: inline-flex; align-items: center; gap: 9px; }
.pay-strip { display: flex; gap: 8px; }
.pay-pill {
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--pix);
  border: 1px solid rgba(50, 188, 173, 0.4);
  padding: 5px 10px; border-radius: 8px;
}
.pay-pill + .pay-pill { color: var(--muted); border-color: var(--line); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 2px; }
.footer-col a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--gold-1); }
.rg-strip {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg2);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.age-badge {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  color: #fff; border: 2.5px solid var(--hot);
}
.rg-strip p { font-size: 12.5px; color: var(--muted); }
.rg-strip strong { color: var(--text); }
.legal { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.legal strong { color: #B9C0D4; }
.copy { font-size: 11.5px; color: var(--muted); }

/* ---------- Bottom nav (mobile) ---------- */
.bottomnav {
  position: fixed; bottom: 0; inset-inline: 0; z-index: var(--z-nav);
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.bn-item, .bn-dep {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; height: var(--nav-h);
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease;
}
.bn-item:active { transform: scale(0.92); }
.bn-item.is-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px; border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
}
.bn-ico { width: 21px; height: 21px; }
.bn-item.is-active { color: var(--gold-1); }
.bn-dep { color: var(--gold-1); position: relative; }
.bn-dep-btn {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  margin-top: -26px; margin-bottom: 2px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  box-shadow: 0 6px 22px rgba(233, 185, 59, 0.5), 0 0 0 5px var(--bg0);
  color: #2B2008;
}
.bn-dep-btn .ic { width: 22px; height: 22px; }

/* ---------- Modais ---------- */
.dlg {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg2);
  color: var(--text);
  width: min(420px, calc(100vw - 28px));
  max-height: min(86dvh, 720px);
  padding: 0;
  margin: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.dlg::backdrop { background: rgba(3, 4, 8, 0.72); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlgIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
.dlg-in { padding: 22px 20px 20px; overflow-y: auto; max-height: inherit; }
.dlg-x {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.dlg-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }
.dlg-x .ic { width: 16px; height: 16px; }
.dlg h2 { font-family: var(--font-display); font-size: 21px; font-weight: 800; margin-bottom: 14px; padding-right: 44px; }
.dlg h2 .ic-title { width: 21px; height: 21px; vertical-align: -4px; margin-right: 6px; }
.bonus-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800;
  color: #2B2008;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
  padding: 7px 12px; border-radius: 99px;
  margin-bottom: 12px;
  box-shadow: 0 3px 14px rgba(233, 185, 59, 0.35);
}
.bonus-pill .ic { width: 13px; height: 13px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field input,
.field select {
  width: 100%; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg1);
  color: var(--text);
  padding: 0 14px;
  font-size: 16px; /* >=16px evita zoom automático no iOS */
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus { border-color: rgba(233, 185, 59, 0.55); }
.field input::placeholder { color: rgba(154, 163, 184, 0.55); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--gold-2); flex: 0 0 auto; }
.check a { color: var(--gold-1); }
.dlg .btn-block { margin-top: 6px; }
/* Feedback inline dos diálogos: com showModal() o resto do documento fica
   inert, então o erro precisa viver DENTRO do diálogo para ser visto e
   anunciado (role="alert"). Persiste até o próximo envio/fechamento. */
.dlg-error {
  display: flex;
  margin: 2px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px; font-weight: 600; line-height: 1.45;
  color: #FFC9C9;
  background: rgba(217, 43, 43, 0.12);
  border: 1px solid rgba(255, 94, 94, 0.45);
}
.dlg-error[hidden] { display: none; }
.dlg-status { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #6FE8A6; text-align: center; }
.dlg-status.is-error { color: #FFC9C9; }
/* Campo que já falhou um envio fica marcado de forma persistente */
.field input:user-invalid { border-color: rgba(255, 94, 94, 0.55); }
.dlg-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.dlg-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); margin-top: 10px;
}
.dlg-secure .ic { width: 13px; height: 13px; }
.amt:active { transform: scale(0.96); }

/* Depósito */
.dep-sub { color: var(--muted); font-size: 13.5px; margin: -6px 0 14px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.amt {
  position: relative;
  height: 48px; border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg1);
  font-weight: 800; font-size: 15px;
  transition: all 0.15s ease;
}
.amt:hover { border-color: rgba(29, 191, 99, 0.5); }
.amt.is-active {
  border-color: var(--green);
  background: rgba(29, 191, 99, 0.12);
  color: #6FE8A6;
  box-shadow: 0 0 0 1px var(--green) inset;
}
.amt-tag {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 800; letter-spacing: 0.03em;
  background: var(--green); color: #04220F;
  padding: 2px 7px; border-radius: 99px;
  white-space: nowrap;
}
.pix-result { margin-top: 16px; text-align: center; }
.qr-box {
  width: 172px; height: 172px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}
.qr-box svg { width: 100%; height: 100%; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.qr-box .qr-ok {
  display: flex; width: 100%; height: 100%;
  align-items: center; justify-content: center;
  font-size: 64px;
}
.qr-amt { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--green); margin-bottom: 10px; }
.qr-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- Toast ---------- */
/* [popover] nos navegadores modernos: o JS chama showPopover() e o toast
   entra no TOP LAYER, acima de qualquer <dialog> aberto. `inset:auto` e
   `margin:0` desfazem a centralização padrão da UA para popovers; o resto
   (fixed + z-index) segue valendo como fallback sem Popover API. */
.toast {
  position: fixed; z-index: var(--z-toast);
  inset: auto;
  left: 50%; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));
  margin: 0;
  width: max-content;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg3);
  /* Borda >=3:1 sobre o fundo da página: o pill não some no dark (WCAG 1.4.11) */
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
  font-size: 13.5px; font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}
/* Visível aceita interação: hover pausa o timer e clique dispensa (via JS).
   O estado visível é o de REPOUSO (opacity 1): mesmo sem quadro de animação
   — aba oculta, movimento reduzido — o toast pinta visível. A entrada suave
   é enriquecimento via @starting-style quando o popover sai de display:none. */
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
@starting-style {
  .toast.is-on { opacity: 0; transform: translateX(-50%) translateY(16px); }
}
.toast.is-error {
  border-color: rgba(255, 94, 94, 0.65);
  background: linear-gradient(rgba(217, 43, 43, 0.14), rgba(217, 43, 43, 0.14)), var(--bg3);
  color: #FFC9C9;
}
/* Regiões live de anúncio: sempre renderizadas, invisíveis mas na árvore de
   acessibilidade (não usar display:none nem visibility:hidden, que as tiram
   da árvore e impediriam o anúncio). */
.sr-only {
  position: fixed; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Kicker de seção ---------- */
.kicker {
  display: block;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
}

/* ---------- Faixa de provedores ---------- */
.providers {
  display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap;
  margin: 22px 0 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg1);
}
.providers > span { font-size: 11px; font-weight: 700; color: var(--muted); }
.providers ul { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; }
.providers li {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: rgba(237, 239, 246, 0.5);
  white-space: nowrap;
}

/* ---------- Mesas ao vivo ---------- */
.livesec { margin-top: 30px; }
.live-row {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.live-row::-webkit-scrollbar { display: none; }
.live-card {
  flex: 0 0 236px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 85% 0%, var(--glo, rgba(50, 188, 173, 0.2)), transparent 60%),
    var(--bg2);
  padding: 16px;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.live-card:hover { transform: translateY(-3px); border-color: rgba(233, 185, 59, 0.5); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.live-card .lc-emo {
  position: absolute; right: -6px; bottom: -10px; z-index: -1;
  width: 84px; height: 84px;
  color: rgba(255, 255, 255, 0.16);
}
.live-card:active { transform: scale(0.97); }
.lc-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  color: #6FE8A6;
  margin-bottom: 10px;
}
.lc-status::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--green); animation: pulse 1.6s ease-in-out infinite; }
/* Estado pré-integração: sem simulação de "ao vivo" */
.lc-status.soon { color: var(--gold-1); }
.lc-status.soon::before { background: var(--gold-2); animation: none; }
.live-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.live-card .lc-sub { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.lc-limits {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--gold-1);
  background: rgba(233, 185, 59, 0.1);
  border: 1px solid rgba(233, 185, 59, 0.28);
  padding: 4px 9px; border-radius: 8px;
}

/* ---------- Stepper do depósito ---------- */
.dep-steps {
  display: flex; gap: 6px; list-style: none;
  margin: -4px 0 14px;
}
.dep-steps li {
  flex: 1;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding-top: 8px;
  border-top: 3px solid var(--line);
}
.dep-steps li.done { color: #6FE8A6; border-top-color: var(--green); }
.dep-steps li.cur { color: var(--gold-1); border-top-color: var(--gold-2); }

/* ---------- Skeleton do lobby (estado de carregamento da API) ---------- */
.sk-card {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--bg2) 40%, var(--bg3) 50%, var(--bg2) 60%);
  background-size: 220% 100%;
  animation: skShine 1.2s linear infinite;
}
@keyframes skShine { to { background-position: -120% 0; } }

/* ---------- Animações de entrada (só com JS ativo) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Detalhes avançados de renderização ---------- */
/* Seções abaixo da dobra só renderizam quando se aproximam do viewport */
.faq, .footer { content-visibility: auto; contain-intrinsic-size: auto 560px; }
/* View Transitions (filtro do lobby): fade curto e discreto */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }

/* ---------- Páginas internas (termos, jogo responsável) ---------- */
.page { max-width: 760px; margin-inline: auto; padding: 26px 16px 60px; }
.page-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--gold-1);
  text-decoration: none; margin-bottom: 18px;
}
.page h1 { font-family: var(--font-display); font-size: clamp(24px, 6vw, 34px); font-weight: 800; margin-bottom: 6px; }
.page .page-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.page h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.page p, .page li { color: #C6CCDC; font-size: 14.5px; line-height: 1.7; }
.page ul { padding-left: 20px; margin: 8px 0; }
.page .card-note {
  border: 1px solid rgba(233, 185, 59, 0.3);
  background: rgba(233, 185, 59, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottomnav { display: none; }
  .announce { font-size: 12px; }
  .topbar-in { height: 68px; }
  .topnav { display: flex; }
  .hero { margin-top: 20px; }
  .slide { min-height: 300px; padding: 40px 48px; }
  .slide-copy { max-width: 56%; }
  .slide p { font-size: 16px; }
  .lobby-nav { top: 68px; }
  .search-row { display: flex; justify-content: flex-end; }
  .search-row .search { min-width: 320px; }
  .grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .sec-head h2 { font-size: 22px; }
  .pix { padding: 34px; }
  .pix-steps { flex-direction: row; }
  .pix-steps li { flex: 1; }
  .pix .btn-block { max-width: 380px; margin-inline: auto; display: flex; }
  .vip-card { flex: 1 1 0; }
  .live-card { flex: 1 1 0; }
  .providers { justify-content: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .toast { bottom: 28px; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) {
  .gc-prov { bottom: 11px; font-size: 9px; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-gold::after, .slide-art, .live-dot::before, .lc-status::before,
  .shine, .sp, .sk-card, .gcard { animation: none; }
  .gcard:hover::before { animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 14px; }
  .tick-half { flex-wrap: wrap; }
  .tick-half[aria-hidden] { display: none; }
  .anim-pause { display: none; }
  .hero-track { transition: none; }
  .dlg[open] { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* Toast só com fade de opacidade — sem o deslize de 16px (mantém a
     centralização translateX(-50%)); o estado visível continua sendo o de
     repouso, então o toast aparece igual, só sem movimento posicional. */
  .toast { transition: opacity 0.2s ease; }
  .toast, .toast.is-on { transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   PlayFiver — capas reais dos jogos + player em tela cheia
   ============================================================ */

/* Capa oficial do jogo cobre o card; título/badge/overlay ficam por cima. */
.gc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.gcard.has-img .gc-mark { display: none; }
.gcard.has-img .gc-title {
  position: absolute; inset-inline: 0; bottom: 22px; z-index: 1;
  font-size: clamp(11px, 3.2vw, 14px); padding-inline: 8px;
}
/* Vinheta mais forte sobre a capa para o nome/rodapé continuarem legíveis. */
.gcard.has-img::after {
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, transparent 34%, rgba(2,3,6,.82) 100%);
}

/* Botão "carregar mais" do lobby */
.grid-more { display: flex; justify-content: center; margin-top: 18px; }
.grid-more .btn { min-width: 220px; }

/* Player de jogo — dialog em tela cheia com o iframe do provedor */
.game-modal {
  padding: 0; border: 0; margin: 0;
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: #05070c; color: var(--text, #eef1f7);
  display: flex; flex-direction: column; overflow: hidden;
}
.game-modal:not([open]) { display: none; }
.game-modal::backdrop { background: rgba(0,0,0,.9); }
.gm-bar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px; min-height: 52px;
  background: linear-gradient(180deg, #0d1118, #0a0d14);
  border-bottom: 1px solid var(--line, rgba(255,255,255,.08));
}
.gm-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); color: #eef1f7;
  border: 1px solid var(--line, rgba(255,255,255,.1));
  border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.gm-back:hover { background: rgba(255,255,255,.12); }
.gm-back .ic { width: 16px; height: 16px; }
.gm-title {
  flex: 1 1 auto; text-align: center; font-weight: 700; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gm-bal {
  flex: 0 0 auto; font-weight: 800; font-size: 14px; color: #F4D97E;
  background: rgba(233,185,59,.12); border: 1px solid rgba(233,185,59,.3);
  border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.gm-pop { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #9fd0ff; text-decoration: underline; cursor: pointer; }
.gm-stage { position: relative; flex: 1 1 auto; background: #05070c; }
.gm-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gm-spin {
  position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15); border-top-color: #E9B93B; animation: gmspin .8s linear infinite;
}
@keyframes gmspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gm-spin { animation: none; } }
