/* Google Fonts - 优雅大气字体组合 */

/* Playfair Display - 优雅的衬线字体，适合高端品牌展示 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&display=swap');

/* Noto Sans SC - 思源黑体，支持中文显示 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&display=swap');

/* Roboto Slab - 现代感强的衬线字体，作为备选 */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700;900&display=swap');

/* 备用方案：使用系统字体栈 */
.system-font {
    font-family: 
        -apple-system, 
        BlinkMacSystemFont, 
        "Segoe UI", 
        "PingFang SC", 
        "Hiragino Sans GB", 
        "Microsoft YaHei", 
        "微软雅黑", 
        "Georgia", 
        "Times New Roman", 
        serif, 
        "Apple Color Emoji", 
        "Segoe UI Emoji", 
        "Segoe UI Symbol" !important;
}

/* 品牌名称专用字体 - 优雅衬线字体 */
.brand-font {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', serif !important;
    font-weight: 900; /* 超粗体，增强品牌感 */
    font-style: normal;
}

/* 内容文字专用字体 - 现代无衬线字体 */
.content-font {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
    font-weight: 400;
}

/* 备用衬线字体组合 */
.fallback-serif-font {
    font-family: 'Roboto Slab', 'Georgia', 'Times New Roman', serif !important;
}

/* 确保中文字符正确显示 */
.chinese-text {
    font-feature-settings: "palt" 1; /* 紧密排印 */
    text-rendering: optimizeLegibility; /* 优化文字渲染 */
    -webkit-font-smoothing: antialiased; /* 字体平滑 */
    -moz-osx-font-smoothing: grayscale;
}

/* 防止字体加载失败时的回退 */
@font-face {
    font-family: 'Fallback Serif';
    src: local('Georgia'), local('Times New Roman'), local('PingFang SC'), local('Microsoft YaHei');
    font-display: swap; /* 快速显示回退字体 */
}

/* 字体加载动画 */
@keyframes fontLoad {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fonts-loaded .brand-font {
    animation: fontLoad 0.5s ease-in-out;
}

/* 增强字体视觉效果 */
.brand-enhanced {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: inherit;
    line-height: 1.2;
}