/* Yilinhut About v2 — immersive deep-space showcase */
.yh-aboutx {
  --ax-ink: #e8eef9;
  --ax-muted: #93a4bd;
  --ax-line: rgba(130, 160, 220, 0.22);
  --ax-glow: #7dd8ff;
  --ax-accent: #38bdf8;
  position: relative;
  max-width: none;
  background: linear-gradient(180deg, #050912 0%, #0a1128 45%, #0c1330 100%);
  color: var(--ax-ink);
  overflow: clip;
  font-size: 16px;
}
.yh-aboutx a { color: inherit; }
.yh-aboutx ::selection { background: rgba(125, 216, 255, 0.35); }

/* ---------------- hero ---------------- */
.ax-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.ax-sky { position: absolute; inset: 0; display: block; }
.ax-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 92vw);
  margin: 0 auto;
  pointer-events: none;
}
.ax-hero-inner > * { pointer-events: auto; }
@media (min-width: 761px) {
  .ax-hero-inner > .ax-kicker, .ax-hero-inner > .ax-name, .ax-hero-inner > .ax-type-row, .ax-hero-inner > .ax-lede, .ax-hero-inner > .ax-cta { max-width: 54%; }
}
.ax-kicker {
  margin: 0 0 1rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--ax-glow);
  text-shadow: 0 0 18px rgba(125, 216, 255, 0.5);
}
.ax-name {
  margin: 0 0 0.4rem;
  font-family: YHBrush, "Kaiti SC", KaiTi, serif;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  font-weight: 400;
  line-height: 1.06;
  color: #f4f8ff;
  text-shadow: 0 0 44px rgba(125, 216, 255, 0.35), 0 2px 18px rgba(0, 0, 0, 0.6);
}
.ax-name small {
  display: inline-block;
  margin-left: 1rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  letter-spacing: 0.28em;
  color: var(--ax-muted);
}
.ax-type-row {
  min-height: 2.1em;
  margin: 0.4rem 0 1.1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: #cfe0f5;
}
.ax-type { border-right: 2px solid var(--ax-glow); padding-right: 4px; animation: ax-caret 1.05s step-end infinite; }
@keyframes ax-caret { 50% { border-color: transparent; } }
.ax-lede {
  max-width: 33em;
  margin: 0 0 1.7rem;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ax-muted);
}
.ax-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ax-mag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--ax-line);
  background: rgba(14, 22, 48, 0.6);
  backdrop-filter: blur(8px);
  color: var(--ax-ink);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
}
.ax-mag:hover {
  border-color: var(--ax-glow);
  box-shadow: 0 0 24px rgba(125, 216, 255, 0.25), inset 0 0 12px rgba(125, 216, 255, 0.08);
}
.ax-mag--hot { background: linear-gradient(120deg, rgba(56, 189, 248, 0.24), rgba(129, 140, 248, 0.24)); }
.ax-mode {
  display: inline-flex;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--ax-line);
  background: rgba(10, 17, 38, 0.66);
  backdrop-filter: blur(8px);
}
.ax-mode button {
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ax-muted);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.ax-mode button:hover { color: #eaf2ff; }
.ax-mode button.is-on {
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.32), rgba(129, 140, 248, 0.32));
  color: #fff;
  box-shadow: 0 0 16px rgba(125, 216, 255, 0.28);
}

.ax-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--ax-line);
  border-radius: 12px;
  opacity: 0.8;
}
.ax-scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--ax-glow);
  animation: ax-drop 1.8s ease-in-out infinite;
}
@keyframes ax-drop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- shared section shell ---------------- */
.ax-sec {
  position: relative;
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 5.5rem 0 2rem;
}
.ax-sec-head { margin-bottom: 2.4rem; }
.ax-sec-head .ax-kicker { margin-bottom: 0.5rem; }
.ax-sec-head h2 {
  margin: 0;
  font-family: YHBrush, "Kaiti SC", KaiTi, serif;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  font-weight: 400;
  color: #eef4ff;
}
.ax-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.ax-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ax-reveal { opacity: 1; transform: none; } }

/* ---------------- quote ---------------- */
.ax-quote-sec { padding-top: 3rem; text-align: center; }
.ax-quote {
  max-width: 46em;
  margin: 0 auto;
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  line-height: 2.2;
  color: rgba(207, 224, 245, 0.35);
}
.ax-quote span { transition: color 1.1s ease, text-shadow 1.1s ease; }
.ax-quote span.is-lit { color: #dfe9f8; }
.ax-quote span.is-lit b { color: #fff; font-weight: 400; text-shadow: 0 0 18px rgba(125, 216, 255, 0.75); }
.ax-quote-src { margin-top: 1.6rem; font-size: 12.5px; letter-spacing: 0.2em; color: var(--ax-muted); font-family: ui-monospace, Menlo, monospace; }

/* ---------------- stats ---------------- */
.ax-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ax-stat {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 18px;
  border: 1px solid var(--ax-line);
  background:
    radial-gradient(140% 130% at var(--gx, 50%) var(--gy, 0%), rgba(125, 216, 255, 0.13), transparent 55%),
    rgba(13, 21, 46, 0.65);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.ax-stat b {
  display: block;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #9ee6ff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ax-stat i { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ax-muted); letter-spacing: 0.12em; }

/* ---------------- timeline ---------------- */
.ax-tl { position: relative; margin: 0; padding: 0.5rem 0 0.5rem 30px; list-style: none; }
.ax-tl::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(125, 216, 255, 0.55) 12%, rgba(129, 140, 248, 0.5) 88%, transparent);
  box-shadow: 0 0 14px rgba(125, 216, 255, 0.35);
}
.ax-tl li { position: relative; padding: 0 0 2.1rem; }
.ax-tl li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfeaff;
  box-shadow: 0 0 0 4px rgba(125, 216, 255, 0.16), 0 0 16px rgba(125, 216, 255, 0.8);
}
.ax-tl time {
  display: inline-block;
  margin-bottom: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ax-glow);
}
.ax-tl h3 { margin: 0 0 4px; font-size: 1.08rem; font-weight: 600; color: #eef4ff; }
.ax-tl p { margin: 0; max-width: 44em; font-size: 0.92rem; line-height: 1.85; color: var(--ax-muted); }
.ax-tl a { color: #b7dcff; text-decoration: none; border-bottom: 1px dashed rgba(183, 220, 255, 0.4); }
.ax-tl a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------------- orbit ---------------- */
.ax-orbit-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; }
.ax-orbit-copy p { font-size: 0.95rem; line-height: 2; color: var(--ax-muted); }
.ax-orbit-copy p b { color: #dfe9f8; font-weight: 600; }
.ax-orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(460px, 100%);
  margin: 0 auto;
}
.ax-ring { position: absolute; inset: 0; border: 1px dashed rgba(130, 160, 220, 0.25); border-radius: 50%; }
.ax-ring--2 { inset: 17%; }
.ax-ring--3 { inset: 34%; border-style: solid; border-color: rgba(130, 160, 220, 0.14); }
.ax-orbit-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 108px; height: 108px;
  border-radius: 50%;
  text-align: center;
  font-family: YHBrush, "Kaiti SC", KaiTi, serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
  background: radial-gradient(circle at 34% 30%, rgba(125, 216, 255, 0.4), rgba(56, 100, 190, 0.16) 60%, transparent);
  box-shadow: 0 0 44px rgba(125, 216, 255, 0.35), inset 0 0 22px rgba(125, 216, 255, 0.2);
}
.ax-orb { position: absolute; inset: 0; animation: ax-spin var(--t, 36s) linear infinite; }
.ax-orb i {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -50%);
  animation: ax-spin-r var(--t, 36s) linear infinite;
}
.ax-orb--2 { inset: 17%; animation-duration: var(--t, 26s); animation-direction: reverse; }
.ax-orb--2 i { animation-direction: reverse; }
@keyframes ax-spin { to { transform: rotate(360deg); } }
@keyframes ax-spin-r { to { transform: translate(-50%, -50%) rotate(-360deg); } }
.ax-orbit:hover .ax-orb, .ax-orbit:hover .ax-orb i { animation-play-state: paused; }
.ax-orb a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--ax-line);
  background: rgba(13, 21, 46, 0.85);
  font-size: 13px;
  font-style: normal;
  text-decoration: none;
  color: #d5e4f7;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.ax-orb a:hover { border-color: var(--ax-glow); color: #fff; box-shadow: 0 0 18px rgba(125, 216, 255, 0.4); }
@media (prefers-reduced-motion: reduce) { .ax-orb, .ax-orb i { animation: none; } }

/* ---------------- books ---------------- */
.ax-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ax-book {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--ax-line);
  background:
    radial-gradient(150% 140% at var(--gx, 50%) var(--gy, 0%), rgba(129, 140, 248, 0.14), transparent 55%),
    rgba(13, 21, 46, 0.65);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.ax-book:hover { border-color: rgba(125, 216, 255, 0.5); box-shadow: 0 18px 48px rgba(5, 10, 26, 0.7); }
.ax-book-cover {
  flex: 0 0 92px;
  height: 128px;
  border-radius: 6px 10px 10px 6px;
  display: grid;
  place-items: center;
  font-family: YHBrush, "Kaiti SC", KaiTi, serif;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(150deg, #16305e, #274b8f 55%, #0e1c3c);
  box-shadow: inset 6px 0 10px -6px rgba(0, 0, 0, 0.8), 0 10px 22px rgba(4, 8, 20, 0.6);
  text-shadow: 0 0 16px rgba(125, 216, 255, 0.6);
}
.ax-book--b .ax-book-cover { background: linear-gradient(150deg, #3d2a5e, #6d4a9e 55%, #241540); }
.ax-book-info h3 { margin: 2px 0 6px; font-size: 1.06rem; line-height: 1.5; color: #eef4ff; }
.ax-book-info time { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.16em; color: var(--ax-glow); }
.ax-book-info p { margin: 8px 0 0; font-size: 0.88rem; line-height: 1.8; color: var(--ax-muted); }

/* ---------------- site / copyright ---------------- */
.ax-site { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.ax-panel {
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--ax-line);
  background: rgba(13, 21, 46, 0.6);
  backdrop-filter: blur(8px);
}
.ax-panel h3 { margin: 0 0 10px; font-size: 1.05rem; color: #eef4ff; }
.ax-panel p { margin: 0 0 10px; font-size: 0.93rem; line-height: 1.95; color: var(--ax-muted); }
.ax-panel a { color: #b7dcff; text-decoration: none; }
.ax-panel a:hover { color: #fff; }
.ax-panel .yh-subscribe input[type="email"] {
  background: rgba(6, 10, 24, 0.7);
  border: 1px solid var(--ax-line);
  color: var(--ax-ink);
}

/* ---------------- outro ---------------- */
.ax-outro { padding: 4rem 0 6.5rem; text-align: center; }
.ax-outro p { color: var(--ax-muted); font-size: 0.95rem; margin: 0 0 1.6rem; }
.ax-outro .ax-cta { justify-content: center; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .ax-stats { grid-template-columns: repeat(2, 1fr); }
  .ax-books, .ax-site, .ax-orbit-wrap { grid-template-columns: 1fr; }
  .ax-hero-inner { padding-top: 12vh; align-self: flex-start; }
  .ax-name small { display: block; margin: 10px 0 0; }
}

/* fine-pointer devices drive the morph with the mouse; hide the pills */
.yh-aboutx.ax-mouse .ax-mode { display: none; }

.ax-panel .yh-subscribe__label { display: none; }
