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

:root{
  --red:#ff0000;
  --pink:#ff1493;
  --ink:#261717;
  --bg:#170e0e;
  --tx:#f8eff0;
  --mut:#c6aeb1;
  --line:rgba(255,255,255,.13);
  --card:rgba(255,255,255,.05);
  --r:28px;
  --barh:60px;
  --f:"Figtree","Noto 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%;
}

body{
  margin:0;
  padding:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--tx);
  font:400 17px/1.75 var(--f);
  letter-spacing:.01em;
  position:relative;
  isolation:isolate;
}

body::before{
  content:"";
  position:fixed;
  inset:-25% -15%;
  z-index:-2;
  background:
    radial-gradient(44% 38% at 14% 12%,rgba(255,0,0,.45),transparent 68%),
    radial-gradient(38% 42% at 86% 8%,rgba(255,20,147,.42),transparent 70%),
    radial-gradient(52% 46% at 72% 88%,rgba(255,0,0,.24),transparent 72%),
    radial-gradient(40% 38% at 22% 92%,rgba(255,20,147,.26),transparent 70%);
  filter:blur(46px) saturate(1.25);
  animation:aurora 11s ease-in-out infinite alternate;
  pointer-events:none;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background-image:radial-gradient(circle,rgba(255,255,255,.10) 1px,transparent 1px);
  background-size:26px 26px;
  opacity:.5;
  pointer-events:none;
}

@keyframes aurora{
  0%{transform:translate3d(-2%,-1%,0) scale(1)}
  100%{transform:translate3d(3%,2%,0) scale(1.14)}
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

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

div[id]{scroll-margin-top:132px}

/* ---------- 顶栏 ---------- */

.top{
  position:sticky;
  top:0;
  z-index:80;
  background:linear-gradient(180deg,rgba(23,14,14,.96),rgba(23,14,14,.74));
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid var(--line);
}

.ticker{
  margin:0;
  padding:6px 16px;
  font-size:13px;
  line-height:1.4;
  letter-spacing:.2em;
  text-align:center;
  color:#ffd7e2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  background:linear-gradient(90deg,rgba(255,0,0,.26),rgba(255,20,147,.26));
  border-bottom:1px solid var(--line);
}

.bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:var(--barh);
  max-width:1180px;
  margin:0 auto;
  padding:6px 16px;
}

.brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  min-height:44px;
  padding:5px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  text-decoration:none;
  transition:transform .3s ease,border-color .3s ease;
}

.brand:hover{transform:translateY(-2px);border-color:var(--pink)}

.mark{width:32px;height:32px;border-radius:10px}

.dot{
  width:26px;
  height:26px;
  border-radius:50%;
  background:conic-gradient(from 0deg,var(--red),var(--pink),#ff6b6b,var(--red));
  box-shadow:0 0 18px rgba(255,20,147,.65);
  animation:spin 10s linear infinite;
}

details.nav{position:relative}

details.nav>summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:16px;
  background:rgba(255,255,255,.05);
  transition:background .3s ease;
  user-select:none;
}

details.nav>summary::-webkit-details-marker{display:none}
details.nav>summary:hover{background:rgba(255,20,147,.18)}

details.nav>summary::before{
  content:"";
  width:16px;
  height:2px;
  border-radius:2px;
  background:currentColor;
  box-shadow:0 -5px 0 currentColor,0 5px 0 currentColor;
  transition:box-shadow .3s ease,transform .3s ease;
}

details[open]>summary::before{
  box-shadow:0 0 0 currentColor;
  transform:rotate(45deg);
  background:var(--pink);
}

details.nav>menu{
  position:fixed;
  inset:0;
  z-index:70;
  margin:0;
  padding:calc(var(--barh) + 56px) 24px 48px;
  list-style:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  overflow:auto;
  background:
    radial-gradient(58% 46% at 18% 10%,rgba(255,0,0,.4),transparent 70%),
    radial-gradient(50% 46% at 86% 84%,rgba(255,20,147,.34),transparent 72%),
    rgba(18,10,10,.96);
  backdrop-filter:blur(16px);
}

details.nav>menu li a{
  display:flex;
  align-items:center;
  min-height:52px;
  padding:12px 8px;
  font-size:20px;
  text-decoration:none;
  border-bottom:1px solid var(--line);
  transition:color .25s ease,padding-left .25s ease;
}

details.nav>menu li a:hover,
details.nav>menu li a:focus-visible{
  color:var(--pink);
  padding-left:16px;
}

/* ---------- 粘性锚点条 ---------- */

.rail{
  position:sticky;
  top:var(--barh);
  z-index:40;
  background:rgba(20,12,12,.84);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.rail ul{
  display:flex;
  gap:8px;
  list-style:none;
  margin:0 auto;
  padding:8px 14px;
  max-width:1180px;
  overflow-x:auto;
  scrollbar-width:none;
}

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

.rail a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:16px;
  white-space:nowrap;
  text-decoration:none;
  color:#f3dde1;
  transition:background .3s ease,color .3s ease,border-color .3s ease;
}

.rail a:hover,
.rail a:focus-visible{
  background:linear-gradient(90deg,var(--red),var(--pink));
  border-color:transparent;
  color:#fff;
}

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

.hero{
  position:relative;
  min-height:45vh;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:16px;
  padding:44px 20px 54px;
  text-align:center;
}

.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--pink),transparent);
  opacity:.65;
}

.art{
  margin:0;
  width:84px;
  height:84px;
  filter:drop-shadow(0 12px 28px rgba(255,20,147,.55));
}

.art svg{width:100%;height:100%;animation:spin 16s linear infinite}

.hero-copy{max-width:770px}

h1{
  margin:0 0 12px;
  font-size:clamp(28px,6vw,54px);
  line-height:1.22;
  letter-spacing:-.02em;
  background:linear-gradient(100deg,#fff,#ffd3e0 46%,#ff1493);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  margin:0 auto;
  max-width:640px;
  color:var(--mut);
  font-size:17px;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:22px;
  padding:0 30px;
  border-radius:999px;
  background:linear-gradient(100deg,var(--red),var(--pink));
  color:#fff;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 14px 32px -14px rgba(255,20,147,.95);
  transition:transform .3s ease,filter .3s ease;
}

.cta:hover{transform:translateY(-2px);filter:saturate(1.2)}

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

main{display:block}

.shell{
  max-width:1180px;
  margin:0 auto;
  padding:30px 20px 80px;
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
}

@media (min-width:980px){
  .shell{grid-template-columns:262px minmax(0,1fr);gap:38px;align-items:start}
}

.side{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:20px 18px;
  backdrop-filter:blur(8px);
  box-shadow:0 26px 48px -34px rgba(0,0,0,.95);
}

@media (min-width:980px){
  .side{position:sticky;top:calc(var(--barh) + 66px)}
}

.side h2{
  margin:0 0 10px;
  font-size:17px;
  letter-spacing:.1em;
  color:#ffd9e4;
}

.side hr{
  border:0;
  height:2px;
  margin:0 0 14px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--red),var(--pink),transparent);
}

.side ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}

.side a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:8px;
  border-radius:14px;
  font-size:16px;
  text-decoration:none;
  color:#e9d6d9;
  transition:background .25s ease,color .25s ease;
}

.side a:hover,
.side a:focus-visible{background:rgba(255,20,147,.18);color:#fff}

/* ---------- 正文 ---------- */

.prose{
  min-width:0;
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.024));
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:26px 20px 34px;
  box-shadow:0 34px 64px -44px #000;
}

@media (min-width:700px){
  .prose{padding:38px 38px 50px}
}

.prose div+div{
  margin-top:38px;
  padding-top:38px;
  border-top:1px solid var(--line);
}

.prose h2{
  margin:0 0 12px;
  font-size:clamp(21px,2.7vw,27px);
  line-height:1.36;
  letter-spacing:-.01em;
  color:#fff;
}

.prose h3{
  margin:26px 0 10px;
  font-size:19px;
  line-height:1.5;
  color:#ffd3e0;
}

.prose hr{
  border:0;
  height:2px;
  margin:0 0 20px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--red),var(--pink) 42%,transparent);
}

.prose p{margin:0 0 16px;color:#efdfe2}
.prose ul,.prose ol{margin:0 0 16px;padding-left:22px}
.prose li{margin:6px 0}
.prose strong{color:#fff}
.prose a{color:#ff8fc0;text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:#fff}
.prose figure{margin:22px 0}
.prose figcaption{font-size:15px;color:var(--mut);margin-top:8px}
.prose img{border-radius:18px;box-shadow:0 18px 34px -26px #000}
.prose blockquote{
  margin:22px 0;
  padding:14px 18px;
  border-left:3px solid var(--pink);
  background:rgba(255,20,147,.09);
  border-radius:0 18px 18px 0;
}
.prose blockquote p:last-child{margin:0}
.prose table{width:100%;border-collapse:collapse;font-size:16px;margin:0 0 18px}
.prose th,.prose td{border:1px solid var(--line);padding:10px;text-align:left}
.prose code{font-size:15px;background:rgba(255,255,255,.09);padding:2px 6px;border-radius:8px}

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

.foot{
  position:relative;
  margin-top:10px;
  padding:42px 20px 28px;
  border-top:1px solid var(--line);
  background:
    linear-gradient(180deg,rgba(255,0,0,.12),transparent 46%),
    rgba(14,8,8,.86);
}

.mega{
  margin:0 0 28px;
  font-size:clamp(44px,12.5vw,132px);
  line-height:.92;
  font-weight:700;
  letter-spacing:-.035em;
  text-align:center;
  word-break:break-word;
  background:linear-gradient(100deg,#fff,#ff1493 62%,#ff0000);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.fgrid{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px 18px;
}

@media (min-width:820px){
  .fgrid{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:26px}
}

.fcol{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:2px;
  align-content:start;
  font-style:normal;
  font-size:16px;
}

address.fcol strong{font-size:18px;color:#fff;line-height:1.5}
address.fcol span{color:var(--mut);font-size:16px}

.fcol a{
  display:flex;
  align-items:center;
  min-height:40px;
  text-decoration:none;
  color:#e3d0d4;
  transition:color .25s ease,padding-left .25s ease;
}

.fcol a:hover,
.fcol a:focus-visible{color:var(--pink);padding-left:4px}

.base{
  max-width:1180px;
  margin:28px auto 0;
  padding-top:16px;
  border-top:1px solid var(--line);
  text-align:center;
  font-size:15px;
  color:var(--mut);
}

.base p{margin:0}

/* ---------- 入场 ---------- */

html.js .reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .75s ease,transform .75s ease;
}

html.js .reveal.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body::before,.art svg,.dot{animation:none}
  html.js .reveal{opacity:1;transform:none;transition:none}
  .cta,.brand,.fcol a,.side a{transition:none}
}

@media (min-width:980px){
  body{font-size:18px}
}

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