*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #020617;
  color: #e5e7eb;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

/* КНОПКИ */

.btn {
  border-radius: 999px;
  padding: 11px 22px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: linear-gradient(to right, #22c55e, #0ea5e9);
  color: #fff;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.6);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.8);
}

.btn--secondary {
  background-color: transparent;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.btn--secondary:hover {
  background-color: rgba(15, 23, 42, 0.9);
}

/* ШАПКА */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), transparent);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo span {
  color: #22c55e;
}

/* Навигация */

.nav {
  display: flex;
  gap: 18px;
}

.nav__link {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #0ea5e9);
  transition: width 0.2s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Бургер */

.burger {
  display: none;
  width: 30px;
  height: 22px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background-color: #e5e7eb;
  margin: 3px 0;
}

/* HERO */

.hero {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.35), transparent 55%);
}

.hero__bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.7;
}

.hero__bg-orb--left {
  width: 260px;
  height: 260px;
  background: #22c55e;
  top: -60px;
  left: -40px;
  animation: float-orb 18s linear infinite alternate;
}

.hero__bg-orb--right {
  width: 280px;
  height: 280px;
  background: #0ea5e9;
  bottom: -80px;
  right: -60px;
  animation: float-orb 22s linear infinite alternate;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, -30px);
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #bbf7d0;
  margin-bottom: 10px;
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 40px);
}

.hero__subtitle {
  margin: 0 0 18px;
  color: #9ca3af;
  max-width: 450px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
}

.hero__note {
  font-size: 13px;
  color: #bbf7d0;
  margin: 0 0 10px;
}

.hero__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.hero__platforms span {
  padding: 3px 9px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Hero art */

.hero__art {
  perspective: 900px;
}

.hero__art-card {
  position: relative;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.6), rgba(15, 23, 42, 1));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__art-glow {
  position: absolute;
  inset: -40px;
  background: conic-gradient(from 180deg, rgba(34, 197, 94, 0.4), rgba(14, 165, 233, 0.6), rgba(56, 189, 248, 0.5));
  opacity: 0.35;
  filter: blur(40px);
  pointer-events: none;
}

.hero__art-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background-color: rgba(15, 23, 42, 0.96);
  font-size: 12px;
}

.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero__art-screen {
  position: relative;
  z-index: 1;
  padding: 14px 14px 12px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  overflow: hidden;
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 100% 3px;
  mix-blend-mode: soft-light;
  opacity: 0.4;
  pointer-events: none;
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

.hero__city-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 10px;
}

.hero__city-tiles span {
  display: block;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(to top, #0ea5e9, #22c55e);
  opacity: 0.8;
  animation: tiles 2.6s ease-in-out infinite alternate;
}

.hero__city-tiles span:nth-child(2) { animation-delay: 0.2s; }
.hero__city-tiles span:nth-child(3) { animation-delay: 0.4s; }
.hero__city-tiles span:nth-child(4) { animation-delay: 0.6s; }

@keyframes tiles {
  0% { transform: scaleY(0.6); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 1; }
}

.hero__player-hud {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #e5e7eb;
}

.hero__hp,
.hero__ammo {
  padding: 4px 7px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero__hp {
  color: #bbf7d0;
  border-color: #22c55e;
}

.hero__ammo {
  color: #bae6fd;
  border-color: #0ea5e9;
}

.hero__art-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 12px;
  font-size: 12px;
  background-color: rgba(15, 23, 42, 0.98);
}

.hero__badge {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #22c55e;
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Общие секции */

.section {
  padding: 60px 0;
}

.section--dark {
  background-color: #020617;
}

.section__title {
  margin: 0 0 12px;
  font-size: 24px;
  text-align: center;
}

.section__title--light {
  color: #e5e7eb;
}

.section__subtitle {
  margin: 0 0 30px;
  text-align: center;
  color: #9ca3af;
}

.section__subtitle--light {
  color: #9ca3af;
}

.section__header {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

/* Сюжет */

.story {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

.story__card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.8), rgba(15, 23, 42, 1));
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.story__card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Геймплей */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top, rgba(51, 65, 85, 0.9), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card__icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-card h3 {
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: #d1d5db;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.9);
}

/* Издания */

.editions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.edition-card {
  border-radius: 20px;
  padding: 18px 18px 16px;
  background-color: #020617;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edition-card--highlight {
  background: radial-gradient(circle at top, rgba(45, 212, 191, 0.5), rgba(15, 23, 42, 1));
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.edition-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #bbf7d0;
  margin-bottom: 6px;
}

.edition-card__name {
  margin: 0 0 6px;
  font-size: 18px;
}

.edition-card__desc {
  margin: 0 0 10px;
  font-size: 14px;
  color: #9ca3af;
}

.edition-card__price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.edition-card__list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 14px;
  color: #d1d5db;
}

/* Требования */

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.req-card {
  border-radius: 18px;
  padding: 18px 18px 14px;
  background-color: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.req-card h3 {
  margin-top: 0;
}

.req-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

/* FAQ */

.accordion {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.accordion__item {
  border-radius: 14px;
  background-color: #020617;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.accordion__header {
  width: 100%;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion__icon {
  font-size: 18px;
  color: #22c55e;
  margin-left: 12px;
}

.accordion__body {
  display: none;
  padding: 0 14px 12px;
  font-size: 14px;
  color: #9ca3af;
}

.accordion__item--open .accordion__body {
  display: block;
}

.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
}

/* Контакты */

.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: flex-start;
}

.contact__field {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact__field input,
.contact__field textarea,
.contact__field select {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background-color: #020617;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 14px;
}

.contact__field input:focus,
.contact__field textarea:focus,
.contact__field select:focus {
  outline: none;
  border-color: #0ea5e9;
}

.contact__note {
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
}

.contact__info {
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top, rgba(51, 65, 85, 0.9), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact__info h3 {
  margin-top: 0;
}

/* Модалка трейлера */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal--open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 90%;
  border-radius: 20px;
  background-color: #020617;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  padding: 20px 20px 18px;
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: none;
  background: none;
  color: #e5e7eb;
  font-size: 24px;
  cursor: pointer;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 6px;
}

.modal__subtitle {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 14px;
  color: #9ca3af;
}

.modal__video-placeholder {
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  padding: 40px 16px;
  text-align: center;
  font-size: 14px;
  color: #cbd5f5;
}

/* Футер */

.footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  background-color: #020617;
  padding: 16px 0;
  font-size: 13px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__link {
  color: #0ea5e9;
  text-decoration: none;
}

/* Анимация появления при скролле */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптив */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 56px 0 auto 0;
    background-color: #020617;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .features-grid,
  .editions {
    grid-template-columns: 1fr;
  }

  .hero__bg-orb--right {
    right: -120px;
  }
}
