/* ==========================================================================
   ARK: Survival Ascended — промо-лендинг
   Таблица стилей
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Переменные
   -------------------------------------------------------------------------- */
:root {
  --accent: #29b6e8;
  --accent-glow: rgba(41, 182, 232, .42);
  --accent-soft: rgba(41, 182, 232, .13);
  --gold-light: #f7b84f;
  --gold-dark: #e08b1f;

  --bg: #070d12;
  --bg-deep: #04080c;
  --bg-alt: #091420;
  --panel: rgba(9, 17, 24, .6);
  --line: rgba(95, 190, 230, .16);
  --line-soft: rgba(95, 190, 230, .12);

  --text: #d9e7f1;
  --text-bright: #f2f8fb;
  --text-muted: #a9c0cf;
  --text-dim: #7e99aa;

  --font-display: 'Russo One', Manrope, system-ui, sans-serif;
  --font-body: Manrope, system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --nav-h: 62px;
}

/* --------------------------------------------------------------------------
   2. Базовые правила
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #4fc7ee;
  text-decoration: none;
  transition: color .3s ease;
}

a:hover {
  color: #8adfff;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(41, 182, 232, .35);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Типовые блоки
   -------------------------------------------------------------------------- */
.section {
  padding: 90px 24px;
  scroll-margin-top: var(--nav-h);
}

.section--alt {
  background: linear-gradient(180deg, var(--bg), var(--bg-alt) 58%, var(--bg));
}

.section--deep {
  background: linear-gradient(180deg, var(--bg), #050a0f 40%, var(--bg));
}

.section--lazy {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.wrap--narrow {
  max-width: 780px;
}

.wrap--video {
  max-width: 1000px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3.5px;
  color: var(--accent);
}

.section-title {
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--text-bright);
  text-wrap: balance;
}

.lead {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  text-wrap: pretty;
}

.note {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

/* Кнопки ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1.5px;
  padding: 17px 36px;
  border: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform .18s ease, filter .18s ease, background .25s ease;
  will-change: transform;
}

.btn--primary {
  color: #1c0f02;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 10px 40px rgba(224, 139, 31, .25);
}

.btn--primary:hover {
  color: #1c0f02;
  filter: brightness(1.12);
}

.btn--ghost {
  color: var(--accent);
  background: rgba(9, 22, 30, .5);
  border: 1px solid rgba(41, 182, 232, .5);
}

.btn--ghost:hover {
  color: var(--accent);
  background: rgba(24, 50, 66, .6);
}

.btn--large {
  font-size: 16px;
  padding: 19px 42px;
  box-shadow: 0 14px 50px rgba(224, 139, 31, .3);
}

.btn--small {
  font-size: 12px;
  letter-spacing: 1.2px;
  padding: 10px 20px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.btn__play {
  width: 0;
  height: 0;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* --------------------------------------------------------------------------
   4. Служебные элементы (прогресс, курсор, «наверх»)
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold-dark));
  box-shadow: 0 0 12px var(--accent-glow);
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 50;
  mix-blend-mode: screen;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 65;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(9, 20, 28, .85);
  border: 1px solid rgba(41, 182, 232, .5);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .25s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  background: rgba(24, 50, 66, .9);
}

.to-top__arrow,
.scroll-hint__arrow {
  display: block;
  width: 11px;
  height: 11px;
  border-left: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   5. Навигация
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(6, 11, 16, .78);
  border-bottom: 1px solid rgba(95, 190, 230, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1.5px;
}

.nav__brand:hover {
  color: var(--text-bright);
}

.nav__logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.nav__link {
  color: #93aebf;
  transition: color .3s ease, text-shadow .3s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 150px 24px 90px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0b1c29 55%, #081019 100%);
}

.hero__photo,
.hero__fog,
.hero__beam,
.hero__beam-core,
.hero__peaks,
.hero__embers,
.hero__vignette {
  position: absolute;
  pointer-events: none;
}

.hero__photo {
  inset: 0;
  background: url('../assets/hero-island.webp') center / cover no-repeat;
  opacity: .34;
}

.hero__fog {
  inset: -10%;
  will-change: transform;
}

.hero__fog::before {
  content: '';
  position: absolute;
  inset: 0;
}

.hero__fog--cold::before {
  background: radial-gradient(58% 44% at 32% 66%, var(--accent-soft), transparent 70%);
  animation: fog-drift-a 17s ease-in-out infinite;
}

.hero__fog--warm::before {
  background: radial-gradient(48% 38% at 70% 58%, rgba(240, 164, 55, .07), transparent 70%);
  animation: fog-drift-b 23s ease-in-out infinite;
}

.hero__beam {
  left: 50%;
  top: 6%;
  bottom: 20%;
  width: 26px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--accent-glow), transparent);
  filter: blur(18px);
  opacity: .4;
}

.hero__beam-core {
  left: 50%;
  top: 8%;
  bottom: 22%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(41, 182, 232, .5), transparent);
  filter: blur(1px);
  animation: beam-pulse 5s ease-in-out infinite;
}

.hero__peaks {
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 250px;
  will-change: transform;
}

.hero__peaks svg {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.hero__peaks svg:first-child {
  height: 100%;
}

.hero__peaks svg:last-child {
  height: 74%;
}

.hero__embers {
  inset: 0;
  overflow: hidden;
}

.ember {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  opacity: 0;
  animation-name: ember-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.ember--cold {
  background: #37c8f0;
  box-shadow: 0 0 8px 2px rgba(55, 200, 240, .45);
}

.ember--warm {
  background: var(--gold-dark);
  box-shadow: 0 0 8px 2px rgba(240, 164, 55, .5);
}

.hero__vignette {
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 18, .5), transparent 30%, transparent 72%, var(--bg) 100%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 980px;
}

.hero__logo {
  width: min(300px, 46vw);
  height: auto;
  margin-bottom: -18px;
  filter: drop-shadow(0 0 34px rgba(41, 182, 232, .35));
  animation: hero-in .9s .05s both, logo-float 7s ease-in-out 1.4s infinite;
}

.hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  animation: hero-in .8s .2s both;
}

.badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 7px 14px;
  background: rgba(9, 20, 28, .6);
  border: 1px solid rgba(150, 190, 215, .25);
  color: #a8bfcd;
}

.badge--accent {
  color: var(--accent);
  border-color: var(--accent-glow);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: 1px;
  color: #f4fafd;
  text-wrap: balance;
  animation: hero-in .9s .32s both;
}

.hero__accent {
  color: var(--accent);
  text-shadow: 0 0 34px var(--accent-glow);
}

.hero__text {
  margin: 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
  animation: hero-in .9s .46s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  animation: hero-in .9s .6s both;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  animation: hint-bounce 2.2s ease-in-out infinite;
}

.scroll-hint__arrow {
  border-left: 0;
  border-top: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  width: 14px;
  height: 14px;
  margin: 0;
}

/* Статистика --------------------------------------------------------------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.stats__item {
  padding: 0 34px;
  border-right: 1px solid rgba(120, 180, 210, .18);
}

.stats__item:last-child {
  border-right: 0;
}

.stats__value {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text-bright);
}

.stats__label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   7. Бегущая строка
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 15px 0;
  background: rgba(9, 17, 24, .7);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__row {
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3.5px;
  color: #4d6b7d;
  white-space: nowrap;
}

.marquee__row i {
  color: var(--accent);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   8. Об игре
   -------------------------------------------------------------------------- */
.about {
  padding-top: 110px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, .95fr);
  gap: 56px;
  align-items: center;
}

.rule {
  width: 64px;
  height: 3px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #c6d9e5;
  background: rgba(14, 28, 38, .7);
  border: 1px solid rgba(95, 190, 230, .14);
}

.perks li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}

.maps-caption {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #9fc3d6;
  background: rgba(10, 22, 30, .6);
  border: 1px solid rgba(95, 190, 230, .22);
}

.tags li.is-more {
  color: var(--gold-dark);
  background: none;
  border: 1px dashed rgba(240, 164, 55, .4);
}

.about__media {
  position: relative;
}

.about__media::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(41, 182, 232, .4);
  pointer-events: none;
}

.about__frame {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 16s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   9. Возможности (табы)
   -------------------------------------------------------------------------- */
.features__layout {
  display: grid;
  grid-template-columns: 300px minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.tablist {
  display: flex;
  flex-direction: column;
}

.tab {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  margin-bottom: 10px;
  text-align: left;
  background: rgba(10, 19, 26, .6);
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(95, 190, 230, .15);
  transition: background .25s ease, border-color .25s ease;
}

.tab:hover {
  background: rgba(15, 30, 41, .85);
}

.tab.is-active {
  background: linear-gradient(90deg, rgba(41, 182, 232, .12), rgba(15, 30, 41, .85));
  border-color: var(--accent-glow);
  border-left-color: var(--accent);
}

.tab__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: #526a7a;
}

.tab.is-active .tab__num {
  color: var(--accent);
}

.tab__name {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .5px;
  color: #93aebf;
}

.tab.is-active .tab__name {
  color: var(--text-bright);
}

.tab__sub {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
}

.panel {
  min-height: 420px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(15, 30, 41, .85), rgba(9, 17, 24, .9));
  border: 1px solid var(--line);
  animation: panel-in .45s ease both;
}

.panel__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
}

.panel__text {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

.panel__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.panel__list li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 14px;
  font-weight: 600;
  color: #c6d9e5;
}

.panel__list li::before {
  content: '›';
  color: var(--accent);
}

.panel__frame {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid rgba(95, 190, 230, .14);
}

.panel__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. Трейлер
   -------------------------------------------------------------------------- */
.trailer {
  text-align: center;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #03070a;
  border: 1px solid rgba(95, 190, 230, .25);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 60px var(--accent-soft);
}

.video__poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #03070a;
  border: 0;
}

.video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

.video__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(3, 7, 10, .65));
}

.video__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  animation: play-pulse 2.4s ease-out infinite;
  transition: transform .25s ease;
}

.video__poster:hover .video__button {
  transform: scale(1.07);
}

.video__button::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 26px solid #06121a;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.video__label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #bcd6e4;
  text-shadow: 0 1px 6px #000;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer__cta {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

/* --------------------------------------------------------------------------
   11. Галерея
   -------------------------------------------------------------------------- */
.gallery__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gallery__head .section-title {
  margin-bottom: 0;
}

.gallery__note {
  max-width: 320px;
  text-wrap: pretty;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 270px;
  gap: 14px;
}

.shot {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .3s ease;
  will-change: transform;
}

.shot--wide {
  grid-column: span 4;
}

.shot:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 30px var(--accent-soft);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.shot:hover img {
  transform: scale(1.05);
}

.shot__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 12, .85));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #cfe3ee;
  text-align: left;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   12. Отзывы
   -------------------------------------------------------------------------- */
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(320px, 1fr);
  gap: 44px;
  align-items: stretch;
}

.reviews__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(15, 30, 41, .85), rgba(9, 17, 24, .9));
  border: 1px solid var(--line);
}

.reviews__summary .section-title {
  margin: 0;
  font-size: 32px;
}

.reviews__count {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--accent);
  text-shadow: 0 0 26px rgba(41, 182, 232, .4);
}

.reviews__count-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #9fc3d6;
  background: rgba(41, 182, 232, .1);
  border: 1px solid rgba(95, 190, 230, .2);
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 44px 44px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: .6;
  color: var(--accent-glow);
  user-select: none;
}

.quote__text {
  flex: 1;
  margin: 14px 0 22px;
  font-size: 21px;
  line-height: 1.6;
  color: #dcebf4;
  text-wrap: pretty;
}

.quote__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

.quote__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0d2635);
  font-family: var(--font-display);
  font-size: 15px;
  color: #06121a;
}

.quote__author {
  font-size: 14px;
  font-weight: 800;
  color: #c6d9e5;
}

.quote__source {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.quote__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.quote__arrow {
  width: 38px;
  height: 38px;
  font-size: 16px;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(95, 190, 230, .3);
  transition: background .25s ease;
}

.quote__arrow:hover {
  background: rgba(41, 182, 232, .12);
}

.quote__index {
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}

.dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(126, 153, 170, .4);
  border: 0;
  transition: width .3s ease, background .3s ease;
}

.dots button.is-active {
  width: 26px;
  background: var(--accent);
}

.quote__timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--line-soft);
}

.quote__timer span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  animation: timer 6s linear both;
}

/* --------------------------------------------------------------------------
   13. Системные требования
   -------------------------------------------------------------------------- */
.specs {
  text-align: center;
}

.switch {
  display: inline-flex;
  margin-bottom: 34px;
  border: 1px solid rgba(95, 190, 230, .3);
}

.switch button {
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 1.5px;
  color: #93aebf;
  background: transparent;
  border: 0;
  transition: background .25s ease, color .25s ease;
}

.switch button.is-active {
  color: #06121a;
  background: var(--accent);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: linear-gradient(180deg, rgba(15, 30, 41, .85), rgba(9, 17, 24, .9));
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 15px 30px;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(95, 190, 230, .1);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 200px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--text-dim);
}

.spec-table td {
  font-weight: 600;
  color: #dcebf4;
}

.specs__footnote {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #61798a;
}

/* --------------------------------------------------------------------------
   14. Финальный CTA и футер
   -------------------------------------------------------------------------- */
.download {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, var(--bg), #0a1a26 60%, var(--bg-deep));
}

.download::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.download__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.download__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 56px);
  color: #f4fafd;
  text-wrap: balance;
}

.download__title span {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.download__text {
  margin: 0;
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

.footer {
  padding: 34px 24px;
  text-align: center;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}

.footer p {
  max-width: 900px;
  margin: 0 auto 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #5c7484;
}

.footer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. Лайтбокс
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: rgba(3, 7, 10, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
  animation: lightbox-in .25s ease both;
}

.lightbox figure {
  max-width: min(1180px, 94vw);
  margin: 0;
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid rgba(95, 190, 230, .35);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .75);
}

.lightbox figcaption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2.5px;
  color: #9fc3d6;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  background: rgba(9, 20, 28, .8);
  border: 1px solid rgba(95, 190, 230, .4);
  transition: background .25s ease;
}

.lightbox__close:hover {
  background: rgba(24, 50, 66, .9);
}

/* --------------------------------------------------------------------------
   16. Появление при прокрутке
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   17. Анимации
   -------------------------------------------------------------------------- */
@keyframes fog-drift-a {
  0%, 100% { transform: translate3d(-4%, 0, 0); }
  50%      { transform: translate3d(4%, 2%, 0); }
}

@keyframes fog-drift-b {
  0%, 100% { transform: translate3d(5%, 1%, 0); }
  50%      { transform: translate3d(-5%, -2%, 0); }
}

@keyframes ember-rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: .9; }
  85%  { opacity: .5; }
  100% { transform: translate(var(--drift, 20px), -108vh); opacity: 0; }
}

@keyframes beam-pulse {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(9px); }
}

@keyframes play-pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 26px rgba(41, 182, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 182, 232, 0); }
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes timer {
  from { width: 0; }
  to   { width: 100%; }
}

/* --------------------------------------------------------------------------
   18. Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .about__grid,
  .features__layout,
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tablist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
  }

  .tab {
    margin-bottom: 0;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .shot,
  .shot--wide {
    grid-column: span 1;
  }

  .about__media::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
  }

  .nav__menu {
    order: 3;
    width: 100%;
    gap: 14px;
    font-size: 12px;
  }

  .section {
    padding: 64px 18px;
  }

  .hero {
    padding: 170px 18px 80px;
  }

  .stats {
    gap: 24px;
  }

  .stats__item {
    padding: 0 18px;
    border-right: 0;
  }

  .perks,
  .panel__list {
    grid-template-columns: 1fr;
  }

  .quote {
    padding: 28px 24px 26px;
  }

  .quote__text {
    font-size: 18px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: auto;
    padding: 12px 20px;
  }

  .spec-table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }

  html {
    scroll-behavior: auto;
  }
}
