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

:root {
  --bg: #071018;
  --ink: #eef7f5;
  --muted: #8fa8a3;
  --accent: #2fc4b2;
  --accent-2: #7af0df;
  --gold: #c9a45b;
  --gold-2: #e8d09a;
  --line: rgba(47, 196, 178, 0.24);
  --panel: rgba(8, 22, 28, 0.7);
  --stage: 560px;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1100px 640px at 50% -12%, rgba(47, 196, 178, 0.28), transparent 58%),
    radial-gradient(780px 520px at 100% 18%, rgba(201, 164, 91, 0.14), transparent 55%),
    linear-gradient(165deg, #0b1a22 0%, #071018 48%, #040c12 100%);
}
.atmosphere__wash {
  position: absolute;
  inset: -28%;
  background: conic-gradient(from 180deg at 50% 35%, rgba(47,196,178,0.16), transparent 30%, rgba(201,164,91,0.12), transparent 65%, rgba(47,196,178,0.1));
  opacity: 0.9;
  will-change: transform;
}
.atmosphere__beam {
  position: absolute;
  top: -20%;
  left: 38%;
  width: 26%;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(122, 240, 223, 0.2), transparent);
  filter: blur(18px);
  will-change: transform, opacity;
}
.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  will-change: transform;
}
.atmosphere__orb--a {
  width: min(48vw, 340px); height: min(48vw, 340px);
  left: -10%; top: 8%;
  background: rgba(47, 196, 178, 0.5);
}
.atmosphere__orb--b {
  width: min(38vw, 280px); height: min(38vw, 280px);
  right: -8%; bottom: 6%;
  background: rgba(201, 164, 91, 0.32);
}
.atmosphere__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255,255,255,0.14) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

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

.brand { text-align: center; margin-bottom: 28px; }
.brand__mark {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
}
.brand__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 240, 223, 0.55);
  box-shadow: 0 0 28px rgba(47, 196, 178, 0.3);
  will-change: transform;
}
.brand__ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 208, 154, 0.5);
}
.brand__core {
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "DlDisplay", "Songti SC", serif;
  font-weight: 700;
  font-size: 28px;
  color: #06201c;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 28px rgba(47, 196, 178, 0.4);
  will-change: transform;
}
.brand__name {
  margin: 0;
  font-family: "DlDisplay", "Songti SC", serif;
  font-size: clamp(36px, 10vw, 52px);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff8e8 0%, var(--gold-2) 28%, var(--accent-2) 78%, #dffcf7 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  will-change: background-position;
}
.brand__tag {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
}

.hero { text-align: center; }
.hero__line {
  margin: 0;
  font-family: "DlDisplay", "Songti SC", serif;
  font-size: clamp(22px, 6vw, 28px);
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.hero__desc {
  margin: 12px auto 26px;
  max-width: 28em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cta { display: grid; gap: 12px; }
.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn--primary {
  background: linear-gradient(135deg, rgba(122,240,223,0.98), rgba(47,196,178,0.92));
  color: #06201c;
  box-shadow: 0 16px 36px rgba(47, 196, 178, 0.3);
}
.btn--ghost {
  background: var(--panel);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,0.4) 48%, transparent 68%);
  pointer-events: none;
  will-change: transform;
}
.btn__icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.12);
}
.btn__icon::before {
  content: "";
  position: absolute;
  inset: 11px 14px 11px 13px;
  background: currentColor;
  clip-path: polygon(35% 0, 70% 0, 70% 45%, 100% 45%, 50% 100%, 0 45%, 35% 45%);
  opacity: 0.9;
}
.btn__icon--ios::before {
  clip-path: polygon(50% 0, 65% 28%, 100% 35%, 75% 60%, 82% 100%, 50% 82%, 18% 100%, 25% 60%, 0 35%, 35% 28%);
}
.btn__text { position: relative; z-index: 1; text-align: left; flex: 1; }
.btn strong { display: block; font-size: 16px; }
.btn em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; opacity: 0.72; }
.btn__arrow {
  position: relative;
  z-index: 1;
  font-size: 18px;
  opacity: 0.75;
  will-change: transform;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
  padding: 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  text-align: center;
}
.meta span { display: block; color: var(--muted); font-size: 11px; }
.meta b { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; }

.guides { display: grid; gap: 12px; margin-top: 18px; }
.guide {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--panel);
  backdrop-filter: blur(12px);
}
.guide h2 { margin: 0 0 10px; font-size: 15px; letter-spacing: 0.06em; }
.guide ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-2);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 240, 223, 0.35);
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: max(12%, env(safe-area-inset-bottom));
  z-index: 20;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 16, 24, 0.92);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  :root { --stage: 920px; }
  .shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 32px 56px;
  }
  .brand__mark { width: 104px; height: 104px; }
  .brand__core { inset: 22px; font-size: 34px; border-radius: 22px; }
  .brand__name { font-size: 58px; }
  .hero__line { font-size: 30px; }
  .cta {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
  }
  .btn { min-height: 88px; padding: 18px 20px; }
  .guides { grid-template-columns: 1fr 1fr; gap: 16px; }
  .meta { max-width: 520px; margin-left: auto; margin-right: auto; }
}
