/* ════════════════════════════════════════════════
   ХАСЛ VPN — style.css
   ════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --gold:       #FFD700;
  --gold-glow:  rgba(255, 215, 0, .28);
  --black:      #050505;
  --card:       #0E0E0E;
  --card2:      #141414;
  --border:     rgba(255, 215, 0, .14);
  --text:       #EFEFEF;
  --muted:      #888;
  --green:      #22c55e;
  --glass-bg:   rgba(255, 255, 255, .04);
  --glass-bd:   rgba(255, 255, 255, .09);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* diagonal grid bg */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(45deg,  rgba(255,215,0,.022) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255,215,0,.022) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ════════════════════════════════════════════════
   CUSTOM CURSOR
   ════════════════════════════════════════════════ */
#cur {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .22s ease, height .22s ease;
  will-change: left, top;
}
#cur.big { width: 44px; height: 44px; background: rgba(255,215,0,.35); }

/* ════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .85rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
}
nav.scrolled {
  background: rgba(5,5,5,.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
a {
  cursor:none;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,215,0,.4);
  object-fit: cover;
  display: block;
  /* placeholder: показывает золотой квадрат если нет файла */
  background: var(--gold);
}
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 3px;
  line-height: 1;
}
.logo-sub {
  font-size: .48rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.btn-nav {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .9rem;
  letter-spacing: 2px;
  background: var(--gold);
  color: #000;
  padding: .5rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  /* магнет и трансформ в JS */
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   OPERATORS MARQUEE
   ════════════════════════════════════════════════ */
.ops-bar {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  background: rgba(255,215,0,.02);
}
.ops-track {
  display: flex; /* Лучше flex для надежности */
  width: max-content; /* Обязательно, чтобы контейнер растянулся по контенту */
  animation: tickScroll 50s linear infinite; /* Увеличили время, т.к. блоков теперь 4 */
  will-change: transform; /* Подсказка браузеру для аппаратного ускорения */
}
.ops-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 2.5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
}
.ops-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}
@keyframes tickScroll {
  to { transform: translateX(-25%); }
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2.5rem 5rem;
  z-index: 1;
  overflow: hidden;
  gap: 2rem;
  justify-content: center;
}
/* floating money SVGs */
.money-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.mcoin {
  position: absolute;
  opacity: 0;
  animation: coinUp linear infinite;
  will-change: transform;
}
@keyframes coinUp {
  0%   { transform: translateY(110vh) rotate(0deg);   opacity: 0; }
  5%   { opacity: .55; }
  95%  { opacity: .25; }
  100% { transform: translateY(-10vh) rotate(600deg); opacity: 0; }
}

/* gold radial glow */
.hero::after {
  content: '';
  position: absolute;
  left: -200px; top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,215,0,.07), transparent 70%);
  pointer-events: none;
}

.hero-left {
  flex: 1;
  position: relative; z-index: 2;
  max-width: 620px;
}
.hero-right {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; z-index: 2;
}

/* HERO ANIMATIONS */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: var(--green);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: slideD .7s .2s forwards;
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.4s ease infinite;
}
@keyframes blink  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.6)} }
@keyframes slideD { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }
@keyframes slideU { from{opacity:0;transform:translateY(24px)}  to{opacity:1;transform:none} }

.hero-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: 9px;
  color: var(--muted);
  opacity: 0;
  animation: slideU .7s .35s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5.5rem, 14vw, 12rem);
  letter-spacing: 5px;
  line-height: .9;
  color: var(--gold);
  text-shadow: 0 0 80px rgba(255,215,0,.25);
  opacity: 0;
  width: fit-content;
  animation: slideU .7s .45s forwards;
  position: relative;
  overflow: hidden;
}
.hero-title::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  animation: shine 5s 2s ease infinite;
}
@keyframes shine { 0%{left:-100%} 25%,100%{left:120%} }

.hero-slogan {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 5.2px;
  background: linear-gradient(90deg, var(--gold), #fff8, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradS 3s linear infinite, slideU .7s .55s both;
  display: inline-block;
  opacity: 0;
}
@keyframes gradS { to { background-position: 200% center; } }

.hero-desc {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  max-width: 500px;
  margin-top: 1.2rem;
  opacity: 0;
  animation: slideU .7s .65s forwards;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
  animation: slideU .7s .75s forwards;
}
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0;
  animation: slideU .7s .9s forwards;
}
.hstat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.hstat-label {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── BUTTONS ── */
.btn-gold {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  background: var(--gold);
  color: #000;
  padding: .85rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: box-shadow .25s;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .45s;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { box-shadow: 0 10px 36px rgba(255,215,0,.4); }

.btn-outline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  background: transparent;
  color: var(--text);
  padding: .85rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  transition: border-color .2s, background .2s;
  cursor: none;
  will-change: transform;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(255,215,0,.05); }

/* ── MASCOT ── */
.mascot-wrap {
  position: relative;
  width: 380px; height: 380px;
}
.m-ring {
  position: absolute; inset: -20px;
  border-radius: 50%;
  border: 2px dashed rgba(255,215,0,.2);
  animation: spin 20s linear infinite;
}
.m-ring2 {
  position: absolute; inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(255,215,0,.08);
  animation: spin 30s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.m-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,.14), transparent 70%);
  animation: gp 3s ease infinite;
}
@keyframes gp { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

.mascot-ph {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--card2);
  border: 2px dashed rgba(255,215,0,.25);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  position: relative; z-index: 2;
}
/* Замени на <img src="mascot-hero.png" class="mascot-img"> 760×760px PNG */
.mascot-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative; z-index: 2;
  border: 3px solid rgba(255,215,0,.3);
  box-shadow: 0 0 60px rgba(255,215,0,.2);
}

.mbadge {
  position: absolute;
  background: var(--gold);
  color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: .9rem;
  letter-spacing: 1.5px;
  padding: .4rem .9rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,215,0,.35);
  z-index: 3;
}
.mb1 { bottom: 30px; left: -40px; animation: floatB 3s ease infinite; }
.mb2 { top: 40px; right: -30px; animation: floatB 3s 1.2s ease infinite; }
@keyframes floatB {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-8px) rotate(-3deg); }
}
.ph-text {
  font-size: .58rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-align: center;
}

/* ════════════════════════════════════════════════
   SECTION COMMONS
   ════════════════════════════════════════════════ */
section {
  position: relative; z-index: 1;
  padding: 7rem 2.5rem;
}
.container { max-width: 1100px; margin: 0 auto; }

.sec-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 3px;
  line-height: .95;
  color: #fff;
}
.sec-desc {
  color: var(--muted);
  font-size: .95rem;
  max-width: 440px;
  margin-top: .8rem;
  line-height: 1.8;
}

/* SCROLL REVEAL */
.rv   { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.rv-r { opacity: 0; transform: translateX(30px);  transition: opacity .7s ease, transform .7s ease; }
.rv.in, .rv-r.in { opacity: 1; transform: none; }
/* platform-card: downloads всегда внизу после reveal */
.platform-card.rv.in { display: flex; flex-direction: column; justify-content: space-between; }

/* ════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════ */
.features-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  cursor: none;
  /* плавный тилт через JS - transition только для shadow/border */
  transition: box-shadow .4s ease, border-color .3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feat:hover { border-color: rgba(255,215,0,.3); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.feat:hover::before { opacity: 1; }

.feat-icon {
  width: 44px; height: 44px;
  background: rgba(255,215,0,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feat-name { font-weight: 800; font-size: .95rem; color: #fff; margin-bottom: .4rem; }
.feat-text { color: var(--muted); font-size: .82rem; line-height: 1.7; }

.feat-mascot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-mascot-ph {
  width: 300px; height: 300px;
  background: var(--card2);
  border-radius: 24px;
  border: 2px dashed rgba(255,215,0,.25);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  /* Замени на <img src="mascot-feature.png" style="width:300px;border-radius:24px"> 600×600px PNG */
}
.ft-badge {
  position: absolute;
  background: var(--card2);
  border: 1px solid;
  border-radius: 10px;
  padding: .5rem .9rem;
  font-size: .72rem;
  font-weight: 700;
  display: flex; align-items: center; gap: .4rem;
}
.ft-badge.a { top: -10px; right: -20px; color: var(--green); border-color: rgba(34,197,94,.3); animation: floatB 3.5s ease infinite; }
.ft-badge.b { bottom: 20px; left: -20px; color: var(--gold); border-color: rgba(255,215,0,.3); animation: floatB 3s 1s ease infinite; }

/* ════════════════════════════════════════════════
   HOW TO — GLASSMORPHISM
   ════════════════════════════════════════════════ */
.how-sec {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.step {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-bd);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s;
}
.step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.step:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,215,0,.25);
  box-shadow: 0 8px 32px rgba(255,215,0,.07), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translateY(-4px);
}
.step:hover::before { transform: translateX(0); }

/* inner glow effect */
.step::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,215,0,.06), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.step:hover::after { opacity: 1; }

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  color: rgba(255,215,0,.12);
  line-height: 1;
  margin-bottom: .8rem;
}
.step-title { font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: .5rem; }
.step-text  { color: var(--muted); font-size: .82rem; line-height: 1.7; }

/* ════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.pcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem 1.6rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  cursor: none;
  /* transition-delay убран — иначе прыжок запаздывает */
  transition: transform .32s cubic-bezier(.34,1.56,.64,1),
              box-shadow .32s ease,
              border-color .22s ease;
}
.pcard:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
}
.pcard.hot {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(255,215,0,.08), var(--card) 60%);
}
.pcard.hot:hover {
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 40px rgba(255,215,0,.12);
}

.hot-rib {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: .65rem; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  padding: .25rem 1.1rem;
  border-radius: 0 0 10px 10px;
}

.pcard-period {
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
}
.pcard-price {
  display: flex; align-items: flex-start;
  gap: .2rem; line-height: 1;
}
.pcard-rub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  padding-top: .4rem;
}
.pcard-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.8rem;
  color: #fff;
}
.pcard-stars {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem;
  color: var(--muted);
}
.pcard-skidka {
  margin-top: 15px;
}
.stars-icon {
  font-size: .9rem;
}
.pcard-save {
  display: inline-block;
  background: rgba(34,197,94,.15);
  color: var(--green);
  font-size: .65rem; font-weight: 800;
  padding: .2rem .55rem;
  border-radius: 5px;
  margin: .4rem 0;
}
.pcard-old { font-size: .78rem; color: #444; text-decoration: line-through; }

.pcard-feats {
  list-style: none;
  margin: 1.4rem 0;
  flex: 1;
  display: flex; flex-direction: column;
  gap: .55rem;
}
.pcard-feats li {
  display: flex; align-items: flex-start;
  gap: .55rem;
  font-size: .82rem;
  color: var(--muted);
}
.chk { flex-shrink: 0; color: var(--green); margin-top: 1px; }

.pcard-btn {
  display: block; text-align: center;
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: .95rem; letter-spacing: 2px;
  padding: .85rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background .22s, border-color .22s, color .22s;
  cursor: none;
}
.pcard-btn:hover,
.pcard.hot .pcard-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* pricing mascot row */
.price-mascot-row {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2.5rem;
  gap: 2rem;
}
.pm-ph {
  width: 130px; height: 130px;
  background: var(--card2);
  border: 2px dashed rgba(255,215,0,.25);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  animation: floatB 4s ease infinite;
  flex-shrink: 0;
  /* Замени на <img src="mascot-price.png"> 320×320px PNG */
}
.pm-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 3px;
  color: #fdf6e3;
  max-width: 360px;
  line-height: 1.2;
}

/* ════════════════════════════════════════════════
   TG CTA
   ════════════════════════════════════════════════ */
.tg-sec {
  background: linear-gradient(135deg, rgba(255,215,0,.06), transparent);
  border-top: 1px solid var(--border);
  text-align: center;
}
.tg-sec .sec-title { color: var(--gold); }
.tg-sec .rv {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-tg {
  display: inline-flex; align-items: center; gap: .8rem;
  background: #2AABEE;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 2px;
  padding: 1rem 2.4rem;
  border-radius: 14px;
  text-decoration: none;
  margin-top: 2.2rem;
  width: fit-content;
  max-width: 420px;
  align-self: center;
  will-change: transform;
  transition: box-shadow .25s;
  cursor: none;
}
.btn-tg:hover { box-shadow: 0 12px 36px rgba(42,171,238,.35); }

.pay-tags {
  display: flex; gap: .7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.pay-tag {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .4rem .9rem;
  font-size: .72rem; font-weight: 700;
  color: var(--muted);
  display: flex; align-items: center; gap: .4rem;
}

/* ════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════ */
.faq-sec {
  background: var(--card);
  border-top: 1px solid var(--border);
}
.faq-list {
  margin-top: 3rem;
  display: flex; flex-direction: column;
  gap: 1rem;
  max-width: 900px;
}
.faq-item {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: rgba(255,215,0,.35); }

.faq-q {
  width: 100%;
  background: none; border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem; font-weight: 700;
  text-align: left;
  padding: 1.2rem 1.5rem;
  cursor: none;
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  line-height: 1.4;
}
.faq-chev {
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: rgba(255,215,0,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .2s;
}
.faq-item.open .faq-chev {
  transform: rotate(180deg);
  background: rgba(255,215,0,.22);
}

/* accordion body — через JS выставляем конкретную height */
.faq-a {
  height: 0;
  overflow: hidden;
  transition: height .36s cubic-bezier(.4,0,.2,1);
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.85;
}
.faq-a-inner {
  padding: 0 1.5rem 1.5rem;
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; color: var(--gold);
  letter-spacing: 3px;
}
.footer-sub { font-size: .65rem; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .78rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  color: #333; font-size: .72rem;
  text-align: center; margin-top: 2rem;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}

/* ════════════════════════════════════════════════
   FOCUS STYLES
   ════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(255,215,0,.15);
}
:focus:not(:focus-visible) { outline: none; }

/* ─── Guide-only styles ─── */
.guide-hero {
  padding: 8rem 2.5rem 4rem;
  position: relative; z-index: 1;
  text-align: center;
}
.guide-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 4px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.guide-hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Platforms grid */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  justify-items: center;
}
.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  /* flex column с space-between — downloads всегда внизу */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .25s, transform .25s;
}
.platform-card:hover {
  border-color: rgba(255,215,0,.3);
  transform: translateY(-4px);
}
/* основной контент карточки — растягивается */
.platform-body {
  flex: 1;
}
/* блок с кнопками скачивания — всегда снизу */
.platform-downloads {
  margin-top: 0;
}
.platform-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.platform-icon {
  width: 48px; height: 48px;
  background: rgba(255,215,0,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.platform-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
}
.platform-sub {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 2px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.step-li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.step-li-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.2;
  min-width: 1.4rem;
  flex-shrink: 0;
}
.step-li-text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}
.step-li-text strong { color: var(--text); }
.step-li-text code {
  background: rgba(255,215,0,.08);
  border: 1px solid rgba(255,215,0,.15);
  border-radius: 4px;
  padding: .15em .45em;
  font-size: .82em;
  color: var(--gold);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

/* App links */
.app-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.5rem;
}
.app-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .65rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-size: .85rem;
  font-weight: 700;
  transition: border-color .2s, background .2s, color .2s;
}
.app-link:hover {
  border-color: var(--gold);
  background: rgba(255,215,0,.06);
  color: var(--gold);
}
.app-link svg { flex-shrink: 0; color: var(--gold); }

/* notice block */
.notice {
  background: rgba(255,215,0,.05);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.75;
  margin-top: 3rem;
}
.notice strong { color: var(--gold); }

/* Key block */
.key-block {
  background: var(--card2);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 10px;
  padding: .8rem 1.2rem;
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  color: var(--gold);
  word-break: break-all;
  margin-top: .5rem;
  line-height: 1.6;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--gold); }

/* toc */
.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.toc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.toc-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.toc-list a:hover { color: var(--gold); }
.toc-list a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .guide-hero { padding: 6rem 1.2rem 2.5rem; }
  section { padding: 3rem 1.2rem; }
}
/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

/* ── 1050px: Hero складывается в колонку ── */
@media (max-width: 1050px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: unset;
    padding-bottom: 3.5rem;
    gap: 6rem;
    align-items: flex-start;
    margin: 0 auto;
  }

  .hero-left  { order: 1; max-width: 640px; width: 100%; margin: 0 auto; }
  .hero-right { order: 2; flex: none; align-self: center; }
  .hero-btns, .hero-stats { justify-content: center; }
  .hero-desc  { margin-left: auto; margin-right: auto; }

  .mascot-wrap { width: 300px; height: 300px; }
  .mb1, .mb2   { display: none; }

  .features-wrap { grid-template-columns: 1fr; }
  .feat-mascot   { display: none; }
  .pricing-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .steps        { grid-template-columns: 1fr 1fr; }
  .mascot-wrap  { width: 260px; height: 260px; }
}

/* ── 780px: хэдэр компактнее ── */
@media (max-width: 780px) {
  nav { padding: .75rem 1.4rem; }
  .logo-text   { font-size: 1.05rem; letter-spacing: 2px; }
  .logo-sub    { display: none; }
  .logo-avatar { width: 30px; height: 30px; border-radius: 6px; }
  .nav-links   { gap: 1.4rem; }
  .nav-links a { font-size: .68rem; }
}

/* ── 640px: мобила ── */
@media (max-width: 640px) {
  body { cursor: auto; }
  #cur { display: none; }

  nav { padding: .7rem 1.2rem; }
  .logo-text { font-size: .95rem; letter-spacing: 1.5px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(5,5,5,.97);
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a { font-size: 1.3rem; }
  .burger { display: flex; }

  section { padding: 4.5rem 1.2rem; }
  .steps  { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .mascot-wrap    { width: 220px; height: 220px; }
  .hero-stats     { gap: 1.5rem; }
}

/* ── 400px: совсем маленькие экраны ── */
@media (max-width: 400px) {
  .sec-title {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
    letter-spacing: 2px;
  }
  .hero-title {
    font-size: clamp(4.5rem, 20vw, 6rem);
  }
  .hero-slogan {
    font-size: clamp(1rem, 6vw, 1.4rem);
    letter-spacing: 3px;
  }
  .hero-stats { gap: 1rem; }
  .hstat-num  { font-size: 1.9rem; }
}