/* =====================================================================
   GamesZolo skin — loaded last (after main.css, media.css, hub.css).
   Pure black base, violet accent, lime call-to-action, pill controls,
   landscape game tiles with the title under the picture.
   ===================================================================== */
:root {
  --f-display: "Nunito", "DM Sans", system-ui, sans-serif;
  --zl-bg: #000;
  --zl-panel: #0e0e12;
  --zl-card: #16161b;
  --zl-card-2: #1f1f26;
  --zl-line: rgba(255, 255, 255, .07);
  --zl-vi: #8b45ff;
  --zl-vi-2: #a670ff;
  --zl-vi-3: #c7a6ff;
  --zl-lime: #a8f03a;
  --zl-lime-2: #c2ff5c;
  --zl-hot: #ff3d71;
  --zl-top: #ffb21a;
  --zl-r: 16px;

  --sgh-bg: #000;
  --sgh-panel: #0e0e12;
  --sgh-card: #16161b;
  --sgh-card-2: #1f1f26;
  --sgh-line: rgba(255, 255, 255, .07);
  --sgh-line-2: rgba(255, 255, 255, .12);
  --sgh-ink: #fff;
  --sgh-ink-2: #d9d9e0;
  --sgh-muted: #8d8d99;
  --sgh-or: #8b45ff;
  --sgh-or-2: #b48aff;
  --sgh-top-h: 72px;
  --gz-grad: linear-gradient(135deg, #a46bff 0%, #8b45ff 55%, #6d2cf0 100%);
  --gz-glow: 0 12px 32px -10px rgba(139, 69, 255, .7);
  --gz-ring: 0 0 0 2px #8b45ff;
  --gz-shadow: none;
  --gz-hi: none;
}
::selection { background: rgba(139, 69, 255, .45); color: #fff; }
html, body.sgh { background: #000; }
body.sgh { color: var(--sgh-ink-2); font-family: var(--f-body); }
.sgh h1, .sgh h2, .sgh h3 { font-family: var(--f-display); }
* { scrollbar-color: #2a2a33 transparent; }
.sgh-skip { background: var(--zl-lime); color: #000; }

/* ---------------------------------------------------------------- logo */
.sgh-logo { gap: 8px; }
.sgh-logo__mark { width: 46px; height: 46px; border-radius: 50%; background: none; box-shadow: none; filter: drop-shadow(0 6px 16px rgba(139, 69, 255, .45)); }
.sgh-logo:hover .sgh-logo__mark { transform: rotate(-10deg) scale(1.05); }
.sgh-logo__text {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px 1px; border-radius: 999px;
  background: var(--zl-vi); color: #fff; text-shadow: none;
  font: 900 21px/1 var(--f-display); letter-spacing: -.01em;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.sgh-logo__text b { color: var(--zl-lime-2); -webkit-text-fill-color: currentColor; background: none; font-weight: 900; }
.sgh-logo:hover .sgh-logo__text { color: #fff; background: #9655ff; }
.sgh-logo--footer .sgh-logo__mark { width: 36px; height: 36px; }
.sgh-logo--footer .sgh-logo__text { height: 32px; font-size: 18px; padding: 0 13px 1px; }

/* -------------------------------------------------------------- header */
.sgh-top {
  background: rgba(0, 0, 0, .9); border-bottom: 0; gap: 16px; padding: 0 22px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sgh-top::after { display: none; }
.sgh .sgh-search { max-width: 560px; }
.sgh .sgh-search input {
  height: 48px; line-height: 48px; padding: 0 20px 0 48px; border-radius: 999px;
  background: var(--zl-card); border: 2px solid transparent; color: #fff; font-size: 15px; box-shadow: none;
}
.sgh .sgh-search input:hover { background: var(--zl-card-2); border-color: transparent; }
.sgh .sgh-search input:focus { background: var(--zl-card); border-color: var(--zl-vi); box-shadow: 0 0 0 4px rgba(139, 69, 255, .18); }
.sgh .sgh-search input::placeholder { color: #8d8d99; }
.sgh-search__ico { left: 19px; width: 18px; height: 18px; color: #a9a9b4; }

.gpl-menu > li > a {
  height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center;
  background: var(--zl-card); color: #e7e7ee; font: 800 14px/1 var(--f-display);
}
.gpl-menu > li:hover > a, .gpl-menu > li:focus-within > a { background: var(--zl-card-2); color: #fff; }
.gpl-menu .sub-menu { background: #121217; border: 1px solid var(--zl-line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); }
.gpl-menu .sub-menu a { border-radius: 12px; }
.gpl-menu .sub-menu a:hover { background: var(--zl-card-2); color: #fff; }

.sgh-btn { border-radius: 999px; font-family: var(--f-display); font-weight: 800; }
.sgh-btn--ghost, .sgh-favlink { background: var(--zl-card); border: 0; box-shadow: none; color: #fff; }
.sgh-btn--ghost:hover, .sgh-favlink:hover { background: var(--zl-card-2); border: 0; color: #fff; }
.sgh-top .sgh-random, .sgh-top .sgh-random:hover {
  height: 44px; padding: 0 20px; background: var(--zl-lime); color: #0a0a0a; border: 0;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16);
}
.sgh-top .sgh-random:hover { background: var(--zl-lime-2); transform: translateY(-1px); }
.sgh-random svg { width: 20px; height: 20px; }
.sgh-favlink { width: 44px; height: 44px; }
.sgh-favlink:hover { color: var(--zl-hot); }
.sgh-favlink__count { background: var(--zl-hot); color: #fff; }
.sgh-burger { background: var(--zl-card); border: 0; border-radius: 50%; }

/* ------------------------------------------------------------- sidebar */
.sgh-side { background: #000; border-right: 0; padding: 10px 12px 28px; }
.sgh-side__cap { color: #5f5f6b; font-family: var(--f-display); letter-spacing: .14em; }
.sgh-side__item { color: #d4d4dc; border-radius: 14px; min-height: 46px; font-family: var(--f-display); font-weight: 700; font-size: 14.5px; }
.sgh-side__item:hover { background: var(--zl-card); color: #fff; }
.sgh-side__item.is-active, .sgh-side__item.is-active:hover { background: rgba(139, 69, 255, .2); box-shadow: none; color: #fff; }
.sgh-side__item em { color: #6c6c78; font-weight: 700; }
.sgh-ico { background: var(--zl-card); border: 0; border-radius: 10px; color: var(--zl-vi-2); }
.sgh-ico.zl-ico { width: 32px; height: 32px; background: none; border: 0; color: var(--zl-vi-2); }
.sgh-ico.zl-ico svg { width: 24px; height: 24px; display: block; }
.sgh-side__item:hover .zl-ico, .sgh-side__item.is-active .zl-ico { color: #c9a8ff; }
.sgh-side__item:hover .zl-ico svg { transform: scale(1.08); }
.zl-ico svg { transition: transform .2s var(--ease); }
.sgh-ico--img { background: var(--zl-card); border-radius: 10px; }

/* ----------------------------------------------------- section headings */
.sgh-sec { margin-top: 38px; }
.sgh-sec--top { margin-top: 4px; }
.sgh-sec__head { margin-bottom: 16px; }
.sgh .sgh-sec__title, .sgh .games_block .catalog__title.zl-sec__title {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font: 900 25px/1.1 var(--f-display); letter-spacing: -.02em; color: #fff;
}
.sgh .games_block .catalog__title.zl-sec__title { margin: 0 0 16px; }
.sgh-sec__icon, .zl-sec__title .sgh-sec__icon {
  width: auto; height: auto; display: inline-grid; place-items: center; flex: none;
  background: none; border: 0; border-radius: 0; color: var(--zl-vi-2); font-size: 22px;
}
.sgh-sec__icon .zl-i { width: 28px; height: 28px; }
.zl-sec__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sgh .games_block .catalog__title span { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
.sgh .games_block .catalog__title .sgh-sec__icon { color: var(--zl-vi-2); }
.sgh .games_block .catalog__title .zl-sec__txt { background: none; -webkit-text-fill-color: currentColor; color: #fff; }
.zl-sec__more, .sgh .games_block .catalog__title .zl-sec__more {
  font: 600 13.5px/1.2 var(--f-body); letter-spacing: 0; color: #8d8d99; text-decoration: none; -webkit-text-fill-color: currentColor;
}
a.zl-sec__more::after { content: " ›"; font-weight: 800; }
a.zl-sec__more:hover { color: var(--zl-vi-3); text-decoration: none; }
.sgh-arrow, .sgh-arrow:hover:not(:disabled) {
  width: 40px; height: 40px; border-radius: 50%; background: var(--zl-card); border: 0; color: #fff;
}
.sgh-arrow:hover:not(:disabled) { background: var(--zl-vi); }

/* -------------------------------------- Trending — 4 wide + 16 small tiles */
.sgh-grid18.zl-grid20 {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-flow: row dense;
  gap: 20px 14px; max-width: none; margin: 0;
}
.zl-grid20 > .sgh-gt, .zl-grid20 > .sgh-gt:nth-child(1), .zl-grid20 > .sgh-gt:nth-child(2) {
  grid-column: auto; grid-row: auto; aspect-ratio: auto;
}
.zl-grid20 > .sgh-gt--big, .zl-grid20 > .sgh-gt--big:nth-child(1), .zl-grid20 > .sgh-gt--big:nth-child(2) { grid-column: span 2; }

.sgh-gt, .sgh-gt:hover {
  display: flex; flex-direction: column; gap: 9px; overflow: visible; isolation: auto;
  background: none; border: 0; border-radius: 0; box-shadow: none; transform: none;
}
.sgh-gt::after { display: none; }
.zl-gt__media {
  position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 16 / 10;
  border-radius: var(--zl-r); background: var(--zl-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.sgh-gt--big .zl-gt__media { aspect-ratio: 16 / 9; border-radius: 20px; }
.sgh-gt:hover .zl-gt__media { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--zl-vi), 0 18px 40px -16px rgba(139, 69, 255, .75); }
.sgh-gt .sgh-gt__bg { display: none; }
.sgh-gt .sgh-gt__img, .sgh-gt--big:not(.has-art) .sgh-gt__img, .sgh-gt .sgh-gt__art {
  position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto;
  transform: none; border-radius: 0; box-shadow: none; object-fit: cover;
}
.sgh-gt:hover .sgh-gt__img, .sgh-gt--big:not(.has-art):hover .sgh-gt__img, .sgh-gt:hover .sgh-gt__art { transform: scale(1.05); }
.sgh-gt__name, .sgh-gt--big .sgh-gt__name {
  position: static; padding: 0 2px; text-align: left; text-shadow: none;
  font: 800 14.5px/1.25 var(--f-display); color: #f1f1f5;
}
.sgh-gt--big .sgh-gt__name { font-size: 18px; font-weight: 900; }
.sgh-gt:hover .sgh-gt__name { color: #fff; }

/* badges (also on the right column of the game page) */
.sgh-gt__badge, .sgh-gt__badge.is-new, .sgh-gt__badge.is-hot, .sgh-gt__badge.is-trending,
.sgh-gt--big .sgh-gt__badge {
  top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px;
  height: 24px; padding: 0 10px 0 9px; border-radius: 999px; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .6);
  font: 900 11.5px/1 var(--f-display); letter-spacing: .04em; color: #fff; background: var(--zl-hot);
}
.sgh-gt__badge.is-new { background: var(--zl-lime); color: #0a0a0a; }
.sgh-gt__badge.is-trending { background: var(--zl-top); color: #1a1000; font-size: 0; gap: 0; }
.sgh-gt__badge.is-trending::after { content: "TOP"; font-size: 11.5px; }
.sgh-gt__badge.is-hot::before, .sgh-lead__meta b.is-hot::before {
  content: ""; width: 12px; height: 12px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 23a8 8 0 0 0 8-8c0-4.6-3.4-6.9-4.6-11.4-1.7 2.3-2.3 4-2.3 5.7C12 8.2 10.9 7 10.3 4.8 6.3 9 4 11.9 4 15a8 8 0 0 0 8 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 23a8 8 0 0 0 8-8c0-4.6-3.4-6.9-4.6-11.4-1.7 2.3-2.3 4-2.3 5.7C12 8.2 10.9 7 10.3 4.8 6.3 9 4 11.9 4 15a8 8 0 0 0 8 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sgh-gt__rate, .sgh-gt--big .sgh-gt__rate {
  top: 10px; right: 10px; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px;
  background: rgba(0, 0, 0, .55); border: 0; font: 800 12px/1 var(--f-display); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ----------------------------------------- game cards (lists, category pages) */
.sgh .games_block .catalog, .sgh .main.category > .catalog, .sgh .main.search .catalog .catalog, .sgh .catalog.sgh-grid {
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 20px 14px;
}
.sgh .catalog__list, .sgh .catalog__list:hover {
  background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; transform: none;
}
.sgh .game-card__thumb {
  aspect-ratio: 16 / 10; border-radius: var(--zl-r); overflow: hidden; background: var(--zl-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.sgh .game-card__thumb::after { display: none; }
.sgh .catalog__list:hover .game-card__thumb { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--zl-vi), 0 18px 40px -16px rgba(139, 69, 255, .75); }
.sgh .catalog__list:hover .game-card__thumb img { transform: scale(1.05); }
.sgh .game-card__name, .sgh .catalog__list:hover .game-card__name { background: none; padding: 9px 2px 0; }
.sgh .game-card__name a, .sgh .catalog__list:hover .game-card__name a {
  font: 800 14.5px/1.25 var(--f-display); color: #f1f1f5; letter-spacing: -.005em;
}
.sgh .catalog__list:hover .game-card__name a { color: #fff; }
.sgh-heart { top: 9px; right: 9px; background: rgba(0, 0, 0, .55); }

/* strips */
.sgh-track { grid-auto-columns: 214px; gap: 14px; padding: 6px 4px 14px; margin: -6px -4px 0; }

/* "Player Favorites" — tall posters with the title on the picture and a rank */
#popular .sgh-track { grid-auto-columns: 196px; counter-reset: zl-rank; }
#popular .catalog__list { counter-increment: zl-rank; }
#popular .game-card { position: relative; }
#popular .game-card__thumb { aspect-ratio: 3 / 4; border-radius: 20px; }
#popular .game-card__thumb::after {
  content: ""; display: block; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .88) 100%);
}
#popular .game-card::before {
  content: "#" counter(zl-rank); position: absolute; z-index: 3; top: 10px; left: 10px;
  height: 26px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center;
  background: var(--zl-vi); color: #fff; font: 900 12.5px/1 var(--f-display);
  transition: transform .22s var(--ease);
}
#popular .catalog__list:nth-child(-n+3) .game-card::before { background: var(--zl-lime); color: #0a0a0a; }
#popular .catalog__list:hover .game-card::before { transform: translateY(-4px); }
#popular .game_body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; pointer-events: none; transition: transform .22s var(--ease); }
#popular .catalog__list:hover .game_body { transform: translateY(-4px); }
#popular .game-card__name, #popular .catalog__list:hover .game-card__name { padding: 0; margin: 0 14px 14px; }
#popular .game-card__name a { pointer-events: auto; font-size: 17px; font-weight: 900; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }

/* -------------------------------------------------------------- tabs etc. */
.sgh-tab, .sgh-tab:hover {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--zl-card); color: #c4c4cc; font: 800 14px/1 var(--f-display);
}
.sgh-tab:hover { background: var(--zl-card-2); color: #fff; }
.sgh-tab.is-on, .sgh-tab.is-on:hover { background: var(--zl-vi); color: #fff; }
.sgh-my { background: var(--zl-panel); border: 0; border-radius: 22px; }
.sgh-recent { background: var(--zl-panel); border: 0; border-radius: 20px; }
.sgh-recent__ico { color: var(--zl-vi-2); }

.sgh .pagination li a, .sgh .pagination li span {
  min-width: 44px; height: 44px; border-radius: 999px; background: var(--zl-card); border: 0; color: #e0e0e6;
  font-family: var(--f-display); font-weight: 800;
}
.sgh .pagination li a:hover { background: var(--zl-card-2); border: 0; color: #fff; }
.sgh .pagination li.current a, .sgh .pagination li span.current, .sgh .pagination span.current, .sgh .pagination li.current span {
  background: var(--zl-vi) !important; color: #fff; box-shadow: none;
}

/* genre chips under the home text */
.sgh-genres a, .sgh .game_description ul.sgh-genres a {
  height: 46px; padding: 0 16px 0 9px; border-radius: 999px; background: var(--zl-card); border: 0;
  font: 800 14px/1 var(--f-display);
}
.sgh-genres a:hover, .sgh .game_description ul.sgh-genres a:hover { background: var(--zl-card-2); border: 0; box-shadow: 0 0 0 2px var(--zl-vi); }
.sgh-genres .sgh-ico.zl-ico { width: 30px; height: 30px; }
.sgh-genres .sgh-ico.zl-ico svg { width: 22px; height: 22px; }
.sgh-genres em { color: var(--zl-vi-3); background: rgba(139, 69, 255, .16); }

/* ------------------------------------------------- content panels and text */
.sgh-text .game_description, .main.category .seo_block, .sgh-card,
.content--wide > .catalog > .catalog__description.game_description {
  background: var(--zl-panel); border: 0; border-radius: 26px; box-shadow: none;
}
.sgh-text { margin-top: 44px; }
.sgh-text .game_description h2::before, .main.category .seo_block .page_description h2::before,
.content--wide .catalog__description h2::before { width: 6px; border-radius: 6px; background: var(--zl-vi); }
.sgh-text .game_description a, .game_description li a, .page_description a, .seo_text a, .catalog__description a, .game_description p a {
  color: var(--zl-vi-3); text-decoration-color: rgba(199, 166, 255, .35);
}
.sgh-text .game_description a:hover, .game_description li a:hover, .page_description a:hover, .catalog__description a:hover, .game_description p a:hover { color: #fff; }
.game_description ul > li::marker, .page_description ul > li::marker { color: var(--zl-vi-2); }
.game_description ol > li, .page_description ol > li, .seo_text ol > li { background: var(--zl-card); border: 0; border-radius: 16px; }
.game_description ol > li::before, .page_description ol > li::before, .seo_text ol > li::before,
.game_description ol > li:nth-child(3n+2)::before, .page_description ol > li:nth-child(3n+2)::before,
.game_description ol > li:nth-child(3n)::before, .page_description ol > li:nth-child(3n)::before {
  background: var(--zl-vi); color: #fff; border-radius: 999px;
}
.game_description table, .page_description table { background: var(--zl-card); border: 0; border-radius: 18px; overflow: hidden; }
.game_description th, .page_description th { background: rgba(139, 69, 255, .18); color: #fff; font-family: var(--f-display); }
.game_description td, .page_description td { border-bottom-color: rgba(255, 255, 255, .06); }
.game_description tr td:first-child { color: #fff; font-weight: 700; }
.sgh-text .game_description .sgh-table td a { border-bottom-color: rgba(199, 166, 255, .35); }
.sgh-toc { background: var(--zl-card); border: 0; border-radius: 20px; }
.sgh-text .game_description .sgh-toc__title { color: var(--zl-vi-3); }
.sgh-text .game_description .sgh-toc a::before { color: var(--zl-vi-2); }
.sgh-text .game_description .sgh-toc a:hover { color: #fff; }

.game_description blockquote, .page_description blockquote {
  position: relative; margin: 22px 0; padding: 22px 26px 20px 30px; border: 0; border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 69, 255, .2), rgba(139, 69, 255, .05)); color: #ececf2;
}
.game_description blockquote::before, .page_description blockquote::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--zl-vi);
}
.game_description blockquote p { margin: 0; font-size: 16.5px; line-height: 1.65; }

.game_description .pp-quote, .page_description .pp-quote {
  position: relative; margin: 14px 0; padding: 18px 22px 18px 64px; border-radius: 20px;
  background: var(--zl-card); color: #e6e6ec; font-style: italic; font-size: 15.5px; line-height: 1.6;
}
.game_description .pp-quote::before, .page_description .pp-quote::before {
  content: "\201C"; position: absolute; left: 18px; top: 10px; font: 900 50px/1 Georgia, serif; color: var(--zl-vi-2);
}
.game_description .pp-tip, .page_description .pp-tip {
  margin: 14px 0; padding: 16px 20px; border-radius: 18px; font-size: 15.5px; line-height: 1.6;
  background: rgba(168, 240, 58, .08); box-shadow: inset 0 0 0 1px rgba(168, 240, 58, .28); color: #e6e6ec;
}
.game_description .pp-tip b:first-child, .page_description .pp-tip b:first-child {
  display: inline-flex; margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: var(--zl-lime); color: #0a0a0a;
  font: 900 12px/1.3 var(--f-display); letter-spacing: .03em; vertical-align: 1px;
}
.sgh-text .game_description .pp-controls li { background: var(--zl-card); border: 0; border-radius: 16px; }
.sgh-text .game_description .pp-controls li b { background: #fff; color: #0a0a0a; border-radius: 9px; }
.sgh-text .pp-faq-item, .pp-faq-item { background: var(--zl-card); border: 0; border-left: 0; border-radius: 18px; box-shadow: inset 4px 0 0 var(--zl-vi); }
.sgh-text .game_description .sgh-outro { background: linear-gradient(135deg, rgba(139, 69, 255, .22), rgba(139, 69, 255, .05)); border: 0; border-radius: 20px; }
.sgh-text .callout { background: linear-gradient(135deg, rgba(139, 69, 255, .18), rgba(139, 69, 255, .04)), var(--zl-card); border: 0; border-radius: 22px; }
.sgh-text .callout::before { background: var(--zl-vi); }
.sgh-text .callout .play-btn, .sgh-text .callout .play-btn:hover { background: var(--zl-lime); color: #0a0a0a; box-shadow: none; border-radius: 999px; }
.sgh-descr .game_description .sgh-more { background: var(--zl-card); border: 0; border-radius: 20px; }
.guide-card { background: var(--zl-panel); border: 0; border-radius: 22px; }
.guide-card:hover { box-shadow: 0 0 0 3px var(--zl-vi), 0 18px 40px -16px rgba(139, 69, 255, .7); }
.guide-card__link { color: var(--zl-vi-3); }

/* ------------------------------------------------------------- game page */
.sgh-game__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.sgh-player .game-offer__window { background: var(--zl-panel); border: 0; border-radius: 26px; box-shadow: none; }
.sgh-game .sgh-player .player-overlay { background: #000; }
.sgh-game .sgh-player .player-overlay::before { background: radial-gradient(70% 80% at 50% 45%, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .65) 100%); }
.sgh-player__bg { filter: blur(40px) saturate(1.6) brightness(.5); }
.sgh-player__center { gap: 16px; }
.sgh-game .sgh-player__cover img { width: 168px; height: 168px; border-radius: 32px; box-shadow: 0 22px 50px rgba(0, 0, 0, .6); }
.sgh-game .sgh-player__name { font: 900 clamp(22px, 2.4vw, 32px)/1.1 var(--f-display); }
.sgh-game #js-player-start.sgh-player__play, .sgh-game #js-player-start.sgh-player__play:hover {
  min-width: 300px; height: 62px; padding: 0 40px; border-radius: 999px; animation: none;
  background: var(--zl-vi); color: #fff; font: 900 21px/1 var(--f-display);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2), 0 16px 40px -12px rgba(139, 69, 255, .85); filter: none;
}
.sgh-game #js-player-start.sgh-player__play:hover { background: #9a5cff; transform: translateY(-2px) scale(1.02); }
.sgh-game #js-player-start svg { width: 22px; height: 22px; }

.sgh-game .sgh-bar { background: var(--zl-panel); border-top: 0; padding: 14px 18px; }
.sgh-bar__game { gap: 14px; }
.zl-bar__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; object-fit: cover; display: block; }
.zl-bar__title { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sgh-bar__name { font: 900 17px/1.15 var(--f-display); max-width: 300px; }
.zl-bar__genre { font: 700 13px/1.2 var(--f-body); color: #8d8d99; text-decoration: none; }
.zl-bar__genre:hover { color: var(--zl-vi-3); text-decoration: none; }
.sgh-thumbs { height: 44px; background: var(--zl-card); border: 0; }
.sgh-thumb { height: 36px; }
.sgh-thumb:hover { background: var(--zl-card-2); }
.sgh-thumb--up.is-on { color: var(--zl-lime); }
.sgh-bar__actions { gap: 8px; }
.sgh-game .sgh-ibtn.sgh-ibtn--icon, .sgh-game .sgh-ibtn.sgh-ibtn--icon:hover {
  width: 44px; height: 44px; border-radius: 999px; background: var(--zl-card); color: #e6e6ec;
}
.sgh-game .sgh-ibtn.sgh-ibtn--icon:hover { background: var(--zl-card-2); color: #fff; }
.sgh-game .sgh-ibtn.sgh-ibtn--icon:has(.zl-ibtn__label) { width: auto; padding: 0 18px 0 15px; gap: 8px; }
.sgh-game .sgh-ibtn .zl-ibtn__label { font: 800 14px/1 var(--f-display); }
.sgh-game .sgh-ibtn.sgh-fs, .sgh-game .sgh-ibtn.sgh-fs:hover { background: var(--zl-vi); color: #fff; }
.sgh-game .sgh-ibtn.sgh-fs:hover { background: #9a5cff; }

.sgh-game .block_adv.sgh-adv { background: var(--zl-panel); border: 0; border-radius: 20px; }
.sgh .sgh-info__title { font: 900 clamp(26px, 2.6vw, 36px)/1.1 var(--f-display); }
.sgh-info__img { border: 0; border-radius: 20px; }
.sgh-statbar { background: var(--zl-card); border: 0; border-radius: 18px; }
.sgh-statbar b { font-family: var(--f-display); font-weight: 900; }
.sgh-statbar b a { color: var(--zl-vi-3); }
.sgh-tags a { height: 36px; padding: 0 14px; background: var(--zl-card); border: 0; border-radius: 999px; font: 800 13.5px/1 var(--f-display); color: #e0e0e6; }
.sgh-tags a:hover { background: var(--zl-card-2); box-shadow: 0 0 0 2px var(--zl-vi); color: #fff; }
.sgh-tags em { color: #8d8d99; }

/* right column: picture grid with badges and titles on the pictures */
.sgh-card.sgh-lead { background: none; padding: 0; }
.sgh .sgh-lead__title { font: 900 21px/1.1 var(--f-display); margin: 0 2px 14px; gap: 10px; }
.sgh-lead__title .zl-i { color: var(--zl-vi-2); }
.sgh-lead__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.sgh-lead__card { position: relative; display: block; border-radius: 16px; }
.sgh-lead__img { aspect-ratio: 1 / 1; border: 0; border-radius: 16px; background: var(--zl-card); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.sgh-lead__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .85) 100%); }
.sgh-lead__card:hover .sgh-lead__img { border: 0; transform: translateY(-3px); box-shadow: 0 0 0 3px var(--zl-vi), 0 16px 34px -14px rgba(139, 69, 255, .75); }
.sgh-lead__name {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 0;
  font: 900 13.5px/1.2 var(--f-display); color: #fff; white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
  transition: transform .22s var(--ease);
}
.sgh-lead__card:hover .sgh-lead__name, .sgh-lead__card:hover .sgh-lead__meta { transform: translateY(-3px); }
.sgh-lead__meta { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; margin: 0; transition: transform .22s var(--ease); }
.sgh-lead__meta .sgh-lead__stat { display: none; }
.sgh-lead__meta b, .sgh-lead__meta b.is-hot, .sgh-lead__meta b.is-new, .sgh-lead__meta b.is-trend, .sgh-lead__meta b.is-top {
  display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 999px;
  font: 900 10.5px/1 var(--f-display); letter-spacing: .04em; background: var(--zl-hot); color: #fff;
}
.sgh-lead__meta b.is-hot::before { width: 10px; height: 10px; }
.sgh-lead__meta b.is-new { background: var(--zl-lime); color: #0a0a0a; }
.sgh-lead__meta b.is-trend { background: var(--zl-top); color: #1a1000; font-size: 0; }
.sgh-lead__meta b.is-trend::after { content: "TOP"; font-size: 10.5px; }

.sgh-like { margin-top: 36px; }
.sgh-like .sgh-sec__head { flex-wrap: wrap; }
.sgh-like .sgh-tabs { margin-left: auto; }
.sgh-reviews__title { font-family: var(--f-display); font-weight: 900; }

/* ---------------------------------------------------------------- footer */
footer.footer { background: #000; }
footer.footer::before { background: linear-gradient(90deg, transparent, rgba(139, 69, 255, .5), transparent); }
footer.footer .menu a { color: #8d8d99; font-family: var(--f-display); font-weight: 700; }
footer.footer .menu a:hover { color: #fff; }

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1360px) {
  .sgh-grid18.zl-grid20 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .zl-grid20 > .sgh-gt:nth-child(n+19) { display: none; }
}
@media (max-width: 1180px) {
  .sgh-game__grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .sgh-game .sgh-ibtn .zl-ibtn__label { display: none; }
  .sgh-game .sgh-ibtn.sgh-ibtn--icon:has(.zl-ibtn__label) { width: 44px; padding: 0; }
}
@media (max-width: 1100px) {
  .sgh-top .gpl-topnav { display: none; }
  .sgh-game__grid { grid-template-columns: 1fr; }
  .sgh-game__side { position: static; }
  .sgh-lead__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --sgh-top-h: 64px; }
  .sgh-grid18.zl-grid20 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
  .zl-grid20 > .sgh-gt:nth-child(n+17) { display: none; }
  .sgh-side { background: #000; box-shadow: 20px 0 60px rgba(0, 0, 0, .7); }
}
@media (max-width: 680px) {
  .sgh-top { padding: 9px 12px 10px; gap: 10px; }
  .sgh-logo__mark, .sgh-logo__mark svg { width: 38px; height: 38px; }
  .sgh-logo__text { height: 32px; font-size: 17px; padding: 0 12px 1px; }
  .sgh .sgh-search input { height: 44px; line-height: 44px; }
  .sgh-top .sgh-random { height: 40px; padding: 0 12px; }
  .sgh .sgh-sec__title, .sgh .games_block .catalog__title.zl-sec__title { font-size: 21px; }
  .sgh-sec__icon .zl-i { width: 24px; height: 24px; }
  .sgh-sec { margin-top: 30px; }

  .sgh-grid18.zl-grid20 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .zl-grid20 > .sgh-gt--big, .zl-grid20 > .sgh-gt--big:nth-child(2) { grid-column: span 1; }
  .zl-grid20 > .sgh-gt--big:nth-child(1) { grid-column: 1 / -1; }
  .zl-grid20 > .sgh-gt:nth-child(n+14) { display: none; }
  .sgh-gt--big:not(:first-child) .zl-gt__media { aspect-ratio: 16 / 10; border-radius: var(--zl-r); }
  .sgh-gt--big:not(:first-child) .sgh-gt__name { font-size: 14px; font-weight: 800; }
  .sgh-gt__name { font-size: 13.5px; }
  .sgh-gt__rate { display: none; }

  .sgh .games_block .catalog, .sgh .main.category > .catalog, .sgh .main.search .catalog .catalog, .sgh .catalog.sgh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px;
  }
  .sgh .game-card__name a { font-size: 13.5px; }
  .sgh-track { grid-auto-columns: 160px; gap: 10px; }
  #popular .sgh-track { grid-auto-columns: 150px; }
  #popular .game-card__name a { font-size: 15px; }

  .sgh-game #js-player-start.sgh-player__play { min-width: 210px; height: 50px; font-size: 18px; }
  .sgh-game .sgh-player__cover img { width: 84px; height: 84px; border-radius: 22px; }
  .sgh-game .sgh-player__name { font-size: 20px; }
  .sgh-game .sgh-bar { padding: 12px; }
  .sgh-bar__name { max-width: 170px; font-size: 15px; }
  .sgh-lead__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgh-text .game_description, .sgh-card { border-radius: 20px; }
  .game_description .pp-quote { padding: 16px 16px 16px 52px; }
  .game_description .pp-quote::before { left: 12px; font-size: 42px; }
}
@media (max-width: 420px) {
  .sgh-lead__grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .zl-gt__media, .sgh .game-card__thumb, .sgh-lead__img, #popular .game_body { transition: none !important; }
}
.sgh-lead__name, #popular .game-card__name a { overflow: hidden; }
.breadcrumb a, .sgh-info .breadcrumb a, .breadcrumbs a { color: var(--zl-vi-3); }
.breadcrumb, .breadcrumbs { color: #8d8d99; }
