/* =========================================================================
   NEON PREMIUM 2.0 — KATALOG GAME (slots, kategori)
   Dimuat setelah tema lama di semua halaman publik. Semua selector memakai
   prefiks html:root agar menang atas aturan lama tanpa !important tambahan.
   ========================================================================= */

/* ---------------------------------------------------------------- Header --- */
html:root .slots-header,
html:root .top-bar{
  height:56px;
  padding:0 12px;
  gap:8px;
  background:linear-gradient(180deg,rgba(var(--bg-1-rgb),.94),rgba(var(--bg-1-rgb),.82)) !important;
  border-bottom:1px solid var(--ui-line) !important;
  box-shadow:0 6px 20px rgba(0,0,0,.26);
  backdrop-filter:blur(10px) saturate(140%);
  -webkit-backdrop-filter:blur(10px) saturate(140%);
}
html:root .slots-header .back-btn,
html:root .slots-header .icon-btn{
  width:36px;height:36px;flex:0 0 36px;
  display:grid;place-items:center;
  border:1px solid var(--ui-line);
  border-radius:11px;
  background:rgba(255,255,255,.04);
  color:var(--text-soft);
  font-size:18px;
  text-decoration:none;
}
html:root .slots-header .brand-logo{height:26px !important;max-width:120px !important}
html:root .slots-header .logo,
html:root .slots-header .brand{
  font-family:var(--font-display);
  font-size:16px;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--text) !important;
}
html:root .head-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid var(--ui-line);
  background:rgba(255,255,255,.04);
  color:var(--text-soft);
  font-size:11px;
  font-weight:700;
  text-decoration:none;
}

/* ------------------------------------------------------------------ Hero --- */
html:root .slots-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:18px 14px 10px;
  background:transparent !important;
}
html:root .slots-hero .eyebrow{
  display:inline-block;
  margin:0 0 5px;
  color:var(--brand-2);
  font-size:9.5px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
html:root .slots-hero h1{
  margin:0;
  font-family:var(--font-display);
  font-size:25px;
  font-weight:700;
  letter-spacing:-.015em;
  color:var(--text);
  line-height:1.15;
}
html:root .slots-hero p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
}
html:root .slots-hero .search-btn{
  width:42px;height:42px;flex:0 0 42px;
  display:grid;place-items:center;
  border:1px solid var(--ui-line);
  border-radius:13px;
  background:rgba(255,255,255,.04);
  color:var(--text-soft);
  font-size:18px;
}

/* -------------------------------------------------------------- Provider --- */
html:root .provider,
html:root .provider-brand{
  min-height:66px;
  padding:8px 6px;
  gap:5px;
  border:1px solid var(--ui-line) !important;
  border-radius:14px !important;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.55),rgba(var(--bg-0-rgb),.8)) !important;
  box-shadow:var(--ui-sh-1);
}
html:root .provider-brand.active{
  border-color:rgba(var(--brand-2-rgb),.55) !important;
  background:linear-gradient(160deg,rgba(var(--brand-rgb),.22),rgba(var(--brand-deep-rgb),.12)) !important;
  box-shadow:0 8px 20px rgba(var(--brand-deep-rgb),.26) !important;
}
html:root .provider-logo{
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:10px;
  border:1px solid var(--ui-line);
  background:rgba(255,255,255,.04);
  overflow:hidden;
}
html:root .provider-logo img{width:100%;height:100%;object-fit:contain;padding:2px}
html:root .provider-generic b{
  color:var(--brand-2);
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
}
html:root .provider-brand.active .provider-generic b{color:#fff}
html:root .provider-name{
  font-size:8.5px;
  font-weight:800;
  letter-spacing:.04em;
  color:var(--muted);
  text-align:center;
  line-height:1.15;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* ------------------------------------------------------ Judul daftar game --- */
html:root .games-section{padding:8px 14px 0}
html:root .games-section .section-head{align-items:center;margin:10px 0 10px}
html:root .games-section .section-head h2{
  font-family:var(--font-display);
  font-size:15px;
  font-weight:700;
  letter-spacing:-.01em;
  color:var(--text);
}
html:root .game-count{
  padding:4px 9px;
  border:1px solid var(--ui-line);
  border-radius:var(--r-pill);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}

/* ----------------------------------------------------------- Kartu game --- */
html:root .games-grid{gap:8px}
html:root .games-grid .game-card,
html:root .game-card{
  border:1px solid var(--ui-line) !important;
  border-radius:14px !important;
  background:linear-gradient(170deg,rgba(var(--surface-2-rgb),.55),rgba(var(--bg-0-rgb),.86)) !important;
  box-shadow:var(--ui-sh-1);
  overflow:hidden;
}
html:root .game-card .game-image,
html:root .game-card .game-img{aspect-ratio:3 / 4;background:var(--bg-1)}
html:root .game-card img{width:100%;height:100%;object-fit:cover;display:block}
html:root .game-card .game-name,
html:root .game-card .game-info b{
  font-size:10.5px;
  font-weight:700;
  color:var(--text-soft);
}
html:root .game-card .game-provider,
html:root .game-card .game-info small{
  font-size:9px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted-dim);
}
html:root .game-badge{
  padding:3px 6px;
  border-radius:6px;
  background:rgba(6,2,14,.78) !important;
  border:1px solid rgba(var(--gold-rgb),.5) !important;
  color:var(--gold) !important;
  font-size:8px;
  font-weight:900;
  letter-spacing:.06em;
}
html:root .game-overlay{border-radius:14px}

/* --------------------------------------------------- Status / kosong / loading --- */
html:root .empty-state,
html:root .error-state{
  margin:10px 0;
  padding:26px 18px;
  border:1px dashed var(--ui-line-2) !important;
  border-radius:var(--ui-r-md) !important;
  background:rgba(var(--brand-rgb),.03) !important;
  color:var(--muted);
}
html:root .empty-state h2,
html:root .error-state h2{color:var(--text);font-size:15px}
html:root .empty-state p,
html:root .error-state p{color:var(--muted);font-size:11px;line-height:1.6}
html:root .loading-card{
  border:1px solid var(--ui-line) !important;
  border-radius:14px !important;
  background:linear-gradient(170deg,rgba(var(--surface-2-rgb),.55),rgba(var(--bg-0-rgb),.86)) !important;
  overflow:hidden;
}

/* -------------------------------------------------------------- Pencarian --- */
html:root .search-box,
html:root .search-bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  min-height:44px;
  border:1px solid var(--ui-line);
  border-radius:var(--ui-r-xs);
  background:rgba(0,0,0,.35);
}
html:root .search-box input,
html:root .search-bar input{
  flex:1;
  min-width:0;
  border:0;
  background:transparent;
  color:var(--text);
  font-size:12px;
}
html:root .search-box input::placeholder,
html:root .search-bar input::placeholder{color:var(--muted-dim)}
