:root {
  --bg: #0d0f14;
  --surface: #161922;
  --surface2: #1e2230;
  --accent: #4f6ef7;
  --accent2: #38d9a9;
  --text: #e8eaf0;
  --muted: #7a7f96;
  --border: #252a3a;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  letter-spacing: -0.4px;
}

.logo .brand-main { color: var(--text); }

.brand-x {
  color: var(--accent2);
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(56,217,169,.35);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.footer-links a:hover { color: var(--text); }

.btn-nav,
.btn-primary,
.btn-plan,
.btn-pay,
.btn-apply {
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s, box-shadow .2s, border-color .2s;
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
}

.btn-nav:hover,
.btn-plan:hover { opacity: .88; transform: translateY(-1px); }

.hero {
  position: relative;
  text-align: center;
  padding: 110px 20px 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(79,110,247,.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79,110,247,.15);
  border: 1px solid rgba(79,110,247,.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: #a0b0ff;
  margin-bottom: 28px;
}

.hero h1 {
  position: relative;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero-title-x {
  color: var(--accent2);
  text-shadow: 0 0 24px rgba(56,217,169,.45);
}

.hero p {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.hero-map {
  position: relative;
  max-width: 700px;
  width: min(92vw, 700px);
  margin: 42px auto 0;
  display: block;
  border-radius: 18px;
  opacity: .95;
  filter: drop-shadow(0 0 32px rgba(79,110,247,.18));
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stat {
  flex: 1;
  min-width: 160px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}

.stat-num .accent { color: var(--accent); }
.stat-unit { font-size: 16px; color: var(--muted); }

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

section { padding: 90px 20px; }

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

.pricing-card.popular {
  border-color: var(--accent);
  background: linear-gradient(160deg, #1c2340 0%, var(--surface) 100%);
  box-shadow: 0 0 40px rgba(79,110,247,.18);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.plan-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.plan-price .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
}

.plan-price .currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--muted);
}

.plan-price .per { font-size: 13px; color: var(--muted); }

.plan-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 36px;
}

.plan-note .save { color: var(--accent2); font-weight: 700; }

.btn-plan {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border: none;
}

.btn-plan-primary { background: var(--accent); color: #fff; }
.btn-plan-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }

.payment-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  opacity: .75;
  font-size: 14px;
  color: var(--muted);
  align-items: center;
  font-weight: 600;
}

.pay-badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.steps-section { background: var(--surface); padding: 80px 20px; }

.steps-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.step-icon { font-size: 36px; margin-bottom: 16px; }

.step-num {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--muted); }

.step-action { text-align: center; margin-top: 40px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(79,110,247,.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(79,110,247,.55);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s;
}

.feature-card:hover { border-color: rgba(79,110,247,.5); }

.feat-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(79,110,247,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feat-body p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.modal-overlay.open { display: flex; }

.account-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.account-modal-overlay.is-open {
  display: flex;
}

.account-modal {
  position: relative;
  width: min(100%, 430px);
  padding: 30px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(104, 240, 200, 0.14), transparent 34%),
    #151c27;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.account-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.account-modal__text {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

.account-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-modal h2 {
  margin: 0 0 12px;
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-primary-btn,
.account-secondary-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.account-primary-btn {
  color: #07110f;
  border: 0;
  background: linear-gradient(135deg, var(--accent), #a7ffe5);
}

.account-secondary-btn {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  margin: 20px;
  animation: fadeUp .25s ease;
}

@keyframes fadeUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }

.modal-plan-title {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.modal-plan-price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }

.form-group label,
.payment-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  height: 46px;
}

.form-group input:focus { border-color: var(--accent); }

.promo-control { margin-bottom: 16px; }

.promo-row {
  display: grid;
  grid-template-columns: 1fr 122px;
  gap: 10px;
  align-items: stretch;
}

.promo-row input {
  width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  height: 46px;
}

.btn-apply {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  height: 46px;
  line-height: 46px;
  align-self: stretch;
}

.btn-apply:hover { border-color: var(--accent); }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.radio-option {
  flex: 1;
  min-width: 120px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: border-color .2s, background .2s;
  user-select: none;
}

.radio-option.selected {
  border-color: var(--accent);
  background: rgba(79,110,247,.1);
  color: var(--accent);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}

.checkbox-row input { margin-top: 2px; accent-color: var(--accent); }
.checkbox-row a { color: var(--accent); text-decoration: none; }

.btn-pay {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(79,110,247,.35);
}

.btn-pay:hover { opacity: .88; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; }
.footer-copy { font-size: 13px; color: var(--muted); }

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 20px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
}

.legal-card h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.legal-card h2 { font-size: 20px; margin: 28px 0 10px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 15px; }
.legal-card ul { padding-left: 20px; margin-top: 10px; }
.legal-muted { color: var(--muted); margin-bottom: 20px; }

@media (max-width: 760px) {
  .site-header { padding: 0 20px; }
  .nav-links { display: none; }
  .btn-nav { padding: 9px 14px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stats .stat:nth-child(2) .stat-num .accent {
    display: block;
    margin-top: 2px;
  }
  .pricing-card { max-width: 100%; }
  .site-footer { padding: 30px 20px; flex-direction: column; align-items: flex-start; }
  .modal { padding: 32px 24px; }
  .promo-row { grid-template-columns: 1fr; }
  .btn-apply { width: 100%; }
  .legal-card { padding: 28px 22px; }
}

.help-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 20px 90px;
}

.help-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 54px 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 217, 169, .14), transparent 34%),
    radial-gradient(circle at 95% 0%, rgba(79, 110, 247, .18), transparent 34%),
    var(--surface);
}

.help-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.help-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}

.help-card,
.support-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.help-card {
  padding: 28px;
}

.help-card__icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(79, 110, 247, .13);
  font-size: 24px;
}

.help-card h2,
.support-card h2 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.help-card p,
.support-card p {
  color: var(--muted);
  font-size: 14px;
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(79, 110, 247, .12), rgba(56, 217, 169, .08)), var(--surface);
}

.support-card__kicker {
  margin-bottom: 8px;
  color: var(--accent2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.support-card__mail {
  flex-shrink: 0;
  border: 1px solid rgba(56, 217, 169, .42);
  border-radius: 14px;
  padding: 14px 18px;
  background: rgba(56, 217, 169, .1);
  color: var(--accent2);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .help-page {
    padding-top: 36px;
  }

  .help-hero {
    padding: 34px 22px;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }

  .support-card__mail {
    width: 100%;
    text-align: center;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

.stats {
  width: min(100% - 40px, 820px);
  margin: 0 auto 42px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.server-select-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.server-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .18s ease;
}

.server-option:hover,
.server-option.is-selected {
  border-color: rgba(79, 110, 247, .72);
  background: rgba(79, 110, 247, .1);
}

.server-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.server-option__main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.server-option__main strong {
  color: var(--text);
  font-size: 14px;
}

.server-option__main small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.server-load {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.server-load::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.server-load--green {
  color: #38d9a9;
  background: rgba(56, 217, 169, .11);
}

.server-load--yellow {
  color: #ffd166;
  background: rgba(255, 209, 102, .11);
}

.server-load--red {
  color: #ff7d7d;
  background: rgba(255, 125, 125, .11);
}

.payment-page {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 68px 0 90px;
}

.payment-hero {
  padding: 0 0 34px;
  text-align: center;
}

.payment-hero h1 {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.payment-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

.payment-kicker {
  margin-bottom: 9px;
  color: var(--accent2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  padding: 0;
}

.payment-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 217, 169, .11), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(79, 110, 247, .12), transparent 34%),
    var(--surface);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .28);
}

.payment-card--main {
  padding: 34px;
}

.payment-card--summary {
  align-self: start;
  padding: 30px;
}

.payment-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.payment-card h2 {
  max-width: 520px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
  letter-spacing: -.04em;
}

.payment-amount {
  color: var(--accent2);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  white-space: nowrap;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
}

.payment-method {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.payment-method.is-active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(79, 110, 247, .28);
}

.payment-view {
  display: none;
}

.payment-view.is-active {
  display: grid;
  gap: 18px;
}

.fake-qr {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
  width: min(100%, 286px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(56, 217, 169, .28);
  border-radius: 22px;
  background: #f6fffc;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22), 0 0 34px rgba(56, 217, 169, .12);
}

.fake-qr span {
  border-radius: 3px;
  background: transparent;
}

.fake-qr span.is-dark {
  background: #07120f;
}

.payment-view p,
.payment-hint,
.topup-notes {
  color: var(--muted);
  font-size: 14px;
}

.payment-link-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
}

.payment-link-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.payment-link-box code {
  white-space: normal;
  word-break: break-all;
  color: var(--accent2);
}

.payment-qr-box {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
}

.payment-qr-box img {
  width: min(100%, 260px);
  height: auto;
}

.payment-qr-caption {
  text-align: center;
}

.payment-open-link {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.payment-actions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.payment-actions .btn-pay {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.payment-back-link {
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.payment-back-link:hover {
  color: var(--text);
}

.payment-summary {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.payment-summary div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.payment-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.payment-summary dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.topup-select-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.topup-select {
  width: 100%;
  min-height: 54px;
  margin-bottom: 20px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.topup-options {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.topup-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.topup-option.is-selected {
  border-color: var(--accent);
  background: rgba(79, 110, 247, .1);
}

.topup-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.topup-option span {
  display: grid;
  gap: 2px;
}

.topup-option small {
  color: var(--muted);
}

.topup-option b {
  color: var(--accent2);
  white-space: nowrap;
}

.topup-notes {
  padding-left: 18px;
}

.topup-notes li + li {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-card__head {
    display: grid;
  }
}

@media (max-width: 640px) {
  .stats {
    width: min(100% - 24px, 820px);
  }

  .server-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .server-load {
    grid-column: 2;
    justify-self: start;
  }

  .payment-page {
    width: min(100% - 24px, 1120px);
    padding-top: 42px;
  }

  .payment-card--main,
  .payment-card--summary {
    padding: 24px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }
}

/* Order modal mobile scroll and promo state fixes */
.modal-overlay.open {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.server-option--family {
  border-color: rgba(56, 217, 169, .72);
  background: rgba(56, 217, 169, .1);
}

.password-reset-page {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 78px 0 96px;
}

.password-reset-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 217, 169, .16), transparent 36%),
    radial-gradient(circle at 100% 0, rgba(79, 110, 247, .18), transparent 36%),
    var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.password-reset-card h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.password-reset-card > p:not(.auth-modal__kicker) {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
}

.password-reset-form {
  display: grid;
  gap: 16px;
}

.password-reset-back {
  justify-self: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.password-reset-back:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-start;
    padding: 12px;
  }

  .modal {
    max-height: calc(100dvh - 24px);
    margin: 0;
    padding: 28px 20px;
  }

  .radio-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkbox-row {
    padding-bottom: 2px;
  }

  .password-reset-page {
    width: min(100% - 24px, 720px);
    padding: 42px 0 70px;
  }

  .password-reset-card {
    padding: 30px 22px;
    border-radius: 22px;
  }
}
