/* Homepage */
.home-page {
  --home-bg: #09080b;
  --home-panel: #111014;
  --home-line: rgba(255, 255, 255, .09);
  /* 这里原本是 `background: var(--home-bg)`（简写）。简写会把 background-image
     一并重置为 none，于是首页没有其它页面那层很淡的渐变底纹，全站看起来不统一。
     改为不设 body 背景，由 site-theme.css 的 body 规则统一提供
     —— 它的基础色同样是 #09080b，深色下完全一致；浅色下 #f5f7fb → #f7f6f8，
     差 2 个色阶，看不出来。--home-bg 仍然保留给下面用到它的规则（如 .hero）。 */
  overflow-x: clip;
  scrollbar-width: none;
}

.home-page::-webkit-scrollbar { display: none; }

.home-navbar {
  background: rgba(9, 8, 11, .94);
  border-bottom-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-navbar .nav-inner {
  position: relative;
  max-width: 1280px;
}

/* Etterna's three signature purples fade into the dark navigation surface. */
.nav-spectrum {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -20px;
  width: clamp(260px, 34vw, 440px);
  height: var(--navbar-height);
  opacity: .34;
  transform: translateY(-50%);
  filter: saturate(.7);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(9, 8, 11, .82) 18%,
    rgba(89, 48, 127, .68) 52%,
    rgba(179, 97, 185, .72) 76%,
    rgba(214, 132, 220, .78) 100%
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%);
  pointer-events: none;
}

.nav-spectrum::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.13), transparent 42%, rgba(0,0,0,.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.home-navbar .nav-actions {
  position: relative;
  isolation: isolate;
}

.home-navbar .nav-actions > a,
.home-navbar .nav-actions > button {
  position: relative;
  z-index: 1;
}
.nav-favorite {
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  border-radius: 3px;
  transition: color .2s ease, background .2s ease;
}

.nav-favorite:hover {
  color: var(--brand-purple-light);
  background: rgba(179, 97, 185, .09);
}

.nav-favorite svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 24px 54px;
  /* 数字块已经挪到「关于」下面了，首屏不再需要撑满整屏（否则中间空一大块）。
     小屏上仍保留"接近满屏"的观感，大屏封顶 720px。 */
  min-height: min(calc(100vh - var(--navbar-height)), 720px);
  background:
    linear-gradient(145deg, rgba(179, 97, 185, .045), transparent 34%),
    linear-gradient(180deg, rgba(18, 15, 20, .4), transparent 42%),
    var(--home-bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .08;
  pointer-events: none;
}

.hero-glow-one {
  width: 280px;
  height: 280px;
  right: 13%;
  top: 120px;
  background: #59307f;
  animation: glow-drift-one 12s ease-in-out infinite alternate;
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  left: 9%;
  top: 410px;
  background: #b361b9;
  opacity: .025;
  animation: glow-drift-two 15s ease-in-out infinite alternate;
}

.hero-grid {
  width: min(1232px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .76fr);
  gap: clamp(64px, 8vw, 116px);
  align-items: center;
}

.hero-grid > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  left: -54px;
  top: 74px;
  border: 1px solid rgba(214, 132, 220, .1);
  background: linear-gradient(135deg, rgba(214,132,220,.055), rgba(89,48,127,.018) 52%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: rotate(8deg);
  animation: glass-tile-float 10s ease-in-out infinite;
  pointer-events: none;
}

.eyebrow {
  color: #8d878f;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #59307f, #b361b9);
}

.hero h1 {
  margin-top: 22px;
  max-width: 700px;
  line-height: .9;
  font-weight: 500;
}

.hero-title-main {
  display: block;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(3.8rem, 6vw, 6rem);
  font-stretch: condensed;
  font-weight: 500;
  letter-spacing: .025em;
}

.hero-title-sub {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.hero-title-sub em {
  font-style: normal;
  color: #e2dce3;
  font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 3.8vw, 3.75rem);
  font-weight: 600;
  letter-spacing: .05em;
  -webkit-text-fill-color: currentColor;
}

.hero-title-sub small {
  padding-bottom: 5px;
  color: #756e78;
  font: 500 .66rem/1.35 "Cascadia Code", Consolas, monospace;
  letter-spacing: .16em;
}

.hero-desc {
  max-width: 610px;
  margin-top: 26px;
  color: #979198;
  font-size: 1rem;
  line-height: 1.85;
}

.hero-search {
  max-width: 620px;
  margin-top: 34px;
  min-height: 58px;
  padding: 5px 5px 5px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(120deg, rgba(214,132,220,.09), rgba(17,13,20,.76) 38%, rgba(89,48,127,.13));
  border: 1px solid rgba(226, 190, 230, .14);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 16px 45px rgba(0,0,0,.12);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.hero-search:focus-within {
  border-color: rgba(214, 132, 220, .58);
  box-shadow: inset 0 -2px 0 #b361b9;
  background:
    linear-gradient(120deg, rgba(214,132,220,.13), rgba(18,13,22,.82) 42%, rgba(89,48,127,.19));
  transform: translateY(-2px);
}

.hero-search > svg {
  width: 20px;
  color: #777179;
  flex: 0 0 auto;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.hero-search input::placeholder { color: #69636c; }

.hero-search button {
  border: 0;
  border-radius: 2px;
  padding: 11px 21px;
  color: #fff;
  background: linear-gradient(135deg, #6c3d75, #4c285c);
  font: 600 .82rem "Cascadia Code", Consolas, var(--font);
  cursor: pointer;
  box-shadow: none;
  transition: background .2s ease;
}

.hero-search button:hover { background: linear-gradient(135deg, #82488b, #61326e); }

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .88rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-btn svg { width: 17px; height: 17px; }

.hero-btn.primary {
  color: #ddd8de;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .13);
}

.hero-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(214, 132, 220, .38);
  background: rgba(179, 97, 185, .06);
}

.featured-wrap {
  position: relative;
  width: min(470px, 100%);
  justify-self: end;
  padding: 0;
  animation: featured-float 7.5s ease-in-out infinite;
}

.featured-orbit {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  border: 1px solid rgba(229, 178, 233, .13);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(222,130,226,.12), rgba(36,18,44,.08) 45%, rgba(6,5,8,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.orbit-one {
  inset: 26px -25px 32px 32px;
  transform: rotate(3.5deg);
  animation: orbit-one-float 9s ease-in-out infinite;
}

.orbit-two {
  inset: 42px 40px 18px -22px;
  transform: rotate(-3deg);
  opacity: .68;
  animation: orbit-two-float 11s ease-in-out infinite;
}

.featured-card {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  color: var(--text);
  border-radius: 3px;
  border: 1px solid rgba(232,194,235,.15);
  background:
    linear-gradient(145deg, rgba(211,118,216,.105), rgba(16,13,19,.84) 35%, rgba(69,35,79,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 28px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .24s ease, box-shadow .32s ease;
}

.featured-card:hover {
  color: var(--text);
  border-color: rgba(214, 132, 220, .38);
  transform: translateY(-7px) scale(1.008);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.065), 0 38px 95px rgba(19,7,23,.42);
}

.featured-image-wrap {
  position: relative;
  aspect-ratio: 2.85 / 1;
  min-height: 170px;
  overflow: hidden;
  background: #121116;
}

.featured-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,10,16,.02), rgba(7,10,16,.54));
}

.featured-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.75) contrast(1.04);
  transition: opacity .25s ease, filter .35s ease;
}

.featured-card:hover .featured-image-wrap img { filter: saturate(1) contrast(1.02); }

.featured-kicker {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  color: #d9d4da;
  background: rgba(9, 8, 11, .92);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.featured-kicker svg { width: 14px; height: 14px; color: #d684dc; }
.featured-content { padding: 22px 23px 21px; }

.featured-heading {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
}

.featured-label {
  margin-bottom: 5px;
  color: #746e77;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-heading h2 {
  max-width: 340px;
  color: #e5e1e6;
  font-size: clamp(1.2rem, 2.1vw, 1.52rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-arrow {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #8c858f;
  border: 1px solid rgba(255,255,255,.11);
  background: transparent;
}

.featured-arrow svg { width: 17px; }

.featured-tags {
  min-height: 25px;
  margin-top: 15px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.featured-tags span {
  padding: 4px 8px;
  border-radius: 2px;
  color: #a8a1aa;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .66rem;
}

.featured-meta {
  margin-top: 17px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #77717a;
  font-size: .75rem;
  white-space: nowrap;
}

.featured-meta svg { width: 14px; height: 14px; }
.featured-meta b { color: #c8c3ca; font-weight: 600; }

.featured-dots {
  position: relative;
  z-index: 3;
  margin-top: 17px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.featured-dot {
  width: 18px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.16);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.featured-dot.active { width: 34px; background: #b361b9; }

/* 首页数字的注脚：三个数字来自对象存储实测（见 js/home.js renderHomeStats）。
   必须横跨三列，否则会掉进第一列变成第 4 个"格子"。 */
.home-stats-note {
  grid-column: 1 / -1;
  margin-top: 2px;
  text-align: center;
  font-size: .72rem;
  color: var(--text-muted);
}

.hero-stats {
  position: relative;
  z-index: 5;
  width: min(840px, calc(100% - 48px));
  min-height: 84px;
  margin: 68px auto 0;
  padding: 15px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background:
    linear-gradient(110deg, rgba(214,132,220,.075), rgba(12,10,15,.58) 42%, rgba(89,48,127,.105));
  border: 1px solid rgba(229,184,232,.12);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 60px rgba(0,0,0,.14);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  animation: stats-float 9s ease-in-out infinite;
}

.home-stat {
  min-width: 0;
  padding: 2px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: transform .24s ease, color .24s ease;
}

.home-stat:last-child { border-right: 0; }
.home-stat:hover { transform: translateY(-3px); }

.stat-icon {
  width: 20px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: #a961b0;
  background: transparent;
}

.stat-icon svg { width: 17px; height: 17px; }

.home-stat strong,
.home-stat small { display: block; }

.home-stat strong {
  color: #ded9df;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.home-stat small {
  margin-top: 3px;
  color: #716b74;
  font-size: .68rem;
  letter-spacing: .06em;
}

@keyframes glow-drift-one {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-36px, 28px, 0) scale(1.14); }
}

@keyframes glow-drift-two {
  from { transform: translate3d(0, 0, 0) scale(.92); }
  to { transform: translate3d(42px, -24px, 0) scale(1.12); }
}

@keyframes glass-tile-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); opacity: .56; }
  50% { transform: translate3d(8px, -12px, 0) rotate(5deg); opacity: .82; }
}

@keyframes featured-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

@keyframes orbit-one-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3.5deg); }
  50% { transform: translate3d(8px, -9px, 0) rotate(5deg); }
}

@keyframes orbit-two-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(-7px, 8px, 0) rotate(-4.5deg); }
}

@keyframes stats-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

[data-theme="light"] .home-page,
[data-theme="light"] body.home-page {
  --home-bg: #f5f7fb;
  --home-panel: rgba(255,255,255,.74);
  --home-line: rgba(30,42,60,.1);
}

[data-theme="light"] .home-navbar { background: rgba(255,255,255,.76); border-bottom-color: rgba(31,43,59,.09); }
[data-theme="light"] .nav-spectrum {
  opacity: .2;
  filter: saturate(.58);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .78) 20%,
    rgba(89, 48, 127, .38) 54%,
    rgba(179, 97, 185, .46) 78%,
    rgba(214, 132, 220, .52) 100%
  );
}
[data-theme="light"] .nav-spectrum::after {
  background: linear-gradient(180deg, rgba(255,255,255,.26), transparent 48%, rgba(59,35,65,.08));
  box-shadow: inset 0 0 0 1px rgba(77,48,84,.05);
}
[data-theme="light"] .hero { background: linear-gradient(180deg, rgba(89,48,127,.04), transparent 38%), var(--home-bg); }
[data-theme="light"] .eyebrow { color: #675c6d; }
[data-theme="light"] .hero-title-main { color: #18151c; }
[data-theme="light"] .hero-title-sub em { color: #403743; }
[data-theme="light"] .hero-title-sub small { color: #695c70; }
[data-theme="light"] .hero-desc { color: #514957; }
[data-theme="light"] .hero-search,
[data-theme="light"] .featured-card {
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(247,243,249,.82) 52%, rgba(226,211,231,.48));
  border-color: rgba(74,52,80,.18);
  box-shadow: 0 24px 70px rgba(64,43,72,.12), inset 0 1px 0 rgba(255,255,255,.8);
}
[data-theme="light"] .hero-search {
  background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(249,245,250,.86) 58%, rgba(224,203,230,.48));
  border-color: rgba(72,50,79,.2);
  box-shadow: 0 12px 36px rgba(68,45,76,.08), inset 0 1px 0 #fff;
}
[data-theme="light"] .hero-search:focus-within {
  border-color: rgba(130,72,139,.5);
  box-shadow: inset 0 -2px 0 #9d50a6, 0 15px 40px rgba(68,45,76,.11);
}
[data-theme="light"] .hero-stats {
  background: linear-gradient(110deg, rgba(255,255,255,.78), rgba(246,241,248,.68) 48%, rgba(222,204,228,.38));
  border-color: rgba(74,52,80,.16);
  box-shadow: 0 18px 50px rgba(64,43,72,.08), inset 0 1px 0 rgba(255,255,255,.75);
}
[data-theme="light"] .hero-search input { color: #1d2635; }
[data-theme="light"] .hero-search input::placeholder { color: #736a77; }
[data-theme="light"] .hero-search > svg { color: #655d69; }
[data-theme="light"] .hero-btn.primary {
  color: #332d36;
  border-color: rgba(65,48,70,.26);
  background: rgba(255,255,255,.42);
}
[data-theme="light"] .hero-btn:hover {
  color: #251f28;
  border-color: rgba(132,73,141,.42);
  background: rgba(179,97,185,.08);
}
[data-theme="light"] .featured-heading h2,
[data-theme="light"] .home-stat strong { color: #202a39; }
[data-theme="light"] .featured-label { color: #665c69; }
[data-theme="light"] .featured-tags span {
  color: #514856;
  border-color: rgba(67,50,72,.2);
  background: rgba(255,255,255,.4);
}
[data-theme="light"] .featured-meta { border-top-color: rgba(62,47,67,.14); }
[data-theme="light"] .featured-meta span { color: #625966; }
[data-theme="light"] .featured-meta b { color: #312b34; }
[data-theme="light"] .featured-arrow {
  color: #514858;
  border-color: rgba(67,50,72,.2);
  background: rgba(255,255,255,.36);
}
[data-theme="light"] .home-stat { border-color: rgba(30,42,60,.09); }
[data-theme="light"] .home-stat small { color: #5d5461; }
[data-theme="light"] .stat-icon { color: #9b48a4; }
[data-theme="light"] .featured-orbit {
  border-color: rgba(133,74,143,.16);
  background: linear-gradient(135deg, rgba(205,123,212,.14), rgba(255,255,255,.3) 46%, rgba(103,58,115,.07));
}

@media (max-width: 1000px) {
  .hero { padding-top: 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 760px; }
  .featured-wrap { justify-self: center; width: min(560px, 92%); }
  .hero-stats { margin-top: 54px; }
}

@media (max-width: 768px) {
  .home-navbar .nav-links { display: none; }
  .home-navbar .nav-favorite { display: none; }
  .nav-spectrum { width: 220px; right: -18px; }
  .hero { padding: 64px 18px 44px; min-height: auto; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-desc { font-size: .96rem; }
  .hero-search { min-height: 54px; margin-top: 28px; }
  .hero-search button { padding-inline: 16px; }
  .featured-wrap { width: 96%; }
  .hero-stats { width: calc(100% - 28px); padding: 15px 12px; }
  .home-stat { padding-inline: 13px; }
}

@media (max-width: 560px) {
  .nav-spectrum { width: 180px; }
  .hero-title-main { font-size: clamp(3.15rem, 15vw, 4rem); }
  .hero-title-sub { gap: 12px; }
  .hero-title-sub em { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  .hero-title-sub small { padding-bottom: 3px; font-size: .57rem; }
  .hero-search { padding-left: 14px; gap: 8px; }
  .hero-search button { padding-inline: 14px; }
  .featured-wrap { width: 100%; max-width: 100%; padding-inline: 0; }
  .featured-orbit { display: none; }
  .featured-image-wrap { min-height: 132px; }
  .featured-content { padding: 18px; }
  .featured-meta { grid-template-columns: 1fr 1fr; }
  .featured-meta span:last-child { display: none; }
  .hero-stats { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .home-stat { padding-inline: 8px; flex-direction: column; text-align: center; gap: 7px; }
  .stat-icon { width: 20px; height: 30px; }
  .home-stat strong { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .hero-copy::before,
  .featured-wrap,
  .featured-orbit,
  .hero-stats {
    animation: none;
  }

  .featured-card,
  .featured-image-wrap img,
  .hero-btn,
  .hero-search { transition: none; }
}

/* ============================
   关于本站（首屏与数字块之间）
   内容来自项目方文稿；宽度与数字块对齐（min(840px, 100% - 48px)）
   ============================ */
.home-about {
  position: relative;
  z-index: 5;
  width: min(840px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 32px 26px;
  background:
    linear-gradient(160deg, rgba(214,132,220,.05), rgba(12,10,15,.42) 46%, rgba(89,48,127,.07));
  border: 1px solid rgba(229,184,232,.1);
  border-radius: 3px;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.9;
}

.home-about h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}

.home-about h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.home-about p { margin: 0 0 11px; }

.home-about a { color: var(--brand-purple-light); text-decoration: none; }
.home-about a:hover { text-decoration: underline; }

.home-about-team {
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3px 18px;
}

.home-about-team li { display: flex; gap: 10px; }
.home-about-team span { color: var(--text-muted); opacity: .9; }
.home-about-team li { color: var(--text); }

.home-about-sign { margin-top: 16px; opacity: .75; font-size: .82rem; }

/* 浅色主题：这块的底是给深色页配的深玻璃，铺到浅色页上会糊成一片灰，
   而正文取的又是深色主题的灰字（--text-secondary #aaa2ae），几乎读不出来。
   浅色下换成与数字块同一套白色玻璃 + 深灰字。 */
[data-theme="light"] .home-about {
  background: linear-gradient(160deg, rgba(255,255,255,.88), rgba(247,243,249,.8) 46%, rgba(226,211,231,.5));
  border-color: rgba(74,52,80,.16);
  box-shadow: 0 18px 50px rgba(64,43,72,.07), inset 0 1px 0 rgba(255,255,255,.75);
  color: #4d4653;
}
[data-theme="light"] .home-about h2,
[data-theme="light"] .home-about h3 { color: #1f2328; }
[data-theme="light"] .home-about a { color: #8c4594; }
[data-theme="light"] .home-about-team span { color: #6b6270; opacity: 1; }
[data-theme="light"] .home-about-team li { color: #24202b; }
[data-theme="light"] .home-about-sign { color: #6b6270; opacity: 1; }

/* 数字块从首屏里挪出来了：原来是 hero 内部的收尾元素（margin-top 68px），
   现在是独立块，上下留白改由自身控制 */
.home-about + .hero-stats { margin-top: 22px; }
.hero-stats { margin-bottom: 54px; }

