/* Favicon Pro - 本地化样式文件 */

/* ===== 1. 字体定义 (替代 Google Fonts Inter) ===== */
@font-face {
    font-family: 'Inter';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
}
@font-face {
    font-family: 'Inter';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
}
@font-face {
    font-family: 'Inter';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
}
@font-face {
    font-family: 'Inter';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
}
@font-face {
    font-family: 'Inter';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== 2. 玻璃拟态卡片 ===== */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.dark .glass-panel {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ===== 3. 透明棋盘格背景 ===== */
.checkerboard {
    background-color: #ffffff;
    background-image: 
        linear-gradient(45deg, #f1f5f9 25%, transparent 25%), 
        linear-gradient(-45deg, #f1f5f9 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #f1f5f9 75%), 
        linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.dark .checkerboard {
    background-color: #18181b;
    background-image: 
        linear-gradient(45deg, #27272a 25%, transparent 25%), 
        linear-gradient(-45deg, #27272a 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #27272a 75%), 
        linear-gradient(-45deg, transparent 75%, #27272a 75%);
}

/* ===== 4. Font Awesome 图标替代 (使用 Unicode 字符和 CSS) ===== */
.fa, .fas {
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* 常用图标映射 */
.fa-shapes::before { content: '◆'; }
.fa-sun::before { content: '☀'; }
.fa-moon::before { content: '☾'; }
.fa-book::before { content: '📖'; }
.fa-search::before { content: '🔍'; }
.fa-arrow-right::before { content: '→'; }
.fa-satellite-dish::before { content: '📡'; }
.fa-exclamation-triangle::before { content: '⚠'; }
.fa-times::before { content: '×'; font-weight: 300; font-size: 1.2em; }
.fa-cloud-download-alt::before { content: '↓'; font-weight: bold; }
.fa-link::before { content: '🔗'; }
.fa-code::before { content: '<>'; font-family: monospace; font-size: 0.85em; }
.fa-download::before { content: '⬇'; }
.fa-check-circle::before { content: '✓'; }
.fa-times-circle::before { content: '✕'; }
.fa-trash-alt::before { content: '🗑'; }
.fa-arrow-left::before { content: '←'; }
.fa-image::before { content: '🖼'; }

/* 图标大小调整 */
.text-xs .fa::before, .text-xs .fas::before { font-size: 0.75rem; }
.text-sm .fa::before, .text-sm .fas::before { font-size: 0.875rem; }
.text-xl .fa::before, .text-xl .fas::before { font-size: 1.25rem; }
.text-2xl .fa::before, .text-2xl .fas::before { font-size: 1.5rem; }
.text-3xl .fa::before, .text-3xl .fas::before { font-size: 1.875rem; }
