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

:root {
  --neon: #87ff71;
  --amber: #ffce5c;
  --ink: #192617;
  --ink-deep: #101c14;
  --paper: #eafff0;
  --line: rgba(135, 255, 113, .32);
  --glass: rgba(255, 255, 255, .065);
  --r: 18px;
  --f: Inter, system-ui, -apple-system, "Segoe UI", "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-bottom: 104px;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.68;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 18% -8%, rgba(135, 255, 113, .16), transparent 52%),
    radial-gradient(circle at 92% 6%, rgba(255, 206, 92, .13), transparent 48%),
    radial-gradient(rgba(234, 255, 240, .07) 1.4px, transparent 1.5px);
  background-size: auto, auto, 24px 24px;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--neon); }

:focus-visible {
  outline: 3px dashed var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 90;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: .6rem; }

/* 品牌角标 */
.brand {
  position: fixed;
  top: .85rem;
  left: .85rem;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 2px solid var(--ink);
  background: var(--amber);
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: rotate(-5deg);
  box-shadow: 5px 5px 0 0 var(--neon);
}
.brand b { font-weight: 700; }
.brand-img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }

/* 顶部 */
.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding: clamp(4.2rem, 9vw, 6rem) clamp(1rem, 5vw, 3.2rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  background-image: repeating-linear-gradient(45deg, rgba(135, 255, 113, .055) 0 9px, transparent 9px 20px);
}

.hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.hero-txt { text-align: center; }

.hero-dot {
  display: block;
  width: 58px;
  height: 12px;
  margin: 0 auto 1.1rem;
  background: var(--neon);
  clip-path: polygon(0 45%, 14% 0, 28% 45%, 42% 0, 56% 45%, 70% 0, 84% 45%, 100% 0, 100% 100%, 0 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 600;
  text-shadow: 0 0 30px rgba(135, 255, 113, .25);
}

.hero-art {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid rgba(135, 255, 113, .4);
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .48);
}
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.art-fallback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  aspect-ratio: 4 / 3;
}
.art-fallback i { border-radius: 12px; display: block; }
.art-fallback i:nth-child(1) { background: var(--neon); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.art-fallback i:nth-child(2) { background: var(--amber); border-radius: 50%; }
.art-fallback i:nth-child(3) { background: rgba(135, 255, 113, .55); transform: rotate(-6deg); }
.art-fallback i:nth-child(4) { background: repeating-linear-gradient(45deg, var(--amber) 0 8px, transparent 8px 16px); border: 2px solid var(--line); }

.hero-band {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 0;
  height: 16px;
  background: linear-gradient(90deg, var(--neon), var(--amber), var(--neon));
  transform: rotate(-1.6deg);
  transform-origin: left center;
  z-index: 1;
}

.shape { position: absolute; pointer-events: none; mix-blend-mode: screen; }
.shape-a {
  top: 14%;
  right: 6%;
  width: 108px;
  height: 108px;
  background: var(--neon);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: .8;
}
.shape-b {
  bottom: 16%;
  left: 5%;
  width: 86px;
  height: 86px;
  border: 12px solid var(--amber);
  border-radius: 50%;
  opacity: .7;
}
.shape-c {
  top: 22%;
  left: 30%;
  width: 138px;
  height: 22px;
  background: var(--amber);
  clip-path: polygon(0 50%, 12% 0, 25% 50%, 38% 0, 50% 50%, 62% 0, 75% 50%, 88% 0, 100% 50%, 100% 100%, 0 100%);
  opacity: .6;
}

/* 骨架 */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 258px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
  margin-top: clamp(1.6rem, 4vw, 3rem);
}

.side {
  position: relative;
  padding: 1.3rem 1.1rem 1.5rem;
  border-radius: var(--r);
  border: 2px dashed var(--line);
  background: var(--glass);
  backdrop-filter: blur(9px);
  transform: rotate(-.7deg);
}
.side::before {
  content: "";
  position: absolute;
  top: -11px;
  right: 18px;
  width: 26px;
  height: 26px;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.side h2 {
  margin: 0 0 .15rem;
  font-size: 1.16rem;
  letter-spacing: .01em;
  font-weight: 600;
  color: var(--neon);
}
.side .subtitle {
  margin: 0 0 1rem;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(234, 255, 240, .72);
}

.side-list,
.foot-links,
.dock-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-list { display: grid; gap: .35rem; }
.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.side-list a:hover,
.side-list a:focus-visible {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--ink);
}

/* 正文 */
.body { min-width: 0; }

.body section {
  position: relative;
  margin-block: clamp(1.3rem, 3vw, 2.2rem);
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(8px);
  scroll-margin-block-start: 1.4rem;
}
.body section:nth-child(even) {
  border-style: dashed;
  transform: rotate(-.35deg);
  background: rgba(255, 206, 92, .05);
}
.body section::before {
  content: "";
  position: absolute;
  top: -9px;
  left: clamp(1rem, 4vw, 2rem);
  width: 34px;
  height: 9px;
  border-radius: 999px;
  background: var(--neon);
}

.body h2 {
  margin: 0 0 .9rem;
  font-size: clamp(1.42rem, 3.4vw, 2rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  font-weight: 600;
  color: var(--paper);
}
.body h2::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: .55rem;
  background: var(--amber);
  transform: rotate(45deg);
  vertical-align: baseline;
}
.body h3 {
  margin: 1.5rem 0 .5rem;
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--neon);
}
.body h2 + p, .body h2 + p.subtitle, .body h2 + p.lead {
  color: rgba(234, 255, 240, .86);
}
.body p { margin: 0 0 1rem; }
.body p:last-child { margin-bottom: 0; }
.body ul, .body ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.body li { margin-bottom: .4rem; }
.body a { color: var(--neon); text-underline-offset: 3px; }
.body a:hover { color: var(--amber); }
.body blockquote {
  margin: 1.2rem 0;
  padding: .8rem 1.1rem;
  border-left: 5px solid var(--amber);
  background: rgba(255, 206, 92, .08);
  border-radius: 0 12px 12px 0;
}
.body blockquote p:last-child { margin: 0; }
.body strong { color: var(--amber); }
.body img { border-radius: 12px; }
.body hr {
  border: 0;
  border-top: 3px dotted var(--line);
  margin: 1.8rem 0;
}
.body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.body th, .body td { padding: .55rem .6rem; border-bottom: 1px dotted var(--line); text-align: left; }

/* 页脚 */
footer {
  margin-top: clamp(2.4rem, 6vw, 4rem);
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1rem, 4vw, 2rem) 7rem;
  border-top: 3px dotted var(--line);
  background: rgba(16, 28, 20, .72);
}
.foot-in {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
}
address {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: 17px;
}
.foot-knot {
  width: 14px;
  height: 14px;
  background: var(--neon);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.foot-host { color: rgba(234, 255, 240, .66); font-size: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: .35rem; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 16px;
  text-decoration: none;
}
.foot-links a:hover, .foot-links a:focus-visible {
  background: var(--amber);
  border-color: var(--ink);
  color: var(--ink);
}
.copy {
  flex: 1 0 100%;
  margin: .4rem 0 0;
  font-size: 16px;
  color: rgba(234, 255, 240, .6);
}

/* 底部固定条 */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem clamp(.7rem, 3vw, 1.2rem) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(16, 28, 20, .9);
  backdrop-filter: blur(14px);
  border-top: 3px dotted var(--line);
}
.dock-search { flex: 1 1 auto; min-width: 0; }
.dock-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 1rem;
  font: inherit;
  font-size: 16px;
  color: var(--paper);
  border-radius: 999px;
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, .08);
}
.dock-search input::placeholder { color: rgba(234, 255, 240, .6); }

.dock-box { position: relative; flex: 0 0 auto; }
.dock-box summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: 0 1.05rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--neon);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 3px 3px 0 0 var(--amber);
}
.dock-box summary::-webkit-details-marker { display: none; }
.dock-bars { display: grid; gap: 4px; }
.dock-bars i { display: block; width: 17px; height: 2px; background: var(--ink); }

.dock-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + .65rem);
  min-width: min(80vw, 268px);
  padding: .55rem;
  display: grid;
  gap: .35rem;
  border-radius: var(--r);
  border: 2px dashed var(--neon);
  background: rgba(16, 28, 20, .97);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .55);
}
.dock-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .3rem .9rem;
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
}
.dock-menu a:hover, .dock-menu a:focus-visible {
  background: var(--amber);
  color: var(--ink);
}

/* 滚动出现 */
.js .reveal { opacity: 0; }
.js .reveal.in {
  opacity: 1;
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .3, 1);
}
.js .hero-txt.reveal { transform: translateY(20px); }
.js .hero-txt.reveal.in { transform: none; }
.js .hero-art.reveal { transform: translateY(26px) rotate(1.5deg); }
.js .hero-art.reveal.in { transform: none; }
.js .side.reveal { transform: translateY(18px) rotate(-.7deg); }
.js .side.reveal.in { transform: rotate(-.7deg); }

@media (max-width: 860px) {
  .hero { min-height: 62vh; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
  .hero-in { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-art { order: 2; }
  .hero-txt { order: 1; }
  .board { grid-template-columns: 1fr; }
  .side { transform: none; }
  .js .side.reveal { transform: translateY(18px); }
  .js .side.reveal.in { transform: none; }
  .side-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { padding-bottom: 96px; font-size: 16px; }
  .shape-c { display: none; }
  .side-list { grid-template-columns: 1fr; }
  .body section:nth-child(even) { transform: none; }
  .foot-in { justify-content: flex-start; }
  .dock-menu { min-width: 84vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none !important; transition: none; }
  .body section:nth-child(even) { transform: none; }
}

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