    /* ============================================================
       CSS 变量 & 全局重置
       ============================================================ */
    :root {
      --bg: #f2f4f8;
      --text: #1e252b;
      --text-light: #4a5563;
      --text-lighter: #8895a0;
      --border: #dce1e6;
      --border-light: #e5e9ef;
      --red: #b83b3b;
      --red-light: #d45c5c;
      --red-pale: #e88484;
      --white: #fff;
      --frosted: rgba(255, 255, 255, 0.6);
      --frosted-heavy: rgba(255, 255, 255, 0.85);
      --serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
      --sans: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --max-width: 1100px;
      --section-padding: 100px 24px;
      --mobile-section-padding: 80px 20px;
    }

    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    /* ============================================================
       无障碍：跳到主内容（屏幕阅读器 / 键盘导航）
       ============================================================ */
    .skip-link {
      position: fixed;
      top: -100px;
      left: 16px;
      z-index: 2000;
      padding: 10px 20px;
      background: var(--red);
      color: var(--white);
      border-radius: 4px;
      font-size: 0.9rem;
      text-decoration: none;
      transition: top 0.3s ease;
    }
    .skip-link:focus {
      top: 16px;
    }

    /* 键盘导航焦点样式 */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
      outline: 2px solid var(--red-light);
      outline-offset: 3px;
      border-radius: 2px;
    }
    input:focus-visible,
    textarea:focus-visible {
      outline-offset: 0;
      border-bottom-color: var(--red);
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 70px;
    }

    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--text);
      line-height: 1.8;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      position: relative;
    }

    /* ============================================================
       全屏 Canvas 粒子层（雪花 + 梅花瓣）
       ============================================================ */
    #particleCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
    }

    /* 所有内容区块置于 Canvas 之上 */
    .navbar, .section, .hero, .footer {
      position: relative;
      z-index: 1;
    }

    /* ============================================================
       装饰线（梅红细线，用于标题下方）
       ============================================================ */
    .decorative-line {
      display: block;
      width: 40px;
      height: 2px;
      background: var(--red-light);
      margin: 12px auto 0;
      border-radius: 1px;
    }

    /* ============================================================
       导航栏
       ============================================================ */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background 0.4s ease, box-shadow 0.4s ease;
    }

    .navbar.scrolled {
      background: var(--frosted);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
    }

    .nav-logo {
      font-family: var(--serif);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text);
      text-decoration: none;
      letter-spacing: 3px;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 36px;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text);
      font-size: 0.95rem;
      position: relative;
      padding-bottom: 4px;
      transition: color 0.3s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--red-light);
      border-radius: 1px;
      transition: width 0.3s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--red);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    /* 汉堡菜单按钮 */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      z-index: 1001;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* ============================================================
       区块通用样式
       ============================================================ */
    .section {
      padding: var(--section-padding);
    }

    .section-divider {
      border: none;
      border-top: 1px solid var(--border-light);
      margin: 0;
    }

    .section-title {
      font-family: var(--serif);
      font-size: 2rem;
      font-weight: 600;
      text-align: center;
      color: var(--text);
      margin-bottom: 8px;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-light);
      font-size: 0.95rem;
      margin-bottom: 48px;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
    }

    /* ============================================================
       1. Hero 首页
       ============================================================ */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 24px;
    }

    .hero-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero h1 {
      font-family: var(--serif);
      font-size: 5.5rem;
      font-weight: 900;
      color: var(--text);
      letter-spacing: 10px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .hero p {
      font-size: 1.2rem;
      color: var(--text-light);
      letter-spacing: 4px;
      animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    }

    @keyframes heroFadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* 滚动指示器 */
    .scroll-hint {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      color: var(--text-lighter);
      font-size: 1.6rem;
      animation: scrollBounce 1.8s ease-in-out infinite;
      pointer-events: none;
      opacity: 0.65;
      transition: opacity 0.4s ease;
    }
    .scroll-hint.hidden {
      opacity: 0;
    }

    @keyframes scrollBounce {
      0%, 100% { transform: translate(-50%, 0); }
      50%      { transform: translate(-50%, 14px); }
    }

    .hero .decorative-line {
      margin: 20px auto 0;
    }

    /* 纯 CSS 梅花图标（内联 SVG 容器） */
    .plum-blossom-icon {
      display: inline-block;
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }

    /* ============================================================
       滚动入场渐显动画
       ============================================================ */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: opacity, transform;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ============================================================
       滚动入场 — 分层渐显（标题先行，卡片/条目依次跟进）
       ============================================================ */
    .reveal-stagger .section-title,
    .reveal-stagger .section-subtitle,
    .reveal-stagger .decorative-line {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-stagger.visible .section-title,
    .reveal-stagger.visible .decorative-line {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-stagger.visible .section-subtitle {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.1s;
    }

    .reveal-stagger .project-card,
    .reveal-stagger .blog-item {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: opacity, transform;
    }
    .reveal-stagger.visible .project-card,
    .reveal-stagger.visible .blog-item {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-stagger.visible .project-card:nth-child(1),
    .reveal-stagger.visible .blog-item:nth-child(1) {
      transition-delay: 0.2s;
    }
    .reveal-stagger.visible .project-card:nth-child(2),
    .reveal-stagger.visible .blog-item:nth-child(2) {
      transition-delay: 0.35s;
    }
    .reveal-stagger.visible .project-card:nth-child(3),
    .reveal-stagger.visible .blog-item:nth-child(3) {
      transition-delay: 0.5s;
    }

    /* 尊重用户的动效偏好 */
    @media (prefers-reduced-motion: reduce) {
      .reveal, .reveal-stagger .section-title, .reveal-stagger .section-subtitle,
      .reveal-stagger .decorative-line, .reveal-stagger .project-card,
      .reveal-stagger .blog-item {
        opacity: 1;
        transform: none;
        transition: none;
      }
      .hero-inner, .hero p, .scroll-hint {
        animation: none !important;
      }
    }

    /* ============================================================
       2. 关于我
       ============================================================ */
    .about-content {
      display: flex;
      align-items: flex-start;
      gap: 60px;
      flex-wrap: wrap;
    }

    .about-avatar {
      flex-shrink: 0;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: linear-gradient(135deg, #d5dbe3 0%, #bcc4cc 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #8a94a0;
      overflow: hidden;
    }

    .about-avatar svg {
      width: 64px;
      height: 64px;
    }

    .about-text {
      flex: 1;
      min-width: 280px;
    }

    .about-text p {
      color: var(--text-light);
      font-size: 0.95rem;
      margin-bottom: 20px;
    }

    /* 技能标签 — 水墨风格 */
    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .skill-tag {
      display: inline-block;
      padding: 6px 20px;
      border: 1px solid #c0c8d2;
      border-radius: 20px;
      font-size: 0.85rem;
      color: var(--text-light);
      background: transparent;
      transition: border-color 0.3s, color 0.3s, background 0.3s;
    }

    .skill-tag:hover {
      border-color: var(--red);
      color: var(--red);
      background: rgba(184, 59, 59, 0.04);
    }

    /* ============================================================
       3. 项目作品 — 磨砂玻璃卡片
       ============================================================ */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .project-card {
      background: var(--frosted);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 0;
      overflow: hidden;
      transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      border-color: var(--red-pale);
    }

    /* 项目预览图 */
    .project-thumb {
      width: 100%;
      height: 180px;
      overflow: hidden;
      background: var(--border-light);
      position: relative;
    }
    .project-thumb picture {
      display: block;
      width: 100%;
      height: 100%;
    }
    .project-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .project-card:hover .project-thumb img {
      transform: scale(1.08);
    }

    /* 彩蛋卡片：神秘渐变背景 */
    .project-thumb-mystery {
      background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 50%, #1e252b 100%);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .mystery-icon {
      font-family: var(--serif);
      font-size: 4.5rem;
      font-weight: 900;
      color: rgba(212, 92, 92, 0.55);
      letter-spacing: 4px;
      animation: mysteryPulse 3s ease-in-out infinite;
    }
    @keyframes mysteryPulse {
      0%, 100% { opacity: 0.4; transform: scale(1); }
      50%      { opacity: 0.75; transform: scale(1.08); }
    }

    /* 卡片内容区 */
    .project-card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .project-card h3 {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--text);
    }

    .project-card p {
      font-size: 0.9rem;
      color: var(--text-light);
      flex: 1;
      margin-bottom: 20px;
    }

    .btn-detail {
      display: inline-block;
      align-self: flex-start;
      padding: 8px 24px;
      border: 1px solid var(--red);
      border-radius: 4px;
      color: var(--red);
      text-decoration: none;
      font-size: 0.85rem;
      transition: background 0.3s, color 0.3s;
    }

    .btn-detail:hover {
      background: var(--red);
      color: var(--white);
    }

    /* ============================================================
       4. 博客 — 左侧梅枝竖线装饰
       ============================================================ */
    .blog-list {
      max-width: 700px;
      margin: 0 auto;
      list-style: none;
    }

    .blog-item {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 24px 0 24px 24px;
      border-bottom: 1px solid var(--border-light);
      gap: 20px;
    }

    .blog-item:last-child {
      border-bottom: none;
    }

    /* 左侧红色竖条 — 梅枝意象 */
    .blog-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 30px;
      bottom: 30px;
      width: 3px;
      background: var(--red-light);
      border-radius: 2px;
      opacity: 0.6;
      transition: opacity 0.3s, transform 0.3s;
    }

    .blog-item:hover::before {
      opacity: 1;
      transform: scaleY(1.08);
    }

    .blog-item-main {
      flex: 1;
      min-width: 0;
    }

    .blog-title {
      text-decoration: none;
      color: var(--text);
      font-size: 1.1rem;
      font-family: var(--serif);
      font-weight: 600;
      transition: color 0.3s;
      display: block;
      margin-bottom: 6px;
    }

    .blog-title:hover {
      color: var(--red);
    }

    .blog-excerpt {
      color: var(--text-light);
      font-size: 0.88rem;
      line-height: 1.6;
      margin-bottom: 10px;
    }

    .blog-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .blog-tag {
      display: inline-block;
      padding: 2px 10px;
      border: 1px solid var(--border);
      border-radius: 12px;
      font-size: 0.72rem;
      color: var(--text-lighter);
      background: transparent;
      letter-spacing: 0.3px;
    }

    .blog-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
      flex-shrink: 0;
      padding-top: 2px;
    }

    .blog-date {
      color: var(--text-lighter);
      font-size: 0.82rem;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }

    .blog-badge {
      display: inline-block;
      padding: 2px 10px;
      border: 1px solid var(--red-light);
      border-radius: 12px;
      font-size: 0.68rem;
      color: var(--red);
      background: rgba(184, 59, 59, 0.05);
      white-space: nowrap;
      letter-spacing: 1px;
    }

    /* ============================================================
       5. 联系 / 留言 — 下划线输入框
       ============================================================ */
    .contact-form {
      max-width: 560px;
      margin: 0 auto;
    }

    .form-group {
      margin-bottom: 28px;
    }

    .form-group label {
      display: block;
      font-size: 0.9rem;
      color: var(--text-light);
      margin-bottom: 8px;
      font-family: var(--serif);
    }

    /* 下划线风格：仅底部描边 */
    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 10px 4px;
      border: none;
      border-bottom: 1px solid #c0c8d2;
      border-radius: 0;
      font-size: 0.95rem;
      font-family: var(--sans);
      color: var(--text);
      background: transparent;
      transition: border-color 0.3s;
      outline: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-bottom-color: var(--red-light);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 100px;
    }

    .btn-submit {
      display: block;
      width: 100%;
      padding: 14px 0;
      background: var(--text);
      color: var(--white);
      border: none;
      border-radius: 6px;
      font-size: 1rem;
      font-family: var(--serif);
      cursor: pointer;
      transition: background 0.3s, transform 0.2s;
    }

    .btn-submit:hover {
      background: var(--red);
      transform: translateY(-1px);
    }

    /* 社交媒体链接 */
    .social-links {
      display: flex;
      justify-content: center;
      gap: 36px;
      margin-top: 40px;
    }

    .social-links a {
      text-decoration: none;
      color: var(--text-lighter);
      font-size: 0.9rem;
      transition: color 0.3s;
    }

    .social-links a:hover {
      color: var(--red);
    }

    /* ============================================================
       页脚
       ============================================================ */
    .footer {
      text-align: center;
      padding: 36px 24px;
      color: var(--text-lighter);
      font-size: 0.85rem;
      border-top: 1px solid var(--border-light);
    }

    /* ============================================================
       响应式：移动端 (< 768px)
       ============================================================ */
    @media (max-width: 768px) {
      .section {
        padding: var(--mobile-section-padding);
      }

      .hero h1 {
        font-size: 3rem;
        letter-spacing: 6px;
        flex-direction: column;
        gap: 12px;
      }

      .hero p {
        font-size: 0.95rem;
        letter-spacing: 2px;
      }

      .plum-blossom-icon {
        width: 26px;
        height: 26px;
      }

      /* 导航折叠 */
      .hamburger {
        display: flex;
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        background: var(--frosted-heavy);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 80px 36px 0;
        gap: 28px;
        transition: right 0.35s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
      }

      .nav-links.open {
        right: 0;
      }

      .nav-links a {
        font-size: 1.1rem;
      }

      /* 关于我 */
      .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
      }

      .about-text {
        min-width: unset;
      }

      .skill-tags {
        justify-content: center;
      }

      /* 项目卡片 */
      .projects-grid {
        grid-template-columns: 1fr;
      }

      /* 博客 */
      .blog-item {
        flex-direction: column;
        gap: 10px;
      }
      .blog-meta {
        flex-direction: row;
        align-items: center;
        gap: 12px;
      }

      /* 社交链接 */
      .social-links {
        gap: 24px;
      }
    }
