:root {
  --bg-0: #070a14;
  --bg-1: #0d1124;
  --cyan: #5ad1e6;
  --violet: #a06bff;
  --pink: #ff6fb5;
  --ink: #e8ecff;
  --ink-soft: #9aa6d4;
  --line: rgba(150, 180, 255, 0.18);
  --glow-cyan: rgba(90, 209, 230, 0.55);
  --glow-violet: rgba(160, 107, 255, 0.5);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --ann-item-h: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-0));
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 34px rgba(160, 107, 255, 0.14);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass:hover {
  border-color: rgba(160, 107, 255, 0.4);
  box-shadow:
    0 14px 52px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 52px rgba(90, 209, 230, 0.22);
}

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  box-shadow: 0 0 14px var(--glow-cyan);
  transition: width 0.1s linear;
}

.bg-layer {
  position: fixed;
  inset: -8% -8% -8% -8%;
  z-index: -3;
  background: linear-gradient(160deg, #0a0e1f, #0b0a1c 60%, #070a16);
}

.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease;
}
.bg-img.show { opacity: 0.92; }

.bg-characters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  filter: blur(2px);
}
.bg-characters span {
  position: absolute;
  font-weight: 800;
  color: rgba(160, 180, 255, 0.10);
  white-space: nowrap;
  letter-spacing: 4px;
  user-select: none;
  animation: drift 26s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-26px) rotate(4deg); }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,10,20,0.55) 0%, rgba(7,10,20,0.22) 30%, rgba(7,10,20,0.32) 68%, rgba(7,10,20,0.72) 100%),
    radial-gradient(120% 90% at 50% 45%, transparent 42%, rgba(7,10,20,0.5) 100%);
}

#resonance {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.glow-cursor {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-violet), transparent 65%);
  filter: blur(48px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

header.nav, section, footer.foot { position: relative; z-index: 2; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 6vw, 80px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-radius: 0 0 22px 22px;
  border-top: none;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #06121c;
  box-shadow: 0 0 24px var(--glow-cyan);
}
.brand-text {
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 14px;
  color: var(--ink-soft);
}

.links { display: flex; gap: clamp(14px, 3vw, 38px); }
.links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s ease;
}
.links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 0.25s ease;
}
/* hover 只是「鼠标在这儿」的轻提示：细线半透明；当前模块 active 才用粗线 + 圆点 */
@media (hover: hover) {
  .links a:hover { color: var(--ink); }
  .links a:hover::after { width: 100%; height: 1px; opacity: .45; }
}
.links a.active { color: var(--ink); }
.links a.active::after { width: 100%; height: 2px; opacity: 1; }
.links a.active::before {
  content: "";
  position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--glow-cyan);
}

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 60px;
}

.hero-logo {
  position: relative;
  width: 162px; height: 162px;
  margin-bottom: 18px;
  display: grid; place-items: center;
  animation: logoIn 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero-logo::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  filter: blur(14px);
  opacity: 0.6;
  animation: spin 6s linear infinite;
  z-index: 1;
}
.hero-logo::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--cyan);
  border-bottom-color: var(--violet);
  animation: spin 4s linear infinite reverse;
  z-index: 3;
  pointer-events: none;
}
.logo-halo {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,107,255,0.35), transparent 70%);
  animation: haloPulse 3.2s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes haloPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.14); opacity: 0.85; }
}
@keyframes logoIn { from { opacity: 0; transform: scale(0.6) rotate(-30deg); } to { opacity: 1; transform: none; } }

.logo-img {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 26px var(--glow-violet), 0 0 0 4px rgba(160, 107, 255, 0.18) inset;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.logo-img.show {
  opacity: 1;
  animation: logoFloat 4.5s ease-in-out infinite;
}
.hero-logo:hover .logo-img { box-shadow: 0 0 40px var(--glow-cyan), 0 0 0 4px rgba(90,209,230,0.3) inset; }
@keyframes logoFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-6px); }
}

.logo-svg {
  position: relative;
  z-index: 2;
  width: 162px; height: 162px;
  filter: drop-shadow(0 0 22px var(--glow-violet));
}
.logo-ring { animation: spin 22s linear infinite; transform-origin: 100px 100px; }
.logo-ring2 { animation: spin 14s linear infinite reverse; transform-origin: 100px 100px; }
.logo-core { animation: pulse 3.4s ease-in-out infinite; transform-origin: 100px 100px; }
.logo-wave { animation: wavePulse 4s ease-in-out infinite; }
.logo-dot { animation: dotPulse 2.2s ease-in-out infinite; transform-origin: 100px 100px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes wavePulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.35; } }
@keyframes dotPulse { 0%, 100% { r: 6; opacity: 1; } 50% { r: 9; opacity: 0.6; } }

.hero-inner { transition: opacity 0.35s ease; }
.kicker {
  color: var(--cyan);
  letter-spacing: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
.title {
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.15;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff, var(--cyan) 50%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle {
  margin-top: 22px;
  max-width: 620px;
  color: #d4dbff;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.7;
}
.cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover::after { left: 140%; }
.btn.primary {
  color: #06121c;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 8px 30px var(--glow-cyan);
  animation: btnPulse 3.2s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 30px var(--glow-cyan); }
  50% { box-shadow: 0 8px 46px var(--glow-violet); }
}
.btn.ghost {
  color: var(--ink);
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.btn:hover { transform: translateY(-3px); }
.btn.primary:hover { box-shadow: 0 12px 44px var(--glow-violet); }
.btn.ghost:hover { border-color: var(--violet); }

.scroll-hint {
  margin-top: 56px;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 2px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.section-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
}
.section-title span {
  background: linear-gradient(120deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title em {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--violet);
  margin-top: 6px;
}
.section-desc { text-align: center; color: var(--ink-soft); margin-bottom: 38px; }

.announce { padding: 90px clamp(18px, 6vw, 80px); }
.ann-wrap {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
}
.ann-detail {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.ann-detail::before {
  content: "公告详情";
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90,209,230,.22), rgba(160,107,255,.22));
  border: 1px solid var(--line);
}
.ann-list-head {
  padding: 16px 24px 10px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.ann-head-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(90,209,230,.22), rgba(160,107,255,.22));
  border: 1px solid var(--line);
}
.ann-list {
  list-style: none;
}
.ann-item {
  height: var(--ann-item-h);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 24px;
  cursor: pointer;
  border-bottom: 1px solid rgba(150,180,255,.08);
  border-left: 3px solid transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.2s ease;
}
.ann-item:hover { background: rgba(255,255,255,.06); transform: translateX(3px); }
.ann-item.active {
  background: linear-gradient(90deg, rgba(90,209,230,.20), rgba(160,107,255,.10));
  border-left-color: var(--cyan);
}
.ann-time { font-size: 11px; color: var(--violet); letter-spacing: 1px; flex-shrink: 0; }
.ann-name {
  font-size: 13.5px; color: var(--ink); font-weight: 600; text-align: right;
  max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ann-detail-inner { animation: annZoom 0.45s cubic-bezier(.2,.7,.2,1); }
@keyframes annZoom { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.ann-detail-empty { color: var(--ink-soft); font-size: 14px; }
.ann-detail-time { color: var(--violet); font-size: 13px; letter-spacing: 1px; }
.ann-detail h3 {
  font-size: 24px; margin: 8px 0 16px;
  background: linear-gradient(120deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ann-detail p { color: var(--ink-soft); line-height: 1.9; font-size: 15px; }

.projects { padding: 80px clamp(18px, 6vw, 80px); }
.proj-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px; margin: 0 auto;
}
.proj-card {
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.proj-card:hover {
  transform: translateY(-6px);
  border-color: var(--violet);
  box-shadow: 0 18px 52px rgba(160, 107, 255, 0.25);
}
.proj-cover {
  height: 150px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 46px; font-weight: 800;
  color: rgba(255,255,255,.9);
  overflow: hidden;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.grad-a { background: linear-gradient(135deg, #1b3a5c, #5ad1e6); }
.grad-b { background: linear-gradient(135deg, #3a1b5c, #a06bff); }
.grad-c { background: linear-gradient(135deg, #5c1b3a, #ff6fb5); }
.proj-cover.has-img { background: #0d1522; }
.proj-cover-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.proj-card:hover .proj-cover-bg { transform: scale(1.08); }
.proj-cover.has-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(4,8,14,.5), rgba(4,8,14,0) 58%);
}
.proj-cover span { position: relative; z-index: 2; }
.proj-head { display: flex; align-items: center; gap: 10px; }
.proj-badge {
  font-size: 11px; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #06121c; font-weight: 700;
}
.proj-card h3 {
  font-size: 22px;
  background: linear-gradient(120deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proj-desc { color: var(--ink-soft); line-height: 1.75; font-size: 14px; flex: 1; }
.proj-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.proj-tags span {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft);
}
.proj-open { font-size: 13px; color: var(--cyan); opacity: 0.85; }

.guestbook { padding: 90px clamp(18px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; }
.gb-box {
  width: 100%;
  max-width: 720px;
  border-radius: 22px;
  padding: 28px;
}
.gb-wall {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding-right: 10px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 107, 255, 0.45) transparent;
}
.gb-wall::-webkit-scrollbar { width: 6px; }
.gb-wall::-webkit-scrollbar-track { background: transparent; }
.gb-wall::-webkit-scrollbar-thumb {
  background: rgba(160, 107, 255, 0);
  border-radius: 999px;
  transition: background 0.3s ease;
}
.gb-wall:hover::-webkit-scrollbar-thumb { background: rgba(160, 107, 255, 0.45); }
.gb-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  animation: gbIn 0.45s ease both;
}
@keyframes gbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gb-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.gb-author { color: var(--cyan); font-weight: 600; }
.gb-time { color: var(--violet); }
.gb-text { line-height: 1.7; color: var(--ink); font-size: 14px; word-break: break-word; white-space: pre-wrap; }
.gb-empty { color: var(--ink-soft); text-align: center; padding: 30px 0; }
.gb-form { display: flex; flex-direction: column; gap: 12px; }
.gb-form input, .gb-form textarea {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.5);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gb-form input:focus, .gb-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px var(--glow-cyan);
}
.gb-submit { align-self: flex-end; }

.foot {
  text-align: center;
  padding: 34px 20px 56px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  border-radius: 22px 22px 0 0;
}
.foot-sub { font-size: 12px; opacity: 0.7; }

.modal {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,14,0.7); backdrop-filter: blur(8px); }
.modal-card {
  position: relative;
  width: min(560px, 94vw);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 80px var(--glow-violet);
  animation: modalPop 0.35s cubic-bezier(.2,.7,.2,1);
}
@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-cover {
  height: 200px;
  display: grid; place-items: center;
  font-size: 60px; font-weight: 800;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
/* 弹窗封面背景图 */
.modal-cover.has-img {
  position: relative;
  background-color: #0d1522;
  background-size: cover; background-position: center;
}
.modal-cover.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,8,14,.55), rgba(4,8,14,0) 62%);
}
.modal-cover span { position: relative; z-index: 2; }
.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(7,10,20,.5); color: #fff; font-size: 20px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.modal-close:hover { border-color: var(--cyan); background: rgba(7,10,20,.75); }
.modal-badge {
  display: inline-block; margin: 22px 28px 0;
  font-size: 11px; letter-spacing: 1px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #06121c; font-weight: 700;
}
.modal-card h3 {
  font-size: 26px; margin: 12px 28px 0;
  background: linear-gradient(120deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 28px; }
.modal-tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.modal-card p { color: var(--ink-soft); line-height: 1.85; font-size: 15px; margin: 0 28px 24px; }
.modal-card .link-btn { margin: 0 28px 28px; }

.reveal { opacity: 0; transform: translateY(42px); transition: opacity 0.85s cubic-bezier(.2,.7,.2,1), transform 0.85s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.fade-scroll {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.fade-scroll.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
}
@media (max-width: 640px) {
  .nav { flex-direction: column; gap: 12px; }
  .links { gap: 18px; }
  .glow-cursor { display: none; }
  .hero-logo, .logo-svg { width: 128px; height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ring, .logo-ring2, .logo-core, .logo-wave, .logo-dot, .logo-img.show,
  .scroll-hint, .bg-characters span, .hero-logo, .hero-logo::before, .hero-logo::after,
  .logo-halo, .btn.primary { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .fade-scroll { transition: none; opacity: 1; transform: none; }
}

.about { padding: 90px clamp(18px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; }
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-width: 700px;
  margin-top: 8px;
}
.about-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 176px;
  padding: 16px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(11, 18, 33, 0.62);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(180, 200, 255, 0.22);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 0 20px rgba(160,107,255,0.1);
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.about-link:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(17, 27, 48, 0.74);
  border-color: var(--violet);
  box-shadow:
    0 14px 38px rgba(0,0,0,0.52),
    0 0 0 1px rgba(255,255,255,0.13) inset,
    0 0 38px rgba(90,209,230,0.26);
}
.about-ic {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 0 12px var(--glow-violet));
  transition: transform 0.3s ease;
}
.about-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.about-link:hover .about-ic { transform: scale(1.12) rotate(-6deg); }
.about-name {
  font-size: 15px; font-weight: 700;
  background: linear-gradient(120deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-sub { font-size: 11.5px; color: #c3cce8; letter-spacing: 0.3px; }

/* 主题切换 */
.hero-logo { cursor: pointer; }
.hero-logo.open { transform: rotate(135deg); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.theme-options { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 4; }
.theme-dot {
  position: absolute; left: 0; top: 0; margin: -21px 0 0 -21px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); background: var(--c); cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  transform: translate(var(--tx,0), var(--ty,0)) scale(0) rotate(-160deg);
  opacity: 0;
  transition: transform .42s cubic-bezier(.4,0,.6,1), opacity .34s ease, box-shadow .25s ease;
}
.hero-logo.open .theme-dot {
  animation: themeDotIn .62s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--dd, 0s);
}
@keyframes themeDotIn {
  from { transform: translate(var(--tx,0), var(--ty,0)) scale(0) rotate(-160deg); opacity: 0; }
  to   { transform: translate(var(--tx,0), var(--ty,0)) scale(1) rotate(0deg); opacity: 1; }
}
.theme-dot:hover { border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.28), 0 6px 22px rgba(0,0,0,.55); }
.theme-dot::after {
  content: attr(data-name);
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--ink); padding: 5px 11px; border-radius: 9px;
  background: rgba(18,22,38,.88);
  border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.theme-dot:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
/* 主题切换：光晕泛光转场 */
.sz-wash {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; overflow: hidden;
  opacity: 0;
  background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
    var(--sz-glow, #ffffff) 0%,
    rgba(255,255,255,0) 58%);
  mix-blend-mode: screen;
}
.sz-wash.sz-in { animation: szWashBloom 0.76s ease-out; }
@keyframes szWashBloom {
  0%   { opacity: 0; transform: scale(0.62); }
  40%  { opacity: 0.92; }
  100% { opacity: 0; transform: scale(1.28); }
}

:root[data-theme="cyan"], :root:not([data-theme]) {
  --cyan:#2fd4e0; --violet:#2aa7ff; --pink:#58e0ff;
  --glow-cyan:rgba(47,212,224,.55); --glow-violet:rgba(42,167,255,.5);
}
:root[data-theme="aurora"] {
  --cyan:#8b7bff; --violet:#5ad1e6; --pink:#c7a8ff;
  --glow-cyan:rgba(139,123,255,.55); --glow-violet:rgba(90,209,230,.5);
}
:root[data-theme="rose"]  { --cyan:#ff8fc7; --violet:#ff4d6d; --pink:#ffb3c9; --glow-cyan:rgba(255,143,199,.55); --glow-violet:rgba(255,77,109,.5); }
:root[data-theme="jade"]  { --cyan:#5ce6a8; --violet:#1fbf86; --pink:#9bf0c9; --glow-cyan:rgba(92,230,168,.55); --glow-violet:rgba(31,191,134,.5); }
:root[data-theme="amber"] { --cyan:#ffd166; --violet:#ff9f1c; --pink:#ffe0a3; --glow-cyan:rgba(255,209,102,.55); --glow-violet:rgba(255,159,28,.5); }
#lg stop:first-child { stop-color: var(--cyan); }
#lg stop:last-child  { stop-color: var(--violet); }
