@font-face {
  font-family: Nunito;
  src: url('../fonts/nunito-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Nunito;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  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 {
  color-scheme: dark;
  --page: #0b1420;
  --surface: #101e2b;
  --text: #f0f7f8;
  --muted: #aabcce;
  --mint: #87f0d3;
  --line: #2a3e4e;
  --width: 1192px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: radial-gradient(ellipse at 75% 0%, #123140 0%, transparent 51%), var(--page);
  color: var(--text);
  font: 400 16px/1.5 Nunito, 'Segoe UI', sans-serif;
}
body::before {
  position: absolute;
  z-index: -1;
  content: '';
  inset: 77px 0 auto;
  height: min(670px, 75%);
  background: repeating-linear-gradient(90deg, #88c5c317 0 1px, transparent 1px 68px), repeating-linear-gradient(180deg, #88c5c317 0 1px, transparent 1px 68px);
  -webkit-mask-image: linear-gradient(#000, transparent 90%);
  mask-image: linear-gradient(#000, transparent 90%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, main:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
h1, h2, p { margin: 0; }
main { flex: 1 0 auto; }
.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-140%); border-radius: 8px; background: var(--mint); color: #0b2527; font-weight: 800; }
.skip-link:focus { transform: none; }

.bar { background: #0a1520dc; border-bottom: 1px solid #2b4053; }
.bar-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 800; font-size: 24px; letter-spacing: -.055em; white-space: nowrap; }
.logo img { flex: none; border-radius: 11px; box-shadow: 0 4px 23px #68cdba27; }
.logo .tld { color: var(--mint); }
.site-nav { display: flex; flex-wrap: wrap; gap: 5px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid transparent; border-radius: 9px; color: #bfcedb; font-size: 14px; font-weight: 700; }
.site-nav a[aria-current='page'], .site-nav a:hover { color: #bcf8e8; border-color: #31584f; background: #162d35; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 15px;
  width: max-content; min-height: 51px; padding: 10px 17px;
  background: var(--mint); color: #0b2527; border: 1px solid #a4f7e0;
  border-radius: 10px; font-size: 15px; font-weight: 800;
}
.button:hover { background: #b3ffe9; }
.arrow { font: 400 20px/1 'Segoe UI', sans-serif; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: center; gap: 40px; padding: 79px 0 70px; }
h1 { font-size: clamp(40px, 5.45vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -.061em; }
h1 span { color: var(--mint); }
.intro-copy > p, .catalog-head > p { max-width: 445px; margin-top: 21px; color: #bfcedb; font-size: 18px; }
.intro-copy > .button { margin-top: 28px; }
.cover { position: relative; display: block; min-height: 398px; overflow: hidden; isolation: isolate; border: 1px solid #466471; border-radius: 19px; background: var(--surface); box-shadow: 0 22px 60px #030b163d; }
.cover img, .game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::before { position: absolute; z-index: 1; content: ''; inset: 0; background: linear-gradient(0deg, #081520f9 0%, #091926e5 15%, #081a2777 36%, transparent 67%); }
.cover::after { position: absolute; z-index: 1; pointer-events: none; content: ''; inset: 8px; border: 1px solid #c9e6e536; border-radius: 12px; }
.cover-copy { position: absolute; z-index: 2; inset: auto 28px 25px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.cover-copy small { display: block; color: #b6f8e5; font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.cover-copy strong { display: block; font-size: clamp(19px, 2.25vw, 33px); line-height: 1.1; letter-spacing: -.035em; margin-top: 6px; }
.round-arrow { display: grid; flex: none; place-items: center; width: 45px; height: 45px; background: #101d2b; border: 1px solid #50736f; color: var(--mint); border-radius: 11px; }
.cover:hover, .section-link:hover { border-color: #75b7a8; }
.cover:hover .round-arrow, .section-link:hover .round-arrow { background: #204039; }

.sections { padding-bottom: 75px; }
.sections h2 { font-size: 29px; letter-spacing: -.035em; margin-bottom: 16px; }
.section-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.section-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center;
  min-height: 105px; padding: 16px 21px; border: 1px solid var(--line); border-radius: 15px;
  background: linear-gradient(105deg, #162d35, var(--surface) 56%);
}
.section-link strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.section-link small { color: var(--muted); font-size: 14px; }
.pad-icon { display: grid; place-items: center; width: 54px; height: 54px; color: var(--mint); border: 1px solid #396457; border-radius: 12px; background: #1b373d; }
.section-link .count { color: #c6e3e1; font-weight: 700; font-size: 14px; padding-right: 4px; }
.site-footer { border-top: 1px solid #253746; background: #0b1520; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; min-height: 71px; color: #9fb5c8; font-size: 14px; }
.footer-inner a { color: #cfdee8; font-weight: 800; }
.footer-inner a:hover { color: var(--mint); }
.developer-credit { display: flex; align-items: center; gap: 5px; }
.footer-inner .developer-credit a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: var(--mint); }
.developer-credit a:hover { text-decoration: underline; }

.catalog { padding-block: 53px 100px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--mint); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden='true'] { color: #8ea5b8; }
.catalog h1 { font-size: clamp(38px, 5.25vw, 76px); }
.catalog-head > p { max-width: none; margin-top: 12px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 43px; }
.game-card { display: grid; border: 1px solid #3c5867; border-radius: 19px; overflow: hidden; background: linear-gradient(155deg, #172f3b, var(--surface) 67%); box-shadow: 0 20px 55px #020b1638; }
.game-card:only-child { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); }
.game-art { position: relative; min-height: 212px; background: #142a3a; }
.game-card:only-child .game-art { min-height: 360px; }
.game-art img { object-position: center 60%; }
.game-art::after { position: absolute; content: ''; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 65%, #08172542); }
.game-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px; }
.game-card:only-child .game-copy { padding: 38px 42px; }
.tag { padding: 3px 9px; color: #b4f5e4; border: 1px solid #43766c; border-radius: 6px; background: #1b3a41; font-weight: 800; font-size: 12px; }
.game-copy h2 { font-size: clamp(26px, 2.7vw, 38px); letter-spacing: -.052em; line-height: 1.04; margin-top: 15px; }
.game-card:only-child .game-copy h2 { max-width: 12em; font-size: clamp(26px, 3.35vw, 48px); text-wrap: balance; }
.game-copy p { max-width: 400px; margin-top: 13px; color: #bbcedb; }
.game-copy small { margin-top: 17px; color: #c2dddf; font-size: 13px; }
.game-copy .button { margin-top: 22px; min-width: 140px; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 32px); }
  .intro { grid-template-columns: 1fr; gap: 26px; padding: 43px 0; }
  .intro h1 br { display: none; }
  .cover { min-height: 300px; }
  .game-card:only-child { grid-template-columns: 1fr; }
  .game-card:only-child .game-art { min-height: 240px; }
  .game-card:only-child .game-copy { padding: 23px; }
  .catalog { padding-block: 32px 51px; }
  .sections { padding-bottom: 46px; }
}
@media (max-width: 440px) {
  .bar-inner { flex-wrap: wrap; gap: 0; padding-block: 10px; }
  .logo { font-size: 21px; }
  .site-nav a { padding-inline: 8px; }
  .section-link { grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px; gap: 9px; }
  .section-link .count { display: none; }
  .cover-copy { inset: auto 16px 19px; }
  .catalog h1 { font-size: clamp(29px, 9.8vw, 38px); }
}