:root {
  color-scheme: light;
  --ink: rgba(255, 255, 255, .94);
  --muted: rgba(255, 255, 255, .72);
  --glass-bg: rgba(255, 255, 255, .055);
  --glass-bg-strong: rgba(255, 255, 255, .095);
  --glass-bg-soft: rgba(255, 255, 255, .04);
  --glass-line: rgba(255, 255, 255, .18);
  --glass-line-soft: rgba(255, 255, 255, .10);
  --surface-tint: rgba(255, 255, 255, .035);
  --surface-deep: rgba(7, 17, 31, .08);
  --blue: #60a5fa;
  --green: #4ade80;
  --sky: #38bdf8;
  --violet: #a78bfa;
  --shadow: 0 32px 110px rgba(0, 0, 0, .38);
  --shadow-hover: 0 22px 58px rgba(0, 0, 0, .30);
  --focus-ring: rgba(96, 165, 250, .22);
}

* {
  box-sizing: border-box;
}

html {
  background: #07111f;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 17, 31, .45), rgba(7, 17, 31, .45)),
    url("https://img.xianyuyx.com/2026/05/23/6a11818f48b9d.jpg") center / cover fixed no-repeat;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page {
  position: relative;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}

.hero {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  text-align: center;
  width: min(1040px, calc(100% - 32px));
  pointer-events: none;
}

.hero-inner {
  width: auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(15, 23, 42, .42);
  box-shadow: 0 14px 42px rgba(7, 17, 31, .16);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.latency-text {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .36);
}

h1 {
  margin: 0;
  color: rgba(248, 250, 252, .98);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .24);
}

.lead {
  max-width: 640px;
  margin: 18px auto 0;
  color: #3d4c60;
  font-size: 18px;
  line-height: 1.85;
  text-shadow: 0 1px 14px rgba(255, 255, 255, .70);
}

.shell {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  border: 1px solid var(--glass-line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025) 48%, rgba(7, 17, 31, .08)),
    var(--surface-tint);
  box-shadow: var(--shadow);
  overflow: hidden;
  -webkit-backdrop-filter: blur(40px) saturate(160%) brightness(.94);
  backdrop-filter: blur(40px) saturate(160%) brightness(.94);
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(7, 17, 31, .035), rgba(7, 17, 31, .08));
}

.card-hero,
.content,
.notice {
  position: relative;
  z-index: 1;
}

.card-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  color: rgba(248, 250, 252, .92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025) 58%, rgba(7, 17, 31, .07));
  -webkit-backdrop-filter: blur(22px) saturate(145%) brightness(.98);
  backdrop-filter: blur(22px) saturate(145%) brightness(.98);
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.brand-mark,
.card-icon,
.notice-icon,
.arrow {
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .075);
  color: #dcfce7;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .20),
    0 18px 44px rgba(0, 0, 0, .20);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.eyebrow {
  margin: 2px 0 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.card-lead {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.75;
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 230px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

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

.notice {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 12px 28px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(28px) saturate(150%) brightness(.96);
  backdrop-filter: blur(28px) saturate(150%) brightness(.96);
}

.panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 16px 36px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(28px) saturate(145%) brightness(.96);
  backdrop-filter: blur(28px) saturate(145%) brightness(.96);
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .20);
}

.section-title p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .16);
}

.download-list,
.service-list {
  display: grid;
  gap: 14px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 10px 24px rgba(0, 0, 0, .10);
  -webkit-backdrop-filter: blur(28px) saturate(145%) brightness(.97);
  backdrop-filter: blur(28px) saturate(145%) brightness(.97);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.link-card::before {
  content: none;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-soft-line);
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.link-card:focus-visible {
  box-shadow:
    var(--shadow-hover),
    0 0 0 4px var(--focus-ring);
}

.arrow,
.copy,
.card-icon {
  position: relative;
  z-index: 1;
}

.copy {
  min-width: 0;
}

.link-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .20);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft-bg);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-soft-line);
}

.recommend {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(74, 222, 128, .075);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.link-desc {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.version-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.link-card.is-loading .version-pill {
  color: #94a3b8;
}


.arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.arrow svg {
  width: 18px;
  height: 18px;
}

.android {
  --accent: var(--green);
  --accent-soft-bg: rgba(74, 222, 128, .075);
  --accent-soft-line: rgba(74, 222, 128, .24);
  --focus-ring: rgba(74, 222, 128, .20);
}

.windows {
  --accent: var(--blue);
  --accent-soft-bg: rgba(96, 165, 250, .075);
  --accent-soft-line: rgba(96, 165, 250, .24);
  --focus-ring: rgba(96, 165, 250, .20);
}

.telegram {
  --accent: var(--sky);
  --accent-soft-bg: rgba(56, 189, 248, .075);
  --accent-soft-line: rgba(56, 189, 248, .24);
  --focus-ring: rgba(56, 189, 248, .20);
}

.vpn {
  --accent: var(--violet);
  --accent-soft-bg: rgba(167, 139, 250, .075);
  --accent-soft-line: rgba(167, 139, 250, .24);
  --focus-ring: rgba(167, 139, 250, .20);
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin: 0 24px 24px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(96, 165, 250, .075);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .16);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.notice strong {
  color: var(--ink);
}

.notice p {
  margin: 0;
}

footer {
  padding: 24px 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 880px) {
  h1 {
    font-size: 36px;
  }

  .card-hero {
    flex-direction: column;
  }

  .status-stack {
    justify-content: flex-start;
    max-width: none;
  }

  .content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    background-position: center top;
    background-attachment: scroll;
  }

  .page {
    width: min(100% - 18px, 1040px);
    min-height: auto;
    justify-content: flex-start;
    padding: 78px 0 22px;
  }

  .hero {
    top: 12px;
    width: min(100% - 18px, 1040px);
  }

  .hero-inner {
    width: 100%;
    padding: 9px 12px;
  }

  .latency-text {
    font-size: 13px;
  }

  .shell {
    border-radius: 24px;
    box-shadow: 0 24px 72px rgba(0, 0, 0, .34);
  }

  .card-hero {
    gap: 16px;
    padding: 18px 16px 16px;
  }

  .brand-lockup {
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .eyebrow {
    margin: 0 0 5px;
    font-size: 11px;
  }

  h1 {
    font-size: 25px;
    line-height: 1.14;
  }

  .card-lead {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.62;
  }

  .status-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .status-pill {
    justify-content: center;
    min-height: 36px;
    padding: 7px 8px;
  }

  .content {
    padding: 14px 14px 10px;
    gap: 16px;
  }

  .panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .panel + .panel {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .10);
  }

  .section-title {
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .section-title h2 {
    font-size: 18px;
  }

  .section-title p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
  }

  .tag {
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .download-list,
  .service-list {
    gap: 10px;
  }

  .link-card {
    grid-template-columns: auto 1fr;
    gap: 12px;
    min-height: 78px;
    padding: 12px;
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .026));
  }

  .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .card-icon svg {
    width: 19px;
    height: 19px;
  }

  .link-title {
    font-size: 16px;
    line-height: 1.35;
  }

  .link-desc {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.48;
  }

  .version-meta {
    margin-top: 7px;
  }

  .version-pill {
    min-height: 22px;
    font-size: 11px;
  }

  .recommend {
    padding: 2px 6px;
    font-size: 11px;
  }

  .arrow {
    display: none;
  }

  .notice {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 2px 14px 14px;
    padding: 13px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 12px;
    line-height: 1.58;
  }

  .notice-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  footer {
    padding-top: 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
