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

*,*::before,*::after{box-sizing:border-box}
:root{
  --neon:#80ff00;
  --lime:#00ff00;
  --ink:#1f2617;
  --paper:#f3fcdd;
  --card:#ffffff;
  --card2:#efffd2;
  --r:18px;
  --edge:3px solid var(--ink);
}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding-bottom:104px;
  background:var(--paper);
  background-image:radial-gradient(rgba(128,255,0,.55) 1px,transparent 1px);
  background-size:26px 26px;
  color:var(--ink);
  font-family:'Space Grotesk','DM Sans',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.68;
  overflow-x:hidden;
}
h1,h2,h3{font-weight:700;letter-spacing:-.02em;line-height:1.14;margin:0 0 .6rem}
p{margin:0 0 .9rem}
a{color:var(--ink)}
img{max-width:100%;height:auto}

/* ============ 底部固定条 ============ */
.bar{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  background:var(--ink);
  border-top:4px solid var(--neon);
  padding:.45rem .6rem calc(.45rem + env(safe-area-inset-bottom,0px));
}
.bar nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:.5rem;max-width:1180px;margin:0 auto;
}
.grp{display:flex;flex-wrap:wrap;gap:.3rem;margin:0;justify-content:center}
.bar a{
  display:inline-flex;align-items:center;gap:.4rem;
  min-height:44px;padding:.4rem .65rem;border-radius:999px;
  color:#e6ffc4;text-decoration:none;font-size:16px;font-weight:500;
  border:2px solid transparent;
  transition:background .15s ease,color .15s ease;
}
.bar a:hover,.bar a.on{background:var(--neon);color:var(--ink);border-color:var(--lime)}
.ico{width:7px;height:7px;border-radius:50%;background:var(--neon);flex:0 0 auto}
.bar a:hover .ico,.bar a.on .ico{background:var(--ink)}
.brand{
  background:var(--neon);color:var(--ink)!important;
  border:2px solid var(--lime);border-radius:999px;
  padding:.35rem .85rem;font-weight:700;letter-spacing:-.01em;
  display:inline-flex;align-items:center;gap:.4rem;min-height:44px;
  text-decoration:none;white-space:nowrap;
  transform:rotate(-1.5deg);
}
.brand .mark{width:11px;height:11px;background:var(--ink);border-radius:2px;transform:rotate(45deg)}
.brand .mark[src]{border-radius:50%;transform:none}

/* ============ 首屏 ============ */
.hero{
  position:relative;overflow:hidden;
  min-height:100vh;min-height:100svh;
  display:grid;place-items:center;
  padding:5rem 1.1rem 6rem;
  border-bottom:5px solid var(--ink);
}
.hero-sm{min-height:68vh;min-height:68svh}
.hero h1{
  position:relative;z-index:3;margin:0;text-align:center;
  font-size:clamp(2.6rem,12.5vw,7rem);
  line-height:.9;max-width:15ch;
  mix-blend-mode:multiply;
}
.hero h1::after{
  content:"";display:block;height:14px;margin:1rem auto 0;width:64%;
  background:var(--lime);border:var(--edge);border-radius:999px;
}
.bgword{
  position:absolute;z-index:1;top:8%;left:50%;
  transform:translateX(-50%) rotate(-9deg);
  transform-origin:center;
  font-size:clamp(4rem,26vw,17rem);font-weight:700;line-height:.85;
  color:var(--neon);-webkit-text-stroke:2px var(--ink);
  white-space:nowrap;pointer-events:none;
  mix-blend-mode:multiply;opacity:.9;
}
.stk{
  position:absolute;z-index:2;color:var(--ink);
  font-size:clamp(1.6rem,5.5vw,3.2rem);line-height:1;
  mix-blend-mode:multiply;
  animation:jit 4.5s ease-in-out infinite;
}
.s1{top:14%;left:8%;color:var(--lime);animation-delay:-.4s}
.s2{top:22%;right:10%;animation-delay:-1.6s}
.s3{bottom:20%;left:14%;animation-delay:-2.4s}
.s4{bottom:28%;right:16%;color:var(--lime);animation-delay:-3.1s}
@keyframes jit{
  0%,100%{transform:rotate(-8deg) translate(0,0)}
  50%{transform:rotate(6deg) translate(3px,-6px)}
}

/* ============ 跑马带 ============ */
.tape{
  overflow:hidden;white-space:nowrap;
  background:var(--lime);border-bottom:5px solid var(--ink);
  padding:.6rem 0;
}
.tape span{
  display:inline-block;font-weight:700;font-size:1rem;letter-spacing:.12em;
  animation:slide 26s linear infinite;
}
.tape b{color:var(--ink);opacity:.55}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============ 正文区 ============ */
main{display:block}
div{
  position:relative;
  max-width:1180px;margin:0 auto;
  padding:2.6rem 1.2rem 3.2rem 258px;
}
div article{
  background:var(--card);
  border:var(--edge);border-radius:var(--r);
  padding:clamp(1.1rem,3vw,2rem);
  margin:0 0 1.8rem;
  scroll-margin-top:28px;
  rotate:-.45deg;
  opacity:1;
}
div article:nth-of-type(even){background:var(--card2);rotate:.5deg}
div article:nth-of-type(3n){rotate:-.8deg}
html.js div article{opacity:0;translate:0 16px;transition:opacity .5s ease,translate .5s ease}
html.js div article.in{opacity:1;translate:0 0}
div article h2{
  font-size:clamp(1.4rem,3.6vw,2.05rem);
  margin:.1rem 0 .7rem;
}
div article h3{font-size:clamp(1.1rem,2.4vw,1.35rem);margin-top:1.4rem}
div p.subtitle,div h2 + p{margin-top:0}
div a{color:var(--ink);text-decoration:underline 3px var(--neon);text-underline-offset:3px}
div a:hover{background:var(--neon)}
div ul,div ol{padding-left:1.3rem;margin:0 0 1rem}
div li{margin-bottom:.45rem}
div blockquote{
  margin:1.2rem 0;padding:.4rem 0 .4rem 1rem;
  border-left:6px solid var(--lime);font-style:normal;
}
div code{
  font-size:.95em;background:var(--paper);
  border:2px solid var(--ink);border-radius:8px;padding:.1em .35em;
}

/* ============ 侧栏 ============ */
.side{
  position:absolute;left:1.2rem;top:2.6rem;width:212px;
  background:var(--ink);color:#e8ffcb;
  border:3px solid var(--ink);border-radius:var(--r);
  padding:1rem .9rem;
  rotate:-1.4deg;
  z-index:4;
}
.side-t{font-size:1.15rem;margin:0;color:var(--neon);letter-spacing:.02em}
.subtitle{font-size:16px;line-height:1.55;color:#cfe8a8;margin:.3rem 0 .9rem}
.side-links{display:flex;flex-direction:column;gap:.1rem;margin:0}
.side-links a{
  display:flex;align-items:center;gap:.45rem;
  min-height:40px;padding:.25rem .45rem;border-radius:10px;
  color:#e8ffcb;text-decoration:none;font-size:16px;
  border:2px solid transparent;
}
.side-links a:hover{background:var(--neon);color:var(--ink)}
.side-links a:hover .ico{background:var(--ink)}

/* ============ 页脚 ============ */
.foot{
  background:var(--ink);color:#dfffb6;
  border-top:5px solid var(--lime);
  padding:2rem max(1.2rem,calc((100vw - 1180px)/2)) 1.4rem;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem 1.4rem;align-items:start;
}
.foot p{margin:0;font-size:16px}
.fbrand{font-weight:700;font-size:1.15rem;color:var(--neon)}
.f2,.f4{display:flex;flex-direction:column}
.f2 a,.f4 a{
  color:#dfffb6;text-decoration:none;display:inline-flex;align-items:center;
  min-height:40px;padding:.2rem 0;width:fit-content;
}
.f2 a .ico{background:var(--lime)}
.f2 a:hover,.f4 a:hover{color:var(--neon)}
.f3 label{display:block;font-size:16px;margin-bottom:.35rem;color:#a9c98a}
.f3 input{
  width:100%;min-height:44px;border:2px solid var(--lime);border-radius:10px;
  background:#0e1409;color:#eaffd0;padding:.4rem .6rem;
  font:inherit;font-size:16px;
}
.f3 button{
  min-height:44px;margin-top:.45rem;width:100%;
  border:2px solid var(--lime);border-radius:10px;
  background:var(--neon);color:var(--ink);font:inherit;font-weight:700;
  padding:.4rem .8rem;cursor:pointer;
}
.foot small{
  grid-column:1/-1;text-align:center;font-size:16px;color:#a9c98a;
  margin-top:.6rem;padding-top:.8rem;border-top:2px dashed #3d4a2c;
}

/* ============ 断点 ============ */
@media (max-width:1000px){
  div{padding-left:1.2rem}
  .side{position:static;width:auto;margin:0 0 1.6rem;rotate:-.9deg}
  .side-links{flex-direction:row;flex-wrap:wrap;gap:.2rem}
  .side-links a{min-height:40px}
}
@media (max-width:760px){
  body{font-size:17px;padding-bottom:172px}
  .bar nav{flex-wrap:wrap;justify-content:center;gap:.3rem}
  .brand{order:-1;flex-basis:100%;justify-content:center;rotate:0deg;margin-bottom:.2rem}
  .grp{gap:.15rem}
  .bar a{font-size:16px;padding:.4rem .5rem}
  .foot{grid-template-columns:1fr 1fr}
  .hero{padding:4rem .9rem 5rem}
  .hero h1::after{height:10px}
  div{padding:1.8rem .9rem 2.4rem}
  div article{rotate:0deg;margin-bottom:1.3rem}
  div article:nth-of-type(even),
  div article:nth-of-type(3n){rotate:0deg}
  .bgword{top:12%;font-size:clamp(3.4rem,29vw,7rem)}
}
@media (max-width:420px){
  .foot{grid-template-columns:1fr}
}

/* ============ 偏好设置 ============ */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .tape span{animation:none}
  .stk{animation:none}
  html.js div article{opacity:1;translate:0 0;transition:none}
}

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