@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;
  --primary:           #EF4444;
  --primary-foreground: #FFFFFF;
  --primary-dark:      #DC2626;
  --secondary:         #0f1117;
  --muted-foreground:  #666d80;
  --destructive:       #ff1648;
  --border:            #1a1c24;
  --ring:              #EF4444;
  --sidebar-border:    #12141c;
  --radius:            0.5rem;
  --radius-sm:         6px;
  --radius-md:         9px;
  --radius-lg:         12px;
  --font-sans:         "Inter", sans-serif;
  /* Legacy aliases */
  --bg-base: #080c11;
  --bg-sidebar: #080c11;
  --bg-card: #0f1117;
  --purple-vibrant: #00BA2C;
  --purple-neon: #7BED00;
  --purple-medium: #009624;
  --purple-soft: #7BED00;
  --purple-dark: #00631A;
  --purple-darker: #00380E;
  --text-primary: #e1e1e6;
  --text-secondary: #e1e1e6;
  --text-muted: #666D80;
  --glow: 0 0 15px rgba(0, 186, 44, 0.4);
  --glow-soft: 0 0 12px rgba(0, 186, 44, 0.2);
  --border-light: #1a1c24;
}

/* Category circular icons (Betuxo style) */
.cat-tab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 12px; border: none; background: transparent; color: var(--muted-foreground); font-size: 11px; font-weight: 500; cursor: pointer; white-space: nowrap; min-width: 60px; font-family: var(--font-sans); transition: color 0.2s; }
.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; background: transparent; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; overflow: hidden; }
.cat-icon-circle img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.cat-icon-circle .cat-emoji { font-size: 24px; line-height: 1; }
.cat-tab:hover .cat-icon-circle, .cat-tab.active .cat-icon-circle { border-color: var(--primary); }

/* Provider strip (Betuxo style) */
.providers-strip { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--background); overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; max-width: 1180px; margin: 0 auto; }
.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; }

/* Section icons and nav (Betuxo style) */
.section-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.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); font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.section-nav-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }

/* Bottom nav mobile (Betuxo style) */
.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; }
.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; text-transform: uppercase; 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; }
.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; }

@media (max-width: 900px) { .bottom-nav { display: flex; } body { padding-bottom: 60px; } }
@media (max-width: 600px) { .cat-tab { min-width: 52px; font-size: 10px; padding: 6px 8px; } .cat-icon-circle { width: 52px; height: 52px; } .cat-icon-circle .cat-emoji { font-size: 20px; } }

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

/* overflow-x fica no HTML (scroller do viewport). No body ele torna o body um
   container de scroll e faz a barra inferior fixed "descer" no mobile. */
html { overflow-x: hidden; }
body {
  background-color: var(--background) !important;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans) !important;
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); }

.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ===== PAGE LAYOUT — CSS GRID ===== */
.page-layout {
  min-height: 100vh;
}
.page-layout .main-content { margin-left: 240px; }

/* ===== LEFT SIDEBAR ===== */
.left-sidebar {
  position: fixed; top: calc(64px + var(--anuncio-h)); left: 0;
  width: 240px; height: calc(100vh - 64px - var(--anuncio-h));
  background: var(--bg-sidebar);
  overflow: hidden;
  z-index: 50; display: flex; flex-direction: column;
  padding: 0 0 8px 0; border-right: 1px solid var(--sidebar-border);
}
.left-sidebar .sidebar-menu { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; flex-shrink: 0; }

.left-sidebar .sidebar-item {
  display: flex; align-items: center; min-height: 52px;
  border-radius: 10px; text-decoration: none; color: #fff;
  font-weight: 800; letter-spacing: 0.8px; cursor: pointer;
  padding: 0 14px; overflow: hidden;
  transition: filter 0.2s, transform 0.15s;
}
.left-sidebar .sidebar-item:hover { filter: brightness(1.12); transform: translateX(2px); }
.left-sidebar .vip-item { background: linear-gradient(135deg, #1e1000 0%, #3a2200 50%, #5a3800 100%); border: 1px solid #7a5200; gap: 8px; padding-left: 6px; }
.left-sidebar .afiliado-item { background-image: url('../../imagens/sidebar-afiliado.png'); background-size: 100% 100%; background-repeat: no-repeat; padding-left: 70px; }
.left-sidebar .roda-item { background-image: url('../../imagens/sidebar-roda.png'); background-size: 100% 100%; background-repeat: no-repeat; gap: 8px; padding-left: 6px; }
.left-sidebar .cashback-item { background-image: url('../../imagens/sidebar-cashback.png'); background-size: 100% 100%; background-repeat: no-repeat; padding-left: 70px; }
.left-sidebar .sidebar-sprite-icon { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.left-sidebar .sidebar-label { font-size: 11px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }
.left-sidebar .vip-item .sidebar-label { color: #f5c542; text-shadow: 0 0 10px rgba(245,197,66,0.5); }
.left-sidebar .afiliado-item .sidebar-label { color: #e8e0ff; }
.left-sidebar .roda-item .sidebar-label { color: #c8d8ff; }
.left-sidebar .cashback-item .sidebar-label { color: #a0f0d8; }

.left-sidebar .sidebar-promo { margin-top: 6px; padding: 0 8px; flex: 1; min-height: 0; }

/* New sidebar layout */
.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; }
.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(--sidebar-border); margin-top: 4px; }
.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: 8px; 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: rgba(255,255,255,0.06); color: var(--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(--primary); }
.sb-pop-thumb { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.left-sidebar .promo-header { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 11px; font-weight: 700; padding: 14px 12px 6px; cursor: pointer; border-radius: 6px; text-transform: uppercase; letter-spacing: 1.5px; }
.left-sidebar .promo-header .fa-flag { color: var(--text-secondary); font-size: 11px; }
.left-sidebar .promo-chevron { margin-left: auto; font-size: 10px; }
.left-sidebar .promo-list { list-style: none; padding: 2px 0; margin: 0; }
.left-sidebar .promo-list li { display: flex; align-items: center; gap: 13px; padding: 11px 12px; color: #d1d5db; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 10px; transition: background 0.15s, color 0.15s, transform 0.15s; }
.left-sidebar .promo-list li:hover { background: rgba(0,186,44,0.18); color: #fff; transform: translateX(3px); }
.left-sidebar .promo-list li:hover .promo-ico { color: #7BED00; }
.left-sidebar .promo-list li.active { background: rgba(0,186,44,0.22); color: #fff; box-shadow: inset 3px 0 0 #00BA2C; }
.left-sidebar .promo-ico { font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; transition: color 0.15s; }
.left-sidebar .pi-tournament { color: #f5c542; } .left-sidebar .pi-jackpot { color: #fb923c; }
.left-sidebar .pi-convite { color: #34d399; } .left-sidebar .pi-vip { color: var(--purple-soft); }
.left-sidebar .pi-afiliado { color: #f87171; } .left-sidebar .pi-giro { color: #60a5fa; }
.left-sidebar .pi-baixar { color: #4ade80; } .left-sidebar .pi-cashback { color: #fbbf24; }
.left-sidebar .baixar-app { margin-top: 10px; padding: 4px 0; }
.left-sidebar .baixar-btn { width: 100%; padding: 10px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: #d1d5db; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.left-sidebar .baixar-btn .fa-download { color: #4ade80; }
.left-sidebar .badge-red { margin-left: auto; background: #e8304a; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; }
.left-sidebar .sidebar-lang { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: var(--text-secondary); font-size: 12px; border-top: 1px solid var(--border); cursor: pointer; margin-top: auto; }
.left-sidebar .sidebar-lang .fa-chevron-down { font-size: 10px; }

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

/* ===== BARRA DE ANUNCIO (topo absoluto, acima do header) ===== */
:root { --anuncio-h: 0px; }
body { padding-top: var(--anuncio-h); }
.anuncio-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  position: fixed; top: 0; left: 0; right: 0; width: 100%; padding: 9px 44px;
  font-size: 13px; font-weight: 600; text-align: center; line-height: 1.35;
  z-index: 1000;
}
.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 (64px, Betuxo style) ===== */
.top-bar {
  background: var(--background) !important; box-shadow: none !important;
  padding: 0 20px 0 16px !important; height: 64px; display: flex; align-items: center;
  position: sticky; top: var(--anuncio-h); z-index: 200; border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 12px;
}
.top-bar .container { max-width: none !important; width: 100%; padding: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-bar .left-header { display: flex; align-items: center; gap: 12px; }
.top-bar .hamburger-btn { display: none; background: none; border: none; color: var(--foreground); font-size: 20px; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); line-height: 1; }
.top-bar .hamburger-btn:hover { background: rgba(255,255,255,0.06); }
.top-bar .logo { gap: 0; display: flex; align-items: center; }
.top-bar .logo img { width: auto !important; height: 32px !important; max-width: 130px; object-fit: contain; }
.top-bar .nav-tabs { display: flex; align-items: center; gap: 4px; margin-left: 8px; background: rgba(255,255,255,0.06); border-radius: var(--radius-md); padding: 4px; }
.top-bar .nav-tab { display: flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: var(--radius-md); border: none; background: transparent; color: var(--muted-foreground); font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--font-sans); transition: background 0.2s, color 0.2s; }
.top-bar .nav-tab.active { background: var(--primary); color: var(--primary-foreground); }
.top-bar .nav-tab:hover:not(.active) { background: var(--secondary); color: var(--foreground); }

.top-bar .buttons { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-bar .button { padding: 8px 20px; border-radius: var(--radius-lg); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; font-family: var(--font-sans); }

.header-balance-logged { display: flex; align-items: center; gap: 5px; padding: 7px 12px; background: var(--secondary); border-radius: var(--radius); border: 1px solid var(--border); }
.header-balance-logged .bal-label { color: var(--muted-foreground); font-size: 12px; font-weight: 600; }
.header-balance-logged .bal-amount { color: var(--foreground); font-size: 15px; font-weight: 700; }

.top-bar .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; }
.top-bar .icon-btn:hover { color: var(--foreground); background: rgba(255,255,255,0.06); }
.top-bar .lightning-btn i { color: #f5c542; }

.top-bar .btn-deposito {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important; border: none !important; font-size: 13px; font-weight: 700;
  padding: 8px 18px !important; border-radius: var(--radius-lg); cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); letter-spacing: 0.02em;
  transition: background 0.2s;
}
.top-bar .btn-deposito:hover { background: var(--primary-dark) !important; }
.top-bar .btn-deposito i { font-size: 14px; }

/* User menu */
.user-header { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; background: var(--secondary); border: 1px solid var(--border); border-radius: 24px; cursor: pointer; transition: all 0.2s; }
.user-avatar-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--primary-foreground); font-size: 15px; }
.user-header-info { display: flex; flex-direction: column; line-height: 1.2; }
.user-header-name { font-size: 12px; font-weight: 700; color: var(--foreground); }
.user-header-balance { font-size: 11px; color: var(--primary); font-weight: 600; }
.user-chevron { font-size: 10px; color: var(--muted-foreground); transition: transform 0.2s; }
.user-menu-wrap { position: relative; }
.user-menu-wrap.open .user-chevron { transform: rotate(180deg); }
.user-header:hover { border-color: var(--primary); }

.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; width: 340px;
  background: linear-gradient(180deg, #0a1628 0%, #0d1e3a 100%); border: 1px solid #1a3060; border-radius: 16px;
  padding: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  display: none; z-index: 300; overflow: hidden; max-height: 85vh; overflow-y: auto;
}
.user-dropdown.open { display: block; }

/* Profile */
.udrop-profile { display: flex; align-items: center; gap: 12px; padding: 18px 16px 12px; }
.udrop-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #1a3060, #2a4a80); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.udrop-avatar i { color: #8899bb; font-size: 18px; }
.udrop-user-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.udrop-name { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.udrop-id { color: #667; font-size: 11px; }
.udrop-kyc { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; width: fit-content; }
.udrop-kyc.ok { background: #00cc4420; color: #00cc44; }
.udrop-kyc.pending { background: #ff880020; color: #ff8800; }

/* Saldo */
.udrop-saldo { padding: 0 16px 14px; }
.udrop-saldo-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #667; text-transform: uppercase; }
.udrop-saldo-valor { font-size: 28px; color: #fff; font-weight: 300; margin: 2px 0 10px; }
.udrop-saldo-valor strong { font-weight: 700; }
.udrop-saldo-row { display: flex; gap: 0; }
.udrop-saldo-item { flex: 1; text-align: center; }
.udrop-saldo-item + .udrop-saldo-item { border-left: 1px solid #1a3060; }
.udrop-sub-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; color: #556; text-transform: uppercase; }
.udrop-sub-val { display: block; font-size: 13px; color: #ccd; font-weight: 600; margin-top: 2px; }

/* Depositar */
.udrop-depositar { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 0 16px 12px; padding: 12px; background: #00aa44; border: none; border-radius: 10px; color: #fff; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: background 0.2s; }
.udrop-depositar:hover { background: #00cc55; }
.udrop-depositar i { font-size: 14px; }

/* Menu Items */
.udrop-menu-list { padding: 0 8px 8px; }
.udrop-menu-item { display: flex; align-items: center; gap: 12px; padding: 10px 8px; text-decoration: none; cursor: pointer; border-radius: 10px; transition: background 0.15s; }
.udrop-menu-item:hover { background: rgba(255,255,255,0.05); }
.udrop-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.udrop-icon i { color: #fff; font-size: 14px; }
.udrop-menu-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.udrop-menu-text strong { color: #fff; font-size: 14px; font-weight: 600; }
.udrop-menu-text span { color: #667; font-size: 11px; margin-top: 1px; }
.udrop-arrow { color: #445; font-size: 11px; flex-shrink: 0; }

/* Sair */
.udrop-logout { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #ff4466; font-size: 14px; font-weight: 600; text-decoration: none; border-top: 1px solid #1a3060; cursor: pointer; transition: background 0.15s; }
.udrop-logout:hover { background: rgba(255,22,72,0.08); }
.udrop-logout i { font-size: 14px; }

/* ===== 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: 13%; }
.carousel-next { right: 13%; }
.carousel-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; 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; }

/* ===== TOP 24H TICKER ===== */
.top24h-section { display: flex; align-items: center; gap: 0; background: var(--secondary); border-radius: 12px; margin: 12px 0; 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); 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; }

/* ===== CATEGORY TABS ===== */
.category-tabs { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--background); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs .cat-tab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 12px; border: none; background: transparent; color: var(--muted-foreground); font-size: 11px; font-weight: 500; cursor: pointer; white-space: nowrap; font-family: var(--font-sans); min-width: 60px; }
.category-tabs .cat-tab:hover { color: var(--foreground); }
.category-tabs .cat-tab.active { color: var(--primary); }
.category-tabs .cat-icon-img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.cat-emoji { font-size: 24px; line-height: 1; }

/* ===== SEARCH ===== */
.busca-container { margin: 20px auto 0; text-align: center; width: 100%; max-width: 1180px; padding: 0 20px; }
.busca-input-icon { position: relative; width: 100%; }
.busca-input-icon i { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: var(--purple-neon); }
.busca-input {
  width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--border); border-radius: 10px;
  height: 50px; background: var(--bg-card); color: #fff; font-size: 15px; font-family: 'Inter', sans-serif; outline: none;
}
.busca-input:focus { border-color: var(--purple-vibrant); box-shadow: 0 0 0 3px rgba(0,186,44,0.2); }
.busca-input::placeholder { color: #6b7280; }
.busca-resultado { max-width: 600px; margin: 0 auto; text-align: left; }
.busca-tabela-resultado {
  width: 100%; max-width: 1000px; margin: 5px auto; border-collapse: collapse;
  background: var(--bg-card); color: #fff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.4); overflow: hidden; table-layout: fixed;
}
.busca-tabela-resultado td { padding: 8px 10px; vertical-align: middle; overflow: hidden; }
.col-img { width: 60px; text-align: center; }
.col-nome { width: 45%; font-size: 14px; }
.col-jogadores { font-size: 12px; text-align: center; }
.col-jogar { width: 120px; text-align: right; }
.busca-img { width: 50px; height: 50px; object-fit: contain; border-radius: 5px; }
.btn-jogar { padding: 6px 12px; background: var(--purple-vibrant); border: none; color: #fff; border-radius: 6px; cursor: pointer; transition: all 0.2s; font-size: 14px; }
.btn-jogar:hover { background: var(--purple-neon); box-shadow: var(--glow); }
.sem-resultado { text-align: center; color: var(--text-secondary); padding: 20px; font-size: 16px; }
.online-dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; background: #34d399; border-radius: 50%; animation: piscar 1.5s infinite; vertical-align: middle; }
@keyframes piscar { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

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

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

.close-modal { position: absolute; top: 16px; right: 16px; font-size: 18px; color: var(--text-secondary) !important; cursor: pointer; }
.close-modal:hover { color: #fff !important; }

.form-row { display: block; margin-bottom: 12px; gap: 0; }
.form-row .input-icon { flex: 1; }
.input-icon { position: relative; margin-bottom: 5px; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--purple-soft) !important; pointer-events: none; }
.input-icon input, .input-icon textarea {
  padding-left: 40px; width: 100%; min-height: 50px;
  background: var(--bg-card) !important; border: 1px solid var(--border) !important;
  border-radius: 10px !important; color: #fff; font-size: 15px; outline: none;
  font-family: 'Inter', sans-serif; transition: border-color 0.2s, box-shadow 0.2s;
}
.input-icon textarea { padding-top: 14px; }
.input-icon input:focus, .input-icon textarea:focus { border-color: var(--purple-vibrant) !important; box-shadow: 0 0 0 3px rgba(0,186,44,0.2); }
.input-icon input::placeholder, .input-icon textarea::placeholder { color: #6b7280; font-size: 14px; }

.submit-button {
  width: 100%; padding: 14px 20px;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important; text-decoration: none; border-radius: var(--radius) !important; border: none;
  cursor: pointer; margin-top: 6px !important; font-size: 15px; font-weight: 700;
  font-family: var(--font-sans); letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
}
.submit-button:hover { background: var(--primary-dark) !important; }
.submit-button:active { transform: scale(0.98); }

input.submit-button.gerar-pix,
input.submit-button.dados,
input.submit-button.senha,
input.submit-button.contato,
input.submit-button.saque,
button.submit-button.BotaoCopiaPix,
input.submit-button.bonus { margin-top: 10px !important; }

.msg-deposito, .msg-aposta, .msg-retirada { width: 100%; text-align: center; margin-top: 16px; }
.msg-deposito p, .msg-aposta p, .msg-retirada p { margin-top: 4px; font-size: 12px; color: var(--text-secondary) !important; }
.msg-deposito strong, .msg-aposta strong, .msg-retirada strong { color: var(--purple-soft) !important; }

.saldofomP, .RaspadinhafomP { font-size: 14px; margin-bottom: 5px; display: block; text-align: center; color: #c8c8e0 !important; }
.saldofomP strong, .RaspadinhafomP strong { color: var(--purple-soft) !important; }

#alerta-deposito, #alerta-retirada, #alerta-dados, #alerta-senha, #alerta-contato, #alerta-afiliados, #alerta-bonus, #alerta-raspadinha {
  width: 100%; margin-top: -10px; display: none; font-size: 14px;
}
.alertanao { width: 100%; color: #ef4444; text-align: center; display: block; cursor: pointer; line-height: 24px; }
.alertasim { width: 100%; color: var(--purple-soft); text-align: center; display: block; cursor: pointer; line-height: 24px; }

.pix-container p { font-size: 14px; color: #fff; }
.pix-container img { width: 150px; height: 150px; padding: 5px; border: 1px solid var(--purple-vibrant); display: block; margin: 0 auto 20px; border-radius: 8px; }
#pixLink::selection { background: var(--purple-vibrant); color: #fff; }

/* ===== PIX MODAL BETUXO ===== */
.pix-modal-betuxo { text-align: center; padding: 28px 24px !important; max-width: 420px; }
.pix-title { font-size: 28px; font-weight: 900; font-style: italic; color: #fff; margin: 0 0 8px; letter-spacing: 1px; }
.pix-subtitle { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; margin: 0 0 20px; }
.pix-qr-wrap { background: #fff; border-radius: 12px; padding: 12px; display: inline-block; margin: 0 auto 20px; }
.pix-qr-img { width: 180px !important; height: 180px !important; border: none !important; padding: 0 !important; margin: 0 !important; display: block !important; border-radius: 4px !important; }
.pix-copy-row { display: flex; gap: 0; border-radius: 10px; overflow: hidden; margin: 0 0 16px; border: 1px solid rgba(255,255,255,0.1); }
.pix-code-input { flex: 1; background: rgba(255,255,255,0.06); border: none; color: rgba(255,255,255,0.5); font-size: 12px; padding: 12px 14px; outline: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pix-copy-btn { background: #c8f542; color: #111; border: none; font-size: 13px; font-weight: 800; padding: 12px 20px; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: background 0.2s; }
.pix-copy-btn:hover { background: #d4ff4a; }
.pix-realtime-box { background: linear-gradient(135deg, rgba(200,245,66,0.15), rgba(200,245,66,0.08)); border: 1px solid rgba(200,245,66,0.25); border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; display: flex; align-items: flex-start; gap: 10px; text-align: left; }
.pix-realtime-icon { color: #c8f542; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.pix-realtime-text { display: flex; flex-direction: column; gap: 4px; }
.pix-realtime-text strong { font-size: 12px; font-weight: 800; color: #c8f542; letter-spacing: 0.5px; }
.pix-realtime-text span { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }
.pix-help-btn { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 8px 0; }
.pix-help-btn:hover { color: rgba(255,255,255,0.7); }

.bonus-wrapper { display: flex; justify-content: center; align-items: center; flex-direction: column; margin: 0 auto; max-width: 400px; text-align: left; }
ul.bonus-status { list-style-type: disc; list-style-position: inside; padding: 0; margin: 0; color: #fff; }
ul.bonus-status ul { list-style-type: circle; list-style-position: inside; padding: 0; margin: 5px 0 0 0; }
ul.bonus-status li { color: #c8c8e0; margin: 3px 0; line-height: 1.4; }
ul.bonus-status strong.valor { color: var(--purple-soft); font-weight: bold; }
ul.bonus-status li span.highlight { color: var(--purple-soft); font-weight: bold; }

/* Deposit chips */
.deposito-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 0 18px; }
.dep-chip {
  padding: 13px 6px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  color: #c8c8e0; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.dep-chip:hover { border-color: var(--purple-vibrant); color: #fff; }
.dep-chip.active {
  background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-neon));
  border-color: var(--purple-neon); color: #fff; box-shadow: var(--glow);
}

/* ===== GAME SECTIONS ===== */
.container-conteudo { max-width: 1180px; margin: 10px auto 0; width: 100%; }
.content-box { width: 100%; }

/* ===== GAME SECTIONS (Betuxo style) ===== */
.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; }
.games-row-wrap { flex-wrap: wrap; }

.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-img img.img-fallback { display: none; }
.game-card-img .placeholder-card { display: none; width: 100%; height: 100%; border-radius: 16px; background: linear-gradient(135deg, #0a1a12 0%, #0d3320 50%, #0a1a12 100%); flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center; gap: 6px; }
.game-card-img .placeholder-card.active { display: flex; }
.game-card-img .placeholder-card .ph-icon { font-size: 28px; opacity: 0.3; color: #00BA2C; }
.game-card-img .placeholder-card .ph-name { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7); line-height: 1.2; max-height: 2.4em; overflow: hidden; word-break: break-word; }
.game-card-img .placeholder-card .ph-provider { font-size: 9px; color: rgba(0,186,44,0.6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.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; }

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

/* Legacy compat for .lista-jogos (aovivo-resultados etc) */
.lista-jogos, .aovivo-resultados { background: var(--background); padding: 16px 16px 8px; margin: 0 auto; max-width: 1180px; }
.titulo-lista-jogos, .aovivo-titulo { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; margin: 0 0 12px; color: var(--foreground); gap: 8px; }
.titulo-lista-jogos > span { display: flex; align-items: center; gap: 10px; }
.jogadores-text { margin-left: 4px; }

/* ===== GAME PLAYER INLINE ===== */
.game-player {
  display: none; flex-direction: column;
  height: calc(100vh - 64px - var(--anuncio-h));
  background: #0a0a0f;
}
.game-player.active { display: flex; }
.game-player-header {
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px; height: 44px; min-height: 44px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.game-player-back {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: none; background: rgba(255,255,255,0.06);
  color: #a1a1aa; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.game-player-back:hover { color: #fff; background: rgba(255,255,255,0.12); }
.game-player-title {
  flex: 1; font-size: 15px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-player-fullscreen {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: none; background: rgba(255,255,255,0.06);
  color: #a1a1aa; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.game-player-fullscreen:hover { color: #fff; background: rgba(255,255,255,0.12); }
.game-player-frame { flex: 1; width: 100%; position: relative; background: #000; overflow: hidden; -webkit-overflow-scrolling: touch; }
.game-player-frame iframe { width: 100%; height: 100%; border: none; display: block; -webkit-overflow-scrolling: touch; }
.game-player-frame iframe::-webkit-scrollbar { display: none; }

/* Mobile: player vira overlay fixo de tela cheia (100dvh = altura real, sem competir
   com o scroll da pagina). Assim o iframe do sportsbook rola normal no dedo. */
@media (max-width: 900px) {
  .game-player.active {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;      /* fallback */
    height: 100dvh;     /* altura real do viewport no mobile */
    z-index: 1500;      /* acima da bottom-nav (500) e top-bar (200) */
  }
}

/* ===== LIVE RESULTS ===== */
.online-dot-red { display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: #ef4444; border-radius: 50%; animation: piscarred 1.5s infinite; vertical-align: middle; }
@keyframes piscarred { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.aovivo-resultados { background: var(--bg-card); margin: 16px auto; border-radius: 12px; padding: 16px; border: 1px solid var(--border); }
#aovivo-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.aovivo-entry { padding: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; color: white; display: flex; align-items: center; width: 100%; }
.aovivo-entry img { width: 40px; height: 40px; border-radius: 6px; }
.aovivo-info { margin-left: 8px; font-size: 13px; }
.aovivo-amount { color: var(--purple-soft); font-weight: bold; }

/* ===== SPORT BUTTON ===== */
.botao-esporte { width: 200px; height: 60px; background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-neon)); border-bottom-right-radius: 25px; overflow: hidden; display: flex; }
.botao-esporte .botao-esporte-card { width: 100%; height: 100%; }
.botao-esporte .botao-esporte-btn { width: 100%; height: 100%; background: transparent; border: none; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: 'Rajdhani', sans-serif; }
.botao-esporte-btn i { margin-right: 8px; }
.botao-esporte:hover { filter: brightness(1.15); }

/* ===== TERMS DRAWER ===== */
.sidebartermo {
  position: fixed; left: auto !important; right: -440px !important; top: 0;
  width: 380px !important; max-width: 92vw; height: 100%;
  background: var(--bg-card) !important; transition: right 0.3s ease-in-out !important;
  border-left: 1px solid var(--border); box-shadow: -6px 0 32px rgba(0,0,0,0.55) !important;
  z-index: 100002 !important;
}
.sidebartermo.show { left: auto !important; right: 0 !important; }
.sidebartermo-content { position: absolute; top: 52px !important; bottom: 0; overflow-y: auto; padding: 4px 22px 30px !important; text-align: left !important; font-size: 14px !important; color: #c8c8e0 !important; }
.sidebartermo-content::-webkit-scrollbar { width: 6px; }
.sidebartermo-content::-webkit-scrollbar-thumb { background: var(--purple-vibrant) !important; border-radius: 3px; }
.sidebartermo-content::-webkit-scrollbar-track { background: var(--bg-base) !important; }
.close-sidebartermo { position: absolute; top: 14px; right: 14px; font-size: 22px; cursor: pointer; color: var(--text-secondary) !important; }
.close-sidebartermo:hover { color: #fff !important; }

.sobre-nos { color: #c8c8e0; }
.sobre-nos h3 { color: #fff; font-size: 19px; font-weight: 800; margin: 6px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sobre-nos h4 { color: var(--purple-soft); font-size: 14.5px; font-weight: 700; margin: 20px 0 7px; }
.sobre-nos p { color: #aeb2d0; font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; text-align: left; }
.sobre-nos ul { padding-left: 18px; margin: 0 0 12px; }
.sobre-nos li { color: #aeb2d0; font-size: 13.5px; line-height: 1.7; margin-bottom: 6px; }
.sobre-nos a { color: var(--purple-soft); text-decoration: none; }
.sobre-nos strong { color: #fff; }

/* ===== MOBILE SALDO BUTTON (top bar) ===== */
.mobile-saldo-btn {
  display: none; align-items: center; gap: 6px;
  background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px 12px; cursor: pointer; transition: background 0.2s;
}
.mobile-saldo-btn:hover { background: rgba(255,255,255,0.08); }
.msaldo-label { font-size: 10px; font-weight: 700; color: var(--muted-foreground); letter-spacing: 0.05em; }
.msaldo-val { font-size: 14px; font-weight: 800; color: var(--foreground); }
.msaldo-coin { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); }
.msaldo-coin i { font-size: 12px; color: var(--primary-foreground); }
.desktop-only { display: inline-flex; }

/* ===== SIDEBAR MENU (mobile) — clone da left-sidebar ===== */
.sidebar {
  height: 100%; width: 280px; position: fixed; top: 0; left: -340px;
  background: var(--bg-base, #080c11); overflow-x: hidden; overflow-y: auto;
  transition: left 0.3s ease; padding: 0;
  box-shadow: 6px 0 32px rgba(0,0,0,0.8); z-index: 1100;
  display: flex; flex-direction: column;
}
.sidebar.show { left: 0; }

.sb-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 12px 10px; border-bottom: 1px solid var(--border, #1a1c24);
  position: sticky; top: 0; background: var(--bg-base, #080c11); z-index: 2;
}
.sb-logo { flex-shrink: 0; }
.sb-logo img { height: 28px; width: auto; }
.sb-tabs { display: flex; gap: 6px; }
.sb-tab {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px;
  border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none;
  color: var(--muted-foreground, #666d80); background: transparent;
  border: none; cursor: pointer; transition: all 0.2s;
}
.sb-tab.active { background: var(--primary); color: #fff; }
.sb-tab i { font-size: 11px; }
.sb-close {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: transparent; color: #888; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color 0.2s; margin-left: auto; flex-shrink: 0;
}
.sb-close:hover { color: #fff; }

.sb-body { padding: 8px 0; flex: 1; }

.sb-banner-img {
  display: block; border-radius: 8px; overflow: hidden; margin: 2px 8px;
  text-decoration: none; cursor: pointer; transition: filter 0.2s;
}
.sb-banner-img:hover { filter: brightness(1.12); }
.sb-banner-img img { width: 100%; height: auto; display: block; border-radius: 8px; }

.sb-section-label {
  padding: 8px 16px 4px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #666d80;
}
.sb-nav { list-style: none; padding: 0 8px; margin: 0; }
.sb-nav li a {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  border-radius: 8px; color: #e1e1e6; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.15s;
}
.sb-nav li a:hover { background: rgba(255,255,255,0.04); }
.sb-nav li a i { width: 20px; text-align: center; opacity: 0.7; }

/* ===== KYC MODAL ===== */
#modalKyc .kyc-intro { color: #c8c8e0; font-size: 13px; line-height: 1.6; margin-bottom: 16px; text-align: center; }
#modalKyc .kyc-msg { color: #c8c8e0; font-size: 14px; line-height: 1.6; text-align: center; padding: 10px 0; }
#modalKyc .kyc-msg i { font-size: 26px; display: block; margin-bottom: 10px; color: #f59e0b; }
#modalKyc .kyc-msg.ok i { color: #22c55e; }
#modalKyc .kyc-msg.reprovado { color: #fca5a5; }
#modalKyc .kyc-msg.reprovado i { color: #ef4444; }
.kyc-file {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px dashed var(--border); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 12px; cursor: pointer; color: #c8c8e0;
  font-size: 14px; transition: all 0.2s;
}
.kyc-file:hover { border-color: var(--purple-vibrant); background: rgba(0,186,44,0.08); }
.kyc-file i:first-child { color: var(--purple-soft); font-size: 18px; }
.kyc-file span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kyc-file i:last-child { color: #6b7280; font-size: 14px; }

/* ===== SCRATCH CARD ===== */
#raspadinha-container {
  position: relative; width: 100%; aspect-ratio: 1; margin: 0 auto;
  border: 2px solid var(--border); background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-neon)); border-radius: 12px;
}
#raspadinha-numeros {
  position: absolute; width: 100%; height: 100%; display: grid;
  grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  font-size: 24px; font-weight: bold; color: #fff; z-index: 0;
}
.raspadinha-numero { display: flex; align-items: center; justify-content: center; border: 0.5px solid rgba(255,255,255,0.15); }
#raspadinha-canvas { position: absolute; inset: 0; z-index: 1; cursor: pointer; border-radius: 12px; width: 100%; height: 100%; }
#raspadinha-resultado { margin: 10px 0; font-size: 15px; font-weight: bold; color: #34d399; text-align: center; }

/* ===== PAGES: EXTRATO / AFILIADOS ===== */
.extrato-table-container, .afiliado-table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 20px; }
.extrato-table-container::-webkit-scrollbar, .afiliado-table-container::-webkit-scrollbar { display: none; }
.container-conteudo .afiliado-titulo { margin-top: 40px; }
.afiliado-info {
  background: var(--bg-card); padding: 20px; border-radius: 12px;
  color: #c8c8e0; text-align: justify; margin-bottom: 24px; border: 1px solid var(--border);
}
.afiliado-info strong { color: var(--purple-soft); }
.afiliado-info .afiliado-content-link { margin-top: 20px; margin-bottom: 10px; }
#link-afiliado::selection { background: var(--purple-vibrant); color: #fff; }

.extrato-titulo, .afiliado-titulo {
  font-size: 20px; font-weight: 700; color: var(--purple-soft);
  margin-bottom: 10px; text-align: left; padding-left: 5px; font-family: 'Rajdhani', sans-serif;
}
.extrato-table, .afiliado-table {
  width: 100%; border-collapse: collapse; min-width: 700px;
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
}
.extrato-table th, .afiliado-table th, .extrato-table td, .afiliado-table td {
  padding: 12px 15px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); color: #c8c8e0;
}
.extrato-table th, .afiliado-table th { background: var(--bg-card); font-weight: 700; color: var(--text-secondary); }
.extrato-table td.tipo { color: var(--purple-soft); font-weight: 600; }
.extrato-table td.valor, .afiliado-table td.valor { color: #34d399; font-weight: 700; }
.afiliado-table td button.resgatar {
  display: inline-block; padding: 6px 12px; border-radius: 6px;
  background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-neon));
  color: #fff; border: none; cursor: pointer; font-weight: 600; transition: all 0.2s;
}
.afiliado-table td button.resgatar:hover { filter: brightness(1.15); }

.extrato-pagination { text-align: center; margin-top: 20px; }
.pagination-btn {
  display: inline-block; padding: 8px 14px; margin: 0 4px;
  background: var(--bg-card); color: var(--text-secondary); border-radius: 8px;
  text-decoration: none; font-size: 14px; border: 1px solid var(--border); transition: all 0.2s;
}
.pagination-btn:hover { border-color: var(--purple-vibrant); color: #fff; }
.pagination-btn.active { background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-neon)); color: #fff; border-color: var(--purple-neon); font-weight: bold; }

/* ===== FOOTER ===== */
.footer-line { border-top: 1px solid var(--border); margin: 24px auto; max-width: 1100px; }
.footer { color: var(--foreground); width: 100%; padding: 40px 24px 20px; background: var(--background) !important; border-top: 1px solid var(--border); }
.footer .container-footer {
  max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start;
}
.footer-column { min-width: 0; }
.footer-column:first-child { display: flex; justify-content: center; align-items: center; }
.footer-column h4 { font-size: 11px; margin-bottom: 14px; color: var(--muted-foreground); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.footer-column ul { list-style: none; padding: 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); }
.footer img { max-width: 140px; }
.footer img.pix-logo { max-width: 100px !important; opacity: 0.5; transition: opacity 0.2s; }
.footer img.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 auto; max-width: 1100px; border: none; }
.footer-text { max-width: 1100px; margin: 0 auto; font-size: 12px; color: var(--muted-foreground); line-height: 1.8; padding: 0 20px; 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 { max-width: 1100px; margin: 20px auto; text-align: center; }
.footer-centered-img a { display: inline-block; }
.selo-img { max-width: 120px !important; height: auto !important; opacity: 0.4; cursor: pointer; transition: all 0.2s; }
.footer-centered-img a:hover .selo-img { opacity: 1; }
.footer-bottom { max-width: 1100px; margin: 20px auto 0; text-align: center; font-size: 12px; color: var(--muted-foreground); 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); }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .left-sidebar { width: 220px; }
  .page-layout .main-content { margin-left: 220px; }
}

@media (max-width: 900px) {
  .page-layout .main-content { margin-left: 0; }
  .left-sidebar { display: none; width: 260px; top: calc(56px + var(--anuncio-h)); height: calc(100vh - 56px - var(--anuncio-h)); z-index: 200; box-shadow: 4px 0 24px rgba(0,0,0,0.5); }
  .left-sidebar.mobile-open { display: flex; flex-direction: column; }
  .top-bar .hamburger-btn { display: flex; }
  .footer .container-footer { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer { padding: 26px 16px 80px; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 60px; }
}

@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 8px; }
  .buttons { gap: 8px; }
  .top-bar .button { font-size: 12px; padding: 8px 12px; }
  .content-box { width: calc(100% - 20px); margin: 20px auto; }
  .modal { width: calc(100% - 40px); }

  .lista-jogos { padding: 10px 8px; }
  .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; }

  .aovivo-resultados { margin-top: -10px; }

  .botao-esporte { width: 70%; height: 45px; position: fixed; z-index: 2; border-radius: 0 25px 25px 0; }
  .botao-esporte .botao-esporte-btn { font-size: 14px; }
}

@media (max-width: 700px) {
  .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) {
  .top-bar { padding: 0 12px !important; height: 56px; }
  .top-bar .nav-tabs { display: none; }
  .header-balance-logged, .top-bar .lightning-btn { display: none; }
  .top-bar .icon-btn { display: none; }
  .desktop-only { display: none !important; }
  .mobile-saldo-btn { display: flex; }
  .user-header-info { display: none; }
  .user-header { padding: 4px; gap: 0; }
  .logo img { height: 26px !important; }
  .category-tabs { padding: 8px 8px; gap: 4px; }
  .cat-tab { min-width: 56px; font-size: 10px; padding: 4px 6px; }
  .cat-icon-circle { width: 56px; height: 56px; }
  .cat-icon-circle .cat-emoji { font-size: 20px; }
  .footer .container-footer { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .footer-column { display: flex; flex-direction: column; align-items: center; }
  .social-icons { justify-content: center; }
  .footer-bottom span { display: none; }
  .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; }
}

/* ===== PROVEDORES PAGE ===== */
.provedores-page { padding: 16px; max-width: 1180px; margin: 0 auto; }
.provedores-header { text-align: center; margin-bottom: 20px; }
.provedores-header h2 { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.provedores-header h2 i { color: #EF4444; margin-right: 8px; }
.provedores-header p { color: #888; font-size: 13px; margin: 0; }
.prov-voltar { display: inline-flex; align-items: center; gap: 6px; color: #EF4444; text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.prov-voltar:hover { color: #DC2626; }
.prov-count { display: block; color: #888; font-size: 13px; margin-top: 4px; }

.provedores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  padding: 0 4px;
}
.provedor-card {
  background: linear-gradient(145deg, #1a1a2e, #16162a);
  border: 1px solid rgba(0,186,44,0.15);
  border-radius: 14px;
  padding: 18px 14px 14px;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.provedor-card:hover {
  border-color: #EF4444;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,186,44,0.2);
}
.provedor-logo {
  width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.provedor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.provedor-name-fallback {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  word-break: break-word;
}
.provedor-info { display: flex; flex-direction: column; align-items: center; }
.provedor-qty { color: #aaa; font-size: 12px; }
.provedor-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  background: #EF4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  cursor: pointer;
}
.provedor-btn:hover { background: #DC2626; }

/* jogos do provedor */
.prov-jogos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  padding: 0;
}
.prov-jogos-grid .game-card { width: auto; }
.prov-voltar { color: var(--primary); text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.prov-voltar:hover { text-decoration: underline; }
.prov-count { color: rgba(255,255,255,0.4); font-size: 13px; }

@media (max-width: 480px) {
  .provedores-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prov-jogos-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .provedor-card { padding: 14px 10px 12px; }
  .provedor-logo { width: 60px; height: 38px; }
}

/* ===== NEW DEPOSIT MODAL ===== */
.dep-modal-new { padding: 24px 22px !important; }
.dep-header { margin-bottom: 16px; }
.dep-header h2 { text-align: left !important; font-size: 24px !important; font-weight: 900 !important; letter-spacing: 0.04em; margin: 0 0 4px !important; }
.dep-accent { color: #00BA2C; font-weight: 900; margin-right: 4px; }
.dep-header p { color: #888; font-size: 13px; margin: 0; }

.dep-valor-box {
  display: flex; align-items: center; gap: 10px;
  background: #1a1a1e; border: 1px solid #333; border-radius: 14px;
  padding: 18px 20px; margin-bottom: 16px;
}
.dep-rs { color: #888; font-size: 16px; font-weight: 700; }
.dep-valor-input {
  background: transparent !important; border: none !important; outline: none !important;
  color: #fff !important; font-size: 28px !important; font-weight: 800 !important;
  padding: 0 !important; min-height: auto !important; width: 100%;
  font-family: 'Inter', sans-serif;
}
.dep-valor-input::placeholder { color: #444; }
.dep-valor-input:focus { box-shadow: none !important; }

.dep-chips-new {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.dep-chip-new {
  position: relative; padding: 12px 18px;
  background: #1a1a1e; border: 1px solid #333; border-radius: 12px;
  color: #ccc; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.dep-chip-new:hover { border-color: #00BA2C; color: #fff; }
.dep-chip-new.active { background: #00BA2C; color: #fff; border-color: #00BA2C; }
.chip-badge {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.chip-badge.popular { background: #00BA2C; color: #fff; }
.chip-badge.top { background: #ef4444; color: #fff; }

.dep-user-info {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #1a1a1e; border-radius: 12px;
  margin-bottom: 16px;
}
.dep-user-info i { color: #555; font-size: 20px; }
.dep-user-info div { display: flex; flex-direction: column; }
.dep-user-name { color: #888; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; }
.dep-user-cpf { color: #666; font-size: 13px; }

.dep-cupom-row {
  display: flex; gap: 0; margin-bottom: 14px;
  background: rgba(0,186,44,0.15); border-radius: 12px; overflow: hidden;
  border: 2px solid #00BA2C;
}
.dep-cupom-input {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; background: transparent;
}
.dep-cupom-input i { color: #00BA2C; font-size: 16px; }
.dep-cupom-input input {
  background: transparent !important; border: none !important;
  color: #fff !important; font-size: 14px !important; font-weight: 600;
  padding: 14px 0 !important; min-height: auto !important; width: 100%;
  outline: none !important;
}
.dep-cupom-input input::placeholder { color: #888; }
.dep-cupom-input input:focus { box-shadow: none !important; }
.dep-cupom-btn {
  padding: 14px 22px; background: #00BA2C; border: none;
  color: #fff; font-size: 14px; font-weight: 900; cursor: pointer;
  font-family: 'Inter', sans-serif; letter-spacing: 0.04em;
  transition: background 0.2s;
}
.dep-cupom-btn:hover { background: #009624; }
.dep-cupom-btn.cupom-ativado { background: #1a6b2e; cursor: default; opacity: 0.85; }

.dep-gerar-pix {
  width: 100%; padding: 16px 0;
  background: linear-gradient(135deg, #00BA2C, #009624);
  border: none; border-radius: 14px;
  color: #fff; font-size: 16px; font-weight: 800; cursor: pointer;
  font-family: 'Inter', sans-serif; letter-spacing: 0.06em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
}
.dep-gerar-pix:hover { filter: brightness(1.15); }
.dep-gerar-pix i { font-size: 18px; color: #fff; }

.dep-ajuda {
  text-align: center; padding: 14px 0 4px; color: #666; font-size: 13px;
  font-weight: 600; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
.dep-ajuda:hover { color: #888; }
