:root {
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --color-bg: #f1f1f1;
  --color-ink: #111111;
  --color-muted: #9a9a9a;
  --color-accent: #ff875f;
  --color-panel: #0a0a0a;
  --header-h: 78px;
}

body {
  margin: 0;
  padding: 0;
}

.home-page.loader-modal-open {
  overflow: hidden;
}

.home-page * {
  box-sizing: border-box;
}

.home-page,
.home-page .font-body {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.home-page .font-display {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  padding-top: 8px;
}

.site-header-bar {
  position: relative;
  z-index: 102;
  min-height: var(--header-h);
  background: var(--color-bg);
}

/* Header frame lines — side horizontals + center notch */
.header-logo-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 277px;
  height: 48px;
  background: url('/img/header-line.svg') no-repeat center;
  pointer-events: none;
  z-index: 1;
}

.header-logo-line-left,
.header-logo-line-right {
  position: absolute;
  top: calc(50% - 23px);
  width: calc(50% - 166px);
  height: 1px;
  background: var(--color-ink);
  pointer-events: none;
  z-index: 1;
}

.header-logo-line-left {
  left: 28px;
}

.header-logo-line-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  width: 33px;
  height: 1px;
  background: var(--color-ink);
  transform: rotate(215deg);
  transform-origin: bottom right;
}

.header-logo-line-right {
  right: 28px;
}

.header-logo-line-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 33px;
  height: 1px;
  background: var(--color-ink);
  transform: rotate(145deg);
  transform-origin: bottom left;
}

/* middle notch lines are drawn by header-line.svg — no CSS duplicates */
.header-logo-line-middle {
  display: none;
}

.site-header-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 28px;
  /* padding-top: 45px; */
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  appearance: none;
  border: none;
  background: none;
  padding: 8px 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  transition: color 0.25s ease;
}

.nav-sign {
  display: inline-block;
  min-width: 14px;
  text-align: center;
  font-size: 0;
}

.nav-sign::before {
  content: '+';
  font-size: 13px;
}

.nav-item.is-open .nav-trigger {
  color: var(--color-accent);
}

.nav-item.is-open .nav-sign::before {
  content: '−';
  color: var(--color-accent);
}

.site-logo-wrap {
  justify-self: center;
  position: relative;
  z-index: 103;
  align-self: end;
  padding-bottom: 18px;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-logo-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.site-header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-icon,
.loader-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-trigger {
  appearance: none;
  border: none;
  background: none;
  padding: 8px 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  transition: color 0.25s ease;
}

.lang-sign {
  display: inline-block;
  min-width: 14px;
  text-align: center;
  font-size: 0;
}

.lang-sign::before {
  content: '+';
  font-size: 13px;
}

.lang-switcher.is-open .lang-trigger {
  color: var(--color-accent);
}

.lang-switcher.is-open .lang-sign::before {
  content: '−';
  color: var(--color-accent);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 156px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--color-panel);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s;
  z-index: 120;
}

.lang-switcher.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option-link {
  display: block;
  width: 100%;
  padding: 10px 18px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition:
    color 0.25s ease,
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-switcher.is-open .lang-option-link {
  opacity: 1;
  transform: translateY(0);
}

.lang-switcher.is-open .lang-option:nth-child(1) .lang-option-link { transition-delay: 0.05s; }
.lang-switcher.is-open .lang-option:nth-child(2) .lang-option-link { transition-delay: 0.1s; }
.lang-switcher.is-open .lang-option:nth-child(3) .lang-option-link { transition-delay: 0.15s; }

.lang-option-link:hover,
.lang-option-link.is-active {
  color: var(--color-accent);
}

.loader-download-trigger {
  appearance: none;
  border: none;
  background: none;
  padding: 8px 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  transition: color 0.25s ease;
  white-space: nowrap;
}

@media (hover: hover) {
  .lang-trigger:hover,
  .loader-download-trigger:hover {
    color: var(--color-accent);
  }
}

.loader-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.loader-modal[hidden] {
  display: none;
}

.loader-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(2px);
}

.loader-modal-panel {
  position: relative;
  width: min(100%, 460px);
  padding: 32px 28px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.loader-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  appearance: none;
  border: none;
  background: none;
  padding: 4px 8px;
  font-size: 24px;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
}

.loader-modal-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.loader-modal-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 48px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.loader-modal-hint {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
}

.loader-modal-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loader-modal-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.loader-modal-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.loader-modal-error {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #c0392b;
}

.loader-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.loader-modal-actions .site-footer-btn {
  flex: 0 0 auto;
  min-width: 132px;
}

.loader-modal-submit:disabled {
  opacity: 0.55;
  cursor: wait;
  pointer-events: none;
}

.header-link {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  text-decoration: none;
}

.header-link:hover {
  color: var(--color-accent);
}

/* Mega menu panel */
.mega-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--color-panel);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-menu-panel.is-visible {
  max-height: 360px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-panel.is-closing {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    max-height 0.45s cubic-bezier(0.55, 0, 0.45, 1),
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.55, 0, 0.45, 1);
}

.mega-menu-panel-inner {
  padding: 36px 28px 44px;
}

.mega-menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  max-width: 1200px;
}

.mega-menu-panel .mega-link {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease;
  will-change: opacity, transform;
}

.mega-menu-panel.is-ready .mega-link {
  opacity: 1;
  transform: translateY(0);
}

.mega-menu-panel.is-ready .mega-link:nth-child(1) { transition-delay: 0.06s; }
.mega-menu-panel.is-ready .mega-link:nth-child(2) { transition-delay: 0.11s; }
.mega-menu-panel.is-ready .mega-link:nth-child(3) { transition-delay: 0.16s; }
.mega-menu-panel.is-ready .mega-link:nth-child(4) { transition-delay: 0.21s; }
.mega-menu-panel.is-ready .mega-link:nth-child(5) { transition-delay: 0.26s; }
.mega-menu-panel.is-ready .mega-link:nth-child(6) { transition-delay: 0.31s; }

.mega-menu-panel.is-closing .mega-link {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.55, 0, 0.45, 1);
  transition-delay: 0s !important;
}

.mega-link {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 0.3s ease;
}

.mega-link:hover {
  color: var(--color-accent);
}

.mega-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  transform: translateY(-0.35em);
  transition: color 0.3s ease;
}

.mega-link:hover .mega-index {
  color: var(--color-accent);
}

.nav-item .mega-menu {
  display: none;
}

/* Main content */
.home-page #circle {
  pointer-events: none;
  position: fixed;
  width: 45px;
  height: 45px;
  border-radius: 50px;
  border: 1px solid rgba(145, 145, 145, 0.28);
  background-color: transparent;
  transform: translate(-50%, -50%);
  z-index: 10000;
  will-change: transform, background-color, border-color, mix-blend-mode;
}

.home-page section.main {
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  padding: 20px 28px 40px;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
}

.home-page section.main .words_line {
  overflow: hidden;
  margin: clamp(80px, 22vh, 50px) 0 2.5rem;
}

.home-page section.main .words_line .line {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.home-page section.main .words_line .line p {
  margin: 0 60px 0 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 130px);
  text-transform: uppercase;
  white-space: nowrap;
}

.home-page section.main .words_line .line .a {
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-ink);
}

.home-page section.main .words_line .line .b {
  font-weight: 600;
  color: var(--color-ink);
}

.home-page section.main .words_line .line .c {
  font-weight: 900;
  color: var(--color-ink);
}

.home-page section.main .words_line .line .d {
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-ink);
}

.home-page section.main .words_line .line .f {
  font-weight: 800;
  color: var(--color-ink);
}

.home-page section.main .description {
  max-width: 560px;
}

.home-page section.main .description h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin-top: 20px;
}

/* Games section */
.games-section {
  width: 100%;
  margin-top: clamp(96px, 14vh, 160px);
  padding: clamp(72px, 10vh, 120px) 0 clamp(96px, 12vh, 140px);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.games-section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 0 48px;
  text-align: left;
}

.games-section-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.games-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 112px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.games-section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px 0 0;
  background: var(--color-accent);
}

.games-section-subtitle {
  margin: 0;
  max-width: 520px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.72);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 300px));
  justify-content: start;
  gap: 28px;
}

.game-card {
  min-width: 0;
}

.game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.game-card-media {
  height: 368px;
  position: relative;
  padding: 5px;
  background: transparent;
  border: 1px solid var(--color-ink);
  overflow: hidden;
  transition: border-color 0.35s ease;
  display: flex;
    align-items: flex-end;
    justify-content: center;
}

.game-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  transform: scale3d(0, 1, 1);
  transform-origin: 100% 50%;
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.game-card-image {
  position: relative;
  z-index: 1;
  height: 96%;
  display: block;
  width: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  transform: scale(1.04);
}

.game-card-overlay {
  position: absolute;
  inset: 5px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.game-card-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 16px 2px 0;
}

.game-card-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  transition: color 0.25s ease;
}

.game-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-ink);
  transition: color 0.25s ease;
}

.game-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.25s ease;
}

@media (hover: hover) {
  .game-card-link:hover .game-card-media::before {
    transform: scale3d(1, 1, 1);
    transform-origin: 0 50%;
  }

  .game-card-link:hover .game-card-media {
    border-color: var(--color-ink);
  }
}

/* Footer */
.site-footer {
  width: 100%;
  background: var(--color-bg);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 0 28px;
}

.site-footer-col-contact {
  width: 100%;
  max-width: 760px;
}

.site-footer-col-menu {
  width: 100%;
  max-width: 576px;
  padding-top: 16px;
}

.site-footer-title {
  margin: 0 0 29px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.site-footer-form {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.underline-field {
  position: relative;
  flex: 1;
  min-width: 0;
  margin-bottom: 14px;
}

.underline-field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-muted);
  background: transparent;
  padding: 3px 6px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--color-ink);
}

.underline-field input::placeholder {
  color: var(--color-muted);
}

.underline-field input:hover,
.underline-field input:focus {
  outline: none;
  border-bottom-color: var(--color-ink);
}

.underline-field::before,
.underline-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 9px;
  background: var(--color-ink);
  transform: translateY(50%);
}

.underline-field::before {
  left: 0;
}

.underline-field::after {
  right: 0;
}

.site-footer-btn {
  position: relative;
  flex: 0 0 132px;
  border: none;
  padding: 5px;
  background: none;
  cursor: pointer;
}

.site-footer-btn-content {
  display: block;
  padding: 17px 10px;
  background: #fff;
  border: 1px solid var(--color-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.site-footer-btn-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  transform: scale3d(1, 1, 1);
  transform-origin: 0 50%;
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 1;
}

.site-footer-btn-label {
  display: block;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.site-footer-btn-text {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-footer-btn-corners {
  --corner-width: 1px;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  color: var(--color-ink);
  background:
    linear-gradient(to right, currentColor var(--corner-width), transparent var(--corner-width)) 0 0,
    linear-gradient(to right, currentColor var(--corner-width), transparent var(--corner-width)) 0 100%,
    linear-gradient(to left, currentColor var(--corner-width), transparent var(--corner-width)) 100% 0,
    linear-gradient(to left, currentColor var(--corner-width), transparent var(--corner-width)) 100% 100%,
    linear-gradient(to bottom, currentColor var(--corner-width), transparent var(--corner-width)) 0 0,
    linear-gradient(to bottom, currentColor var(--corner-width), transparent var(--corner-width)) 100% 0,
    linear-gradient(to top, currentColor var(--corner-width), transparent var(--corner-width)) 0 100%,
    linear-gradient(to top, currentColor var(--corner-width), transparent var(--corner-width)) 100% 100%;
  background-repeat: no-repeat;
  background-size: 6px 4px;
  transition: background-size 0.3s ease;
}

@keyframes btn-text-up-out {
  to {
    transform: translate3d(0, -105%, 0);
  }
}

@keyframes btn-text-up-in {
  from {
    transform: translate3d(0, 100%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) {
  .site-footer-btn:hover .site-footer-btn-content {
    color: var(--color-ink);
  }

  .site-footer-btn:hover .site-footer-btn-content::before {
    transform: scale3d(0, 1, 1);
    transform-origin: 100% 50%;
  }

  .site-footer-btn:hover .site-footer-btn-text {
    animation: btn-text-up-out 0.2s forwards, btn-text-up-in 0.2s forwards 0.2s;
  }

  .site-footer-btn:hover .site-footer-btn-corners {
    background-size: 10px 6px;
  }
}

.site-footer-contact {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-footer-contact-mobile {
  display: none;
}

.site-footer-contact-label {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-ink);
}

.site-footer-contact-link {
  color: var(--color-ink);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.25s ease;
}

.site-footer-contact-link:hover {
  color: var(--color-accent);
}

.site-footer-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
}

.site-footer-menu:not(:last-child) {
  margin-bottom: 19px;
}

.site-footer-menu-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.site-footer-menu-list {
  display: flex;
  justify-content: space-between;
  flex: 1 0 auto;
  gap: 5px;
  max-width: 73%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-menu-list a {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
  transition: color 0.25s ease;
}

.site-footer-menu-list a:hover {
  color: var(--color-accent);
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 120px;
  padding: 17px 28px 24px;
  border-top: 1px solid #abb2b9;
}

.site-footer-copyright {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .header-logo-line,
  .header-logo-line-left,
  .header-logo-line-right {
    display: none;
  }

  .site-header-bar {
    border-bottom: 1px solid var(--color-ink);
  }

  .site-header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 20px 12px;
    align-items: center;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 20px;
    order: 2;
    padding-top: 0;
  }

  .site-logo-wrap {
    order: 1;
    justify-self: start;
    align-self: center;
    padding-bottom: 0;
  }

  .site-logo-img {
    height: 28px;
  }

  .site-header-right {
    order: 3;
    justify-self: start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .mega-menu-grid {
    flex-direction: column;
    gap: 14px;
  }

  .mega-link {
    font-size: 26px;
  }

  .home-page section.main .words_line {
    margin-top: clamp(72px, 14vh, 120px);
  }

  .games-section {
    margin-top: 72px;
    padding: 56px 0 72px;
  }

  .games-section-head {
    margin-bottom: 32px;
    padding: 0 4px;
  }

  .games-grid {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 0 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .games-grid::-webkit-scrollbar {
    height: 4px;
  }

  .games-grid::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.18);
  }

  .game-card {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: center;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
  }

  .site-footer-col-menu {
    padding-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
    max-width: none;
  }

  .site-footer-menu-social {
    order: 2;
  }

  .site-footer-menu:not(.site-footer-menu-social):not(:first-child) {
    order: 3;
  }

  .site-footer-menu-list {
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 17px;
  }

  .site-footer-menu {
    flex-direction: column;
    gap: 11px;
  }

  .site-footer-contact-desktop {
    display: none;
  }

  .site-footer-contact-mobile {
    display: flex;
    margin-top: 34px;
  }

  .site-footer-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-footer-btn {
    flex: none;
    width: 100%;
  }

  .site-footer-bottom {
    flex-wrap: wrap;
    margin-top: 66px;
    padding: 29px 20px 20px;
    row-gap: 20px;
  }
}
