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

:root{
  --red:#ff0000;
  --pink:#ff006e;
  --ink:#1a1a2e;
  --cyan:#22e0ff;
  --bg:#0a0814;
  --panel:#12102a;
  --line:#2c2552;
  --txt:#ece9f8;
  --dim:#aaa2c8;
  --r:18px;
  --head-h:118px;
  --glow-red:0 0 12px rgba(255,0,0,.55), 0 0 34px rgba(255,0,110,.32);
}

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

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

body{
  margin:0;
  font-family:"Be Vietnam Pro","Noto Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--txt);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(255,0,110,.22), transparent 64%),
    radial-gradient(720px 440px at 94% 6%, rgba(255,0,0,.16), transparent 62%),
    linear-gradient(180deg,#0b0817,#08060f 58%,#0b0817);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,0,110,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,110,.055) 1px, transparent 1px);
  background-size:44px 44px;
}

.crt{
  position:fixed;
  inset:0;
  z-index:60;
  pointer-events:none;
  background:repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 3px);
  mix-blend-mode:screen;
  opacity:.65;
}

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

/* ---------- 头部 ---------- */
.site-head{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(9,7,19,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 34px rgba(255,0,110,.1);
}

.head-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 16px;
  border-bottom:1px dashed rgba(255,0,110,.26);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:4px 0;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  letter-spacing:.05em;
}

.mark{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:7px;
  font-size:16px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(140deg,var(--red),var(--pink));
  box-shadow:var(--glow-red);
}

.mark-px{
  background:
    linear-gradient(140deg,var(--red),var(--pink));
  position:relative;
}
.mark-px::after{
  content:"";
  position:absolute;
  inset:7px;
  background:#0a0814;
  border-radius:2px;
}

.brand-txt{font-size:19px;text-shadow:0 0 12px rgba(255,0,110,.65)}

.cta{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 15px;
  border:1px solid var(--pink);
  border-radius:11px;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  color:#fff;
  background:linear-gradient(120deg, rgba(255,0,0,.36), rgba(255,0,110,.26));
  box-shadow:0 0 18px rgba(255,0,110,.35), inset 0 0 0 1px rgba(255,255,255,.06);
  white-space:nowrap;
}
.cta:hover{box-shadow:0 0 26px rgba(255,0,110,.6), inset 0 0 0 1px rgba(255,255,255,.12)}

.head-nav{
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.head-nav::-webkit-scrollbar{height:0}

.head-nav p{
  display:flex;
  gap:2px;
  margin:0;
  padding:0 10px;
  white-space:nowrap;
}

.head-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  font-size:16px;
  color:var(--dim);
  text-decoration:none;
  border-bottom:2px solid transparent;
}
.head-nav a:hover,
.head-nav a:focus-visible{
  color:#fff;
  border-bottom-color:var(--pink);
  text-shadow:0 0 12px var(--pink);
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-end;
  min-height:clamp(300px,45vh,460px);
  overflow:hidden;
  border-bottom:2px solid var(--red);
  box-shadow:0 18px 40px -22px rgba(255,0,0,.7);
}

.hero-media{
  position:absolute;
  inset:0;
  background:
    linear-gradient(150deg,#25041c,#0a0814 62%),
    repeating-linear-gradient(45deg, rgba(255,0,110,.12) 0 2px, transparent 2px 14px);
}

.hero-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.9) contrast(1.06) hue-rotate(-10deg);
}

.hero-veil{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top, rgba(8,6,15,.96) 4%, rgba(8,6,15,.34) 56%, rgba(255,0,110,.24)),
    repeating-linear-gradient(to bottom, rgba(255,0,110,.07) 0 1px, transparent 1px 4px);
}

.hero-txt{
  position:relative;
  width:100%;
  max-width:960px;
  padding:20px 18px 24px;
}

.hero-tag{
  display:inline-block;
  margin:0 0 12px;
  padding:4px 13px;
  font-size:16px;
  letter-spacing:.14em;
  color:#fff;
  border:1px solid rgba(255,0,110,.75);
  border-radius:999px;
  background:rgba(10,8,20,.55);
  box-shadow:0 0 18px rgba(255,0,110,.4);
}

.hero h1{
  margin:0;
  font-size:clamp(30px,6.6vw,54px);
  line-height:1.3;
  letter-spacing:.01em;
  color:#fff;
  text-shadow:0 0 20px rgba(255,0,110,.55), 0 0 44px rgba(255,0,0,.34);
}

/* ---------- 主体 ---------- */
.stage{
  position:relative;
  z-index:1;
  padding:26px 16px 34px;
}

.page{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:258px minmax(0,1fr);
  gap:24px;
  align-items:start;
}

.rail{
  position:sticky;
  top:calc(var(--head-h) + 14px);
  padding:16px;
  border:1px solid var(--line);
  border-bottom:2px solid var(--pink);
  border-radius:var(--r);
  background:linear-gradient(180deg, rgba(255,0,110,.09), rgba(18,16,42,.72));
  box-shadow:0 0 26px -14px rgba(255,0,110,.9);
}

.rail h2,
.foot-form h2{
  margin:0 0 10px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.2em;
  color:var(--dim);
}

h2 span{position:relative;padding-left:17px;display:inline-block}
h2 span::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:8px;
  height:8px;
  background:var(--red);
  box-shadow:0 0 10px var(--red);
}

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

.rail-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:4px 9px;
  border-radius:10px;
  text-decoration:none;
  color:var(--txt);
  font-size:16px;
}
.rail-list a:hover{background:rgba(255,0,110,.16);color:#fff}

.num{
  flex:0 0 auto;
  font-size:16px;
  color:var(--pink);
  letter-spacing:.06em;
  opacity:.85;
}

.rail-top{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  margin-top:8px;
  font-size:16px;
  color:var(--pink);
  text-decoration:none;
}
.rail-top:hover{text-shadow:0 0 12px var(--pink)}

.flow{min-width:0}
.flow [id]{scroll-margin-top:calc(var(--head-h) + 18px)}

.flow > article{
  position:relative;
  margin:0 0 22px;
  padding:24px 20px;
  border:1px solid var(--line);
  border-bottom:2px solid var(--red);
  border-radius:var(--r);
  background:linear-gradient(180deg, rgba(26,26,46,.74), rgba(11,9,22,.9));
  box-shadow:0 0 32px -22px rgba(255,0,110,1);
}

.flow h2{
  margin:0 0 14px;
  font-size:clamp(22px,4.2vw,30px);
  line-height:1.3;
  color:#fff;
  text-shadow:0 0 16px rgba(255,0,110,.45);
}

.flow h3{
  margin:22px 0 8px;
  font-size:20px;
  line-height:1.4;
  color:#fff;
}

.flow p{margin:0 0 14px;color:#dbd6ee}
.flow ul,
.flow ol{margin:0 0 14px;padding-left:1.25em;color:#dbd6ee}
.flow li{margin:0 0 6px}
.flow a{color:#ff86b0;text-underline-offset:3px}
.flow a:hover{color:#fff}
.flow img{border-radius:12px;border:1px solid var(--line)}
.flow strong{color:#fff}
.flow blockquote{
  margin:0 0 14px;
  padding:12px 16px;
  border-left:3px solid var(--pink);
  background:rgba(255,0,110,.09);
  border-radius:0 12px 12px 0;
  color:#e6e2f6;
}
.flow table{width:100%;border-collapse:collapse;margin:0 0 14px;font-size:16px}
.flow th,
.flow td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.flow th{background:rgba(255,0,110,.12);color:#fff}

/* ---------- 页脚 ---------- */
.site-foot{
  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  padding:0 16px 40px;
}

.foot-form{
  margin:0 0 26px;
  padding:20px;
  border:1px solid var(--line);
  border-top:2px solid var(--pink);
  border-radius:var(--r);
  background:linear-gradient(100deg, rgba(255,0,110,.12), rgba(9,7,19,.9));
}

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

.sub input{
  flex:1 1 220px;
  min-height:46px;
  padding:0 14px;
  font:inherit;
  font-size:16px;
  color:var(--txt);
  background:#0c0a1a;
  border:1px solid var(--line);
  border-radius:12px;
}
.sub input::placeholder{color:var(--dim)}

.sub button{
  min-height:46px;
  padding:0 24px;
  font:inherit;
  font-size:16px;
  font-weight:700;
  color:#fff;
  border:0;
  border-radius:12px;
  cursor:pointer;
  background:linear-gradient(120deg,var(--red),var(--pink));
  box-shadow:0 0 22px rgba(255,0,110,.45);
}
.sub button:hover{box-shadow:0 0 30px rgba(255,0,110,.7)}

.foot-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.foot-name{margin:0;font-weight:700;letter-spacing:.08em;color:#fff}

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

.foot-nav a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 10px;
  font-size:16px;
  color:var(--dim);
  text-decoration:none;
}
.foot-nav a:hover{color:#fff;text-shadow:0 0 12px var(--pink)}

.foot-copy p{margin:0;font-size:16px;color:var(--dim);text-align:center}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: no-preference){
  html.js .flow > article,
  html.js .rail,
  html.js .foot-form{
    opacity:0;
    transform:translateY(16px);
  }
  html.js .is-in{
    opacity:1;
    transform:none;
    transition:opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1);
  }
  .hero h1{animation:glitch 7s steps(1) infinite}
  @keyframes glitch{
    0%,90%,100%{transform:none;text-shadow:0 0 20px rgba(255,0,110,.55), 0 0 44px rgba(255,0,0,.34)}
    92%{transform:skewX(-2deg) translateX(-2px);text-shadow:-2px 0 var(--red), 2px 0 var(--cyan)}
    95%{transform:skewX(1.6deg) translateX(2px);text-shadow:2px 0 var(--pink), -2px 0 var(--cyan)}
  }
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .hero h1{animation:none}
}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  :root{--head-h:114px}
  .page{grid-template-columns:1fr}
  .rail{position:static}
  .rail-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:520px){
  body{font-size:17px}
  .stage{padding:20px 12px 28px}
  .site-foot{padding:0 12px 34px}
  .flow > article{padding:20px 15px}
  .rail-list{grid-template-columns:1fr}
  .head-nav a{padding:0 10px}
  .hero-txt{padding:18px 14px 22px}
  .foot-copy p{width:100%}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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