/* Шаблон 17 по образцу my33.win. Цвета только через переменные схемы (schemes/*.css); полупрозрачные рамки,
   отливы и свечения считаются через color-mix. Вёрстка от телефона (360 px), шире — min-width 640, 900 и 1200. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(880px, 100% - 32px); }
.ic { width: 20px; height: 20px; flex: none; }

/* Стеклянная карточка образца: отлив акцента поверх фона блоков, тонкая рамка. */
.card, .tier, .fact, .tile, .link-card, .faq__item, .table-wrap, .media__frame, .toc__link {
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
}

/* Шапка: логотип слева, меню в строку от 1200 px, Register, Login, Telegram и бургер справа. */
.nav__check { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--bar), var(--bar-2)); color: var(--on-bar); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.bar { min-height: 68px; display: flex; align-items: center; gap: 14px; }
.header__logo { display: flex; align-items: center; min-width: 0; margin-right: auto; color: var(--on-bar); text-decoration: none; font-weight: 800; font-size: 22px; }
.header__logo-img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.header__end { display: flex; align-items: center; gap: 10px; }
.header__buttons { display: none; gap: 8px; }
.header__contact { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--telegram); color: var(--on-telegram); }
.tg-icon { width: 20px; height: 20px; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--on-bar); cursor: pointer; }
.nav__toggle .ic { width: 24px; height: 24px; }
.nav__close { display: none; }
.nav__check:checked ~ .header .nav__open { display: none; }
.nav__check:checked ~ .header .nav__close { display: block; }
.nav__check:focus-visible ~ .header .nav__toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px 16px; background: var(--bar); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); max-height: calc(100vh - 70px); overflow-y: auto; }
.nav__check:checked ~ .header .nav { display: grid; gap: 4px; }
.nav__link { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; color: var(--on-bar); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav__link:hover { background: color-mix(in srgb, var(--on-bar) 8%, transparent); }
.nav__link.is-active { color: var(--link); background: color-mix(in srgb, var(--accent) 14%, transparent); }
@media (min-width: 640px) { .header__buttons { display: flex; } }
@media (min-width: 1200px) {
  .header__logo { margin-right: 0; }
  .nav, .nav__check:checked ~ .header .nav { position: static; display: flex; flex: 1; justify-content: flex-end; gap: 0; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .nav__link { min-height: 40px; padding: 0 10px; font-size: 14px; }
  .nav__toggle { display: none; }
}

/* Кнопки: главная — градиент, свечение по контуру и бегущий блик; контурная — Login. */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.2; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--go { background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); animation: glow 2.6s ease-in-out infinite; }
.btn--go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--shine) 55%, transparent), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
.btn--line { background: transparent; color: var(--text); border: 2px solid var(--accent); }
.btn--line:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.header .btn--line { color: var(--on-bar); }
.btn__icon { width: 18px; height: 18px; }
@keyframes glow {
  0%, 100% { box-shadow: 0 6px 18px color-mix(in srgb, var(--go) 25%, transparent); }
  50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 30%, transparent), 0 8px 30px color-mix(in srgb, var(--go-2) 55%, transparent); }
}
@keyframes shine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }

/* Первый экран: свечение акцента в углу; от 900 px текст слева, картинка или плитки цифр справа. */
.hero { padding: 28px 0 40px; background: radial-gradient(ellipse 70% 80% at 85% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, var(--bg)), var(--bg)); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__body { min-width: 0; }
.hero__frame { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: 0 24px 60px color-mix(in srgb, var(--shade) 35%, transparent), 0 0 40px color-mix(in srgb, var(--accent) 14%, transparent); }
.hero__img { width: 100%; height: auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs a { color: var(--link); text-decoration: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--link); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.badge__icon { width: 14px; height: 14px; }
.hero__title { margin: 0 0 16px; font-size: 32px; line-height: 1.2; font-weight: 800; }
.hero__lead { margin: 0 0 12px; color: color-mix(in srgb, var(--text) 82%, var(--muted)); font-size: 17px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .hero__title { font-size: 40px; } }
@media (min-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
  .hero__grid--plain { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
  .hero__title { font-size: 48px; }
}

/* Плитки цифр: значение крупно цветом акцента, подпись под ним; два на два. */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 104px; padding: 18px; border-radius: 16px; text-align: center; }
.fact__title { font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--link); }
.fact__text { font-size: 14px; color: var(--muted); line-height: 1.35; }
.facts--hero .fact { min-height: 128px; box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 10%, transparent); }
.facts--hero .fact__title { font-size: 26px; }
.media .facts { margin-top: 14px; }
@media (min-width: 900px) { .facts--strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Оглавление: пилюли с номерами строкой с прокруткой вбок. */
.toc { padding: 14px 0; border-block: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.toc__list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: thin; }
.toc__link { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 6px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.toc__link:hover { border-color: var(--accent); }
.toc__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); font-size: 12px; font-weight: 800; }

/* Разделы — полосы через одну с отливом; над h2 пилюля-подпись, под h2 черта акцента. */
.sec { padding: 48px 0; }
.sec--alt { background: color-mix(in srgb, var(--surface) 55%, var(--bg)); border-block: 1px solid color-mix(in srgb, var(--accent) 10%, transparent); }
.sec__head { text-align: center; margin: 0 auto 28px; max-width: 820px; }
.sec__body { max-width: 980px; margin: 0 auto; }
.kicker { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--link); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sec__title { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 800; }
.rule { display: block; width: 64px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--go), var(--go-2)); }
.rule--left { margin: 16px 0 20px; }
.sec__sub { margin: 22px 0 8px; font-size: 19px; line-height: 1.3; }
.sec p { margin: 0 0 14px; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.split { display: grid; gap: 28px; align-items: start; }
.split__text { min-width: 0; }
.media { min-width: 0; }
.media__frame { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px color-mix(in srgb, var(--shade) 30%, transparent); }
.media__img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .sec { padding: 72px 0; }
  .sec__title { font-size: 34px; }
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .split--flip .media { order: -1; }
  .split .media { position: sticky; top: 96px; }
}

/* Финальный призыв: текст по центру и две большие кнопки. */
.cta { text-align: center; background: radial-gradient(ellipse 60% 90% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.cta .buttons { justify-content: center; }

/* Списки: галочки акцента; короткие пункты — плитки с иконкой (как плитки платёжек образца). */
.list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list__icon { width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); }
.tiles { list-style: none; margin: 6px 0 18px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.35; }
.tile__icon { color: var(--link); }

/* Шаги: номера в кружках с градиентом столбиком, под ними главная кнопка. */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); font-weight: 800; box-shadow: 0 0 18px color-mix(in srgb, var(--go) 30%, transparent); }
.sec .step__text { margin: 7px 0 0; }

/* Карточки h3: сетка с иконкой в квадрате; три карточки — колонки, средняя выделена. */
.cards { display: grid; gap: 16px; margin: 8px 0 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 24px 20px; border-radius: 16px; transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--link); }
.card__title { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.sec .card__text { margin: 0; font-size: 15px; }
.tiers { display: grid; gap: 18px; margin: 8px 0 18px; }
.tier { position: relative; padding: 28px 22px; border-radius: 18px; text-align: center; }
.tier--top { border: 2px solid var(--accent); box-shadow: 0 0 36px color-mix(in srgb, var(--accent) 22%, transparent); }
.tier__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tier__num { display: block; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; }
.tier__title { margin: 8px 0 10px; font-size: 22px; line-height: 1.25; }
.tier--top .tier__title { color: var(--link); }
.sec .tier__text { margin: 0; font-size: 15px; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .tier--top { transform: translateY(-8px); }
}

/* Таблицы: шапка отливом акцента, строки через одну; на телефоне прокрутка внутри блока. «Ключ —
   значение» (две колонки): ключ приглушён, значение жирным. */
.table-wrap { margin: 8px 0 18px; border-radius: 16px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; }
.table thead { background: color-mix(in srgb, var(--accent) 20%, var(--surface)); }
.table th { color: var(--link); font-size: 14px; white-space: nowrap; }
.table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--text) 4%, transparent); }
.table tbody tr + tr { border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.table td:first-child { font-weight: 700; }
.table:not(.table--kv) { min-width: 560px; }
.table--kv td:first-child { color: var(--muted); font-weight: 400; width: 45%; }
.table--kv td:last-child { font-weight: 700; }

/* Картинка в тексте. */
.picture { display: block; margin: 8px 0 18px; border-radius: 16px; overflow: hidden; }

/* «Другие страницы»: плитки страниц с иконкой, названием и описанием. */
.sec .links { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.link-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; border-radius: 16px; color: var(--text); text-decoration: none; transition: transform 0.2s; }
.link-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.link-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); }
.link-card__title { font-size: 17px; }
.link-card__text { color: var(--muted); font-size: 14px; line-height: 1.45; }
.link-card__arrow { position: absolute; top: 22px; right: 18px; color: var(--link); }

/* FAQ гармошкой, первый открыт. */
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 14px; }
.faq__item summary { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: 1; }
.faq__chevron { color: var(--link); transition: transform 0.2s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 18px 4px; }
.sec .faq__answer p { margin: 0 0 14px; }

/* Футер: колонка бренда и четыре колонки; снизу запас под закреплённые кнопки на телефоне. */
.footer { padding: 48px 0 110px; background: linear-gradient(90deg, var(--bar), var(--bar-2)); color: var(--on-bar); border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; }
.footer__logo { display: inline-block; color: var(--on-bar); font-weight: 800; font-size: 22px; text-decoration: none; }
.footer__logo-img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.footer__text { margin: 10px 0 0; font-size: 14px; color: color-mix(in srgb, var(--on-bar) 78%, var(--bar)); }
.footer__title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer__links a { color: color-mix(in srgb, var(--on-bar) 85%, var(--bar)); text-decoration: none; }
.footer__links a:hover { color: var(--on-bar); text-decoration: underline; }
.footer__tg { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--on-bar); font-size: 14px; }
.footer__tg .tg-icon { color: var(--telegram); }
.age { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 14px 14px 0 0; border-radius: 50%; border: 2px solid var(--accent); font-size: 13px; font-weight: 800; vertical-align: middle; }
.pays { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay { padding: 4px 10px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--on-bar) 25%, transparent); background: color-mix(in srgb, var(--on-bar) 6%, transparent); font-size: 12px; font-weight: 700; }
.footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-bar) 15%, transparent); }
.footer__copy { margin: 0; font-size: 13px; }
@media (min-width: 900px) {
  .footer { padding-bottom: 48px; }
  .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}

/* Уже 900 px внизу закреплены Register и Login, всегда видны. */
.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bar) 94%, transparent); border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.bottom .btn { min-height: 46px; padding: 0 10px; }
.bottom .btn--line { color: var(--on-bar); }
@media (min-width: 900px) { .bottom { display: none; } }

/* Кнопка «наверх»: круглая, над закреплёнными кнопками. */
.to-top { position: fixed; right: 16px; bottom: 84px; z-index: 30; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); box-shadow: 0 6px 18px color-mix(in srgb, var(--shade) 35%, transparent); }
@media (min-width: 900px) { .to-top { bottom: 24px; } }

/* Кому движение мешает — без свечения, блика и подъёма карточек. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--go { animation: none; }
  .btn--go::after { display: none; }
  .card, .link-card, .faq__chevron { transition: none; }
}
