/* ============================================================
   ИГРИКС — точная копия дизайна igriks.ru (чистый HTML/CSS)
   ============================================================ */

:root {
  --bg: #1e1f22;
  --bg-card: #26272c;
  --bg-bar: #303139;
  --border: #383941;
  --text: #ffffff;
  --text-gray: #a3a1ab;
  --text-dim: #8e8c96;
  --indigo: #6a79fa;
  --indigo-deep: #5623d8;
  --grad: linear-gradient(to right, #5623d8, #6a79fa);
  --pink: #ed1ec6;
  --lavender: #b3aee0;
  --periwinkle: #8d9bf5;
  --font-display: "Nunito", "Manrope", system-ui, sans-serif;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* , *::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: 18.5px;
  line-height: 1.6;
  overflow-x: clip;
}

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

section[id] { scroll-margin-top: 80px; }

.container { width: min(1320px, 100% - 32px); margin-inline: auto; }

/* ---------- Кнопки / пилюли ---------- */
.btn-grad {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  background: var(--grad);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  transition: opacity .25s, box-shadow .25s;
}

.btn-grad:hover { opacity: .9; box-shadow: 0 8px 24px rgba(86, 35, 216, .45); }

.pill {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid #3a3942;
  border-radius: 999px;
  font-size: 13.7px;
  font-weight: 500;
  color: #d6d4dd;
}

.pill--center { display: table; margin-inline: auto; }

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 2.4vw + 14px, 40px);
  color: #c9c7d1;
  text-align: center;
  margin-top: 18px;
}

.title-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Header ---------- */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
  padding-top: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19.4px;
  letter-spacing: .06em;
}

.logo__icon { width: 34px; height: 34px; }
.logo__img { height: 26px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 30px;
  margin-left: 60px;
}

.nav a {
  font-size: 15.4px;
  font-weight: 600;
  color: #e7e5ee;
  transition: color .2s;
}

.nav a:hover { color: var(--indigo); }

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

.header__user {
  font-size: 25.1px;
  color: #6453c8;
  transition: color .2s;
}

.header__user:hover { color: var(--indigo); }

.btn-reg {
  padding: 9px 22px;
  border: 1px solid #4d3bbd;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .25s, border-color .25s;
}

.btn-reg:hover { background: rgba(86, 35, 216, .35); border-color: var(--indigo); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  position: relative;
  z-index: 120;
}

.burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}

.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(92px, 17vh, 110px) 30px clamp(28px, 6vh, 42px);
  background:
    linear-gradient(180deg, rgba(22, 21, 28, .96), rgba(30, 31, 34, .98)),
    url("../4.webp") center / cover no-repeat,
    var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.98);
  transition: opacity .32s ease, visibility .32s ease, transform .32s ease;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(86, 35, 216, .22), transparent 58%),
    linear-gradient(180deg, transparent 0%, rgba(237, 30, 198, .12) 100%);
  pointer-events: none;
}

.mobile-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(50px, 8vh, 62px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-head);
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .34s ease, transform .34s ease, color .2s ease;
}

.mobile-nav a:hover { color: var(--periwinkle); }

.mobile-nav .btn-reg {
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  border: 0;
  border-radius: 10px;
  background: var(--grad);
  font-size: 14px;
  letter-spacing: .08em;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mobile-nav.is-open a { opacity: 1; transform: none; }
.mobile-nav.is-open a:nth-child(1) { transition-delay: .08s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: .12s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: .16s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: .2s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: .24s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: .28s; }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 124px 0 clamp(136px, 15vh, 176px);
  overflow: clip;
  background:
    radial-gradient(46% 80% at 62% -6%, rgba(124, 92, 255, .5), transparent 70%),
    radial-gradient(38% 64% at 88% 96%, rgba(244, 60, 196, .34), transparent 70%),
    radial-gradient(30% 56% at 8% 36%, rgba(86, 35, 216, .28), transparent 70%),
    linear-gradient(rgba(30, 31, 34, .62), rgba(30, 31, 34, .78)),
    url("../4.webp") center / cover no-repeat,
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  height: clamp(140px, 18vw, 260px);
  background: linear-gradient(180deg, rgba(30, 31, 34, 0), var(--bg) 88%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

/* Угольки-искры от костра: лёгкие летящие огоньки (canvas-частицы) */
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Летящие обложки игр — 3D-поток на фоне героя (справа от текста) */
.hero__games {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  perspective: 620px;
  perspective-origin: 72% 45%;
  transform-style: preserve-3d;
  pointer-events: none;
  /* слева прячем, чтобы текст оставался читаемым */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 24%, rgba(0, 0, 0, .4) 44%, #000 64%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 24%, rgba(0, 0, 0, .4) 44%, #000 64%);
}

.hero__game {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 94px;
  margin: -47px 0 0 -100px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .07);
  opacity: 0;
  will-change: transform, opacity;
  animation: hero-fly var(--dur, 16s) linear var(--delay, 0s) infinite;
}

@keyframes hero-fly {
  0%   { opacity: 0; transform: translate3d(var(--x), var(--y), -2000px); }
  9%   { opacity: var(--op, .9); }
  78%  { opacity: var(--op, .9); }
  100% { opacity: 0; transform: translate3d(var(--x), var(--y), 360px); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 3.4vw + 14px, 57px);
  line-height: 1.18;
}

.hero__title span { color: var(--lavender); }

.hero__text {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 500;
  color: #efedf6;
}

.hero__btn { margin-top: 34px; }

/* ---------- Platforms (внутри героя, поверх фона) ---------- */
.hero .platforms__row {
  position: absolute;
  left: 50%;
  bottom: clamp(36px, 6vh, 62px);
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 0;
  transform: translateX(-50%);
}

.platforms__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 28px;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
}

.platform i { font-size: 27.4px; }

/* ---------- Cloud play benefits ---------- */
.cloud-play {
  position: relative;
  padding: 72px 0 68px;
  background:
    radial-gradient(42% 70% at 10% 0%, rgba(86, 35, 216, .22), transparent 70%),
    radial-gradient(42% 70% at 96% 50%, rgba(237, 30, 198, .16), transparent 72%),
    var(--bg);
  overflow: hidden;
}

.cloud-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 31, 34, .92), rgba(30, 31, 34, 0) 24%, rgba(30, 31, 34, .82) 100%);
  pointer-events: none;
}

.cloud-play .container {
  position: relative;
  z-index: 1;
}

.cloud-play__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cloud-play__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 48px);
  line-height: 1.1;
  white-space: nowrap;   /* в одну линию */
  text-align: right;
  color: #fff;
}

.cloud-play__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.cloud-feature {
  --feature-media-width: 64%;
  --feature-cut-top: 22%;
  --feature-cut-bottom: 0%;
  position: relative;
  grid-column: span 4;
  display: flex;
  align-items: flex-end;
  min-height: 196px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(106, 121, 250, .08), transparent 62%),
    linear-gradient(180deg, rgba(38, 39, 44, .92), rgba(27, 26, 33, .92)),
    var(--bg-card);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .28s ease, box-shadow .28s ease, background-color .28s ease;
}

.cloud-feature--save {
  grid-column: span 7;
  min-height: 240px;
  --feature-media-width: 60%;
  --feature-cut-top: 17%;
  --feature-cut-bottom: 0%;
}

.cloud-feature--gpu {
  grid-column: span 5;
  min-height: 240px;
  --feature-media-width: 66%;
  --feature-cut-top: 24%;
  --feature-cut-bottom: 0%;
}

.cloud-feature--ssd {
  grid-column: span 4;
  min-height: 208px;
  --feature-media-width: 70%;
  --feature-cut-top: 29%;
  --feature-cut-bottom: 4%;
}

.cloud-feature--games {
  grid-column: span 8;
  min-height: 208px;
  --feature-media-width: 60%;
  --feature-cut-top: 17%;
  --feature-cut-bottom: 0%;
}

.cloud-feature--pc {
  grid-column: span 8;
  min-height: 226px;
  --feature-media-width: 60%;
  --feature-cut-top: 17%;
  --feature-cut-bottom: 0%;
}

.cloud-feature--controller {
  grid-column: span 4;
  min-height: 226px;
  --feature-media-width: 70%;
  --feature-cut-top: 29%;
  --feature-cut-bottom: 4%;
}

/* ---------- Decorative accent tile ---------- */
.cloud-deco {
  position: relative;
  grid-column: 10 / 13;
  grid-row: 1 / 4;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(124, 99, 255, .16), transparent 58%),
    linear-gradient(180deg, rgba(38, 39, 44, .92), rgba(24, 23, 30, .94)),
    var(--bg-card);
}

.cloud-deco::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 50% 50%, transparent 52%, rgba(17, 16, 22, .55));
  pointer-events: none;
}

.cloud-deco__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Вертикальный заголовок внутри тайла */
.cloud-deco__title {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 1vw + 18px, 32px);
  line-height: 1;
  letter-spacing: .4px;
  background: linear-gradient(180deg, #ffffff 0%, #c2c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}

.cd-glow { transform-box: fill-box; transform-origin: center; animation: cd-pulse 7s ease-in-out infinite; }
.cd-stream { stroke-dasharray: 26 120; animation: cd-rise 5s linear infinite; }
.cd-stream--2 { animation-duration: 6.5s; animation-delay: 1s; }
.cd-stream--3 { animation-duration: 5.8s; animation-delay: 2s; }

@keyframes cd-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes cd-rise { from { stroke-dashoffset: 146; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cd-glow, .cd-stream { animation: none; }
}

/* Заголовок секции виден на всех экранах (двухстрочный).
   Вертикальный дубль в тайле на десктопе прячем. */
@media (min-width: 1025px) {
  .cloud-deco__title { display: none; }
}

.cloud-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(27, 26, 33, .96) 0%, rgba(27, 26, 33, .86) 42%, rgba(27, 26, 33, .18) 72%, transparent 100%),
    linear-gradient(135deg, rgba(141, 155, 245, .16), transparent 46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.cloud-feature::after {
  content: "";
  position: absolute;
  inset: auto -20% -34% -20%;
  z-index: 4;
  height: 58%;
  background: radial-gradient(closest-side, rgba(106, 121, 250, .18), transparent 72%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.cloud-feature:hover {
  border-color: rgba(141, 155, 245, .45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

.cloud-feature:hover::before { opacity: 1; }
.cloud-feature:hover::after { opacity: 1; }

.cloud-feature__content {
  position: relative;
  z-index: 5;
  width: min(100%, 37ch);
  max-width: 100%;
  transform: none;
  transition: none;
}

.cloud-feature__media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: var(--feature-media-width);
  opacity: 0;
  transform: translateX(34px) scale(1.04);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  pointer-events: none;
  transition:
    clip-path .58s cubic-bezier(.22, .61, .36, 1),
    opacity .38s ease,
    transform .58s cubic-bezier(.22, .61, .36, 1);
}

.cloud-feature__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(30, 31, 34, .56) 0%, rgba(30, 31, 34, .16) 32%, transparent 68%),
    linear-gradient(115deg, rgba(141, 155, 245, .5) 0 1px, transparent 1px 100%);
  pointer-events: none;
}

.cloud-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform .58s cubic-bezier(.22, .61, .36, 1);
}

.cloud-feature:hover .cloud-feature__media {
  opacity: 1;
  transform: translateX(0) scale(1);
  clip-path: polygon(var(--feature-cut-top) 0, 100% 0, 100% 100%, var(--feature-cut-bottom) 100%);
}

.cloud-feature:hover .cloud-feature__media img {
  transform: scale(1);
}

.cloud-feature--games::before,
.cloud-feature--pc::before {
  opacity: 1;
}

.cloud-feature--games .cloud-feature__media,
.cloud-feature--pc .cloud-feature__media {
  opacity: 1;
  transform: none;
  clip-path: polygon(var(--feature-cut-top) 0, 100% 0, 100% 100%, var(--feature-cut-bottom) 100%);
}

.cloud-feature--games .cloud-feature__media img,
.cloud-feature--pc .cloud-feature__media img {
  transform: scale(1);
}

@media (hover: none) {
  .cloud-feature::before {
    opacity: .86;
  }

  .cloud-feature__media {
    opacity: 1;
    transform: none;
    clip-path: polygon(var(--feature-cut-top) 0, 100% 0, 100% 100%, var(--feature-cut-bottom) 100%);
  }

  .cloud-feature__media img {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-feature,
  .cloud-feature::before,
  .cloud-feature::after,
  .cloud-feature__content,
  .cloud-feature__media,
  .cloud-feature__media img {
    transition: none;
  }
}

.cloud-feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(86, 35, 216, .3);
  font-size: 18px;
}

.cloud-feature h3 {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.15;
}

.cloud-feature p {
  margin-top: 7px;
  max-width: 34ch;
  color: #c9c7d1;
  font-size: 14px;
  line-height: 1.45;
}

.cloud-feature__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.cloud-feature__notes span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(30, 31, 34, .62);
  color: #d8d6df;
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  padding: 40px 0 110px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.pricing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: clamp(200px, 24vw, 340px);
  background: linear-gradient(180deg, rgba(30, 31, 34, 0), rgba(30, 31, 34, .55) 55%, var(--bg) 100%);
  pointer-events: none;
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 64px;
}

/* угол вращения для анимированной рамки (с фолбэком, если @property не поддержан) */
@property --tariff-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(27, 26, 33, .85);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.tariff:not(.tariff--special) {
  padding-top: 32px;
}

/* фиолетовый контур, проявляющийся и «текущий» по периметру при наведении */
.tariff::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--tariff-angle), #6a79fa, #5623d8, #ed1ec6, #6a79fa);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.tariff:hover {
  transform: translateY(-6px);
  border-color: var(--indigo);
  box-shadow: 0 16px 40px rgba(86, 35, 216, .3);
}

.tariff:hover::before {
  opacity: 1;
  animation: tariff-border 3s linear infinite;
}

@keyframes tariff-border {
  to { --tariff-angle: 360deg; }
}

.tariff--special {
  border-color: var(--pink);
  box-shadow: 0 0 30px rgba(237, 30, 198, .12);
}

.tariff__ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  padding: 7px 16px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.8px;
  line-height: 1.2;
}

.tariff__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 30px;
  text-align: center;
}

.tariff__name {
  background: var(--bg-bar);
  border-radius: 8px;
  padding: 9px 14px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
}

.tariff__name--stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 6px;
}

.tariff__name-value { white-space: nowrap; }

.tariff__name--stepper button {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 700;
  font-size: 18.2px;
  line-height: 1;
  transition: background-color .2s, border-color .2s, opacity .2s;
}

.tariff__name--stepper button:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .2);
}
.tariff__name--stepper button:disabled { opacity: .35; cursor: not-allowed; }

.tariff__price {
  margin-top: 26px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 45.6px;
  line-height: 1;
}

.tariff__unit {
  margin-left: 6px;
  color: var(--text-gray);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  vertical-align: baseline;
}

.tariff__lead {
  margin-top: 20px;
  font-weight: 500;
  font-size: 16px;
  color: #e9e7f0;
}

.tariff__desc {
  margin-top: 6px;
  margin-bottom: 18px;
  font-size: 15.4px;
  color: var(--text-gray);
  min-height: 64px;
}

.tariff__btn { display: block; margin-top: auto; width: 100%; }

/* ---------- Requirements (Bento) ---------- */
.reqs {
  position: relative;
  isolation: isolate;
  /* секции перекрываются на 1px — убирает субпиксельный шов между фонами */
  margin-top: -1px;
  padding: 97px 0 90px;
  background:
    radial-gradient(70% 260px at 50% -40px, rgba(106, 121, 250, .06), transparent 72%),
    radial-gradient(48% 340px at 0% 190px, rgba(190, 60, 220, .16), transparent 72%),
    radial-gradient(48% 340px at 100% 190px, rgba(106, 121, 250, .14), transparent 72%),
    /* фиолетовый тинт нарастает от границы, а не стоит на полную у самого края */
    linear-gradient(180deg, rgba(73, 54, 110, 0), rgba(73, 54, 110, .08) 170px, rgba(30, 31, 34, 0) 380px),
    #1e1f22;
}

.reqs::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(190px, 24vw, 320px);
  background:
    linear-gradient(180deg,
      #1e1f22 0%,
      rgba(30, 31, 34, .97) 16%,
      rgba(30, 31, 34, .72) 46%,
      rgba(30, 31, 34, 0) 100%);
  pointer-events: none;
}

.reqs > .container {
  position: relative;
  z-index: 1;
}
.reqs__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.reqs__head { text-align: center; max-width: 640px; margin: 0 auto; }
.reqs .section-title { margin-top: 0; }
.reqs__lead {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--text-gray);
  font-size: 16.5px;
}

/* сетка bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 48px;
}

/* карточка */
.bento__card {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: clamp(460px, 36vw, 540px);
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(106, 121, 250, .06), transparent 60%),
    var(--bg-card);
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.bento__card--wide   { grid-column: span 7; }
.bento__card--narrow { grid-column: span 5; }

/* легкая подсветка без пересчета координат курсора */
.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(106, 121, 250, .22), transparent 66%),
    linear-gradient(135deg, rgba(237, 30, 198, .1), transparent 45%);
  opacity: 0;
  transition: opacity .22s ease;
}

/* мягкий контур на hover */
.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(135deg,
              rgba(141, 155, 245, .85),
              rgba(237, 30, 198, .36),
              rgba(141, 155, 245, .12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .22s ease;
}
.bento__card:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 121, 250, .45);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.bento__card:hover::before { opacity: 1; }
.bento__card:hover::after { opacity: 1; }

/* медиа-панель с иллюстрацией */
.bento__media {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 25vw, 380px);
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(86, 35, 216, .14), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.bento__art { width: 100%; max-width: 420px; height: auto; display: block; padding: 18px 22px; }
.bento__media--image { background: var(--bg); }
.bento__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.bento__image--device { object-position: 68% center; }

/* текст карточки */
.bento__body { position: relative; z-index: 3; }
.bento__kicker {
  display: inline-block;
  margin-bottom: 8px;
  font: 800 12px/1 var(--font-head);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--periwinkle);
}
.bento__title {
  font: 800 21px/1.2 var(--font-head);
  color: var(--text);
}
.bento__text {
  margin-top: 10px;
  font-size: 15.4px;
  line-height: 1.55;
  color: var(--text-gray);
}

/* лазер-поток в карточке «Интернет» — горлышко с фотонами */
.bento__media--laser { background:
    radial-gradient(120% 90% at 50% 0%, rgba(86, 35, 216, .22), transparent 62%),
    var(--bg); }
.bento__laser { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* ===== иллюстрации требований — абстракции ===== */

/* базовые материалы */
.rq-frame   { fill: var(--bg-card); stroke: url(#reqGrad); stroke-width: 3; stroke-linejoin: round; }
.rq-node    { fill: var(--bg-card); stroke: url(#reqGrad); stroke-width: 3; }
.rq-screen  { fill: rgba(106, 121, 250, .16); stroke: var(--periwinkle); stroke-width: 2.4; }
.rq-leg     { stroke: url(#reqGrad); stroke-width: 4; stroke-linecap: round; fill: none; }
.rq-glyph   { stroke: var(--periwinkle); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.rq-line    { stroke: var(--periwinkle); stroke-width: 3; stroke-linecap: round; fill: none; }
.rq-dot     { fill: var(--periwinkle); stroke: none; }
.rq-dot--pink { fill: var(--pink); stroke: none; }
.rq-bar     { fill: var(--indigo);   stroke: none; }
.rq-bar2    { fill: var(--text-dim); stroke: none; }
.rq-star    { fill: var(--pink); stroke: none; }
.rq-play    { fill: url(#reqGrad); stroke: none; }
.rq-cursor  { fill: url(#reqGrad); stroke: none; }
.rq-ripple  { stroke: var(--pink); stroke-width: 3; stroke-linecap: round; fill: none; opacity: .65; }
.rq-check   { stroke: var(--pink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.rq-keys rect { fill: rgba(106, 121, 250, .16); stroke: var(--periwinkle); stroke-width: 1.8; }
.rq-link path { stroke: var(--periwinkle); stroke-width: 2; stroke-linecap: round; fill: none;
                stroke-dasharray: 2 8; opacity: .4; }
.rq-particles circle { fill: var(--periwinkle); opacity: .7; }

/* кольцо подписки (Аккаунт) */
.rq-ring     { fill: none; stroke: var(--border); stroke-width: 5; }
.rq-ring-arc { fill: none; stroke: url(#reqGrad); stroke-width: 5; stroke-linecap: round; }
.rq-ring-tip { fill: var(--pink); }

/* движение */
.rq-pulse { transform-box: fill-box; transform-origin: center;
            animation: rqPulse 4s ease-in-out infinite; }
@keyframes rqPulse { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: .95; transform: scale(1.04); } }
.rq-float { transform-box: fill-box; transform-origin: center;
            animation: rqFloat 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes rqFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.rq-particles circle { transform-box: fill-box; transform-origin: center;
                       animation: rqFloat 4.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .rq-pulse, .rq-float, .rq-particles circle { animation: none; }
  .rq-pulse { opacity: .7; }
  .bento__card, .bento__card:hover { transition: none; transform: none; }
}

@media (max-width: 960px) {
  .bento__card,
  .bento__card--wide,
  .bento__card--narrow { grid-column: span 12; }
  .bento__card { min-height: 0; }
  .bento__media { min-height: 150px; }
}

/* ---------- Speed test ---------- */
.speed {
  --speed-green: #04c951;
  --speed-green-deep: #186634;
  --speed-glow: 4, 201, 81;
  --speed-deep-glow: 24, 102, 52;
  --speed-grad: linear-gradient(135deg, var(--speed-green) 0%, var(--speed-green-deep) 100%);
  padding: 100px 0;
  background:
    radial-gradient(70% 72% at 82% 44%, rgba(var(--speed-glow), .12), transparent 68%),
    radial-gradient(72% 72% at 46% 50%, rgba(var(--speed-deep-glow), .14), transparent 70%);
}

.speed__cols {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.speed__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 2.2vw + 12px, 40px);
  line-height: 1.3;
}

.speed__title span { color: var(--text-dim); }

.speed__text {
  margin-top: 24px;
  max-width: 430px;
  color: #c3c1cb;
  font-size: 16.5px;
}

.speed__card {
  --meter-progress: 0;
  position: relative;
  justify-self: center;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 1;
  padding: 30px 34px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    radial-gradient(82% 64% at 50% 27%, rgba(var(--speed-glow), .16), transparent 60%),
    radial-gradient(74% 58% at 50% 64%, rgba(var(--speed-deep-glow), .24), transparent 68%),
    linear-gradient(165deg, #2b2c32 0%, #212228 58%, #1b1c21 100%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, .45),
    0 0 54px rgba(var(--speed-deep-glow), .16),
    inset 0 1px 0 rgba(255, 255, 255, .045);
}

.speed__card.is-speed-low {
  --speed-green: #ff3f3f;
  --speed-green-deep: #8f1f1f;
  --speed-glow: 255, 63, 63;
  --speed-deep-glow: 143, 31, 31;
}

.speed__card.is-speed-warn {
  --speed-green: #ffd43b;
  --speed-green-deep: #b87500;
  --speed-glow: 255, 212, 59;
  --speed-deep-glow: 184, 117, 0;
}

.speed__card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .035);
  pointer-events: none;
}

.speed__meter {
  position: relative;
  z-index: 1;
  width: min(100%, 270px);
  aspect-ratio: 1.6;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .42s ease, transform .42s ease;
}

.speed__card.is-testing .speed__meter {
  opacity: 1;
  transform: scale(1);
  transition-delay: .28s;
}

.speed__card.is-result .speed__meter {
  opacity: 1;
  transform: scale(1);
  transition: none;
}

.speed__dial {
  position: absolute;
  inset: 0;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(var(--speed-glow), .2));
}

.speed__track,
.speed__arc {
  fill: none;
  stroke-linecap: round;
}

.speed__track {
  stroke: rgba(255, 255, 255, .09);
  stroke-width: 16;
}

.speed__grad-start { stop-color: var(--speed-green); }
.speed__grad-end { stop-color: var(--speed-green-deep); }

.speed__arc {
  stroke: url(#speedGrad);
  stroke-width: 16;
  stroke-dasharray: var(--meter-progress) 100;
  transition: stroke-dasharray .18s linear;
}

.speed__card.is-testing .speed__arc {
  filter: drop-shadow(0 0 12px rgba(var(--speed-glow), .58));
}

/* крупный результат */
.speed__gauge {
  position: absolute;
  left: 50%;
  top: 74%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  transition: opacity .32s ease, transform .32s ease;
}

.speed__card.is-result .speed__gauge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: none;
}

.speed__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 58px;
  line-height: .88;
  letter-spacing: 0;
  color: #d7d6de;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(var(--speed-glow), .18);
  transition: color .3s, text-shadow .3s;
}

.speed__unit {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  color: #8e8c96;
}

.speed__card.is-testing .speed__value {
  color: #effff4;
  text-shadow: 0 0 40px rgba(var(--speed-glow), .46);
}

/* стартовый круг раскрывает измеритель */
.speed__circle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: min(calc(100% - 46px), 314px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(var(--speed-glow), .24), transparent 38%),
    linear-gradient(180deg, #26352b 0%, #17231a 100%);
  border: 1px solid rgba(var(--speed-glow), .9);
  box-shadow:
    0 0 0 10px rgba(30, 31, 34, .72),
    0 0 0 11px rgba(var(--speed-glow), .26),
    0 0 48px rgba(var(--speed-glow), .3),
    inset 0 0 46px rgba(var(--speed-glow), .13);
  color: #effff4;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: transform .58s cubic-bezier(.2, .8, .2, 1), opacity .42s ease;
  animation: speed-breathe 3.6s ease-in-out infinite;
}

.speed__circle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(var(--speed-glow), .9), transparent 88% 100%);
  opacity: 0;
}

.speed__circle::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #223226 0%, #172219 100%);
}

.speed__circle:hover { transform: translate(-50%, -50%) scale(1.03); }
.speed__circle:disabled { cursor: default; }
.speed__btn-label { position: relative; z-index: 2; }

.speed__card.is-testing .speed__circle {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.18);
}

.speed__card.is-testing .speed__circle::before {
  opacity: 1;
  animation: speed-spin 1.1s linear infinite;
}

.speed__card.is-result .speed__circle {
  left: 50%;
  top: auto;
  bottom: 80px;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--speed-green);
  font-size: 16px;
  line-height: 1.1;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
  animation: none;
  transition: opacity .24s ease, color .24s ease;
}

.speed__card.is-result.is-complete .speed__circle {
  opacity: 1;
  pointer-events: auto;
}

.speed__card.is-result .speed__circle:hover {
  color: #effff4;
  transform: translateX(-50%);
}

.speed__card.is-result .speed__circle::before,
.speed__card.is-result .speed__circle::after {
  display: none;
}

@keyframes speed-breathe {
  50% {
    box-shadow:
      0 0 0 6px rgba(30, 31, 34, .85),
      0 0 0 7px rgba(var(--speed-glow), .5),
      0 0 44px rgba(var(--speed-glow), .5),
      inset 0 0 32px rgba(var(--speed-glow), .2);
  }
}

@keyframes speed-spin { to { transform: rotate(1turn); } }

/* ---------- FAQ + Telegram ---------- */
.faq-zone {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #232427;
}

.faq-zone::before,
.faq-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.faq-zone::before {
  inset: 0 0 -120px;
  background:
    radial-gradient(36% 56% at 0% 58%, rgba(123, 62, 210, .34), transparent 72%),
    radial-gradient(36% 56% at 100% 58%, rgba(123, 62, 210, .34), transparent 72%),
    url("../6.webp") center 52% / cover no-repeat;
}

.faq-zone::after {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(30, 31, 34, .76) 18%, rgba(30, 31, 34, .58) 62%, rgba(35, 36, 39, .78) 88%, #232427 100%);
}

.faq {
  position: relative;
  z-index: 1;
  padding: 30px 0 70px;
  background: transparent;
}

.faq__heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 2.2vw + 12px, 40px);
  margin-top: 16px;
}

.faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  align-items: start;
  margin-top: 44px;
}

.qa { margin-bottom: 14px; }

.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 10px 10px 10px 18px;
  border-radius: 10px;
  background: #26252d;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.4px;
  transition: background-color .2s;
}

.qa__q:hover { background: #2c2b34; }

.qa__arr {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--grad);
  font-size: 12.5px;
  transition: transform .3s;
}

.qa.is-open .qa__arr { transform: rotate(180deg); }

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.qa__a > p {
  overflow: hidden;
  padding: 0 18px;
  font-size: 16px;
  color: #bcbac4;
}

.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > p { padding-top: 16px; padding-bottom: 6px; }

/* ---------- Social CTA ---------- */
.tg-wrap {
  position: relative;
  z-index: 1;
  padding: 4px 0 150px;
  background: transparent;
}

.tg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tg {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 28px 28px;
  border-radius: 16px;
  background: #232427;
  border: 1px solid rgba(255, 255, 255, .08);
}

.tg__icon { font-size: 54.7px; color: #34aadf; }
.tg--vk .tg__icon { color: #4c75a3; }

.tg__text {
  min-width: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.8px;
  letter-spacing: .02em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tg__btn {
  margin-left: auto;
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 7px;
  background: #2f9bd8;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.7px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .25s;
}

.tg__btn:hover { background: #43abe4; }
.tg--vk .tg__btn { background: #4c75a3; }
.tg--vk .tg__btn:hover { background: #5b86b7; }

/* ---------- Footer ---------- */
.footer {
  /* фирменная палитра подвала */
  --f-bg: #232427;
  --f-surface: #232427;
  --f-line: #393a3d;
  --f-dim: #acb7be;
  --f-text: #ffffff;

  background: var(--f-bg);
  color: var(--f-dim);
  padding-block: 48px 26px;
}

/* верхний ряд: соцсети · 2 колонки ссылок · оплата */
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: 48px;
  padding-bottom: 34px;
}

.footer__social {
  position: relative;
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--f-surface);
  color: var(--f-dim);
  font-size: 17px;
  transition: color .25s, background-color .25s, transform .25s;
}

.footer__social a:hover {
  color: var(--f-text);
  background: var(--f-line);
  transform: translateY(-2px);
}

/* колонки ссылок */
.footer__links { display: grid; gap: 8px; align-content: center; }

.footer__link-strong {
  color: var(--f-text);
  font-size: 16px;
  font-weight: 600;
  transition: opacity .2s;
}

.footer__link-strong:hover { opacity: .8; }

.footer__link-dim {
  color: var(--f-dim);
  font-size: 15px;
  transition: color .2s;
}

.footer__link-dim:hover { color: var(--f-text); }

/* способы оплаты */
.footer__pay {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.footer__pay-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

.footer__pay-item img {
  display: block;
  width: auto;
}

/* у каждого логотипа своя «плотность» внутри svg — выравниваем по виду */
.footer__pay-item--mir img  { height: 28px; }
.footer__pay-item--sbp img  { height: 24px; }
.footer__pay-item--mc img   { height: 22px; }
.footer__pay-item--visa img { height: 17px; }
.footer__pay-item--mir,
.footer__pay-item--visa { padding-inline: 6px; }

/* средний ряд с разделителями: бренд · статус · документы */
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 22px;
  border-top: 1px solid var(--f-line);
  border-bottom: 1px solid var(--f-line);
}

.footer__brand-text {
  position: relative;
  font-weight: 700;
  font-size: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* кнопка «Статус системы» */
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--f-text);
  background: transparent;
  padding: 0;
  transition: color .2s;
}

.footer__status:hover { color: var(--f-dim); }

.footer__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e11d;
  box-shadow: 0 0 8px rgba(0, 225, 29, .8);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-left: auto;
}

.footer__legal a {
  color: var(--f-dim);
  font-size: 15px;
  transition: color .2s;
}

.footer__legal a:hover { color: var(--f-text); }

/* мелкий текст / реквизиты снизу по центру */
.footer__fine {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  text-align: center;
  color: var(--f-line);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-card, #1b1830);
  border: 1px solid var(--border, rgba(255, 255, 255, .1));
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  transform: translateY(160%);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.cookie-banner.is-visible { transform: none; }

.cookie-banner__text { font-size: 13.5px; line-height: 1.5; color: #d9d7e2; }

.cookie-banner__btn {
  flex: none;
  padding: 9px 18px;
  border: 0;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-banner__btn:hover { filter: brightness(1.08); }

@media (max-width: 520px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner__btn { width: 100%; }
}

/* ---------- Оформление текста юридических документов ---------- */
.doc__section h3 {
  margin: 26px 0 10px;
  font-family: var(--font-head, inherit);
  font-weight: 700;
  font-size: 17px;
  color: #efedf6;
}

.doc__num { color: var(--periwinkle); font-weight: 700; margin-right: 2px; }

.doc__section ul.doc__alpha,
.doc__section ul.doc__dash {
  list-style: none;
  margin: 0 0 14px;
  padding-left: 4px;
  display: grid;
  gap: 8px;
}

.doc__section ul.doc__alpha li,
.doc__section ul.doc__dash li {
  position: relative;
  padding-left: 24px;
  color: #c9c7d1;
  font-size: 16.6px;
  line-height: 1.7;
}

.doc__section ul.doc__dash li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--periwinkle);
}

.doc__alpha-m { position: absolute; left: 0; color: var(--periwinkle); font-weight: 600; }

.doc__contacts-name { margin: 0 0 12px; color: #efedf6; font-weight: 600; font-size: 15.5px; }

/* ---------- Фиолетовый кружок за курсором ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 110, 255, .95), rgba(86, 35, 216, .45) 60%, transparent 72%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .35s ease, width .35s ease, height .35s ease, filter .35s ease;
  will-change: transform;
}

.cursor-glow.is-active { opacity: 1; }

/* над ссылками/кнопками кружок рассеивается: растёт, размывается и тает */
.cursor-glow.is-hover {
  opacity: 0;
  width: 64px;
  height: 64px;
  filter: blur(8px);
}

/* ---------- Вертикальная полоса прокрутки (клик — наверх) ---------- */
.scrollbar {
  position: fixed;
  left: 22px;
  top: 50%;
  z-index: 85;
  transform: translateY(calc(-50% + 10px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.scrollbar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
}

.scrollbar__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .25s;
}

.scrollbar__track {
  position: relative;
  width: 2px;
  height: 120px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.scrollbar__fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--progress, 0%);
  border-radius: 2px;
  background: linear-gradient(180deg, #6a79fa, #5623d8);
  transition: height .08s linear;
}

.scrollbar:hover .scrollbar__label { color: var(--indigo); }

/* ---------- Страница 404 ---------- */
.page-404 { display: flex; flex-direction: column; min-height: 100svh; }

.error404 {
  position: relative;
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: clamp(590px, 74vh, 820px);
  padding: clamp(124px, 16vh, 178px) 0 clamp(76px, 10vh, 112px);
  overflow: clip;
  background:
    linear-gradient(90deg, rgba(30, 31, 34, .94) 0%, rgba(30, 31, 34, .78) 42%, rgba(30, 31, 34, .92) 100%),
    linear-gradient(180deg, rgba(30, 31, 34, .45), var(--bg) 94%),
    url("../04.png") center / cover no-repeat,
    var(--bg);
}

.error404::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(86, 35, 216, .18), transparent 36%, rgba(237, 30, 198, .10)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 92px);
  opacity: .45;
  pointer-events: none;
}

.error404__inner {
  position: relative;
  display: grid;
  justify-items: center;
  max-width: 780px;
}

.error404__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(35, 36, 39, .42);
  color: #d6d4dd;
  font-family: var(--font-head);
  font-size: 13.7px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.error404__code {
  margin-top: clamp(18px, 3vh, 30px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 18vw, 236px);
  line-height: .82;
  letter-spacing: 0;
  color: #fff;
  text-shadow:
    0 18px 62px rgba(0, 0, 0, .44),
    0 0 78px rgba(106, 121, 250, .35);
}

.error404__title {
  margin-top: clamp(18px, 4vh, 34px);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4vw + 10px, 64px);
  line-height: 1.05;
  letter-spacing: 0;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.error404__text {
  margin-top: 18px;
  max-width: 620px;
  color: var(--text-gray);
  font-size: clamp(16px, .4vw + 14px, 19px);
  line-height: 1.72;
}

.error404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 5vh, 44px);
}

.error404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity .25s, background-color .25s, border-color .25s, box-shadow .25s, transform .25s;
}

.error404__btn--primary {
  border: 1px solid transparent;
  background: var(--grad);
}

.error404__btn--ghost {
  border: 1px solid #4d3bbd;
  background: rgba(35, 36, 39, .42);
}

.error404__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(86, 35, 216, .4);
}

.error404__btn--primary:hover { opacity: .9; }

.error404__btn--ghost:hover {
  background: rgba(86, 35, 216, .35);
  border-color: var(--indigo);
}

.error404__quicklinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 26px;
}

.error404__quicklinks a {
  color: var(--text-gray);
  font-size: 15px;
  transition: color .2s;
}

.error404__quicklinks a:hover { color: #fff; }

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1024px) {

  .cloud-play__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cloud-feature { grid-column: span 3; min-height: 214px; }
  .cloud-feature--save,
  .cloud-feature--games,
  .cloud-feature--pc { grid-column: span 6; }
  .cloud-deco { display: none; }
  .pricing__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reqs__row { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; justify-items: center; text-align: center; gap: 28px; }
  .footer__pay { justify-content: center; }
  .scrollbar { display: none; }
}

@media (max-width: 860px) {
  .nav, .header__user { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .pricing__row { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }

  .hero .platforms__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
    bottom: clamp(34px, 5.5vh, 52px);
  }

  .platform {
    justify-content: center;
    min-width: 0;
    gap: 8px;
    white-space: nowrap;
  }

  .speed__cols,
  .faq__cols { grid-template-columns: 1fr; }

  .cloud-play {
    padding: 58px 0 54px;
  }

  .cloud-play__head {
    display: block;
    margin-bottom: 48px;
  }

  .cloud-play__grid {
    grid-template-columns: 1fr;
  }

  .cloud-feature,
  .cloud-feature--save,
  .cloud-feature--gpu,
  .cloud-feature--ssd,
  .cloud-feature--games,
  .cloud-feature--pc,
  .cloud-feature--controller {
    grid-column: 1 / -1;
    min-height: 218px;
  }

  .cloud-play__title {
    margin-top: 14px;
    text-align: right;
  }

  .tg-grid { grid-template-columns: 1fr; }
  .tg { flex-wrap: wrap; justify-content: center; text-align: center; }
  .tg__btn { margin-inline: auto; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 14px; text-align: center; }
  .footer__legal { justify-content: center; margin-left: 0; }
}

@media (max-width: 560px) {
  .btn-reg { display: none; }
  .mobile-nav .btn-reg { display: flex; }

  .error404 {
    min-height: 610px;
    padding-top: 118px;
  }

  .error404__inner {
    max-width: 100%;
  }

  .error404__actions,
  .error404__btn {
    width: 100%;
  }

  .hero { padding: 108px 0 clamp(138px, 24vh, 164px); }
  .hero .platforms__row {
    bottom: 34px;
  }
  .hero__title br, .hero__text br { display: none; }

  /* на телефоне прячем обложки за текстом, показываем ниже кнопки и по краям */
  .hero__games {
    opacity: .42;
    perspective-origin: 50% 28%;
    -webkit-mask-image: radial-gradient(155% 80% at 50% 30%, transparent 0%, rgba(0, 0, 0, .35) 48%, #000 84%);
            mask-image: radial-gradient(155% 80% at 50% 30%, transparent 0%, rgba(0, 0, 0, .35) 48%, #000 84%);
  }

  .platforms__row { justify-content: center; }

  .platform {
    font-size: 14.5px;
  }

  .platform i { font-size: 24px; }

  .cloud-feature {
    padding: 16px;
  }

  .cloud-feature h3 {
    font-size: 18px;
  }

  /* на телефоне разрешаем перенос, чтобы не было горизонтального скролла */
  .cloud-play__title { white-space: normal; font-size: 24px; }

  .reqs__row { grid-template-columns: 1fr; gap: 24px; }

  .speed__card { aspect-ratio: 1; padding: 28px 18px; }
  .speed__meter { width: min(100%, 238px); }
  .speed__value { font-size: 48px; }
  .speed__circle { font-size: 16px; }
  .speed__card.is-result .speed__circle { width: auto; height: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__games { display: none; }
  .speed__circle,
  .speed__circle::before { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ============================================================
   Ping scene — 3D web-пространство: перспективная сетка + фотоны
   ============================================================ */
.speed-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(36px, 5vw, 72px);
  padding-block: clamp(96px, 11vw, 184px);
  background:
    radial-gradient(120% 130% at 72% 45%, rgba(86, 35, 216, .22) 0%, rgba(30, 31, 34, 0) 55%),
    radial-gradient(90% 90% at 50% 50%, #232429 0%, var(--bg) 70%);
}

.speed-scene__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}

/* затемняем левый край (под текст) и верх/низ — мягкая стыковка с соседями */
.speed-scene__fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(30, 31, 34, .96) 0%, rgba(30, 31, 34, .62) 30%, rgba(30, 31, 34, 0) 54%),
    linear-gradient(180deg, rgba(30, 31, 34, .9) 0%, rgba(30, 31, 34, 0) 24%, rgba(30, 31, 34, 0) 76%, rgba(30, 31, 34, .92) 100%);
}

.speed-scene__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 96px);
  align-items: center;
}

.speed-scene__pill {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(30, 31, 34, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.speed-scene__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw + 6px, 66px);
  line-height: 1.07;
  letter-spacing: 0;
  color: #fff;
  text-wrap: balance;
}

.speed-scene__accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.speed-scene__dim { color: #6c6a77; }

.speed-scene__text {
  max-width: 48ch;
  font-size: clamp(16px, .55vw + 13px, 21px);
  line-height: 1.66;
  color: var(--text-gray);
  text-shadow: 0 1px 14px rgba(30, 31, 34, .7);
}

.speed-scene__title { text-shadow: 0 2px 24px rgba(30, 31, 34, .55); }

@media (max-width: 880px) {
  .speed-scene__inner { grid-template-columns: 1fr; }
  .speed-scene__text { max-width: none; }
}
