@font-face {
  font-family: "NavDisplay";
  src: local("Songti SC"), local("STSong"), local("SimSun");
  font-weight: 700;
}
@font-face {
  font-family: "NavSans";
  src: local("PingFang SC"), local("Hiragino Sans GB"), local("Microsoft YaHei");
  font-weight: 400 700;
}

:root {
  --ink: #edf6f4;
  --muted: #8fa8a3;
  --accent: #3ecfbe;
  --accent-2: #7af0df;
  --gold: #c9a45b;
  --gold-2: #e8d09a;
  --line: rgba(62, 207, 190, 0.22);
  --panel: rgba(8, 22, 28, 0.66);
  --bg: #061018;
  --stage-max: 560px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: "NavSans", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1000px 620px at 14% -8%, rgba(34, 120, 118, 0.42), transparent 58%),
    radial-gradient(820px 520px at 92% 8%, rgba(201, 164, 91, 0.18), transparent 52%),
    linear-gradient(165deg, #0a1a22 0%, #061018 48%, #040c12 100%);
}
.atmosphere__wash {
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 120deg at 50% 40%, rgba(62,207,190,0.16), transparent 28%, rgba(201,164,91,0.12), transparent 62%, rgba(62,207,190,0.1));
  opacity: 0.9;
  will-change: transform;
}
.atmosphere__beam {
  position: absolute;
  top: -25%;
  left: 32%;
  width: 30%;
  height: 150%;
  background: linear-gradient(180deg, transparent, rgba(122, 240, 223, 0.2), transparent);
  filter: blur(16px);
  will-change: transform, opacity;
}
.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  will-change: transform;
}
.atmosphere__orb--a {
  width: min(42vw, 320px); height: min(42vw, 320px);
  left: -8%; top: 12%;
  background: rgba(46, 160, 150, 0.55);
}
.atmosphere__orb--b {
  width: min(36vw, 260px); height: min(36vw, 260px);
  right: -6%; bottom: 8%;
  background: rgba(201, 164, 91, 0.35);
}
.atmosphere__orb--c {
  width: min(24vw, 180px); height: min(24vw, 180px);
  left: 44%; top: 56%;
  background: rgba(122, 240, 223, 0.3);
}
.atmosphere__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(rgba(255,255,255,0.14) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.stage {
  position: relative;
  z-index: 1;
  width: min(100%, var(--stage-max));
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 20px calc(40px + env(safe-area-inset-bottom));
}

.brand { position: relative; text-align: center; margin-bottom: 22px; }
.brand__emblem {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
}
.brand__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 240, 223, 0.55);
  box-shadow: 0 0 24px rgba(62, 207, 190, 0.3);
  will-change: transform;
}
.brand__ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 208, 154, 0.5);
}
.brand__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8e8, var(--gold) 45%, var(--accent) 100%);
  box-shadow: 0 0 22px rgba(122, 240, 223, 0.65);
  will-change: transform;
}
.brand__spark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px var(--accent-2);
  transform-origin: 50% 44px;
  will-change: transform;
}
.brand__sub {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}

.hero {
  margin: 0;
  text-align: center;
  font-family: "NavDisplay", "Songti SC", serif;
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
}
.lead {
  margin: 14px auto 28px;
  max-width: 28em;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.routes { display: grid; gap: 12px; }
.route {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(62,207,190,0.12), transparent 42%), var(--panel);
  backdrop-filter: blur(14px);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.route--primary {
  border-color: rgba(122, 240, 223, 0.55);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28), 0 0 28px rgba(62, 207, 190, 0.2);
}
.route:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(122, 240, 223, 0.7);
}
.route__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,0.22) 48%, transparent 68%);
  pointer-events: none;
  will-change: transform;
}
.route__no {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #06201c;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
}
.route--primary .route__no {
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #1a1408;
}
.route__body { position: relative; z-index: 1; min-width: 0; }
.route__body strong { display: block; font-size: 16px; letter-spacing: 0.08em; }
.route__body em {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: 0 0 auto;
  will-change: transform, box-shadow;
}
.route--primary .pulse { background: var(--gold-2); }
.route__go {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.14em;
}
.route--primary .route__go { color: var(--gold-2); }
.route__go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot {
  margin-top: 28px;
  text-align: center;
  color: rgba(143, 168, 163, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  :root { --stage-max: 880px; }
  .stage {
    padding: 56px 32px 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .brand__emblem { width: 108px; height: 108px; }
  .brand__core { width: 34px; height: 34px; }
  .brand__spark { transform-origin: 50% 54px; }
  .hero { font-size: 40px; }
  .routes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .route { padding: 20px 18px; min-height: 96px; }
}
