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

:root{
  --ink:#26171f;
  --ink-deep:#170d13;
  --pink:#ff0080;
  --mag:#ff00ff;
  --fg:#f9f0f6;
  --mute:#d3bfcd;
  --line:rgba(255,0,128,.34);
  --line-soft:rgba(255,255,255,.13);
  --r:10px;
  --wrap:1180px;
  --pad:clamp(16px,4vw,40px);
}

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

html{
  background:var(--ink-deep);
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--ink-deep);
  color:var(--fg);
  font-family:'Archivo','Space Grotesk',system-ui,-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  font-size:1.0625rem;
  line-height:1.75;
  overflow-x:clip;
}

body::before{
  content:"";
  position:fixed;
  inset:-25%;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(34% 40% at 20% 22%, rgba(255,0,128,.74), transparent 64%),
    radial-gradient(30% 34% at 82% 14%, rgba(255,0,255,.6), transparent 62%),
    radial-gradient(50% 46% at 66% 86%, rgba(255,0,128,.4), transparent 68%),
    conic-gradient(from 180deg at 50% 55%, rgba(255,0,255,.34), rgba(255,0,128,.24), rgba(96,32,148,.44), rgba(255,0,255,.34));
  filter:blur(48px) saturate(150%);
  animation:aurora 26s ease-in-out infinite alternate, shimmer 13s linear infinite;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(23,13,19,.58), rgba(23,13,19,.84) 58%, rgba(23,13,19,.95)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 96px);
}

@keyframes aurora{
  from{transform:translate3d(-3%,-2%,0) scale(1.05) rotate(0deg)}
  to{transform:translate3d(3%,3%,0) scale(1.18) rotate(8deg)}
}

@keyframes shimmer{
  from{filter:blur(48px) saturate(150%) hue-rotate(0deg)}
  to{filter:blur(48px) saturate(150%) hue-rotate(38deg)}
}

@keyframes floatA{
  from{transform:rotate(-5deg) translateY(-8px)}
  to{transform:rotate(-2deg) translateY(10px)}
}

@keyframes floatB{
  from{transform:rotate(6deg) translateY(10px)}
  to{transform:rotate(3deg) translateY(-10px)}
}

@keyframes ghostShimmer{
  from{filter:hue-rotate(0deg);opacity:.9}
  to{filter:hue-rotate(60deg);opacity:1}
}

img{max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid var(--mag);outline-offset:3px;border-radius:6px}

/* 顶部：细条 + 粘性导航 */
.top{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(20,11,17,.82);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid var(--line-soft);
}

.strip{
  display:flex;
  align-items:center;
  justify-content:center;
  height:36px;
  overflow:hidden;
  white-space:nowrap;
  background:linear-gradient(90deg, rgba(255,0,128,.34), rgba(255,0,255,.34), rgba(255,0,128,.34));
  background-size:220% 100%;
  border-bottom:1px solid rgba(255,255,255,.09);
  animation:flow 14s linear infinite;
}

.stripTxt{
  font-size:1rem;
  letter-spacing:.26em;
  color:#ffd9ec;
  text-indent:.26em;
}

@keyframes flow{
  from{background-position:0 0}
  to{background-position:220% 0}
}

.headRow{
  display:flex;
  align-items:center;
  gap:clamp(8px,2vw,22px);
  max-width:var(--wrap);
  margin:0 auto;
  padding:9px var(--pad);
}

.mark{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:50%;
  border:1px solid var(--line);
  text-decoration:none;
  background:radial-gradient(circle at 32% 26%, rgba(255,0,128,.4), rgba(255,0,255,.14));
  transition:border-color .25s, box-shadow .25s, transform .25s;
}

.mark:hover{
  border-color:var(--mag);
  box-shadow:0 0 0 3px rgba(255,0,128,.2);
  transform:rotate(-6deg);
}

.markImg{display:block;width:32px;height:32px;object-fit:contain}
.markTxt{font-weight:700;font-size:1.15rem;letter-spacing:0}

.navMain{
  flex:1 1 auto;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
}

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

.navMain p{
  display:flex;
  align-items:center;
  gap:3px;
  margin:0;
  white-space:nowrap;
}

.navMain a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 12px;
  border-radius:var(--r);
  border:1px solid transparent;
  color:var(--mute);
  text-decoration:none;
  transition:color .22s, border-color .22s, background .22s, transform .22s;
}

.navMain a:hover,
.navMain a:focus-visible{
  color:#fff;
  border-color:var(--line);
  background:rgba(255,0,128,.16);
  transform:translateY(-2px);
}

/* 首屏 */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:70vh;
  display:grid;
  place-items:center;
  text-align:center;
  padding:clamp(44px,12vh,110px) var(--pad);
  border-bottom:1px solid var(--line-soft);
}

.stage{
  position:absolute;
  inset:0;
  margin:0;
  z-index:-1;
  pointer-events:none;
}

.ghost{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(9rem,34vw,26rem);
  font-weight:700;
  line-height:.8;
  letter-spacing:-.07em;
  color:transparent;
  -webkit-text-stroke:2px rgba(255,255,255,.15);
  animation:ghostShimmer 9s linear infinite alternate;
}

.art{
  position:absolute;
  object-fit:cover;
  border-radius:var(--r);
  border:1px solid var(--line);
  opacity:.72;
  filter:saturate(128%);
}

.art1{
  width:min(28%,300px);
  aspect-ratio:4 / 5;
  left:2.5%;
  top:7%;
  transform:rotate(-5deg);
  animation:floatA 12s ease-in-out infinite alternate;
}

.art2{
  width:min(21%,230px);
  aspect-ratio:3 / 4;
  right:3%;
  bottom:7%;
  transform:rotate(6deg);
  animation:floatB 14s ease-in-out infinite alternate;
}

.heroCopy{
  position:relative;
  z-index:1;
  max-width:56rem;
}

.heroCopy h1{
  margin:0 0 .45em;
  font-family:'Space Grotesk','Archivo',sans-serif;
  font-size:clamp(2rem,7vw,4.4rem);
  line-height:1.08;
  letter-spacing:-.03em;
  color:#fff;
  text-wrap:balance;
}

@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .heroCopy h1{
    background:linear-gradient(96deg,#fff 22%,#ffc8e4 60%,#ff5cae 96%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
}

.lead{
  max-width:44ch;
  margin:0 auto 1.7rem;
  color:var(--mute);
  font-size:1.0625rem;
}

.heroCta{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:11px 30px;
  border-radius:999px;
  border:1px solid var(--pink);
  background:rgba(255,0,128,.18);
  color:#fff;
  text-decoration:none;
  letter-spacing:.16em;
  text-indent:.16em;
  transition:background .25s, color .25s, transform .25s;
}

.heroCta:hover{
  background:var(--pink);
  color:#1a0c13;
  transform:translateY(-2px);
}

/* 正文 + 右侧栏 */
.body{
  max-width:var(--wrap);
  margin:0 auto;
  padding:clamp(30px,6vw,64px) var(--pad) clamp(40px,8vw,80px);
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:clamp(24px,4vw,56px);
  align-items:start;
}

.prose{
  max-width:70ch;
  min-width:0;
  overflow-wrap:anywhere;
}

.prose section{
  padding-block:clamp(26px,4vw,46px);
  border-top:1px solid var(--line-soft);
  scroll-margin-top:132px;
}

.prose section:first-child{border-top:0;padding-top:0}

.prose h2{
  margin:0 0 .62em;
  font-family:'Space Grotesk','Archivo',sans-serif;
  font-size:clamp(1.5rem,3.4vw,2.15rem);
  line-height:1.24;
  letter-spacing:-.02em;
  color:#fff;
}

.prose h3{
  margin:1.5em 0 .5em;
  font-size:1.25rem;
  line-height:1.4;
  color:#ffd0e6;
}

.prose p{margin:0 0 1.05em}
.prose a{color:#ff9acb;text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:#fff}
.prose ul,.prose ol{padding-left:1.35em;margin:0 0 1.1em}
.prose li{margin:.4em 0}
.prose img{border-radius:var(--r);border:1px solid var(--line-soft);height:auto}

.prose blockquote{
  margin:1.4em 0;
  padding:14px 18px;
  border-left:3px solid var(--pink);
  border-radius:0 var(--r) var(--r) 0;
  background:rgba(255,0,128,.1);
  color:#ffe4f1;
}

.prose table{
  display:block;
  overflow-x:auto;
  width:100%;
  border-collapse:collapse;
  font-size:1rem;
}

.prose th,.prose td{
  border:1px solid var(--line-soft);
  padding:10px 12px;
  text-align:left;
}

.prose code,.prose pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.95rem;
}

.rail{
  position:sticky;
  top:132px;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:16px 18px 20px;
  background:rgba(23,13,19,.66);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.rail small{
  display:block;
  margin:0 0 2px;
  font-size:1rem;
  letter-spacing:.26em;
  color:#ff8fc4;
}

.rail h3{
  margin:0 0 12px;
  font-family:'Space Grotesk',sans-serif;
  font-size:1.3rem;
  line-height:1.3;
  color:#fff;
}

.rail ul{list-style:none;margin:0;padding:0}
.rail li + li{border-top:1px dashed rgba(255,255,255,.14)}

.rail a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:6px 4px;
  color:var(--mute);
  text-decoration:none;
  transition:color .2s, transform .2s;
}

.rail a:hover{color:#fff;transform:translateX(4px)}

/* 页脚 */
.foot{
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, rgba(23,13,19,.5), rgba(255,0,128,.16));
  padding:clamp(36px,7vw,72px) var(--pad) 22px;
}

.cta{
  max-width:var(--wrap);
  margin:0 auto;
  display:grid;
  justify-items:center;
  gap:18px;
  text-align:center;
}

.ctaBrand{
  margin:0;
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(1.8rem,7vw,3.6rem);
  line-height:1.06;
  letter-spacing:-.03em;
  color:#fff;
}

.ctaBtn{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:10px 26px;
  border-radius:999px;
  border:1px solid var(--mag);
  color:#fff;
  text-decoration:none;
  letter-spacing:.14em;
  text-indent:.14em;
  transition:background .25s, color .25s;
}

.ctaBtn:hover{background:var(--mag);color:#1a0c13}

.footRow{
  max-width:var(--wrap);
  margin:clamp(26px,5vw,46px) auto 0;
  padding-top:16px;
  border-top:1px solid var(--line-soft);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.footMark{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  text-decoration:none;
  color:var(--fg);
}

.footNav p{display:flex;flex-wrap:wrap;gap:2px;margin:0}

.footNav a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:8px 10px;
  border-radius:8px;
  color:var(--mute);
  text-decoration:none;
  transition:color .2s, background .2s;
}

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

.footCopy{color:var(--mute);font-size:1rem}

@media (max-width:900px){
  .body{grid-template-columns:minmax(0,1fr)}
  .rail{position:static}
  .prose section{scroll-margin-top:112px}
}

@media (max-width:720px){
  .hero{min-height:66vh;padding-block:clamp(36px,10vh,72px)}
  .art{opacity:.4}
  .art1{width:36%;left:-4%;top:6%}
  .art2{width:30%;right:-6%;bottom:6%}
  .heroCopy h1{font-size:clamp(1.9rem,9vw,2.8rem)}
  .footRow{justify-content:flex-start}
  .footCopy{width:100%}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body::before,
  .strip,
  .ghost,
  .art1,
  .art2{animation:none}
  .navMain a:hover,
  .heroCta:hover,
  .rail a:hover,
  .mark:hover{transform:none}
}

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