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

:root{
  --red:#ff0000;
  --vio:#8b00ff;
  --ink:#261717;
  --fg:#f7eff2;
  --fg-dim:rgba(247,239,242,.70);
  --line:rgba(255,255,255,.18);
  --glass:rgba(255,255,255,.09);
  --blur:blur(15px);
}

*{box-sizing:border-box}

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

body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  font-family:'IBM Plex Sans','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.72;
  font-weight:400;
  color:var(--fg);
  background-color:#180d12;
  background-image:
    radial-gradient(58vw 58vw at 10% -10%,rgba(255,0,0,.36),transparent 62%),
    radial-gradient(66vw 66vw at 94% 4%,rgba(139,0,255,.34),transparent 60%),
    radial-gradient(90vw 60vw at 46% 106%,rgba(255,0,0,.18),transparent 66%),
    linear-gradient(180deg,#2a1718 0%,#150b11 58%,#241416 100%);
  background-attachment:fixed;
  background-repeat:no-repeat;
  background-size:cover;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(118deg,rgba(255,255,255,.07),transparent 42%);
}

body::after{
  content:"";
  position:fixed;
  left:-12vw;
  top:-10vw;
  width:44vw;
  height:44vw;
  border-radius:50%;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(circle,rgba(255,0,0,.46),transparent 70%);
  filter:blur(64px);
  animation:drift 20s ease-in-out infinite alternate;
}

@keyframes drift{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(6vw,4vw,0) scale(1.14)}
}

h1,h2,h3,h4{margin:0;line-height:1.28;font-weight:600;letter-spacing:-.01em}
p{margin:0}
img{max-width:100%;height:auto}
a{color:inherit}
hr{
  border:0;
  height:1px;
  margin:0 0 18px;
  background:linear-gradient(90deg,rgba(255,0,0,.92),rgba(139,0,255,.82) 55%,rgba(255,255,255,.05));
}

a:focus-visible,
button:focus-visible{outline:2px solid #ff7a7a;outline-offset:3px}

.strip,
.topbar,
main,
.foot{position:relative;z-index:1}

/* 顶部细条 */
.strip{
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:rgba(20,10,14,.42);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.strip-track{display:flex;width:max-content;animation:slide 44s linear infinite}
.strip-run{
  padding:9px 0;
  font-size:14px;
  line-height:1.5;
  letter-spacing:.2em;
  color:rgba(255,255,255,.72);
  white-space:nowrap;
}
@keyframes slide{to{transform:translateX(-50%)}}

/* 顶栏 */
.topbar{
  position:sticky;
  top:0;
  z-index:60;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:8px clamp(16px,5vw,40px);
  background:rgba(30,17,20,.55);
  border-bottom:1px solid var(--line);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.brand{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:4px 4px 4px 0;
  font-size:17px;
  font-weight:600;
  letter-spacing:.16em;
  color:#fff;
  text-decoration:none;
}
.brand .dot{
  width:9px;
  height:9px;
  margin-right:9px;
  border-radius:50%;
  background:linear-gradient(140deg,var(--red),var(--vio));
  box-shadow:0 0 14px rgba(255,0,0,.7);
}
.brand.plain{color:rgba(255,255,255,.9)}

.burger{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid rgba(255,255,255,.26);
  border-radius:4px;
  background:rgba(255,255,255,.12);
  -webkit-backdrop-filter:var(--blur);
  backdrop-filter:var(--blur);
  cursor:pointer;
}
.burger span{display:block;width:18px;height:1.5px;background:#fff}
.burger span:nth-child(2){opacity:.72}

/* 抽屉 */
.drawer{
  position:fixed;
  inset:0;
  z-index:90;
  display:flex;
  flex-direction:column;
  padding:14px clamp(18px,6vw,52px) 36px;
  overflow-y:auto;
  background:rgba(18,9,13,.74);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  opacity:0;
  visibility:hidden;
  transform:translateY(-10px);
  transition:opacity .28s ease,transform .28s ease,visibility .28s;
}
body.menu-open .drawer{opacity:1;visibility:visible;transform:none}
body.menu-open{overflow:hidden}
.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.close{
  width:46px;
  height:46px;
  padding:0;
  font-size:24px;
  line-height:1;
  color:#fff;
  border:1px solid rgba(255,255,255,.26);
  border-radius:4px;
  background:rgba(255,255,255,.12);
  cursor:pointer;
}
.drawer nav{padding-top:22px}
.drawer-list{list-style:none;margin:0;padding:0}
.drawer-list li{border-bottom:1px solid rgba(255,255,255,.1)}
.drawer-list a{
  display:flex;
  align-items:baseline;
  gap:14px;
  min-height:54px;
  padding:15px 0;
  font-size:clamp(1.05rem,3vw,1.4rem);
  font-weight:500;
  color:#fff;
  text-decoration:none;
  transition:transform .2s ease,color .2s ease;
}
.drawer-list a:hover,
.drawer-list a:focus-visible{color:#ffd0d0;transform:translateX(5px)}
.idx{
  flex:0 0 auto;
  min-width:26px;
  font-size:13px;
  font-weight:500;
  letter-spacing:.18em;
  color:rgba(255,255,255,.44);
}

/* 主视觉 */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:1.06fr .94fr;
  align-items:center;
  gap:clamp(26px,4vw,64px);
  min-height:70vh;
  max-width:1280px;
  margin:0 auto;
  padding:clamp(44px,8vw,110px) clamp(18px,5vw,64px) clamp(38px,7vw,88px);
  overflow:hidden;
}
.hero-ghost{
  position:absolute;
  left:clamp(8px,4vw,44px);
  top:6%;
  z-index:0;
  max-width:100%;
  font-size:clamp(64px,15vw,190px);
  font-weight:700;
  letter-spacing:.08em;
  line-height:1;
  color:rgba(255,255,255,.07);
  white-space:nowrap;
  pointer-events:none;
  will-change:transform;
}
.hero-copy{position:relative;z-index:1}
.hero-copy h1{
  font-size:clamp(2.1rem,5.4vw,4.1rem);
  line-height:1.1;
  letter-spacing:-.025em;
  margin-bottom:20px;
}
.lede{
  max-width:44ch;
  font-size:1.06rem;
  line-height:1.75;
  color:var(--fg-dim);
}
.hero-art{
  position:relative;
  z-index:1;
  display:grid;
  gap:14px;
  margin:0;
  will-change:transform;
}
.art-slot{
  padding:7px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:4px;
  background:rgba(255,255,255,.10);
  -webkit-backdrop-filter:var(--blur);
  backdrop-filter:var(--blur);
  box-shadow:0 28px 50px -34px rgba(0,0,0,.95);
  overflow:hidden;
}
.art-slot:nth-child(2){transform:translateY(14px) rotate(-1.6deg)}
.art-slot img{display:block;width:100%;border-radius:2px;background:rgba(0,0,0,.3)}
.art-blank{
  aspect-ratio:4/3;
  background:
    radial-gradient(70% 80% at 24% 18%,rgba(255,0,0,.55),transparent 66%),
    radial-gradient(64% 74% at 82% 82%,rgba(139,0,255,.55),transparent 68%),
    rgba(255,255,255,.06);
}
.art-blank.soft{aspect-ratio:16/9;opacity:.75}

/* 正文区 */
.deck{
  display:grid;
  grid-template-columns:236px minmax(0,1fr);
  align-items:start;
  gap:clamp(24px,4vw,52px);
  max-width:1280px;
  margin:0 auto;
  padding:0 clamp(18px,5vw,64px) clamp(56px,8vw,112px);
}
.rail{
  position:sticky;
  top:92px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:4px;
  background:rgba(255,255,255,.08);
  -webkit-backdrop-filter:var(--blur);
  backdrop-filter:var(--blur);
}
.rail-h{font-size:15px;font-weight:600;letter-spacing:.3em;color:#fff}
.rail hr{margin:12px 0 12px;background:linear-gradient(90deg,rgba(255,255,255,.4),rgba(255,255,255,.04))}
.rail-list{list-style:none;margin:0;padding:0}
.rail-list li + li{border-top:1px solid rgba(255,255,255,.1)}
.rail-list a{
  display:flex;
  align-items:baseline;
  gap:9px;
  min-height:42px;
  padding:9px 0;
  font-size:15px;
  color:var(--fg-dim);
  text-decoration:none;
  transition:color .2s ease,padding-left .2s ease;
}
.rail-list a:hover,
.rail-list a:focus-visible{color:#fff;padding-left:4px}
.rail-list a:hover .idx{color:var(--red)}

.flow{min-width:0}
.flow > div,
.flow > article{
  padding:clamp(22px,3vw,38px);
  margin-bottom:clamp(18px,2.4vw,26px);
  border-radius:4px;
  background:linear-gradient(158deg,rgba(255,255,255,.11),rgba(255,255,255,.045) 62%,rgba(255,255,255,.02));
  box-shadow:0 30px 60px -46px rgba(0,0,0,.95);
  scroll-margin-top:104px;
}
.flow > div:last-child,
.flow > article:last-child{margin-bottom:0}
.flow h2{font-size:clamp(1.3rem,2.5vw,1.85rem);margin-bottom:12px}
.flow h3{font-size:1.14rem;margin:1.5em 0 .6em;color:#ffe7ea}
.flow p{margin:0 0 1em}
.flow p:last-child{margin-bottom:0}
.flow ul,.flow ol{margin:0 0 1em;padding-left:1.3em}
.flow li{margin:.34em 0}
.flow a{color:#ffa3a3;text-underline-offset:3px}
.flow a:hover{color:#ffd0d0}
.flow img{display:block;max-width:100%;margin:0 0 1.1em;border-radius:4px}
.flow figure{margin:0 0 1.2em}
.flow figcaption{font-size:14px;color:rgba(255,255,255,.6);margin-top:8px}
.flow blockquote{
  margin:0 0 1.2em;
  padding:14px 18px;
  border-left:2px solid var(--red);
  border-radius:0 4px 4px 0;
  background:rgba(0,0,0,.3);
  color:var(--fg-dim);
}
.flow table{width:100%;border-collapse:collapse;font-size:.96rem;margin:0 0 1.2em}
.flow th,.flow td{padding:9px 10px;text-align:left;border-bottom:1px solid rgba(255,255,255,.12)}
.flow th{color:#fff;font-weight:600;background:rgba(0,0,0,.24)}
.flow code{font-size:.93em;padding:.14em .4em;border-radius:3px;background:rgba(0,0,0,.4)}

/* 页脚 */
.foot{
  max-width:1280px;
  margin:0 auto;
  padding:0 clamp(18px,5vw,64px) 38px;
}
.cta{
  padding:clamp(26px,4.6vw,54px);
  border:1px solid rgba(255,255,255,.24);
  border-radius:4px;
  background:linear-gradient(122deg,rgba(255,0,0,.44),rgba(139,0,255,.42));
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  box-shadow:0 36px 70px -48px rgba(0,0,0,.95);
}
.cta h2{font-size:clamp(1.7rem,4.4vw,2.9rem);letter-spacing:-.01em}
.cta hr{background:linear-gradient(90deg,rgba(255,255,255,.75),rgba(255,255,255,.1))}
.cta-link{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:9px 20px;
  border:1px solid rgba(255,255,255,.32);
  border-radius:4px;
  background:rgba(0,0,0,.34);
  color:#fff;
  font-weight:500;
  text-decoration:none;
}
.cta-link:hover{background:rgba(0,0,0,.52)}

.cols{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:clamp(24px,4vw,44px);
  padding:clamp(28px,4vw,46px) 0;
}
.col-brand .word{
  margin:0 0 10px;
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.16em;
}
.col-brand .about{color:var(--fg-dim);font-size:.96rem;max-width:40ch}
.col-links h3{font-size:14px;font-weight:600;letter-spacing:.26em;color:rgba(255,255,255,.78);margin-bottom:10px}
.foot-list{list-style:none;margin:0;padding:0}
.foot-list a{
  display:inline-block;
  min-height:42px;
  padding:9px 0;
  font-size:15px;
  color:var(--fg-dim);
  text-decoration:none;
}
.foot-list a:hover,
.foot-list a:focus-visible{color:#fff}

.base{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.14);
  font-size:14px;
  color:rgba(255,255,255,.62);
}
.base a{
  display:inline-block;
  min-height:40px;
  padding:8px 0;
  text-decoration:none;
  color:rgba(255,255,255,.78);
}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;min-height:0;gap:28px}
  .hero-ghost{top:2%;font-size:clamp(56px,17vw,120px)}
  .deck{grid-template-columns:1fr;gap:22px}
  .rail{position:static}
  .rail hr{margin-bottom:10px}
  .rail-list{display:flex;flex-wrap:wrap;gap:8px}
  .rail-list li + li{border-top:0}
  .rail-list a{
    padding:9px 12px;
    min-height:42px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:4px;
    background:rgba(255,255,255,.07);
  }
  .rail-list a:hover{padding-left:12px}
  .cols{grid-template-columns:1fr;gap:22px}
}

@media (max-width:560px){
  body{font-size:16px}
  .hero{padding-top:34px}
  .base{flex-direction:column;align-items:flex-start;gap:4px}
  .flow > div,.flow > article{padding:20px 17px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .strip-track{animation:none}
  body::after{animation:none}
  .drawer,
  .drawer-list a,
  .rail-list a{transition:none}
}

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