/* ============================================================
   HACKER BET — Design System
   Preto/Grafite + Verde Neon + Prata Cromado
   ============================================================ */

:root{
  /* Base */
  --bg-void:#05070a;
  --bg-black:#0a0d10;
  --bg-graphite:#101418;
  --bg-graphite-2:#151a1f;
  --bg-card:#12161b;
  --bg-card-2:#171c22;
  --bg-elevated:#1c2229;

  --border-subtle: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --border-neon: rgba(57,255,20,0.35);

  /* Verde neon */
  --neon:#39ff14;
  --neon-2:#76ff03;
  --neon-deep:#1fae0a;
  --neon-glow: rgba(57,255,20,0.55);
  --neon-glow-soft: rgba(57,255,20,0.22);

  /* Prata cromado */
  --silver:#e7ebf0;
  --silver-2:#aeb6c2;
  --silver-3:#7a828e;
  --chrome-grad: linear-gradient(135deg,#f4f6f9 0%, #b9c1cc 28%, #7d8590 55%, #c7cdd6 78%, #f0f2f5 100%);

  --text-hi:#f6f8fa;
  --text-mid:#aab1bb;
  --text-low:#6d7580;

  --danger:#ff4d5e;
  --warning:#ffc048;
  --info:#3aa7ff;
  --gold:#ffd166;

  --radius-xl:24px;
  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:10px;
  --radius-pill:999px;

  --shadow-card: 0 10px 30px rgba(0,0,0,0.45);
  --shadow-lift: 0 18px 40px rgba(0,0,0,0.55);

  --header-h:64px;
  --bottomnav-h:68px;
  --sidebar-w:260px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  background: radial-gradient(circle at 15% -10%, rgba(57,255,20,0.07), transparent 40%),
              radial-gradient(circle at 100% 0%, rgba(120,140,160,0.06), transparent 45%),
              var(--bg-void);
  color: var(--text-hi);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height:100vh;
  letter-spacing:0.1px;
}
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
img{ max-width:100%; display:block; }
input, select, textarea{ font-family:inherit; }

::selection{ background: var(--neon-glow-soft); }

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
}

/* ---------------- Scrollbar ---------------- */
::-webkit-scrollbar{ width:9px; height:9px; }
::-webkit-scrollbar-track{ background:var(--bg-black); }
::-webkit-scrollbar-thumb{ background:var(--bg-elevated); border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:var(--silver-3); }

/* ============================================================
   HEADER (App Shell)
   ============================================================ */
.app-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:var(--header-h);
  display:flex; align-items:center;
  background: rgba(10,13,16,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom:1px solid var(--border-subtle);
}
.app-header .container{ display:flex; align-items:center; justify-content:space-between; height:100%; }

.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{
  width:38px; height:38px; border-radius:10px;
  object-fit:cover;
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 16px rgba(57,255,20,0.28);
  background:#000;
}
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-text b{
  font-size:15px; font-weight:800; letter-spacing:0.4px;
  color: var(--silver);
}
.brand-text b em{ color:var(--neon); font-style:normal; }
.brand-text span{ font-size:9.5px; letter-spacing:1.6px; color:var(--text-low); text-transform:uppercase; margin-top:2px; }

.nav-desktop{ display:flex; align-items:center; gap:4px; }
.nav-desktop a{
  padding:9px 14px; border-radius:var(--radius-pill);
  font-size:13.5px; font-weight:600; color:var(--text-mid);
  transition: all .2s ease;
  border:1px solid transparent;
}
.nav-desktop a:hover{ color:var(--text-hi); background:rgba(255,255,255,0.04); }
.nav-desktop a.active{
  color:#04140a; background: linear-gradient(135deg, var(--neon-2), var(--neon));
  box-shadow: 0 0 18px var(--neon-glow-soft);
}

.header-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:38px; height:38px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: var(--bg-card); border:1px solid var(--border-subtle);
  color:var(--text-mid); font-size:16px;
  transition: all .2s ease;
}
.icon-btn:hover{ border-color:var(--border-neon); color:var(--neon); }
.menu-toggle{ display:none; }

/* ============================================================
   BOTTOM NAV (Mobile)
   ============================================================ */
.bottom-nav{
  position:fixed; bottom:0; left:0; right:0; z-index:1000;
  height:var(--bottomnav-h);
  background: rgba(10,13,16,0.96);
  backdrop-filter: blur(14px);
  border-top:1px solid var(--border-subtle);
  display:flex; align-items:center; justify-content:space-around;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a{
  display:flex; flex-direction:column; align-items:center; gap:3px;
  font-size:10px; color:var(--text-low); font-weight:700;
  padding:6px 2px; border-radius:12px; position:relative;
  flex:1 1 0; min-width:0; max-width:84px;
  white-space:nowrap;
}
.bottom-nav a .bn-ico{ font-size:19px; }
.bottom-nav a.active{ color: var(--neon); }
.bottom-nav a.active .bn-ico{ filter: drop-shadow(0 0 8px var(--neon-glow)); }
.bottom-nav a.bn-cta{
  transform: translateY(-14px);
}
.bottom-nav a.bn-cta .bn-ico{
  width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--neon-2), var(--neon));
  color:#04140a; font-size:20px;
  box-shadow: 0 6px 22px var(--neon-glow);
}

/* ============================================================
   DRAWER (Mobile menu lateral)
   ============================================================ */
.drawer-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,0.6);
  z-index:1200; opacity:0; visibility:hidden; transition: all .25s ease;
}
.drawer-overlay.open{ opacity:1; visibility:visible; }
.drawer{
  position:fixed; top:0; right:-320px; width:300px; height:100%;
  background: var(--bg-graphite); z-index:1300;
  border-left:1px solid var(--border-subtle);
  padding:20px; transition: right .28s ease;
  overflow-y:auto;
}
.drawer.open{ right:0; }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.drawer h4{ font-size:11px; text-transform:uppercase; letter-spacing:1.4px; color:var(--text-low); margin:18px 0 8px; }
.drawer a{ display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:12px; color:var(--text-mid); font-weight:600; font-size:14px; }
.drawer a:hover{ background:rgba(255,255,255,0.05); color:var(--text-hi); }
.drawer a.active{ background: rgba(57,255,20,0.1); color: var(--neon); }

/* ============================================================
   LAYOUT SHELLS
   ============================================================ */
.page{
  padding-top: calc(var(--header-h) + 18px);
  padding-bottom: calc(var(--bottomnav-h) + 30px);
  min-height:100vh;
}
.page-narrow{ max-width:480px; margin:0 auto; }

/* Docs / Admin shells with sidebar */
.shell{
  display:flex;
  padding-top: var(--header-h);
  min-height:100vh;
}
.sidebar{
  width: var(--sidebar-w); flex-shrink:0;
  border-right:1px solid var(--border-subtle);
  background: rgba(255,255,255,0.015);
  padding:22px 14px;
  position:fixed; top:var(--header-h); bottom:0; left:0; overflow-y:auto;
}
.sidebar h5{ font-size:10.5px; text-transform:uppercase; letter-spacing:1.6px; color:var(--text-low); padding:14px 12px 6px; }
.sidebar a{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; color:var(--text-mid); font-size:13.5px; font-weight:600; margin-bottom:2px; }
.sidebar a:hover{ background:rgba(255,255,255,0.05); color:var(--text-hi); }
.sidebar a.active{ background:linear-gradient(135deg, rgba(57,255,20,0.16), rgba(57,255,20,0.04)); color:var(--neon); border:1px solid var(--border-neon); }
.shell-content{ margin-left:var(--sidebar-w); flex:1; padding:28px 32px 60px; max-width:980px; }

@media (max-width: 980px){
  .sidebar{ display:none; }
  .shell-content{ margin-left:0; padding:20px 16px 90px; }
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
.eyebrow{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:800; letter-spacing:1.6px; text-transform:uppercase;
  color: var(--neon); background: rgba(57,255,20,0.09);
  border:1px solid var(--border-neon); padding:6px 12px; border-radius:var(--radius-pill);
}
h1,h2,h3,h4{ font-weight:800; letter-spacing:-0.3px; margin:0; color:var(--text-hi); }
h1{ font-size:32px; line-height:1.15; }
h2{ font-size:24px; }
h3{ font-size:18px; }
p{ color:var(--text-mid); line-height:1.6; margin:0; }
.muted{ color:var(--text-low); }
.text-neon{ color:var(--neon); }
.text-silver{ color:var(--silver); }

.section-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; gap:10px; }
.section-head .see-all{ font-size:12.5px; font-weight:700; color:var(--text-mid); }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:var(--radius-pill);
  font-size:14.5px; font-weight:800; border:1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  white-space:nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn:disabled{ cursor:not-allowed; opacity:0.55; box-shadow:none; }
.btn:disabled:active{ transform:none; }
.btn-block{ width:100%; }
.btn-sm{ padding:8px 14px; font-size:12.5px; border-radius:12px; }

.btn-primary{
  background: linear-gradient(135deg, var(--neon-2), var(--neon) 60%, var(--neon-deep));
  color:#04160a;
  box-shadow: 0 8px 26px var(--neon-glow-soft), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover{ box-shadow: 0 10px 34px var(--neon-glow), inset 0 1px 0 rgba(255,255,255,0.4); }

.btn-secondary{
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border:1px solid var(--border-strong);
  color: var(--silver);
}
.btn-secondary:hover{ border-color: var(--silver-2); background: rgba(255,255,255,0.06); }

.btn-chrome{
  background: var(--chrome-grad); color:#20242a; border:1px solid rgba(255,255,255,0.6);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-ghost{ background:transparent; color:var(--text-mid); border:1px solid var(--border-subtle); }
.btn-ghost:hover{ color:var(--text-hi); border-color:var(--border-strong); }

.btn-danger{ background: linear-gradient(135deg, #ff6b6b, var(--danger)); color:#1a0303; }

.btn-icon{ width:44px; height:44px; padding:0; border-radius:14px; }

/* ============================================================
   CARDS
   ============================================================ */
.card{
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border:1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding:18px;
  box-shadow: var(--shadow-card);
}
.card-hover{ transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card-hover:hover{ transform: translateY(-3px); border-color: var(--border-neon); box-shadow: var(--shadow-lift), 0 0 24px rgba(57,255,20,0.1); }

.card-glass{
  background: rgba(255,255,255,0.03);
  border:1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding:18px;
  backdrop-filter: blur(6px);
}

.stat-card{ display:flex; flex-direction:column; gap:6px; }
.stat-card .stat-label{ font-size:11.5px; color:var(--text-low); font-weight:700; text-transform:uppercase; letter-spacing:0.6px; }
.stat-card .stat-value{ font-size:24px; font-weight:800; color:var(--text-hi); }
.stat-card .stat-delta{ font-size:12px; font-weight:700; }
.stat-delta.up{ color: var(--neon); }
.stat-delta.down{ color: var(--danger); }

/* ============================================================
   BADGES
   ============================================================ */
.badge{
  display:inline-flex; align-items:center; gap:5px;
  font-size:10.5px; font-weight:800; letter-spacing:0.6px; text-transform:uppercase;
  padding:4px 9px; border-radius:var(--radius-pill);
}
.badge-up{ background: rgba(57,255,20,0.14); color: var(--neon); border:1px solid var(--border-neon); }
.badge-hot{ background: linear-gradient(135deg,#ff8a00,#ff3d3d); color:#fff; }
.badge-pro{ background: var(--chrome-grad); color:#20242a; }
.badge-live{ background: rgba(255,77,94,0.16); color:#ff6b78; border:1px solid rgba(255,77,94,0.4); }
.badge-live .dot{ width:6px; height:6px; border-radius:50%; background:#ff4d5e; box-shadow:0 0 8px #ff4d5e; animation: pulse 1.4s infinite; }
.badge-info{ background: rgba(58,167,255,0.14); color: var(--info); border:1px solid rgba(58,167,255,0.35); }
.badge-neutral{ background: rgba(255,255,255,0.06); color: var(--text-mid); }

@keyframes pulse{ 0%{opacity:1;} 50%{opacity:0.35;} 100%{opacity:1;} }

/* ============================================================
   FORMS
   ============================================================ */
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:12.5px; font-weight:700; color:var(--text-mid); margin-bottom:7px; }
.field .input-wrap{ position:relative; }
.field input, .field select, .field textarea{
  width:100%; background: var(--bg-card); border:1px solid var(--border-subtle);
  color:var(--text-hi); padding:13px 14px; border-radius:var(--radius-md);
  font-size:14.5px; outline:none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder{ color: var(--text-low); }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--border-neon); box-shadow: 0 0 0 3px rgba(57,255,20,0.12);
}
.field .input-icon{ position:absolute; right:14px; top:50%; transform:translateY(-50%); color:var(--text-low); font-size:15px; }
.field-hint{ font-size:11.5px; color:var(--text-low); margin-top:6px; }
.checkbox-row{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text-mid); }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid{ display:grid; gap:14px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width:900px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; } }

.flex{ display:flex; }
.flex-col{ flex-direction:column; }
.items-center{ align-items:center; }
.justify-between{ justify-content:space-between; }
.gap-8{ gap:8px; } .gap-10{ gap:10px; } .gap-14{ gap:14px; } .gap-18{ gap:18px; }

.mt-8{margin-top:8px;} .mt-14{margin-top:14px;} .mt-18{margin-top:18px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;}
.mb-8{margin-bottom:8px;} .mb-14{margin-bottom:14px;} .mb-18{margin-bottom:18px;} .mb-24{margin-bottom:24px;}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; border-radius: var(--radius-xl); overflow:hidden;
  padding:34px 22px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(57,255,20,0.16), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(120,140,160,0.1), transparent 55%),
    linear-gradient(160deg, var(--bg-graphite-2), var(--bg-black));
  border:1px solid var(--border-subtle);
}
.hero-glow-line{
  position:absolute; top:0; left:10%; right:10%; height:1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity:0.6;
}
.hero-emblem{
  width:100px; margin:0 auto 14px; display:block;
  filter: drop-shadow(0 0 30px rgba(57,255,20,0.35));
}

/* ============================================================
   TABLES (Admin)
   ============================================================ */
.table-wrap{ overflow-x:auto; border-radius:var(--radius-lg); border:1px solid var(--border-subtle); }
table.data-table{ width:100%; border-collapse:collapse; min-width:640px; }
table.data-table th{
  text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.8px;
  color:var(--text-low); padding:13px 16px; background: rgba(255,255,255,0.02);
  border-bottom:1px solid var(--border-subtle); white-space:nowrap;
}
table.data-table td{ padding:14px 16px; font-size:13.5px; color:var(--text-mid); border-bottom:1px solid var(--border-subtle); }
table.data-table tr:last-child td{ border-bottom:none; }
table.data-table tr:hover td{ background: rgba(255,255,255,0.02); color:var(--text-hi); }
.avatar-sm{ width:30px; height:30px; border-radius:50%; background:var(--chrome-grad); display:inline-flex; align-items:center; justify-content:center; font-weight:800; color:#222; font-size:12px; }

/* ============================================================
   PROGRESS
   ============================================================ */
.progress{ height:9px; background:rgba(255,255,255,0.06); border-radius:var(--radius-pill); overflow:hidden; }
.progress > span{ display:block; height:100%; border-radius:var(--radius-pill); background: linear-gradient(90deg, var(--neon-deep), var(--neon)); box-shadow: 0 0 12px var(--neon-glow-soft); }

/* ============================================================
   TABS (inspirado no painel de referência)
   ============================================================ */
.tabbar{ display:flex; gap:6px; overflow-x:auto; padding:4px; background: var(--bg-graphite); border-radius:var(--radius-pill); border:1px solid var(--border-subtle); }
.tabbar button{
  flex-shrink:0; border:none; background:transparent; color:var(--text-mid);
  font-size:12.5px; font-weight:700; padding:9px 16px; border-radius:var(--radius-pill);
  transition: all .18s ease;
}
.tabbar button.active{ background:#fff; color:#111; }
.tabbar button:not(.active):hover{ color:var(--text-hi); }

/* ============================================================
   TOAST
   ============================================================ */
.toast{
  position:fixed; bottom: calc(var(--bottomnav-h) + 16px); left:50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated); border:1px solid var(--border-neon);
  color:var(--text-hi); padding:13px 20px; border-radius:var(--radius-pill);
  font-size:13.5px; font-weight:700; box-shadow: var(--shadow-lift), 0 0 20px var(--neon-glow-soft);
  z-index:3000; opacity:0; pointer-events:none; transition: all .3s ease;
  display:flex; align-items:center; gap:8px; white-space:nowrap;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.app-footer{
  border-top:1px solid var(--border-subtle); padding:26px 0 20px; margin-top:30px;
  text-align:center; color:var(--text-low); font-size:12px;
}
.app-footer .foot-links{ display:flex; justify-content:center; gap:16px; margin-bottom:12px; flex-wrap:wrap; }
.app-footer a{ color:var(--text-mid); font-weight:600; font-size:12.5px; }
.app-footer a:hover{ color:var(--neon); }

/* ============================================================
   Responsividade base
   ============================================================ */
@media (min-width: 981px){
  .bottom-nav{ display:none; }
  .page{ padding-bottom:40px; }
}
@media (max-width: 980px){
  .nav-desktop{ display:none; }
  .menu-toggle{ display:flex; }
}
@media (max-width: 560px){
  h1{ font-size:26px; }
  .container{ padding:0 14px; }
}

/* Login/cadastro centered shell */
.auth-shell{
  min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px 16px;
  background:
    radial-gradient(circle at 20% 10%, rgba(57,255,20,0.09), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(150,160,175,0.07), transparent 45%),
    var(--bg-void);
}
.auth-card{ width:100%; max-width:420px; }
.auth-logo{ width:78px; margin:0 auto 14px; display:block; filter: drop-shadow(0 0 26px rgba(57,255,20,0.4)); }
.divider-or{ display:flex; align-items:center; gap:10px; color:var(--text-low); font-size:12px; margin:18px 0; }
.divider-or::before, .divider-or::after{ content:""; flex:1; height:1px; background:var(--border-subtle); }

/* Game card */
.game-card{ position:relative; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border-subtle); background: var(--bg-card); }
.game-card .game-thumb{
  height:120px; display:flex; align-items:center; justify-content:center; font-size:40px;
  position:relative; overflow:hidden;
  background-size:cover; background-position:center;
}
.game-card .game-thumb::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55)); }
.game-card .game-body{ padding:12px 14px 14px; }
.game-card .game-provider{ font-size:10.5px; color:var(--text-low); text-transform:uppercase; letter-spacing:0.6px; font-weight:700; }
.game-card .game-name{ font-size:15px; font-weight:800; margin:2px 0 8px; }
.thumb-1{ background: linear-gradient(135deg,#122417,#0a1a10); }
.thumb-2{ background: linear-gradient(135deg,#241212,#1a0a0a); }
.thumb-3{ background: linear-gradient(135deg,#0f1a24,#0a121a); }
.thumb-4{ background: linear-gradient(135deg,#231a0e,#1a120a); }
.thumb-5{ background: linear-gradient(135deg,#1a1224,#100a1a); }
.thumb-6{ background: linear-gradient(135deg,#122417,#0a1a10); }

/* ============================================================
   GALERAGREEN.BET — Casa parceira integrada via API
   ============================================================ */
:root{
  --gg-green: rgb(35,225,67);
  --gg-green-soft: rgba(35,225,67,0.16);
  --gg-border: rgba(35,225,67,0.4);
}

.gg-badge-house{
  display:inline-flex; align-items:center; gap:7px;
  background: var(--gg-green-soft); border:1px solid var(--gg-border);
  color: var(--gg-green); font-size:11px; font-weight:800; letter-spacing:0.4px;
  padding:6px 12px; border-radius:var(--radius-pill);
}
.gg-badge-house .dot{ width:6px; height:6px; border-radius:50%; background:var(--gg-green); box-shadow:0 0 8px var(--gg-green); animation: pulse 1.4s infinite; }

.hero-gg{
  background:
    radial-gradient(circle at 100% 0%, rgba(35,225,67,0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(120,140,160,0.1), transparent 55%),
    linear-gradient(160deg, var(--bg-graphite-2), var(--bg-black));
}
.hero-gg .hero-glow-line{ background: linear-gradient(90deg, transparent, var(--gg-green), transparent); }

.gg-house-card{
  display:flex; align-items:center; gap:14px; padding:18px;
  border:1px solid var(--gg-border); border-radius:var(--radius-lg);
  background: linear-gradient(135deg, rgba(35,225,67,0.08), var(--bg-card));
}
.gg-house-emblem{
  width:52px; height:52px; border-radius:14px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:24px;
  background: linear-gradient(135deg, rgba(35,225,67,0.24), rgba(35,225,67,0.06));
  border:1px solid var(--gg-border);
}

/* Game card com provider real (usado no lobby Galeragreen) */
.gg-game-card{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--border-subtle); background: var(--bg-card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gg-game-card:hover{ transform: translateY(-3px); border-color: var(--gg-border); box-shadow: var(--shadow-lift), 0 0 24px rgba(35,225,67,0.14); }
.gg-game-card .gg-thumb{
  height:130px; position:relative; overflow:hidden;
  background-size:cover; background-position:center;
  display:flex; align-items:center; justify-content:center; font-size:38px;
}
.gg-game-card .gg-thumb::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.6)); }
.gg-game-card .gg-body{ padding:12px 14px 14px; }
.gg-game-card .gg-provider{ font-size:10.5px; color:var(--text-low); text-transform:uppercase; letter-spacing:0.6px; font-weight:700; }
.gg-game-card .gg-name{ font-size:15px; font-weight:800; margin:2px 0 10px; }
.gg-game-card .btn{ width:100%; }

/* Indicador de distribuição de ganhos (tendência ilustrativa, oscila durante o dia) */
.gg-payout-meter{ margin:8px 0 2px; }
.gg-payout-track{
  height:5px; border-radius:5px; background:rgba(255,255,255,0.08);
  overflow:hidden; position:relative;
}
.gg-payout-fill{
  height:100%; border-radius:5px; width:10%;
  background:linear-gradient(90deg,#3a7aff,#8aa0ad);
  transition:width 1.6s ease, background 1.6s ease, box-shadow 1.6s ease;
}
.gg-payout-fill.tier-hot{
  background:linear-gradient(90deg,#a6740a,#ffe580,#ffd700,#fff6c9,#ffd700,#a6740a);
  background-size:250% 100%;
  animation: ggGoldShimmer 2.2s linear infinite, ggGoldFillGlow 1.4s ease-in-out infinite;
}
.gg-payout-fill.tier-warm{ background:linear-gradient(90deg,#ff8a00,#ffcf4d); box-shadow:0 0 8px rgba(255,138,0,0.35); }
.gg-payout-fill.tier-cold{ background:linear-gradient(90deg,#3a7aff,#8aa0ad); box-shadow:none; }
.gg-payout-txt{
  display:block; margin-top:4px; font-size:10px; font-weight:800;
  letter-spacing:.2px; transition:color .6s ease;
}
.gg-payout-txt.tier-hot{
  color:#ffe066; font-weight:900;
  animation: ggGoldTextGlow 1.4s ease-in-out infinite;
}
.gg-payout-txt.tier-warm{ color:#ffcf4d; }
.gg-payout-txt.tier-cold{ color:#8aa0ad; }

@keyframes ggGoldShimmer{
  0%{ background-position:0% 0; }
  100%{ background-position:250% 0; }
}
@keyframes ggGoldFillGlow{
  0%,100%{ box-shadow:0 0 8px rgba(255,215,0,0.5), 0 0 2px rgba(255,246,201,0.6) inset; }
  50%{ box-shadow:0 0 20px rgba(255,215,0,0.95), 0 0 34px rgba(255,193,7,0.6), 0 0 4px rgba(255,246,201,0.9) inset; }
}
@keyframes ggGoldTextGlow{
  0%,100%{ text-shadow:0 0 4px rgba(255,215,0,0.55), 0 0 8px rgba(255,193,7,0.35); opacity:1; }
  50%{ text-shadow:0 0 12px rgba(255,215,0,1), 0 0 26px rgba(255,193,7,0.85), 0 0 40px rgba(255,246,201,0.5); opacity:.82; }
}

/* Subseções do lobby: separa Cassino Ao Vivo de Slots & Instantâneos */
.gg-lobby-subhead{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid var(--border-subtle);
}
.gg-lobby-subhead h3{ font-size:15px; font-weight:800; color:var(--text-hi); margin:0; letter-spacing:.2px; }

/* Destaque dourado para os slots com maior RTP (mais pagantes) dentro da seção de Slots */
.gg-game-card.gg-top-rtp{
  border:1px solid rgba(255,215,0,0.55);
  box-shadow:0 0 0 1px rgba(255,215,0,0.14), 0 0 18px rgba(255,215,0,0.22);
}
.gg-game-card.gg-top-rtp:hover{
  transform: translateY(-3px);
  border-color:rgba(255,215,0,0.9);
  box-shadow:0 0 0 1px rgba(255,215,0,0.28), 0 0 32px rgba(255,215,0,0.42);
}
.gg-top-ribbon{
  position:absolute; top:14px; right:-38px; z-index:3;
  width:150px; text-align:center;
  background:linear-gradient(90deg,#a6740a,#ffe580,#ffd700,#fff6c9,#ffd700,#a6740a);
  background-size:250% 100%;
  color:#1a1200; font-size:10px; font-weight:900; letter-spacing:.3px;
  padding:4px 0; transform:rotate(40deg);
  box-shadow:0 2px 10px rgba(0,0,0,0.4);
  animation: ggGoldShimmer 2.2s linear infinite;
}

/* Tabela de RTP dividida (Ao Vivo x Slots) — linhas de maior RTP em destaque dourado */
.rtp-row-top td{
  background: linear-gradient(90deg, rgba(255,215,0,0.1), rgba(255,215,0,0.02));
  position:relative;
}
.rtp-row-top td:first-child{ font-weight:800; color:#ffe066; }
.rtp-row-top:hover td{ background: linear-gradient(90deg, rgba(255,215,0,0.18), rgba(255,215,0,0.04)); }

/* Player panel — bloco com o iframe do jogo */
.gg-player{ display:none; margin-top:28px; }
.gg-player.gg-open{ display:block; animation: ggFadeIn .35s ease; }
@keyframes ggFadeIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:translateY(0); } }

.gg-player-shell{
  border:1px solid var(--gg-border); border-radius:var(--radius-xl);
  overflow:hidden; background: var(--bg-black);
  box-shadow: 0 0 0 1px rgba(35,225,67,0.08), var(--shadow-lift);
}
.gg-player-head{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 18px; background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border-bottom:1px solid var(--border-subtle);
}
.gg-player-info{ display:flex; align-items:center; gap:12px; min-width:0; }
.gg-player-thumb{ width:38px; height:38px; border-radius:10px; object-fit:cover; flex-shrink:0; background:#000; border:1px solid var(--gg-border); }
.gg-player-title{ font-size:14.5px; font-weight:800; color:var(--text-hi); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gg-player-sub{ font-size:11px; color:var(--text-low); font-weight:600; }
.gg-player-close{
  flex-shrink:0; width:34px; height:34px; border-radius:10px; border:1px solid var(--border-subtle);
  background:var(--bg-elevated); color:var(--text-mid); display:flex; align-items:center; justify-content:center;
}
.gg-player-close:hover{ color:#fff; border-color:var(--danger); }

/* Barra de sinal ao vivo — aparece automaticamente quando o jogo aberto
   tem um sinal ATIVO cadastrado pelo admin em admin-sinais.html */
.gg-signal-bar{
  display:flex; align-items:center; gap:10px;
  padding:11px 18px; font-size:13px; font-weight:800;
  border-bottom:1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  animation: ggFadeIn .3s ease;
}
.gg-signal-ico{ font-size:17px; flex-shrink:0; line-height:1; }
.gg-signal-txt{ flex:1; min-width:0; }
.gg-signal-bar.gg-signal-hot{
  background:linear-gradient(90deg, rgba(255,215,0,0.2), rgba(255,215,0,0.04));
  color:#ffe066;
  animation: ggFadeIn .3s ease, ggGoldTextGlow 1.4s ease-in-out infinite;
}
.gg-signal-bar.gg-signal-up{ background: rgba(35,225,67,0.14); color:#5df58a; }
.gg-signal-bar.gg-signal-cold{ background: rgba(58,122,255,0.12); color:#8aa0ad; }
.gg-signal-bar.gg-signal-neutral{ background: rgba(255,255,255,0.05); color: var(--text-mid); }

/* Painel de Alerta de Padrão — exclusivo do Bac Bo. Estado "monitorando" é
   discreto (ponto verde pulsando); quando um padrão catalogado bate, o
   painel inteiro ganha destaque dourado (mesmo efeito de brilho usado no
   indicador de payout tier-hot). */
.gg-pattern-alert{
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  animation: ggFadeIn .3s ease;
}
.gg-pattern-head{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  font-size:11.5px; font-weight:800; color: var(--text-mid);
  text-transform:uppercase; letter-spacing:.4px;
}
.gg-pattern-status-dot{
  width:7px; height:7px; border-radius:50%; flex-shrink:0;
  background: #5df58a; box-shadow: 0 0 8px #5df58a;
  animation: pulse 1.4s infinite;
}
.gg-pattern-alert.gg-pattern-hit-active .gg-pattern-status-dot{
  background:#ffd700; box-shadow:0 0 10px #ffd700;
}
.gg-pattern-demo-badge{ margin-left:auto; font-size:10px; }
.gg-pattern-body{ margin-top:10px; }
.gg-pattern-empty{ font-size:12.5px; color: var(--text-low); margin:0; line-height:1.5; }
.gg-pattern-hit{
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 14px; border-radius:12px;
  background:linear-gradient(90deg, rgba(255,215,0,0.18), rgba(255,215,0,0.03));
  border:1px solid rgba(255,215,0,0.45);
  animation: ggGoldFillGlow 1.4s ease-in-out infinite;
}
.gg-pattern-hit-ico{ font-size:22px; flex-shrink:0; line-height:1.1; animation: ggGoldTextGlow 1.4s ease-in-out infinite; }
.gg-pattern-hit b{ font-size:13.5px; color:#ffe066; display:block; }
.gg-pattern-hit p{ font-size:12px; color: var(--text-mid); margin:4px 0 0; line-height:1.4; }

.gg-frame-shell{ position:relative; width:100%; aspect-ratio: 16/10; background:#000; }
@media (max-width:560px){ .gg-frame-shell{ aspect-ratio: 3/4; } }
.gg-frame-shell iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.gg-frame-overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:12px; background: var(--bg-black); opacity:0; visibility:hidden;
  transition: opacity .25s ease; z-index:5;
}
.gg-frame-overlay.show{ opacity:1; visibility:visible; }
.gg-spinner{
  width:34px; height:34px; border-radius:50%;
  border:3px solid rgba(35,225,67,0.2); border-top-color: var(--gg-green);
  animation: ggSpin .8s linear infinite;
}
@keyframes ggSpin{ to{ transform: rotate(360deg); } }
.gg-frame-overlay span{ font-size:12.5px; color:var(--text-mid); font-weight:700; }

.gg-player-foot{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  padding:12px 18px; background: var(--bg-card); border-top:1px solid var(--border-subtle);
  font-size:11.5px; color:var(--text-low);
}
.gg-player-foot a{ color: var(--gg-green); font-weight:700; }

/* Passos "como funciona" */
.gg-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .gg-steps{ grid-template-columns:repeat(2,1fr); } }
.gg-step{ padding:16px; border-radius:var(--radius-md); border:1px solid var(--border-subtle); background:var(--bg-card); }
.gg-step .gg-step-n{
  width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center;
  background: var(--gg-green-soft); color:var(--gg-green); font-weight:800; font-size:12.5px; margin-bottom:10px;
  border:1px solid var(--gg-border);
}
.gg-step h4{ font-size:13.5px; }
.gg-step p{ font-size:12px; margin-top:6px; }

/* Signal row */
.signal-row{ display:flex; align-items:center; gap:12px; padding:14px; border-radius:var(--radius-md); border:1px solid var(--border-subtle); background: var(--bg-card); }
.signal-ico{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:19px; background: rgba(57,255,20,0.08); border:1px solid var(--border-neon); flex-shrink:0; }

/* KPI ring simplificado */
.ring{ width:72px; height:72px; border-radius:50%; display:flex; align-items:center; justify-content:center; position:relative; flex-shrink:0; }
.ring span{ font-size:15px; font-weight:800; }

/* Utility */
.w-full{ width:100%; }
.text-center{ text-align:center; }
.pill-dot{ width:8px; height:8px; border-radius:50%; display:inline-block; }
.scroll-x{ display:flex; gap:12px; overflow-x:auto; padding-bottom:6px; -ms-overflow-style:none; scrollbar-width:none; }
.scroll-x::-webkit-scrollbar{ display:none; }
.scroll-x > *{ flex-shrink:0; }

/* ============================================================
   RTP — badge e cards em destaque
   ============================================================ */
.badge-rtp{
  background: linear-gradient(135deg, rgba(255,209,102,0.18), rgba(255,209,102,0.08));
  color: var(--gold);
  border: 1px solid rgba(255,209,102,0.4);
  display:inline-flex;
}
.game-card .badge-rtp, .gg-game-card .badge-rtp{ margin-top:6px; }
.rtp-highlight{
  border-color: rgba(255,209,102,0.35) !important;
  box-shadow: 0 0 0 1px rgba(255,209,102,0.12) inset;
}
.rtp-highlight:hover{
  border-color: rgba(255,209,102,0.6) !important;
  box-shadow: var(--shadow-lift), 0 0 24px rgba(255,209,102,0.18);
}

/* ============================================================
   GANHADORES — lista + toast flutuante
   ============================================================ */
.winners-card{ padding:6px 14px; }
.winners-list{ list-style:none; margin:0; padding:0; }
.winner-row{
  display:flex; align-items:center; gap:12px;
  padding:12px 4px; border-bottom:1px solid var(--border-subtle);
}
.winner-row:last-child{ border-bottom:none; }
.winner-row.is-new{ animation: winnerIn .5s ease; }
@keyframes winnerIn{
  from{ opacity:0; transform: translateY(-8px); background: rgba(57,255,20,0.08); }
  to{ opacity:1; transform: translateY(0); }
}
.winner-avatar{
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  background: rgba(57,255,20,0.1); border:1px solid var(--border-neon);
  display:flex; align-items:center; justify-content:center; font-size:16px;
}
.winner-info{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.winner-info b{ font-size:12.5px; color:var(--text-hi); }
.winner-info span{ font-size:12px; color:var(--text-mid); }
.winner-time{ font-size:10.5px; color:var(--text-low); font-weight:700; flex-shrink:0; white-space:nowrap; }

.winners-toast{
  position:fixed; left:14px; bottom: calc(var(--bottomnav-h) + 16px); z-index:2500;
  display:flex; align-items:center; gap:10px;
  background: var(--bg-elevated); border:1px solid rgba(255,209,102,0.4);
  border-radius: var(--radius-lg); padding:10px 16px 10px 12px;
  max-width:290px; box-shadow: var(--shadow-lift), 0 0 20px rgba(255,209,102,0.1);
  opacity:0; transform: translateY(16px) scale(0.98); pointer-events:none;
  transition: all .35s ease;
}
.winners-toast.show{ opacity:1; transform: translateY(0) scale(1); }
.winners-toast .wt-ico{ font-size:20px; flex-shrink:0; }
.winners-toast .wt-text{ font-size:12px; color:var(--text-mid); line-height:1.35; }
.winners-toast .wt-text b{ color:var(--text-hi); }
.winners-toast .wt-text .wt-amount{ color: var(--gold); font-weight:800; }
@media (min-width: 981px){
  .winners-toast{ bottom:20px; }
}
hr.sep{ border:none; border-top:1px solid var(--border-subtle); margin:18px 0; }
