/* ============================================================
   光线独立游戏制作社团 · 样式系统
   设计语言：高级黑白 + 光谱渐变（白光色散，对应 logo 色带）
   交互参考：jiejoe.com
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --bg: #060708;
  --bg-2: #0c0d0f;
  --panel: #101215;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f5f6;
  --muted: #92989f;
  --accent: #ffffff;                          /* 高级白 */
  --accent-dim: rgba(255, 255, 255, 0.08);
  /* 光谱渐变（对应 logo 色带：深绿→深蓝→浅蓝→白→淡黄→橙→红→暗紫） */
  --spectrum: linear-gradient(90deg,
    #2f5c47 0%, #2e4f7f 18%, #74aecd 36%, #ffffff 50%,
    #ecdfaf 64%, #e0a163 78%, #c96969 90%, #7d3f6d 100%);
  /* 简化光谱（蓝→白→暖，用于细微点缀） */
  --spectrum-soft: linear-gradient(90deg, #74aecd 0%, #ffffff 50%, #e0a163 100%);
  --font-en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-zh);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
body.is-menu-open { overflow: hidden; }
::selection { background: #ffffff; color: #060708; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; background: none; border: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 自定义光标 */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 99999;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 50%;
  pointer-events: none;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
}
.cursor i {
  position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(255, 255, 255, 0.06); }
.cursor.is-down { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
/* 浅色界面（全屏菜单 / 文章阅读弹窗）下，光标切换为深色 */
body.is-menu-open .cursor,
body.is-reader-open .cursor { border-color: rgba(10, 10, 10, 0.9); }
body.is-menu-open .cursor i,
body.is-reader-open .cursor i { background: #0a0a0a; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); }
body.is-menu-open .cursor.is-hover,
body.is-reader-open .cursor.is-hover { background: rgba(10, 10, 10, 0.06); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } body { cursor: auto; } }

/* ---------- 光线粒子画布 ---------- */
#lightCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .85;
}

/* ---------- 加载动画 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  background: #050606;
  animation: loaderFade .5s ease forwards;
}
.loader__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
}
.loader__band {
  width: clamp(180px, 30vw, 280px); height: 3px; border-radius: 2px;
  background: var(--spectrum);
  transform: scaleX(0);
  animation: bandExpand 1.2s var(--ease) .15s forwards;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.22);
}
.loader__name {
  font-size: 40px; font-weight: 900; letter-spacing: .3em; text-indent: .3em;
  color: #fff;
  opacity: 0; animation: loaderTextIn .8s var(--ease) .35s forwards;
}
.loader__tip {
  font-family: var(--font-en); font-size: 12px; font-weight: 800;
  letter-spacing: .6em; text-indent: .6em; color: rgba(255, 255, 255, 0.45);
  opacity: 0; animation: loaderTextIn .8s var(--ease) .5s forwards;
}
@keyframes bandExpand { to { transform: scaleX(1); } }
@keyframes loaderTextIn { to { opacity: 1; } }
@keyframes loaderFade { 0%, 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.loader.is-done { display: none; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  color: #fff;
  transition: color .4s ease;
}
body.is-menu-open .topbar { color: #0a0a0a; }
.topbar__logo { display: flex; align-items: center; gap: 12px; }
.topbar__dot {
  width: 34px; height: 5px; border-radius: 3px;
  background: var(--spectrum);
}
.topbar__word { font-weight: 900; letter-spacing: .06em; font-size: 18px; }
.topbar__word-en {
  font-family: var(--font-en); font-size: 11px; font-weight: 800;
  letter-spacing: .4em; color: var(--muted); margin-left: 10px;
}
.topbar__menu { display: flex; align-items: center; gap: 14px; }
.topbar__menu-label {
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .34em;
}
.topbar__burger { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.topbar__burger i {
  height: 2px; width: 100%; background: currentColor; transition: transform .35s var(--ease), opacity .3s;
  transform-origin: center;
}
.topbar__menu.is-open .topbar__burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar__menu.is-open .topbar__burger i:nth-child(2) { opacity: 0; }
.topbar__menu.is-open .topbar__burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 全屏菜单 ---------- */
.menubox {
  position: fixed; inset: 0; z-index: 900;
  background: #f2f3f0; color: #0a0a0a;
  transform: translateY(101%);
  border-radius: clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px) 0 0;
  transition: transform .7s var(--ease);
  overflow: hidden;
}
.menubox.is-open { transform: translateY(0); }
.menubox__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, transparent 29px, rgba(10, 12, 14, 0.05) 30px),
    linear-gradient(90deg, transparent 29px, rgba(10, 12, 14, 0.05) 30px);
  background-size: 30px 30px;
  pointer-events: none;
}
.menubox__content {
  position: relative; z-index: 2;
  height: 100%;
  padding: clamp(90px, 12vh, 130px) clamp(24px, 6vw, 80px) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menubox__list { display: flex; flex-direction: column; gap: 4px; }
.menubox__item {
  display: flex; align-items: baseline; gap: 14px;
  overflow: hidden;
  transform: translateY(40px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.menubox.is-open .menubox__item { transform: translateY(0); opacity: 1; }
.menubox__item a { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 4px 0; position: relative; }
.menubox__item-zh {
  font-size: 15px; font-weight: 700; letter-spacing: .2em;
  writing-mode: vertical-rl; color: #0a0a0a;
  flex: none;
}
.menubox__item-en {
  font-family: var(--font-en); font-size: clamp(34px, 6.5vw, 64px);
  font-weight: 900; line-height: 1.02; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px #0a0a0a;
  transition: color .3s ease, -webkit-text-stroke .3s ease, transform .3s ease;
}
.menubox__item-num {
  font-family: var(--font-en); font-size: 14px; font-weight: 800;
  color: #0a0a0a; opacity: .4; margin-left: auto; align-self: center;
}
.menubox__item a::after {
  content: ""; position: absolute; left: 0; bottom: 6px;
  width: 0; height: 3px; border-radius: 2px; background: var(--spectrum);
  transition: width .45s var(--ease);
}
.menubox__item:hover .menubox__item-en { color: #0a0a0a; transform: translateX(8px); }
.menubox__item:hover a::after { width: 100%; }
.menubox__foot { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid rgba(10,12,14,.12); padding-top: 18px; }
.menubox__foot-en { font-family: var(--font-en); font-weight: 900; letter-spacing: .4em; font-size: 14px; }
.menubox__foot-zh { font-size: 13px; color: rgba(10,12,14,.55); letter-spacing: .1em; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: var(--nav-h) clamp(24px, 6vw, 80px) 60px;
  z-index: 1;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(0deg, transparent 49px, rgba(255,255,255,.035) 50px),
    linear-gradient(90deg, transparent 49px, rgba(255,255,255,.035) 50px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero__rays {
  position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background:
    conic-gradient(from 200deg at 50% 45%,
      transparent 0deg, rgba(116,174,205,.11) 6deg, transparent 12deg,
      transparent 60deg, rgba(255,255,255,.10) 66deg, transparent 74deg,
      transparent 150deg, rgba(224,161,99,.10) 158deg, transparent 166deg,
      transparent 250deg, rgba(201,105,105,.09) 258deg, transparent 266deg);
  filter: blur(8px);
  animation: raysSpin 30s linear infinite;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 42%, transparent 42%, var(--bg) 92%);
}
.hero__inner { position: relative; z-index: 2; max-width: 1200px; width: 100%; }
.hero__eyebrow {
  font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase;
  background: var(--spectrum-soft);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  margin-bottom: 26px;
}
.hero__eyebrow span { color: var(--muted); }
.hero__title { display: flex; flex-direction: column; line-height: 1; margin-bottom: 20px; }
.hero__title-zh {
  font-size: clamp(64px, 13vw, 150px); font-weight: 900;
  letter-spacing: .02em;
  color: #ffffff;
}
.hero__title-en {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(34px, 8vw, 96px); letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85);
  text-transform: uppercase;
}
.hero__title::after {
  content: ""; display: block; width: min(460px, 64%); height: 2px;
  margin-top: 34px; background: var(--spectrum); border-radius: 2px;
}
.hero__slogan { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__slogan span { font-size: clamp(16px, 2vw, 20px); font-weight: 500; letter-spacing: .06em; }
.hero__slogan em {
  font-family: var(--font-en); font-style: normal; font-size: 13px; font-weight: 700;
  letter-spacing: .3em; color: var(--muted);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover { border-color: #fff; color: #060708; background: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.14); }
.btn:hover span { transform: translateX(4px); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .4em; color: var(--muted);
  z-index: 2;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(180deg, #ffffff, transparent); animation: scrollLine 1.6s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 通用 section ---------- */
.section {
  position: relative; z-index: 1;
  padding: clamp(90px, 12vw, 150px) clamp(24px, 6vw, 80px);
  max-width: 1440px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.section__head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__num {
  font-family: var(--font-en); font-size: 15px; font-weight: 800; letter-spacing: .1em;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 50%;
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
}
.section__title { display: flex; flex-direction: column; line-height: 1; }
.section__title-en {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(38px, 7vw, 88px); letter-spacing: .02em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-strong);
  transition: -webkit-text-stroke .4s ease;
}
.section__title-zh { font-size: clamp(15px, 2vw, 19px); font-weight: 700; letter-spacing: .34em; color: var(--muted); margin-top: 14px; }
.section__title::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 20px;
  background: var(--spectrum); border-radius: 2px;
}
.section:hover .section__title-en { -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9); }

/* ---------- 简介 ---------- */
.intro { max-width: 980px; }
.intro__lead {
  font-size: clamp(20px, 3vw, 30px); font-weight: 500; line-height: 1.6;
  margin-bottom: 30px; color: var(--text);
  border-left: 2px solid;
  border-image: linear-gradient(180deg, #74aecd, #ffffff, #e0a163) 1;
  padding-left: 24px;
}
.intro__paras { display: grid; gap: 18px; margin-bottom: 60px; }
.intro__paras p { color: var(--muted); font-size: 16px; max-width: 60ch; }
.intro__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 40px; }
.intro__stat { background: var(--bg); padding: 32px 20px; text-align: center; transition: background .3s ease; }
.intro__stat:hover { background: var(--bg-2); }
.intro__stat-num {
  font-family: var(--font-en); font-size: clamp(30px, 4vw, 44px); font-weight: 900;
  color: #fff;
}
.intro__stat-label { font-size: 13px; color: var(--muted); letter-spacing: .1em; margin-top: 6px; }
.intro__focus { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; letter-spacing: .06em; color: var(--muted);
  transition: all .3s var(--ease);
}
.chip:hover { color: #060708; background: #fff; border-color: #fff; }

/* ---------- 时间线 ---------- */
.timeline {
  --ray-left: 0px;
  --ray-width: 0px;
  --timeline-progress: 0;
  position: relative;
}
.timeline__stage {
  position: relative;
  padding: clamp(18px, 3vw, 36px) 0 8px;
  overflow: hidden;
}
.timeline__viewport {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  outline: none;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.timeline__track {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  padding: 18px max(8vw, 96px) 42px;
  transition: transform .65s var(--ease);
  will-change: transform;
}
.timeline__item {
  flex: 0 0 clamp(320px, 42vw, 520px);
  height: 190px;
  opacity: .56;
  transform: translateY(20px) scale(.94);
  transition: opacity .45s ease, transform .55s var(--ease), filter .45s ease;
  filter: saturate(.75);
}
.timeline__item.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1.05);
}
.timeline__card {
  position: relative;
  height: 190px;
  padding: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 18, 21, .92);
  transition: border-color .35s ease, box-shadow .35s ease;
}
.timeline__item.is-active .timeline__card {
  border-color: rgba(255, 255, 255, .58);
  box-shadow: 0 22px 70px -28px rgba(116, 174, 205, .55);
}
.timeline__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--spectrum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.timeline__item.is-active .timeline__card::after { transform: scaleX(1); }
.timeline__thumb {
  width: 150px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-2);
  overflow: hidden;
}
.timeline__content { min-width: 0; }
.timeline__date {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #fff;
  opacity: .78;
}
.timeline__title {
  margin: 8px 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.timeline__text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.timeline__axis-wrap {
  position: relative;
  z-index: 2;
  margin: -6px max(5vw, 44px) 0;
  padding: 18px 18px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  cursor: ew-resize;
}
.timeline__axis {
  position: relative;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 28px rgba(116, 174, 205, calc(.08 + var(--timeline-progress) * .18));
}
.timeline__axis::before {
  content: "";
  position: absolute;
  inset: -10px 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  opacity: 0;
  transition: opacity .35s ease;
}
.timeline__axis-wrap:hover .timeline__axis::before { opacity: 1; }
.timeline__axis-track {
  --axis-inset: 18px;
  position: absolute;
  left: 0;
  top: 0;
  min-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--spectrum);
  transition: transform .65s var(--ease);
  will-change: transform;
}
.timeline__ray {
  position: absolute;
  left: var(--ray-left);
  top: 50%;
  width: var(--ray-width);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(116,174,205,.82), rgba(224,161,99,.68), transparent);
  box-shadow: 0 0 16px rgba(255,255,255,.8), 0 0 34px rgba(116,174,205,.48);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  opacity: .95;
  pointer-events: none;
}
.timeline__ray.is-shooting { animation: ray-shoot .58s var(--ease) both; }
.timeline__stage.is-final .timeline__ray { opacity: 0; }
.timeline__node {
  position: absolute;
  top: 50%;
  width: 26px;
  height: 34px;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,.62);
  cursor: pointer;
}
.timeline__node span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: #060708;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, box-shadow .25s ease;
}
.timeline__node.is-active span {
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.85);
}
.timeline__node em {
  display: none;
}
.timeline__axis-date {
  min-height: 18px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
}
@keyframes ray-shoot {
  0% { transform: translateY(-50%) scaleX(0); opacity: 0; }
  34% { opacity: 1; }
  100% { transform: translateY(-50%) scaleX(1); opacity: .95; }
}

/* ---------- 作品 ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work {
  position: relative; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: var(--panel);
  transition: transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.work:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8); }
.work__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media img { transform: scale(1.06); }
.work__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,7,8,.85));
}
.work__status {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; color: #060708;
}
.work__status--dev { background: rgba(255, 255, 255, 0.16); color: #fff; backdrop-filter: blur(4px); }
.work__name {
  position: absolute; left: 20px; bottom: 14px; z-index: 2;
  font-size: 22px; font-weight: 900; letter-spacing: .02em;
}
.work__name-en {
  position: absolute; right: 18px; bottom: 12px; z-index: 2;
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .3em;
  color: rgba(255,255,255,.6);
}
.work__body { padding: 22px; }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.work__tag {
  font-size: 12px; letter-spacing: .06em; color: #fff;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
}
.work__desc { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.work__links { display: flex; gap: 10px; flex-wrap: wrap; }
.work__link {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5); padding-bottom: 2px;
  transition: color .3s ease, text-shadow .3s ease;
}
.work__link:hover { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.5); }

/* ---------- 知识库 / 资讯 / 分享 / 活动 卡片 ---------- */
.knowledge { display: block; }
.knowledge__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.knowledge__tab {
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted);
  transition: all .3s var(--ease);
}
.knowledge__tab:hover { color: #fff; border-color: #fff; }
.knowledge__tab.is-active { color: #060708; background: #fff; border-color: #fff; }
.knowledge__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.k-card.k-card--hidden { display: none; }
.k-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  background: var(--panel); display: flex; flex-direction: column; gap: 14px;
  transition: border-color .35s ease, transform .35s var(--ease), box-shadow .35s ease;
  position: relative; overflow: hidden;
}
.k-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--spectrum);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.k-card:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-6px); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8); }
.k-card:hover::before { transform: scaleX(1); }
.k-card__cat {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .3em;
  color: #fff; text-transform: uppercase; opacity: .85;
}
.k-card__title { font-size: 18px; font-weight: 800; line-height: 1.4; }
.k-card__desc { color: var(--muted); font-size: 14px; flex: 1; }
.k-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.k-card__tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; }
.k-card__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: .06em; border-top: 1px solid var(--line); padding-top: 14px; }
.k-card__meta a { color: #fff; border-bottom: 1px solid transparent; }
.k-card__meta a:hover { border-color: #fff; }

/* 活动 */
.activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.act {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px;
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  background: var(--panel); transition: border-color .35s ease, transform .35s var(--ease);
}
.act:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-4px); }
.act__side { display: flex; flex-direction: column; gap: 10px; }
.act__type {
  font-size: 11px; font-weight: 800; letter-spacing: .2em; color: #060708;
  background: #fff; border-radius: 999px; padding: 6px 0; text-align: center;
}
.act__date { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-align: center; }
.act__name { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.act__desc { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.act__result { font-size: 13px; color: #fff; letter-spacing: .04em; }

/* 资讯 & 分享 */
.news, .shares { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  background: var(--panel); display: flex; flex-direction: column; gap: 12px;
  transition: border-color .35s ease, transform .35s var(--ease);
}
.news-card:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-4px); }
.news-card__top { display: flex; align-items: center; justify-content: space-between; }
.news-card__date { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.news-card__source { font-size: 11px; letter-spacing: .14em; color: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 12px; }
.news-card__title { font-size: 18px; font-weight: 800; line-height: 1.45; }
.news-card__summary { color: var(--muted); font-size: 14px; flex: 1; }
.news-card__link { font-size: 13px; font-weight: 700; color: #fff; }
.news-card__link:hover { text-shadow: 0 0 14px rgba(255, 255, 255, 0.5); }

.share-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  background: var(--panel); display: flex; flex-direction: column; gap: 12px;
  transition: border-color .35s ease, transform .35s var(--ease); position: relative;
}
.share-card:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-4px); }
.share-card__topic {
  position: absolute; top: 0; right: 26px; transform: translateY(-50%);
  font-size: 11px; font-weight: 800; letter-spacing: .18em;
  background: #fff; color: #060708; border-radius: 999px; padding: 5px 14px;
}
.share-card__meta { display: flex; gap: 16px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.share-card__author { color: #fff; font-weight: 700; }
.share-card__title { font-size: 18px; font-weight: 800; line-height: 1.45; }
.share-card__desc { color: var(--muted); font-size: 14px; flex: 1; }
.share-card__link { font-size: 13px; font-weight: 700; color: #fff; }

/* 可点击打开全文的卡片 */
.k-card--link, .share-card--link { cursor: pointer; }
.k-card__more { color: #fff; font-weight: 700; letter-spacing: .04em; }
.k-card--link:hover .k-card__more { text-shadow: 0 0 14px rgba(255, 255, 255, 0.5); }

/* ---------- 文章阅读弹窗 ---------- */
.reader {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: stretch; justify-content: flex-end;
  visibility: hidden; pointer-events: none;
}
.reader.is-open { visibility: visible; pointer-events: auto; }
.reader__backdrop {
  position: absolute; inset: 0; background: rgba(6, 7, 8, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .4s ease;
}
.reader.is-open .reader__backdrop { opacity: 1; }
.reader__panel {
  position: relative; z-index: 2;
  width: min(860px, 100%); height: 100%;
  background: #f2f3f0; color: #0a0a0a;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .55s var(--ease);
  border-radius: 24px 0 0 24px;
  overflow: hidden;
}
.reader.is-open .reader__panel { transform: translateX(0); }
.reader__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; border-bottom: 1px solid rgba(10, 12, 14, 0.12);
}
.reader__cat {
  font-family: var(--font-en); font-size: 12px; font-weight: 800;
  letter-spacing: .3em; text-transform: uppercase; color: #0a0a0a;
}
.reader__close {
  font-size: 14px; font-weight: 700; letter-spacing: .1em;
  color: #0a0a0a; padding: 8px 14px;
  border: 1px solid rgba(10, 12, 14, 0.2); border-radius: 999px;
  transition: all .3s ease;
}
.reader__close:hover { background: #0a0a0a; color: #f2f3f0; }
.reader__scroll { flex: 1; overflow-y: auto; padding: 34px clamp(24px, 5vw, 56px) 80px; }
.reader__title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.reader__meta {
  display: flex; gap: 18px; margin: 16px 0 8px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(10, 12, 14, 0.12);
  font-size: 13px; color: rgba(10, 12, 14, 0.55); letter-spacing: .08em;
}
.reader__author { color: #0a0a0a; font-weight: 700; }
.reader__body { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.reader__p { font-size: 16px; line-height: 1.9; color: #23262a; text-align: justify; text-indent: 2em; }
.reader__h {
  font-size: 19px; font-weight: 800; letter-spacing: .02em;
  margin-top: 14px; color: #0a0a0a;
  padding-left: 12px; border-left: 3px solid;
  border-image: linear-gradient(180deg, #2e4f7f, #e0a163) 1;
}
.reader__code {
  background: #0c0d0f; color: #e8eaed;
  border-radius: 12px; padding: 18px 20px;
  font-family: "Consolas", "SFMono-Regular", "Menlo", monospace;
  font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre;
}

/* ---------- 页脚 ---------- */
.footer {
  position: relative; z-index: 1;
  padding: clamp(80px, 10vw, 130px) clamp(24px, 6vw, 80px) 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__big {
  font-family: var(--font-en); font-weight: 900; text-transform: uppercase;
  font-size: clamp(60px, 16vw, 220px); line-height: .9; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  text-align: center; margin-bottom: 60px; white-space: nowrap;
  user-select: none;
}
.footer__meta {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px;
  align-items: start; max-width: 1200px; margin: 0 auto 50px;
}
.footer__club { display: flex; flex-direction: column; gap: 6px; }
.footer__club strong { font-size: 20px; font-weight: 900; letter-spacing: .04em; }
.footer__club span { color: var(--muted); font-size: 14px; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.footer__social a {
  font-size: 13px; letter-spacing: .06em; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 18px; transition: all .3s var(--ease);
}
.footer__social a:hover { border-color: #fff; color: #060708; background: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; color: var(--muted); font-size: 14px; }
.footer__contact a:hover { color: #fff; }
.footer__copy { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .06em; }

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .knowledge__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .works, .activities, .news, .shares, .knowledge__grid { grid-template-columns: 1fr; }
  .intro__stats { grid-template-columns: repeat(2, 1fr); }
  .timeline__viewport {
    min-height: auto;
    overflow-x: auto;
    overflow-y: visible;
    mask-image: none;
    scroll-snap-type: x mandatory;
  }
  .timeline__track {
    gap: 16px;
    padding: 8px 4px 28px;
    transform: none !important;
  }
  .timeline__item {
    flex-basis: min(86vw, 340px);
    height: 360px;
    opacity: 1;
    transform: none;
    filter: none;
    scroll-snap-align: center;
  }
  .timeline__card {
    height: 360px;
    grid-template-columns: 1fr;
    grid-template-rows: 160px minmax(0, 1fr);
  }
  .timeline__thumb { width: 100%; height: 160px; }
  .timeline__axis-wrap {
    margin: 12px 0 0;
    padding: 14px 8px 8px;
    pointer-events: none;
  }
  .timeline__axis { height: 9px; }
  .timeline__ray,
  .timeline__axis-date { display: none; }
  .timeline__node {
    width: 18px;
    height: 24px;
  }
  .timeline__node span,
  .timeline__node.is-active span {
    width: 8px;
    height: 8px;
  }
  .footer__meta { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__contact { align-items: center; }
  .act { grid-template-columns: 1fr; }
  .act__side { flex-direction: row; align-items: center; }
  .topbar__word-en { display: none; }
  .section__num { width: 34px; height: 34px; font-size: 12px; }
  .reader__panel { width: 100%; border-radius: 20px 20px 0 0; }
}

/* 无障碍：减少动态 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__rays, #lightCanvas { display: none; }
  .timeline__ray { transform: translateY(-50%) scaleX(1); }
}

/* ---------- 后台内容扩展（作品链接类型 / 文章封面 / 富文本正文） ---------- */
.work__link--play {
  color: #060708;
  background: #ffffff;
  border-bottom: none;
  border-radius: 999px;
  padding: 4px 12px;
}
.work__link--play:hover { background: #ecdfaf; text-shadow: none; }
.k-card__cover, .share-card__cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.reader__cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
}
.reader__html { font-size: 16px; line-height: 1.9; color: #23262a; }
.reader__html p { margin: 0.7em 0; text-align: justify; text-indent: 2em; }
.reader__html h1, .reader__html h2, .reader__html h3, .reader__html h4 {
  margin: 1.3em 0 0.5em; line-height: 1.4;
}
.reader__html pre {
  background: #0c0d0f; color: #e8eaed; border-radius: 12px;
  padding: 16px 18px; overflow-x: auto; font-size: 13px; margin: 1em 0;
}
.reader__html code { font-family: "Consolas", "Menlo", monospace; }
.reader__html img { max-width: 100%; border-radius: 10px; }
.reader__html blockquote {
  border-left: 3px solid #2e4f7f; margin: 0.8em 0; padding-left: 14px; color: #6b7280;
}
.reader__html a { color: #2e4f7f; text-decoration: underline; }
.reader__html ul, .reader__html ol { padding-left: 1.5em; margin: 0.6em 0; }
