@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;
}

* { 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.38), transparent 58%),
    radial-gradient(820px 520px at 92% 8%, rgba(201, 164, 91, 0.16), transparent 52%),
    linear-gradient(165deg, #0a1a22 0%, #061018 48%, #040c12 100%);
}
.atmosphere__wash {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 120deg at 50% 40%, rgba(62,207,190,0.08), transparent 28%, rgba(201,164,91,0.07), transparent 62%, rgba(62,207,190,0.06));
  animation: washSpin 28s linear infinite;
  opacity: 0.7;
}
.atmosphere__beam {
  position: absolute;
  top: -20%;
  left: 35%;
  width: 28%;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(122, 240, 223, 0.08), transparent);
  transform: rotate(18deg);
  filter: blur(18px);
  animation: beamDrift 10s ease-in-out infinite alternate;
}
.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.5;
  animation: float 11s ease-in-out infinite;
}
.atmosphere__orb--a {
  width: 260px; height: 260px;
  left: -70px; top: 16%;
  background: rgba(46, 160, 150, 0.42);
}
.atmosphere__orb--b {
  width: 210px; height: 210px;
  right: -50px; bottom: 10%;
  background: rgba(201, 164, 91, 0.24);
  animation-delay: -3.5s;
}
.atmosphere__orb--c {
  width: 140px; height: 140px;
  left: 42%; top: 58%;
  background: rgba(122, 240, 223, 0.18);
  animation-delay: -7s;
  animation-duration: 14s;
}
.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(255,255,255,0.12) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.stage {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: calc(32px + env(safe-area-inset-top)) 22px calc(44px + env(safe-area-inset-bottom));
  animation: rise 0.85s cubic-bezier(.2,.8,.2,1) both;
}

.brand {
  position: relative;
  text-align: center;
  margin-bottom: 26px;
}
.brand__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 180px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(122, 240, 223, 0.28), transparent 70%);
  filter: blur(10px);
  animation: glowPulse 3.6s ease-in-out infinite;
}
.brand__mark {
  position: relative;
  font-family: "NavDisplay", "Songti SC", serif;
  font-size: clamp(52px, 14vw, 76px);
  letter-spacing: 0.22em;
  font-weight: 700;
  text-indent: 0.22em;
  line-height: 1;
  background: linear-gradient(115deg, #fff8e8 0%, var(--gold-2) 28%, var(--accent-2) 72%, #dffcf7 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandSheen 6s ease-in-out infinite;
}
.brand__sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  animation: fadeUp 0.9s 0.15s both;
}

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

.routes {
  display: grid;
  gap: 12px;
}
.route {
  --delay: 0s;
  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.1), transparent 42%),
    var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  animation: rise 0.75s cubic-bezier(.2,.8,.2,1) var(--delay) both;
}
.route:nth-child(1) { --delay: 0.18s; }
.route:nth-child(2) { --delay: 0.26s; }
.route:nth-child(3) { --delay: 0.34s; }
.route:nth-child(4) { --delay: 0.42s; }
.route--primary {
  border-color: rgba(122, 240, 223, 0.42);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.28),
    0 0 0 1px rgba(122, 240, 223, 0.08),
    0 0 28px rgba(62, 207, 190, 0.12);
}
.route__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.14) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.route:hover,
.route:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(122, 240, 223, 0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.36), 0 0 24px rgba(62, 207, 190, 0.14);
  outline: none;
}
.route:hover .route__shine,
.route:focus-visible .route__shine {
  animation: shineSweep 0.85s ease;
}
.route:active {
  transform: translateY(-1px) scale(0.995);
}
.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;
  letter-spacing: 0.06em;
  color: #06201c;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.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;
  font-weight: 700;
  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;
  letter-spacing: 0.04em;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(122, 240, 223, 0.55);
  animation: livePulse 2s ease-out infinite;
  flex: 0 0 auto;
}
.route--primary .pulse {
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(232, 208, 154, 0.5);
}
.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;
  transition: transform .25s ease;
}
.route:hover .route__go svg {
  transform: translateX(3px);
}

.foot {
  margin-top: 30px;
  text-align: center;
  color: rgba(143, 168, 163, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  animation: fadeUp 0.9s 0.5s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}
@keyframes washSpin {
  to { transform: rotate(360deg); }
}
@keyframes beamDrift {
  from { transform: rotate(18deg) translateX(0); opacity: 0.35; }
  to { transform: rotate(18deg) translateX(40px); opacity: 0.7; }
}
@keyframes brandSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes shineSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(122, 240, 223, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(122, 240, 223, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 240, 223, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  .atmosphere__orb,
  .atmosphere__wash,
  .atmosphere__beam,
  .brand__mark,
  .brand__glow,
  .brand__sub,
  .hero,
  .lead,
  .route,
  .foot,
  .pulse {
    animation: none !important;
  }
  .route,
  .route__go svg { transition: none !important; }
}
