/* ============ 全局字体：MiSans（小米官方开源字体） ============ */
@import url("https://font.sec.miui.com/font/css?family=MiSans:400,450:Chinese_Simplify,Latin&display=swap");

@font-face {
  font-family: "MiSans", sans-serif;
  font-weight: normal;
  font-style: normal;
}
*:not([class*="icon"]):not(i) {
  font-family: "MiSans" !important;
}

:root {
  --blue: #2f7fe0;
  --blue-deep: #1a5fc4;
  --ink: #1d2536;
  --muted: #6b7488;
  --faint: #9aa4bb;
  --paper: #ffffff;
  --bg: #f7f9fd;
  --line: #eef2fa;
  --line-strong: #d7e0ef;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(47, 127, 224, 0.2); }

/* ---------- 页面骨架与背景 ---------- */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 82% 30%, #eef4ff 0%, transparent 60%),
    radial-gradient(700px 420px at 10% 80%, #f3f7ff 0%, transparent 55%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(#e8eef8 1px, transparent 1px),
    linear-gradient(90deg, #e8eef8 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  opacity: .5;
}
.page > * { position: relative; z-index: 1; }

/* ============ 导航栏(Aurum 风格:浮动白色胶囊) ============ */
.navbar {
  position: sticky; top: 14px; z-index: 30;
  padding: 0 28px;
  transition: top .25s var(--ease);
}
.navbar.scrolled { top: 8px; }
.navbar-pill {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 10px 30px rgba(28, 45, 90, .08),
    0 4px 12px rgba(28, 45, 90, .04);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.navbar.scrolled .navbar-pill {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 14px 38px rgba(28, 45, 90, .12),
    0 6px 16px rgba(28, 45, 90, .06);
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #5fa8ff 0%, #2f7fe0 45%, #1a5fc4 100%);
  color: #fff;
  font-size: 16px; font-weight: 800;
  border-radius: 9px;
  box-shadow:
    0 6px 14px rgba(47, 127, 224, .35),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  letter-spacing: 0;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.brand-sub {
  font-size: 9.5px; color: var(--muted);
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 2px;
}

/* 中部导航 */
.nav-links { display: flex; gap: 28px; }
.nav-link {
  position: relative;
  font-size: 13.5px; color: #4d5775; text-decoration: none;
  padding: 6px 0;
  transition: color .2s;
  white-space: nowrap;
}
.nav-link::before {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--blue); transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::before { width: 14px; }
.nav-link.active { color: var(--ink); font-weight: 600; }
.nav-link.active::before { width: 18px; }

/* 右侧操作 */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-dot {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; position: relative;
  transition: border-color .2s, transform .2s var(--ease);
  flex-shrink: 0;
}
.nav-dot:hover { border-color: var(--blue); transform: scale(1.06); }
.nav-dot-pulse {
  width: 8px; height: 8px;
  background: #34c759; border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, .6);
  animation: navDotPulse 2.4s var(--ease) infinite;
}
@keyframes navDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

/* 黑色 CTA 胶囊按钮(右上) */
.btn-dark {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: #1a1f2e; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 4px 12px rgba(26, 31, 46, .22),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-dark:hover {
  background: #2a3045;
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px rgba(26, 31, 46, .3),
    inset 0 1px 0 rgba(255, 255, 255, .15);
}

/* ============ 按钮(硬阴影风格) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  border-radius: 6px; cursor: pointer; text-decoration: none;
  border: 1.5px solid var(--ink);
  padding: 8px 16px;
  transition: transform .15s, box-shadow .15s, border-color .2s, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-solid, .btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 3px 3px 0 rgba(29, 37, 54, .18);
}
.btn-solid:hover, .btn-primary:hover {
  box-shadow: 4px 5px 0 rgba(29, 37, 54, .22);
  transform: translate(-1px, -1px);
}
.btn-ghost { background: #fff; color: var(--ink); border-color: #c9d3e6; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 13px 26px; font-size: 14px; }
.btn-small { padding: 6px 13px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ============ Hero ============ */
.route-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.hero {
  position: relative; z-index: 5;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(480px, 1.15fr);
  align-items: center;
  gap: 24px;
  padding: 24px 64px 0;
  min-height: calc(100vh - 140px);
}

/* ---- 左侧文案 ---- */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-badge .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(47, 127, 224, .15);
}
.hero-badge .badge-name { font-size: 13px; font-weight: 600; letter-spacing: 3px; color: #8a93a8; }
.hero-badge .badge-ver {
  font-size: 11px; color: var(--muted);
  background: #eef2fa; border-radius: 4px; padding: 3px 8px;
}
.hero-title { display: flex; flex-direction: column; line-height: 1.06; user-select: none; }
.title-solid {
  font-size: clamp(52px, 7vw, 84px); font-weight: 900; font-style: italic;
  letter-spacing: 6px; color: var(--ink);
}
.title-outline {
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 62px); font-weight: 900; font-style: italic;
  letter-spacing: 4px;
  color: #fbfdff;
  -webkit-text-stroke: 3px var(--blue);
  paint-order: stroke fill;
  filter: drop-shadow(0 8px 22px rgba(47, 127, 224, .28));
  white-space: nowrap;
}
.hero-btns { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 26px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--faint); letter-spacing: .5px;
}
.hero-meta b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.meta-sep { opacity: .5; }

/* ---- Hero 描述区(中性无色) ---- */
.hero-desc-body { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.hero-slogan { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: 1.5px; line-height: 1.5; }
.hero-role { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.hero-role-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: #eaf2fd;
  color: var(--blue);
  border: 1px solid rgba(47, 127, 224, .22);
  border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: .8px;
}
.badge-check {
  width: 15px; height: 15px;
  color: var(--blue);
  flex: none;
}
.hero-role-sep { color: var(--faint); font-weight: 700; }
.hero-role-title { color: var(--muted); font-weight: 600; letter-spacing: 1px; }

/* ---- 右侧插画区 ---- */
.illustration { position: relative; height: min(76vh, 620px); will-change: transform; }
.deco { position: absolute; display: block; font-style: normal; }
.deco svg { width: 100%; height: 100%; display: block; }

.polaroid {
  position: absolute;
  background: #fff;
  padding: 10px 10px 30px;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(60, 80, 130, .16), 0 2px 6px rgba(60, 80, 130, .08);
  transition: transform .35s var(--ease);
}
.polaroid:hover { transform: rotate(0deg) scale(1.04) !important; z-index: 6; }
.polaroid .photo {
  position: relative; border-radius: 4px; overflow: hidden;
  display: grid; place-items: center;
}
.polaroid .photo-a { background: linear-gradient(160deg, #eaf1ff, #fdeef4); }
.polaroid .photo-b { background: linear-gradient(160deg, #fdeee2, #eef6ea); }
.polaroid .photo-c { background: linear-gradient(160deg, #e9f7f1, #eef1fd); }
.polaroid .tape {
  position: absolute; top: -12px; left: 50%;
  width: 74px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(178, 205, 250, .55);
  border-left: 1px dashed rgba(255, 255, 255, .7);
  border-right: 1px dashed rgba(255, 255, 255, .7);
}
.polaroid .caption {
  position: absolute; bottom: 6px; left: 0; right: 0;
  text-align: center; font-size: 12px; color: var(--faint);
  font-style: italic; letter-spacing: 1px;
}
.p1 { top: 2%; left: 6%; width: 250px; transform: rotate(-6deg); z-index: 2; }
.p1 .photo { height: 240px; }
.p1 .chibi { width: 78%; }
.p2 { bottom: 8%; right: -2%; width: 225px; transform: rotate(6deg); z-index: 2; }
.p2 .photo { height: 216px; }
.p2 .chibi { width: 76%; }
.p3 { bottom: 20%; left: -2%; width: 160px; transform: rotate(-10deg); z-index: 3; }
.p3 .photo { height: 150px; }
.p3 .chibi { width: 74%; }
.chibi { display: block; height: auto; }

/* ---- 拍立得内的头像图片(圆形裁剪) ---- */
.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 0% center;
  border-radius: 50%;
  display: block;
}

/* ---- 居中的大圆形主视觉头像 ---- */
.hero-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(47, 127, 224, .18) 0%, rgba(47, 127, 224, .08) 35%, rgba(47, 127, 224, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

.hero-orbit {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  border: 1.5px dashed rgba(47, 127, 224, .22);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: orbit-spin 50s linear infinite;
}
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-dot {
  position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--d)) translate(200px) rotate(calc(-1 * var(--d)));
  box-shadow: 0 0 12px rgba(47, 127, 224, .5);
}
.orbit-dot:nth-child(1) { background: #2f7fe0; }
.orbit-dot:nth-child(3) { background: #f0a93b; border-color: #f0a93b; box-shadow: 0 0 12px rgba(240, 169, 59, .5); }

.hero-avatar {
  position: absolute; left: 50%; top: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  z-index: 4;
  filter: drop-shadow(0 24px 40px rgba(90, 70, 40, .2));
  animation: float 4.5s ease-in-out infinite;
}
.avatar-ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf1ff, #fdeef4);
  border: 5px solid #fff;
  box-shadow:
    0 0 0 2px rgba(47, 127, 224, .35),
    0 0 32px rgba(47, 127, 224, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .3);
  position: relative;
}
.avatar-ring img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.hero-avatar .ground-shadow {
  width: 62%; height: 16px; margin: 8px auto 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 90, 140, .28), transparent);
  animation: shadowPulse 4.5s ease-in-out infinite;
}
@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: .85; }
  50% { transform: scaleX(0.86); opacity: .65; }
}

.main-chibi {
  position: absolute; left: 47%; bottom: 2%;
  width: 218px; transform: translateX(-46%); z-index: 4;
  filter: drop-shadow(0 18px 22px rgba(90, 70, 40, .18));
  animation: float 4.5s ease-in-out infinite;
}
.main-chibi .ground-shadow {
  width: 62%; height: 14px; margin: 6px auto 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 90, 140, .25), transparent);
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 12px)); }
}
.cloud { position: absolute; z-index: 1; }
.c1 { width: 92px; left: 30%; bottom: 6%; }
.c2 { width: 70px; right: 12%; top: 30%; }

.wax-seal {
  position: absolute; right: 6%; bottom: 2%;
  width: 64px; z-index: 5; transform: rotate(-8deg);
  filter: drop-shadow(0 4px 8px rgba(232, 183, 74, .4));
  animation: seal-spin 14s linear infinite;
}
@keyframes seal-spin { to { transform: rotate(352deg); } }

/* ---- 滚动提示 ---- */
.scroll-hint {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding-bottom: 26px; margin-top: -10px;
  color: var(--faint); font-size: 10px; letter-spacing: 4px; text-decoration: none;
}
.scroll-hint svg { animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ============ 蓝色跑马灯 ============ */
.marquee-wrap {
  position: relative; z-index: 20;
  height: 38px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 30%, var(--blue) 70%, var(--blue-deep));
  overflow: hidden; display: flex; align-items: center;
  box-shadow: 0 -4px 18px rgba(47, 127, 224, .3);
}
.marquee { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-half { display: flex; flex: none; }
.marquee-item {
  flex: none; padding: 0 34px;
  font-size: 12.5px; color: #fff; letter-spacing: 1.5px; white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ 区块通用 ============ */
.section {
  max-width: 1080px; width: 100%;
  margin: 0 auto; padding: 76px 40px 10px;
}
.sec-head { margin-bottom: 38px; }
.sec-title { display: flex; flex-direction: column; line-height: 1.15; }
.sec-solid { font-size: 34px; font-weight: 900; letter-spacing: 4px; color: var(--ink); }
.sec-outline {
  margin-top: 4px;
  font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: 5px;
  color: #fbfdff; -webkit-text-stroke: 1.6px var(--blue); paint-order: stroke fill;
}
.sec-desc { margin-top: 16px; max-width: 560px; font-size: 13.5px; line-height: 2; color: var(--muted); }

/* ============ 关于我卡片 ============ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 10px 28px rgba(70, 90, 130, .06);
  transition: transform .2s, box-shadow .2s;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(70, 90, 130, .12); }
.info-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.info-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 16px;
  background: color-mix(in srgb, var(--accent, var(--blue)) 13%, #fff);
}
.info-card-head h3 { font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.info-card > p { font-size: 13px; line-height: 1.9; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid #e6ecf7; color: var(--muted); letter-spacing: .5px;
  transition: border-color .2s, color .2s;
}
.tag:hover { border-color: var(--blue); color: var(--blue); }

/* ============ 链接墙 ============ */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.link-card,
.link-card-static {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; text-decoration: none; color: var(--ink);
  box-shadow: 0 8px 22px rgba(70, 90, 130, .05);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
button.link-card-static {
  width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
button.link-card-static .link-arrow::after {
  content: "↗";
}
.link-card:hover,
.link-card-static:hover {
  transform: translateY(-4px);
  border-color: #d6e3f7;
  box-shadow: 0 14px 30px rgba(70, 90, 130, .12);
}
.link-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eaf2fd; color: var(--blue);
  transition: background .2s, color .2s;
}
.link-icon svg { width: 20px; height: 20px; }
.link-icon img { width: 22px; height: 22px; display: block; object-fit: contain; transition: filter .2s; }
.link-card:hover .link-icon img { filter: brightness(0) invert(1); }
.link-icon-text { font-size: 19px; font-weight: 800; }
.link-card:hover .link-icon { background: var(--blue); color: #fff; }
.link-info { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.link-info b { font-size: 14.5px; font-weight: 700; }
.link-info small { color: var(--faint); font-size: 12.5px; }
.link-arrow {
  margin-left: auto; color: var(--faint); font-size: 17px;
  transition: transform .25s var(--ease), color .2s;
}
.link-card:hover .link-arrow { transform: translate(3px, -3px); color: var(--blue); }
button.link-card-static:hover .link-arrow { transform: translate(3px, -3px); color: var(--blue); }

/* ---------- 公众号二维码弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.modal:not([hidden]) { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(29, 37, 54, .58);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 360px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 22px;
  padding: 32px 28px 26px;
  box-shadow: 0 28px 70px rgba(29, 37, 54, .22);
  text-align: center;
  transform: translateY(12px) scale(.98);
  transition: transform .25s var(--ease);
}
.modal:not([hidden]) .modal-panel {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f3f7ff; border: 1px solid var(--line);
  color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.modal-title { font-size: 18px; font-weight: 700; letter-spacing: .5px; color: var(--ink); }
.modal-desc { margin-top: 8px; font-size: 13px; color: var(--muted); }
.modal-qrcode {
  width: 220px; height: auto; max-width: 100%;
  margin: 22px auto 0;
  display: block; border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(70, 90, 130, .08);
}
.modal-tip {
  margin-top: 16px; font-size: 12px; color: var(--faint);
}

/* ============ 项目作品 ============ */
.work-feature {
  display: grid; grid-template-columns: 320px 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 12px 32px rgba(70, 90, 130, .08);
  margin-bottom: 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.work-feature:hover {
  transform: translateY(-5px);
  border-color: #d6e3f7;
  box-shadow: 0 18px 42px rgba(70, 90, 130, .14);
}
.work-feature-visual {
  position: relative; overflow: hidden;
}
.wf-icon { width: 96px; height: 96px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18)); }
.wf-deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.wf-d1 { width: 120px; height: 120px; top: -34px; right: -34px; }
.wf-d2 { width: 70px; height: 70px; bottom: -20px; left: -18px; background: rgba(255, 255, 255, .14); }
.work-feature-body { padding: 30px 34px; display: flex; flex-direction: column; }
.work-flag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 2px; font-weight: 700;
  color: var(--blue); background: #eaf2fd;
  border: 1px solid rgba(47, 127, 224, .3);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.work-feature-body h3 { font-size: 23px; font-weight: 800; letter-spacing: 2px; }
.work-feature-body p { margin-top: 12px; max-width: 620px; font-size: 13.5px; line-height: 2; color: var(--muted); }
.work-feature-body .tag-cloud { margin-top: 18px; }
.work-link {
  margin-top: 18px; align-self: flex-start;
  font-size: 13.5px; font-weight: 700; color: var(--blue); letter-spacing: .5px;
  transition: transform .25s var(--ease);
}
.work-feature:hover .work-link { transform: translateX(4px); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.work-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 10px 26px rgba(70, 90, 130, .06);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: #d6e3f7;
  box-shadow: 0 18px 38px rgba(70, 90, 130, .13);
}
.work-thumb {
  position: relative; height: 132px; overflow: hidden;
}
.work-cover {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.work-card:hover .work-cover,
.work-feature:hover .work-cover { transform: scale(1.06); }
.work-body { position: relative; padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.work-body p { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--muted); flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.work-tags .tag { font-size: 11.5px; padding: 4px 11px; }
.work-arrow {
  position: absolute; top: 18px; right: 20px;
  color: var(--faint); font-size: 17px;
  transition: transform .25s var(--ease), color .2s;
}
.work-card:hover .work-arrow { transform: translate(3px, -3px); color: var(--blue); }

/* ============ 赞助商 ============ */
.sponsor-tier { margin-bottom: 28px; }
.tier-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.tier-diamond { color: #2f7fe0; background: #eaf2fd; border: 1px solid rgba(47, 127, 224, .32); }
.tier-gold { color: #b8860b; background: #fff7e6; border: 1px solid rgba(240, 169, 59, .4); }
.tier-silver { color: var(--muted); background: #eef2fa; border: 1px solid var(--line-strong); }

/* ---- 独家 / 钻石赞助商大卡 ---- */
.sponsor-diamond {
  display: flex; align-items: center; gap: 20px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 28px rgba(70, 90, 130, .06);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.sponsor-diamond:hover {
  transform: translateY(-4px); border-color: #d6e3f7;
  box-shadow: 0 16px 36px rgba(70, 90, 130, .12);
}
.sponsor-diamond .diamond-logo {
  width: 72px; height: 72px; border-radius: 18px; flex: none;
  display: block; object-fit: cover;
  box-shadow: 0 8px 18px rgba(47, 127, 224, .28);
}
.sponsor-diamond .sponsor-card-body { flex: 1; min-width: 0; }
.sponsor-diamond .sponsor-card-body b { font-size: 17px; font-weight: 700; }
.sponsor-diamond .sponsor-card-body small {
  display: block; margin-top: 5px;
  font-size: 13px; line-height: 1.75; color: var(--muted);
}
.diamond-link {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; color: var(--blue);
  padding: 8px 16px; border-radius: 999px;
  background: #f3f8ff; border: 1px solid rgba(47, 127, 224, .22);
  box-shadow: 2px 2px 0 rgba(29, 37, 54, .08);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.diamond-link:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(29, 37, 54, .14); background: #e7f1ff; }

.sponsor-logo {
  width: 96px; height: 96px; border-radius: 24px;
  display: block; flex: none;
  box-shadow: 0 10px 24px rgba(70, 90, 130, .18);
  object-fit: cover;
  background: linear-gradient(150deg, #eaf0fa, #dfe8f5);
}

.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.sponsor-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; text-decoration: none; color: var(--ink);
  box-shadow: 0 8px 22px rgba(70, 90, 130, .05);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.sponsor-card:hover {
  transform: translateY(-4px); border-color: #d6e3f7;
  box-shadow: 0 14px 30px rgba(70, 90, 130, .12);
}
.sponsor-card .sponsor-logo { width: 54px; height: 54px; border-radius: 15px; box-shadow: 0 6px 14px rgba(70, 90, 130, .14); }
.sponsor-card-body { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.sponsor-card-body b { font-size: 15px; font-weight: 700; }
.sponsor-card-body small { color: var(--faint); font-size: 12.5px; }

.supporter-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.supporter-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 9px; font-size: 13px; color: var(--muted);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(70, 90, 130, .04);
  transition: border-color .2s, color .2s, transform .18s;
}
.supporter-chip:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-3px); }
.supporter-chip .supporter-logo {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: block; object-fit: cover;
  box-shadow: 0 3px 8px rgba(70, 90, 130, .12);
}
.supporter-chip b { font-weight: 600; color: var(--ink); }

.sponsor-cta {
  margin-top: 8px; text-align: center;
  background: linear-gradient(150deg, #f3f7ff, #fff);
  border: 1px dashed rgba(47, 127, 224, .35); border-radius: 18px;
  padding: 32px 24px;
}
.sponsor-cta p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.sponsor-cta b { color: var(--ink); }

/* ============ 页脚 ============ */
.footer { margin-top: 90px; padding: 0 24px 32px; }
.footer-card {
  max-width: 1080px; margin: 0 auto;
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px 22px;
  box-shadow: 0 18px 44px rgba(70, 90, 130, .08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.footer-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(70, 90, 130, .12); }
.footer-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #2f7fe0 0%, #7aa8ff 50%, #cfe0ff 100%);
}
.footer-deco {
  position: absolute; border-radius: 50%;
  pointer-events: none;
  animation: float-deco 6s ease-in-out infinite;
}
.footer-deco:nth-child(3) { animation-delay: -2s; }
.footer-deco:nth-child(4) { animation-delay: -3.5s; }
.footer-deco:nth-child(5) { animation-delay: -1.2s; }
@keyframes float-deco { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.footer-main {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px;
}
.footer-copy b { color: var(--ink); font-weight: 700; letter-spacing: .3px; }

.footer-meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e3eaf5; text-align: center; }
.footer-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .3px;
  transition: border-color .2s, color .2s, transform .2s;
}
.footer-pill:hover { border-color: #cfe0ff; color: var(--blue); transform: translateY(-1px); }
.footer-pill b { color: #2f7fe0; font-weight: 700; margin: 0 1px; }

/* ============ 滚动显现 ============ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
/* ---- 平板 / 小桌面:hero 堆叠、导航收起 ---- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 20px 32px 0;
    gap: 8px; min-height: auto;
  }
  .title-outline { white-space: normal; }
  .illustration { height: 520px; }
  .nav-links { display: none; }
  .nav-dot { display: none; }
  .scroll-hint { display: none; }
  .section { padding: 56px 26px 10px; }
  .work-feature { grid-template-columns: 1fr; }
  .work-feature-visual { height: 180px; }
  .work-feature-body { padding: 26px 24px; }
}

/* ---- 大手机 / 小型平板 ---- */
@media (max-width: 680px) {
  /* 导航栏 */
  .navbar { padding: 0 14px; top: 10px; }
  .navbar-pill { padding: 6px 6px 6px 14px; gap: 10px; }
  .brand-sub { display: none; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
  .brand-name { font-size: 13.5px; }
  .btn-dark { padding: 8px 14px; font-size: 12px; }

  /* Hero */
  .hero { padding: 22px 18px 0; gap: 18px; }
  .hero-title { line-height: 1.04; }
  .title-solid { font-size: 40px; letter-spacing: 3px; }
  .title-outline { font-size: 27px; letter-spacing: 2px; margin-top: 10px; }
  .hero-btns { gap: 12px; margin-top: 26px; }
  .hero-meta { font-size: 11.5px; flex-wrap: wrap; gap: 6px; }
  .illustration { height: 430px; }
  .hero-avatar { width: 240px; height: 240px; }
  .hero-glow { width: 400px; height: 400px; }
  .hero-orbit { width: 320px; height: 320px; }
  .orbit-dot { transform: translate(-50%, -50%) rotate(var(--d)) translate(160px) rotate(calc(-1 * var(--d))); }
  .deco { opacity: .8; }
  .c1 { width: 70px; } .c2 { width: 54px; }

  /* 区块通用 */
  .section { padding: 54px 18px 10px; }
  .sec-head { margin-bottom: 28px; }
  .sec-solid { font-size: 26px; letter-spacing: 2px; }
  .sec-outline { font-size: 19px; letter-spacing: 3px; }
  .sec-desc { font-size: 13px; margin-top: 12px; }

  /* 卡片网格 → 单列 */
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .info-card { padding: 20px; }
  .link-grid { grid-template-columns: 1fr; gap: 14px; }
  .link-card, .link-card-static { padding: 14px 16px; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card { border-radius: 14px; }
  .work-thumb { height: 120px; }
  .work-body { padding: 18px; }
  .work-feature-body { padding: 22px 18px; }
  .work-feature-body h3 { font-size: 20px; }

  /* 赞助商 */
  .sponsor-diamond { flex-direction: column; text-align: center; gap: 14px; padding: 22px 18px; }
  .sponsor-diamond .diamond-logo { width: 68px; height: 68px; font-size: 24px; }
  .sponsor-diamond .sponsor-card-body b { font-size: 16px; }
  .sponsor-diamond .sponsor-card-body small { margin-top: 4px; }
  .diamond-link { align-self: center; }
  .sponsor-grid { grid-template-columns: 1fr; gap: 14px; }
  .sponsor-card { padding: 16px; }
  .supporter-chip { font-size: 12.5px; padding: 7px 13px 7px 8px; gap: 8px; }
  .supporter-chip .supporter-logo { width: 24px; height: 24px; }
  .sponsor-cta { padding: 26px 18px; }
  .sponsor-cta p { font-size: 14px; }

  /* 页脚 */
  .footer { padding: 0 16px 24px; }
  .footer-card { padding: 22px 18px 18px; border-radius: 18px; }
  .footer-main { gap: 12px; font-size: 12.5px; }

  /* 移动端隐藏未使用的装饰骨架(仅 CSS 残留,HTML 未渲染) */
  .p1, .p2, .p3, .main-chibi, .wax-seal { display: none; }
}

/* ---- 手机(≤480px 含 360/390/400 等) ---- */
@media (max-width: 480px) {
  .navbar { padding: 0 10px; top: 8px; }
  .navbar-pill { padding: 5px 5px 5px 12px; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; font-size: 13px; border-radius: 7px; }
  .brand-name { font-size: 13px; }
  .btn-dark { padding: 7px 12px; font-size: 11.5px; }
  .hero { padding: 18px 14px 0; }
  .title-solid { font-size: 34px; letter-spacing: 2px; }
  .title-outline { font-size: 22px; letter-spacing: 1px; }
  .illustration { height: 380px; }
  .hero-avatar { width: 200px; height: 200px; }
  .hero-glow { width: 320px; height: 320px; }
  .hero-orbit { width: 260px; height: 260px; }
  .orbit-dot { transform: translate(-50%, -50%) rotate(var(--d)) translate(130px) rotate(calc(-1 * var(--d))); width: 6px; height: 6px; }
  .section { padding: 48px 14px 10px; }
  .sec-solid { font-size: 23px; }
  .sec-outline { font-size: 17px; }
  .hero-badge { margin-bottom: 18px; }
  .hero-badge .badge-name { font-size: 12px; letter-spacing: 2px; }
}

/* ============ 降低动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
