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

:root{
  --pink:#ff0080;
  --mag:#ff00ff;
  --ink:#26171f;
  --ink-2:#311d29;
  --card-a:#2d1b26;
  --card-b:#35202d;
  --text:#f7e9f1;
  --dim:#e6cbda;
  --line:rgba(255,255,255,.14);
  --r:10px;
  --font:'Outfit','Work Sans',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
  overflow-x:clip;
}

body{
  margin:0;
  max-width:100%;
  background:var(--ink);
  color:var(--text);
  font-family:var(--font);
  font-size:17px;
  line-height:1.78;
  letter-spacing:.012em;
  overflow-x:hidden;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed;
  inset:-25%;
  z-index:0;
  pointer-events:none;
  opacity:.9;
  background:
    radial-gradient(38% 38% at 22% 22%,rgba(255,0,128,.58),transparent 62%),
    radial-gradient(34% 34% at 80% 14%,rgba(255,0,255,.5),transparent 64%),
    radial-gradient(46% 46% at 62% 78%,rgba(112,44,255,.38),transparent 66%),
    radial-gradient(30% 30% at 10% 86%,rgba(255,110,40,.3),transparent 62%);
  filter:blur(64px) saturate(1.35);
  mix-blend-mode:screen;
  animation:aurora 24s ease-in-out infinite alternate;
}

@keyframes aurora{
  0%{transform:translate3d(-3%,-2%,0) scale(1);filter:blur(64px) hue-rotate(0deg) saturate(1.35)}
  50%{transform:translate3d(3%,2%,0) scale(1.14);filter:blur(72px) hue-rotate(30deg) saturate(1.5)}
  100%{transform:translate3d(-2%,3%,0) scale(1.06);filter:blur(64px) hue-rotate(-18deg) saturate(1.4)}
}

a{color:inherit}

img,video,svg,iframe{max-width:100%;height:auto;display:block}

small{
  display:block;
  font-size:16px;
  line-height:1.4;
  font-weight:500;
  letter-spacing:.2em;
  color:#ff6bb8;
  margin:0 0 6px;
}

:focus-visible{outline:2px solid var(--mag);outline-offset:3px;border-radius:6px}

/* ---------- 顶栏 ---------- */
.mast{position:relative;z-index:7;padding:0 clamp(10px,3vw,34px)}

.mast__bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:12px 0 10px;
}

.drop{position:relative;justify-self:start;min-width:0}

.drop>summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:0 16px;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  font-size:16px;
  font-weight:600;
  letter-spacing:.1em;
  color:var(--text);
  white-space:nowrap;
}

.drop>summary::-webkit-details-marker{display:none}

.drop>summary::after{
  content:"";
  flex:0 0 auto;
  width:8px;height:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .25s ease;
}

.drop[open]>summary{background:linear-gradient(100deg,var(--pink),var(--mag));color:#250f1b;border-color:transparent}
.drop[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}

.drop>menu{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  margin:0;
  padding:8px;
  list-style:none;
  width:min(78vw,250px);
  background:var(--ink-2);
  border-radius:var(--r);
  border:1px solid var(--line);
  box-shadow:0 26px 60px rgba(0,0,0,.6);
  animation:pop .22s ease both;
}

@keyframes pop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

.drop>menu a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  border-radius:8px;
  text-decoration:none;
  font-size:16px;
  color:var(--dim);
}

.drop>menu a:hover{background:linear-gradient(100deg,var(--pink),var(--mag));color:#250f1b;font-weight:600}

.brand{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
  min-height:44px;
  padding:0 12px;
  text-decoration:none;
  font-size:clamp(18px,2.3vw,23px);
  font-weight:700;
  letter-spacing:.04em;
}

.brand__mark{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 6px;
  border-radius:8px;
  font-size:16px;
  background:linear-gradient(140deg,var(--pink),var(--mag));
  color:#220f18;
}

.brand__name{
  min-width:0;
  background:linear-gradient(100deg,#ffffff,#ffc7e4 45%,#c9b3ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  white-space:nowrap;
}

.mast__side{justify-self:end;display:flex;align-items:center;gap:4px;min-width:0}

.mast__side a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 11px;
  border-radius:8px;
  text-decoration:none;
  font-size:16px;
  color:var(--dim);
  white-space:nowrap;
}

.mast__side a:hover{background:rgba(255,255,255,.09);color:#fff}

.mast__side .cta{
  margin-left:6px;
  padding:0 18px;
  border-radius:999px;
  font-weight:700;
  color:#260f1a;
  background:linear-gradient(100deg,var(--pink),var(--mag));
  box-shadow:0 10px 28px rgba(255,0,128,.42);
}

.mast__side .cta:hover{color:#260f1a;filter:brightness(1.08)}

/* ---------- 粘性锚点条 ---------- */
.rail{
  position:sticky;
  top:0;
  z-index:8;
  display:flex;
  gap:8px;
  max-width:100%;
  overflow-x:auto;
  scrollbar-width:none;
  padding:9px 2px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(38,23,31,.74);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.rail::-webkit-scrollbar{display:none}

.rail a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  text-decoration:none;
  font-size:16px;
  color:var(--dim);
  border:1px solid transparent;
  white-space:nowrap;
}

.rail a:hover{border-color:var(--line);color:#fff}

.rail a.act{
  background:linear-gradient(100deg,rgba(255,0,128,.9),rgba(255,0,255,.9));
  color:#260f1a;
  font-weight:600;
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  z-index:1;
  width:100%;
  min-height:70vh;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
  padding:clamp(30px,8vh,86px) clamp(14px,5vw,60px) clamp(90px,15vh,150px);
  clip-path:ellipse(150% 100% at 50% 0%);
  background:radial-gradient(70% 60% at 50% 20%,rgba(255,0,255,.26),transparent 70%);
}

.hero__bg{
  position:absolute;
  left:50%;
  top:18%;
  transform:translate3d(-50%,0,0);
  z-index:0;
  max-width:96%;
  white-space:nowrap;
  font-size:clamp(72px,23vw,320px);
  font-weight:700;
  letter-spacing:-.045em;
  line-height:1;
  color:transparent;
  -webkit-text-stroke:2px rgba(255,255,255,.24);
  mix-blend-mode:screen;
  pointer-events:none;
  user-select:none;
}

.hero__media{position:absolute;inset:0;z-index:0;overflow:hidden}

.hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.4;
  filter:saturate(1.4) contrast(1.05) hue-rotate(-8deg);
}

.hero__inner{position:relative;z-index:2;width:100%;max-width:860px}

.hero h1{
  margin:0 0 16px;
  font-size:clamp(30px,6.4vw,66px);
  line-height:1.14;
  font-weight:700;
  letter-spacing:-.015em;
  color:#fff;
  text-shadow:0 0 40px rgba(255,0,128,.5),0 0 90px rgba(255,0,255,.32);
  overflow-wrap:break-word;
}

.hero__desc{
  margin:0 auto 26px;
  max-width:44ch;
  font-size:17px;
  color:#f4dcea;
}

.hero__go{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 30px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.12em;
  color:#260f1a;
  background:linear-gradient(100deg,var(--pink),var(--mag));
  box-shadow:0 14px 40px rgba(255,0,128,.45);
}

.hero__go:hover{filter:brightness(1.1)}

/* ---------- 正文骨架 ---------- */
main{
  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(26px,5vw,60px) clamp(14px,4vw,40px) 0;
}

.body{
  display:grid;
  grid-template-columns:minmax(0,1fr) 288px;
  gap:clamp(22px,4vw,52px);
  align-items:start;
}

.rich{
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
  overflow-wrap:anywhere;
}

.rich>section{
  min-width:0;
  background:var(--card-a);
  border-radius:var(--r);
  padding:clamp(20px,3.2vw,40px);
  scroll-margin-top:96px;
}

.rich>section:nth-child(even){background:var(--card-b)}

.rich>section:first-child{padding-top:clamp(22px,3.4vw,42px)}

.rich h2{
  margin:0 0 .62em;
  font-size:clamp(22px,3.1vw,31px);
  line-height:1.28;
  font-weight:700;
  letter-spacing:-.01em;
  color:#fff;
}

.rich h3{
  margin:1.5em 0 .5em;
  font-size:clamp(18px,2.2vw,22px);
  line-height:1.35;
  color:#ffb4d9;
}

.rich p{margin:0 0 1.05em;color:#f2e0ea}
.rich p:last-child{margin-bottom:0}

.rich ul,.rich ol{margin:0 0 1.1em;padding-left:1.25em;color:#f2e0ea}
.rich li{margin:.3em 0}
.rich li::marker{color:var(--pink)}

.rich a{color:#ff8cc6;text-decoration:underline;text-underline-offset:3px}
.rich a:hover{color:#fff}

.rich blockquote{
  margin:1.2em 0;
  padding:14px 18px;
  border-left:3px solid var(--mag);
  border-radius:0 var(--r) var(--r) 0;
  background:rgba(255,0,255,.12);
  color:#ffe3f2;
}

.rich blockquote p:last-child{margin-bottom:0}

.rich figure{margin:1.2em 0}
.rich figure img{border-radius:var(--r);width:100%}
.rich figcaption{font-size:16px;color:#d8b9c9;margin-top:8px;text-align:center}

.rich code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.94em;
  padding:1px 6px;
  border-radius:6px;
  background:rgba(255,255,255,.12);
  overflow-wrap:anywhere;
}

.rich pre{
  max-width:100%;
  overflow-x:auto;
  margin:1.2em 0;
  padding:14px 16px;
  border-radius:var(--r);
  background:rgba(0,0,0,.3);
  line-height:1.6;
}

.rich pre code{padding:0;background:none;white-space:pre}

.rich table{
  display:block;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  margin:1.2em 0;
}

.rich th,.rich td{padding:7px 11px;border:1px solid var(--line);text-align:left}

.rich hr{border:0;height:1px;background:var(--line);margin:1.6em 0}

html.jsready .rich>section{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .62s ease,transform .62s cubic-bezier(.2,.7,.3,1);
}

html.jsready .rich>section.on{opacity:1;transform:none}
html.jsready .rich>section:nth-child(2){transition-delay:.07s}
html.jsready .rich>section:nth-child(3){transition-delay:.13s}
html.jsready .rich>section:nth-child(4){transition-delay:.19s}
html.jsready .rich>section:nth-child(5){transition-delay:.25s}
html.jsready .rich>section:nth-child(6){transition-delay:.31s}
html.jsready .rich>section:nth-child(n+7){transition-delay:.37s}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:88px;
  min-width:0;
  background:#341f2c;
  border-radius:var(--r);
  padding:18px 15px 16px;
}

.side small{margin-bottom:2px}

.side h2{
  margin:0 0 12px;
  font-size:20px;
  line-height:1.3;
  color:#fff;
}

.side__links{display:flex;flex-direction:column;gap:2px;min-width:0}

.side__links a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 10px;
  border-radius:8px;
  text-decoration:none;
  font-size:16px;
  color:var(--dim);
}

.side__links a:hover{background:rgba(255,0,128,.2);color:#fff}

/* ---------- 页脚 ---------- */
.foot{
  position:relative;
  z-index:1;
  margin-top:clamp(44px,8vw,92px);
  padding:clamp(30px,5vw,58px) clamp(16px,4vw,40px) 22px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1.15fr;
  gap:clamp(20px,4vw,48px);
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,0,128,.18),rgba(255,0,255,.07) 42%,rgba(38,23,31,0));
}

.foot section{min-width:0}

.foot h3{
  margin:0 0 12px;
  font-size:clamp(17px,2vw,20px);
  line-height:1.35;
  color:#fff;
}

.foot__mark{margin:0;font-size:16px;color:var(--dim);overflow-wrap:anywhere}

.foot__links{display:flex;flex-direction:column;gap:2px;min-width:0}

.foot__links a{
  display:flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  color:var(--dim);
  text-decoration:none;
}

.foot__links a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

.sub{display:flex;flex-wrap:wrap;gap:8px;min-width:0}

.sub input{
  flex:1 1 130px;
  min-width:0;
  min-height:46px;
  padding:0 13px;
  font-family:inherit;
  font-size:16px;
  color:var(--text);
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  border-radius:var(--r);
}

.sub input::placeholder{color:#cbb0c0}

.sub button{
  min-height:46px;
  padding:0 20px;
  font-family:inherit;
  font-size:16px;
  font-weight:700;
  letter-spacing:.1em;
  color:#260f1a;
  background:linear-gradient(100deg,var(--pink),var(--mag));
  border:0;
  border-radius:var(--r);
  cursor:pointer;
}

.sub button:hover{filter:brightness(1.08)}

.foot__bar{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
  margin-top:8px;
  padding-top:16px;
  border-top:1px solid var(--line);
  font-size:16px;
  color:#d3b6c6;
}

.foot__bar p{margin:0}

.foot__bar a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  text-decoration:none;
  color:#ffb4d9;
}

.foot__bar a:hover{color:#fff}

/* ---------- 断点 ---------- */
@media (max-width:1000px){
  .body{grid-template-columns:minmax(0,1fr)}
  .side{position:static;order:-1}
  .side__links{flex-direction:row;flex-wrap:wrap}
  .side__links a{min-height:42px;padding:0 12px;background:rgba(255,255,255,.07)}
  .foot{grid-template-columns:1fr 1fr}
  .foot__a{grid-column:1/-1}
}

@media (max-width:700px){
  body{font-size:17px}
  .mast__side a:not(.cta){display:none}
  .hero{clip-path:ellipse(180% 100% at 50% 0%);min-height:64vh}
  .hero__bg{top:14%}
  .foot{grid-template-columns:1fr}
  .foot__bar{justify-content:flex-start}
  .rich>section{padding:18px 15px}
  .side{padding:14px 12px}
}

@media (max-width:460px){
  .mast{padding:0 10px}
  .mast__bar{gap:6px}
  .drop>summary{padding:0 11px;gap:7px;letter-spacing:.04em}
  .brand{padding:0 6px;font-size:18px}
  .brand__mark{display:none}
  .brand__name{overflow:hidden;text-overflow:ellipsis;max-width:34vw}
  .mast__side .cta{margin-left:0;padding:0 13px;font-size:16px}
  .hero{padding-left:14px;padding-right:14px}
  .hero__bg{font-size:clamp(64px,22vw,120px);max-width:94%}
  .hero__go{padding:0 24px}
}

@media (max-width:360px){
  .hero__bg{font-size:64px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body::before{animation:none}
  html.jsready .rich>section{opacity:1;transform:none;transition:none}
  .drop>menu{animation:none}
}
</style>

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