/* ==================== 本地字体声明 ==================== */
/* 
 * 字体来源: https://fonts.google.com/specimen/Noto+Sans+SC
 * 下载字体文件后放置于 fonts/ 目录
 * 建议下载 woff2 格式以获得更好的压缩率
 */

/* 思源黑体 / Noto Sans SC - 300(ExtraLight), 400(Regular), 500(Medium), 700(Bold) */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 300;
    src: local('Noto Sans SC ExtraLight'),
         local('NotoSansSC-ExtraLight'),
         url('fonts/NotoSansSC-ExtraLight.woff2') format('woff2'),
         url('fonts/NotoSansSC-ExtraLight.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    src: local('Noto Sans SC Regular'),
         local('NotoSansSC-Regular'),
         url('fonts/NotoSansSC-Regular.woff2') format('woff2'),
         url('fonts/NotoSansSC-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 500;
    src: local('Noto Sans SC Medium'),
         local('NotoSansSC-Medium'),
         url('fonts/NotoSansSC-Medium.woff2') format('woff2'),
         url('fonts/NotoSansSC-Medium.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 700;
    src: local('Noto Sans SC Bold'),
         local('NotoSansSC-Bold'),
         url('fonts/NotoSansSC-Bold.woff2') format('woff2'),
         url('fonts/NotoSansSC-Bold.woff') format('woff');
    font-display: swap;
}

/* 思源宋体 / Noto Serif SC - 400(Regular), 600(SemiBold), 700(Bold) */
@font-face {
    font-family: 'Noto Serif SC';
    font-style: normal;
    font-weight: 400;
    src: local('Noto Serif SC Regular'),
         local('NotoSerifSC-Regular'),
         url('fonts/NotoSerifSC-Regular.woff2') format('woff2'),
         url('fonts/NotoSerifSC-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif SC';
    font-style: normal;
    font-weight: 600;
    src: local('Noto Serif SC SemiBold'),
         local('NotoSerifSC-SemiBold'),
         url('fonts/NotoSerifSC-SemiBold.woff2') format('woff2'),
         url('fonts/NotoSerifSC-SemiBold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif SC';
    font-style: normal;
    font-weight: 700;
    src: local('Noto Serif SC Bold'),
         local('NotoSerifSC-Bold'),
         url('fonts/NotoSerifSC-Bold.woff2') format('woff2'),
         url('fonts/NotoSerifSC-Bold.woff') format('woff');
    font-display: swap;
}

/* 备用中文字体栈 */
@font-face {
    font-family: 'ChineseFont';
    src: local('PingFang SC'),
         local('Microsoft YaHei'),
         local('SimHei'),
         local('STHeiti');
    font-weight: 400;
}

@font-face {
    font-family: 'ChineseFont';
    src: local('PingFang SC'),
         local('Microsoft YaHei'),
         local('SimHei'),
         local('STHeiti');
    font-weight: 700;
}

/* ==================== 使用说明 ==================== */
/* 
 * 1. 从 Google Fonts 下载字体文件: https://fonts.google.com/specimen/Noto+Sans+SC
 * 2. 解压后将 .woff2 文件放入 fonts/ 目录
 * 3. 文件命名规范: NotoSansSC-{Weight}.woff2, NotoSerifSC-{Weight}.woff2
 * 4. Windows 用户可使用系统预装的思源黑体，无需下载
 * 
 * 可选: 使用 npm 包 @fontsource/noto-sans-sc 和 @fontsource/noto-serif-sc
 *       npm install @fontsource/noto-sans-sc @fontsource/noto-serif-sc
 */
