
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --background:        #080c11;
  --foreground:        #e1e1e6;
  --card:              #090f17;
  --card-foreground:   #e1e1e6;
  --primary:           #9B30FF;
  --primary-foreground: #ffffff;
  --primary-dark:      #7B2FBE;
  --secondary:         #0f1117;
  --secondary-foreground: #e1e1e6;
  --muted:             #0f1117;
  --muted-foreground:  #666d80;
  --accent:            #0f1117;
  --accent-foreground: #9B30FF;
  --destructive:       #ff1648;
  --border:            #1a1c24;
  --input:             #1a1c24;
  --ring:              #9B30FF;
  --sidebar-bg:        #080c11;
  --sidebar-foreground: #e1e1e6;
  --sidebar-primary:   #9B30FF;
  --sidebar-accent:    #0f1117;
  --sidebar-border:    #12141c;
  --font-sans:         "Inter", sans-serif;
  --radius:            0.5rem;
  --radius-sm:         6px;
  --radius-md:         9px;
  --radius-lg:         12px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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;
  overflow-x: hidden;
}

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)
   ============================================ */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background-color: var(--background);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  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;
}

/* Nav Tabs (Cassino / Esportes) — pill toggle */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.06);
  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: var(--muted-foreground);
}
.nav-tab i { font-size: 12px; }

.nav-tab.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.nav-tab:hover:not(.active) {
  background-color: var(--secondary);
  color: var(--foreground);
}

/* 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(--primary);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--primary-foreground);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-cadastrar:hover { background-color: var(--primary-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; }

/* 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 promotional banners (Betuxo style — image banners) */
.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 group titles */
.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 menu */
.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;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.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: #BF6FFF; }
.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(155,48,255,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;
  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: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border);
  overflow: hidden;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.cat-tab:hover .cat-icon-circle,
.cat-tab.active .cat-icon-circle {
  border-color: var(--primary);
}

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

.cat-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 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: 450px; object-fit: cover; display: block; background: var(--secondary); }
.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(155, 48, 255, 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(155, 48, 255, 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: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.busca-input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 42px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--foreground);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-sans);
}
.busca-input:focus { border-color: var(--ring); }
.busca-input::placeholder { color: var(--muted-foreground); }
.busca-resultado { max-width: 600px; margin: 0 auto; text-align: left; }

/* ============================================
   GAME SECTIONS
   ============================================ */
.lista-jogos {
  padding: 16px 16px 8px;
}

.titulo-lista-jogos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.titulo-lista-jogos > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Section icon — square with primary bg */
.section-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

/* Section title text */
.titulo-lista-jogos .section-title-text,
.titulo-lista-jogos > span {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}

/* Section nav buttons */
.section-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  font-size: 12px;
}
.section-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-ver-tudo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ver-tudo:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Games row — horizontal scroll */
.jogos-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.jogos-container::-webkit-scrollbar { display: none; }

/* Game card */
.jogo-card {
  flex-shrink: 0;
  width: 150px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--secondary);
  transition: transform 0.3s;
}
.jogo-card:hover { transform: translateY(-4px); }

.jogo-img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Overlay on hover */
.jogo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 17, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}
.jogo-card:hover .jogo-overlay { opacity: 1; }

.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);
}

/* Card info (name + provider at bottom) */
.jogo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 8px 8px;
  background: linear-gradient(to top, rgba(8,12,17,0.9) 0%, transparent 100%);
}
.jogo-nome,
.jogo-info .nome {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jogo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jogadores {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.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(155, 48, 255, 0.08);
  color: var(--primary);
}

/* ============================================
   LIVE RESULTS
   ============================================ */
.aovivo-resultados {
  background: var(--card);
  margin: 0 16px 16px;
  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(--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); }

.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: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.age-gate-text {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; }
.age-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  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: 520px !important;
  padding: 0 !important;
  overflow: visible;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.betuxo-modal-card {
  background: linear-gradient(160deg, #1a0a2e 0%, #0d1017 40%, #0d1017 70%, #1a0a2e 100%);
  border: 1px solid rgba(155,48,255,0.2);
  border-radius: 20px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 60px rgba(155,48,255,0.12), inset 0 1px 0 rgba(155,48,255,0.15);
}
.modal-betuxo .close-modal {
  top: 18px;
  right: 20px;
  font-size: 20px;
  color: rgba(255,255,255,0.4);
  z-index: 3;
}
.modal-betuxo .close-modal:hover { color: #fff; }

.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;
}

.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, #c26fff 0%, #9B30FF 40%, #7118d0 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 rgba(155,48,255,0.35);
}
.betuxo-btn:hover {
  filter: brightness(1.15);
}
.betuxo-btn:active { transform: scale(0.98); }

.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: 420px !important; }
  .betuxo-modal-card { padding: 22px 20px 18px; }
  .betuxo-modal-title { font-size: 20px; }
  .modal-betuxo .form-row { margin-bottom: 8px; }
  .modal-betuxo .input-icon input { padding: 11px 16px 11px 42px; font-size: 14px; }
  .betuxo-btn { padding: 12px; font-size: 14px !important; }
  .betuxo-terms-check { padding: 10px; margin: 4px 0 8px; }
  .betuxo-terms-check label { font-size: 12px; }
  .betuxo-help-btn { margin: 8px auto 8px; padding: 7px 18px; font-size: 11px; }
}

/* ============================================
   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: 60px;
  background: var(--background);
  border-top: 1px solid var(--border);
  z-index: 500;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
}

.bottom-nav-left {
  display: flex;
  flex: 1;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  text-decoration: none;
}
.bottom-nav-item i { font-size: 18px; color: var(--muted-foreground); transition: color 0.2s; }
.bottom-nav-item .bnav-icon { width: 28px; height: 28px; opacity: 0.5; transition: opacity 0.2s; }
.bottom-nav-item.active .bnav-icon { opacity: 1; }
.bottom-nav-item span { font-size: 9px; font-weight: 600; color: var(--muted-foreground); letter-spacing: 0.04em; transition: color 0.2s; }
.bottom-nav-item.active i,
.bottom-nav-item.active span { color: var(--foreground); }

.bottom-nav-deposit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  position: relative;
}
.bottom-nav-deposit i { font-size: 18px; color: var(--primary-foreground); }
.bottom-nav-deposit .bnav-icon { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.bottom-nav-deposit span { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--primary-foreground); letter-spacing: 0.04em; margin-top: 3px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 200px 1fr; }
  .left-sidebar { width: 200px; }
  .jogo-card { width: 140px; }
  .jogo-img { width: 140px; height: 187px; }
}

@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) {
  .jogo-card { width: 130px; }
  .jogo-img { width: 130px; height: 174px; }
  .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; }
  .lista-jogos { padding: 12px 10px 8px; }
  .jogo-card { width: 120px; }
  .jogo-img { width: 120px; height: 160px; }
}
