@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@400;600;800;900&display=swap');

/* base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050008;
  color: #fff;
  font-family: "Oswald", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.header {
  position: absolute;
  top: 28px;
  left: 42px;
  right: 36px;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  height: 120px;
  transform: translateX(-30px);
}

.logo img {
  height: 100px;
  max-height: none;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px #b000ff);
}

.nav {
  display: flex;
  background: rgba(10, 0, 18, .75);
  border: 1px solid rgba(190, 0, 255, .55);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(214, 0, 255, .25);
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 18px 30px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  transition: .25s;
}

.nav a:hover {
  background: #b000ff;
}

.language {
  display: flex;
  background: rgba(10, 0, 18, .8);
  border: 1px solid rgba(255, 255, 255, .25);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 15px;
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: #b000ff;
}

.sergey {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 130px 8% 80px;
  background: url("img/bg.webp") center / cover no-repeat;
}

.bg-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 0, 8, .50) 0%,
    rgba(5, 0, 8, .18) 48%,
    rgba(5, 0, 8, .05) 100%
  );
}

.sergey::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, .035) 0px,
    rgba(255, 255, 255, .035) 1px,
    transparent 1px,
    transparent 135px
  );
}

.smoke {
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 46%, rgba(176, 0, 255, .08), transparent 30%),
    radial-gradient(circle at 52% 62%, rgba(255, 255, 255, .035), transparent 32%);
  filter: blur(45px);
  animation: smokeMove 9s ease-in-out infinite alternate;
}

@keyframes smokeMove {
  from {
    transform: translate(-20px, 10px) scale(1);
    opacity: .45;
  }

  to {
    transform: translate(35px, -22px) scale(1.06);
    opacity: .7;
  }
}


.sparks {
  position: absolute;
  top: 0;
  right: -35vw;
  bottom: 0;
  left: 0;
  z-index: 8;
  pointer-events: none;
  overflow: visible;
}

.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #f5fbff;
  border-radius: 50%;
  box-shadow:
    0 0 10px #fff,
    0 0 24px #d9f2ff;
  animation: flySpark linear forwards;
}

@keyframes flySpark {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  to {
    transform: translate(var(--x), var(--y)) scale(.2);
    opacity: 0;
  }
}

.sergey-content {
  position: relative;
  z-index: 20;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sergey h1 {
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(32px, 3.6vw, 58px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  background: #d600ff;
  display: inline-block;
  padding: 14px 18px 16px;
  box-shadow:
    8px 8px 0 #1a001f,
    0 0 30px rgba(255, 0, 255, .22);
  letter-spacing: -1px;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, .55),
    0 0 16px rgba(214, 0, 255, .45);
}

.sergey p {
  margin-top: 30px;
  max-width: 560px;
  font-size: 24px;
  line-height: 1.5;
  color: #f3dfff;
}

.sergey-buttons,
.final-buttons {
  display: flex;
  margin-top: 38px;
}

.main-btn {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  padding: 18px 34px;
  border: 2px solid #b000ff;
  background: #b000ff;
  transition: .25s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.main-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 34px #fff;
}

.platforms-wrap,
.final-platforms-wrap {
  align-self: flex-start;
  text-align: left;
}

.platforms-wrap {
  margin-top: 32px;
}

.final-platforms-wrap {
  margin-top: 40px;
}

.platforms-title,
.final-platforms-title {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  color: #f3dfff;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.platforms,
.final-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.platforms a,
.final-platforms a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

.platforms a:hover,
.final-platforms a:hover {
  transform: translateY(-3px) scale(1.08);
}

.platforms img,
.final-platforms img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.character-wrap {
  position: absolute;
  right: -2%;
  bottom: -8%;
  z-index: 14;
  width: 67vw;
  height: 100vh;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.keyart {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
}

.section-label {
  display: inline-block;
  margin-bottom: 20px;
  color: #d600ff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, .45),
    0 0 10px rgba(214, 0, 255, .35);
}

.gameplay,
.world,
.features,
.gallery,
.final-cta {
  position: relative;
  min-height: 700px;
  height: 820px;
  padding: 90px 8% 80px;
  overflow: hidden;
  border-top: 1px solid rgba(214, 0, 255, .35);
  background: #050008;
}

.gameplay h2,
.world h2,
.features h2,
.gallery h2,
.final-cta h2 {
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, .55),
    0 0 18px rgba(214, 0, 255, .55),
    0 0 34px rgba(214, 0, 255, .35);
}

.gameplay-video,
.features-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gameplay-overlay,
.features-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 0, 8, .92) 0%, rgba(15, 0, 24, .74) 48%, rgba(5, 0, 8, .48) 100%),
    radial-gradient(circle at 74% 40%, rgba(214, 0, 255, .25), transparent 35%);
}

.gameplay-lines,
.features-lines,
.world-lines,
.final-cta-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .035) 0px,
      rgba(255, 255, 255, .035) 1px,
      transparent 1px,
      transparent 135px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, .025) 0px,
      rgba(255, 255, 255, .025) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: .75;
}

.gameplay-inner,
.world-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: auto;
  display: grid;
  align-items: center;
}

.gameplay-inner {
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.gameplay-left {
  max-width: 620px;
}

.gameplay h2 {
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1.05;
}

.gameplay-lead {
  margin-top: 30px;
  max-width: 560px;
  color: #f1dfff;
  font-size: 25px;
  line-height: 1.55;
}

.gameplay-list,
.features-list {
  border-top: 1px solid rgba(214, 0, 255, .55);
}

.gameplay-item,
.feature-row {
  display: grid;
  border-bottom: 1px solid rgba(214, 0, 255, .35);
  transition: .25s;
}

.gameplay-item {
  grid-template-columns: 60px 1fr;
  gap: 26px;
  padding: 24px 0;
}

.feature-row {
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 26px 0;
}

.gameplay-item:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(214, 0, 255, .14), transparent);
}

.feature-row:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(214, 0, 255, .14), transparent);
}

.gameplay-item span,
.feature-row span {
  font-family: "Oswald", Arial, sans-serif;
  color: #d600ff;
  font-size: 20px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, .45),
    0 0 10px rgba(214, 0, 255, .35);
}

.gameplay-item h3 {
  font-family: "Oswald", Arial, sans-serif;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gameplay-item p {
  color: #e8d8f3;
  font-size: 20px;
  line-height: 1.5;
  max-width: 780px;
}

.world-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 0, 8, .82), rgba(20, 0, 30, .62), rgba(5, 0, 8, .35)),
    url("img/bg2.webp") center / cover;
  filter: saturate(1.15) contrast(1.05);
}

.world-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(214, 0, 255, .24), transparent 34%),
    linear-gradient(180deg, transparent 58%, rgba(5, 0, 8, .9));
}

.world-inner {
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
}

.world h2,
.features h2,
.gallery h2 {
  font-size: clamp(40px, 5vw, 78px);
  line-height: 1.05;
}

.world-text {
  max-width: 820px;
  padding: 38px;
  background: rgba(5, 0, 8, .52);
  border-left: 4px solid #d600ff;
  box-shadow:
    inset 0 0 34px rgba(214, 0, 255, .08),
    0 0 32px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
}

.world-text p {
  color: #f1dfff;
  font-size: 23px;
  line-height: 1.65;
}

.world-text p + p {
  margin-top: 24px;
}

.world-file {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(214, 0, 255, .45);
}

.world-file span {
  display: block;
  margin-bottom: 8px;
  color: #d600ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}

.world-file strong {
  font-family: "Oswald", Arial, sans-serif;
  color: #fff;
  font-size: 26px;
  text-transform: uppercase;
}

.features-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}

.features-list {
  margin-top: 60px;
}

.feature-row p {
  color: #f1dfff;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

/* gallery */
.gallery {
  background:
    linear-gradient(90deg, rgba(5, 0, 8, .92), rgba(18, 0, 28, .78)),
    url("img/bg.webp") center / cover;
}

.gallery-inner {
  position: relative;
  z-index: 2;
}

.gallery-slider {
  position: relative;
  margin-top: 50px;
  width: 100%;
  padding: 0 70px;
  box-sizing: border-box;
}

.gallery-window {
  width: 100%;
  overflow: hidden;
  padding: 2px;
  box-sizing: border-box;
}

.gallery-track {
  display: flex;
  gap: 18px;
  transition: transform .65s ease;
  will-change: transform;
}
.gallery-track img {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);

  aspect-ratio: 16 / 9;
  height: auto;

  object-fit: cover;
  background: none;

  box-sizing: border-box;
  border: 1px solid rgba(214, 0, 255, .85);
  outline: none;

  box-shadow: 0 0 28px rgba(214, 0, 255, .25);
  cursor: zoom-in;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 30;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  line-height: 7;

  transform: translateY(-50%);
  border: 1px solid #d600ff;
  background: rgba(5, 0, 8, .85);
  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;

  cursor: pointer;

    padding-bottom: 7px;
}


.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

/* modal */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 0, 8, .94);
  backdrop-filter: blur(10px);
}

.image-modal.active {
  display: flex;
}

body.modal-open .header {
  display: none;
}

.image-modal img {
  width: 64vw;
  max-width: 1100px;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid #d600ff;
  box-shadow: 0 0 45px rgba(214, 0, 255, .55);
}

.image-modal-close {
  position: absolute;
  z-index: 1000001;
  top: 28px;
  right: 38px;
  background: none;
  border: none;
  color: #fff;
  font-size: 60px;
  cursor: pointer;
}

.modal-arrow {
  position: fixed;
  top: 50%;
  z-index: 1000001;
  width: 62px;
  height: 62px;
  transform: translateY(-50%);
  border: 1px solid #d600ff;
  background: rgba(5, 0, 8, .82);
  color: #fff;
  font-size: 48px;
  cursor: pointer;
}

.modal-arrow:hover {
  background: #b000ff;
  box-shadow: 0 0 24px rgba(214, 0, 255, .8);
}

.modal-prev {
  left: 42px;
}

.modal-next {
  right: 42px;
}

.final-cta {
  background: #050008;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 0, 8, .92) 0%, rgba(20, 0, 30, .62) 48%, rgba(5, 0, 8, .25) 100%),
    url("img/keyart2.webp") 72% 60% / cover no-repeat;
}

.final-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(214, 0, 255, .34), transparent 35%),
    linear-gradient(180deg, transparent 55%, rgba(5, 0, 8, .92));
}

.final-keyart {
  display: none;
}

.final-cta-inner {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.final-cta h2 {
  font-size: clamp(42px, 6vw, 96px);
  line-height: 1.05;
}

.final-cta p {
  margin-top: 28px;
  max-width: 620px;
  color: #f1dfff;
  font-size: 25px;
  line-height: 1.55;
}

.main-btn::after,
.nav::after,
.lang-btn.active::after,
.platforms-title::after,
.final-platforms-title::after,
.sergey h1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/texture.png") center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .40;
  pointer-events: none;
}

.nav,
.lang-btn.active,
.main-btn,
.platforms-title,
.final-platforms-title,
.sergey h1 {
  position: relative;
  overflow: hidden;
}

body,
a,
button,
p,
span,
strong,
h1,
h2,
h3,
h4,
h5,
h6,
.nav a,
.lang-btn,
.main-btn,
.gameplay-item p,
.feature-row p,
.world-text p,
.footer-bottom {
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

/* footer */
.footer {
  position: relative;
  padding: 70px 8% 34px;
  background: #050008;
  border-top: 1px solid rgba(214, 0, 255, .45);
  overflow: hidden;
}

.footer-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(214, 0, 255, .18), transparent 35%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .03) 0px,
      rgba(255, 255, 255, .03) 1px,
      transparent 1px,
      transparent 135px
    );
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
}

.footer-main {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 70px;
}

.footer-left {
  width: 280px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 18px #b000ff);
}

.footer-socials {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

.footer-socials img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-socials a:hover {
  transform: translateY(-4px) scale(1.1);
}

.footer-socials a:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 14px #d600ff);
}

.footer-right {
  width: 360px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 42px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand img {
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(214, 0, 255, .45));
  transition: .25s;
}

.footer-brand:hover img {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 18px rgba(214, 0, 255, .9));
}

.publisher-brand img {
  width: 120px;
  height: auto;
  max-width: none;
  max-height: none;
}

.developer-brand img {
  height: 120px;
  width: auto;
  max-width: none;
  max-height: none;
  display: block;
}

.footer-dev-credit {
  width: 100%;
  margin-top: 0;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateX(40px);
}

.footer-dev-credit a {
  color: #d600ff;
  text-decoration: none;
  font-weight: 700;
}

.footer-dev-credit a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(214, 0, 255, .8);
}

.footer-bottom {
  position: relative;
  z-index: 4;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(214, 0, 255, .25);
  color: #bca9c9;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.footer-tv {
  position: absolute;
  left: 50%;
  top: 45px;
  z-index: 3;
  width: 260px;
  height: 155px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.footer-tv::before {
  content: "";
  position: absolute;
  left: 77px;
  top: 34px;
  width: 100px;
  height: 84px;
  z-index: 0;
  background: #000;
  border-radius: 3px;
}

.footer-tv-screen {
  position: absolute;
  left: 77px;
  top: 34px;
  width: 100px;
  height: 84px;
  z-index: 1;
  overflow: hidden;
  border-radius: 3px;
  background: transparent;
}

.footer-tv-screen img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  opacity: 0;
  visibility: hidden;
}

.footer-tv.active .footer-tv-screen img {
  opacity: 1;
  visibility: visible;
}

.footer-tv-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(214, 0, 255, .3));
}

.footer-tv-button {
  position: absolute;
  right: 61px;
  top: 103px;
  width: 15px;
  height: 15px;
  z-index: 4;
  border: none;
  border-radius: 50%;
  background: rgba(255, 0, 80, .9);
  cursor: pointer;
  transform: none;
  transition: background .2s;
  box-shadow:
    0 0 8px rgba(255, 0, 80, .75),
    0 0 14px rgba(255, 0, 80, .35);
}

.footer-tv-button:hover {
  transform: none;
}

.footer-tv.active .footer-tv-button {
  background: rgba(80, 255, 170, .95);
  box-shadow:
    0 0 8px rgba(80, 255, 170, .75),
    0 0 14px rgba(80, 255, 170, .35);
}

.vobla-layer {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  overflow: hidden;
}

.vobla {
  position: fixed;
  left: 0;
  top: 0;
  width: 90px;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .55));
  will-change: transform;
}

/* ===== RESPONSIVE ADAPTIVE LAYOUT ===== */

@media (max-width: 1200px) {
  .header {
    left: 32px;
    right: 32px;
  }

  .logo {
    transform: translateX(-18px);
  }

  .logo img {
    height: 82px;
  }

  .nav a {
    padding: 16px 22px;
    font-size: 12px;
  }

  .sergey {
    min-height: 92vh;
    padding: 125px 6% 70px;
  }

  .character-wrap {
    right: -15%;
    width: 78vw;
    height: 88vh;
    opacity: .9;
  }

  .gameplay,
  .world,
  .features,
  .gallery,
  .final-cta {
    height: auto;
    min-height: 760px;
    padding: 85px 6%;
  }

  .gameplay-inner,
  .world-inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .world-text {
    max-width: 100%;
  }

  .gallery-prev {
    left: 14px;
  }

  .gallery-next {
    right: 14px;
  }
}

@media (max-width: 900px) {
  .header {
    top: 22px;
    left: 24px;
    right: 24px;
  }

  .logo {
    height: auto;
    transform: translateX(0);
  }

  .logo img {
    height: 68px;
  }

  .nav {
    display: none;
  }

  .language {
    transform: scale(.92);
    transform-origin: right center;
  }

  .sergey {
    min-height: 100vh;
    align-items: flex-start;
    padding: 120px 28px 70px;
  }

  .sergey-content {
    max-width: 560px;
  }

  .sergey h1 {
    font-size: clamp(34px, 8vw, 56px);
  }

  .sergey p {
    max-width: 460px;
    font-size: 21px;
  }

  .character-wrap {
    right: -38%;
    bottom: -7%;
    width: 105vw;
    height: 72vh;
    opacity: .72;
  }

  .platforms,
  .final-platforms {
    gap: 22px;
  }

  .platforms img,
  .final-platforms img {
    width: 46px;
    height: 46px;
  }

  .gameplay,
  .world,
  .features,
  .gallery,
  .final-cta {
    min-height: auto;
    padding: 80px 28px;
  }

  .gameplay h2,
  .world h2,
  .features h2,
  .gallery h2 {
    font-size: clamp(38px, 9vw, 64px);
  }

  .final-cta h2 {
    font-size: clamp(44px, 10vw, 76px);
  }

  .gameplay-lead,
  .final-cta p {
    font-size: 21px;
  }

  .world-text {
    padding: 32px;
  }

  .world-text p {
    font-size: 20px;
  }

  .feature-row p,
  .gameplay-item p {
    font-size: 19px;
  }

.gallery-track img {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
}

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .image-modal img {
    width: 88vw;
  }

  .modal-prev {
    left: 18px;
  }

  .modal-next {
    right: 18px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .footer-left {
    order: 1;
  }

  .footer-tv {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 2;
    margin: 10px auto 0;
  }

  .footer-right {
    order: 3;
  }

  .footer-dev-credit {
    transform: none;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .header {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .logo img {
    height: 54px;
  }

  .language {
    display: flex;
  }

  .lang-btn {
    padding: 10px 11px;
    font-size: 11px;
  }

  .sergey {
    min-height: 100vh;
    padding: 112px 20px 58px;
  }

  .sergey h1 {
    font-size: clamp(34px, 12vw, 46px);
    padding: 12px 14px 14px;
    box-shadow:
      6px 6px 0 #1a001f,
      0 0 24px rgba(255, 0, 255, .18);
  }

  .sergey p {
    margin-top: 24px;
    max-width: 340px;
    font-size: 18px;
    line-height: 1.45;
  }

  .main-btn {
    padding: 16px 26px;
    font-size: 15px;
  }

  .sergey-buttons,
  .final-buttons {
    margin-top: 30px;
  }

  .platforms-wrap,
  .final-platforms-wrap {
    margin-top: 30px;
  }

  .platforms-title,
  .final-platforms-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .platforms,
  .final-platforms {
    gap: 17px;
  }

  .platforms img,
  .final-platforms img {
    width: 40px;
    height: 40px;
  }

  .character-wrap {
    right: -70%;
    bottom: -4%;
    width: 135vw;
    height: 62vh;
    opacity: .62;
  }

  .gameplay,
  .world,
  .features,
  .gallery,
  .final-cta {
    padding: 72px 20px;
  }

  .section-label {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .gameplay h2,
  .world h2,
  .features h2,
  .gallery h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .final-cta h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .gameplay-inner,
  .world-inner {
    gap: 38px;
  }

  .gameplay-lead,
  .world-text p,
  .final-cta p {
    font-size: 18px;
    line-height: 1.5;
  }

  .gameplay-item,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .gameplay-item:hover,
  .feature-row:hover {
    padding-left: 0;
  }

  .gameplay-item h3 {
    font-size: 22px;
  }

  .gameplay-item p,
  .feature-row p {
    font-size: 17px;
  }

  .world-text {
    padding: 24px;
  }

  .world-file span {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .features-list {
    margin-top: 42px;
  }

  .gallery-slider {
    margin-top: 34px;
  }

  .gallery-track img {
    flex: 0 0 100%;
    height: 220px;
  }

  .gallery-btn {
    width: 48px;
    height: 48px;
    font-size: 40px;
    padding-bottom: 5px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .image-modal img {
    width: 92vw;
    max-height: 72vh;
  }

  .image-modal-close {
    top: 18px;
    right: 22px;
    font-size: 48px;
  }

  .modal-arrow {
    width: 48px;
    height: 48px;
    font-size: 38px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  .final-cta-bg {
    background-position: 66% center;
  }

  .footer {
    padding: 58px 20px 30px;
  }

  .footer-logo img {
    height: 88px;
  }

  .footer-socials {
    justify-content: center;
    gap: 20px;
    margin-top: 26px;
  }

  .footer-right {
    gap: 28px;
  }

  .publisher-brand img {
    width: 100px;
  }

  .developer-brand img {
    height: 100px;
  }

  .footer-bottom {
    margin-top: 40px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header {
    left: 14px;
    right: 14px;
  }

  .logo img {
    height: 48px;
  }

  .lang-btn {
    padding: 8px 9px;
    font-size: 10px;
  }

  .sergey {
    padding: 104px 16px 54px;
  }

  .sergey h1 {
    font-size: 34px;
  }

  .sergey p {
    max-width: 300px;
    font-size: 16px;
  }

  .main-btn {
    padding: 14px 22px;
    font-size: 14px;
  }

  .character-wrap {
    right: -88%;
    width: 160vw;
    height: 58vh;
    opacity: .55;
  }

  .gameplay,
  .world,
  .features,
  .gallery,
  .final-cta {
    padding: 64px 16px;
  }

  .world-text {
    padding: 20px;
  }

  .gallery-track img {
    height: 200px;
  }

  .footer-tv {
    width: 230px;
    height: 138px;
  }

  .footer-tv::before,
  .footer-tv-screen {
    left: 68px;
    top: 30px;
    width: 89px;
    height: 74px;
  }

  .footer-tv-button {
    right: 54px;
    top: 91px;
    width: 13px;
    height: 13px;
  }
}

/* ===== FIX GALLERY: показывать скриншоты полностью на ПК ===== */

.gallery-track img {
  object-fit: cover;
  background: none;
}

/* можно увеличить высоту скринов на ПК */

/* ===== MOBILE: убрать героя на первом экране ===== */

@media (max-width: 900px) {
  .character-wrap {
    display: none;
  }

  .sergey {
    min-height: auto;
    padding: 120px 24px 70px;
    display: block;
  }

  .sergey-content {
    max-width: 100%;
    position: relative;
    z-index: 20;
  }

  .sergey h1 {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 58px);
  }

  .sergey p {
    max-width: 100%;
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .sergey {
    padding: 105px 18px 60px;
  }

  .sergey h1 {
    font-size: clamp(32px, 12vw, 46px);
  }

  .sergey p {
    font-size: 18px;
    line-height: 1.45;
  }

  .platforms,
  .final-platforms {
    gap: 18px;
  }

  .platforms img,
  .final-platforms img {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .sergey {
    padding: 95px 15px 55px;
  }

  .sergey h1 {
    font-size: 32px;
    padding: 12px 14px;
  }

  .sergey p {
    font-size: 16px;
  }

  .main-btn {
    padding: 14px 22px;
    font-size: 13px;
  }

  .platforms img,
  .final-platforms img {
    width: 38px;
    height: 38px;
  }
}
/* ПК: 3 скрина */
.gallery-track img {
  flex: 0 0 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
}

/* планшет: 2 скрина */
@media (max-width: 1100px) {
  .gallery-track img {
    flex: 0 0 calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

/* телефон: 1 скрин */
@media (max-width: 700px) {
  .gallery-track img {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .gallery-track img {
    flex: 0 0 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
.scanlines,
.gameplay-lines,
.features-lines,
.world-lines,
.final-cta-lines {
  display: none;
}