/* Тёмная терминальная тема: чёрный фон с сеткой, фосфорно-зелёный акцент, моноширинный шрифт,
   строки развёртки и глитч на заголовке. */
:root {
  --bg: #040605;
  --bg-2: #080c0a;
  --glass: rgba(61, 255, 154, 0.03);
  --glass-strong: rgba(61, 255, 154, 0.07);
  --border: rgba(61, 255, 154, 0.14);
  --border-strong: rgba(61, 255, 154, 0.32);
  --text: #e3ece6;
  --muted: #8b9a91;
  --dim: #56635b;
  --green: #3dff9a;
  --cyan: #36e2ff;
  --red: #ff3d6e;
  --radius-lg: 6px;
  --radius: 4px;
  --pill: 4px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: var(--font-mono);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { background: var(--bg); scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(61, 255, 154, 0.11), transparent 70%),
    linear-gradient(rgba(61, 255, 154, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(61, 255, 154, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
main { flex: 1; }
::selection { background: var(--green); color: var(--bg); }

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

/* Плёночное зерно и строки развёртки поверх всего */
.grain, .scanlines {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.grain {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scanlines {
  opacity: 0.35;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 3px);
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--border);
  background: rgba(4, 6, 5, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.02em; }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--glass-strong);
  box-shadow: 0 0 18px rgba(61, 255, 154, 0.18), inset 0 0 12px rgba(61, 255, 154, 0.08);
}
.logo-mark::before {
  content: ">_";
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  text-shadow: 0 0 10px rgba(61, 255, 154, 0.7);
  animation: blink-soft 1.6s steps(1) infinite;
}

.nav { display: flex; gap: 4px; font-family: var(--font-mono); }
.nav a { padding: 8px 14px; border-radius: var(--radius); font-size: 13px; color: var(--muted); transition: color 0.15s, background 0.15s; }
.nav a::before { content: "./"; color: var(--dim); transition: color 0.15s; }
.nav a:hover { color: var(--green); background: var(--glass-strong); }
.nav a:hover::before { color: var(--green); }

.header-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

.lang { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-mono); }
.lang a { padding: 5px 10px; border-radius: 2px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--bg); background: var(--green); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn-light { color: #021007; background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 28px rgba(61, 255, 154, 0.35); }
.btn-light:hover { box-shadow: 0 0 0 1px var(--green), 0 0 44px rgba(61, 255, 154, 0.6); }
.btn-glass { border: 1px solid var(--border-strong); color: var(--green); background: rgba(4, 6, 5, 0.6); }
.btn-glass:hover { background: var(--glass-strong); border-color: var(--green); }
.btn-arrow { transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Подписи ---------- */
.pill-label, .prompt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--green);
}
.pill-label::before { content: "//"; color: var(--dim); }
.prompt { padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--glass); }
.prompt-sign { color: var(--dim); }
.dot { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s ease-in-out infinite; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(84vh, 820px);
  padding: 48px var(--gutter) 80px;
  text-align: center;
  isolation: isolate;
}
.hero-page { min-height: 70vh; }
.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; max-width: 980px; }

.hero-split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--max);
  width: 100%;
  text-align: left;
}
.hero-copy { display: grid; justify-items: start; gap: 26px; }
.hero-copy .actions { justify-content: flex-start; }

.display {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 32px rgba(61, 255, 154, 0.18);
  text-wrap: balance;
}
.hero-copy .display { font-size: clamp(40px, 6.2vw, 86px); }
.display-sm { font-size: clamp(30px, 5vw, 58px); }
.display-xl { font-size: clamp(96px, 20vw, 220px); line-height: 0.9; color: var(--green); text-shadow: 0 0 40px rgba(61, 255, 154, 0.45); }

/* Глитч: две копии текста со сдвигом по цвету, изредка дёргаются */
.glitch { isolation: isolate; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  text-shadow: none;
}
.glitch::before { color: var(--cyan); opacity: 0.8; transform: translate(-2px, 0); clip-path: inset(0 0 62% 0); animation: glitch-a 4.2s steps(1) infinite; }
.glitch::after { color: var(--red); opacity: 0.75; transform: translate(2px, 0); clip-path: inset(58% 0 0 0); animation: glitch-b 4.2s steps(1) infinite; }

.lead { max-width: 540px; color: var(--muted); font-size: clamp(16px, 1.7vw, 18px); }

/* Фоновое свечение (старая разметка сферы, теперь это мягкий зелёный ореол) */
.orb {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(820px, 120vw);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(61, 255, 154, 0.09), transparent 62%);
  pointer-events: none;
}
.orb-small { width: min(560px, 110vw); }
.orb span { display: none; }

/* Окно терминала на первом экране */
.term {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: rgba(3, 8, 5, 0.88);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(61, 255, 154, 0.12);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: left;
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: rgba(61, 255, 154, 0.04); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.term-bar i:first-child { background: var(--red); }
.term-bar i:nth-child(2) { background: #ffcc3d; }
.term-bar i:nth-child(3) { background: var(--green); }
.term-bar span { margin-left: 8px; font-size: 12px; color: var(--dim); }
.term-body { display: grid; gap: 8px; padding: 20px 20px 24px; min-height: 232px; }
.term-line { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; animation: line-in 0.01s linear forwards; }
.term-line:nth-child(1) { animation-delay: 0.3s; }
.term-line:nth-child(2) { animation-delay: 1.1s; }
.term-line:nth-child(3) { animation-delay: 1.8s; }
.term-line:nth-child(4) { animation-delay: 2.5s; }
.term-line:nth-child(5) { animation-delay: 3.6s; }
.term-line:nth-child(6) { animation-delay: 4.2s; }
.t-sign { color: var(--green); }
.t-ok { color: var(--green); }
.t-wait { color: #ffcc3d; }
.t-val { color: var(--cyan); }
.cursor { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.2em; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1s steps(1) infinite; }

/* ---------- Полоса с цифрами ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  width: calc(100% - 2 * var(--gutter));
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(4, 6, 5, 0.7);
}
.stat { display: grid; align-content: start; gap: 6px; padding: 22px 24px; font-family: var(--font-mono); }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.stat-label::before { content: "# "; color: var(--green); }
.stat-value { font-weight: 700; font-size: 15px; color: var(--text); }

/* ---------- Секции ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 140px) var(--gutter) 0; }
.section-narrow { max-width: 860px; }
.section-head { display: grid; justify-items: center; gap: 16px; margin-bottom: 48px; text-align: center; }
.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lead { max-width: 520px; color: var(--muted); }

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(61, 255, 154, 0.045), rgba(61, 255, 154, 0.01) 60%), rgba(4, 6, 5, 0.75);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 0 40px rgba(61, 255, 154, 0.08); }
.card h3 { margin-bottom: 10px; font-family: var(--font-mono); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.card p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; min-height: 260px; }
.step-num {
  margin-bottom: auto;
  padding-bottom: 40px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--green);
  text-shadow: 0 0 24px rgba(61, 255, 154, 0.45);
}
.step-num::before { content: "["; color: var(--dim); }
.step-num::after { content: "]"; color: var(--dim); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { min-height: 250px; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--glass-strong);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  text-shadow: 0 0 10px rgba(61, 255, 154, 0.6);
}
.feature-icon-1::before { content: "0x0"; }
.feature-icon-2::before { content: "<->"; }
.feature-icon-3::before { content: "$_"; }
.feature-icon-4::before { content: "***"; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(4, 6, 5, 0.75); transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--border-strong); background: rgba(61, 255, 154, 0.04); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: ">"; flex: none; color: var(--green); transition: transform 0.2s ease; }
.faq-item[open] summary::before { transform: rotate(90deg); }
.faq-item summary::after { content: "[+]"; flex: none; margin-left: auto; color: var(--dim); font-weight: 400; }
.faq-item[open] summary::after { content: "[-]"; color: var(--green); }
.faq-item p { padding: 0 22px 20px 46px; color: var(--muted); }

/* ---------- Финальный призыв ---------- */
.cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: calc(var(--max) - 2 * 48px);
  margin: clamp(80px, 12vw, 140px) var(--gutter) 0;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  text-align: center;
}
@media (min-width: 1296px) { .cta { margin-left: auto; margin-right: auto; } }
.cta .actions { margin-top: 12px; }
.cta-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -70%;
  width: 120%;
  aspect-ratio: 2;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(61, 255, 154, 0.22), transparent 62%);
}

/* ---------- Подвал ---------- */
.footer { margin-top: clamp(80px, 10vw, 120px); padding: 32px var(--gutter); border-top: 1px solid var(--border); font-family: var(--font-mono); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: var(--max); margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--green); }
.footer-copy { width: 100%; color: var(--dim); font-size: 12px; }

/* ---------- Анимации ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes blink-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes line-in { to { opacity: 1; } }
@keyframes glitch-a {
  0%, 88%, 100% { transform: translate(-2px, 0); clip-path: inset(0 0 62% 0); }
  90% { transform: translate(-7px, 1px); clip-path: inset(12% 0 70% 0); }
  93% { transform: translate(5px, -1px); clip-path: inset(40% 0 38% 0); }
  96% { transform: translate(-3px, 0); clip-path: inset(70% 0 6% 0); }
}
@keyframes glitch-b {
  0%, 88%, 100% { transform: translate(2px, 0); clip-path: inset(58% 0 0 0); }
  91% { transform: translate(6px, 0); clip-path: inset(30% 0 52% 0); }
  94% { transform: translate(-6px, 1px); clip-path: inset(78% 0 4% 0); }
  97% { transform: translate(3px, 0); clip-path: inset(5% 0 80% 0); }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { justify-items: center; }
  .hero-copy .actions { justify-content: center; }
  .term { max-width: 560px; justify-self: center; }
}

@media (max-width: 860px) {
  .header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-num { padding-bottom: 28px; }
}

@media (max-width: 560px) {
  .hero { min-height: auto; padding-top: 32px; padding-bottom: 56px; }
  .stat-value { font-size: 14px; }
  .actions { width: 100%; }
  .actions .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-icon { margin-bottom: 24px; }
  .stat { padding: 16px; }
  .term { font-size: 12px; }
  .term-body { min-height: 0; padding: 16px; }
  .faq-item p { padding-left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .term-line { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Покупка и заказ ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

.page { position: relative; isolation: isolate; max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 0; }
.orb-top { top: 120px; }
.page-head { position: relative; z-index: 2; display: grid; justify-items: center; gap: 20px; margin-bottom: 48px; text-align: center; }

.buy-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.buy-side { display: grid; gap: 16px; }
.panel { display: grid; gap: 18px; padding: 30px; }
.panel-title { font-family: var(--font-mono); font-size: 18px; font-weight: 700; }
.panel-title::before { content: "> "; color: var(--green); }
.hint { color: var(--muted); font-size: 15px; }

.stepper { display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); background: rgba(0, 0, 0, 0.4); }
.stepper-btn { height: 60px; border: 0; background: none; color: var(--green); font-family: var(--font-mono); font-size: 24px; cursor: pointer; border-radius: var(--radius); }
.stepper-btn:hover { background: var(--glass-strong); }
.stepper-input { width: 100%; border: 0; background: none; color: var(--text); text-align: center; font-family: var(--font-mono); font-weight: 800; font-size: 30px; -moz-appearance: textfield; appearance: textfield; }
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary { display: grid; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; color: var(--muted); }
.summary dd { margin: 0; }
.summary-total { padding-top: 12px; border-top: 1px dashed var(--border-strong); color: var(--text) !important; font-size: 18px; font-weight: 700; }
.summary-total dd { color: var(--green); text-shadow: 0 0 14px rgba(61, 255, 154, 0.45); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
button.btn { border: 0; cursor: pointer; }
button.btn-glass { border: 1px solid var(--border-strong); }

.field input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.45);
  color: var(--green);
  caret-color: var(--green);
  font: inherit;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input::placeholder { color: var(--dim); text-transform: none; letter-spacing: 0.04em; }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(61, 255, 154, 0.15); }
.form-error { color: var(--red); font-family: var(--font-mono); font-size: 13px; }
.form-error::before { content: "[ ERR ] "; }

.order-wrap { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.order-panel { gap: 28px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; font-family: var(--font-mono); }
.progress-step { display: grid; gap: 10px; color: var(--dim); font-size: 13px; }
.progress-dot { height: 4px; border-radius: 1px; background: var(--border); }
.progress-step.is-done { color: var(--green); }
.progress-step.is-done .progress-dot { background: var(--green); box-shadow: 0 0 12px rgba(61, 255, 154, 0.6); }
.progress-step.is-current .progress-dot { background: linear-gradient(90deg, var(--green), transparent); animation: pulse 1.6s ease-in-out infinite; }
.state { display: grid; justify-items: center; gap: 14px; padding: 12px 0; text-align: center; }
.state h2 { font-family: var(--font-mono); }
.loader { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--green); animation: spin 0.9s linear infinite; }
.delivery { display: grid; gap: 14px; justify-items: center; width: 100%; }
.delivery-text { width: 100%; margin: 0; padding: 20px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: rgba(0, 0, 0, 0.5); color: var(--green); font-family: var(--font-mono); font-size: 15px; white-space: pre-wrap; word-break: break-word; text-align: left; }
.order-keep { padding-top: 18px; border-top: 1px dashed var(--border); color: var(--muted); font-size: 14px; text-align: center; }
.order-keep strong { color: var(--green); font-family: var(--font-mono); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .buy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .panel { padding: 24px 20px; }
  .page { padding-top: 24px; }
  .progress-step { font-size: 11px; }
}

/* ---------- Кнопка поддержки ---------- */
.support-fab {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(4, 6, 5, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 28px rgba(61, 255, 154, 0.2);
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}
.support-fab:hover { transform: translateY(-2px); background: var(--glass-strong); box-shadow: 0 0 40px rgba(61, 255, 154, 0.4); }
.support-fab-sign {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 13px;
}
@media (max-width: 560px) {
  .support-fab { padding: 11px 14px; font-size: 12px; }
}
