:root {
  --bg: #161c24;
  --bg-deep: #111821;
  --panel: #0f1721;
  --panel-soft: #182333;
  --panel-muted: #1d2839;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(106, 233, 110, 0.28);
  --text: #e5e6ec;
  --text-soft: #a6afbd;
  --accent: #69e58b;
  --accent-2: #b6ff4e;
  --accent-dark: #1e8f44;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --side-width: 70px;
  --radius: 12px;
  --mobile-nav-top: 132px;
  --mobile-nav-left: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #162435 0%, var(--bg) 28%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
}

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--side-width);
  height: 100vh;
  padding: 20px 0 16px;
  background: #1d2839;
}

.side-nav__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 6px;
}

.side-nav__brand img {
  width: 100%;
  max-width: 54px;
  object-fit: contain;
}

.side-nav__menu {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}

.side-nav__menu a {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 10px;
  color: #dfe8f2;
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.side-nav__menu a:hover {
  background: rgba(105, 229, 139, 0.1);
  transform: translateX(1px);
}

.side-nav__menu span {
  font-size: 18px;
  line-height: 1;
}

.side-nav__menu small {
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.page-frame {
  margin-left: var(--side-width);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  padding: 15px 18px;
  background: rgba(22, 28, 36, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.topbar__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}

.topbar__menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.topbar__logo {
  display: flex;
  align-items: center;
}

.topbar__logo img {
  width: 120px;
}

.topbar__search {
  position: relative;
  display: block;
}

.topbar__search input {
  width: 100%;
  height: 41px;
  padding: 0 42px 0 14px;
  color: var(--text);
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.topbar__search input::placeholder {
  color: #90a0b2;
}

.topbar__search span {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #93a3b6;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__login,
.topbar__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.topbar__login {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.topbar__register {
  color: #0a140d;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 8px 22px rgba(105, 229, 139, 0.24);
}

.mobile-nav {
  display: none;
}

.mobile-nav a {
  display: inline-flex;
}

.main-content {
  padding: 18px 22px 40px;
}

.page-intro {
  width: min(100%, 1220px);
  margin-bottom: 16px;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-slider,
.games-strip,
.content-card,
.faq-block,
.site-footer {
  width: min(100%, 1220px);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(81, 229, 140, 0.24);
  border-radius: 14px;
  background: #0f1520;
  box-shadow: var(--shadow);
}

.hero-slider__track {
  position: relative;
  height: clamp(355px, 31vw, 420px);
}

.hero-slider--single .hero-slider__track {
  height: auto;
  aspect-ratio: 1192 / 410;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: #0f1520;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
}

.hero-slide__link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slider--single .hero-slide img {
  object-fit: cover;
  object-position: center 32%;
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-slider__dots button {
  width: 22px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.hero-slider__dots button.is-active {
  background: var(--accent);
}

.hero-slider--single .hero-slider__dots {
  display: none;
}

.games-strip {
  margin-top: 16px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 23, 33, 0.96) 0%, rgba(17, 26, 36, 0.96) 100%);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-head h2,
.faq-block h2,
.page-intro h1,
.seo-article h1,
.seo-article h2,
.seo-article h3,
.site-footer h3 {
  margin: 0;
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.section-head a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.game-card a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111821;
}

.game-card img {
  width: 100%;
  aspect-ratio: 0.75;
  object-fit: cover;
}

.game-card__demo {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(11, 18, 26, 0.8);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.game-card h3 {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #d4dbea;
}

.content-card {
  margin-top: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10, 17, 24, 0.98) 0%, rgba(9, 16, 23, 0.98) 100%);
}

.info-main-content {
  display: grid;
  gap: 18px;
}

.info-hero {
  position: relative;
  overflow: hidden;
  width: min(100%, 1220px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0f1520;
  box-shadow: var(--shadow);
}

.info-hero__link {
  display: block;
}

.info-hero:has(.info-hero__link:only-child),
.info-hero:has(.info-hero__media:only-child) {
  aspect-ratio: 1192 / 410;
}

.info-hero:has(.info-hero__link:only-child) .info-hero__link {
  height: 100%;
}

.info-hero__media {
  min-height: 280px;
}

.info-hero__media img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.info-hero:has(.info-hero__link:only-child) .info-hero__media,
.info-hero:has(.info-hero__media:only-child) .info-hero__media {
  min-height: 0;
  height: 100%;
}

.info-hero:has(.info-hero__link:only-child) .info-hero__media img,
.info-hero:has(.info-hero__media:only-child) .info-hero__media img {
  min-height: 0;
  height: 100%;
  object-position: center 32%;
}

.info-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.12) 0%, rgba(9, 14, 19, 0.72) 55%, rgba(9, 16, 23, 0.92) 100%);
}

.info-hero__eyebrow {
  margin: 0;
  color: #c7ffd3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
}

.info-hero__lead {
  max-width: 68ch;
  margin: 0;
  color: rgba(229, 230, 236, 0.88);
  font-size: 14px;
  line-height: 1.7;
}

.info-layout {
  display: grid;
  width: min(100%, 1220px);
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.info-layout--single {
  grid-template-columns: 1fr;
}

.info-aside {
  display: grid;
  gap: 14px;
}

.info-aside__card,
.info-article {
  border: 1px solid rgba(106, 233, 110, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 20, 28, 0.96) 0%, rgba(12, 18, 26, 0.98) 100%);
}

.info-aside__card {
  padding: 18px 16px;
}

.info-aside__card--highlight {
  background: linear-gradient(180deg, rgba(22, 49, 28, 0.56) 0%, rgba(13, 23, 18, 0.92) 100%);
}

.info-aside__card h2 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

.info-aside__nav {
  display: grid;
  gap: 10px;
}

.info-aside__nav a {
  color: rgba(221, 229, 240, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.info-mini-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: rgba(221, 229, 240, 0.84);
  font-size: 12px;
  line-height: 1.55;
}

.info-article {
  position: relative;
  overflow: hidden;
  padding: 30px 34px 34px;
  border-color: rgba(124, 231, 150, 0.14);
  background:
    radial-gradient(circle at top right, rgba(105, 229, 139, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(10, 18, 26, 0.98) 0%, rgba(8, 14, 21, 0.99) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.info-article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) 0 0 / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) 0 0 / 1px 100% no-repeat;
  pointer-events: none;
}

.info-article .info-aside__card {
  margin-bottom: 18px;
}

.info-toc {
  position: relative;
  margin-bottom: 24px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(105, 229, 139, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(14, 25, 34, 0.96), rgba(9, 16, 23, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.info-toc::before {
  content: none;
}

.info-toc__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.info-toc__nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(233, 239, 246, 0.82);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.info-toc__nav a:hover {
  background: rgba(105, 229, 139, 0.05);
  border-color: transparent;
  box-shadow: none;
  color: rgba(243, 255, 246, 0.92);
  transform: none;
}

.info-toc__nav a:focus-visible {
  outline: 2px solid rgba(182, 255, 78, 0.42);
  outline-offset: 2px;
}

.info-rich-content > :first-child {
  margin-top: 0;
}

.info-rich-content > p,
.info-rich-content > h2,
.info-rich-content > h3,
.info-rich-content > ul,
.info-rich-content > ol,
.info-rich-content > .info-note,
.info-rich-content > .info-warning {
  max-width: 74ch;
}

.info-rich-content p,
.info-rich-content ul,
.info-rich-content ol,
.info-rich-content table {
  margin-top: 12px;
}

.info-rich-content h2,
.info-rich-content h3 {
  margin: 34px 0 0;
}

.info-rich-content h2 {
  position: relative;
  padding-top: 18px;
  font-size: 31px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.info-rich-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(182, 255, 78, 0.08));
}

.info-rich-content h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.info-rich-content p,
.info-rich-content li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.82;
}

.info-rich-content strong {
  color: var(--text);
}

.info-rich-content ul,
.info-rich-content ol {
  padding-left: 20px;
}

.info-rich-content li + li {
  margin-top: 10px;
}

.info-note,
.info-warning {
  margin-top: 16px;
  position: relative;
  padding: 18px 18px 18px 22px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.info-note {
  border: 1px solid rgba(106, 233, 110, 0.16);
  background: linear-gradient(135deg, rgba(18, 58, 31, 0.42), rgba(10, 24, 18, 0.78));
}

.info-warning {
  border: 1px solid rgba(255, 205, 106, 0.16);
  background: linear-gradient(135deg, rgba(90, 62, 18, 0.34), rgba(38, 28, 14, 0.74));
}

.info-note::before,
.info-warning::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 10px;
  width: 3px;
  border-radius: 999px;
}

.info-note::before {
  background: linear-gradient(180deg, var(--accent), rgba(105, 229, 139, 0.18));
}

.info-warning::before {
  background: linear-gradient(180deg, #ffd77a, rgba(255, 215, 122, 0.18));
}

.info-note p,
.info-warning p {
  margin-bottom: 0;
}

.info-steps {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style-position: inside;
}

.info-steps li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.info-steps li::marker {
  color: var(--accent);
  font-weight: 800;
}

.stats-table-wrap {
  margin-top: 18px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.info-rich-content .stats-table-wrap {
  max-width: 100%;
}

.info-table th,
.info-table td {
  vertical-align: top;
}

.content-card__anchor {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c3cedd;
  font-size: 12px;
  font-weight: 700;
}

.seo-article {
  padding: 22px 18px 26px;
}

.seo-article h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}

.seo-article h2 {
  margin-top: 28px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
}

.seo-article h3 {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
}

.seo-article p,
.seo-article li,
.site-footer p,
.site-footer a {
  color: var(--text-soft);
}

.seo-article p,
.seo-article ul,
.seo-article ol {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.72;
}

.content-list,
.content-steps {
  padding-left: 18px;
}

.content-list li + li,
.content-steps li + li {
  margin-top: 8px;
}

.content-list--checked {
  list-style: none;
  padding-left: 0;
}

.content-list--checked li {
  position: relative;
  padding-left: 24px;
}

.content-list--checked li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.seo-note {
  padding: 14px 16px;
  border: 1px solid rgba(182, 255, 78, 0.14);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(28, 66, 36, 0.28), rgba(34, 71, 22, 0.12));
}

.stats-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.content-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.content-table thead th,
.content-table th,
.content-table td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 13px;
}

.content-table th {
  color: #f0ffe8;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(133, 186, 66, 0.78), rgba(56, 119, 54, 0.85));
}

.content-table td {
  color: #eaf1ee;
  background: linear-gradient(180deg, rgba(33, 74, 39, 0.78), rgba(18, 62, 43, 0.88));
}

.faq-block {
  margin-top: 24px;
}

.faq-block h2 {
  margin-bottom: 12px;
  text-align: center;
  color: var(--accent);
  font-size: 34px;
  letter-spacing: 0.04em;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #1a2432;
}

.faq-list summary {
  position: relative;
  padding: 16px 54px 16px 18px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
}

.site-footer {
  width: auto;
  margin-top: 28px;
  margin-right: 0;
  margin-left: 0;
  padding: 0 20px;
  background: #0f1f2a;
}

.site-footer__menu-section {
  padding: 26px 0 20px;
}

.site-footer__menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 34px;
}

.site-footer__column {
  min-width: 0;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.site-footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a,
.site-footer__note-item,
.site-footer__legal-text p,
.site-footer__bottom {
  color: rgba(221, 229, 240, 0.78);
}

.site-footer__list a {
  font-size: 12px;
  line-height: 1.25;
}

.site-footer__notes {
  display: grid;
  gap: 12px;
}

.site-footer__note-item {
  position: relative;
  display: block;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__note-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(105, 229, 139, 0.12);
}

.site-footer__copyright-section {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 22px 0 20px;
}

.site-footer__warning {
  margin: 0;
  max-width: 92ch;
  color: rgba(221, 229, 240, 0.72);
  font-size: 11px;
  line-height: 1.8;
}

.site-footer__legal-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.site-footer__legal-text p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.site-footer__badges img {
  width: auto;
  height: 26px;
  object-fit: contain;
  opacity: 0.9;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.back-to-top {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  border: 1px solid rgba(182, 255, 78, 0.18);
  border-radius: 50%;
  color: #f4ffe7;
  background: radial-gradient(circle at 30% 30%, rgba(182, 255, 78, 0.22), rgba(182, 255, 78, 0) 45%), linear-gradient(180deg, rgba(42, 73, 39, 0.96), rgba(18, 37, 25, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: rgba(182, 255, 78, 0.34);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.38), 0 0 0 6px rgba(105, 229, 139, 0.08);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(182, 255, 78, 0.62);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-layout {
    grid-template-columns: 1fr;
  }

  .info-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__menu-grid,
  .site-footer__legal-top {
    grid-template-columns: 1fr;
  }

  .site-footer__badges {
    justify-content: flex-start;
  }

  .site-footer__warning {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .side-nav {
    display: none;
  }

  .page-frame {
    margin-left: 0;
  }

  .topbar {
    grid-template-columns: auto auto 1fr auto;
    padding: 14px 16px;
  }

  .mobile-nav {
    position: fixed;
    top: var(--mobile-nav-top);
    left: var(--mobile-nav-left);
    right: auto;
    bottom: auto;
    z-index: 18;
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 10px;
    width: min(332px, calc(100vw - var(--mobile-nav-left) - 14px));
    padding: 14px;
    border: 1px solid rgba(106, 233, 110, 0.24);
    border-radius: 18px;
    background:
      radial-gradient(circle at top right, rgba(105, 229, 139, 0.08), transparent 30%),
      rgba(13, 21, 30, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .mobile-nav a {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 78px;
    padding: 12px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav a:hover {
    background: rgba(105, 229, 139, 0.1);
    transform: translateY(-1px);
  }

  .mobile-nav span {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-nav small {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .topbar__menu-toggle {
    display: inline-block;
  }

  .topbar__logo img {
    width: 96px;
  }

  .topbar__search {
    grid-column: 1 / -1;
    order: 5;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .main-content {
    padding: 16px 14px 34px;
  }

  .info-main-content {
    gap: 16px;
  }

  .site-footer {
    margin-right: 0;
    margin-left: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-slider__track {
    height: 240px;
  }

}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    min-height: auto;
  }

  .mobile-nav {
    width: min(320px, calc(100vw - var(--mobile-nav-left) - 12px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px;
  }

  .topbar__actions {
    gap: 8px;
  }

  .topbar__login,
  .topbar__register {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-hero__media,
  .info-hero__media img {
    min-height: 220px;
  }

  .info-hero__overlay {
    padding: 20px 18px 18px;
  }

  .info-hero h1 {
    font-size: 32px;
  }

  .info-toc__nav {
    grid-template-columns: 1fr;
  }

  .info-aside {
    grid-template-columns: 1fr;
  }

  .info-article {
    padding: 22px 16px 24px;
  }

  .info-toc {
    padding: 10px;
  }

  .info-rich-content h2 {
    font-size: 26px;
  }

  .info-rich-content h3 {
    font-size: 19px;
  }

  .info-rich-content p,
  .info-rich-content li {
    font-size: 14px;
    line-height: 1.72;
  }

  .section-head,
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__menu-section,
  .site-footer__copyright-section {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .seo-article {
    padding: 18px 14px 22px;
  }

  .seo-article h1 {
    font-size: 28px;
  }

  .seo-article h2 {
    font-size: 21px;
  }

  .faq-block h2 {
    font-size: 28px;
  }
}