/* HubMob — public site styles */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Exo2-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07090f;
  --bg-2: #0a0e17;
  --surface: #0e1420;
  --surface-2: #121a29;
  --line: rgba(140, 180, 255, 0.11);
  --line-strong: rgba(140, 180, 255, 0.22);
  --text: #eaf1ff;
  --text-2: #c3d0e6;
  --muted: #8d9db8;
  --cyan: #19e3ff;
  --blue: #2a6bff;
  --accent: #3cc3ff;
  --grad: linear-gradient(100deg, #19e3ff 0%, #2a8bff 55%, #2a6bff 100%);
  --ok: #3ddc97;
  --warn: #ffb547;
  --danger: #ff5d73;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 10px 40px -10px rgba(25, 180, 255, 0.55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  --font-display: 'Exo 2', 'Inter', system-ui, sans-serif;
  --wrap: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(25, 227, 255, 0.10), transparent 60%),
    radial-gradient(800px 600px at 96% 4%, rgba(42, 107, 255, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 50% 120%, rgba(42, 107, 255, 0.06), transparent 60%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7fdcff; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; font-weight: 750; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(25, 227, 255, 0.3); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--surface-2); color: var(--text); border-radius: 8px; }
.skip-link:focus { left: 12px; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ── header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.site-header__brand { display: inline-flex; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__icon { width: 36px; height: 36px; object-fit: contain; }
.logo__text { height: 24px; width: auto; }
.logo--large .logo__icon { width: 56px; height: 56px; }
.logo--large .logo__text { height: 36px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: var(--text-2); text-decoration: none; font-weight: 550; font-size: 0.95rem;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: rgba(140, 180, 255, 0.08); }
.site-nav a[aria-current='page'] { color: var(--text); }
.site-nav a[aria-current='page']::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.72em 1.25em; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 650 0.95rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary { background: var(--grad); color: #03121c; box-shadow: var(--glow); }
.btn--primary:hover { color: #03121c; transform: translateY(-1px); box-shadow: 0 14px 44px -10px rgba(25, 200, 255, 0.75); filter: brightness(1.06); }
.btn--ghost { background: rgba(140, 180, 255, 0.04); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--text); border-color: rgba(25, 227, 255, 0.6); background: rgba(25, 227, 255, 0.06); }
.btn--disabled { background: rgba(140, 180, 255, 0.06); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn--lg { font-size: 1.02rem; padding: 0.85em 1.45em; }
.btn--xl { font-size: 1.12rem; padding: 0.95em 1.7em; border-radius: 14px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ── hero (home) ────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1.04; margin-bottom: 0.4em; text-wrap: balance; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 34em; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; fill: var(--cyan); }

.feature {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px rgba(25, 227, 255, 0.05), 0 30px 80px -30px rgba(42, 107, 255, 0.55);
  isolation: isolate; text-decoration: none;
}
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature:hover .feature__img { transform: scale(1.035); }
.feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 15, 0) 35%, rgba(7, 9, 15, 0.55) 70%, rgba(7, 9, 15, 0.85) 100%); }
.feature__logo { position: absolute; left: 50%; bottom: 6%; width: min(56%, 360px); transform: translateX(-50%); filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)); transition: transform 0.4s ease; }
.feature:hover .feature__logo { transform: translateX(-50%) translateY(-4px) scale(1.02); }
.feature__name { position: absolute; left: 24px; bottom: 20px; font: 800 2rem var(--font-display); color: #fff; }
.feature__badge, .badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  font: 700 0.72rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase;
  color: #03121c; background: var(--grad); box-shadow: var(--glow);
}
/* The new game: one framed block at the top (it is not repeated in the games list). */
.feature-frame {
  position: relative; min-width: 0; padding: 4px; border-radius: 26px;
  background: linear-gradient(90deg, #ffd23f, #ff8a1f, #ff4d8d, #19e3ff, #ffd23f, #ff8a1f, #ff4d8d, #19e3ff, #ffd23f);
  background-size: 200% 100%; animation: frame-flow 7s linear infinite;
  box-shadow: 0 0 46px -8px rgba(255, 170, 40, 0.6), 0 30px 80px -30px rgba(255, 77, 141, 0.55);
}
.feature-frame .feature { border: 0; border-radius: 22px 22px 0 0; box-shadow: none; }
.feature-frame .feature__badge {
  top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px 9px 12px;
  font-size: 0.86rem; letter-spacing: 0.1em; color: #2a1500;
  background: linear-gradient(100deg, #ffe45c, #ffb020); box-shadow: 0 8px 28px -6px rgba(255, 176, 32, 0.9);
  animation: badge-pop 2.4s ease-in-out infinite;
}
.feature__badge svg { width: 15px; height: 15px; fill: currentColor; }
.feature__caption { display: flex; flex-direction: column; gap: 3px; padding: 13px 20px 15px; border-radius: 0 0 22px 22px; background: var(--surface); }
.feature__title { font: 800 1.2rem var(--font-display); color: #fff; text-decoration: none; }
.feature__title:hover { color: var(--cyan); }
.feature__tagline { color: var(--text-2); font-size: 0.94rem; line-height: 1.4; }
@keyframes frame-flow { to { background-position: 100% 0; } }
@keyframes badge-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.badge--soon { background: rgba(255, 181, 71, 0.95); box-shadow: none; }
.badge--private { left: auto; right: 14px; background: rgba(233, 238, 255, 0.92); box-shadow: none; }
.private-exit { margin-top: 36px; }
.page-private .games-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* ── sections ───────────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section--tight { padding: 8px 0 72px; }
.section--alt { background: linear-gradient(180deg, rgba(14, 20, 32, 0.55), rgba(14, 20, 32, 0.25)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section__head h2, .section__title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section__head p { color: var(--text-2); font-size: 1.05rem; }

/* ── game cards ─────────────────────────────────────────────────────────── */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.game-card {
  display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.game-card:hover { border-color: rgba(25, 227, 255, 0.35); box-shadow: 0 20px 50px -25px rgba(25, 160, 255, 0.5); }
.game-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #05070c; }
.game-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover .game-card__img { transform: scale(1.04); }
.game-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 9, 15, 0.75)); pointer-events: none; }
.game-card__logo { position: absolute; z-index: 1; left: 50%; bottom: 6%; width: 52%; transform: translateX(-50%); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)); }
.game-card__noimg { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #0d1320, #0d1320 14px, #0f1626 14px, #0f1626 28px); }
.game-card .badge { z-index: 2; }
.game-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.game-card__title { font-size: 1.4rem; margin: 0; }
.game-card__title a { color: var(--text); text-decoration: none; }
.game-card__title a:hover { color: #fff; }
.game-card__tagline { color: var(--text-2); margin: 0; }
.game-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.game-card--soon .game-card__img { filter: saturate(0.6) brightness(0.8); }
.game-card--more { align-items: center; justify-content: center; text-align: center; padding: 32px; border-style: dashed; border-color: var(--line-strong); background: rgba(14, 20, 32, 0.4); min-height: 280px; }
.game-card--more:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }
.more { max-width: 300px; }
.more__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(25, 227, 255, 0.08); border: 1px solid var(--line-strong); margin-bottom: 14px; }
.more__icon svg { width: 28px; height: 28px; fill: var(--cyan); }
.more h3 { font-size: 1.25rem; }
.more p { color: var(--muted); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 550; color: var(--text-2); background: rgba(140, 180, 255, 0.07); border: 1px solid var(--line); }

/* ── features ───────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; margin: 0 0 40px; list-style: none; }
.feature-item { padding: 24px; border-radius: var(--radius); background: rgba(14, 20, 32, 0.7); border: 1px solid var(--line); }
.feature-item__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad); margin-bottom: 16px; box-shadow: var(--glow); }
.feature-item__icon svg { width: 24px; height: 24px; fill: #03121c; }
.feature-item h3 { font-size: 1.12rem; margin-bottom: 0.4em; }
.feature-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(100deg, rgba(25, 227, 255, 0.07), rgba(42, 107, 255, 0.09)); }
.cta p { margin: 0; font-weight: 600; font-size: 1.05rem; }

/* ── game page ──────────────────────────────────────────────────────────── */
.game-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 600px; display: flex; align-items: flex-end; }
.game-hero__bg { position: absolute; inset: 0; z-index: -1; }
.game-hero__bgimg { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.game-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.92) 0%, rgba(7, 9, 15, 0.72) 38%, rgba(7, 9, 15, 0.2) 75%, rgba(7, 9, 15, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.35) 0%, rgba(7, 9, 15, 0) 30%, rgba(7, 9, 15, 0) 65%, var(--bg) 100%);
}
.game-hero__inner { padding-top: 48px; padding-bottom: 56px; }
.crumb { display: inline-block; margin-bottom: 18px; color: var(--text-2); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.crumb:hover { color: var(--text); }
.game-hero__title { margin: 0 0 12px; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
.game-hero__title img { width: min(520px, 86vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); }
.game-hero__tagline { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--text); max-width: 32em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.game-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 26px 0 30px; }
.game-hero__actions .badge { position: static; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 12px; margin: 0; }
.facts div { padding: 12px 16px; border-radius: 14px; background: rgba(7, 9, 15, 0.62); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 650; }
.game-info { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.howto { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); position: sticky; top: calc(var(--header-h) + 20px); }
.howto h2 { font-size: 1.45rem; }
.howto ol { counter-reset: step; list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.howto li { counter-increment: step; position: relative; padding-left: 44px; color: var(--text-2); }
.howto li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(25, 227, 255, 0.1); border: 1px solid rgba(25, 227, 255, 0.35); color: var(--cyan); font: 700 0.9rem var(--font-display); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gallery__item { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #05070c; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
/* SEO-СКРИНЫ (19.11): real gameplay screenshots quietly woven into the background of "About" (lib/screens.js) */
.game-about { position: relative; isolation: isolate; overflow: hidden; }
.game-shots {
  position: absolute; inset: -10% -14%; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-content: center;
  transform: rotate(-7deg); opacity: 0.24; pointer-events: none; user-select: none;
  -webkit-mask-image: radial-gradient(110% 90% at 70% 50%, #000 0%, rgba(0, 0, 0, 0.6) 50%, transparent 82%);
          mask-image: radial-gradient(110% 90% at 70% 50%, #000 0%, rgba(0, 0, 0, 0.6) 50%, transparent 82%);
}
.game-shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.game-shots img:nth-child(3n + 2) { transform: translateY(16%); }
.lightbox::backdrop { background: rgba(3, 5, 9, 0.9); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 12px; }
.lightbox__close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(14, 20, 32, 0.8); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ── text pages, cards, forms ───────────────────────────────────────────── */
.page-head { padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
.page-head p { color: var(--text-2); font-size: 1.08rem; max-width: 40em; }
.page-head--center { text-align: center; padding: 96px 0; }
.page-head--center p { margin-left: auto; margin-right: auto; }
.big-code { font: 800 5rem/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose b { color: var(--text); }
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field > span { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field i { color: var(--cyan); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(5, 8, 14, 0.8); color: var(--text); font: 400 1rem/1.5 var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 227, 255, 0.18); }
.form__note { color: var(--muted); font-size: 0.88rem; margin: 0; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-size: 0.95rem; color: var(--muted); min-height: 1.4em; }
.form__status.is-error { color: var(--danger); }
.form__status.is-ok { color: var(--ok); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 12px; margin: 0 0 18px; }
.notice--ok { background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.4); color: #b6f3d6; }
.contact__alt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; margin-top: 24px; background: rgba(5, 7, 12, 0.6); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.site-footer__brand a { display: inline-flex; text-decoration: none; }
.site-footer__brand p { color: var(--muted); margin: 12px 0 0; font-size: 0.95rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 6px; }
.site-footer__nav a { color: var(--text-2); text-decoration: none; font-weight: 550; }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.site-footer__social span { color: var(--muted); font-size: 0.9rem; margin-right: 4px; }
.site-footer__social a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }
.site-footer__social a:hover { color: var(--text); border-color: var(--text-2); }
.site-footer__copy { grid-column: 1 / -1; margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; }

/* ── bare pages: preview gate, admin login, errors ─────────────────────── */
.bare { display: grid; place-items: center; padding: 24px 16px; }
.bare__main { width: 100%; display: grid; place-items: center; }
.gate { width: min(100%, 430px); text-align: center; padding: 36px 30px 30px; }
.gate__logo { display: flex; justify-content: center; margin-bottom: 22px; }
.gate h1 { font-size: 1.6rem; margin-bottom: 0.4em; }
.gate > p { color: var(--text-2); }
.gate .form { text-align: left; margin-top: 18px; }
.gate__back { margin: 22px 0 0; font-size: 0.9rem; }
.gate__back a { color: var(--muted); }
.code { text-align: left; padding: 12px 14px; border-radius: 10px; background: #05080e; border: 1px solid var(--line); color: var(--cyan); overflow-x: auto; }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero { padding: 40px 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-frame { order: -1; }
  .game-info { grid-template-columns: 1fr; }
  .howto { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .game-shots { grid-template-columns: repeat(2, 1fr); inset: -4% -34%; opacity: 0.11; }   /* SEO-СКРИНЫ */
  :root { --header-h: 60px; }
  .wrap { padding: 0 16px; }
  .logo__icon { width: 30px; height: 30px; }
  .logo__text { height: 20px; }
  .site-nav a { padding: 8px 9px; font-size: 0.9rem; }
  .section { padding: 56px 0; }
  .game-hero { min-height: 0; }
  .game-hero__inner { padding-top: 32px; padding-bottom: 40px; }
  .game-hero__bg::after { background: linear-gradient(180deg, rgba(7, 9, 15, 0.45) 0%, rgba(7, 9, 15, 0.7) 50%, var(--bg) 100%); }
  .form__row { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .site-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero__actions .btn, .game-card__actions .btn { flex: 1 1 auto; }
  .game-hero__actions .btn { width: 100%; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 7px; }
  .logo { gap: 8px; }
}
@media (max-width: 380px) {
  .logo__icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
