

:root {
  --bg: #18093f;
  --surface: #230f5c;
  --surface-2: #2f1776;
  --border: #44299c;
  --text: #efeafc;
  --muted: #b9aee0;
  --gold: #8ee34f;
  --gold-2: #4fb52a;
  --link: #ff7a8c;
  --ok: #3ddc97;
  --max: 1160px;
  --prose: 840px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #ffb3bd; }
strong { color: #fff; }
.fjh-rvvza h2 { scroll-margin-top: 84px; }

.fjh-isoz { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.fjh-hwio {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 7, 56, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.fjh-oovb {
  max-width: var(--max); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
}
.fjh-kjh { display: inline-flex; margin-right: auto; order: 1; }
.fjh-kjh img { width: 150px; height: auto; }
.fjh-qwzz { position: absolute; opacity: 0; pointer-events: none; }
.fjh-spgpuj { order: 2; }
.fjh-uuanbf { order: 3; }
.fjh-spgpuj ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.fjh-spgpuj a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600;
}
.fjh-spgpuj a:hover, .fjh-spgpuj a.fjh-cvjv { background: var(--surface-2); color: var(--gold); }
.fjh-uuanbf { display: flex; align-items: center; gap: 8px; }

.fjh-ffw {
  display: inline-block; padding: 9px 18px; border-radius: 14px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.fjh-ffw:hover { transform: translateY(-1px); }
.fjh-eqb { color: var(--text); border: 1px solid var(--border); }
.fjh-eqb:hover { color: var(--gold); border-color: var(--gold); }
.fjh-fsieyt, .fjh-zkv {
  color: #0e2400; background: linear-gradient(180deg, var(--gold), var(--gold-2));
  box-shadow: 0 4px 18px rgba(120, 220, 70, .25);
}
.fjh-fsieyt:hover, .fjh-zkv:hover { color: #0e2400; box-shadow: 0 6px 24px rgba(120, 220, 70, .4); }
.fjh-zkv { padding: 14px 30px; font-size: 17px; }

.fjh-njisi { display: none; width: 40px; height: 40px; cursor: pointer; border-radius: 8px; border: 1px solid var(--border); }
.fjh-njisi span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; }

@media (max-width: 860px) {
  .fjh-njisi { display: flex; flex-direction: column; justify-content: center; }
  .fjh-eqb { display: none; }
  .fjh-spgpuj { order: 4; width: 100%; display: none; }
  .fjh-qwzz:checked ~ .fjh-spgpuj { display: block; }
  .fjh-spgpuj ul { flex-direction: column; padding: 6px 0 10px; }
  .fjh-kjh img { width: 124px; }
}

/* ---------- Breadcrumbs ---------- */
.fjh-tonw { font-size: 14px; color: var(--muted); padding: 12px 16px 0; }
.fjh-tonw a { color: var(--muted); }
.fjh-tonw .fjh-rzhda { margin: 0 6px; opacity: .6; }

/* ---------- Hero ---------- */
.fjh-wuxpo { position: relative; margin: 14px auto 0; max-width: var(--max); padding: 0 16px; }
.fjh-sfqja { border-radius: var(--radius); overflow: hidden; }
.fjh-sfqja img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: right center; }
.fjh-wkw { padding: 18px 2px 0; }
.fjh-wuxpo h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; color: #fff; }
.fjh-wuxpo .fjh-yqjvx { margin: 0 0 16px; color: var(--muted); font-size: 18px; }
.fjh-shx { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

@media (min-width: 861px) {
  .fjh-wkw {
    position: absolute; left: 16px; top: 0; bottom: 0; width: 52%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 48px;
    background: linear-gradient(90deg, rgba(22, 6, 66, .88) 0%, rgba(22, 6, 66, .55) 70%, rgba(22, 6, 66, 0) 100%);
    border-radius: var(--radius) 0 0 var(--radius);
  }
  .fjh-wuxpo h1 { font-size: 40px; }
}

/* ---------- Content ---------- */
main { padding-bottom: 40px; }
.fjh-rvvza { max-width: var(--prose); margin: 0 auto; padding: 0 16px; }
.fjh-rvvza h2 {
  font-size: 27px; line-height: 1.25; color: #fff;
  margin: 48px 0 14px; padding-top: 6px;
}
.fjh-rvvza h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 10px; background: var(--gold); border-radius: 3px; }
.fjh-rvvza h3 { font-size: 20px; color: #fff; margin: 30px 0 10px; }
.fjh-rvvza p, .fjh-rvvza li { color: var(--text); }
.fjh-rvvza ul, .fjh-rvvza ol { padding-left: 22px; }
.fjh-rvvza li { margin: 6px 0; }
.fjh-rvvza ol li::marker { color: var(--gold); font-weight: 700; }
.fjh-rvvza ul li::marker { color: var(--gold); }
.fjh-rvvza hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

.fjh-xht {
  font-size: 14px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; margin: 18px 0;
}
.callout {
  background: var(--surface-2); border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 22px 0;
}
.callout p { margin: 0; }
.fjh-whr {
  background: var(--surface); border: 1px solid var(--border); border-left-color: var(--ok);
  border-left-width: 4px; border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 32px 0 0;
  font-size: 15px;
}
.fjh-whr p { margin: 0; }

/* bonus card */
.fjh-erpd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  margin: 26px 0; padding: 20px 22px;
  background: radial-gradient(120% 140% at 0% 0%, #4a1ca0 0%, var(--surface-2) 55%);
  border: 1px solid rgba(142, 227, 79, .5); border-radius: var(--radius);
}
.fjh-erpd .fjh-kyg { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.fjh-erpd .fjh-jgicb { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.2; }
.fjh-erpd .fjh-abmvnf { font-size: 14px; color: var(--muted); }
.fjh-erpd .fjh-qiege { flex: 1 1 320px; }
.fjh-erpd .fjh-ckb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fjh-erpd .fjh-ckb a:not(.fjh-ffw) { font-size: 15px; }
.fjh-mjgxtn { text-align: center; margin: 28px 0; }

/* TOC */
.fjh-chcx { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin: 22px 0; }
.fjh-chcx summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; }
.fjh-chcx summary::-webkit-details-marker { display: none; }
.fjh-chcx summary::before { content: "▸"; color: var(--gold); margin-right: 8px; display: inline-block; transition: transform .15s; }
.fjh-chcx[open] summary::before { transform: rotate(90deg); }
.fjh-chcx ul { margin: 0; padding: 0 18px 14px 40px; columns: 2; column-gap: 28px; }
.fjh-chcx li { break-inside: avoid; }
.fjh-chcx a { color: var(--text); text-decoration: none; }
.fjh-chcx a:hover { color: #ffb3bd; }
@media (max-width: 600px) { .fjh-chcx ul { columns: 1; } }

/* tables */
.fjh-aquh { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); color: var(--gold); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }

/* FAQ */
.fjh-kbokkb h3 {
  margin: 12px 0 0; padding: 14px 18px; font-size: 17px;
  background: var(--surface); border: 1px solid var(--border); border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.fjh-kbokkb h3 + p {
  margin: 0 0 12px; padding: 0 18px 14px;
  background: var(--surface); border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 10px 10px; color: var(--muted);
}

/* ---------- Footer ---------- */
.fjh-azycwu { background: #0f0530; border-top: 1px solid var(--border); margin-top: 40px; padding: 36px 0 90px; font-size: 15px; }
.fjh-nen { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.fjh-cvch { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.fjh-iobjpu .fjh-wcpo { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 0 0 12px; }
.fjh-iobjpu ul { list-style: none; margin: 0; padding: 0; }
.fjh-iobjpu li { margin: 6px 0; }
.fjh-iobjpu a { color: var(--muted); text-decoration: none; }
.fjh-iobjpu a:hover { color: #ffb3bd; }
.fjh-iobjpu img { width: 140px; margin-bottom: 12px; }
.fjh-iobjpu p { color: var(--muted); margin: 0; }
.fjh-hpfg { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; color: var(--muted); font-size: 13px; }
.fjh-hpfg p { margin: 0 0 8px; }
.fjh-gtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ff5a5a;
  color: #ff8080; font-weight: 800; font-size: 13px; margin-right: 10px; vertical-align: middle;
}
@media (max-width: 760px) { .fjh-cvch { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .fjh-azycwu { padding-bottom: 36px; } }

/* sticky mobile CTA */
.fjh-jtu {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 7, 56, .97); border-top: 1px solid var(--border);
}
.fjh-jtu span { font-size: 14px; color: var(--muted); line-height: 1.3; }
.fjh-jtu strong { color: var(--gold); }
@media (min-width: 861px) { .fjh-jtu { display: none; } }

@media (min-width: 861px) {
  .fjh-oovb { flex-wrap: nowrap; }
  .fjh-spgpuj a { padding: 8px 10px; font-size: 15px; white-space: nowrap; }
}

/* hero: компактнее на узких десктопах, чтобы текст не выходил за баннер */
@media (min-width: 861px) and (max-width: 1100px) {
  .fjh-wkw { padding: 22px 30px; width: 58%; }
  .fjh-wuxpo h1 { font-size: 29px; margin-bottom: 8px; }
  .fjh-wuxpo .fjh-yqjvx { font-size: 16px; margin-bottom: 12px; }
  .fjh-wuxpo .fjh-shx { margin-top: 8px; }
}
