/* Страницы: игра (экран загрузки и секции), магазин, форум, демо-оплата. */

.section { position: relative; padding: 130px 0 110px; }
.section.alt { background: linear-gradient(180deg, #0f0b0b, #0b0808); border-top: 1px solid var(--line); }
.section-title { position: relative; z-index: 1; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(34px, 5vw, 58px); }
.lead { font-size: 19px; line-height: 1.55; color: var(--text); }
.section p { color: var(--text-2); }

/* ---------- экран загрузки ---------- */
.stage { position: relative; height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 980px; overflow: hidden; background: #050303; isolation: isolate; }
.stage-media { position: absolute; inset: 0; z-index: -1; }
.stage-media img, .stage-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.stage-media img { animation: stage-drift 32s ease-in-out infinite alternate; }
.stage-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@keyframes stage-drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.stage-ui {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px clamp(16px, 5vw, 64px) 44px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(5, 3, 3, .78), rgba(5, 3, 3, .15) 58%, transparent), linear-gradient(0deg, rgba(5, 3, 3, .92), transparent 46%);
  transition: opacity .7s, visibility .7s;
}
.stage.is-game .stage-ui { opacity: 0; visibility: hidden; pointer-events: none; }
.stage.is-loaded .curtain, .stage.is-game .curtain { display: none !important; }
.loadbar { overflow: hidden; }
.site-page {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #0b0808;
}
.site-page[hidden] { display: none !important; }
.site-page iframe { width: 100%; height: 100%; border: 0; background: #0b0808; }
html.embed .site-header,
html.embed .site-footer { display: none !important; }
html.embed .stage { height: 100svh; max-height: none; }
.stage-top { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.stage-top .sep { opacity: .4; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--blood-l); box-shadow: 0 0 10px var(--blood-l); animation: blink 1.3s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.stage-title { align-self: center; max-width: 760px; }
.stage-logo { font: 400 clamp(58px, 10.5vw, 150px)/.88 var(--font-logo); color: var(--blood-l); text-transform: none; letter-spacing: 0; text-shadow: 0 5px 0 #2a0306, 0 0 50px rgba(224, 48, 58, .35); }
.stage-sub { margin: 22px 0 0; font: 500 clamp(18px, 2.3vw, 27px)/1.3 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.stage-bottom { width: min(760px, 100%); }
.stage-tip { min-height: 3.2em; margin: 0 0 16px; color: var(--text-2); font-size: 15px; transition: opacity .35s; }
.stage-tip b { margin-right: 8px; font: 600 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blood-l); }
.loadbar { position: relative; height: 14px; border: 1px solid rgba(224, 48, 58, .45); border-radius: 2px; background: rgba(10, 6, 6, .85); }
.loadbar-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #5a0710, var(--blood) 70%, #ff4a52); box-shadow: 0 0 18px var(--blood-glow); transition: width .3s linear; }
.loadbar .curtain { position: absolute; left: 0; top: calc(100% - 1px); clip-path: inset(0 var(--rest, 100%) -300px 0); transition: clip-path .3s linear; }
.stage-status { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font: 500 13px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.stage-status b { color: var(--bone); font-weight: 600; }
.stage-play { margin-top: 26px; min-height: 54px; padding-inline: 34px; font-size: 17px; animation: pulse 1.8s ease-in-out infinite; }
.stage-play[hidden] { display: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(224, 48, 58, 0), 0 0 42px rgba(224, 48, 58, .5); } }
.stage-scroll { position: absolute; right: clamp(16px, 5vw, 64px); bottom: 44px; display: flex; align-items: center; gap: 10px; font: 600 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stage-scroll i { width: 2px; height: 40px; background: linear-gradient(var(--blood-l), transparent); animation: scroll-hint 1.6s ease-in-out infinite; }
@keyframes scroll-hint { from { transform: scaleY(.3); transform-origin: top; } to { transform: scaleY(1); transform-origin: top; opacity: 0; } }

/* ---------- об игре ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; position: relative; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); position: relative; z-index: 1; }
.stat { padding: 30px 26px; background: var(--bg-2); }
.stat b { display: block; font: 600 clamp(34px, 4vw, 48px)/1 var(--font-head); color: var(--blood-l); }
.stat span { display: block; margin-top: 10px; font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- особенности ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { position: relative; padding: 30px 26px 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); overflow: hidden; transition: transform .3s var(--ease-out), border-color .3s; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--blood-l); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.feature:hover { transform: translateY(-5px); border-color: rgba(224, 48, 58, .45); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon { width: 46px; height: 46px; margin-bottom: 22px; color: var(--blood-l); }
.feature h3 { font-size: 23px; margin-bottom: 12px; }
.feature p { margin: 0; font-size: 15px; }

/* ---------- хроника ---------- */
.chronicle-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 70px; align-items: start; }
.chronicle-grid .section-title { position: sticky; top: calc(var(--header-h) + 60px); }
.timeline { position: relative; margin: 0; padding: 0 0 0 46px; list-style: none; }
.timeline-line { position: absolute; left: 13px; top: 8px; bottom: 30px; width: 4px; border-radius: 2px; background: #231717; }
.timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 2px; background: linear-gradient(var(--blood-d), var(--blood-l)); box-shadow: 0 0 12px var(--blood-glow); }
.timeline-fill::after { content: ""; position: absolute; left: -4px; bottom: -11px; width: 12px; height: 15px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--blood-l); }
.tl-item { position: relative; padding-bottom: 50px; }
.tl-item::before { content: ""; position: absolute; left: -41px; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #3d2828; background: var(--bg); transition: all .35s; }
.tl-item.is-lit::before { border-color: var(--blood-l); background: var(--blood); box-shadow: 0 0 16px var(--blood-glow); }
.tl-day { font: 600 12px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--blood-l); }
.tl-item h3 { margin: 10px 0; font-size: 25px; }
.tl-item p { margin: 0; }

/* ---------- требования ---------- */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spec-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.spec-card.is-rec { border-color: rgba(224, 48, 58, .5); box-shadow: 0 30px 60px -40px rgba(163, 18, 28, .7); }
.spec-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; font-size: 22px; }
.spec-card dl { display: grid; grid-template-columns: 130px 1fr; gap: 12px 18px; margin: 0; }
.spec-card dt { font: 500 12px/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec-card dd { margin: 0; color: var(--text); }

/* ---------- призыв ---------- */
.cta { padding-bottom: 40px; }
.cta-box { position: relative; padding: 80px 40px; text-align: center; border: 1px solid var(--line-2); border-radius: 6px; background: radial-gradient(600px 260px at 50% 0%, rgba(163, 18, 28, .35), transparent 70%), #0d0909; overflow: hidden; }
.cta-box h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
.cta-box p { max-width: 560px; margin: 0 auto 30px; }
.cta-box .about-actions { justify-content: center; }

/* ---------- шапка внутренних страниц ---------- */
.page-hero { position: relative; padding: 90px 0 120px; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-title { font: 400 clamp(64px, 11vw, 132px)/.9 var(--font-logo); color: var(--blood-l); text-transform: none; letter-spacing: 0; text-shadow: 0 5px 0 #2a0306, 0 0 40px rgba(224, 48, 58, .3); }
.page-lead { max-width: 620px; margin: 22px 0 0; font-size: 19px; color: var(--text-2); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 30px; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-stats b { margin-right: 8px; font: 600 24px/1 var(--font-head); color: var(--bone); }

/* ---------- магазин ---------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; position: relative; z-index: 3; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; position: relative; z-index: 3; }
.product { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); overflow: hidden; transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.product:hover { transform: translateY(-5px); border-color: rgba(224, 48, 58, .55); box-shadow: 0 26px 50px -26px rgba(163, 18, 28, .65); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 45%, #241515, #0e0a0a 72%); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.product-media img.is-photo { object-fit: cover; }
.product:hover .product-media img { transform: scale(1.06) rotate(-1.5deg); }
.product-media::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  background: linear-gradient(#5a0710, #8c0e18);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V18C97 18 97 30 94 30S91 14 87 14 84 40 79 40 77 20 71 20 68 28 63 28 61 12 55 12 52 46 46 46 44 18 38 18 35 26 30 26 28 16 22 16 19 34 14 34 12 18 6 18 3 22 0 22Z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V18C97 18 97 30 94 30S91 14 87 14 84 40 79 40 77 20 71 20 68 28 63 28 61 12 55 12 52 46 46 46 44 18 38 18 35 26 30 26 28 16 22 16 19 34 14 34 12 18 6 18 3 22 0 22Z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
  transform: translateY(-101%);
  transition: transform .7s cubic-bezier(.5, 0, .2, 1);
  opacity: .9;
}
.product:hover .product-media::after { transform: translateY(0); }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 10px 6px 9px; font: 700 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--blood); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.badge.is-new { background: #5f6338; }
.badge.is-best { background: #c9a24a; color: #1b1414; }
.product-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.product-cat { font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product-name { font: 600 21px/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.product-desc { flex: 1; margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.price { font: 700 26px/1 var(--font-head); color: var(--bone); white-space: nowrap; }
.price s { margin-left: 8px; font-size: 15px; font-weight: 400; color: var(--muted); }
.product .del { position: absolute; right: 10px; top: 10px; z-index: 3; width: 36px; height: 36px; background: rgba(10, 6, 6, .85); }
.empty { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: 4px; text-align: center; color: var(--muted); }
.skeleton { min-height: 420px; border-radius: 4px; background: linear-gradient(100deg, #141010 30%, #1e1515 50%, #141010 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.shop-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.note { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); }
.note .icon { width: 28px; height: 28px; color: var(--blood-l); }
.note b { display: block; margin-bottom: 4px; font: 600 16px/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.note span { font-size: 14px; color: var(--text-2); }

/* корзина */
.drawer { position: fixed; inset: 0; z-index: 75; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(4, 2, 2, .72); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(430px, 100%); border-left: 1px solid var(--line-2); background: var(--panel); transform: translateX(102%); transition: transform .45s var(--ease-out); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 26px; }
.drawer-body { flex: 1; overflow: auto; padding: 6px 22px; }
.drawer-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: 3px; object-fit: contain; background: #0e0a0a; }
.cart-line .name { font: 600 16px/1.2 var(--font-head); text-transform: uppercase; }
.cart-line .sum { margin-top: 4px; font: 500 13px/1 var(--font-mono); color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 3px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; color: var(--text-2); cursor: pointer; font-size: 18px; }
.qty button:hover { color: #fff; background: rgba(163, 18, 28, .25); }
.qty span { min-width: 28px; text-align: center; font: 600 14px/1 var(--font-mono); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span { font: 500 13px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cart-total b { font: 700 32px/1 var(--font-head); color: var(--bone); }
.cart-empty { padding: 50px 0; text-align: center; color: var(--muted); }

/* загрузка картинки товара */
.dropzone { position: relative; display: grid; place-items: center; gap: 8px; min-height: 170px; padding: 18px; border: 1px dashed var(--line-2); border-radius: 4px; background: #0c0909; text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone.is-over, .dropzone:hover { border-color: var(--blood-l); background: rgba(163, 18, 28, .07); }
.dropzone img { max-height: 190px; border-radius: 3px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 34px; height: 34px; color: var(--blood-l); }

.order-sum { display: grid; gap: 8px; margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: #0e0a0a; font-size: 15px; }
.order-sum div { display: flex; justify-content: space-between; gap: 12px; }
.order-sum .total { padding-top: 8px; border-top: 1px solid var(--line); font: 700 20px/1.2 var(--font-head); color: var(--bone); }
.status-mark { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: rgba(125, 130, 80, .18); color: #b6bd78; }
.status-mark.is-bad { background: rgba(163, 18, 28, .18); color: var(--blood-l); }
.status-mark .icon { width: 36px; height: 36px; }

/* ---------- форум ---------- */
.forum-grid { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; position: relative; z-index: 3; }
.forum-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.cat-list { display: grid; gap: 4px; }
.cat-btn { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 3px; background: none; color: var(--text-2); font: 500 15px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; text-align: left; cursor: pointer; transition: all .2s; }
.cat-btn:hover { background: var(--panel); color: var(--text); }
.cat-btn[aria-pressed="true"] { border-color: var(--line-2); background: var(--panel-2); color: var(--blood-l); box-shadow: inset 3px 0 0 var(--blood-l); }
.cat-btn .n { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.side-card { padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font-size: 14px; color: var(--text-2); }
.side-card h4 { margin-bottom: 10px; font-size: 14px; letter-spacing: .16em; color: var(--bone); }
.side-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.forum-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 240px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 42px; }
.topic-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); overflow: hidden; }
.topic { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.topic:last-child { border-bottom: 0; }
.topic::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blood-l); transform: scaleY(0); transition: transform .25s; }
.topic:hover { background: var(--panel-2); }
.topic:hover::before, .topic:focus-visible::before { transform: scaleY(1); }
.topic.is-pinned { background: linear-gradient(90deg, rgba(163, 18, 28, .13), transparent 60%); }
.topic-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.topic-title { margin: 8px 0 6px; font: 600 19px/1.25 var(--font-head); letter-spacing: .02em; text-transform: none; color: var(--text); }
.topic:hover .topic-title { color: #fff; }
.topic-excerpt { margin: 0 0 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 14px; color: var(--text-2); }
.topic-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 12.5px/1.4 var(--font-mono); color: var(--muted); }
.topic-stats { display: flex; gap: 20px; text-align: center; }
.topic-stats b { display: block; font: 600 21px/1 var(--font-head); color: var(--bone); }
.topic-stats span { font: 400 11px/1.8 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.topic .icon.pin { color: var(--blood-l); }
.topic-view .back { margin-bottom: 20px; }
.post-title { margin: 12px 0 22px; font-size: clamp(26px, 3.4vw, 38px); text-transform: none; }
.post { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-bottom: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.post.is-op { border-color: rgba(224, 48, 58, .42); }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 3px; background: hsl(var(--h, 0) 42% 21%); color: #fff; font: 600 22px/1 var(--font-head); }
.post-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 8px; }
.post-author { font: 600 16px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.post-author.is-staff { color: var(--blood-l); }
.post-time { font: 400 12px/1 var(--font-mono); color: var(--muted); }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.post .admin-tools { position: absolute; right: 14px; top: 14px; display: flex; gap: 6px; }
.post .admin-tools .icon-btn { width: 34px; height: 34px; }
.replies-head { margin: 30px 0 14px; font: 600 13px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.reply-form { margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }

/* ---------- демо-оплата ---------- */
.pay-page { display: grid; place-items: center; min-height: calc(100vh - var(--header-h) - 120px); padding: 70px 0; }
.pay-card { position: relative; width: min(500px, 100%); border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); }
.pay-card .modal-body { max-height: none; }
.pay-warn { display: flex; gap: 10px; align-items: start; margin: 0 0 18px; padding: 12px 14px; border: 1px dashed rgba(224, 48, 58, .5); border-radius: 4px; font-size: 14px; color: var(--text-2); }
.pay-warn .icon { margin-top: 2px; color: var(--blood-l); }

@media (max-width: 1060px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .chronicle-grid { grid-template-columns: 1fr; gap: 40px; }
  .chronicle-grid .section-title { position: static; }
  .forum-grid { grid-template-columns: 1fr; }
  .forum-side { position: static; }
  .cat-list { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .cat-btn { flex: none; width: auto; }
  .side-card { display: none; }
}
@media (max-width: 700px) {
  .section { padding: 100px 0 80px; }
  .stage { min-height: 600px; }
  .stage-ui { padding-bottom: 30px; }
  .stage-scroll, .stage-top .opt { display: none; }
  .stage-top { font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
  .page-hero .splat { width: 230px !important; right: -40px !important; opacity: .35; }
  .features-grid, .specs-grid, .shop-notes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .spec-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .spec-card dd { margin-bottom: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 14px 12px 14px; }
  .product-name { font-size: 17px; }
  .product-desc { display: none; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .price { font-size: 22px; }
  .topic { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .topic-stats { justify-content: flex-start; text-align: left; }
  .topic-stats div { display: flex; gap: 6px; align-items: baseline; }
  .post { grid-template-columns: 1fr; padding: 18px; }
  .avatar { width: 44px; height: 44px; font-size: 18px; }
  .cta-box { padding: 60px 20px; }
  .page-hero { padding: 60px 0 100px; }
}
