:root {
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #b7c0d8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #64d2ff;
  --accent-2: #9b8cff;
  --good: #70e0a1;
  --warn: #ffd36a;
  --danger: #ff7a7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(100, 210, 255, 0.25), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(155, 140, 255, 0.22), transparent 34rem),
    linear-gradient(145deg, #07101f 0%, #0b1020 52%, #101827 100%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.page-shell {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 26px 0 54px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(10, 16, 32, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 28%;
  height: 280px;
  background: linear-gradient(90deg, transparent, rgba(100,210,255,0.20), rgba(155,140,255,0.18), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.topbar,
.hero-grid,
.section-head,
.card-head,
.status-row,
.card-actions,
.section-tools,
.load-more-wrap {
  display: flex;
}

.topbar {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
}

.hero-grid {
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  padding: 78px 8px 18px;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 700px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 22px var(--good);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.075em;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.055em;
}
h3 {
  margin: 6px 0 0;
  font-size: 20px;
  letter-spacing: -0.035em;
}
p { color: var(--muted); line-height: 1.65; }
.hero-copy p { max-width: 640px; font-size: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
  white-space: nowrap;
}
.primary-btn {
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), #b3f0ff);
  box-shadow: 0 14px 34px rgba(100, 210, 255, 0.22);
}
.secondary-btn {
  color: var(--text);
  background: var(--panel-strong);
  border: 1px solid var(--line);
}
.ghost-btn {
  color: var(--text);
  min-height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}
.small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover { transform: translateY(-1px); }
.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active { transform: translateY(0); opacity: .86; }

.status-card {
  flex: 0 0 290px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}
.status-row {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.status-row:last-child { border-bottom: 0; }
.status-row strong { color: var(--text); font-size: 18px; }
.status-row.accent-row {
  margin-top: 4px;
  padding: 15px 0 0;
  border-bottom: 0;
}
.status-row.accent-row strong {
  font-size: 24px;
  letter-spacing: .03em;
}
.status-row.accent-row span { color: rgba(255,255,255,.82); }

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.info-strip > div,
.servers-section,
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
}
.info-strip > div { padding: 20px; }
.info-strip b { display: block; margin-bottom: 8px; }
.info-strip p { margin-bottom: 0; font-size: 14px; }

.servers-section,
.faq {
  padding: 28px;
  margin-top: 18px;
}
.section-head {
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-head p { margin-bottom: 0; }
.section-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.search-input {
  width: min(330px, 100%);
  height: 42px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background: rgba(255,255,255,0.08);
}
.search-input::placeholder { color: rgba(255,255,255,0.48); }
.search-input:focus { border-color: rgba(100,210,255,0.65); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  font-weight: 800;
}
.tab span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  margin-left: 8px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.1);
}
.tab.active {
  color: #06121f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #b3f0ff);
}
.tab.active span { color: #06121f; background: rgba(6,18,31,0.12); }

.loader,
.error-box {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
}
.error-box { color: #ffdada; border-color: rgba(255,122,122,.45); }

.proxy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.proxy-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.055));
  box-shadow: 0 14px 45px rgba(0,0,0,0.16);
}
.card-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.proxy-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.proxy-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.proxy-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #06121f;
  background: var(--warn);
  font-size: 12px;
  font-weight: 900;
}
.proxy-badge.other { color: var(--text); background: rgba(255,255,255,.12); }
.proxy-meta {
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 14px;
  word-break: break-word;
}
.qr-wrap {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.96);
}
.qr-img {
  width: 170px;
  height: 170px;
  display: block;
}
.card-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.card-note {
  margin: 12px 0 0;
  font-size: 13px;
}
.load-more-wrap {
  justify-content: center;
  margin-top: 22px;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 900;
}
.faq p { margin: 12px 0 0; }
code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
  color: #d9f5ff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 16, 32, 0.92);
  box-shadow: var(--shadow);
  transition: opacity .18s ease, transform .18s ease;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .hero-grid,
  .section-head { flex-direction: column; align-items: stretch; }
  .status-card { flex-basis: auto; }
  .info-strip { grid-template-columns: 1fr; }
  .proxy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-tools { justify-content: stretch; }
  .search-input { width: 100%; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 20px, var(--container)); padding-top: 10px; }
  .hero { padding: 14px; border-radius: 26px; }
  .topbar { align-items: flex-start; }
  .hero-grid { padding-top: 48px; }
  .hero-actions > *, .card-actions > * { width: 100%; }
  .servers-section, .faq { padding: 18px; border-radius: 24px; }
  .proxy-grid { grid-template-columns: 1fr; }
  .qr-wrap { min-height: 168px; }
  .qr-img { width: 150px; height: 150px; }
}

.promo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 18px 0;
  padding: 28px;
  border: 1px solid rgba(255, 211, 106, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 211, 106, 0.18), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.055));
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
}
.promo-card h2 { margin-bottom: 12px; }
.promo-card p { margin-bottom: 0; }
.promo-content > p { max-width: 740px; }
.promo-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.promo-options article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.075);
}
.promo-options strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.promo-options p { font-size: 14px; }
.support-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 18px 0 28px;
  padding: 24px 28px;
  border: 1px solid rgba(102, 177, 255, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(102, 177, 255, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  box-shadow: 0 18px 60px rgba(0,0,0,0.16);
  backdrop-filter: blur(16px);
}
.support-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 36px);
}
.support-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}
.support-main-btn {
  flex: 0 0 auto;
  min-width: 190px;
  justify-content: center;
}

@media (max-width: 920px) {
  .support-card { flex-direction: column; align-items: stretch; }
  .support-main-btn { width: 100%; }
}

@media (max-width: 620px) {
  .promo-card, .support-card { padding: 18px; border-radius: 24px; }
  .promo-options { grid-template-columns: 1fr; }
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.service-actions > * {
  flex: 1 1 120px;
}
@media (max-width: 620px) {
  .service-actions > * { width: 100%; }
}

/* Mobile polish: ровные отступы, отсутствие горизонтального скролла и читаемый заголовок */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1 {
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.tab {
  max-width: 100%;
  text-align: center;
}

.proxy-card,
.promo-card,
.support-card,
.info-strip > div,
.servers-section,
.status-card {
  min-width: 0;
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    padding: 10px 10px 40px;
  }

  .hero,
  .promo-card,
  .support-card,
  .servers-section,
  .info-strip > div {
    border-radius: 22px;
  }

  .topbar {
    align-items: center;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    font-size: 15px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .ghost-btn {
    min-height: 38px;
    padding: 0 14px;
    flex: 0 0 auto;
  }

  .hero-grid {
    gap: 18px;
    padding: 42px 0 8px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.11em;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(34px, 10.7vw, 48px);
    line-height: 1.08;
    letter-spacing: 0.004em;
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  h3 {
    font-size: 18px;
    letter-spacing: -0.01em;
  }

  p,
  .hero-copy p {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions,
  .card-actions,
  .service-actions,
  .section-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    white-space: normal;
    min-width: 0;
  }

  .hero-actions > *,
  .card-actions > *,
  .service-actions > *,
  .section-tools > * {
    width: 100%;
  }

  .status-card {
    padding: 14px;
    border-radius: 20px;
  }

  .status-row {
    gap: 12px;
    padding: 12px 0;
  }

  .info-strip {
    gap: 10px;
    margin: 12px 0;
  }

  .promo-card,
  .support-card,
  .servers-section {
    margin: 12px 0;
    padding: 16px;
  }

  .support-card {
    gap: 14px;
  }

  .support-copy h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .promo-options {
    gap: 10px;
  }

  .promo-options article {
    padding: 15px;
    border-radius: 18px;
  }

  .section-head {
    gap: 14px;
  }

  .search-input {
    width: 100%;
    height: 44px;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tab {
    width: 100%;
    justify-content: center;
  }

  .proxy-card {
    padding: 15px;
    border-radius: 20px;
  }

  .card-head {
    gap: 10px;
  }

  .proxy-title {
    max-width: 100%;
  }

  .proxy-badge {
    padding: 6px 9px;
    font-size: 11px;
  }

  .proxy-meta {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .qr-wrap {
    min-height: 160px;
    border-radius: 18px;
  }

  .qr-img {
    width: 144px;
    height: 144px;
  }

  .toast {
    width: calc(100% - 24px);
    max-width: 420px;
    border-radius: 18px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .page-shell {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero,
  .promo-card,
  .support-card,
  .servers-section,
  .info-strip > div {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(31px, 10.2vw, 38px);
    letter-spacing: 0.006em;
  }

  .brand {
    font-size: 14px;
  }

  .ghost-btn {
    padding: 0 12px;
    font-size: 13px;
  }
}

.promo-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  padding: 28px;
  margin-top: 18px;
}
.promo-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.promo-options article,
.share-preview-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
}
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.support-main-btn { min-width: 190px; }

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(8px);
}
.share-sheet {
  position: relative;
  z-index: 1;
  width: min(100% - 24px, 1040px);
  max-height: min(100vh - 30px, 920px);
  overflow: auto;
  margin: 16px auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05)), rgba(10, 16, 32, 0.96);
  box-shadow: var(--shadow);
}
.share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.share-head h3 {
  font-size: 30px;
  margin-bottom: 8px;
}
.share-head p { margin-bottom: 0; }
.share-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 18px;
}
.share-options-grid,
.share-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.share-options-grid { margin-bottom: 16px; }
.share-option {
  text-align: left;
  min-height: 124px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 18px;
}
.share-option strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}
.share-option span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}
.share-option.disabled,
.share-option:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.share-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.share-preview-head h4 {
  margin: 0;
  font-size: 18px;
}
.share-caption {
  width: 100%;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 12, 24, 0.94);
  color: var(--text);
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}
.modal-open { overflow: hidden; }

@media (max-width: 1024px) {
  .info-strip,
  .promo-options,
  .share-options-grid,
  .share-preview-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    display: grid;
  }
  .status-card { flex: 1 1 auto; }
  .support-card,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }
  .section-tools {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, var(--container));
    padding: 16px 0 32px;
  }
  .hero {
    padding: 16px;
    border-radius: 26px;
  }
  .hero-grid {
    gap: 18px;
    padding: 34px 0 6px;
  }
  h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }
  .hero-copy p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-actions,
  .service-actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .small,
  .support-main-btn {
    width: 100%;
  }
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .section-head,
  .servers-section,
  .promo-card,
  .support-card,
  .share-sheet,
  .info-strip > div {
    padding-left: 18px;
    padding-right: 18px;
  }
  .search-input {
    width: 100%;
  }
  .tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .share-head,
  .share-preview-head {
    flex-direction: column;
    align-items: stretch;
  }
  .share-sheet {
    width: min(100% - 10px, 1040px);
    margin: 6px auto;
    padding-top: 18px;
    padding-bottom: 18px;
    max-height: calc(100vh - 12px);
  }
  .share-option {
    min-height: auto;
  }
  .share-caption {
    min-height: 180px;
  }
}

.share-art-preview {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  object-fit: cover;
  margin-bottom: 12px;
}
.share-art-preview.story {
  aspect-ratio: 9 / 16;
}
.share-art-preview.post {
  aspect-ratio: 1 / 1;
}

.share-option.compact {
  min-height: 96px;
}
.share-art-card {
  display: flex;
  flex-direction: column;
}
.share-art-link {
  display: block;
  margin-bottom: 14px;
}
.share-art-link:hover .share-art-preview {
  transform: translateY(-1px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
}
.share-art-preview {
  transition: transform .18s ease, box-shadow .18s ease;
  margin-bottom: 0;
}
.share-card-actions,
.share-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.share-social-block {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  padding: 18px;
}
.share-social-block h4 {
  margin: 0 0 8px;
  font-size: 18px;
}
.share-social-block p {
  margin-bottom: 14px;
  font-size: 14px;
}
.share-social-actions .secondary-btn.small {
  min-width: 112px;
}
@media (max-width: 720px) {
  .share-card-actions,
  .share-social-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* === PUPMOD visual refresh v1.9.0 === */
.pupmod-theme {
  --bg: #070713;
  --panel: rgba(18, 19, 42, 0.78);
  --panel-strong: rgba(31, 32, 66, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --text: #f8f7ff;
  --muted: #b9b6d8;
  --line: rgba(160, 132, 255, 0.22);
  --accent: #7df9ff;
  --accent-2: #a855f7;
  --accent-3: #ff4fd8;
  --good: #6cffb0;
  --warn: #ffe17a;
  --danger: #ff7b95;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.46);
  --radius: 30px;
  --radius-sm: 18px;
  --container: 1200px;
}

body.pupmod-theme {
  position: relative;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 7%, rgba(255, 79, 216, 0.20), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(125, 249, 255, 0.20), transparent 32rem),
    radial-gradient(circle at 52% 105%, rgba(168, 85, 247, 0.22), transparent 34rem),
    linear-gradient(145deg, #05050d 0%, #080817 42%, #111128 100%);
}

body.pupmod-theme::before,
body.pupmod-theme::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.pupmod-theme::before {
  opacity: .36;
  background-image:
    linear-gradient(rgba(125, 249, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, .08) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at top, #000 0, transparent 72%);
}

body.pupmod-theme::after {
  opacity: .42;
  background:
    radial-gradient(circle at 15% 23%, rgba(125,249,255,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 76%, rgba(255,79,216,.20) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 28%, rgba(108,255,176,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 88%, rgba(168,85,247,.18) 0 2px, transparent 3px);
}

.pupmod-theme .page-shell {
  width: min(100% - 28px, var(--container));
  padding: 22px 0 58px;
}

.pupmod-theme .hero,
.pupmod-theme .servers-section,
.pupmod-theme .promo-card,
.pupmod-theme .support-card,
.pupmod-theme .info-strip > div,
.pupmod-theme .proxy-card,
.pupmod-theme .status-card,
.pupmod-theme .share-sheet,
.pupmod-theme .share-preview-card,
.pupmod-theme .share-social-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.032)),
    var(--panel);
  box-shadow:
    0 20px 70px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
}

.pupmod-theme .hero::before,
.pupmod-theme .servers-section::before,
.pupmod-theme .promo-card::before,
.pupmod-theme .support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(125,249,255,.82), rgba(168,85,247,.35), rgba(255,79,216,.55), rgba(108,255,176,.22));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: .78;
}

.pupmod-theme .hero {
  border-radius: 34px;
  padding: 20px;
  background:
    radial-gradient(circle at 16% 12%, rgba(125,249,255,.18), transparent 27rem),
    radial-gradient(circle at 84% 18%, rgba(255,79,216,.16), transparent 30rem),
    linear-gradient(145deg, rgba(20,21,50,.94), rgba(10,10,24,.82));
}

.pupmod-theme .hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -170px;
  bottom: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,249,255,.28), rgba(168,85,247,.10) 47%, transparent 68%);
  transform: none;
  filter: blur(4px);
}

.pupmod-theme .topbar {
  min-height: 58px;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background: rgba(5, 6, 18, .48);
}

.pupmod-theme .brand {
  gap: 12px;
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pupmod-theme .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #070713;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--accent), #8ef7d1 42%, var(--accent-2));
  box-shadow: 0 0 28px rgba(125,249,255,.28), 0 0 40px rgba(168,85,247,.16);
}

.pupmod-theme .hero-grid {
  padding: 72px 8px 18px;
  gap: 26px;
}

.pupmod-theme .eyebrow {
  color: var(--good);
  letter-spacing: .18em;
}

.pupmod-theme .eyebrow::before {
  background: var(--accent-3);
  box-shadow: 0 0 22px var(--accent-3);
}

.pupmod-theme h1,
.pupmod-theme h2,
.pupmod-theme h3 {
  color: var(--text);
  text-shadow: 0 0 34px rgba(125,249,255,.10);
}

.pupmod-theme h1 {
  max-width: 820px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}

.pupmod-theme h2 {
  letter-spacing: -.035em;
}

.pupmod-theme p {
  color: var(--muted);
}

.pupmod-theme .hero-copy p {
  color: #d9d5f3;
}

.pupmod-theme .primary-btn,
.pupmod-theme .secondary-btn,
.pupmod-theme .ghost-btn,
.pupmod-theme .tab,
.pupmod-theme .share-option {
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.pupmod-theme .primary-btn {
  color: #05050d;
  background: linear-gradient(135deg, var(--accent), #8ef7d1 48%, var(--good));
  box-shadow: 0 15px 44px rgba(125,249,255,.22), 0 0 0 1px rgba(125,249,255,.22) inset;
}

.pupmod-theme .secondary-btn,
.pupmod-theme .ghost-btn {
  color: #f6f3ff;
  background:
    linear-gradient(135deg, rgba(125,249,255,.10), rgba(168,85,247,.10)),
    rgba(255,255,255,.055);
}

.pupmod-theme .secondary-btn:hover,
.pupmod-theme .ghost-btn:hover,
.pupmod-theme .tab:hover,
.pupmod-theme .share-option:hover {
  border-color: rgba(125,249,255,.38);
  box-shadow: 0 0 24px rgba(125,249,255,.10), inset 0 1px 0 rgba(255,255,255,.10);
}

.pupmod-theme .status-card {
  flex-basis: 318px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(108,255,176,.12), transparent 22rem),
    rgba(10, 11, 30, .70);
}

.pupmod-theme .status-row {
  border-bottom-color: rgba(255,255,255,.075);
}

.pupmod-theme .status-row span {
  color: #a9a5cf;
}

.pupmod-theme .status-row strong {
  color: #fff;
}

.pupmod-theme .status-row.accent-row {
  margin-top: 10px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(125,249,255,.14), rgba(255,79,216,.12));
  border: 1px solid rgba(125,249,255,.18);
}

.pupmod-theme .status-row.accent-row strong {
  color: var(--good);
  text-shadow: 0 0 24px rgba(108,255,176,.20);
}

.pupmod-theme .info-strip {
  gap: 16px;
  margin: 18px 0;
}

.pupmod-theme .info-strip > div {
  padding: 22px;
  border-radius: 24px;
}

.pupmod-theme .info-strip b,
.pupmod-theme .promo-options strong {
  color: #fff;
}

.pupmod-theme .promo-card {
  border-color: rgba(255,79,216,.22);
  background:
    radial-gradient(circle at 92% 10%, rgba(255,79,216,.16), transparent 28rem),
    linear-gradient(145deg, rgba(20,21,50,.84), rgba(10,10,24,.75));
}

.pupmod-theme .promo-options article {
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(135deg, rgba(125,249,255,.07), rgba(168,85,247,.08)),
    rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.pupmod-theme .support-card {
  border-color: rgba(108,255,176,.18);
  background:
    radial-gradient(circle at 84% 4%, rgba(108,255,176,.12), transparent 28rem),
    linear-gradient(145deg, rgba(20,21,50,.80), rgba(10,10,24,.72));
}

.pupmod-theme .servers-section {
  padding: 30px;
  background:
    radial-gradient(circle at 2% 0%, rgba(125,249,255,.13), transparent 22rem),
    radial-gradient(circle at 100% 8%, rgba(255,79,216,.12), transparent 26rem),
    rgba(10,11,30,.72);
}

.pupmod-theme .section-tools {
  max-width: 650px;
}

.pupmod-theme .search-input {
  height: 44px;
  border-color: rgba(255,255,255,.12);
  background: rgba(5, 6, 18, .52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.pupmod-theme .search-input:focus {
  border-color: rgba(125,249,255,.62);
  box-shadow: 0 0 0 4px rgba(125,249,255,.08);
}

.pupmod-theme .tab {
  background: rgba(255,255,255,.052);
}

.pupmod-theme .tab.active {
  color: #05050d;
  background: linear-gradient(135deg, var(--accent), #8ef7d1);
  box-shadow: 0 12px 34px rgba(125,249,255,.18);
}

.pupmod-theme .tab span {
  background: rgba(255,255,255,.09);
}

.pupmod-theme .tab.active span {
  color: #05050d;
  background: rgba(5,5,13,.13);
}

.pupmod-theme .loader,
.pupmod-theme .error-box {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
}

.pupmod-theme .proxy-grid {
  gap: 16px;
}

.pupmod-theme .proxy-card {
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    rgba(13, 14, 34, .78);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pupmod-theme .proxy-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125,249,255,.36);
  box-shadow: 0 22px 70px rgba(0,0,0,.34), 0 0 34px rgba(125,249,255,.08);
}

.pupmod-theme .proxy-index {
  color: var(--accent);
}

.pupmod-theme .proxy-badge {
  color: #05050d;
  background: linear-gradient(135deg, var(--warn), #fff2ad);
}

.pupmod-theme .proxy-badge.other {
  color: #f8f7ff;
  background: linear-gradient(135deg, rgba(168,85,247,.42), rgba(255,79,216,.28));
  border: 1px solid rgba(255,255,255,.10);
}

.pupmod-theme .qr-wrap {
  border-color: rgba(125,249,255,.20);
  background:
    radial-gradient(circle at center, rgba(125,249,255,.12), transparent 58%),
    #f8fbff;
}

.pupmod-theme .card-note {
  color: #a9a5cf;
}

.pupmod-theme .share-backdrop {
  background: rgba(4, 5, 14, .78);
}

.pupmod-theme .share-sheet {
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(125,249,255,.16), transparent 26rem),
    radial-gradient(circle at top right, rgba(255,79,216,.14), transparent 26rem),
    rgba(8, 9, 24, .96);
}

.pupmod-theme .share-close {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.065);
}

.pupmod-theme .share-option,
.pupmod-theme .share-preview-card,
.pupmod-theme .share-social-block {
  background: rgba(255,255,255,.052);
  border-color: rgba(255,255,255,.11);
}

.pupmod-theme .share-art-preview {
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
}

.pupmod-theme .toast {
  border-color: rgba(125,249,255,.32);
  background: rgba(9, 10, 25, .94);
  box-shadow: 0 18px 60px rgba(0,0,0,.36), 0 0 30px rgba(125,249,255,.12);
}

@media (max-width: 920px) {
  .pupmod-theme .hero-grid,
  .pupmod-theme .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .pupmod-theme .section-tools {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .pupmod-theme .page-shell {
    width: 100%;
    padding: 10px 10px 42px;
  }

  .pupmod-theme .hero,
  .pupmod-theme .servers-section,
  .pupmod-theme .promo-card,
  .pupmod-theme .support-card,
  .pupmod-theme .info-strip > div {
    border-radius: 22px;
  }

  .pupmod-theme .topbar {
    border-radius: 18px;
  }

  .pupmod-theme .hero-grid {
    padding: 40px 0 8px;
  }

  .pupmod-theme h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.04;
    letter-spacing: -.025em;
  }

  .pupmod-theme .hero-actions,
  .pupmod-theme .service-actions,
  .pupmod-theme .card-actions,
  .pupmod-theme .share-card-actions,
  .pupmod-theme .share-social-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pupmod-theme .primary-btn,
  .pupmod-theme .secondary-btn,
  .pupmod-theme .ghost-btn,
  .pupmod-theme .small,
  .pupmod-theme .support-main-btn,
  .pupmod-theme .share-card-actions > *,
  .pupmod-theme .share-social-actions > * {
    width: 100%;
  }

  .pupmod-theme .status-card,
  .pupmod-theme .servers-section,
  .pupmod-theme .promo-card,
  .pupmod-theme .support-card,
  .pupmod-theme .info-strip > div {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pupmod-theme .section-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pupmod-theme .tabs {
    display: grid;
    grid-template-columns: 1fr;
  }
}
