
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,600;1,700;1,800&family=Inter:wght@800;900&display=swap');

:root {
  --background:        #0a1228;
  --foreground:        #e6ebf5;
  --card:              #131d33;
  --card-foreground:   #e6ebf5;
  --primary:           #3B82F6;
  --primary-foreground: #FFFFFF;
  --primary-dark:      #2563EB;
  --secondary:         #131d33;
  --modal-bg:          #131d33;
  --secondary-foreground: #e6ebf5;
  --muted:             #131d33;
  --muted-foreground:  #8a93a8;
  --accent:            #131d33;
  --accent-foreground: #3B82F6;
  --destructive:       #ff1648;
  --border:            #1b2540;
  --input:             #1b2540;
  --ring:              #3B82F6;
  /* TAZZOBET — barra superior + CTA (configuraveis no admin: bet_cor_topbar / bet_cor_cta) */
  --topbar:            #0606AD;
  --topbar-foreground: #ffffff;
  --cta:               #ff6a1a;
  --cta-dark:          #e05d17;
  --sidebar-bg:        #0a1228;
  --sidebar-foreground: #e6ebf5;
  --sidebar-primary:   #3B82F6;
  --sidebar-accent:    #16213c;
  --sidebar-border:    #141d33;
  --font-sans:         "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --radius:            0.5rem;
  --radius-sm:         6px;
  --radius-md:         9px;
  --radius-lg:         12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* overflow-x no HTML (scroller do viewport), NAO no body — no body ele torna o
   body um container de scroll e faz a barra inferior fixed "descer" no mobile. */
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================
   LAYOUT PRINCIPAL — CSS GRID
   ============================================ */
.page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "sidebar main";
  min-height: 100vh;
}

/* ============================================
   HEADER / TOP BAR (64px)
   ============================================ */
/* ===== BARRA DE ANUNCIO (topo do site) ===== */
.anuncio-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  position: relative; width: 100%; padding: 9px 44px;
  font-size: 13px; font-weight: 600; text-align: center; line-height: 1.35;
  z-index: 101;
}
.anuncio-bar-msg { text-decoration: none; color: inherit; }
.anuncio-bar-msg:hover { text-decoration: underline; }
.anuncio-bar-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 20px; line-height: 1;
  cursor: pointer; opacity: 0.7; padding: 0 4px; color: inherit;
}
.anuncio-bar-close:hover { opacity: 1; }
@media (max-width: 600px) { .anuncio-bar { font-size: 12px; padding: 8px 38px; } }

.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background-color: var(--topbar);
  color: var(--topbar-foreground);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 16px;
  gap: 12px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.06); }

.logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ===== TAZZOBET — Wordmark (logo texto limpo) ===== */
.brand-word { font-size: 21px; font-weight: 900; font-style: italic; letter-spacing: 0.5px; color: #fff; text-decoration: none; display: inline-flex; align-items: center; line-height: 1; white-space: nowrap; }
.brand-word b { color: var(--cta); font-weight: 900; }
.brand-word-lg { font-size: 30px; display: flex; }
.betuxo-promo-word { font-size: 22px; margin-bottom: 12px; }

/* Toggle Cassino / Esporte no CABECALHO (ao lado da logo) */
.header-toggle { display: flex; gap: 5px; margin-left: 20px; background: rgba(255,255,255,0.10); border-radius: 12px; padding: 4px; }
.hdr-toggle-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 9px; color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.hdr-toggle-btn.active { background: var(--cta); color: #fff; }
.hdr-toggle-btn:hover:not(.active) { color: #fff; }
.hdr-toggle-btn .tz-ico { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 860px) { .header-toggle { display: none; } }

/* Nav Tabs (Cassino / Esportes) — pill toggle */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-left: 8px;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
}
.nav-tab i { font-size: 12px; }

.nav-tab.active {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.nav-tab:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

/* Search bar in header */
.header-search {
  flex: 1;
  max-width: 340px;
  position: relative;
}
.header-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  font-size: 13px;
  pointer-events: none;
}
.header-search input {
  width: 100%;
  height: 40px;
  background-color: rgba(15, 17, 23, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 16px 0 40px;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.header-search input::placeholder { color: var(--muted-foreground); }
.header-search input:focus { border-color: var(--ring); }

/* Auth buttons */
.buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.button {
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
}

.btn-entrar {
  height: 40px;
  padding: 8px 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
}
.btn-entrar:hover { background-color: rgba(255, 255, 255, 0.14); }

.btn-cadastrar {
  height: 40px;
  padding: 8px 24px;
  background-color: var(--cta);
  border: none;
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-cadastrar:hover { background-color: var(--cta-dark); }
.btn-cadastrar:active { transform: scale(0.97); }

/* ============================================
   SIDEBAR (220px)
   ============================================ */
.left-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  padding: 0 0 16px;
  width: 220px;
  flex-shrink: 0;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.left-sidebar::-webkit-scrollbar { width: 4px; }
.left-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ===== TAZZOBET — Sidebar colapsavel em icones (desktop >= 901px) ===== */
.left-sidebar { transition: width 0.2s ease; }
@media (min-width: 901px) {
  .hamburger-btn { display: inline-flex; align-items: center; justify-content: center; }
  .page-layout.sb-collapsed { grid-template-columns: 76px 1fr; }
  .sb-collapsed .left-sidebar { width: 76px; }
  .sb-collapsed .left-sidebar .sb-banners,
  .sb-collapsed .left-sidebar .sb-toggle,
  .sb-collapsed .left-sidebar .sb-clube-card,
  .sb-collapsed .left-sidebar .sb-chips,
  .sb-collapsed .left-sidebar .sb-social,
  .sb-collapsed .left-sidebar .sb-section-label,
  .sb-collapsed .left-sidebar .sb-nav-popular { display: none; }
  .sb-collapsed .left-sidebar .sb-nav li a { justify-content: center; padding: 12px 0; gap: 0; font-size: 0; }
  .sb-collapsed .left-sidebar .sb-nav li a i { font-size: 19px; opacity: 0.9; }
}

/* Sidebar top — logo area (matches header height) */
.sidebar-logo {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo img {
  height: 28px;
  width: auto;
}

/* ============================================
   SIDEBAR — Banners, Atalhos, Populares, Suporte
   ============================================ */

/* Banner section */
.sb-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 8px;
}
.sb-banner {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}
.sb-banner:hover { filter: brightness(1.12); transform: scale(1.02); }
.sb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.sb-banner-hero {
  width: 100%;
}
.sb-banner-duo {
  width: calc(50% - 3px);
}
.sb-banner-full {
  width: 100%;
}
.sb-banner-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 10px;
  min-height: 50px;
}

/* Section labels */
.sb-section-label {
  padding: 12px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666d80;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* Navigation list */
.sb-nav {
  list-style: none;
  padding: 0 8px;
  margin: 0;
}
.sb-nav li { margin-bottom: 4px; }
.sb-nav li a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
/* Degradê (glow azul do canto) — padrao ApostaTudo, mais forte */
.sb-nav li a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -30% 100%, #2020e6 0, rgba(6,6,173,0.65) 26%, rgba(6,6,173,0) 72%);
  pointer-events: none;
  opacity: 1;
}
.sb-nav li a > * { position: relative; z-index: 1; }
.sb-nav li a:hover {
  background-color: rgba(255,255,255,0.11);
  color: #fff;
}
.sb-nav li a:hover::before { filter: brightness(1.15); }
.sb-nav li a i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
  font-size: 15px;
  text-align: center;
  line-height: 18px;
}
.sb-nav li a:hover i { opacity: 1; }

/* Populares — game thumbnails */
.sb-pop-thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== TAZZOBET — Sidebar limpa (toggle Cassino/Esporte + card Clube) ===== */
.sb-toggle { display: flex; gap: 6px; padding: 12px 10px 6px; }
.sb-toggle-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border-radius: 10px; background: var(--secondary); color: var(--muted-foreground); font-size: 12px; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s; }
.sb-toggle-btn.active { background: var(--cta); color: #fff; }
.sb-toggle-btn:hover:not(.active) { background: var(--sidebar-accent); color: #fff; }
.sb-clube-card { display: block; margin: 6px 10px 8px; border-radius: 12px; overflow: hidden; position: relative; background: linear-gradient(150deg, var(--topbar), var(--primary)); transition: transform 0.15s, filter 0.2s; }
.sb-clube-card:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sb-clube-card img { width: 100%; height: auto; display: block; }
/* Card do Clube com a logo 3D (fundo azul TRANSLUCIDO, nao solido) */
.sb-clube-card.sb-clube-logo { display: flex; align-items: center; justify-content: center; overflow: visible; background: linear-gradient(165deg, rgba(30,66,180,0.30) 0%, rgba(12,26,72,0.34) 100%); border: 1px solid rgba(90,130,255,0.18); padding: 14px 12px; }
.sb-clube-card.sb-clube-logo img { width: auto; height: auto; max-width: 100%; max-height: 96px; display: block; filter: drop-shadow(0 5px 12px rgba(0,0,0,0.55)); }
.sb-clube-fallback-txt { display: none; }
.sb-clube-card.sb-clube-fallback { padding: 16px 14px; }
.sb-clube-card.sb-clube-fallback .sb-clube-fallback-txt { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 14px; }
.sb-clube-btn { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: rgba(10,14,26,0.78); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 13px; border-radius: 20px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.sb-clube-card:hover .sb-clube-btn { background: var(--primary); }
.sb-clube-card.sb-clube-fallback .sb-clube-btn { display: none; }

/* Chips rapidos (Cashback / Cupom / Torneio) */
.sb-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 10px 4px; }
.sb-chip { display: flex; flex-direction: column; align-items: center; gap: 5px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 9px 6px; min-height: 92px; overflow: hidden; text-decoration: none; transition: border-color 0.2s, transform 0.15s, background 0.2s; }
.sb-chip:hover { border-color: rgba(90,130,255,0.45); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.sb-chip-lbl { font-size: 11px; font-weight: 700; color: var(--foreground); order: -1; line-height: 1; flex-shrink: 0; }
.sb-chip-ico { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.sb-chip-ico img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.45)); }

/* Banners fixos da sidebar (Cashback / Torneios) */
.sb-fixed-banners { display: flex; flex-direction: column; gap: 10px; padding: 6px 10px 4px; }
.sb-fixed-banner { display: block; border-radius: 12px; overflow: hidden; line-height: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.35); transition: transform 0.15s, box-shadow 0.2s; }
.sb-fixed-banner:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.sb-fixed-banner img { width: 100%; height: auto; display: block; }

/* Siga-nos */
.sb-social { display: flex; align-items: center; gap: 9px; padding: 14px 16px 8px; border-top: 1px solid var(--border); margin-top: 10px; flex-wrap: wrap; }
.sb-social-label { font-size: 12px; font-weight: 700; color: var(--muted-foreground); width: 100%; margin-bottom: 2px; }
.sb-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--secondary); display: flex; align-items: center; justify-content: center; color: var(--foreground); font-size: 14px; transition: background 0.2s, color 0.2s; text-decoration: none; }
.sb-social a:hover { background: var(--primary); color: #fff; }

/* Faixa de provedores cinza: removida (limpeza padrao ApostaTudo) */
.providers-strip { display: none !important; }
/* Removidos a pedido: ticker TOP 24H e Resultados ao Vivo */
.top24h-section, .aovivo-resultados { display: none !important; }

/* Legacy compat */
.sidebar-menu { display: flex; flex-direction: column; gap: 6px; padding: 12px 8px; }
.sidebar-item { display: block; border-radius: var(--radius); overflow: hidden; transition: opacity 0.2s; cursor: pointer; text-decoration: none; }
.sidebar-item:hover { opacity: 0.85; }
.sidebar-item img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.sidebar-section-label { padding: 8px 16px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.sidebar-nav { list-style: none; padding: 0 8px; }
.sidebar-nav li a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: var(--radius); color: var(--sidebar-foreground); font-size: 14px; font-weight: 500; font-family: var(--font-sans); background: transparent; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s; }
.sidebar-nav li a:hover { background-color: var(--sidebar-accent); color: var(--sidebar-primary); }
.sidebar-nav li a i { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.7; font-size: 14px; text-align: center; line-height: 20px; }
.sidebar-nav li a:hover i { opacity: 1; color: var(--sidebar-primary); }

/* Sidebar divider */
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 16px;
}

/* Sidebar language */
.sidebar-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
  border-top: 1px solid var(--border);
  cursor: pointer;
  margin-top: auto;
  transition: background 0.2s;
}
.sidebar-lang:hover { background: rgba(255,255,255,0.03); }

/* Sidebar promo (legacy) */
.sidebar-promo { margin-top: 8px; padding: 0 8px; }
.promo-header { display: flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: 10px; font-weight: 700; padding: 8px 12px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; }
.promo-chevron { margin-left: auto; font-size: 10px; transition: transform 0.3s; }
.promo-list { list-style: none; padding: 4px 0; }
.promo-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--foreground); font-size: 13px; cursor: pointer; border-radius: var(--radius); transition: all 0.15s; }
.promo-list li:hover { background: var(--sidebar-accent); color: var(--sidebar-primary); }
.promo-ico { font-size: 15px; width: 22px; text-align: center; flex-shrink: 0; }
.pi-tournament { color: #f5c542; } .pi-jackpot { color: #fb923c; }
.pi-convite { color: #34d399; } .pi-vip { color: #7BED00; }
.pi-afiliado { color: #f87171; } .pi-giro { color: #60a5fa; }
.pi-baixar { color: #4ade80; } .pi-cashback { color: #fbbf24; }

.baixar-app { margin-top: 12px; padding: 4px 4px; }
.baixar-btn {
  width: 100%; padding: 10px 12px; background: var(--secondary);
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--foreground);
  font-size: 12px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.baixar-btn:hover { border-color: var(--primary); background: rgba(0,186,44,0.08); }
.baixar-btn i { color: #34d399; }
.badge-red { margin-left: auto; background: var(--destructive); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: 10px; }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  grid-area: main;
  overflow-x: hidden;
  min-width: 0;
}

/* ============================================
   BONUS BAR
   ============================================ */
.bonus-cadastro {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================
   QUICK NAV — Category icons (circular)
   ============================================ */
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: color 0.2s;
  min-width: 60px;
  text-align: center;
}
.cat-tab:hover { color: var(--foreground); }
.cat-tab.active { color: var(--primary); }

.cat-icon-circle {
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, filter 0.2s;
}
.cat-tab:hover .cat-icon-circle {
  transform: translateY(-3px) scale(1.05);
}
.cat-tab.active .cat-icon-circle {
  transform: translateY(-1px);
}

.cat-icon-circle .cat-emoji {
  font-size: 24px;
  line-height: 1;
}

.cat-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.38));
}

/* ===== TAZZOBET — icones SVG (categorias + sidebar), nitidos e tematicos ===== */
.cat-icon-circle .cat-svg {
  width: min(56px, 100%); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--secondary, #16203a), var(--card, #10182b));
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.cat-icon-circle .cat-svg .tz-ico { width: 27px; height: 27px; }
.cat-tab:hover .cat-svg { color: #fff; border-color: var(--primary); background: linear-gradient(160deg, var(--primary), var(--primary-dark, #007FE0)); }
.cat-tab.active .cat-svg { color: #fff; border-color: var(--primary); }

/* SVGs na sidebar — solidos brancos (padrao ApostaTudo) */
.sb-nav li a .tz-ico { width: 18px; height: 18px; flex-shrink: 0; color: #fff; opacity: 0.95; transition: opacity 0.15s; }
.sb-nav li a:hover .tz-ico { opacity: 1; }
.sb-toggle-btn .tz-ico { flex-shrink: 0; }
.sb-collapsed .left-sidebar .sb-nav li a .tz-ico { width: 20px; height: 20px; opacity: 1; }

/* Legacy compat */
.cat-search { display: none; }

/* ============================================
   BANNER / CAROUSEL (Betuxo-style Embla)
   ============================================ */
.banner-grid { position: relative; width: 100%; background: var(--background); padding: 12px 0; }
.carousel { position: relative; width: 100%; }
.carousel-viewport { overflow: hidden; width: 100%; }
.carousel-container { display: flex; gap: 0px; will-change: transform; transition: none; align-items: center; }
.carousel-slide { flex: 0 0 70%; min-width: 0; position: relative; cursor: pointer; border-radius: 16px; overflow: hidden; transition: opacity 0.5s ease-out, mask-image 0.5s ease-out, -webkit-mask-image 0.5s ease-out; opacity: 0.5; z-index: 0; }
.carousel-slide.prev { z-index: 10; opacity: 0.5; -webkit-mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.98) 68%, rgba(0,0,0,0.72) 86%, transparent 100%); mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.98) 68%, rgba(0,0,0,0.72) 86%, transparent 100%); }
.carousel-slide.next { z-index: 10; opacity: 0.5; -webkit-mask-image: linear-gradient(to left, black 0%, rgba(0,0,0,0.98) 68%, rgba(0,0,0,0.72) 86%, transparent 100%); mask-image: linear-gradient(to left, black 0%, rgba(0,0,0,0.98) 68%, rgba(0,0,0,0.72) 86%, transparent 100%); }
.carousel-slide.active { opacity: 1; z-index: 20; -webkit-mask-image: none; mask-image: none; }
.carousel-slide img { width: 100%; height: auto; aspect-ratio: 2.25 / 1; max-height: 380px; object-fit: cover; object-position: center center; display: block; background: transparent; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 32px; height: 32px; border-radius: 8px; border: none; background: rgba(0,0,0,0.5); color: #fff; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; backdrop-filter: blur(4px); }
.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-prev { left: 16%; }
.carousel-next { right: 16%; }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; transition: background 0.2s, width 0.2s, border-radius 0.2s; }
.carousel-dots .dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* Carousel nav buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(8, 12, 17, 0.7);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-size: 14px;
}
.slider-btn:hover {
  background: rgba(0, 186, 44, 0.15);
  border-color: var(--primary);
}
.slider-btn--prev { left: 12px; }
.slider-btn--next { right: 12px; }

/* ============================================
   PROVIDERS STRIP
   ============================================ */
.providers-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.providers-strip::-webkit-scrollbar { display: none; }

.provider-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 120px;
  height: 36px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.provider-chip:hover {
  border-color: var(--primary);
  background: rgba(0, 186, 44, 0.05);
}
.provider-chip img {
  max-height: 24px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.provider-chip:hover img { opacity: 1; }

/* ============================================
   SEARCH BAR
   ============================================ */
.busca-container {
  padding: 12px 16px 0;
  background: var(--background);
}
.busca-form { position: relative; }
.busca-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
}
.busca-input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 42px;
  background: #ffffff;
  border: 1px solid rgba(130,142,165,0.45);
  border-radius: 10px;
  color: #0a0e1a;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
  font-family: var(--font-sans);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.10), inset 0 -1px 0 rgba(255,255,255,0.4), 0 1px 2px rgba(0,0,0,0.18);
}
.busca-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), inset 0 1px 2px rgba(0,0,0,0.08); }
.busca-input::placeholder { color: #6b7280; }
.busca-resultado { max-width: 600px; margin: 0 auto; text-align: left; }

/* ===== CENTRALIZED CONTENT ===== */
.banner-grid, .category-tabs, .busca-container, .providers-strip, .aovivo-resultados, .game-section, .top24h-section {
  max-width: 1180px !important; margin-left: auto !important; margin-right: auto !important;
}

/* ============================================
   GAME SECTIONS (same as dashboard)
   ============================================ */
.game-section { padding: 0 16px; margin: 0 auto; max-width: 1180px; }
.game-section + .game-section { margin-top: 4px; }
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; }
.section-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.section-badge { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; color: #fff; font-weight: 800; line-height: 1; }
.section-badge .tz-ico { width: 18px; height: 18px; color: #fff; }
.section-title h3 { font-size: 18px; font-weight: 700; color: #F9FAFB; margin: 0; white-space: nowrap; }
.section-arrows { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.arrow-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; text-decoration: none; }
.arrow-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff; }

.games-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; scroll-behavior: smooth; }
.games-row::-webkit-scrollbar { display: none; }

.game-card { flex-shrink: 0; width: 140px; background: transparent; cursor: pointer; transition: transform 0.2s; }
.game-card:hover { transform: translateY(-4px); }
.game-card-img { position: relative; width: 100%; aspect-ratio: 136/187; overflow: hidden; border-radius: 16px; background: var(--secondary); }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }
/* Brilho (glare) que passa nos cards — estilo ApostaTudo */
.game-card-img::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.14) 45%,rgba(255,255,255,.5) 50%,rgba(255,255,255,.14) 55%,transparent 65%);transform:translateX(-160%);animation:tzShine 5.5s ease-in-out infinite}
@keyframes tzShine{0%,72%{transform:translateX(-160%)}88%,100%{transform:translateX(160%)}}
.game-card:nth-child(3n+2) .game-card-img::after{animation-delay:1.6s}
.game-card:nth-child(3n) .game-card-img::after{animation-delay:3.2s}
@media(prefers-reduced-motion:reduce){.game-card-img::after{animation:none;opacity:0}}
.game-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); border-radius: 16px; opacity: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-overlay .jogar-btn { background: var(--primary); border: none; color: #fff; padding: 10px 22px; border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font-sans); display: flex; align-items: center; gap: 6px; }
.game-card-info { padding: 6px 2px 0; }
.game-card-name { display: block; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.game-card-provider { display: block; font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 1px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== TAZZOBET — fileira NOVOS numerada (padrao ApostaTudo) ===== */
.novos-row { display: flex; align-items: center; gap: 0; padding-top: 8px; }
.novos-item { position: relative; flex-shrink: 0; padding-left: 44px; }
.novos-rank {
  position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
  z-index: 0; pointer-events: none; user-select: none;
  overflow: visible; text-align: left;
  font-size: 140px; font-weight: 800; line-height: 0.72;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #ffffff;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.17) 50%, rgba(0,0,0,0.05) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.17) 50%, rgba(0,0,0,0.05) 100%);
  font-family: var(--font-sans);
}
/* Ajuste individual do numero 4 (puxa um pouco mais pra fora) */
.novos-item:nth-child(4) .novos-rank { left: -12px; }
.novos-card { width: 150px; position: relative; z-index: 10; }
.novos-card .game-card-img { width: 150px; height: 200px; aspect-ratio: auto; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.45); }
.novos-card .game-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.novos-card .game-card-img::before { display: none; }
.novos-card .game-card-img::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.18); border-radius: 12px; pointer-events: none; z-index: 1; }
.novos-card { transition: transform 0.3s ease; }
.novos-card:hover { transform: scale(1.02); z-index: 20; }
.novos-card .game-card-overlay { opacity: 1; background: transparent; align-items: flex-end; justify-content: center; padding-bottom: 14px; z-index: 3; }
.novos-jogar-btn { width: 120px; max-width: 88%; height: 36px; background: #009CFF; border-radius: 12px; font-size: 12px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; border: none; cursor: pointer; opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.4); white-space: nowrap; }
.novos-card:hover .novos-jogar-btn { opacity: 1; transform: translateY(0); }
.novos-jogar-btn i { font-size: 10px; }

/* ===== TAZZOBET — Cards de Torneio (reais) ===== */
.torneios-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.torneios-row::-webkit-scrollbar { display: none; }
.torneio-card { flex-shrink: 0; width: 355px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.torneio-banner { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: linear-gradient(135deg, var(--topbar), var(--primary)); display: flex; align-items: center; justify-content: center; }
.torneio-banner img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.torneio-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 6px; }
.torneio-badge { color: #fff; font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.torneio-badge.andamento { background: #16a34a; }
.torneio-badge.participando { background: var(--primary); }
.torneio-players { position: absolute; bottom: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 5px; background: rgba(6,8,20,0.72); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.torneio-players i { color: var(--primary); font-size: 10px; }
.torneio-banner-nome { display: none; color: #fff; font-weight: 900; font-size: 18px; text-align: center; padding: 0 14px; z-index: 1; }
.torneio-banner-nome i { color: #ffd45e; margin-right: 6px; }
.torneio-banner.sem-img .torneio-banner-nome { display: block; }
.torneio-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 11px; }
.torneio-nome { color: #fff; font-size: 15px; font-weight: 800; margin: 0; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.torneio-nome i { color: #ffd45e; }
.torneio-podio { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.torneio-pos { font-size: 12px; color: var(--foreground); font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.torneio-pos b { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; color: #1a1205; font-size: 10px; font-weight: 900; }
.torneio-pos:nth-child(1) b { background: linear-gradient(135deg, #ffdf6b, #f5b301); }
.torneio-pos:nth-child(2) b { background: linear-gradient(135deg, #e6ebf3, #b7c0cf); }
.torneio-pos:nth-child(3) b { background: linear-gradient(135deg, #e8a86a, #c67c3f); color: #fff; }
.torneio-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 3px; }
.torneio-total { display: flex; flex-direction: column; }
.torneio-total-label { font-size: 10px; color: var(--muted-foreground); font-weight: 700; letter-spacing: 0.05em; }
.torneio-total-valor { font-size: 18px; font-weight: 900; color: #fff; white-space: nowrap; }
.torneio-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.torneio-btn:hover { background: var(--primary-dark); }
@media (max-width: 600px) { .torneio-card { width: 300px; } }
.novos-jogar {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 9px; width: 100%;
  background: var(--primary); color: #fff;
  padding: 10px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.1s;
  box-shadow: none;
}
.novos-jogar:hover { background: var(--primary-dark); }
.novos-jogar:active { transform: scale(0.97); }
.novos-jogar i { font-size: 11px; }

.jogar-btn {
  padding: 8px 20px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* Top 24H ticker */
.top24h-section { display: flex; align-items: center; gap: 0; background: var(--secondary); border-radius: 12px; margin: 12px auto; max-width: 1180px; height: 80px; position: relative; overflow: hidden; }
.top24h-icon { width: 56px; min-width: 56px; height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; font-size: 22px; border-radius: 12px 0 0 12px; z-index: 2; flex-shrink: 0; }
.top24h-track { flex: 1; overflow: hidden; position: relative; }
.top24h-scroll { display: flex; gap: 6px; animation: top24hScroll 30s linear infinite; width: max-content; }
.top24h-scroll:hover { animation-play-state: paused; }
@keyframes top24hScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.top24h-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--card, #0d1628); border-radius: 10px; min-width: 200px; flex-shrink: 0; border: 1px solid var(--border); }
.top24h-img { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.top24h-img img { width: 100%; height: 100%; object-fit: cover; }
.top24h-info { display: flex; flex-direction: column; gap: 2px; }
.top24h-valor { font-size: 14px; font-weight: 800; color: #4ade80; }
.top24h-user { font-size: 11px; color: var(--muted-foreground); }
.top24h-game { font-size: 10px; color: var(--muted-foreground); text-transform: uppercase; white-space: nowrap; }
.top24h-badge { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg, #7BED00, #00BA2C); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px; white-space: nowrap; }

/* Resultados ao Vivo */
.aovivo-resultados { padding: 16px; max-width: 1180px; margin: 0 auto; }
.aovivo-titulo { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--foreground); margin-bottom: 12px; }

.online-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; display: inline-block; flex-shrink: 0; }
.online-dot-red { width: 6px; height: 6px; border-radius: 50%; background: var(--destructive); animation: pulse 1.5s ease-in-out infinite; display: inline-block; flex-shrink: 0; }

/* ============================================
   LIVE FEED (Winners/Bets)
   ============================================ */
.ganhos-container {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--background);
}
.ganhos-container::-webkit-scrollbar { display: none; }

.ganhos-fixo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ganhos-slider { display: flex; overflow: hidden; flex: 1; }
.ganhos-rolando { display: flex; gap: 8px; animation: scrollGanhos 30s linear infinite; white-space: nowrap; }
@keyframes scrollGanhos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  min-width: 180px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--primary); }
.card img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.card .nome { font-size: 11px; color: var(--muted-foreground); max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .valor { font-size: 13px; font-weight: 700; color: var(--primary); }

/* Ver mais button */
.btn-ver-mais {
  display: block;
  width: auto;
  margin: 16px auto;
  padding: 10px 32px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.btn-ver-mais:hover {
  border-color: var(--primary);
  background: rgba(0, 186, 44, 0.08);
  color: var(--primary);
}

/* ============================================
   LIVE RESULTS
   ============================================ */
.aovivo-resultados {
  background: var(--card);
  margin: 16px auto;
  max-width: 1180px;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}
.aovivo-titulo {
  font-size: 14px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aovivo-titulo::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--destructive);
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.aovivo-entry { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.aovivo-entry:last-child { border-bottom: none; }
.aovivo-entry img { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: cover; }
.aovivo-info { flex: 1; }
.aovivo-info .nome { font-size: 13px; color: var(--foreground); font-weight: 500; }
.aovivo-info .aposta { font-size: 11px; color: var(--muted-foreground); }
.aovivo-amount { font-size: 14px; font-weight: 700; color: var(--primary); }

/* ============================================
   MODALS
   ============================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 999;
  display: none;
}
.overlay.active, .overlay.show { display: block; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--modal-bg, var(--secondary));
  border-radius: var(--radius-lg);
  padding: 32px;
  z-index: 1000;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  display: none;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}
.modal.active, .modal.show { display: block; }
.modal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.02em;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 18px;
  cursor: pointer;
}
.close-modal:hover { color: var(--foreground); }

.form-row { margin-bottom: 14px; }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon i { position: absolute; left: 14px; color: var(--primary); font-size: 14px; pointer-events: none; }
.input-icon input,
.modal input[type="text"],
.modal input[type="password"],
.modal input[type="email"],
.modal textarea {
  width: 100%;
  padding: 14px 16px 14px 40px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-sans);
}
.modal input:focus, .modal textarea:focus { border-color: var(--ring); }
.modal input::placeholder, .modal textarea::placeholder { color: var(--muted-foreground); }
/* Autofill do navegador: mantem o fundo escuro (sem branco estourado) */
.modal input:-webkit-autofill,
.modal input:-webkit-autofill:hover,
.modal input:-webkit-autofill:focus,
.modal input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--background) inset !important;
  -webkit-text-fill-color: var(--foreground) !important;
  caret-color: var(--foreground);
  border: 1px solid var(--border) !important;
  transition: background-color 9999s ease-in-out 0s;
}

.modal button[type="submit"],
.modal input[type="submit"],
.modal .submit-button {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.1s;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}
.modal button[type="submit"]:hover,
.modal input[type="submit"]:hover,
.modal .submit-button:hover {
  background: var(--primary-dark);
}
.modal button[type="submit"]:active,
.modal input[type="submit"]:active,
.modal .submit-button:active {
  transform: scale(0.98);
}

.modal a { color: var(--primary); text-decoration: none; }
.modal a:hover { color: var(--foreground); }
.modal .termos { font-size: 12px; color: var(--muted-foreground); margin-top: 12px; line-height: 1.5; }
.modal .create-account, .modal .log-in { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted-foreground); }
.modal .create-account a, .modal .log-in a { color: var(--primary); font-weight: 700; cursor: pointer; }
.modal .recover-password { text-align: right; margin: -4px 0 12px; font-size: 13px; }
.modal .recover-password a { color: var(--primary); cursor: pointer; }

/* Alert messages */
.alertasim { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10b981; padding: 12px; border-radius: var(--radius); margin-bottom: 12px; font-size: 13px; }
.alertanao { background: rgba(255,22,72,0.1); border: 1px solid rgba(255,22,72,0.25); color: var(--destructive); padding: 12px; border-radius: var(--radius); margin-bottom: 12px; font-size: 13px; }

/* ============================================
   AGE GATE
   ============================================ */
body.age-locked { overflow: hidden; }
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}
.age-gate-box {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}
.age-gate-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.age-gate-title {
  color: var(--foreground);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.25;
}
.age-gate-text {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.6;
  margin: 22px 0 0;
}
.age-gate-actions { display: flex; gap: 12px; }
.age-btn {
  flex: 1;
  padding: 15px 10px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, transform 0.1s;
}
.age-btn:active { transform: scale(0.98); }
.age-no { background: var(--background); border: 1px solid var(--border); color: var(--muted-foreground); }
.age-no:hover { border-color: var(--primary); color: var(--foreground); }
.age-yes { background: var(--primary); color: var(--primary-foreground); }
.age-yes:hover { background: var(--primary-dark); }

/* ============================================
   MODAL BETUXO STYLE (Login / Cadastro)
   ============================================ */
.modal-betuxo {
  max-width: 460px !important;
  padding: 0 !important;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Scrollbar discreta no modal */
.modal-betuxo::-webkit-scrollbar { width: 0; height: 0; }
.betuxo-modal-card {
  background: #0d1017;
  background: linear-gradient(160deg, #0d1017 0%, #0d1017 100%);
  border: 1px solid #0096FF33;
  border-radius: 20px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 60px #0096FF1f, inset 0 1px 0 #0096FF26;
  overflow: hidden;
}

/* ---- Banner (FOTO) no topo do modal ---- */
.betuxo-modal-banner {
  margin: -28px -28px 20px;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  position: relative;
}
.betuxo-modal-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.betuxo-banner-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(150deg, #0096FF 0%, #0096FF 55%, #05070b 100%);
}
.betuxo-banner-logo { max-width: 165px; max-height: 60px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45)); }
.betuxo-banner-txt { font-size: 20px; font-weight: 900; font-style: italic; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.modal-betuxo .close-modal {
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  z-index: 5;
  transition: background 0.2s, color 0.2s;
}
.modal-betuxo .close-modal:hover { color: #fff; background: rgba(0,0,0,0.6); }
/* Mobile: X fixo no canto (sempre visivel enquanto rola) + card compacto */
@media (max-width: 600px) {
  .modal-betuxo { max-height: 94vh; }
  .modal-betuxo .close-modal {
    position: fixed;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 19px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    z-index: 100001;
  }
  .betuxo-modal-card { padding: 22px 18px 20px; }
  .betuxo-modal-banner { margin: -22px -18px 16px; }
}

.betuxo-modal-title {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  text-align: center;
  margin: 0 0 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.betuxo-modal-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin: 0 0 16px;
  font-weight: 400;
}

.modal-betuxo .form-row { margin-bottom: 10px; }
.modal-betuxo .input-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.modal-betuxo .input-icon i {
  position: absolute;
  left: 16px;
  color: rgba(255,255,255,0.35);
  font-size: 15px;
  pointer-events: none;
}
.modal-betuxo .input-icon input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.modal-betuxo .input-icon input:focus {
  border-color: var(--primary);
}
.modal-betuxo .input-icon input::placeholder {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

/* Bloco de codigo de referencia do afiliado no cadastro */
.ref-indicacao {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px; padding: 10px 14px;
  background: rgba(0,150,255,0.10);
  border: 1px solid rgba(0,150,255,0.35);
  border-radius: 10px;
  color: var(--foreground); font-size: 13px; font-weight: 600;
}
.ref-indicacao i { color: var(--primary); font-size: 14px; }
.ref-indicacao strong { color: var(--primary); font-weight: 800; letter-spacing: 0.03em; }

.toggle-pw {
  position: absolute;
  right: 14px;
  left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 15px;
  padding: 4px;
  pointer-events: auto;
}
.toggle-pw i {
  position: static !important;
  color: rgba(255,255,255,0.3) !important;
  pointer-events: none;
}
.toggle-pw:hover { color: rgba(255,255,255,0.6); }

.modal-betuxo .recover-password {
  text-align: right;
  margin: -6px 0 16px;
  font-size: 13px;
}
.modal-betuxo .recover-password a {
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  text-decoration: none;
}
.modal-betuxo .recover-password a:hover { color: var(--primary); }

.betuxo-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(180deg, #007FE0 0%, #0096FF 50%, #0096FFcc 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  font-family: var(--font-sans) !important;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 0.2s, transform 0.1s !important;
  margin-top: 2px;
  box-shadow: 0 4px 20px #0096FF59;
}
.betuxo-btn:hover {
  filter: brightness(1.15);
}
.betuxo-btn:active { transform: scale(0.98); }

/* ===== TAZZOBET — Modal split (painel promo + formulario), padrao ApostaTudo ===== */
.modal-betuxo { max-width: 760px !important; }
.betuxo-modal-card { padding: 0 !important; }
.betuxo-modal-split { display: flex; align-items: stretch; width: 100%; }
.betuxo-modal-side {
  flex: 0 0 290px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--topbar) 0%, var(--primary) 100%);
  padding: 30px 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.betuxo-side-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.betuxo-side-mob { display: none; } /* imagem mobile so no celular */
.betuxo-modal-body { flex: 1 1 auto; min-width: 0; padding: 34px 30px 24px; }
.betuxo-promo { position: relative; z-index: 1; }
.betuxo-promo-logo { max-height: 42px; width: auto; margin-bottom: 12px; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.4)); }
.betuxo-promo-title { color: #fff; font-size: 22px; font-weight: 900; line-height: 1.12; margin: 0 0 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.betuxo-promo-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 12px; }
.betuxo-promo-list li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 600; }
.betuxo-promo-list li i { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,0.20); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.betuxo-promo-foot { color: rgba(255,255,255,0.85); font-size: 11px; font-weight: 600; }

/* ===== TAZZOBET — Modal Clube de Fidelidade (padrao ApostaTudo) ===== */
#modalClube { padding: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; max-width: 1000px !important; width: 96% !important; overflow: visible; }
.clube-modal-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; max-height: 88vh; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.7); }
#modalClube .close-modal { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,0.35); color: #fff; font-size: 16px; z-index: 6; cursor: pointer; }
#modalClube .close-modal:hover { background: rgba(0,0,0,0.6); }
/* HERO */
.clube-hero { position: relative; text-align: center; padding: 22px 20px 18px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(160deg, var(--topbar) 0%, var(--primary) 100%); }
.clube-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.clube-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,8,20,0.15), rgba(6,8,20,0.55)); z-index: 0; }
.clube-hero-cap { position: relative; z-index: 1; }
.clube-hero-sub { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.92); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.clube-hero-sub i { color: #ffd45e; }
.clube-hero-title { color: #fff; font-size: 25px; font-weight: 900; margin: 4px 0 0; letter-spacing: 0.02em; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.clube-hero.has-logo { padding: 16px 20px 14px; min-height: 120px; }
.clube-hero-logo { display: block; width: auto; height: auto; max-width: 76%; max-height: 104px; margin: 4px auto 0; position: relative; z-index: 1; filter: drop-shadow(0 5px 14px rgba(0,0,0,0.5)); }
/* Banner customizado (admin subiu imagem) — preenche o topo inteiro */
.clube-hero.has-banner { min-height: 0; aspect-ratio: 10 / 3; padding: 0; }
.clube-hero.has-banner::after { content: ''; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(10,18,40,0) 0%, rgba(10,18,40,0.65) 100%); z-index: 1; }
.clube-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; display: block; }

/* NIVEL */
.clube-level { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "l c r" "bar bar bar"; gap: 12px 14px; align-items: center; padding: 14px 22px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); }
.clube-level-col { display: flex; flex-direction: column; grid-area: l; }
.clube-level-right { align-items: flex-end; grid-area: r; }
.clube-level-num { color: #fff; font-size: 15px; font-weight: 800; }
.clube-level-tag { color: var(--muted-foreground); font-size: 11px; font-weight: 600; }
.clube-level-center { grid-area: c; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.clube-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--primary), var(--topbar)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; border: 2px solid rgba(255,255,255,0.3); overflow: hidden; }
.clube-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.clube-level-name { color: #fff; font-size: 13px; font-weight: 700; }
.clube-level-cta { background: var(--cta); color: #fff; border: none; border-radius: 8px; padding: 5px 14px; font-size: 11px; font-weight: 700; cursor: pointer; }
.clube-level-bar { grid-area: bar; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.clube-level-bar-label, .clube-level-bar-pct { color: var(--muted-foreground); font-size: 11px; font-weight: 700; white-space: nowrap; }
.clube-level-bar-pct { color: #fff; }
.clube-level-track { height: 8px; border-radius: 5px; background: rgba(255,255,255,0.1); overflow: hidden; }
.clube-level-track span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--cta), #ffb066); }

/* BODY / GRID */
.clube-body { padding: 18px; overflow-y: auto; }
.clube-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* CARD colorido com imagem 3D (padrao ApostaTudo) */
.clube-card { position: relative; border-radius: 18px; padding: 20px 20px 18px; min-height: 138px; overflow: hidden; display: flex; align-items: stretch; background: var(--card-cor); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 8px 22px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.22); transition: transform 0.2s, box-shadow 0.2s; }
.clube-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(140deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.02) 46%, rgba(0,0,0,0.12) 100%); }
.clube-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.28); }
.clube-card-txt { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 5px; max-width: 60%; }
.clube-card-txt h4 { color: #fff; font-size: 18px; font-weight: 800; margin: 0; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.clube-card-txt p { color: rgba(255,255,255,0.9); font-size: 12.5px; margin: 0; flex: 1; line-height: 1.4; text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
.clube-btn { align-self: flex-start; margin-top: 8px; background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 999px; padding: 8px 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.clube-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.85); transform: translateY(-1px); }
.clube-card-art { position: absolute; right: -10px; bottom: -12px; top: -12px; width: 54%; z-index: 1; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.clube-card-art img { width: auto; height: 100%; max-width: 118%; object-fit: contain; object-position: right center; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); }
.clube-card-fallico { color: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; }
.clube-card-fallico i { font-size: 46px; }
.clube-card-fallico .clube-ico-emoji { font-size: 46px; line-height: 1; }
.clube-card-fallico .tz-ico { width: 56px; height: 56px; }
.clube-card.sem-img .clube-card-txt { max-width: 100%; }

/* Termos */
.clube-tc { margin-top: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--secondary); }
.clube-tc summary { padding: 12px 14px; cursor: pointer; color: var(--foreground); font-size: 13px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.clube-tc summary::-webkit-details-marker { display: none; }
.clube-tc summary::before { content: "\f05a"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--primary); }
.clube-tc .clube-tc-body { padding: 0 14px 14px; color: var(--muted-foreground); font-size: 12px; line-height: 1.55; }

@media (max-width: 720px) {
  .clube-grid { grid-template-columns: 1fr; }
  .clube-hero-title { font-size: 21px; }
  .clube-card-txt { max-width: 62%; }
  .clube-level { padding: 12px 16px 14px; }
}
/* CTA do modal em laranja (padrao ApostaTudo) */
.betuxo-btn { background: var(--cta) !important; }
.betuxo-btn:hover { background: var(--cta-dark) !important; }
@media (max-width: 640px) {
  .modal-betuxo { max-width: 420px !important; }
  /* No celular a imagem vira banner no TOPO (nao mais lateral) */
  .betuxo-modal-split { flex-direction: column; }
  .betuxo-modal-side { flex: 0 0 auto; width: 100%; height: 150px; padding: 0; }
  .betuxo-side-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  /* No celular a foto vira banner no TOPO. Usa a MOBILE se existir, senão a DESKTOP. */
  .betuxo-side-desk { display: block; }
  .betuxo-side-mob { display: block; }
  .betuxo-modal-side:has(.betuxo-side-mob) .betuxo-side-desk { display: none; }
  /* Só esconde o painel quando NÃO há imagem nenhuma (fallback promo) — mantém o modal compacto. */
  .betuxo-modal-side:not(:has(.betuxo-side-img)) { display: none; }
  .betuxo-modal-body { padding: 22px 22px 22px; }
  /* Garante rolagem do modal em telas pequenas (botão não fica cortado) */
  .modal-betuxo .betuxo-modal-card { max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
}

.betuxo-help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  width: fit-content;
}
.betuxo-help-btn:hover {
  border-color: var(--primary);
  color: #fff;
}
.betuxo-help-btn i { font-size: 14px; }

.auth-switch { text-align: center; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,0.45); }
.auth-switch a { color: var(--primary); font-weight: 700; cursor: pointer; text-decoration: none; }
.auth-switch a:hover { color: #fff; }

/* WhatsApp field */
.whatsapp-field .wa-flag {
  position: absolute;
  left: 14px;
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
}
.whatsapp-field .wa-code {
  position: absolute;
  left: 38px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Terms checkbox */
.betuxo-terms-check {
  margin: 6px 0 10px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.betuxo-terms-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1.5;
}
.betuxo-terms-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.betuxo-terms-check input[type="checkbox"]:checked {
  border-color: var(--primary);
  background: var(--primary);
}
.betuxo-terms-check a { color: var(--primary); font-weight: 700; }
.betuxo-terms-text {
  margin: 8px 0 0;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.auth-switch { text-align: center; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.45); }

@media (max-width: 600px) {
  .modal-betuxo { width: 94% !important; max-width: 400px !important; }
  .betuxo-modal-card { padding: 16px 16px 14px; }
  .betuxo-modal-banner { margin: -16px -16px 12px; }
  .betuxo-banner-logo { max-height: 44px; }
  .betuxo-banner-txt { font-size: 17px; }
  .betuxo-modal-title { font-size: 18px; }
  .betuxo-modal-subtitle { font-size: 12px; margin: 0 0 12px; }
  .modal-betuxo .form-row { margin-bottom: 7px; }
  .modal-betuxo .input-icon input { padding: 9px 14px 9px 40px; font-size: 13.5px; border-radius: 10px; }
  .modal-betuxo .input-icon i { font-size: 14px; left: 14px; }
  .betuxo-btn { padding: 11px; font-size: 14px !important; }
  .betuxo-terms-check { padding: 9px 10px; margin: 4px 0 8px; }
  .betuxo-terms-check label { font-size: 11.5px; line-height: 1.4; gap: 8px; }
  .betuxo-terms-check input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; }
  .betuxo-terms-text { font-size: 9.5px; line-height: 1.4; margin: 6px 0 0; }
  .betuxo-help-btn { margin: 7px auto 6px; padding: 6px 16px; font-size: 11px; }
  .auth-switch { font-size: 12px; }
}
/* Telas muito baixas: some o texto legal extenso (o aviso principal fica no checkbox) */
@media (max-width: 600px) and (max-height: 720px) {
  .betuxo-terms-text { display: none; }
}

/* ============================================
   SIDEBAR TERMS DRAWER
   ============================================ */
.sidebar { position: fixed; top: 0; right: -400px; width: 380px; height: 100vh; background: var(--secondary); z-index: 2000; transition: right 0.3s ease; padding: 20px; overflow-y: auto; border-left: 1px solid var(--border); }
.sidebar.open, .sidebar.show { right: 0; }
.close-sidebar { cursor: pointer; color: var(--muted-foreground); font-size: 18px; position: absolute; top: 16px; right: 16px; }
.close-sidebar:hover { color: var(--foreground); }

.sobre-nos { color: var(--foreground); }
.sobre-nos h3 { color: var(--foreground); font-size: 19px; font-weight: 800; margin: 6px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sobre-nos h4 { color: var(--primary); font-size: 14.5px; font-weight: 700; margin: 20px 0 7px; }
.sobre-nos p { color: var(--muted-foreground); font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; text-align: left; }
.sobre-nos a { color: var(--primary); text-decoration: none; }
.sobre-nos strong { color: var(--foreground); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--background) !important;
  padding: 40px 24px 20px !important;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.container-footer {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
}
.container-footer .footer-column img:not(.pix-logo) { height: 32px; max-width: 140px; width: auto; object-fit: contain; }
.footer-column h4 {
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  font-family: var(--font-sans);
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a { color: var(--muted-foreground); text-decoration: none; font-size: 13px; cursor: pointer; transition: color 0.2s; }
.footer-column ul li a:hover { color: var(--foreground); }
.pix-logo { max-width: 110px; height: auto; opacity: 0.5; transition: opacity 0.2s; }
.pix-logo:hover { opacity: 1; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}
.social-icons a:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.footer .footer-line { display: block !important; height: 1px; background: var(--border); margin: 20px 0; border: none; }
.footer-line { display: none; }

.footer-text {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.ver-mais-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}

.footer-centered-img { text-align: center; }
.footer-centered-img a { display: inline-block; }
.selo-img { max-width: 120px; height: auto; opacity: 0.4; cursor: pointer; transition: all 0.2s; }
.footer-centered-img a:hover .selo-img { opacity: 1; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom strong { color: var(--foreground); }
.footer-bottom span { margin: 0 6px; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================
   MISC
   ============================================ */
.icon-btn {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
  transition: all 0.2s;
}
.icon-btn:hover { color: var(--foreground); background: rgba(255,255,255,0.06); }

.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 199; }

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: var(--sidebar-bg);
  border-top: 1px solid var(--border);
  z-index: 500;
  align-items: stretch;
  justify-content: space-around;
  padding: 0 4px;
  overflow: visible;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  text-decoration: none;
}
.bottom-nav-item .tz-ico { width: 23px; height: 23px; color: var(--muted-foreground); transition: color 0.2s; }
.bottom-nav-item span { font-size: 10px; font-weight: 600; color: var(--muted-foreground); letter-spacing: 0.02em; transition: color 0.2s; }
.bottom-nav-item.active .tz-ico,
.bottom-nav-item.active span { color: var(--primary); }
.bottom-nav-item:active .tz-ico { color: var(--primary); }

/* Botao central Clube (elevado, circular) */
.bottom-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
}
.bnav-center-circle {
  position: absolute;
  top: -30px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 50% 0%, #2a68ff 0%, var(--topbar) 60%, #050a2e 100%);
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.55), 0 0 0 4px var(--sidebar-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: bnavBob 2.6s ease-in-out infinite;
}
/* Flutua pra cima e pra baixo em loop (igual ApostaTudo) */
@keyframes bnavBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.bnav-center-circle .tz-ico { width: 34px; height: 34px; color: #ffd45e; }
/* Brilho/reflexo que cruza a rodinha em loop (igual ApostaTudo .shine) */
.bnav-center-circle::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 3;
  animation: bnavShine 3.4s ease-in-out infinite;
}
@keyframes bnavShine {
  0% { left: -60%; }
  18% { left: 150%; }
  100% { left: 150%; }
}
/* Com imagem/GIF: MANTEM a rodinha azul (fundo azul + borda dourada) e coloca a arte no centro — igual ApostaTudo */
.bnav-center-circle.has-img .bnav-center-img {
  width: 92%;
  height: 92%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.45));
}
.bnav-center-lbl { font-size: 10px; font-weight: 700; color: var(--foreground); margin-top: 42px; }
.bottom-nav-item .bnav-icon { width: 24px; height: 24px; opacity: 0.9; object-fit: contain; }
/* Botao Depositar (fixo, CTA laranja) */
.bottom-nav-deposit { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1.15; gap: 3px; margin: 7px 4px; background: var(--cta); border: none; border-radius: 12px; cursor: pointer; text-decoration: none; }
.bottom-nav-deposit .tz-ico { width: 22px; height: 22px; color: #fff; }
.bottom-nav-deposit .bnav-icon { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.bottom-nav-deposit span { font-size: 10px; font-weight: 700; color: #fff; letter-spacing: 0.02em; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 200px 1fr; }
  .left-sidebar { width: 200px; }
  .game-section { padding: 0 10px; }
  .game-card { width: 125px; }
  .game-card-name { font-size: 12px; }
  .game-card-provider { font-size: 10px; }
  .section-title h3 { font-size: 15px; }
  .section-arrows { gap: 6px; }
  .arrow-btn { width: 28px; height: 28px; font-size: 10px; }
}

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
  }
  .left-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0,0,0,0.5);
    border-right: 1px solid var(--sidebar-border);
  }
  .left-sidebar.mobile-open {
    display: flex;
    flex-direction: column;
    transform: none;
  }
  .sidebar-backdrop.show { display: block; }
  .hamburger-btn { display: flex; }
  .header-search { display: none; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 60px; }
  .footer { padding: 26px 16px 80px !important; }
}

@media (max-width: 768px) {
  .game-card { width: 125px; }
  .game-card-img { border-radius: 12px; }
  .game-card-img img { border-radius: 12px; }
  .game-card-overlay { border-radius: 12px; }
  .carousel-slide { flex: 0 0 85%; border-radius: 12px; }
  .carousel-slide img { border-radius: 12px; }
  .carousel-btn { width: 28px; height: 28px; font-size: 11px; }
  .carousel-prev { left: 9%; }
  .carousel-next { right: 9%; }
}

@media (max-width: 600px) {
  .nav-tabs { display: none; }
  .top-bar { height: 56px; padding: 0 12px; }
  .btn-entrar { padding: 6px 14px; font-size: 13px; height: 36px; }
  .btn-cadastrar { padding: 6px 16px; font-size: 13px; height: 36px; }
  .buttons { gap: 6px; }
  .logo img { height: 26px; max-width: 100px; }
  .container-footer { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .social-icons { justify-content: center; }
  .footer-bottom span { display: none; }
  .category-tabs { padding: 10px 10px; gap: 2px; }
  .cat-tab { min-width: 52px; padding: 6px 8px; font-size: 10px; }
  .cat-icon-circle { width: 52px; height: 52px; }
  .cat-icon-circle .cat-emoji { font-size: 20px; }
  .game-section { padding: 0 10px; }
  .game-card { width: 115px; }
  .game-card-img { border-radius: 12px; }
  .game-card-img img { border-radius: 12px; }
  .game-card-overlay { border-radius: 12px; }
  .game-card-info { padding: 4px 2px 0; }
  .game-card-name { font-size: 11px; }
  .game-card-provider { font-size: 9px; }
  .section-badge { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
  .arrow-btn { width: 26px; height: 26px; font-size: 9px; }
  .top24h-section { margin: 12px auto; height: 70px; }
  .top24h-icon { width: 46px; min-width: 46px; height: 70px; font-size: 18px; }
  .top24h-item { min-width: 170px; padding: 6px 10px; gap: 8px; }
  .top24h-img { width: 42px; height: 42px; }
  .top24h-valor { font-size: 12px; }
  .top24h-badge { font-size: 9px; padding: 3px 8px; }
}

/* ===== Verificados (carrossel de perfis) ===== */
.verif-row { display:flex; gap:14px; overflow-x:auto; padding-bottom:8px; scrollbar-width:none; justify-content:safe center; }
.verif-row::-webkit-scrollbar { display:none; }
.verif-card { flex-shrink:0; width:200px; background:var(--card); border:1px solid var(--border); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; align-items:center; text-decoration:none; padding:0 14px 16px; transition:transform .2s, border-color .2s; }
.verif-card:hover { transform:translateY(-3px); border-color:var(--primary); }
.verif-cover { width:calc(100% + 28px); margin:0 -14px; height:88px; background:linear-gradient(135deg,var(--topbar,#1c3fa8),var(--primary)); background-size:cover; background-position:center; }
.verif-av { width:72px; height:72px; border-radius:50%; margin-top:-36px; overflow:hidden; border:3px solid var(--card); background:var(--secondary); display:flex; align-items:center; justify-content:center; color:var(--muted-foreground); font-size:26px; }
.verif-av img { width:100%; height:100%; object-fit:cover; }
.verif-name { margin-top:10px; font-size:15px; font-weight:800; color:#fff; display:flex; align-items:center; gap:5px; }
.verif-check { color:var(--primary); font-size:13px; }
.verif-role { font-size:11px; color:var(--muted-foreground); margin-top:2px; }
.verif-jogos { margin-top:10px; font-size:11px; font-weight:700; color:var(--foreground); background:rgba(255,255,255,0.06); border:1px solid var(--border); padding:4px 12px; border-radius:999px; display:inline-flex; align-items:center; gap:6px; }
.verif-jogos i { color:var(--primary); }
.verif-btn { margin-top:12px; width:100%; text-align:center; background:var(--primary); color:#fff; font-size:12px; font-weight:700; padding:9px 0; border-radius:8px; }

/* no-tap-zoom + modalbg-reinforce */
html{touch-action:manipulation}
*{-webkit-tap-highlight-color:transparent}
.modal.show{background:var(--modal-bg, var(--secondary))!important}

/* gatilho-mobile-discreto */
@media(max-width:600px){
  .gatilho-html,.gatilho-mimo,.gatilho-visual{transform:scale(.7)!important;transform-origin:bottom right;opacity:.6!important;transition:opacity .2s}
  .gatilho-html:active,.gatilho-mimo:active,.gatilho-visual:active,.gatilho-html:hover,.gatilho-mimo:hover,.gatilho-visual:hover{opacity:1!important}
}

/* cadastro-premium-compacto */
.modal-betuxo .betuxo-modal-body{padding:16px 22px 20px!important}
.modal-betuxo .betuxo-modal-title{font-size:21px!important;margin-bottom:0!important}
.modal-betuxo .betuxo-modal-subtitle{font-size:12px!important;margin:2px 0 12px!important}
.modal-betuxo .betuxo-modal-body form input:not([type=checkbox]):not([type=radio]){padding-top:11px!important;padding-bottom:11px!important}
.modal-betuxo .betuxo-modal-body form label{font-size:10.6px!important;line-height:1.35!important}
.modal-betuxo .betuxo-modal-body form > *{margin-bottom:9px!important}
