@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --pink: #ff0080;
  --magenta: #ff00ff;
  --ink: #26171f;
  --paper: #f8eef4;
  --dim: #cdb3c2;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --dock: 196px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: #1b0f16;
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--dock) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  color: var(--paper);
  background: transparent;
  padding-bottom: calc(var(--dock) + 10px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: -40vmax;
  z-index: -2;
  background:
    conic-gradient(from 20deg at 32% 28%,
      #ff0080, #ff00ff 18%, #7a1140 38%, #26171f 55%, #ff00b0 74%, #ff0080 100%);
  filter: blur(96px) saturate(150%);
  opacity: .68;
  animation: aurora-spin 46s linear infinite;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 82% 8%, rgba(255, 0, 255, .34), transparent 72%),
    radial-gradient(52% 42% at 12% 74%, rgba(255, 0, 128, .26), transparent 74%),
    linear-gradient(180deg, rgba(27, 15, 22, .34), rgba(27, 15, 22, .84) 46%, rgba(27, 15, 22, .96));
  mix-blend-mode: screen;
}

@keyframes aurora-spin {
  to { transform: rotate(1turn); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 底部固定条 ---------- */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(27, 15, 22, .8);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border-top: 1px solid rgba(255, 0, 128, .38);
  box-shadow: 0 -20px 54px rgba(0, 0, 0, .55);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.dock-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brandline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  border-radius: 4px;
  background: linear-gradient(140deg, var(--pink), var(--magenta));
  color: #240f1a;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 0, 128, .4);
}

.logo img { width: 32px; height: 32px; border-radius: 3px; }

.brandname {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.search { margin-left: auto; flex: 1; max-width: 190px; }

.search input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.search input::placeholder { color: #bda3b3; }
.search input:focus { border-color: var(--magenta); background: rgba(255, 255, 255, .14); }

.dock-nav p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.dock-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  color: #f2dae7;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  transition: background .22s, border-color .22s, transform .22s, color .22s;
  animation: rise .5s both;
}

.dock-nav a:nth-child(1) { animation-delay: .02s; }
.dock-nav a:nth-child(2) { animation-delay: .06s; }
.dock-nav a:nth-child(3) { animation-delay: .1s; }
.dock-nav a:nth-child(4) { animation-delay: .14s; }
.dock-nav a:nth-child(5) { animation-delay: .18s; }
.dock-nav a:nth-child(6) { animation-delay: .22s; }
.dock-nav a:nth-child(7) { animation-delay: .26s; }

.dock-nav a:hover,
.dock-nav a:focus-visible {
  background: rgba(255, 0, 128, .2);
  border-color: rgba(255, 0, 128, .7);
  color: #fff;
  transform: translateY(-2px);
}

.is-hidden { display: none !important; }

/* ---------- 版心 ---------- */

.shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 26px;
}

article { min-width: 0; }

/* ---------- 首屏 ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
  text-align: right;
  padding: 34px 0 28px;
}

.collage { position: relative; min-height: 400px; }

.shot {
  position: absolute;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .5);
}

.shot img { width: 100%; height: 100%; object-fit: cover; }

.s1 { width: 62%; aspect-ratio: 3 / 4; top: 0; left: 0; transform: rotate(-3.2deg); }
.s2 { width: 55%; aspect-ratio: 4 / 5; bottom: 0; right: 4%; transform: rotate(4deg); }

.badge {
  position: absolute;
  left: 46%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-6deg);
  margin: 0;
  padding: 9px 17px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #200d16;
  background: linear-gradient(100deg, var(--pink), var(--magenta));
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(255, 0, 128, .5);
  animation: rise .8s both;
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-end; }

.eyebrow {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: #ff8ac8;
  margin: 0 0 .35em;
}

.hero h1 {
  margin: .1em 0 .35em;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 700;
  background: linear-gradient(120deg, #fff 12%, #ffc2e2 48%, #ff5cb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 22px;
  max-width: 44ch;
  color: #e9d4e1;
  font-size: 1rem;
}

.hero-cta { margin: 0; }

.hero-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #200d16;
  background: linear-gradient(100deg, var(--pink), var(--magenta));
  box-shadow: 0 14px 32px rgba(255, 0, 128, .38);
  transition: transform .22s, box-shadow .22s, filter .22s;
}

.hero-cta a:hover,
.hero-cta a:focus-visible {
  transform: translateY(-2px);
  filter: hue-rotate(24deg);
  box-shadow: 0 18px 40px rgba(255, 0, 255, .5);
}

/* ---------- 正文区（含正文内容段落） ---------- */

article > div:not(.hero) {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px;
  -webkit-backdrop-filter: blur(15px) saturate(130%);
  backdrop-filter: blur(15px) saturate(130%);
  padding: 26px clamp(15px, 3vw, 34px);
  margin-bottom: 20px;
  scroll-margin-top: 24px;
  scroll-margin-bottom: calc(var(--dock) + 20px);
}

article > div:nth-child(odd):not(.hero) {
  background: rgba(255, 0, 128, .07);
}

article h2 {
  margin: .1em 0 .7em;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.34;
  letter-spacing: -.012em;
  font-weight: 700;
  color: #fff;
}

article h3 {
  margin: 1.5em 0 .45em;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #ffd0e8;
}

article small {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: #ff8ac8;
  margin: 0 0 .3em;
}

article p { margin: 0 0 1em; color: #eedbe6; }
article p:last-child { margin-bottom: 0; }

article ul,
article ol { margin: 0 0 1em; padding-left: 1.25em; }
article li { margin: .35em 0; }

article a { color: #ff66b2; text-underline-offset: 3px; }
article a:hover { color: #ffb0d6; }

article strong { color: #fff; font-weight: 700; }

article blockquote {
  margin: 1.2em 0;
  padding: .7em 1.1em;
  border-left: 3px solid var(--pink);
  border-radius: 0 4px 4px 0;
  background: rgba(255, 0, 128, .12);
  color: #f5dfeb;
}

article img { border-radius: 4px; margin: 1em 0; }

article table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 1em 0;
}

article th,
article td {
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 9px 11px;
  text-align: left;
}

article th { background: rgba(255, 0, 128, .16); }

article code {
  font-size: .95em;
  padding: .1em .4em;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12);
}

article hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--magenta), transparent);
  margin: 1.6em 0;
}

/* ---------- 侧栏 ---------- */

.rail {
  position: sticky;
  top: 24px;
  align-self: start;
  margin-top: 30px;
  padding: 18px 16px 20px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .35);
}

.rail h2 {
  margin: .1em 0 .7em;
  font-size: 1.15rem;
  line-height: 1.4;
  letter-spacing: .02em;
}

.rail-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 16px;
}

.rail-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  font-size: 1rem;
  text-decoration: none;
  color: #f0dae6;
  border-left: 2px solid rgba(255, 0, 128, .45);
  border-radius: 0 4px 4px 0;
  transition: background .2s, border-color .2s, padding-left .2s, color .2s;
}

.rail-links a:hover,
.rail-links a:focus-visible {
  background: rgba(255, 0, 128, .18);
  border-left-color: var(--magenta);
  padding-left: 15px;
  color: #fff;
}

.totop {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #240f1a;
  background: linear-gradient(100deg, var(--pink), var(--magenta));
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}

.totop:hover { filter: hue-rotate(30deg); transform: translateY(-2px); }

/* ---------- 页脚 ---------- */

.foot {
  max-width: 1220px;
  margin: 34px auto 0;
  padding: 28px 18px 22px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr auto;
  gap: 16px 24px;
  align-items: end;
  border-top: 1px solid rgba(255, 0, 128, .3);
}

.foot-mark {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
  background: linear-gradient(110deg, #fff 10%, #ffb6dc 55%, #ff2d95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.foot-col {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 1rem;
  text-decoration: none;
  color: #e4c9d8;
  transition: color .2s, transform .2s;
}

.foot-col a:hover { color: #fff; transform: translateX(2px); }

.foot-copy {
  font-size: 1rem;
  color: var(--dim);
  justify-self: end;
  text-align: right;
}

/* ---------- 进场动画 ---------- */

.js article > div {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .62s ease, transform .62s ease;
}

.js article > div.seen { opacity: 1; transform: none; }

.js article > div:nth-child(2) { transition-delay: .05s; }
.js article > div:nth-child(3) { transition-delay: .1s; }
.js article > div:nth-child(4) { transition-delay: .14s; }
.js article > div:nth-child(5) { transition-delay: .18s; }
.js article > div:nth-child(6) { transition-delay: .22s; }
.js article > div:nth-child(7) { transition-delay: .26s; }
.js article > div:nth-child(8) { transition-delay: .3s; }

/* ---------- 断点 ---------- */

@media (min-width: 901px) {
  :root { --dock: 132px; }
  .dock-nav p { justify-content: flex-start; }
  .search { max-width: 260px; }
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 16px 16px;
  }

  .rail {
    position: static;
    margin-top: 22px;
  }

  .rail-links { flex-direction: row; flex-wrap: wrap; }

  .rail-links a {
    border-left: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 4px;
    padding: 4px 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-top: 18px;
  }

  .hero-copy { order: -1; }

  .collage { min-height: 330px; margin-top: 20px; }

  .foot {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px 18px;
  }

  .foot-mark { grid-column: 1 / -1; }

  .foot-copy { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .dock-nav a { padding: 0 9px; }
  .dock-nav p { gap: 4px; }
  .collage { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js article > div { opacity: 1; transform: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
