/* AFG Boost — сайт. Стиль как в программе: Minimal Dark + светлая тема. */
:root, [data-theme="dark"] {
  --bg: #15161a; --bg2: #121317; --top: rgba(13,14,17,.82); --card: #1b1c21; --card2: #222329; --hover: #24252c;
  --line: rgba(255,255,255,.07); --line2: rgba(255,255,255,.12);
  --text: #ececef; --muted: #9b9ea8; --dim: #6c6f79;
  --accent: #7b6cf6; --accent2: #6a5ae6; --accent-soft: rgba(123,108,246,.14); --link: #9d91ff;
  --green: #3fb97f; --yellow: #e5b54a; --red: #ef5a5a;
  --ov1: rgba(255,255,255,.03); --ov2: rgba(255,255,255,.06);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px -16px rgba(0,0,0,.7);
  --shot-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f2f3f6; --bg2: #e9ebf0; --top: rgba(255,255,255,.85); --card: #ffffff; --card2: #f3f4f7; --hover: #eceef2;
  --line: rgba(15,20,35,.09); --line2: rgba(15,20,35,.16);
  --text: #15171d; --muted: #5d6270; --dim: #8d919c;
  --accent: #5b4de0; --accent2: #4a3dcc; --accent-soft: rgba(91,77,224,.10); --link: #5b4de0;
  --green: #1f9d63; --yellow: #c48a12; --red: #d64545;
  --ov1: rgba(15,20,35,.025); --ov2: rgba(15,20,35,.05);
  --shadow: 0 1px 2px rgba(15,20,35,.06), 0 8px 24px -14px rgba(15,20,35,.2);
  --shot-shadow: 0 30px 60px -30px rgba(15,20,35,.35);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 "Inter", "Segoe UI", system-ui, sans-serif; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; transition: background .2s, color .2s; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 9px; border: 1px solid transparent;
  background: var(--accent); color: #fff; font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--accent2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: var(--ov1); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--hover); border-color: var(--line2); }
.btn.big { padding: 14px 26px; font-size: 16.5px; border-radius: 11px; }
.btn.discord { background: #5865f2; } .btn.discord:hover { background: #4752c4; }
.btn.full { width: 100%; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* шапка — как верхнее меню программы */
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: var(--top); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; padding-right: 18px; margin-right: 8px;
  border-right: 1px solid var(--line); height: 34px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { white-space: nowrap; }
.links { display: flex; gap: 6px; }
.links a { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--ov1);
  color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; transition: background .15s, color .15s, border-color .15s; }
.links a:hover { color: var(--text); background: var(--hover); border-color: var(--line2); }
.links a.on { color: var(--text); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.nav .acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.theme-btn { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--ov1);
  color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.theme-btn:hover { background: var(--hover); color: var(--text); }
.theme-btn svg { width: 18px; height: 18px; }
.lang-btn { font: 700 12px/1 inherit; letter-spacing: .04em; }

/* главная */
.hero { position: relative; overflow: hidden; padding: 84px 0 64px; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); }
.hero .logo { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 24px; box-shadow: 0 18px 44px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.035em; font-weight: 850; }
.hero h1 .g { background: linear-gradient(90deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--muted); font-size: 19px; max-width: 640px; margin: 18px auto 32px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 14px; color: var(--dim); font-size: 13px; }
.shot { margin: 56px auto 0; max-width: 1080px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shot-shadow); }

section { padding: 64px 0; }
.kicker { display: block; text-align: center; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
h2.t { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.025em; font-weight: 800; text-align: center; }
p.lead { color: var(--muted); text-align: center; max-width: 620px; margin: 10px auto 38px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, background .2s; position: relative; overflow: hidden; }
.feat::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c, var(--accent)) 12%, transparent), transparent 50%); }
.feat > * { position: relative; }
.feat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, transparent); }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--c, var(--accent)) 15%, transparent) !important; color: var(--c, var(--accent)); }
.feat .ic svg { width: 21px; height: 21px; }
.feat b { display: block; font-size: 16.5px; margin-bottom: 6px; } .feat p { color: var(--muted); font-size: 14.5px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery figure { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.gallery figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; transition: border-color .15s; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 500; } .faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.band { position: relative; overflow: hidden; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 46px 24px; box-shadow: var(--shadow); }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.band > * { position: relative; }
.band h2 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 8px; } .band p { color: var(--muted); margin-bottom: 22px; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.pro { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: radial-gradient(100% 70% at 100% 0%, var(--accent-soft), transparent 60%), var(--card); }
.plan.ultra { border: 1px solid rgba(168,85,247,.55); background: radial-gradient(100% 70% at 100% 0%, rgba(168,85,247,.16), transparent 60%), var(--card); }
.plan.ultra .tag { background: linear-gradient(90deg, #a855f7, #ec4899); }
.plan.ultra .tier.hot { border-color: rgba(168,85,247,.55); background: rgba(168,85,247,.12); }
.plan .tag { position: absolute; top: -11px; right: 24px; background: var(--accent); color: #fff; font-weight: 750; font-size: 11.5px; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.plan h3 { font-size: 21px; } .plan .price { font-size: 40px; font-weight: 850; margin: 10px 0 2px; letter-spacing: -.03em; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; } .plan .desc { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; padding-top: 18px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; font-size: 15px; } .plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--green); }
.plan li.no { color: var(--dim); } .plan li.no svg { color: var(--dim); }
.plan .note { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }

/* формы и кабинет */
.box { max-width: 420px; margin: 70px auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.box h1 { font-size: 25px; letter-spacing: -.02em; margin-bottom: 6px; } .box p.muted { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.tabs2 { display: flex; background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin-bottom: 18px; }
.tabs2 button { flex: 1; padding: 8px; border: 0; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.tabs2 button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } .field label { font-size: 13px; color: var(--muted); }
.field input, .row input { background: var(--card2); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; color: var(--text); font: inherit; transition: border-color .15s; }
.field input:focus, .row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.linkbtn { background: none; border: 0; color: var(--link); font: inherit; font-size: 14px; cursor: pointer; margin-top: 12px; }
.acc { max-width: 760px; margin: 50px auto; display: flex; flex-direction: column; gap: 14px; }
.acc .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.acc .me { display: flex; align-items: center; gap: 16px; } .acc .me img, .acc .me .ava { width: 60px; height: 60px; border-radius: 50%; background: var(--card2); object-fit: cover; display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.acc .me b { font-size: 20px; display: block; } .acc .me span { color: var(--muted); font-size: 14px; } .acc .me .btn { margin-left: auto; }
.planrow { display: flex; align-items: center; gap: 14px; } .badge { font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 7px; background: var(--ov2); border: 1px solid var(--line); }
.badge.pro { background: var(--accent); color: #fff; border-color: transparent; }
.badge.ultra { background: linear-gradient(90deg, #a855f7, #ec4899); }
.promo { display: flex; align-items: center; gap: 14px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); border-radius: 10px; padding: 14px 18px; margin: 14px 0 10px; }
.promo b { font: 800 26px ui-monospace, Consolas, monospace; letter-spacing: .08em; flex: 1; }
.row { display: flex; gap: 10px; } .row input { flex: 1; padding: 10px 12px; text-transform: uppercase; }
.notes { max-width: 780px; margin: 50px auto; } .notes .ver { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
.notes .ver h3 { font-size: 17px; margin-bottom: 8px; } .notes .ver li { color: var(--muted); margin-left: 18px; margin-bottom: 4px; }
.notes .ver:first-of-type { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.doc { max-width: 780px; margin: 50px auto; } .doc h1 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 14px; } .doc h2 { font-size: 20px; margin: 26px 0 8px; } .doc p, .doc li { color: var(--muted); margin-bottom: 8px; } .doc ul { margin-left: 20px; }
.doc a, .box a:not(.btn) { color: var(--link); }

footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg2); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 24px; color: var(--dim); font-size: 14px; }
.foot a:hover { color: var(--text); }
#toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 50; }
.toast { background: var(--card); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 10px; max-width: 360px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.toast.ok { border-left-color: var(--green); } .toast.err { border-left-color: var(--red); }

@media (max-width: 760px) {
  .brand { border-right: 0; } .gallery { grid-template-columns: 1fr; } .hero { padding-top: 56px; }
  .nav .acts .btn { padding: 8px 12px; font-size: 14px; }
  /* на телефоне меню — второй строкой под шапкой, листается вбок, если не влезло */
  .nav { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .links { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { height: 34px; padding: 0 12px; font-size: 14px; flex-shrink: 0; }
  .doc h1 { font-size: 26px; }
  .foot a { display: inline-block; padding: 6px 0; }
}
h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 360px) {  /* маленькие телефоны (iPhone SE и т.п.) — шапка в одну строку */
  .wrap { padding: 0 16px; } .nav .acts { gap: 6px; } .nav .acts .btn { padding: 7px 10px; font-size: 13px; }
  .nav .theme-btn { width: 32px; height: 32px; } .doc h1 { font-size: 22px; } .box { padding: 22px 18px; }
}
@media (max-width: 420px) { .brand span { display: none; } .hero .btn.big, .doc .btn.big { width: 100%; } }
body { min-height: 100vh; display: flex; flex-direction: column; } body > footer { margin-top: auto; }
.grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* кабинет: рефералка, статистика, баннер */
.card-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.promo .muted { flex: none; width: 80px; } .reflink { display: flex; align-items: center; gap: 14px; background: var(--card2); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px 10px 18px; margin-bottom: 10px; }
.reflink .muted { width: 80px; flex: none; } .reflink code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 14px ui-monospace, Consolas, monospace; }
.reflink .btn, .promo .btn { padding: 7px 12px; font-size: 13.5px; }
.stats { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.stats-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.stats .big { font-size: 34px; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; }
.tabs2.mini { margin: 0; } .tabs2.mini button { padding: 6px 12px; font-size: 13.5px; flex: none; }
.chart svg { width: 100%; height: 190px; display: block; margin-bottom: 8px; overflow: visible; }
.chart .b { fill: var(--accent); } .chart .b0 { fill: var(--ov2); } .chart g:hover .b { fill: var(--accent2); }
.chart .v { fill: var(--text); font: 700 12px Inter, sans-serif; text-anchor: middle; } .chart .l { fill: var(--dim); font: 500 11px Inter, sans-serif; text-anchor: middle; }
details.own { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); } details.own summary { cursor: pointer; color: var(--link); font-size: 14.5px; font-weight: 600; }
.bn-tabs { margin: 12px 0 14px !important; flex-wrap: wrap; }
.bn-wrap { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; place-items: center; }
.bn-wrap canvas { max-width: 100%; max-height: 460px; border-radius: 8px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.ref-strip { background: var(--accent-soft); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); text-align: center; padding: 10px 16px; font-size: 14.5px; }
.ref-strip b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .05em; }
@media (max-width: 560px) { .promo, .reflink { flex-wrap: wrap; } .promo .muted, .reflink .muted { width: 100%; } }
.shop { display: flex; gap: 8px; } .shop .btn { flex: 1; }
.steps { max-width: 900px; margin: 30px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 14.5px; color: var(--muted); }
.steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .shop { flex-direction: column; } }
.plan .price { font-size: 38px; } .plan .price > :first-child { font-size: inherit; }
.tiers { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
.tier { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); }
.tier div { flex: 1; } .tier b { display: block; font-size: 15px; } .tier small { color: var(--muted); font-size: 12.5px; }
.tier span { font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.tier.hot { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); }
.tier i { position: absolute; top: -9px; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em;
  background: var(--green); color: #fff; padding: 2px 8px; border-radius: 10px; }

/* меню разработчика */
.acc.adm { max-width: 960px; }
.adm-h { display: flex; align-items: baseline; gap: 12px; } .adm-h h1 { font-size: 26px; letter-spacing: -.02em; }
.adm-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.adm-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.adm-stats span { display: block; color: var(--muted); font-size: 12.5px; } .adm-stats b { font-size: 26px; letter-spacing: -.02em; }
.adm-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.adm-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); width: 120px; } .adm-form label.grow { flex: 1; min-width: 180px; }
.adm-form input, .adm-form select { background: var(--card2); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; color: var(--text); font: inherit; font-size: 14.5px; }
.adm-form input:focus, .adm-form select:focus { outline: none; border-color: var(--accent); }
.adm-out { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.adm-out textarea { background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--text); font: 600 14px ui-monospace, Consolas, monospace; resize: vertical; }
.adm-table { margin-top: 10px; overflow-x: auto; } .adm-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); } .adm-table tr:last-child td { border-bottom: 0; }
.adm-table .linkbtn { margin: 0; } .mono { font-family: ui-monospace, Consolas, monospace; }
@media (max-width: 760px) { .adm-stats { grid-template-columns: 1fr 1fr; } }
.adm-form label[hidden] { display: none; }

/* 3D-наклон картинок за курсором */
.tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ts, 1));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; will-change: transform; position: relative; }
.tilt.on { transition: transform .08s linear, box-shadow .3s; --ts: 1.02; box-shadow: 0 30px 60px -25px rgba(0,0,0,.55), 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.14), transparent 45%); }
.tilt.on::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tilt, .tilt.on { transform: none !important; } }
.tilt:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ts, 1)); }

/* показать пароль */
.pw-wrap { position: relative; } .pw-wrap input { width: 100%; padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none;
  border-radius: 8px; color: var(--dim); display: grid; place-items: center; cursor: pointer; }
.pw-eye:hover, .pw-eye.on { color: var(--text); background: var(--hover); } .pw-eye svg { width: 18px; height: 18px; }
.field .pw-wrap input { box-sizing: border-box; }
/* способы входа */
.ids { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.idrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); }
.idrow .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.idrow .ic svg { width: 18px; height: 18px; } .idrow div { flex: 1; min-width: 0; } .idrow b { display: block; font-size: 15px; }
.idrow small { color: var(--muted); font-size: 13px; } .idrow .ok { color: var(--green); font-weight: 650; font-size: 13.5px; }
.idrow .btn { padding: 7px 12px; font-size: 13.5px; }
.pwset { margin-top: 10px; display: none; } .pwset.on { display: flex; }
.tier .btn.pay { padding: 7px 14px; font-size: 13.5px; margin-left: 4px; }
@media (max-width: 420px) { .tier { flex-wrap: wrap; } .tier .btn.pay { width: 100%; margin: 6px 0 0; } }

/* выбор магазина на странице тарифов */
.store { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: -6px 0 22px; color: var(--muted); font-size: 14px; }
.store .seg { display: inline-flex; background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.store .seg button { border: 0; background: none; color: var(--muted); font: 650 14px/1 Inter, sans-serif; padding: 8px 16px; border-radius: 8px; cursor: pointer; }
.store .seg button.on { background: var(--accent); color: #fff; }
.store small { width: 100%; text-align: center; color: var(--dim); font-size: 12.5px; }

/* заработок с рефералов */
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0; }
.w-stats > div { background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.w-stats b { font-size: 20px; } .w-stats b.big { font-size: 26px; color: var(--green); }
.w-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.w-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.w-box .row { width: 100%; } .w-box select { flex: 1; min-width: 0; background: var(--card2); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; color: var(--text); font: inherit; font-size: 14px; }
.w-hist { margin-top: 14px; } .w-hist summary { cursor: pointer; font-weight: 650; }
.w-list { display: flex; flex-direction: column; margin-top: 8px; font-size: 13.5px; }
.w-list > div { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.w-list > div span:first-child { color: var(--muted); } .w-list .plus b { color: var(--green); } .w-list .rej { opacity: .5; }
.w-check { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border: 1px solid color-mix(in srgb, var(--green) 50%, transparent);
  background: color-mix(in srgb, var(--green) 10%, transparent); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.w-box .linkbtn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.w-box .linkbtn:disabled { opacity: .5; cursor: default; }
.store[hidden] { display: none !important; }

/* страницы установки / игр */
.doc.wide { max-width: 1080px; }
.nodo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 6px; }
.nodo > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.nodo b { display: block; margin-bottom: 6px; } .nodo ul { margin-left: 18px; }
@media (max-width: 700px) { .nodo { grid-template-columns: 1fr; } }
.sha code, .doc code { background: var(--card2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font-size: 13px; word-break: break-all; }
.smart { margin: 8px 0 4px; }
.sm-win { max-width: 520px; background: #0f5ea8; color: #fff; border-radius: 6px; padding: 18px 20px; font-family: "Segoe UI", sans-serif; }
.sm-win b { font-size: 18px; font-weight: 600; } .sm-win p { color: #dbe9f7 !important; font-size: 13px; margin: 8px 0; }
.sm-link { text-decoration: underline; font-size: 13px; outline: 2px dashed #ffd84d; outline-offset: 3px; }
.sm-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.sm-btns span { border: 1px solid #fff; padding: 5px 14px; font-size: 13px; } .sm-run { outline: 2px dashed #ffd84d; outline-offset: 3px; }
.gfilter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 16px 0 6px; }
.gfilter input { flex: 1; min-width: 220px; background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 14px; font: inherit; }
.gfilter .seg { display: inline-flex; background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.gfilter .seg button { border: 0; background: none; color: var(--muted); font: 600 13px/1 Inter, sans-serif; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.gfilter .seg button.on { background: var(--hover); color: var(--text); }
.glist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 10px 0 20px; }
.gi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gi img, .gph { display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; background: var(--card2); }
.gph { display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--muted); }
.gn { padding: 10px 12px; } .gn b { display: block; font-size: 14px; } .gn span { color: var(--muted); font-size: 12px; }
.foot-legal { max-width: 640px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.doc a.btn { color: #fff; }
/* плашка VirusTotal */
.vt-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--ov1); color: var(--text); font-size: 14px; text-decoration: none; }
.vt-badge svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.vt-badge.ok { border-color: rgba(35,165,90,.45); background: rgba(35,165,90,.10); }
.vt-badge.ok svg { color: #23a55a; }
.vt-badge b { font-weight: 600; color: var(--muted); white-space: nowrap; }
.vt-badge:hover b { color: var(--text); }

/* ===================================================================================================
   Brand Blocks (11.2026): фирменные цвета программы — фиолетовый #7b6cf6, розовый, салатовый.
   Жёсткие рамки и смещённые тени (брутализм) + прожектор и наклонённый скриншот на главной.
   Слой поверх старых стилей: разметку страниц не трогает, только внешний вид.
   =================================================================================================== */
:root, [data-theme="dark"] {
  --bg: #07060d; --bg2: #0b0a14; --top: rgba(7,6,13,.86); --card: #0f0e1a; --card2: #171528; --hover: #1d1a33;
  --line: rgba(244,243,255,.12); --line2: rgba(244,243,255,.22);
  --text: #f4f3ff; --muted: #a29ebd; --dim: #716d8c;
  --accent: #7b6cf6; --accent2: #6a5ae6; --accent-soft: rgba(123,108,246,.16); --link: #b3a9ff;
  --pink: #ff2bd6; --lime: #c6f432; --ink: #07060d; --edge: #f4f3ff; --glow: rgba(123,108,246,.55);
  --hfont: "Unbounded", "Inter", sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
[data-theme="light"] {
  --bg: #f4f2fb; --bg2: #ebe8f6; --top: rgba(244,242,251,.9); --card: #ffffff; --card2: #f1eefa; --hover: #e9e5f7;
  --line: rgba(13,11,26,.14); --line2: rgba(13,11,26,.24);
  --text: #0d0b1a; --muted: #555170; --dim: #8a86a3;
  --accent: #6a5ae6; --accent2: #5a49d6; --accent-soft: rgba(106,90,230,.12); --link: #5a49d6;
  --pink: #e81fc0; --lime: #b8e62a; --ink: #0d0b1a; --edge: #0d0b1a; --glow: rgba(106,90,230,.35);
}

/* заголовки, кнопки, шапка */
h1, h2, h3, .t, .brand span, .plan .price, .band h2, .doc h1, .box h1, .adm-h h1 { font-family: var(--hfont); letter-spacing: -.02em; }
h2.t { text-transform: uppercase; font-weight: 900; }
.kicker { font-family: var(--mono); color: var(--accent); letter-spacing: .14em; }
.btn { border-radius: 0; border: 2px solid var(--edge); box-shadow: 4px 4px 0 var(--pink); font-weight: 700;
  transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--pink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pink); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--edge); box-shadow: 4px 4px 0 var(--edge); }
.btn.ghost:hover { background: var(--hover); box-shadow: 6px 6px 0 var(--edge); }
.btn.big { border-radius: 0; font-family: var(--hfont); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; padding: 16px 26px;
  box-shadow: 6px 6px 0 var(--pink), 0 0 44px var(--glow); }
.btn.big.ghost { box-shadow: 6px 6px 0 var(--edge); }
.btn.discord { background: #5865f2; }
header.top { border-bottom: 2px solid var(--edge); }
.brand { border-right-color: var(--line); } .brand span { font-weight: 900; font-size: 16px; }
.links a { border-radius: 0; border: 2px solid transparent; background: none; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; }
.links a:hover { background: var(--hover); border-color: var(--line2); }
.links a.on { background: var(--accent); color: #fff; border-color: var(--edge); }
.theme-btn { border-radius: 0; border: 2px solid var(--line2); }
.nav .acts .btn { box-shadow: 3px 3px 0 var(--pink); } .nav .acts .btn.ghost { box-shadow: 3px 3px 0 var(--edge); }

/* главная: прожектор + наклонённый экран + стикеры + лента */
.hero { padding: 76px 0 0; overflow: hidden; }
.hero::before { top: -40px; width: 1500px; height: 1000px; filter: blur(4px);
  background: conic-gradient(from 180deg at 50% 0%, transparent 156deg, rgba(123,108,246,.30) 171deg, rgba(255,255,255,.10) 180deg,
    rgba(255,43,214,.20) 189deg, transparent 204deg); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -120px; width: 1200px; height: 620px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent); opacity: .7; }
[data-theme="light"] .hero::before { opacity: .55; }
.hero .eyebrow { display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 7vw, 78px); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 .g { display: inline-block; margin-top: 8px; background: var(--accent); color: #fff; -webkit-background-clip: border-box; background-clip: border-box;
  padding: 2px 16px 6px; box-shadow: 8px 8px 0 var(--pink), 0 0 70px var(--glow); }
.hero p.sub { font-size: 18px; margin: 26px auto 30px; }
.hero .cta { gap: 18px; }
.hero .stats-row { display: flex; justify-content: center; gap: 44px; margin-top: 34px; flex-wrap: wrap; }
.hero .stats-row b { display: block; font: 900 26px var(--hfont); letter-spacing: -.02em; } .hero .stats-row b.l { color: var(--lime); }
[data-theme="light"] .hero .stats-row b.l { color: var(--accent); }
.hero .stats-row span { color: var(--muted); font-size: 13px; }
.hero .meta a { text-decoration: underline; text-underline-offset: 3px; }
.stage { position: relative; max-width: 1060px; margin: 64px auto 0; padding: 0 24px; }
.shot { margin: 0; max-width: none; border-radius: 0; border: 2px solid var(--edge); transform: perspective(1600px) rotateX(16deg); transform-origin: bottom;
  box-shadow: 0 -10px 140px var(--glow), 0 0 0 1px rgba(157,145,255,.4); }
.chip { position: absolute; z-index: 3; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 2px solid var(--ink); white-space: nowrap;
  font: 600 13px var(--mono); }
.chip b { font: 900 16px var(--hfont); }
.chip.c1 { left: -6px; bottom: 90px; transform: rotate(-5deg); background: var(--lime); color: var(--ink); box-shadow: 5px 5px 0 var(--pink); }
.chip.c2 { right: -6px; top: -20px; transform: rotate(4deg); background: var(--pink); color: #fff; box-shadow: 5px 5px 0 var(--edge); }
.chip.c3 { left: 50%; bottom: -18px; transform: translateX(-50%) rotate(-2deg); background: var(--edge); color: var(--bg); box-shadow: 5px 5px 0 var(--accent); }
.marquee { position: relative; z-index: 2; overflow: hidden; white-space: nowrap; padding: 16px 0; margin-top: 0;
  background: linear-gradient(90deg, var(--pink), var(--lime)); color: var(--ink); border-top: 2px solid var(--edge); border-bottom: 2px solid var(--edge); }
.marquee .tr { display: inline-flex; gap: 44px; padding-left: 44px; font: 900 18px var(--hfont); text-transform: uppercase; animation: mq 40s linear infinite; }
.marquee .tr span::after { content: "✦"; margin-left: 44px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .tr { animation: none; } }

/* карточки возможностей, галерея, FAQ, призыв */
.feat { border-radius: 0; border: 2px solid var(--edge); box-shadow: 7px 7px 0 var(--edge); }
.feat::before { display: none; }
.feat:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--pink); border-color: var(--edge); }
.feat .ic { border-radius: 0; background: var(--pink) !important; color: #fff; }
.feat b { font-family: var(--hfont); font-size: 15.5px; line-height: 1.3; }
.grid .feat:nth-child(2), .grid .feat:nth-child(6) { background: var(--accent); border-color: var(--accent); box-shadow: 7px 7px 0 var(--pink); color: #fff; }
.grid .feat:nth-child(2) p, .grid .feat:nth-child(6) p { color: #ebe8ff; }
.grid .feat:nth-child(2) .ic, .grid .feat:nth-child(6) .ic { background: var(--lime) !important; color: var(--ink); }
.grid .feat:nth-child(4) { box-shadow: 7px 7px 0 var(--lime); }
[data-theme="light"] .grid .feat:nth-child(4) { box-shadow: 7px 7px 0 var(--accent); }
.gallery { gap: 22px; }
.gallery figure { border-radius: 0; border: 2px solid var(--edge); box-shadow: 7px 7px 0 var(--accent); }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { box-shadow: 7px 7px 0 var(--pink); }
.gallery figcaption { border-top: 2px solid var(--edge); font-family: var(--mono); font-size: 13px; }
.faq { gap: 12px; }
.faq details { border-radius: 0; border: 2px solid var(--line2); }
.faq details[open] { border-color: var(--edge); box-shadow: 5px 5px 0 var(--accent); }
.faq summary::after { color: var(--accent); font-weight: 900; }
.band { border-radius: 0; background: var(--accent); color: #fff; border: 2px solid var(--edge); box-shadow: 10px 10px 0 var(--pink), 0 0 90px var(--glow); }
.band::before { display: none; }
.band h2 { text-transform: uppercase; font-weight: 900; } .band p { color: #ebe8ff; }
.band .btn.big { background: var(--lime); color: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }

/* тарифы */
.plans { gap: 26px; }
.plan { border-radius: 0; border: 2px solid var(--edge); box-shadow: 8px 8px 0 var(--edge); }
.plan h3 { font-weight: 900; text-transform: uppercase; } .plan .price { font-weight: 900; }
.plan ul { border-top: 2px solid var(--line); } .plan li svg { color: var(--lime); }
[data-theme="light"] .plan li svg { color: var(--accent); }
.plan li.no svg { color: var(--dim); }
.plan .tag { border-radius: 0; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); top: -14px; }
.plan.pro { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 10px 10px 0 var(--pink), 0 0 80px var(--glow); }
.plan.pro .desc, .plan.pro .price small, .plan.pro .note, .plan.pro .tier small { color: #ebe8ff; }
.plan.pro ul { border-top-color: rgba(255,255,255,.25); } .plan.pro li svg { color: var(--lime); }
.plan.pro .tier { background: rgba(7,6,13,.22); border: 2px solid rgba(255,255,255,.28); border-radius: 0; }
.plan.pro .tier.hot { border-color: var(--lime); background: rgba(7,6,13,.32); }
.plan.pro .btn, .plan.pro .tier .btn.pay { background: var(--lime); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.plan.ultra { background: var(--card); border-color: var(--edge); box-shadow: 8px 8px 0 var(--pink); }
.plan.ultra .tag { background: var(--pink); color: #fff; }
.plan.ultra .tier.hot { border-color: var(--pink); background: rgba(255,43,214,.10); }
.tier { border-radius: 0; border: 2px solid var(--line); }
.tier i { border-radius: 0; background: var(--lime); color: var(--ink); }
.store .seg, .gfilter .seg, .tabs2 { border-radius: 0; border: 2px solid var(--line2); }
.store .seg button, .gfilter .seg button, .tabs2 button { border-radius: 0; }
.store .seg button.on, .gfilter .seg button.on { background: var(--accent); color: #fff; }
.tabs2 button.on { background: var(--accent); color: #fff; box-shadow: none; }
.steps div { border-radius: 0; border: 2px solid var(--line2); }
.steps b { border-radius: 0; background: var(--pink); color: #fff; }

/* формы, кабинет, документы, список изменений, игры */
.box, .acc .card, .notes .ver { border-radius: 0; border: 2px solid var(--edge); box-shadow: 8px 8px 0 var(--accent); }
.notes .ver:first-of-type { box-shadow: 8px 8px 0 var(--pink); border-color: var(--edge); }
.notes .ver h3 { font-size: 15px; text-transform: uppercase; }
.field input, .row input, .adm-form input, .adm-form select, .w-box select, .gfilter input { border-radius: 0; border: 2px solid var(--line2); }
.field input:focus, .row input:focus, .gfilter input:focus { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); outline: none; }
.promo { border-radius: 0; border: 2px dashed var(--accent); }
.reflink, .idrow, .w-stats > div, .w-box, .w-check, .nodo > div, .adm-stats div, .bn-wrap { border-radius: 0; }
.badge { border-radius: 0; } .badge.pro { background: var(--accent); }
.gi { border-radius: 0; border: 2px solid var(--line2); transition: transform .12s, box-shadow .12s, border-color .12s; }
.gi:hover { border-color: var(--edge); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.gn b { font-family: var(--hfont); font-size: 13px; }
.doc h1 { text-transform: uppercase; font-weight: 900; }
.vt-badge { border-radius: 0; border: 2px solid var(--line2); }
.toast { border-radius: 0; border: 2px solid var(--edge); border-left: 6px solid var(--accent); }
footer { border-top: 2px solid var(--edge); }
.ref-strip { background: var(--lime); color: var(--ink); border-bottom: 2px solid var(--edge); }

/* телефоны */
@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .hero h1 .g { padding: 2px 10px 5px; box-shadow: 5px 5px 0 var(--pink), 0 0 50px var(--glow); }
  .hero .stats-row { gap: 24px; }
  .stage { margin-top: 44px; padding: 0 12px; }
  .shot { transform: perspective(900px) rotateX(10deg); }
  .chip { padding: 7px 10px; font-size: 11.5px; } .chip b { font-size: 13px; }
  .chip.c1 { left: 0; bottom: 30px; } .chip.c2 { right: 0; top: -16px; } .chip.c3 { display: none; }
  .marquee .tr { font-size: 14px; gap: 30px; } .marquee .tr span::after { margin-left: 30px; }
  .feat, .plan, .box, .acc .card, .notes .ver { box-shadow: 5px 5px 0 var(--edge); }
  .plan.pro { box-shadow: 6px 6px 0 var(--pink); } .plan.ultra { box-shadow: 5px 5px 0 var(--pink); }
  .btn.big { font-size: 13px; padding: 14px 18px; }
}
.shot.tilt, .shot.tilt:hover { transform: perspective(1600px) rotateX(calc(16deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); }
.shot.tilt.on { box-shadow: 0 -10px 160px var(--glow), 0 0 0 1px rgba(157,145,255,.6); }
@media (max-width: 760px) { .shot.tilt { transform: perspective(900px) rotateX(10deg); } }
/* тарифы в новом стиле: Unbounded шире — цена и строки сроков свободнее */
.plan .price { font-size: 34px; line-height: 1.1; } .plan .price small { display: block; margin-top: 4px; font-family: Inter, sans-serif; font-size: 14px; letter-spacing: 0; }
.tier { flex-wrap: wrap; } .tier .btn.pay { width: 100%; margin: 8px 0 0; }
