:root {
  --bg: #070c0a;
  --text: #eef4ef;
  --muted: #a8b9af;
  --dim: #8a9e94;
  --lime: #c8f542;
  --teal: #2fd6a0;
  --bad: #f07178;
  --ink: #0a110d;
  --line: rgba(238, 244, 239, 0.09);
  --line-2: rgba(238, 244, 239, 0.16);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --r: 22px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(200, 245, 66, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(200, 245, 66, 0.28); color: var(--text); }
a { color: var(--lime); text-underline-offset: 0.18em; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; box-shadow: var(--focus); }
:focus:not(:focus-visible) { outline: none; }

.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; display: block; }
.orb-a {
  width: 640px; height: 640px; left: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 244, 239, 0.055), rgba(238, 244, 239, 0) 62%);
  filter: blur(12px);
}
.orb-b {
  width: 680px; height: 680px; right: -280px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 244, 239, 0.04), rgba(238, 244, 239, 0) 64%);
  filter: blur(14px);
}
.grain {
  inset: -50%; opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.page { position: relative; z-index: 1; width: min(640px, 100% - 40px); margin: 0 auto; padding: 24px 0 72px; }
.page.narrow { width: min(420px, 100% - 40px); }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; padding: 6px 0 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none;
  color: var(--ink); background: var(--lime);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.mark .ic { width: 19px; height: 19px; stroke-width: 2.1; }
.mark.sm { width: 28px; height: 28px; border-radius: 9px; }
.mark.sm .ic { width: 16px; height: 16px; }

.nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nav a.ghost-link {
  color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
}
.nav a.ghost-link:hover { color: var(--text); background: var(--glass-2); text-decoration: none; }

h1 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.035em;
  font-size: clamp(26px, 4vw, 34px); line-height: 1.15; margin: 0 0 12px;
}
h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.03em;
  font-size: 18px; margin: 0 0 12px;
}
.muted { color: var(--muted); line-height: 1.5; }
.m0 { margin: 0; }
.big {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.03em; margin: 16px 0 0;
}
.fine { color: var(--dim); font-size: 13px; margin-top: 12px; }

.card {
  position: relative; border-radius: var(--r); padding: 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 40px rgba(0, 0, 0, 0.28);
  margin-bottom: 16px;
}
.card.hot {
  border-color: rgba(200, 245, 66, 0.28);
  background: rgba(200, 245, 66, 0.045);
}

.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 22px; border-radius: 16px; border: 0;
  font: inherit; font-weight: 700; font-size: 14.5px; letter-spacing: -0.005em;
  color: var(--text); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn.primary {
  color: var(--ink); background: var(--lime);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn.ghost { background: var(--glass); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: rgba(200, 245, 66, .45); background: rgba(200, 245, 66, .06); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.linkish {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px; padding: 8px 4px;
}
.linkish:hover { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  color: var(--muted); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.pill.active {
  color: var(--lime);
  background: rgba(200, 245, 66, 0.09);
  border-color: rgba(200, 245, 66, 0.22);
}
.pill.inactive, .pill.banned {
  color: var(--bad);
  background: rgba(240, 113, 120, 0.12);
  border-color: rgba(240, 113, 120, 0.25);
}

.sub-url {
  display: block; word-break: break-all; padding: 14px 16px; margin-top: 8px;
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); border-radius: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.55; color: #cfe3d6;
}
.code {
  font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.18em;
  font-weight: 600; color: var(--lime); margin: 12px 0;
}

.pay-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
}
.pay-secure {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--lime);
  background: rgba(200, 245, 66, 0.09); border: 1px solid rgba(200, 245, 66, 0.22);
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.pay-secure:hover {
  background: rgba(200, 245, 66, 0.16); border-color: rgba(200, 245, 66, 0.4);
  transform: translateY(-1px);
}
.pay-secure:active { transform: scale(0.97); }
.pay-secure.static { cursor: default; pointer-events: none; }
.pay-secure .ic { width: 15px; height: 15px; }

.modal-root {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 20px;
}
.modal-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  background: rgba(4, 8, 6, 0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-sheet {
  position: relative; z-index: 1; width: min(440px, 100%);
  margin: 0; max-height: min(90vh, 640px); overflow: auto;
  animation: modal-in .28s var(--ease) both;
}
.modal-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.modal-close {
  width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--muted); font-size: 22px; line-height: 1;
  cursor: pointer; flex: none;
}
.modal-close:hover { color: var(--text); border-color: rgba(200, 245, 66, .4); }
.secure-list {
  display: grid; gap: 10px; margin: 18px 0 14px; list-style: none;
}
.secure-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #cfdcd3; font-weight: 600;
}
.secure-list .ic { width: 18px; height: 18px; color: var(--lime); stroke-width: 2.4; margin-top: 1px; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.plans {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px;
}
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 18px 18px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s;
}
.plan:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 245, 66, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.plan.hot {
  border-color: rgba(200, 245, 66, 0.35);
  background: rgba(200, 245, 66, 0.07);
}
.plan .plan-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  color: var(--ink); background: var(--lime);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.plan .plan-label {
  font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .01em;
}
.plan .plan-price {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.05em;
  font-size: 40px; line-height: 1; margin: 6px 0 2px;
  font-variant-numeric: tabular-nums;
}
.plan .plan-price small {
  font-size: 20px; font-weight: 500; color: var(--muted); margin-left: 2px;
}
.plan .plan-per {
  color: var(--dim); font-size: 12.5px; font-weight: 600; margin-bottom: 10px;
}
.plan .plan-feats {
  display: grid; gap: 8px; margin: 4px 0 16px; flex: 1;
}
.plan .plan-feats li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #cfdcd3; list-style: none;
}
.plan .plan-feats .ic {
  width: 16px; height: 16px; color: var(--lime); stroke-width: 2.4;
}
.plan .btn {
  width: 100%; height: 48px; border-radius: 14px; font-size: 15px;
  margin-top: auto;
}
.plan .btn .btn-rub { font-variant-numeric: tabular-nums; }

label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
input {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35); color: var(--text); font: inherit; font-size: 15px;
  transition: border-color .2s, background .2s;
}
input:focus { outline: none; border-color: rgba(200, 245, 66, 0.45); background: rgba(0, 0, 0, 0.5); }
input[name="code"] {
  font-family: var(--display); font-size: 28px; letter-spacing: 0.35em;
  text-align: center; font-weight: 600;
}
.err { color: var(--bad); min-height: 1.25em; margin: 4px 0 12px; font-size: 14px; }
.auth-foot { margin-top: 18px; color: var(--muted); font-size: 14px; }
.auth-brand { margin-bottom: 24px; }

.oauth-block { margin: 18px 0 4px; }
.oauth-sep {
  display: flex; align-items: center; gap: 12px;
  color: var(--dim); font-size: 12.5px; font-weight: 600;
  margin-bottom: 14px;
}
.oauth-sep::before, .oauth-sep::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.oauth-btns { display: grid; gap: 10px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; border-radius: 16px; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 14.5px;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.oauth-btn:hover {
  text-decoration: none; transform: translateY(-1px);
  border-color: rgba(200, 245, 66, .45); background: rgba(200, 245, 66, .06);
}
.oauth-btn .mark-logo {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.oauth-btn.google .mark-logo { background: #fff; color: #ea4335; }
.oauth-btn.telegram .mark-logo { background: #2aabee; color: #fff; }
.oauth-btn.yandex .mark-logo { background: #fc3f1d; color: #fff; }
.oauth-btn.vk .mark-logo { background: #0077ff; color: #fff; }
button.oauth-btn {
  width: 100%;
  cursor: pointer;
  font: inherit;
}
button.oauth-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hidden { display: none !important; }

@media (max-width: 560px) {
  .page { width: calc(100% - 32px); }
  .btn { width: 100%; }
  .row .btn { flex: 1 1 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan .plan-price { font-size: 36px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
