@font-face { font-family: 'Rubik'; font-display: swap; font-weight: 300 900; src: url(fonts/rubik-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Rubik'; font-display: swap; font-weight: 300 900; src: url(fonts/rubik-lat.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Russo One'; font-display: swap; src: url(fonts/russo-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Russo One'; font-display: swap; src: url(fonts/russo-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #0b0624;
  --bg-deep: #070418;
  --panel: #120b30;
  --line: rgba(128, 74, 230, .55);
  --line-strong: #7d45e6;
  --text: #f4f0ff;
  --muted: #c3bcd8;
  --dim: #a59cbf;
  --violet: #b85cff;
  --lilac: #b494e6;
  --orange: #ff9d2e;
  --teal: #2fd3e3;
  --green: #4afc81;
  --btn-top: #a63bff;
  --btn-bottom: #7a05ec;
  --pad: 42px;
  --font-head: 'Russo One', 'Arial Black', sans-serif;
  --font-text: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --skew: -10deg;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid #e2c8ff; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--btn-bottom); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: 1672px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Image slots: the build puts an <img> into a slot only when the file exists, otherwise the CSS placeholder shows. */
.slot { position: relative; overflow: hidden; background: var(--ph, #1b1040) center / cover no-repeat; }
.slot__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* a picture that does not fill its slot must not show the placeholder round it */
.slot--hero:has(.slot__img) { background-image: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* without JS the trailer and gallery buttons would do nothing; keep their space so the first screen does not move */
.no-js .trailer-btn, .no-js .more-link { visibility: hidden; }
.no-js .shot { cursor: default; }

.lang-hint {
  position: fixed; left: 50%; bottom: 20px; z-index: 50;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: rgba(18, 11, 48, .96); box-shadow: 0 0 30px rgba(120, 50, 230, .45);
  font-size: 14.5px;
}
.lang-hint[hidden] { display: none; }
.lang-hint__text { color: var(--muted); }
.lang-hint__go { padding: 7px 14px; border-radius: 8px; background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); color: #fff; font-weight: 600; white-space: nowrap; }
.lang-hint__close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; }
.lang-hint__close:hover { background: rgba(122, 5, 236, .35); }
.lang-hint__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Buttons ---------- */

.btn {
  --cut: 9px;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  color: #fff; font-weight: 600; white-space: nowrap;
  filter: drop-shadow(0 0 12px rgba(150, 40, 255, .55));
  transition: filter .2s ease, transform .2s ease;
}
.btn::before, .btn::after {
  content: ''; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.btn::before { inset: 0; background: linear-gradient(180deg, #e3b8ff, #9b4dff 55%, #c88cff); }
.btn::after { inset: 1.5px; background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); }
.btn:hover { filter: drop-shadow(0 0 18px rgba(170, 70, 255, .8)); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; }
.btn__icon { width: 20px; height: 20px; fill: #fff; flex: none; }

.btn--sm { height: 46px; padding: 0 26px 0 22px; font-size: 17px; }
.btn--lg { --cut: 11px; height: 58px; padding: 0 40px; font-size: 17px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.btn--lg .btn__icon { width: 24px; height: 24px; }

/* ---------- Header ---------- */

.header { position: absolute; inset: 0 0 auto; z-index: 20; }
.header__inner { display: flex; align-items: flex-start; height: 96px; }

.header__frame {
  --c: rgba(122, 70, 220, .5);
  display: flex; align-items: flex-start;
  margin-left: -9px;
  /* left line, bevel and bottom line around the logo; the nav panel continues the frame */
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 1px 58px no-repeat,
    linear-gradient(to top right, transparent calc(50% - .7px), var(--c) 50%, transparent calc(50% + .7px)) 0 58px / 13px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 13px 71px / calc(100% - 13px) 1px no-repeat;
  background-size: 1px 58px, 13px 14px, 420px 1px;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 5px 0 0 35px; width: 414px; flex: none; }
.brand__logo { --ph: url(placeholders/logo.svg); width: 118px; height: 90px; background-color: transparent; background-size: contain; overflow: visible; }
.brand__logo .slot__img { object-fit: contain; }
.brand__name {
  font: 400 27px/1 var(--font-head);
  letter-spacing: .01em; text-transform: uppercase;
  transform: skewX(-12deg);
  margin-top: -14px;
  text-shadow: 0 0 18px rgba(170, 100, 255, .35);
}

.nav {
  --cut: 14px;
  position: relative;
  isolation: isolate;
  margin-top: 14px;
  height: 58px;
  padding: 0 44px 0 86px;
  display: flex; align-items: center;
  filter: drop-shadow(0 0 10px rgba(120, 50, 230, .25));
}
.nav::before, .nav::after {
  content: ''; position: absolute; z-index: -1;
  clip-path: polygon(70px 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.nav::before { inset: 0; background: linear-gradient(90deg, rgba(122, 70, 220, .5), rgba(150, 90, 255, .6)); }
.nav::after { inset: 1px 1px 1px 1.6px; background: linear-gradient(180deg, rgba(26, 14, 60, .92), rgba(16, 9, 40, .92)); }

.nav__list { display: flex; gap: 36px; }
.nav__link {
  display: flex; align-items: center; gap: 11px;
  padding: 6px 0;
  font-size: 15px; color: var(--muted);
  transition: color .2s ease;
}
.nav__link:hover { color: #fff; }
.nav__icon {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: #c46bff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(196, 107, 255, .6));
}
.nav__icon .fill { fill: #c46bff; stroke: none; }

.header__play { margin: 20px 24px 0 auto; }

.burger { display: none; }

/* ---------- Hero ---------- */

.hero { position: relative; }

.hero__bg {
  --ph: url(placeholders/hero.svg);
  position: absolute; inset: 0 0 auto; z-index: -1;
  height: 610px;
  background-color: var(--bg);
  background-position: center top;
}
/* the whole picture at the right, its left edge fading into the page so the hero figure stays clear of the cards */
.hero__bg .slot__img {
  object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(100% - 1200px), #000 calc(100% - 760px));
  mask-image: linear-gradient(90deg, transparent calc(100% - 1200px), #000 calc(100% - 760px));
}
/* readability on the left and a soft fade into the page under the cards */
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 6, 36, .82) 0%, rgba(11, 6, 36, .55) 30%, rgba(11, 6, 36, 0) 52%),
    linear-gradient(180deg, rgba(11, 6, 36, 0) 80%, var(--bg) 100%);
}

.hero__inner { position: relative; padding-top: 150px; padding-left: calc(var(--pad) + 26px); min-height: 525px; }

/* sized so the longer second line always fits on one row */
.hero__title { font: 400 clamp(28px, calc((100vw - 100px) / 11), 73px)/.9 var(--font-head); text-transform: uppercase; white-space: nowrap; }
.hero__line--accent { font-size: .875em; }
.hero__line { display: block; width: max-content; max-width: 100%; transform: skewX(var(--skew)); transform-origin: left bottom; }
.hero__line--accent {
  margin-top: 4px;
  background: linear-gradient(180deg, #e1c4ff 0%, #b98af0 55%, #a173e6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(160, 90, 255, .35));
}

.hero__lead { max-width: 560px; margin-top: 9px; font-size: 21.5px; line-height: 1.45; color: #cfc8e3; }

.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 34px; margin-top: 29px; }

.trailer-btn { display: inline-flex; align-items: center; gap: 15px; font-size: 15px; color: #e6dff5; padding: 4px 4px 4px 0; border-radius: 30px; }
.trailer-btn__circle {
  display: grid; place-items: center;
  width: 47px; height: 47px; border-radius: 50%;
  border: 2px solid #9a4cff;
  background: rgba(20, 10, 48, .55);
  box-shadow: 0 0 12px rgba(154, 76, 255, .4), inset 0 0 10px rgba(154, 76, 255, .25);
  transition: background-color .2s ease;
}
.trailer-btn__circle svg { width: 22px; height: 22px; fill: #b46bff; margin-left: 2px; }
.trailer-btn:hover .trailer-btn__circle { background: rgba(122, 5, 236, .35); }

.hero__status { display: flex; align-items: center; gap: 7px; margin-top: 15px; padding-left: 5px; font-size: 13.5px; color: #8ff2ab; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); margin-right: 3px; }

/* ---------- Feature cards ---------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }

.card {
  --cut: 18px;
  --accent: var(--violet);
  position: relative;
  isolation: isolate;
  --media: 238px;
  display: grid; grid-template-columns: var(--media) 1fr;
  height: 145px;
  filter: drop-shadow(0 0 10px rgba(120, 50, 230, .3));
}
.card::before, .card::after {
  content: ''; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.card::before { inset: 0; background: linear-gradient(135deg, #7d45e6, #4c2a9a 50%, #7d45e6); }
.card::after { inset: 1.5px; background: linear-gradient(180deg, #170d38, #100827); }
.card--orange { --accent: var(--orange); }
.card--teal { --accent: var(--teal); }

.card__media {
  grid-area: 1 / 1 / 2 / 3;
  width: calc(var(--media) + 24px);
  margin: 1.5px 0 1.5px 1.5px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent);
  mask-image: linear-gradient(90deg, #000 72%, transparent);
}
.slot--card-explore { --ph: radial-gradient(circle at 70% 30%, rgba(80, 220, 255, .55), transparent 28%), radial-gradient(circle at 30% 20%, #cfe3ff 0 9%, transparent 10%), linear-gradient(180deg, #4d7fd6 0%, #6aa8e0 35%, #3f8a4a 62%, #24502e 100%); }
.slot--card-boss { --ph: radial-gradient(circle at 55% 40%, #ff3b5c 0 4%, transparent 5%), radial-gradient(circle at 52% 45%, #4a2a5e 0 26%, transparent 27%), radial-gradient(circle at 50% 80%, rgba(255, 70, 90, .6), transparent 50%), linear-gradient(180deg, #3a1550, #1d0b2e 60%, #551428); }
.slot--card-coop { --ph: radial-gradient(ellipse at 55% 62%, rgba(255, 170, 70, .8) 0 10%, transparent 30%), radial-gradient(ellipse at 55% 70%, #8aa0d8 0 26%, transparent 27%), linear-gradient(180deg, #1c2b6e, #2a3f8a 45%, #1a1440); }

.card__body {
  grid-area: 1 / 2;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  align-content: start;
  padding: 27px 25px 20px 0;
}
.card__title { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; line-height: 1.2; }
.card__icon {
  width: 46px; height: 46px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px var(--accent));
}
.card__icon .soft { stroke-opacity: .6; stroke-width: 2; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible)::before { background: #e2c8ff; }
.card__text { margin-top: 13px; font-size: 14.5px; line-height: 1.45; color: var(--dim); }
.card__arrow {
  align-self: end;
  display: grid; place-items: center;
  width: 31px; height: 31px; border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: background-color .2s ease;
}
.card__arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__arrow { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- Sections ---------- */

.section { padding-top: 31px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-title { display: flex; align-items: center; gap: 16px; font-size: 17.5px; font-weight: 600; }
.section-title::before {
  content: ''; width: 44px; height: 4px; border-radius: 2px; flex: none;
  background: linear-gradient(90deg, #c33cff, #7d0ee0);
  box-shadow: 0 0 8px rgba(190, 60, 255, .6);
}

.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lilac); transition: color .2s ease; }
.more-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more-link:hover { color: #e2d2ff; }

.shots__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.shot {
  display: block; width: 100%;
  aspect-ratio: 298 / 157;
  border-radius: 10px;
  border: 2px solid rgba(146, 84, 245, .8);
  box-shadow: 0 0 12px rgba(130, 60, 240, .35);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.shot:hover { border-color: #c48cff; box-shadow: 0 0 18px rgba(160, 90, 255, .55); transform: translateY(-2px); }
.shot .slot__img { border-radius: 8px; }
.slot--shot-1 { --ph: radial-gradient(circle at 75% 15%, #c8b8ff 0 12%, transparent 13%), radial-gradient(circle at 45% 62%, #ffd27a 0 3%, transparent 12%), linear-gradient(180deg, #4c3a8a 0%, #b86a8c 45%, #f2a066 60%, #4a2a40 75%, #2a1830 100%); }
.slot--shot-2 { --ph: radial-gradient(ellipse at 60% 45%, rgba(80, 220, 255, .65), transparent 30%), radial-gradient(ellipse at 22% 80%, rgba(190, 80, 255, .8), transparent 22%), linear-gradient(180deg, #1a1050, #24186a 50%, #0e0a30); }
.slot--shot-3 { --ph: radial-gradient(circle at 40% 8%, #b9c2ff 0 14%, transparent 15%), radial-gradient(ellipse at 45% 70%, rgba(255, 180, 90, .7) 0 8%, transparent 25%), radial-gradient(ellipse at 45% 70%, #6b7ac8 0 22%, transparent 23%), linear-gradient(180deg, #1a1f5c, #2e2a78 60%, #18143a); }
.slot--shot-4 { --ph: radial-gradient(circle at 60% 55%, #2a1630 0 7%, transparent 8%), radial-gradient(circle at 80% 40%, #2a1630 0 8%, transparent 9%), radial-gradient(circle at 35% 70%, rgba(255, 200, 80, .9) 0 2%, transparent 8%), linear-gradient(180deg, #b0524a, #d7744e 45%, #a4523e 70%, #6e3330); }
.slot--shot-5 { --ph: radial-gradient(ellipse at 50% 60%, rgba(100, 200, 255, .5) 0 10%, transparent 30%), radial-gradient(ellipse at 85% 30%, transparent 0 14%, rgba(70, 220, 255, .8) 15% 16%, transparent 17%), linear-gradient(160deg, #2a1a70, #141050 50%, #2a1a60); }

/* ---------- Content sections ---------- */

.section:not(.shots) { padding-top: 64px; }

.facts, .feature, .place, .post, .controls, .faq__item {
  --cut: 14px;
  position: relative;
  isolation: isolate;
}
.facts::before, .feature::before, .place::before, .post::before, .controls::before, .faq__item::before,
.facts::after, .feature::after, .place::after, .post::after, .controls::after, .faq__item::after {
  content: ''; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.facts::before, .feature::before, .place::before, .post::before, .controls::before, .faq__item::before { inset: 0; background: linear-gradient(135deg, #7d45e6, #3e2382 50%, #7d45e6); }
.facts::after, .feature::after, .place::after, .post::after, .controls::after, .faq__item::after { inset: 1.5px; background: linear-gradient(180deg, #170d38, #100827); }

.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.about__lead { font-size: 19px; line-height: 1.65; color: #ddd6ee; max-width: 780px; }
.facts { padding: 22px 26px 18px; }
.facts__title, .controls__title { font: 400 19px/1.15 var(--font-head); transform: skewX(var(--skew)); transform-origin: left bottom; color: #e7d6ff; margin-bottom: 10px; }
.facts__row, .controls__row { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(122, 70, 220, .25); font-size: 14.5px; }
.facts__row:first-child, .controls__row:first-child { border-top: 0; }
.facts__row dt { color: var(--lilac); font-weight: 600; }
.facts__row dd, .controls__row dd { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature { padding: 22px 26px 24px; }
.feature__title { font-size: 17.5px; font-weight: 600; margin-bottom: 6px; }
.feature__text { font-size: 14.5px; line-height: 1.5; color: var(--dim); }

.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.steps { display: grid; gap: 14px; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 4px 0 0 58px; min-height: 40px; font-size: 16px; line-height: 1.55; color: var(--muted); counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #9a4cff; box-shadow: 0 0 10px rgba(154, 76, 255, .4);
  font: 400 17px/1 var(--font-head); color: #e7d6ff;
}
.controls { padding: 22px 26px 16px; }
.controls__row { grid-template-columns: minmax(8em, auto) 1fr; align-items: baseline; }
kbd {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  border: 1px solid rgba(160, 110, 255, .6); background: rgba(122, 70, 220, .18);
  font: 600 13px/1.5 var(--font-text); color: #eadcff; white-space: nowrap;
}

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 17px; align-items: start; }
.faq__item { --cut: 12px; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: 16.5px; font-weight: 600; }
.faq__q::after {
  content: ''; width: 9px; height: 9px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__q:focus-visible { outline-offset: -4px; border-radius: 10px; }
.faq__a { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.world__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.place { --cut: 18px; display: grid; grid-template-columns: 88px 1fr; gap: 6px 22px; align-items: center; padding: 26px 28px; }
.place__orb { grid-row: span 2; align-self: start; width: 88px; height: 88px; border-radius: 50%; }
.place--home .place__orb { background: radial-gradient(circle at 35% 30%, #6a4bb0, #2a1660 55%, #120a30); box-shadow: 0 0 22px rgba(90, 230, 255, .35), inset -10px -8px 0 rgba(0, 0, 0, .25); outline: 3px dotted rgba(110, 240, 255, .55); outline-offset: -20px; }
.place--amber .place__orb { background: radial-gradient(circle at 35% 30%, #ffd18a, #e08a2c 50%, #6a3410); box-shadow: 0 0 24px rgba(255, 157, 46, .45); }
.place--hole .place__orb { background: radial-gradient(circle, #000 0 34%, #ffb36a 38%, #b84cff 50%, rgba(80, 30, 160, .4) 64%, transparent 70%); box-shadow: 0 0 26px rgba(184, 76, 255, .4); }
.place__title { font: 400 22px/1.15 var(--font-head); transform: skewX(var(--skew)); transform-origin: left bottom; }
.place__text { font-size: 14.5px; line-height: 1.5; color: var(--dim); }

.news__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.post { display: grid; gap: 8px; align-content: start; padding: 24px 28px 26px; }
.post__date { font-size: 13px; color: var(--lilac); }
.post__title { font-size: 18.5px; font-weight: 600; }
.post__text { font-size: 14.5px; line-height: 1.5; color: var(--dim); }

/* ---------- Footer ---------- */

.footer { margin-top: 80px; border-top: 1px solid rgba(122, 70, 220, .35); background: var(--bg-deep); }
.footer__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; padding-top: 18px; padding-bottom: 18px; }
.footer__brand { font: 400 20px/1 var(--font-head); text-transform: uppercase; transform: skewX(-12deg); }
.footer__copy { font-size: 14px; color: var(--dim); }
.lang { position: relative; margin-left: auto; }
.lang__current {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none;
}
.lang__current::-webkit-details-marker { display: none; }
.lang__current svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang__current:hover { color: #fff; }
.lang__list {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 10;
  display: grid; min-width: 200px; padding: 6px;
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--panel); box-shadow: 0 0 24px rgba(120, 50, 230, .4);
}
.lang__link { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14.5px; color: var(--muted); }
.lang__link:hover { background: rgba(122, 5, 236, .3); color: #fff; }
.lang__link[aria-current='page'] { color: #fff; font-weight: 600; background: rgba(122, 5, 236, .45); }

/* ---------- Dialogs ---------- */

.modal {
  width: min(1100px, calc(100% - 32px), calc((100vh - 190px) * 16 / 9));
  max-width: none; max-height: calc(100% - 32px);
  padding: 0; border: 0; background: none; color: var(--text);
}
.modal::backdrop { background: rgba(5, 2, 16, .82); backdrop-filter: blur(4px); }
.modal__box { border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--panel); box-shadow: 0 0 40px rgba(120, 50, 230, .4); padding: 16px 18px 18px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal__title { font-size: 18px; font-weight: 600; }
.modal__count { color: var(--dim); font-weight: 400; margin-left: 6px; }
.modal__close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); }
.modal__close svg, .modal__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.modal__close:hover, .modal__arrow:hover { background: rgba(122, 5, 236, .35); }
.modal__media {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(122, 40, 220, .45), transparent 60%), #0a0620;
}
.modal--gallery .modal__media { background: var(--ph) center / cover no-repeat; }
.modal__media iframe, .modal__media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__media .slot__img { object-fit: contain; }
.modal__empty { color: var(--muted); font-size: 18px; }
.modal__nav { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.modal__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #9a4cff; color: #d9bcff; }

/* ---------- Adaptive ---------- */

@media (max-width: 1500px) {
  .card { --media: 190px; }
  .card__body { padding: 22px 20px 18px 12px; }
  .card__title { gap: 12px; font-size: 17px; }
  .card__icon { width: 40px; height: 40px; }
  .card__text { font-size: 14px; }
  .card__text br { display: none; }
}

@media (max-width: 1360px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  :root { --pad: 32px; }
  .brand { width: 360px; }
  .nav { padding: 0 32px 0 80px; }
  .nav__list { gap: 26px; }
  .header__frame { background-size: 1px 58px, 13px 14px, 360px 1px; }
  .card { --media: 150px; height: auto; min-height: 145px; }
  .shots__list { gap: 16px; }
  .world__list .place { grid-template-columns: 1fr; }
  .place__orb { grid-row: auto; width: 72px; height: 72px; }
}

@media (max-width: 1100px) {
  .header__frame { background: none; margin-left: 0; }
  .brand { width: auto; padding: 6px 0 0; }
  .brand__logo { width: 92px; height: 72px; }
  .brand__name { font-size: 23px; }
  .header__inner { align-items: center; height: 84px; }
  .header__play { margin: 0 16px 0 auto; }

  .burger {
    display: grid; place-items: center;
    width: 46px; height: 46px; flex: none;
    border: 1.5px solid var(--line-strong); border-radius: 10px;
    background: rgba(18, 11, 48, .85);
  }
  .burger__bar, .burger__bar::before, .burger__bar::after {
    content: ''; display: block; width: 20px; height: 2px; border-radius: 1px; background: #e2d2ff;
    transition: transform .2s ease, background-color .2s ease;
  }
  .burger__bar { position: relative; }
  .burger__bar::before { position: absolute; top: -6px; }
  .burger__bar::after { position: absolute; top: 6px; }
  .burger[aria-expanded='true'] .burger__bar { background: transparent; }
  .burger[aria-expanded='true'] .burger__bar::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded='true'] .burger__bar::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; top: 84px; left: var(--pad); right: var(--pad);
    height: auto; margin: 0; padding: 12px 20px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav::before, .nav::after { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
  .nav::after { background: rgba(16, 9, 40, .97); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 12px 4px; font-size: 17px; }

  .hero__inner { padding-top: 140px; min-height: 0; padding-bottom: 64px; }
  .hero__bg { height: 100%; min-height: 640px; }
  .hero__bg .slot__img { object-fit: cover; object-position: 60% top; -webkit-mask-image: none; mask-image: none; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(11, 6, 36, .85) 0%, rgba(11, 6, 36, .45) 55%, rgba(11, 6, 36, .1) 100%),
      linear-gradient(180deg, rgba(11, 6, 36, 0) 55%, var(--bg) 100%);
  }

  .features { grid-template-columns: 1fr; max-width: 720px; }
  .card { --media: 220px; }
  .card__text br { display: inline; }

  .shots__list {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 14px;
    scrollbar-width: thin; scrollbar-color: #7d45e6 transparent;
  }
  .shots__list li { flex: 0 0 min(300px, 72vw); scroll-snap-align: start; }

  .about__grid, .howto { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid, .faq { grid-template-columns: 1fr 1fr; }
  .world__list, .news__list { grid-template-columns: 1fr; max-width: 720px; }
  .world__list .place { grid-template-columns: 72px 1fr; }
  .place__orb { grid-row: span 2; }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }
  .header__inner { height: 72px; }
  .brand { gap: 6px; }
  .brand__logo { width: 64px; height: 52px; }
  .brand__name { font-size: 18px; margin-top: -4px; }
  .header__play { display: none; }
  .burger { margin-left: auto; }
  .nav { top: 72px; }

  .hero__inner { padding-top: 104px; padding-left: var(--pad); padding-bottom: 48px; }
  .hero__bg { min-height: 560px; }
  .hero__bg .slot__img { object-position: 72% top; }
  .hero__bg { background-position: 72% top; }
  .hero__title { font-size: clamp(34px, 10.5vw, 48px); white-space: normal; }
  .hero__line { width: auto; }
  .hero__lead { font-size: 17px; margin-top: 18px; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(11, 6, 36, .55) 0%, rgba(11, 6, 36, .78) 45%, var(--bg) 100%);
  }
  .hero__actions { margin-top: 24px; gap: 16px 24px; }
  .btn--lg { width: 100%; height: 54px; }

  .card { grid-template-columns: 1fr; }
  .card__body { grid-area: auto; }
  .card__media { grid-area: auto; width: auto; height: 140px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut)); margin: 1.5px 1.5px 0; }
  .card__body { padding: 6px 20px 20px; }
  .card__text br { display: none; }

  .section__head { flex-wrap: wrap; }
  .section:not(.shots) { padding-top: 48px; }
  .about__lead { font-size: 16.5px; }
  .facts, .controls { padding: 18px 18px 12px; }
  .facts__row { grid-template-columns: 1fr; gap: 2px; }
  .feature-grid, .faq { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 18px 20px 20px; }
  .faq__q { padding: 16px 18px; }
  .faq__a { padding: 0 18px 18px; }
  .step { font-size: 15px; }
  .lang-hint { flex-wrap: wrap; justify-content: center; text-align: center; padding: 12px 14px; }
  .place { padding: 22px 20px; }
  .world__list .place { grid-template-columns: 56px 1fr; gap: 6px 16px; }
  .place__orb { width: 56px; height: 56px; }
  .post { padding: 20px 20px 22px; }

  .footer__inner { flex-wrap: wrap; gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Story: the black hole quest ---------- */
.story__card { position: relative; overflow: hidden; border: 1px solid rgba(255, 92, 92, .35); border-radius: 22px; background: #0b0614; box-shadow: 0 0 40px rgba(255, 60, 60, .08); }
.story__img { display: block; width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: 58% 35%; }
.story__card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 4, 18, .95) 0%, rgba(8, 4, 18, .84) 34%, rgba(8, 4, 18, .25) 58%, rgba(8, 4, 18, 0) 78%); }
.story__body { position: absolute; z-index: 1; inset: 0 auto 0 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: min(580px, 52%); padding: 40px 0 40px 44px; }
.story__tag { color: #ff7b6e; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.story__title { margin-top: 12px; font: 400 clamp(26px, 2.6vw, 40px)/1.05 var(--font-head); text-transform: uppercase; }
.story__lead { margin-top: 18px; color: #efe6ff; font-size: 17px; line-height: 1.55; }
.story__text { margin-top: 12px; color: #b9aed0; font-size: 15px; line-height: 1.6; }
.story__points { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; color: #d9cdf0; font-size: 14px; }
.story__points li { display: flex; align-items: baseline; gap: 10px; }
.story__points li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #ff5c5c; box-shadow: 0 0 10px #ff5c5c; }
@media (max-width: 900px) {
  .story__img { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-position: 58% 30%; }
  .story__card::after { display: none; }
  .story__body { position: static; width: auto; padding: 24px 20px 28px; }
  .story__lead { font-size: 16px; }
}
.story__note { margin-top: 14px; color: #8f84a8; font-size: 12.5px; font-style: italic; }
.story__body { width: min(600px, 54%); }
.story__img { min-height: 620px; }
@media (max-width: 900px) { .story__body { width: auto; } .story__img { min-height: 0; } }

/* ---------- Lower blocks: one space backdrop that stays while they scroll over it ---------- */
.lower { position: relative; margin-top: 48px; padding-bottom: 96px; background: var(--bg) url(img/space.webp) right bottom / cover no-repeat fixed; }
.lower::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; pointer-events: none; background: linear-gradient(180deg, var(--bg), rgba(11, 6, 36, 0)); }
.lower > * { position: relative; }
.lower + .footer, .footer { margin-top: 0; }
@media (max-width: 900px) {
  /* the picture is 86.2vw tall here; a fade of the page colour lies over its top edge */
  .lower {
    padding-bottom: 64px;
    background:
      linear-gradient(180deg, var(--bg), rgba(11, 6, 36, 0)) left 0 bottom 56.3vw / 100% 30vw no-repeat scroll,
      url(img/space.webp) right bottom / 260% auto no-repeat scroll,
      var(--bg);
  }
}
