/* ============================================================
   Pray — prayme.ru
   Тёмный пиксельный лендинг: интерфейс собран из майнкрафтовых
   примитивов (скошенные фаски, вырезанные углы, тень под кнопкой),
   но набран Inter, а не пиксельным шрифтом: текста тут много,
   и читаться он должен как текст.
   ============================================================ */

:root {
  --bg:        #0b0b0f;
  --bg-2:      #111117;
  --panel:     #1b1b23;
  --panel-hi:  #262630;
  --slot:      #0e0e13;
  --line:      #34343f;

  --text:      #e9e9f2;
  --muted:     #9494a6;
  --dim:       #6c6c7d;

  --accent:    #7b5cff;
  --accent-2:  #c8a2ff;
  --red:       #d03038;
  --red-dim:   #8e2228;

  --px: 4px;                  /* размер «пикселя» интерфейса */
  --wrap: 1140px;
  --shadow: 0 4px 0 rgba(0, 0, 0, .55);

  /* Скошенные углы: 4 среза по одному «пикселю». */
  --notch: polygon(
    var(--px) 0, calc(100% - var(--px)) 0,
    100% var(--px), 100% calc(100% - var(--px)),
    calc(100% - var(--px)) 100%, var(--px) 100%,
    0 calc(100% - var(--px)), 0 var(--px));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.65 Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
code { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* Все текстуры — 16×16, тянем крупно и без сглаживания. */
.tex, .hero__tex, .band::before, .footer::before,
.god__img, .god__poppy, .footer__poppy, .brand__face {
  image-rendering: pixelated;
}

/* ── типографика ─────────────────────────────────────────── */

.h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .5);
}

.sub {
  margin: 0 0 40px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}
.sub code {
  background: var(--slot); border: 1px solid var(--line);
  padding: 1px 7px; color: var(--accent-2); font-size: .92em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}

/* ── панель: приподнятый блок из GUI ────────────────────── */

.panel {
  position: relative;
  background: var(--panel);
  clip-path: var(--notch);
  box-shadow:
    inset 0 var(--px) 0 rgba(255, 255, 255, .07),
    inset var(--px) 0 0 rgba(255, 255, 255, .05),
    inset calc(var(--px) * -1) 0 0 rgba(0, 0, 0, .38),
    inset 0 calc(var(--px) * -1) 0 rgba(0, 0, 0, .45);
}

/* ── кнопка ─────────────────────────────────────────────── */

.mcbtn {
  --btn-a: #6f6f7d;
  --btn-b: #4b4b57;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border: 0;
  background: linear-gradient(var(--btn-a), var(--btn-b));
  color: #fff;
  font: 800 16px/1 Inter, sans-serif;
  letter-spacing: .01em;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  text-decoration: none;
  cursor: pointer;
  clip-path: var(--notch);
  filter: drop-shadow(var(--shadow));
  box-shadow:
    inset 0 var(--px) 0 rgba(255, 255, 255, .28),
    inset var(--px) 0 0 rgba(255, 255, 255, .14),
    inset calc(var(--px) * -1) 0 0 rgba(0, 0, 0, .3),
    inset 0 calc(var(--px) * -1) 0 rgba(0, 0, 0, .42);
  transition: filter .1s, transform .1s, background .12s;
}
.mcbtn:hover { --btn-a: #8b8b9b; --btn-b: #5d5d6c; text-decoration: none; }
.mcbtn:active {
  transform: translateY(var(--px));
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.mcbtn--primary { --btn-a: #8b6cff; --btn-b: #5b3fd6; }
.mcbtn--primary:hover { --btn-a: #a68bff; --btn-b: #6a4de6; }

.mcbtn--ghost { --btn-a: #2c2c37; --btn-b: #1e1e27; }
.mcbtn--ghost:hover { --btn-a: #3a3a48; --btn-b: #26262f; }

.mcbtn--wide { min-width: 200px; }
.mcbtn--sq { width: 52px; padding: 15px 0; font-size: 22px; }

/* ── верхняя панель ─────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 15, .82);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #000;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .04);
}
.topbar__inner {
  display: flex; align-items: center; gap: 26px;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__face { display: block; }
.brand__name {
  font-weight: 900; font-size: 20px; letter-spacing: .18em;
}
.brand--big .brand__name { font-size: 24px; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: var(--muted); font-weight: 700; font-size: 15px;
}
.nav a:hover { color: var(--text); text-decoration: none; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  background: var(--slot);
  border: 0;
  color: var(--text);
  font: 700 15px/1 ui-monospace, monospace;
  cursor: pointer;
  clip-path: var(--notch);
  box-shadow:
    inset 0 var(--px) 0 rgba(0, 0, 0, .5),
    inset var(--px) 0 0 rgba(0, 0, 0, .4),
    inset calc(var(--px) * -1) 0 0 rgba(255, 255, 255, .08),
    inset 0 calc(var(--px) * -1) 0 rgba(255, 255, 255, .1);
}
.chip:hover .chip__text { color: var(--accent-2); }
.chip__dot {
  width: 8px; height: 8px; background: #56c05a;
  box-shadow: 0 0 10px #56c05a;
}

/* ── герой ──────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }

.hero__tex {
  position: absolute; inset: 0;
  background: url("tex/obsidian.png") repeat;
  background-size: 64px 64px;
  opacity: .5;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(58% 52% at 72% 34%, rgba(123, 92, 255, .3), transparent 68%),
    radial-gradient(70% 60% at 20% 80%, rgba(208, 48, 56, .1), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.title {
  margin: 0;
  font-size: clamp(64px, 13vw, 148px);
  font-weight: 900; line-height: .86; letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff 6%, var(--accent-2) 58%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .6));
}

.tagline {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 24px); font-weight: 700;
  letter-spacing: .01em;
}

.lead { margin: 0 0 30px; max-width: 56ch; color: #c3c3d2; }

.ipbox {
  max-width: 500px;
  padding: 18px 20px 16px;
  background: var(--slot);
  clip-path: var(--notch);
  box-shadow:
    inset 0 var(--px) 0 rgba(0, 0, 0, .55),
    inset var(--px) 0 0 rgba(0, 0, 0, .45),
    inset calc(var(--px) * -1) 0 0 rgba(255, 255, 255, .07),
    inset 0 calc(var(--px) * -1) 0 rgba(255, 255, 255, .09);
}
.ipbox__label {
  color: var(--dim); font-size: 12px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
}
.ipbox__row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 8px 0 10px;
}
.ipbox__value {
  flex: 1 1 auto;
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .6);
}
.ipbox__hint { margin: 0; color: var(--dim); font-size: 13.5px; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }

.hero__meta {
  display: flex; align-items: center; gap: 10px;
  margin: 0; color: var(--dim); font-size: 14.5px; font-weight: 600;
}
.pulse {
  width: 9px; height: 9px; background: var(--accent-2);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* лицо */
.hero__god { position: relative; display: grid; place-items: center; }

.god {
  position: relative; width: min(100%, 360px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Свечение позади: лицо должно висеть в воздухе, а не лежать картинкой. */
.god::before {
  content: ""; position: absolute; inset: -28%;
  background: radial-gradient(closest-side, rgba(123, 92, 255, .38), transparent 72%);
  pointer-events: none;
}

.god__img {
  position: relative;
  display: block; width: 100%;
  /* Края чуть растворяются, силуэт остаётся: квадрат не должен выглядеть
     приклеенным файлом, но и превращаться в пятно ему нельзя. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image:
    linear-gradient(to right,  transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.god__eye {
  position: absolute; top: 50%; height: 12.5%; width: 25%;
  background: #fff;
  box-shadow: 0 0 26px 10px rgba(255, 255, 255, .55);
  animation: glow 3.6s ease-in-out infinite;
  pointer-events: none;
}
.god__eye--l { left: 12.5%; }
.god__eye--r { left: 62.5%; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 22px 8px rgba(255, 255, 255, .42); }
  50%      { box-shadow: 0 0 40px 16px rgba(255, 255, 255, .78); }
}

/* Мак в углу — единственный намёк на то, чего он о себе не говорит. */
.god__poppy {
  position: absolute; left: -48px; bottom: -18px;
  width: 84px;              /* половину спрайта занимает прозрачный воздух */
  opacity: .5;
  filter: drop-shadow(0 0 16px rgba(208, 48, 56, .55));
  animation: float 9s ease-in-out infinite reverse;
}

/* ── полосы с текстурой ─────────────────────────────────── */

.band { position: relative; padding: clamp(60px, 8vw, 100px) 0; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background-repeat: repeat; background-size: 56px 56px;
  opacity: .16;
  pointer-events: none;
}
.band > .wrap { position: relative; }

.band--stone { background: var(--bg-2); border-block: 2px solid #000; }
.band--stone::before { background-image: url("tex/stone.png"); opacity: .14; }

.band--nether { background: #150e10; border-block: 2px solid #000; }
.band--nether::before { background-image: url("tex/netherrack.png"); background-size: 72px 72px; opacity: .1; }
.band--nether .h2 { color: #ffd9d9; }

section:not(.band):not(.hero) { position: relative; padding: clamp(60px, 8vw, 100px) 0; }
/* Секции без своей полосы всё равно не должны быть плоской заливкой. */
section:not(.band):not(.hero)::before {
  content: ""; position: absolute; inset: 0;
  background: url("tex/deepslate.png") repeat; background-size: 60px 60px;
  image-rendering: pixelated;
  opacity: .09;
  pointer-events: none;
}
section:not(.band):not(.hero) > .wrap { position: relative; }

/* ── шаги ───────────────────────────────────────────────── */

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin: 0; padding: 0; list-style: none;
}
.step { padding: 26px 24px 24px; }
.step__n {
  display: block; margin-bottom: 10px;
  color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .2em;
}
.step h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ── карточки ───────────────────────────────────────────── */

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card { padding: 26px 24px; }
.card h3 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px; font-size: 20px; font-weight: 800;
}
.card__ico { color: var(--accent); font-size: 15px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ── шкала психоза ──────────────────────────────────────── */

.meter { margin-top: 22px; padding: 26px 24px 22px; }
.meter__head h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.meter__head p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }

.meter__bar {
  position: relative;
  display: flex; height: 44px;
  background: var(--slot);
  box-shadow:
    inset 0 var(--px) 0 rgba(0, 0, 0, .55),
    inset 0 calc(var(--px) * -1) 0 rgba(255, 255, 255, .07);
}
.meter__seg {
  display: grid; place-items: center;
  width: var(--w);
  background: color-mix(in srgb, var(--c) 62%, #101015);
  border-right: 2px solid #0b0b0f;
  color: #fff;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .6);
  overflow: hidden; white-space: nowrap;
}
.meter__seg:last-of-type { border-right: 0; }
.meter__mark {
  position: absolute; top: -7px; bottom: -7px; left: 0;
  width: 4px; background: #fff;
  box-shadow: 0 0 14px 3px rgba(255, 255, 255, .7);
  transition: left 1.6s cubic-bezier(.5, 0, .5, 1);
}
/* На узком экране подписи в сегментах не помещаются — подписываем только концы. */
.meter__ends { display: none; }
.meter__note { margin: 16px 0 0; color: var(--dim); font-size: 14.5px; }

/* ── молитвы ────────────────────────────────────────────── */

.fair {
  padding: 18px 22px; margin-bottom: 30px;
  border-left: var(--px) solid var(--red);
  color: #d8c8c8; font-size: 16px;
}
.fair b { color: #fff; }

.packs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; margin-bottom: 30px;
}
.pack {
  display: grid; gap: 3px;
  padding: 24px 22px;
  border: 0;
  color: var(--text);
  font-family: inherit; text-align: left;
  cursor: pointer;
  transition: background .12s, transform .12s;
}
.pack:hover { background: var(--panel-hi); transform: translateY(-3px); }
.pack.is-active { background: #2a2033; box-shadow:
    inset 0 var(--px) 0 rgba(255, 255, 255, .1),
    inset var(--px) 0 0 var(--accent),
    inset calc(var(--px) * -1) 0 0 rgba(0, 0, 0, .38),
    inset 0 calc(var(--px) * -1) 0 rgba(0, 0, 0, .45); }

.pack__tag {
  position: absolute; top: 0; right: 0;
  padding: 5px 12px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.pack__name { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.pack__qty { font-size: 19px; font-weight: 700; }
.pack__price { margin-top: 6px; font-size: 32px; font-weight: 900; letter-spacing: -.02em; }
.pack__unit { color: var(--dim); font-size: 14px; }

/* форма */
.buy { padding: 30px 28px 26px; max-width: 720px; }
.buy__title { margin: 0 0 22px; font-size: 22px; font-weight: 800; }

.field { margin-bottom: 20px; }
.field > label {
  display: block; margin-bottom: 8px;
  color: var(--muted); font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}

/* «слот» — вдавленное поле из инвентаря */
.slot {
  width: 100%; padding: 14px 16px;
  background: var(--slot); border: 0; color: var(--text);
  font: 600 17px/1.2 Inter, sans-serif;
  clip-path: var(--notch);
  box-shadow:
    inset 0 var(--px) 0 rgba(0, 0, 0, .6),
    inset var(--px) 0 0 rgba(0, 0, 0, .45),
    inset calc(var(--px) * -1) 0 0 rgba(255, 255, 255, .06),
    inset 0 calc(var(--px) * -1) 0 rgba(255, 255, 255, .08);
}
.slot::placeholder { color: #4d4d5c; }
.slot--num { width: 110px; text-align: center; font-variant-numeric: tabular-nums; }
.slot--num::-webkit-outer-spin-button,
.slot--num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slot--num { -moz-appearance: textfield; }
.slot.is-bad { box-shadow: inset 0 0 0 2px var(--red), inset 0 var(--px) 0 rgba(0, 0, 0, .6); }

.stepper { display: flex; align-items: center; gap: 10px; }
.hint { margin: 8px 0 0; color: var(--dim); font-size: 14px; }
.err { margin: 8px 0 0; color: #ff7b7b; font-size: 14px; font-weight: 600; }

.check {
  display: flex; align-items: flex-start; gap: 11px;
  margin: 4px 0 24px; color: var(--muted); font-size: 15px;
}
.check input {
  flex: none; width: 20px; height: 20px; margin: 2px 0 0;
  accent-color: var(--accent);
}

.buy__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-top: 22px; border-top: 2px solid #0b0b0f;
  box-shadow: 0 -3px 0 rgba(255, 255, 255, .04) inset;
}
.total__label {
  display: block; color: var(--dim);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.total__value { font-size: 34px; font-weight: 900; letter-spacing: -.02em; }
.buy__note { margin: 18px 0 0; color: var(--dim); font-size: 14px; }

/* ── подвал ─────────────────────────────────────────────── */

.footer {
  position: relative; overflow: hidden;
  padding: 56px 0 30px;
  background: #08080b; border-top: 2px solid #000;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background: url("tex/deepslate.png") repeat; background-size: 56px 56px;
  opacity: .13;
}
.footer__inner {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; align-items: start;
}
.footer__ip { margin: 12px 0 0; color: var(--dim); font-size: 14.5px; font-weight: 600; }
.footer__tg { margin-top: 16px; padding: 12px 20px; font-size: 15px; }
.footer__tg:hover { color: #fff; }
.tg { flex: none; color: #45b0e3; }
.footer__links { display: grid; gap: 9px; }
.footer__links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.footer__whisper { display: flex; gap: 12px; align-items: flex-start; }
.footer__whisper p { margin: 0; color: var(--dim); font-size: 14.5px; font-style: italic; }
.footer__poppy { width: 22px; flex: none; opacity: .8; }
.footer__legal {
  position: relative;
  margin: 40px 0 0; padding-top: 20px;
  border-top: 2px solid #14141a;
  color: #4a4a58; font-size: 13px;
}

/* ── модалка оплаты ─────────────────────────────────────── */

.modal { padding: 0; border: 0; background: transparent; max-width: 100%; }
.modal::backdrop { background: rgba(5, 5, 8, .78); backdrop-filter: blur(3px); }
.modal__box { width: min(92vw, 460px); padding: 26px 26px 22px; }

.modal__x {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; color: var(--dim);
  font-size: 18px; cursor: pointer;
}
.modal__x:hover { color: #fff; }

.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
  padding-right: 30px;              /* место под крестик */
}
.yk {
  padding: 7px 14px; background: #0a5fff; color: #fff;
  font-size: 15px; font-weight: 900; letter-spacing: .02em;
  clip-path: var(--notch);
}
.modal__sum { font-size: 26px; font-weight: 900; }

.order { margin: 0 0 18px; display: grid; gap: 8px; }
.order > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.order dt { color: var(--dim); margin: 0; }
.order dd { margin: 0; font-weight: 700; text-align: right; word-break: break-all; }

.widget {
  display: grid; place-items: center; gap: 8px;
  padding: 30px 18px; margin-bottom: 16px;
  background: var(--slot);
  border: 2px dashed #35354a;
  text-align: center;
}
.widget p { margin: 0; color: var(--muted); font-weight: 700; font-size: 15px; }
.widget small { color: #55556a; font-size: 13px; }
.widget__spin {
  width: 22px; height: 22px;
  border: 4px solid #2c2c3a; border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal__note { margin: 0 0 20px; color: var(--dim); font-size: 13.5px; line-height: 1.55; }
.modal__note code { color: var(--accent-2); }
.modal__foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ── всплывашка ─────────────────────────────────────────── */

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  background: var(--panel); color: #fff;
  font-weight: 700; font-size: 15px;
  clip-path: var(--notch);
  filter: drop-shadow(var(--shadow));
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── появление при прокрутке ────────────────────────────── */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── адаптив ────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__god { order: -1; }
  .god { width: min(62%, 260px); }
  .nav { display: none; }
  .chip { margin-left: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar__inner { height: 58px; gap: 14px; }
  .brand__name { font-size: 17px; }
  .chip { font-size: 13px; padding: 8px 12px; }
  .hero__actions .mcbtn { flex: 1 1 100%; }
  .buy { padding: 24px 20px 22px; }
  .buy__foot { flex-direction: column; align-items: stretch; }
  .mcbtn--wide { width: 100%; }
  .meter__seg { font-size: 0; }
  .meter__bar { height: 34px; }
  .meter__ends {
    display: flex; justify-content: space-between;
    margin: 10px 0 0;
    color: var(--dim); font-size: 12px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
  }
}
