:root {
  --bg0: #0f1113;
  --bg1: #15181b;
  --bg2: #1c2024;
  --line: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .65);
  --accent: #c7ff2a;
  /* lime-ish like screenshot */
}


:root {
  --ph: #000;
}

.ph {
  background: none !important
}


.gHero {
  background:
    radial-gradient(1100px 420px at 70% 40%, rgba(199, 255, 42, .18), rgba(0, 0, 0, 0) 60%),
    radial-gradient(900px 360px at 30% 10%, rgba(255, 90, 90, .15), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #2a0b0b 0%, #140606 35%, #0f1113 100%);
  padding: 26px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.gHero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: center;
}

.gHero__kicker {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .2px;
}

.gHero__title {
  color: var(--text);
  font-size: 44px;
  margin: 8px 0 8px;
}

.gHero__sub {
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.gHero__art {
  display: flex;
  justify-content: flex-end;
}

.gHero__artBlob {
  width: 380px;
  height: 180px;
  border-radius: 18px;
  background:
    radial-gradient(140px 140px at 25% 50%, rgba(255, 200, 80, .95), rgba(255, 200, 80, 0) 60%),
    radial-gradient(160px 160px at 62% 40%, rgba(120, 220, 255, .85), rgba(120, 220, 255, 0) 60%),
    radial-gradient(180px 180px at 78% 70%, rgba(199, 255, 42, .65), rgba(199, 255, 42, 0) 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.gTopbar {
  background: linear-gradient(180deg, #0f1113 0%, #121416 100%);
  padding: 12px 0 0px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* Pills layout: looks like "clients" bar, wraps into 2+ rows naturally */
.provRow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  align-items: center;

  /* optional: keep it feeling like a compact clients strip */
  max-height: 200px;
  overflow: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}

/* Pill */
.provPill {
  height: 46px;
  border-radius: 999px;
  padding: 0 14px 0 10px;

  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: rgba(255, 255, 255, .90);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .10);

  box-shadow:
    0 10px 24px rgba(0, 0, 0, .22),
    0 1px 0 rgba(255, 255, 255, .05) inset;

  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}

/* Left badge (placeholder for logo). Later you can replace with <img> easily */
.provPill__badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;

  background: rgba(0, 0, 0, .30);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .88);
}

/* Name */
.provPill__text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover/focus */
.provPill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .20);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .28),
    0 1px 0 rgba(255, 255, 255, .06) inset;
}

.provPill:focus-visible {
  outline: none;
  border-color: rgba(199, 255, 42, .55);
  box-shadow:
    0 0 0 3px rgba(199, 255, 42, .18),
    0 14px 34px rgba(0, 0, 0, .28),
    0 1px 0 rgba(255, 255, 255, .06) inset;
}

/* Active */
.provPill.is-active {
  border-color: rgba(199, 255, 42, .55);
  background:
    radial-gradient(420px 140px at 20% 50%, rgba(199, 255, 42, .12), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}

.provPill.is-active .provPill__badge {
  border-color: rgba(199, 255, 42, .45);
  background: rgba(199, 255, 42, .10);
  color: rgba(255, 255, 255, .92);
}

/* Responsive: more like your screenshot */
@media (max-width: 900px) {
  .provRow {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

@media (max-width: 640px) {
  .provRow {
    grid-template-columns: 1fr 1fr;
  }
}


.gTools {
  padding: 12px 0;
  background: var(--bg0);
}

.toolsBar {
  display: grid;
  grid-template-columns: 220px 1fr 160px;
  gap: 12px;
  align-items: end;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 12px;
}

.tool__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.tool__select,
.tool__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .25);
  color: rgba(255, 255, 255, .92);
  outline: none;
}

.tool__searchWrap {
  display: flex;
  gap: 10px;
}

.tool__btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(199, 255, 42, .45);
  background: rgba(199, 255, 42, .12);
  color: rgba(255, 255, 255, .95);
  cursor: pointer;
  white-space: nowrap;
}

.tool__btn:hover {
  background: rgba(199, 255, 42, .18);
}

.tool__hotBtn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .02);
  color: rgba(255, 255, 255, .85);
  cursor: not-allowed;
  opacity: .75;
}

.gWrap {
  padding: 14px 0 36px;
  background: var(--bg0);
}

.gGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.gCard {
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: transform .12s ease, border-color .12s ease;
}

.gCard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .18);
}

.gThumb {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .15));
}

.gThumb__label {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .25);
}

.gMeta {
  padding: 10px 10px 12px;
}

.gName {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.gSub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.gSentinel {
  height: 2px;
}

.gStatus {
  margin-top: 12px;
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  min-height: 18px;
}

@media (max-width: 1100px) {
  .gHero__inner {
    grid-template-columns: 1fr;
  }

  .gHero__art {
    display: none;
  }

  .gGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .toolsBar {
    grid-template-columns: 1fr;
  }

  .tool__searchWrap {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .gGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gHero__title {
    font-size: 34px;
  }
}

/* Provider grid on games page */
.section--panel .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.section--panel .tile {
  display: block;
  text-decoration: none;
}

/* Fix bottom nav covering last row */
@media (max-width: 768px) {
  .section--panel {
    padding-bottom: 120px;
  }
}

/* MW77 mobile games lobby */
@media (max-width: 900px) {
  :root {
    --bg0: #070604;
    --bg1: #0d0a05;
    --bg2: #151006;
    --line: rgba(255, 216, 102, .18);
    --text: #fff6df;
    --muted: rgba(255, 246, 223, .64);
    --accent: #ffd866;
  }

  .gHero {
    padding: 18px 0 12px;
    background:
      radial-gradient(420px 210px at 80% 0, rgba(255, 216, 102, .22), transparent 68%),
      linear-gradient(180deg, #1d1205 0%, #070604 100%);
    border-bottom-color: rgba(255, 216, 102, .14);
  }

  .gHero__title {
    font-size: 30px;
    color: #fff1a6;
    margin-bottom: 4px;
  }

  .gHero__kicker,
  .gHero__sub {
    color: rgba(255, 246, 223, .66);
  }

  .gTopbar,
  .gTools,
  .gWrap {
    background: #070604;
  }

  .provRow {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    max-height: none;
    padding: 2px 0 8px;
    scrollbar-width: none;
  }

  .provRow::-webkit-scrollbar {
    display: none;
  }

  .provPill {
    flex: 0 0 auto;
    width: 142px;
    height: 44px;
    border-color: rgba(255, 216, 102, .16);
    background: linear-gradient(180deg, rgba(255, 216, 102, .10), rgba(255, 216, 102, .035));
    color: rgba(255, 246, 223, .86);
  }

  .provPill__badge {
    background: linear-gradient(180deg, #fff1a6, #b87914);
    color: #160e02;
    border: 0;
  }

  .provPill.is-active {
    border-color: rgba(255, 216, 102, .42);
    background: rgba(255, 216, 102, .14);
  }

  .toolsBar {
    border-radius: 18px;
    border-color: rgba(255, 216, 102, .16);
    background: linear-gradient(180deg, rgba(255, 216, 102, .08), rgba(255, 216, 102, .025));
  }

  .tool__select,
  .tool__input {
    border-color: rgba(255, 216, 102, .18);
    background: rgba(0, 0, 0, .28);
    color: #fff6df;
  }

  .tool__btn {
    border-color: rgba(255, 216, 102, .30);
    background: linear-gradient(180deg, #fff1a6, #b87914);
    color: #150d02;
    font-weight: 900;
  }

  .gGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .gCard {
    border-radius: 16px;
    border-color: rgba(255, 216, 102, .15);
    background: linear-gradient(180deg, rgba(255, 216, 102, .09), rgba(255, 216, 102, .03));
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
  }

  .gThumb {
    background: #0b0804;
  }

  .gStatus {
    color: rgba(255, 246, 223, .65);
  }
}

/* MW77 Midnight Platinum games-page override */
:root {
  --bg0: #111844;
  --bg1: #050711;
  --bg2: #0b102f;
  --line: rgba(234, 224, 207, .24);
  --text: #ffffff;
  --muted: rgba(234, 224, 207, .70);
  --accent: #7288AE;
}

.gHero,
.gTopbar,
.gTools,
.gWrap {
  background:
    radial-gradient(circle at 50% 0%, rgba(114,136,174,.25), transparent 32%),
    linear-gradient(180deg, rgba(17,24,68,.64), rgba(0,0,0,0) 58%),
    #000 !important;
  border-color: rgba(234,224,207,.22) !important;
}

.gHero__title,
.gHero__sub,
.gHero__kicker {
  color: #fff !important;
}

.gHero__artBlob {
  background:
    linear-gradient(135deg, rgba(234,224,207,.20), rgba(255,255,255,.03) 28%, rgba(114,136,174,.32)),
    #111844 !important;
  border-color: rgba(234,224,207,.30) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.54), inset 0 1px 0 rgba(234,224,207,.16) !important;
}

.provPill,
.toolsBar,
.gCard {
  border-color: rgba(234,224,207,.24) !important;
  background:
    linear-gradient(145deg, rgba(234,224,207,.11), rgba(114,136,174,.035), rgba(75,86,148,.22)),
    #070a1d !important;
  color: #fff !important;
}

.provPill__badge,
.provPill.is-active,
.tool__btn {
  border-color: rgba(234,224,207,.38) !important;
  background:
    linear-gradient(135deg, rgba(234,224,207,.58), rgba(234,224,207,.08) 20%, transparent 34%),
    linear-gradient(180deg, #7288AE, #4B5694 58%, #111844) !important;
  color: #fff !important;
}

.tool__select,
.tool__input,
.gThumb {
  background: #050711 !important;
  border-color: rgba(234,224,207,.22) !important;
  color: #fff !important;
}

.gStatus {
  color: rgba(234,224,207,.70) !important;
}

/* Stake-inspired compact mobile game browser */
@media (max-width: 900px) {
  .gHero {
    padding: 14px 0 10px !important;
    background:
      radial-gradient(circle at 92% 0, rgba(114,136,174,.26), transparent 34%),
      linear-gradient(180deg, #111844 0%, #050711 100%) !important;
  }

  .gHero__title {
    margin: 5px 0 5px !important;
    font-size: 30px !important;
    line-height: 1.05 !important;
  }

  .gHero__sub {
    max-width: 320px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: rgba(234,224,207,.74) !important;
  }

  .gTopbar {
    padding: 8px 0 0 !important;
    border-bottom: 0 !important;
  }

  .provRow {
    display: flex !important;
    gap: 8px !important;
    max-height: none !important;
    overflow-x: auto !important;
    padding: 0 0 8px !important;
    scrollbar-width: none;
  }

  .provRow::-webkit-scrollbar {
    display: none;
  }

  .provPill {
    flex: 0 0 auto !important;
    width: 136px !important;
    height: 40px !important;
    padding: 0 10px 0 6px !important;
    border-radius: 10px !important;
    background: rgba(17,24,68,.88) !important;
  }

  .provPill__badge {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
  }

  .provPill__text {
    font-size: 12px !important;
  }

  .gTools {
    padding: 8px 0 !important;
  }

  .toolsBar {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 12px !important;
    background: rgba(7,10,29,.94) !important;
  }

  .tool__label {
    margin-bottom: 5px !important;
    font-size: 11px !important;
  }

  .tool__searchWrap {
    display: grid !important;
    grid-template-columns: 1fr 72px !important;
    gap: 8px !important;
  }

  .tool__select,
  .tool__input {
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }

  .tool__btn,
  .tool__hotBtn {
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  .gWrap {
    padding: 10px 0 118px !important;
  }

  .gGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .gCard {
    border-radius: 12px !important;
    border-color: rgba(234,224,207,.13) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .gThumb {
    aspect-ratio: 1 / 1.14 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.36) !important;
  }

  .gMeta {
    padding: 6px 1px 0 !important;
  }

  .gName {
    font-size: 11px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
  }

  .gSub {
    display: none !important;
  }
}
