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

:root{
  --bg:#0c0a18;
  --bg-2:#1a1a2e;
  --red:#ff0000;
  --pink:#ff006e;
  --txt:#f4eef8;
  --dim:#c3b6d4;
  --line:rgba(255,0,110,.28);
  --card:rgba(255,255,255,.045);
  --r:18px;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  padding:0 0 190px;
  overflow-x:hidden;
  color:var(--txt);
  font:400 17px/1.68 "Rubik","Nunito Sans",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  background:
    radial-gradient(900px 520px at 82% -8%, #35093f 0%, rgba(53,9,63,0) 62%),
    radial-gradient(700px 460px at 6% 22%, rgba(255,0,0,.16) 0%, rgba(255,0,0,0) 60%),
    var(--bg);
  background-attachment:fixed;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:70;
  pointer-events:none;
  opacity:.55;
  mix-blend-mode:screen;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.04) 0 1px,rgba(255,255,255,0) 1px 3px);
}

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

a{color:#ff8ab5}

.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;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 12px 12px;
  background:rgba(12,9,24,.94);
  border-top:1px solid var(--line);
  box-shadow:0 -10px 34px rgba(255,0,110,.18);
  backdrop-filter:blur(10px);
}

.dock-side{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}

.dock-side a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 13px;
  font-size:16px;
  line-height:1.2;
  color:var(--txt);
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  transition:background .18s,box-shadow .18s,border-color .18s;
}

.dock-side a:hover,
.dock-side a:focus-visible{
  background:rgba(255,0,110,.2);
  border-color:var(--pink);
  box-shadow:0 0 16px rgba(255,0,110,.6);
  outline:none;
}

.dock-r li:last-child a{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(120deg,var(--red),var(--pink));
  box-shadow:0 0 18px rgba(255,0,110,.7);
  font-weight:600;
}

.brand{
  order:0;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:6px 14px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  letter-spacing:.14em;
  border-radius:999px;
  text-shadow:0 0 10px rgba(255,0,110,.95),0 0 26px rgba(255,0,0,.6);
}

.brand .logo{width:30px;height:30px;object-fit:contain}
.brand-t{font-size:17px}

/* ---------- 斜切首屏 ---------- */
.hero{
  position:relative;
  min-height:45vh;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  overflow:hidden;
  padding:70px 22px 66px;
  clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
  background:
    linear-gradient(135deg,#1a1a2e 0%,#3c0430 58%,#12060f 100%);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.5;
  background-image:
    linear-gradient(rgba(255,0,110,.22) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,0,110,.16) 1px,transparent 1px);
  background-size:38px 38px,38px 38px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,0));
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,0));
}

.hero-veil{
  position:absolute;
  inset:0;
  background:linear-gradient(255deg,rgba(12,10,24,.15) 0%,rgba(12,10,24,.86) 72%);
}

.hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:hue-rotate(305deg) saturate(1.25) contrast(1.05);
  opacity:.5;
}

.hero-copy{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1080px;
  margin:0 auto;
  text-align:right;
}

.hero-h1{
  margin:0 0 22px;
  font-size:clamp(2rem,7.4vw,3.5rem);
  line-height:1.12;
  letter-spacing:.01em;
  color:#fff;
  text-shadow:
    0 0 8px rgba(255,255,255,.6),
    0 0 26px rgba(255,0,110,.95),
    3px 0 0 rgba(255,0,0,.65),
    -3px 0 0 rgba(255,0,110,.65);
  animation:glitch 5.5s infinite steps(1,end);
}

.hero-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 26px;
  font-size:17px;
  font-weight:600;
  letter-spacing:.06em;
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  background:linear-gradient(120deg,var(--red),var(--pink));
  box-shadow:0 0 22px rgba(255,0,110,.72),0 10px 26px rgba(0,0,0,.5);
}

.hero-cta:hover,.hero-cta:focus-visible{
  box-shadow:0 0 34px rgba(255,0,110,1),0 10px 26px rgba(0,0,0,.5);
}

@keyframes glitch{
  0%,100%{transform:none}
  38%{transform:translate(-2px,1px) skewX(-1.4deg)}
  40%{transform:translate(2px,-1px) skewX(1.4deg)}
  42%{transform:none}
  70%{transform:translate(1px,1px)}
  72%{transform:none}
}

/* ---------- 主体 ---------- */
main{display:block}

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:44px 20px 70px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:30px;
}

.content{min-width:0}

section div,
section > .block{
  scroll-margin-top:92px;
}

.sec-h{
  margin:0 0 8px;
  font-size:clamp(1.45rem,4.4vw,2rem);
  line-height:1.24;
  letter-spacing:.02em;
  color:#fff;
  text-shadow:0 0 14px rgba(255,0,110,.7);
}

.sec-h::after{
  content:"";
  display:block;
  width:74px;
  height:3px;
  margin-top:12px;
  background:linear-gradient(90deg,var(--red),var(--pink),transparent);
  box-shadow:0 0 12px rgba(255,0,110,.9);
}

.subtitle{
  margin:16px 0 30px;
  color:var(--dim);
  font-size:17px;
  max-width:62ch;
}

section div{
  position:relative;
  margin:0 0 22px;
  padding:24px 22px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:linear-gradient(160deg,rgba(255,255,255,.062),rgba(255,255,255,.015));
  box-shadow:0 14px 34px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,0,0,.05);
  animation:rise .55s cubic-bezier(.22,.9,.3,1) both;
}

section div:nth-child(2){animation-delay:.06s}
section div:nth-child(3){animation-delay:.12s}
section div:nth-child(4){animation-delay:.18s}
section div:nth-child(5){animation-delay:.24s}
section div:nth-child(6){animation-delay:.3s}
section div:nth-child(7){animation-delay:.36s}
section div:nth-child(n+8){animation-delay:.42s}

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

section div::before{
  content:"";
  position:absolute;
  left:0;top:18px;bottom:18px;
  width:3px;
  border-radius:3px;
  background:linear-gradient(180deg,var(--red),var(--pink));
  box-shadow:0 0 12px rgba(255,0,110,.85);
}

section h2{
  margin:0 0 12px;
  font-size:1.32rem;
  line-height:1.3;
  color:#fff;
  text-shadow:0 0 12px rgba(255,0,110,.6);
}

section h3{
  margin:26px 0 10px;
  font-size:1.08rem;
  color:#ffd3e4;
}

section p{margin:0 0 16px}
section p:last-child{margin-bottom:0}
section ul,section ol{margin:0 0 16px;padding-left:1.25em}
section li{margin:0 0 8px}
section strong{color:#fff}
section blockquote{
  margin:0 0 16px;
  padding:12px 18px;
  border-left:3px solid var(--pink);
  border-radius:0 12px 12px 0;
  background:rgba(255,0,110,.08);
  color:#ffdcea;
}
section img{border-radius:14px;margin:0 0 16px;box-shadow:0 10px 26px rgba(0,0,0,.5)}
section a{color:#ff9dc3;text-underline-offset:3px}
section code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.95em;
  padding:1px 6px;
  border-radius:6px;
  background:rgba(255,255,255,.1);
}
section hr{border:0;height:1px;margin:22px 0;background:var(--line)}

/* ---------- 右侧栏 ---------- */
.rail{
  padding:18px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r);
  background:rgba(255,255,255,.035);
  box-shadow:0 12px 28px rgba(0,0,0,.45);
}

.rail-t{
  margin:0 0 12px;
  font-size:16px;
  letter-spacing:.18em;
  color:#ff9dc3;
}

.rail-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:7px 12px;
  font-size:16px;
  color:var(--txt);
  text-decoration:none;
  border:1px dashed rgba(255,0,110,.4);
  border-radius:999px;
  transition:background .18s,border-color .18s;
}

.rail-list a:hover,
.rail-list a:focus-visible{
  background:rgba(255,0,110,.18);
  border-style:solid;
  border-color:var(--pink);
  outline:none;
}

/* ---------- 页脚 ---------- */
.foot{
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(26,26,46,.55),rgba(8,6,16,.95));
  padding:36px 20px 30px;
}

.foot-top{
  max-width:1080px;
  margin:0 auto 26px;
  display:grid;
  gap:26px;
}

.foot-col{margin:0}

.foot-col dt{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:.18em;
  color:#ff9dc3;
}

.foot-col dd{
  margin:0 0 8px;
  color:var(--dim);
  font-size:16px;
}

.foot-col dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--dim);
  text-decoration:none;
}

.foot-col dd a:hover,
.foot-col dd a:focus-visible{color:#fff;text-shadow:0 0 12px rgba(255,0,110,.9);outline:none}

.foot-brand{
  color:#fff !important;
  font-weight:600;
  letter-spacing:.1em;
  text-shadow:0 0 14px rgba(255,0,110,.8);
}

.foot-key{color:var(--dim)}

.sub-form{display:flex;flex-wrap:wrap;gap:8px}

.sub-form input{
  flex:1 1 140px;
  min-height:44px;
  padding:10px 14px;
  font:inherit;
  font-size:16px;
  color:#fff;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:999px;
}

.sub-form input::placeholder{color:#9d8fb2}

.sub-form input:focus{
  outline:none;
  border-color:var(--pink);
  box-shadow:0 0 14px rgba(255,0,110,.55);
}

.sub-form button{
  min-height:44px;
  padding:10px 20px;
  font:inherit;
  font-size:16px;
  font-weight:600;
  color:#fff;
  cursor:pointer;
  border:0;
  border-radius:999px;
  background:linear-gradient(120deg,var(--red),var(--pink));
  box-shadow:0 0 16px rgba(255,0,110,.6);
}

.copy{
  max-width:1080px;
  margin:0 auto;
  text-align:center;
  font-size:16px;
  color:#9d8fb2;
  letter-spacing:.06em;
}

/* ---------- 断点 ---------- */
@media (max-width:759px){
  body{padding-bottom:210px}
  .brand{order:-1;flex:1 0 100%}
  .hero{padding:56px 18px 58px;min-height:44vh}
  .wrap{padding:34px 16px 60px}
  section div{padding:20px 16px 20px 20px}
  .foot{padding:30px 16px 26px}
}

@media (min-width:760px){
  .dock{padding:12px 18px 14px}
  .foot-top{grid-template-columns:1.2fr 1.2fr 1fr;align-items:start;gap:32px}
}

@media (min-width:900px){
  body{padding-bottom:130px}
  .wrap{grid-template-columns:minmax(0,1fr) 252px;align-items:start;gap:34px}
  .rail{position:sticky;top:24px}
  .rail-list{flex-direction:column;flex-wrap:nowrap}
  .rail-list a{justify-content:flex-start}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body{background-attachment:scroll}
  .hero-h1{animation:none}
  section div{animation:none}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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