/* ============ Base ============ */
:root {
  --bg: #0e0f13;
  --panel: #17181d;
  --card: #1e2026;
  --card-2: #26282f;
  --border: #26282f;
  --border-soft: #22242b;
  --text: #f4f5f7;
  --text-muted: #9ba0ab;
  --text-dim: #6d727e;
  --lime: #b6f45b;
  --lime-2: #96de37;
  --lime-ink: #131a06;
  --violet: #6d5bf7;
  --violet-2: #8a35f5;
  --gold-1: #ffe14d;
  --gold-2: #f0a819;
  --mono: #8b8f9a;
  --radius: 16px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Плёночное зерно поверх всей страницы — убирает «пластиковую» плоскость */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn--dark {
  color: var(--text);
  background: var(--card-2);
}
.btn--dark:hover { background: #2e3038; }

/* «Регистрация» — сине-фиолетовый градиент с бейджем 325% */
.btn--register {
  position: relative;
  color: #fff;
  background: linear-gradient(100deg, #3b5bfd 0%, #6a3df1 60%, #8b3ff5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 6px 22px rgba(90, 70, 245, .35);
}
.btn--register:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(90, 70, 245, .5); }

.btn__badge {
  position: absolute;
  top: -9px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2.5px 8px;
  border-radius: 999px;
  background: #c0fd09;
  color: #131a06;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 20, 24, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.logo__img {
  display: block;
  width: 110px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(192, 253, 9, .25));
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language switcher */
.lang { position: relative; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border-radius: 13px;
  border: none;
  background: var(--card-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}
.lang__btn:hover { background: #2e3038; }
.lang__chevron { transition: transform .2s ease; color: var(--text-muted); }
.lang.is-open .lang__chevron { transform: rotate(180deg); }

.lang__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 172px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang.is-open .lang__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang__list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.lang__list button:hover { background: rgba(255,255,255,.06); }
.lang__list button.is-active { color: var(--lime); }

/* ============ Hero ============ */
.hero { padding-top: 20px; }

.hero__grid { display: grid; }

/* Баннер как «Special Rewards» */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 48px 52px;
  min-height: 340px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(560px 300px at 88% -10%, rgba(140, 190, 255, .5), transparent 65%),
    radial-gradient(500px 320px at 100% 110%, rgba(150, 60, 255, .45), transparent 60%),
    linear-gradient(105deg, #2340d2 0%, #4739e8 52%, #7a2ef2 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.banner__title { letter-spacing: -.5px; }

.banner__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.banner__glow--1 { width: 300px; height: 300px; right: 60px; top: -120px; background: rgba(120, 180, 255, .5); }
.banner__glow--2 { width: 260px; height: 260px; right: -60px; bottom: -120px; background: rgba(170, 90, 255, .5); }

.banner__content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.chip {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.banner__title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(20, 20, 80, .35);
}

.banner__text {
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 26px;
  max-width: 420px;
}

/* Кнопка как «Claim»: чёрная пилюля + лаймовый круг со стрелкой */
.banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: #101116;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(10, 10, 40, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.banner__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(10, 10, 40, .5); }

.banner__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--lime) 0%, var(--lime-2) 100%);
  color: var(--lime-ink);
  transition: transform .15s ease;
}
.banner__cta:hover .banner__cta-icon { transform: translateX(3px); }

/* Декор баннера */
.banner__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.art {
  position: absolute;
  filter: drop-shadow(0 14px 26px rgba(10, 10, 50, .45));
  /* синусоидальный ease — без «ступеньки» в крайних точках */
  animation: bob 6s cubic-bezier(.45, 0, .55, 1) infinite;
  will-change: translate, rotate;
}
.art--gift  { width: 265px; height: auto; right: 8%; top: calc(50% - 140px); animation: bob-gift 6.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.art--coin2 { font-size: 30px; right: 4%; top: 16%; rotate: -18deg; animation-duration: 7.6s; animation-delay: -3.4s; }
.art--dia   { font-size: 36px; right: 26%; bottom: 12%; rotate: 10deg; animation-duration: 6.4s; animation-delay: -4.6s; }
.art--spark { font-size: 26px; right: 4%; bottom: 24%; animation: twinkle 3.6s ease-in-out -1.2s infinite; }

/* плавное покачивание: только композитные translate/rotate, без пересчёта лэйаута */
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes bob-gift {
  0%, 100% { translate: 0 0; rotate: -7deg; }
  50% { translate: 0 -16px; rotate: -3.5deg; }
}
@keyframes twinkle {
  0%, 100% { opacity: .5; scale: .8; }
  50% { opacity: 1; scale: 1.15; }
}

@media (prefers-reduced-motion: reduce) {
  .art { animation: none; }
}

/* ============ Sections ============ */
.section { margin-top: 40px; }

/* ============ Offer: дизайн-токены секции ============ */
/* Токены по спеке; --ot-muted осветлён с #71717A до #82828C —
   исходное значение не проходит контраст 4.5:1 на --ot-surface* */
.offer {
  --ot-surface: #131316;
  --ot-surface-2: #1A1A20;
  --ot-border-subtle: rgba(255, 255, 255, .06);
  --ot-border-hover: rgba(197, 246, 58, .35);
  --ot-primary: #FAFAFA;
  --ot-secondary: #A1A1AA;
  --ot-muted: #82828C;
  --ot-lime: #C5F63A;
  --ot-violet: #6D4AFF;
  --ot-violet-glow: rgba(109, 74, 255, .25);
}

.offer { margin-top: 56px; }

/* Focus-состояния интерактивных элементов */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #C5F63A;
  outline-offset: 2px;
}

/* ---- Преимущества: тонкая строка ---- */
.adv-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.adv-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ot-secondary);
}

.adv-item__icon {
  flex-shrink: 0;
  color: var(--ot-lime);
  opacity: .6;
}

.adv-sep {
  width: 1px;
  height: 16px;
  background: var(--ot-border-subtle);
}

/* ---- Заголовок секции ---- */
.offer-head { margin-top: 48px; }

.offer-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--ot-lime);
}
.offer-eyebrow__sep {
  width: 22px;
  height: 1px;
  background: rgba(197, 246, 58, .4);
}

.offer-title {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--ot-primary);
}

.offer-sub {
  margin-top: 8px;
  font-size: 16px;
  color: var(--ot-secondary);
}

/* ---- Шаги ---- */
.steps-wrap {
  position: relative;
  margin-top: 24px;
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 55%),
    var(--ot-surface);
  border: 1px solid var(--ot-border-subtle);
  border-radius: 20px;
  padding: 22px 22px 22px;
  transition: transform .2s ease-out, border-color .2s ease-out;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--ot-border-hover);
}

/* Призрачный номер шага */
.step__ghost {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: rgba(255, 255, 255, .055);
  user-select: none;
}
.step--start .step__ghost { color: rgba(197, 246, 58, .1); }
.step--final .step__ghost { color: rgba(109, 74, 255, .18); }

/* Шаг 1 — главный акцент */
.step--start {
  background:
    radial-gradient(240px 150px at 15% -10%, rgba(197, 246, 58, .09), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0) 55%),
    var(--ot-surface);
  border-color: rgba(197, 246, 58, .4);
  box-shadow: 0 0 32px rgba(197, 246, 58, .08);
}

/* Шаги 2–4: светлота фона нарастает */
.step--2 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 55%),
    #131316;
}
.step--3 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 55%),
    #17171B;
}
.step--final {
  background:
    radial-gradient(240px 150px at 15% -10%, rgba(109, 74, 255, .14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0) 55%),
    var(--ot-surface-2);
  border-color: rgba(109, 74, 255, .5);
  box-shadow: 0 0 28px rgba(109, 74, 255, .14);
}
.step--final:hover { border-color: var(--ot-violet); }

.step__top {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
}

.step__flag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(197, 246, 58, .1);
  color: var(--ot-lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.step__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ot-primary);
}

/* Процент — герой карточки */
.step__bonus {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.step__pct {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--ot-lime);
}

.step__max {
  font-size: 14px;
  color: var(--ot-secondary);
  white-space: nowrap;
}

/* Чипы с условиями, прижаты к низу */
.step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.step__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ot-secondary);
  white-space: nowrap;
}

.step__chip--fs {
  background: rgba(197, 246, 58, .12);
  color: var(--ot-lime);
  font-weight: 700;
}

/* Точки-индикаторы (только мобильный скролл) */
.steps-dots {
  display: none;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.steps-dots__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  transition: background .2s ease;
}
.steps-dots__dot.is-active { background: var(--ot-lime); }

/* ---- Финальная панель: итог + CTA ---- */
.final {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
  padding: 32px 38px;
  background: #101014;
  border-radius: 22px;
}

/* Градиентная обводка лайм → фиолет */
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(197, 246, 58, .35), rgba(255, 255, 255, .07) 45%, rgba(109, 74, 255, .45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.final__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.final__glow--lime { left: -140px; top: -190px; background: rgba(197, 246, 58, .07); }
.final__glow--violet { right: -120px; bottom: -220px; background: rgba(109, 74, 255, .12); }

.final__offer { position: relative; }
.final__action { position: relative; }

.final__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ot-muted);
}

.final__total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}
.final__upto {
  font-size: 17px;
  color: var(--ot-secondary);
}
.final__total b {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--ot-lime);
  white-space: nowrap;
}

.final__terms {
  display: flex;
  margin-top: 20px;
}

.final__term {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.final__term + .final__term {
  margin-left: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--ot-border-subtle);
}

.final__term-label {
  font-size: 12px;
  color: var(--ot-muted);
}
.final__term-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ot-primary);
  white-space: nowrap;
}

.final__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 340px;
}

.final__urgency {
  font-size: 14px;
  color: var(--ot-secondary);
  text-align: center;
  max-width: 320px;
}

.final__note {
  font-size: 13.5px;
  color: var(--ot-muted);
  text-align: center;
}



.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 360px;
  max-width: 100%;
  height: 60px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .1px;
  color: var(--lime-ink);
  background: linear-gradient(180deg, #cdf95e 0%, var(--lime-2) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -2px 0 rgba(0, 0, 0, .12),
    0 0 20px rgba(197, 246, 58, .25);
  transition: transform .15s ease;
}
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta__arrow { transition: transform .15s ease; }
.btn-cta:hover .btn-cta__arrow { transform: translateX(4px); }

/* Мягкий pulse-glow, 5s */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .4),
      inset 0 -2px 0 rgba(0, 0, 0, .12),
      0 0 20px rgba(197, 246, 58, .25);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .4),
      inset 0 -2px 0 rgba(0, 0, 0, .12),
      0 0 40px rgba(197, 246, 58, .25);
  }
}
.btn-cta--pulse { animation: ctaPulse 5s ease-in-out infinite; }

/* ---- Карусель провайдеров ---- */
.providers {
  margin-top: 44px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.providers__track {
  display: flex;
  width: max-content;
  animation: providers-scroll 70s linear infinite;
}
.providers:hover .providers__track { animation-play-state: paused; }

.providers__set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.providers__set img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity .2s ease;
}
.providers__set img:hover { opacity: .9; }

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

@media (prefers-reduced-motion: reduce) {
  .providers__track { animation: none; width: auto; flex-wrap: wrap; }
  .providers__set[aria-hidden] { display: none; }
  .providers__set { flex-wrap: wrap; justify-content: center; row-gap: 16px; padding-right: 0; }
}

/* ---- Появление при скролле ---- */
.js .anim { opacity: 0; }
.anim.in-view {
  opacity: 1;
  animation: rise .5s ease-out backwards;
}
.adv-strip.anim.in-view { animation-name: fadeIn; }
.steps .step:nth-child(2).in-view { animation-delay: .08s; }
.steps .step:nth-child(3).in-view { animation-delay: .16s; }
.steps .step:nth-child(4).in-view { animation-delay: .24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .js .anim { opacity: 1; }
  .anim.in-view { animation: none; }
  .btn-cta--pulse { animation: none; }
  .step, .step:hover { transform: none; transition: none; }
}

/* ============ Trust Block ============ */
.section--trust { margin-top: 56px; }

/* Тихая строка доверия: без коробок и пилюль */
.trust-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-soft);
  padding: 26px 0 0;
}

.trust__badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.trust-badge--age {
  color: #ff8a8a;
  border: 1px solid rgba(255, 110, 110, .35);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

/* Платёжки — монохром без подложек */
.trust__payments {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #767b87;
  transition: color .15s ease;
}
.pay:hover { color: #b9bdc7; }

.pay__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
}

.pay--more {
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 500;
}

/* ============ Footer ============ */
.footer {
  margin-top: 56px;
  border-top: 1px solid var(--border-soft);
  background: #0b0c10;
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 12.5px;
  color: var(--text-dim);
}


/* ============ Responsive ============ */
@media (max-width: 767px) {
  .offer { margin-top: 40px; }

  /* Преимущества: аккуратная сетка 2×2 */
  .adv-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
    justify-items: start;
    align-items: start;
  }
  .adv-sep { display: none; }
  .adv-item {
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.35;
  }
  .adv-item__icon {
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }

  .offer-head { margin-top: 36px; }
  .offer-title { font-size: 26px; }
  .offer-sub { font-size: 15px; }

  /* Шаги: горизонтальный скролл со snap, от края до края */
  .steps-wrap { margin-top: 20px; }
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -20px;
    padding: 0 20px 4px;
    scroll-padding-left: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  /* 76vw + отступы: справа всегда выглядывает начало следующей карточки */
  .step {
    flex: 0 0 76vw;
    scroll-snap-align: start;
    padding: 20px 18px 18px;
  }
  /* в карусели карточки видны сразу: IO-анимация появления прятала бы
     выглядывающий край соседней карточки (порог 30% не достигается) */
  .js .steps .step.anim {
    opacity: 1;
    animation: none;
  }
  .step__ghost { font-size: 38px; }
  .step__pct { font-size: 40px; }
  .steps-dots { display: flex; }

  /* Финальная панель в столбик */
  .final {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
    margin-top: 16px;
  }
  .final__action { min-width: 0; width: 100%; }
  .final__total b { font-size: 30px; }
  .final__terms { flex-wrap: wrap; row-gap: 12px; }
  .final__term + .final__term { margin-left: 20px; padding-left: 20px; }

  /* Провайдеры: плотнее и мельче */
  .providers { margin-top: 32px; }
  .providers__set { gap: 30px; padding-right: 30px; }
  .providers__set img { height: 17px; }
  .providers__track { animation-duration: 45s; }

  /* Trust компактнее */
  .section--trust { margin-top: 36px; }
  .trust-card { gap: 16px; padding-top: 22px; }
  .trust__payments { gap: 10px 16px; }

}

@media (max-width: 720px) {
  .hero { padding-top: 14px; }
  .banner { padding: 28px 22px 26px; min-height: 0; border-radius: 20px; }
  .banner__content { max-width: 100%; }

  /* Декор: подарок целиком внутри баннера, звезда и алмаз для глубины */
  .art--gift { width: 100px; right: 12px; top: 16px; }
  .art--coin2 { font-size: 18px; right: 112px; top: 14px; }
  .art--dia { font-size: 18px; right: 20px; bottom: auto; top: 122px; }
  .art--spark { display: none; }

  .chip { padding: 6px 13px; font-size: 10.5px; letter-spacing: 2px; margin-bottom: 14px; }
  .banner__title { font-size: 26px; padding-right: 76px; }
  .banner__text { font-size: 15px; margin-bottom: 22px; }

  /* CTA на всю ширину: текст слева, лаймовый круг у правого края */
  .banner__cta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .header__actions { gap: 8px; }
  .btn { padding: 0 16px; font-size: 13px; height: 40px; }
  .lang__btn { padding: 0 12px; height: 40px; }

  .banner__title { font-size: 26px; }
  .banner__text { font-size: 15px; }

  .btn-cta { width: 100%; }

  .trust-card { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
