
@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:           #EF4444;
  --primary-foreground: #FFFFFF;
  --primary-dark:      #DC2626;
  --secondary:         #0f1117;
  --secondary-foreground: #e1e1e6;
  --muted:             #0f1117;
  --muted-foreground:  #666d80;
  --accent:            #0f1117;
  --accent-foreground: #EF4444;
  --destructive:       #ff1648;
  --border:            #1a1c24;
  --input:             #1a1c24;
  --ring:              #EF4444;
  --sidebar-bg:        #080c11;
  --sidebar-foreground: #e1e1e6;
  --sidebar-primary:   #EF4444;
  --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; }

/* 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(--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 — 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 a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #e1e1e6;
  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;
}
.sb-nav li a:hover {
  background-color: var(--sidebar-accent);
  color: var(--sidebar-primary);
}
.sb-nav li a i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
  font-size: 15px;
  text-align: center;
  line-height: 18px;
}
.sb-nav li a:hover i { opacity: 1; color: var(--sidebar-primary); }

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

/* 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: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid transparent;
  overflow: hidden;
  background: transparent;
  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: contain;
}

/* 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(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: 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; }

/* ===== 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-title h3 { font-size: 16px; font-weight: 700; color: var(--foreground); 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: 3/4; overflow: hidden; border-radius: 16px; background: var(--secondary); }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }
.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; }

.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(--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: 460px !important;
  padding: 0 !important;
  overflow: visible;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.betuxo-modal-card {
  background: #0d1017;
  background: linear-gradient(160deg, #0d1017 0%, #0d1017 100%);
  border: 1px solid #00C77433;
  border-radius: 20px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 60px #00C7741f, inset 0 1px 0 #00C77426;
  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, #00C774 0%, #00C774 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); }

.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, #00B066 0%, #00C774 50%, #00C774cc 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 #00C77459;
}
.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-banner { margin: -22px -20px 16px; }
  .betuxo-banner-logo { max-height: 50px; }
  .betuxo-banner-txt { font-size: 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; }
  .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; }
}
