:root {
  --bg: #f2f2f7;
  --surface: rgba(255, 255, 255, 0.72);
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --yellow: #ffd60a;
  --yellow-ink: #1d1d1f;
  --black: #000;
  --fill: #f5f5f7;
  --sidebar: 240px;
  --danger: #ff3b30;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(255, 214, 10, 0.16), transparent 50%),
    radial-gradient(700px 400px at 100% 0%, rgba(0, 0, 0, 0.04), transparent 46%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 { letter-spacing: -0.035em; font-weight: 600; }

.logo {
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--yellow);
  font-size: 20px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.logo .sms { color: var(--yellow); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px 8px;
}
.nav-actions { display: flex; gap: 8px; }

.btn {
  border: 0;
  border-radius: 980px;
  padding: 10px 16px;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  font-weight: 560;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn.ghost { background: rgba(0,0,0,.06); color: var(--ink); }
.btn.gold { background: var(--yellow); color: var(--yellow-ink); }
.btn.danger { background: #fff; color: var(--danger); box-shadow: inset 0 0 0 1px rgba(255,59,48,.25); }
.btn.small { padding: 6px 10px; font-size: 13px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 8px 22px 72px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0 20px;
}
.kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero h1 { font-size: 48px; line-height: 1.05; margin: 10px 0 14px; }
.hero p.lead { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 460px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pill {
  background: rgba(0,0,0,.05);
  color: var(--ink);
  padding: 6px 11px;
  border-radius: 980px;
  font-size: 13px;
}

.auth-card, .card {
  background: var(--surface);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-card { padding: 20px; }
.tabs {
  display: flex;
  background: rgba(0,0,0,.05);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px;
  border-radius: 11px;
  cursor: pointer;
}
.tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--fill);
  border: 1px solid transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 12px;
  outline: none;
}
.field input:focus, .field select:focus { background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--danger); font-size: 13px; min-height: 16px; }
.okmsg { color: var(--ink); font-size: 13px; }

.featured { padding-top: 28px; }
.featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.featured h2 { margin: 0; font-size: 28px; }
.featured-head .meta { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-top { display: flex; align-items: center; gap: 12px; }
.svc-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.svc b { display: block; font-size: 15px; }
.price { font-weight: 650; font-size: 15px; margin-top: auto; }
.price.wait { color: var(--muted); font-weight: 500; font-size: 13px; }
.stock { color: var(--muted); font-size: 12px; }
.svc.ticker { gap: 6px; }
.ticker-price {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}
.tick { font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tick.up { color: #248a3d; }
.tick.down { color: #d70015; }
.tick.flat { color: var(--muted); font-weight: 500; }
.svc.flash-up { animation: flashUp .7s ease; }
.svc.flash-down { animation: flashDown .7s ease; }
@keyframes flashUp {
  0% { background: #d8f5de; }
  100% { background: #fff; }
}
@keyframes flashDown {
  0% { background: #ffe3e3; }
  100% { background: #fff; }
}

.support-hero { padding: 28px 0 8px; max-width: 560px; }
.support-hero h1 { font-size: 40px; line-height: 1.08; margin: 8px 0 12px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.support-card {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.support-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(34, 158, 217, 0.16); }
.tg-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.28);
}
.support-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.support-app { font-size: 12px; color: #229ED9; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 650; }
.support-card strong { font-size: 22px; letter-spacing: -0.04em; }
.support-go {
  flex-shrink: 0;
  background: #229ED9;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 980px;
}
.support-note { margin-top: 22px; }

.site-footer {
  margin-top: 56px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.site-footer .logo { font-size: 18px; display: inline-block; margin-bottom: 8px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.site-footer h4 { margin: 0 0 8px; font-size: 13px; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { color: var(--muted); font-size: 13px; padding: 3px 0; }
.foot-copy {
  grid-column: 1 / -1;
  padding-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.app {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  min-height: 100vh;
}
.side {
  padding: 22px 14px;
  background: rgba(255,255,255,.55);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
}
.side .logo { display: block; padding: 4px 10px 22px; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side a, .side button.link {
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
}
.side a.on, .side button.link.on, .side a:hover, .side button.link:hover {
  background: rgba(0,0,0,.06);
  color: var(--ink);
}
.main { padding: 28px 32px 48px; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.balance-chip {
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 8px 12px;
  border-radius: 980px;
  font-weight: 650;
}
.id-chip { color: var(--muted); font-size: 13px; margin-top: 4px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 16px; }
.kpi span { color: var(--muted); font-size: 12px; }
.kpi strong { display: block; font-size: 26px; margin-top: 6px; letter-spacing: -0.04em; }

.shop { display: grid; grid-template-columns: 360px 1fr; gap: 14px; }
.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.step-btn {
  border: 0;
  background: #fff;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 980px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.step-btn span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  margin-right: 6px;
  font-size: 12px;
}
.step-btn.on { background: var(--yellow); color: #111; }
.step-btn.on span { background: #111; color: var(--yellow); }
.step-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.step-arrow { color: var(--muted); font-weight: 700; }
.wizard-pane .list { max-height: 68vh; }
.list { max-height: 640px; overflow: auto; padding: 12px; }
.list-title { margin: 4px 4px 12px; font-size: 16px; }
.svc-row {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 8px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.svc-row.hot { background: rgba(255, 214, 10, 0.08); }
.svc-row:hover, .svc-row.on { background: rgba(0,0,0,.06); }
.svc-row-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.svc-logo.sm { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.svc-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.svc-mark .svc-logo { position: relative; z-index: 1; }
.svc .svc-mark { width: 40px; height: 40px; }
.svc-fallback {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: #111;
  color: #ffd60a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.svc-texts { display: flex; flex-direction: column; min-width: 0; }
.svc-title { font-weight: 650; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-sub { color: var(--muted); font-size: 12px; }
.hot-tag {
  flex-shrink: 0;
  background: var(--yellow);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 980px;
}
.buy-box { padding: 20px; }
.sel-path {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
}
.sel-country {
  display: inline;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 4px;
}
.phone-xl { font-size: 28px; letter-spacing: -0.03em; font-weight: 650; }
.copy-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.copy-icon:hover { background: rgba(0,0,0,.1); transform: translateY(-1px); }
.copy-icon.copied { background: #e8f8ee; color: #1a7f37; }
.copy-icon svg { width: 16px; height: 16px; display: block; }
.code-xl {
  font-size: 34px;
  letter-spacing: 0.16em;
  background: var(--fill);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
.meta { color: var(--muted); font-size: 13px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.table th { color: var(--muted); font-weight: 500; }
.badge { padding: 3px 8px; border-radius: 980px; font-size: 11px; background: var(--fill); }
.badge.waiting { background: #fff6c2; }
.badge.received { background: #ececec; }
.badge.cancelled, .badge.expired { color: var(--danger); }
.hidden { display: none !important; }

.profit-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  background: #fff8cc;
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0 18px;
}
.profit-box span { display: block; color: var(--muted); font-size: 12px; }
.profit-box b { font-size: 20px; letter-spacing: -0.04em; }

.buy-box .price { font-size: 32px; font-weight: 650; letter-spacing: -0.04em; margin: 8px 0 4px; }
.tier-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 16px; max-height: 340px; overflow: auto; }
.tier {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--fill);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
}
.tier.on { background: #fff6c2; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.12); }
.tier-name { font-weight: 650; }
.tier-stock { grid-column: 1; color: var(--muted); font-size: 12px; }
.tier-price { grid-row: 1 / span 2; align-self: center; font-weight: 700; font-size: 18px; }

.sms-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}
.sms-sheet {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.sms-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.sms-timers { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; color: var(--muted); font-size: 13px; }
.sms-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(28,28,30,.92);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  z-index: 40;
  display: none;
}

@media (max-width: 960px) {
  .hero, .shop, .app, .site-footer, .support-grid { grid-template-columns: 1fr; }
  .service-grid, .kpis, .grid-2 { grid-template-columns: 1fr 1fr; }
  .side { position: relative; height: auto; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .service-grid, .kpis, .grid-2, .profit-box { grid-template-columns: 1fr; }
  .support-card { flex-wrap: wrap; }
  .support-go { margin-left: auto; }
}
