:root {
  --bg: #000001;
  --panel: #23242c;
  --panel-2: #2c2d37;
  --border: #3d3e45;
  --text: #ffffff;
  --muted: #808080;
  --gray-text: #898fa1;
  --title: #ffffff;
  --accent: #e8b923;
  --accent-hover: #d4a51c;
  --accent-soft: rgba(232, 185, 35, 0.25);
  --radius: 8px;
  --radius-sm: 5px;
  --sidebar-w: 240px;
  --header-h: 62px;
  --font: "Outfit", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: top;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--title);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.shell {
  display: flex;
  width: 100%;
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--panel);
  padding: 16px 12px;
  flex-shrink: 0;
}

.sidebar-inner {
  position: sticky;
  top: 16px;
}

.brand {
  display: block;
  width: 132px;
  margin: 0 auto 20px;
}

.brand img {
  width: 100%;
  height: auto;
}

.side-nav {
  margin: 0 0 16px;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--panel-2);
}

.side-nav a,
.side-nav [role="button"] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px 11px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  border-radius: var(--radius);
}

.side-nav a::before,
.side-nav [role="button"]::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent-soft) 0.06%, transparent 99.91%), var(--panel);
  z-index: 1;
  transition: width 0.35s;
}

.side-nav a:hover::before,
.side-nav a.is-on::before,
.side-nav [role="button"]:hover::before {
  width: 100%;
}

.side-nav svg,
.side-nav span {
  position: relative;
  z-index: 2;
}

.side-nav svg,
.side-nav .nav-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  object-fit: contain;
}

.info-nav a,
.info-nav [role="button"] {
  display: table;
  padding: 7px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.info-nav a:hover,
.info-nav a.is-on,
.info-nav [role="button"]:hover {
  color: var(--accent);
}

.stage {
  width: calc(100% - var(--sidebar-w));
  padding: 0 24px;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px 10px 14px;
  margin: 0 -24px;
}

.burger {
  display: none;
  width: 34px;
  height: 34px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  color: var(--text);
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.burger span:first-child {
  width: 58%;
}

.burger span:nth-child(2),
.burger span:nth-child(3) {
  width: 100%;
}

.top-brand {
  display: none;
  width: 90px;
  min-width: 90px;
}

.seek {
  flex: 1;
}

.seek-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--panel);
  max-width: 281px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.seek-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-pair {
  display: flex;
  gap: 10px;
  align-items: center;
}

.locale-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

[role="button"][aria-label="arialabelwanabetes"] {
  cursor: pointer;
  outline: none;
}

[role="button"][aria-label="arialabelwanabetes"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

[role="button"][aria-label="arialabelwanabetes"].chip {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 10px 24px;
  color: var(--text);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

[role="button"][aria-label="arialabelwanabetes"].chip-primary,
[role="button"][aria-label="arialabelwanabetes"].play-wide {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

[role="button"][aria-label="arialabelwanabetes"].play-wide {
  display: table;
  margin: 24px auto 0;
  padding: 11px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
}

[role="button"][aria-label="arialabelwanabetes"].play-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 350px;
  width: 100%;
  height: 52px;
  margin: 28px auto 0;
  border-radius: 5px;
  background: var(--accent);
  color: #111;
  font-size: 18px;
  font-weight: 600;
}

@media (any-hover: hover) {
  [role="button"][aria-label="arialabelwanabetes"].chip:hover,
  [role="button"][aria-label="arialabelwanabetes"].chip-primary:hover,
  [role="button"][aria-label="arialabelwanabetes"].play-wide:hover,
  [role="button"][aria-label="arialabelwanabetes"].play-lg:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #111;
  }
}

.hero-band {
  position: relative;
  margin: 0 -24px 10px;
  min-height: 180px;
  overflow: hidden;
  width: calc(100% + 48px);
}

.hero-band img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

.cats {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 5px 0 24px;
  margin: 0 0 10px;
  width: 100%;
}

.cats-row {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--panel);
}

.cats-row::-webkit-scrollbar {
  height: 4px;
}

.cats-row::-webkit-scrollbar-track {
  background: var(--panel);
  border-radius: 8px;
}

.cats-row::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  min-width: 64px;
}

.cat-ico {
  width: 53px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--panel);
  transition: 0.3s;
}

.cat-ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cat-select {
  min-width: 180px;
  height: 52px;
  border-radius: 8px;
  background: var(--panel)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23696A72' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: #696a72;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 8px 36px 8px 12px;
  flex-shrink: 0;
}

.cat-item:hover {
  color: var(--accent);
}

.cat-item:hover .cat-ico {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%), var(--panel);
}

.games-block {
  margin: 0 0 32px;
}

.games-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px;
}

.games-head h2 {
  flex: 1;
  font-size: 18px;
  text-transform: uppercase;
}

.games-head a,
.games-head [role="button"] {
  font-size: 16px;
  font-weight: 500;
}

.games-head a:hover,
.games-head [role="button"]:hover {
  text-decoration: underline;
  color: var(--accent);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.game-tile {
  width: 100%;
  max-width: none;
  display: block;
  min-width: 0;
}

.game-art {
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 0 8px;
  position: relative;
  display: block;
  background: var(--panel);
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.game-veil {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%), rgba(35, 36, 44, 0.9);
  z-index: 3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.game-tile:hover .game-veil {
  display: flex;
}

.game-tile.has-demo:hover .game-veil {
  display: none;
}

.game-label {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.trophy-bar {
  margin: 0 auto 32px 0;
  border-radius: var(--radius);
  background: radial-gradient(120% 180% at -10% 50%, rgba(0, 117, 152, 0.7) 0%, rgba(13, 24, 28, 0.96) 72%);
  padding: 10px 16px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}

.trophy-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.trophy-brand img {
  width: 133px;
  height: auto;
  display: block;
}

.trophy-lead {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.trophy-chevron {
  color: #7dff4a;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.trophy-tier {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid rgba(61, 62, 69, 0.9);
}

.trophy-tier img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.trophy-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trophy-lab {
  color: #5ae4f9;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.trophy-amt {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.prov-art {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 0 8px;
  background: var(--panel);
}

.prov-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
}

.pay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px 12px;
  height: 56px;
}

.pay-logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.article {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: none;
  width: 100%;
}

.article h1,
.lead-h1 {
  color: var(--title);
  font-size: 30px;
  text-transform: uppercase;
  margin: 8px 0 16px;
  line-height: 1.4;
}

.article h2 {
  font-size: 24px;
  margin: 32px 0 20px;
}

.article h3 {
  font-size: 20px;
  margin: 28px 0 16px;
}

.article p {
  margin: 0 0 20px;
}

.article ul,
.article ol {
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article ul li,
.article ol li {
  position: relative;
  padding: 0 0 0 26px;
  color: var(--gray-text);
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.article ol {
  counter-reset: steps;
}

.article ol li {
  counter-increment: steps;
}

.article ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.article a {
  color: var(--accent);
  text-decoration: underline;
}

.article a:hover {
  text-decoration: none;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.article th,
.article td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.article th {
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
}

.article td {
  background: #121216;
  color: var(--gray-text);
}

.page-hero {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}

.page-hero img {
  /* width: 100%; */
  height: auto;
  display: block;
  /* max-height: 420px; */
  object-fit: cover;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

.crumb a {
  color: var(--accent);
}

.faq {
  margin: 0 0 32px;
  max-width: none;
  width: 100%;
}

.faq h2 {
  font-size: 24px;
  margin: 0 0 20px;
}

.faq-item {
  margin: 0 0 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  background: var(--panel);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-body {
  padding: 15px 20px;
  background: #1a1b22;
  color: var(--gray-text);
  line-height: 1.6;
}

.pay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.pay-pill {
  background: #fff;
  color: #111;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.site-foot {
  padding: 40px 0 24px;
  border-top: 1px solid var(--panel-2);
  margin-top: 12px;
}

.foot-brand {
  display: block;
  width: 132px;
  margin: 0 0 24px;
}

.foot-grid {
  display: flex;
  gap: 40px;
  margin: 0 0 24px;
}

.foot-col {
  flex: 1;
  max-width: 280px;
}

.foot-col-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.foot-col a,
.foot-col [role="button"] {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.foot-col a:hover,
.foot-col [role="button"]:hover {
  color: var(--accent);
}

.rg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}

.rg-row img {
  height: 36px;
  width: auto;
}

.legal {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
}

.legal p {
  margin: 0 0 12px;
}

.err-box {
  text-align: center;
  padding: 80px 16px;
  max-width: 640px;
  margin: 0 auto;
}

.err-box h1 {
  font-size: 32px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.err-box p {
  color: var(--gray-text);
  margin: 0 0 24px;
}

body.is-locked {
  overflow: hidden;
}

@media screen and (max-width: 1000px) {
  .sidebar {
    display: none;
    position: fixed;
    top: var(--header-h);
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    overflow-y: auto;
  }

  .sidebar.is-open {
    display: block;
  }

  .burger {
    display: flex;
    min-width: 34px;
  }

  .stage {
    width: 100%;
  }

  .top-brand {
    display: block;
  }

  .topbar {
    padding: 10px 24px;
  }
}

@media screen and (max-width: 780px) {
  .stage {
    padding: 0 14px;
  }

  .topbar {
    margin: 0 -14px;
    padding: 10px 14px;
    gap: 4px;
  }

  .seek {
    display: none;
  }

  [role="button"][aria-label="arialabelwanabetes"].chip {
    font-size: 12px;
    padding: 7px 16px;
  }

  .hero-band {
    margin: 0 -14px 10px;
    min-height: 120px;
  }

  .cats {
    margin: 0 -14px 0 0;
  }

  .cats-row {
    gap: 12px;
  }

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

  .game-tile {
    width: 100%;
  }

  .game-art {
    height: auto;
  }

  .trophy-bar {
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    max-width: 100%;
  }

  .trophy-tier {
    border-left: 0;
    padding-left: 0;
    flex: 0 0 auto;
  }

  .cat-select {
    display: none;
  }

  .article h1,
  .lead-h1 {
    font-size: 22px;
  }

  .article h2 {
    font-size: 20px;
  }

  .article th,
  .article td {
    padding: 8px;
    font-size: 13px;
  }

  .foot-grid {
    flex-direction: column;
    gap: 0;
  }

  .foot-col {
    max-width: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--panel-2);
  }

  .foot-col ul {
    display: none;
  }

  .foot-col.is-open ul {
    display: block;
  }

  .foot-col-name {
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .foot-col-name::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
  }
}

@media screen and (max-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.game-tile.has-demo {
  cursor: default;
}

.game-overlay {
  align-items: center;
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%), rgba(35, 36, 44, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  z-index: 4;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}

.game-overlay .overlay-play,
.game-overlay .overlay-demo {
  pointer-events: none;
}

.game-overlay .overlay-play {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: #111;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  min-width: 92px;
  padding: 6px 12px;
  text-transform: uppercase;
}

.overlay-demo,
.article .overlay-demo {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  min-width: 92px;
  padding: 6px 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.overlay-demo:hover,
.article .overlay-demo:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1001px) {
  .game-tile.has-demo .game-art:hover .game-overlay {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .game-tile.has-demo .game-art:hover .game-overlay .overlay-play,
  .game-tile.has-demo .game-art:hover .game-overlay .overlay-demo {
    pointer-events: auto;
  }
}

.game-tile.has-demo.is-open .game-overlay {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.game-tile.has-demo.is-open .game-overlay .overlay-play,
.game-tile.has-demo.is-open .game-overlay .overlay-demo {
  pointer-events: auto;
}

.demo-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 24px;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.demo-frame iframe {
  background: #000;
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.game-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 32px;
}

.game-page-art {
  margin: 0;
  max-width: 280px;
  width: 100%;
}

.game-page-art img {
  background: var(--panel);
  border-radius: 6px;
  display: block;
  height: auto;
  max-width: 280px;
  object-fit: cover;
  width: 100%;
}

.game-copy p {
  color: var(--gray-text);
  margin: 0 0 14px;
}

.related-games {
  margin: 24px 0 32px;
}

.related-games h2 {
  font-size: 18px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.related-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: var(--accent) var(--panel);
  scrollbar-width: thin;
}

.related-rail::-webkit-scrollbar {
  height: 4px;
}

.related-rail::-webkit-scrollbar-track {
  background: var(--panel);
  border-radius: 8px;
}

.related-rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

.related-rail .game-tile {
  flex: 0 0 148px;
  max-width: 148px;
}

@media screen and (min-width: 1001px) {
  .game-intro {
    align-items: flex-start;
    flex-direction: row;
    gap: 24px;
  }

  .game-page-art {
    flex: 0 0 208px;
    max-width: 208px;
  }

  .game-intro .game-copy {
    flex: 1;
    min-width: 0;
  }

  .related-rail .game-tile {
    flex-basis: 176px;
    max-width: 176px;
  }
}

@media screen and (max-width: 780px) {
  .demo-frame {
    aspect-ratio: 9 / 16;
    min-height: 320px;
  }
}
