/* 离线字体方案 - 优先使用系统内置的中文字体 */

/* 优先级字体列表 */
:root {
  --font-family-sans: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", "SimHei", "黑体", "Arial", sans-serif;
}

/* 如果用户电脑有安装 Noto Sans SC 字体，优先使用 */
@font-face {
  font-family: 'Noto Sans SC Local';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Noto Sans SC Light'), local('NotoSansSC-Light');
}

@font-face {
  font-family: 'Noto Sans SC Local';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Noto Sans SC'), local('NotoSansSC-Regular');
}

@font-face {
  font-family: 'Noto Sans SC Local';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Noto Sans SC Medium'), local('NotoSansSC-Medium');
}

@font-face {
  font-family: 'Noto Sans SC Local';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Noto Sans SC Bold'), local('NotoSansSC-Bold');
}

/* 主要字体设置 */
body {
  font-family: var(--font-family-sans);
}

/* 针对不同字重的特殊处理 */
.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.footer-bottom a{
    color:rgb(94, 114, 228);
    text-decoration: none;
}

/* 兼容性：确保在不同系统上都有良好的字体显示 */
@supports not (font-family: 'Noto Sans SC Local') {
  body {
    font-family: var(--font-family-sans);
  }
}