﻿
/* ========== 网站背景图片修复 ========== */
/* 确保背景图片正确显示 */
html {
    height: 100%;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../img/background.png') repeat !important; /* 改为平铺模式 */
    background-size: auto !important; /* 取消cover，使用原始尺寸平铺 */
    color: #f0e6d2;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

/* 背景遮罩层 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* 主要内容区域背景 */
.main-content {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* 各个内容区块背景 */
.section {
    background: transparent;
}

/* 确保背景图片在所有内容后面 */
.header,
.footer,
.main-content > * {
    position: relative;
    z-index: 2;
}


/* ========== 修复导航栏和页面显示问题 ========== */

/* 确保导航栏在最上层 */
.header {
    position: sticky;
    top: 0;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 3px solid #D4AF37;
}

/* 确保主内容区域在导航栏下方 */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: 20px; /* 添加顶部内边距，避免内容被导航栏遮挡 */
}

/* 确保所有区域正确显示 */
.section {
    display: none;
    position: relative;
    z-index: 1;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* 修复导航链接样式 */
.nav a {
    position: relative;
    z-index: 1001;
}

/* 确保页面内容不会被导航栏遮挡 */
body {
    padding-top: 0;
}

/* 修复滚动时导航栏背景 */
.header.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

/* 添加导航栏高度补偿 */
@media (min-width: 768px) {
    .main-content {
        padding-top: 10px;
    }
}

/* ========== 滚动性能优化 ========== */

/* 启用GPU加速 */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 优化固定定位元素 */
.header {
    will-change: transform;
    transform: translateZ(0);
}

/* 优化图片容器 */
.image-container {
    position: relative;
    width: 100%;
    height: auto;  /* 改为自适应高度 */
    min-height: 150px;  /* 添加最小高度 */
    max-height: 300px;  /* 添加最大高度 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 20, 15, 0.9), rgba(60, 40, 30, 0.7));
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding: 10px;
}

/* 优化卡片悬停效果 */
.image-item, .small-card, .card {
    will-change: transform, box-shadow;
    transform: translate3d(0, 0, 0);
}

/* 优化滚动性能 - 减少重绘 */
.image-container img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 优化过渡动画性能 */
.image-item,
.nav a,
.small-card,
.card,
.back-to-top {
    transition-property: transform, box-shadow, border-color, background;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 优化图片缩放过渡 */
.image-container img {
    transition-property: transform;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 减少阴影复杂度以提高性能 */
.image-item {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.image-item:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.card {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.card:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* 优化Logo动画 */
.logo img {
    animation: pulse 3s infinite; /* 延长动画间隔 */
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) translate3d(0, 0, 0);
    }
    50% { 
        transform: scale(1.03) translate3d(0, 0, 0); /* 减小缩放幅度 */
    }
}

/* 优化页面加载动画 */
.section {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translate3d(0, 15px, 0);
    }
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0);
    }
}

/* 优化滚动条 */
::-webkit-scrollbar {
    width: 8px; /* 减小宽度 */
}

::-webkit-scrollbar-track {
    background: rgba(40, 30, 25, 0.6);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #D4AF37, #8B0000);
    border-radius: 4px;
}

/* 优化图片加载 */
.image-container img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 减少不必要的重绘 */
.image-overlay {
    will-change: opacity;
}
/* 价格样式 - 所有内容红色，紧凑间距 */
.item-price {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #ff0000 !important;
    margin: 0 !important;
    padding: 0 15px !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* 确保价格部分所有元素都是红色 */
.item-price,
.item-price *,
.item-price i,
.item-price span {
    color: #ff0000 !important;
}

/* 描述样式 - 紧凑间距 */
.item-description {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 0.95rem;
    color: #e0d6c2;
    margin: 0 !important;
    padding: 0 15px 8px !important;
    line-height: 1.2;
}/* 价格部分所有内容都设为红色 */
.item-price,
.item-price *,
.item-price i,
.item-price span {
    color: #ff0000 !important;
}

/* 紧凑间距设置 */


.item-description {
    margin: 0 !important;
    padding: 0 15px 8px !important;
}/* 货币图标样式 */
.item-price .fas.fa-coins {
    color: #ff0000 !important;
}

/* 价格数字样式 */
.item-price .price-number {
    color: #ff0000;
}
/* 基础重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../img/background.png') repeat;
    color: #f0e6d2;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏样式 */
.header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 3px solid #D4AF37;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* backdrop-filter: blur(8px); */ /* 已禁用以提高性能 */
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 322px;
    height: 64px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.slogan {
    font-size: 1.1rem;
    color: #D4AF37;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 导航菜单样式 */
.nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f0e6d2;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    background: rgba(93, 64, 55, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav a:hover {
    background: linear-gradient(45deg, #8B0000, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    border-color: #D4AF37;
}

.nav a.active {
    background: linear-gradient(45deg, #D4AF37, #8B0000);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* 主内容区域样式 */
.main-content {
    padding: 40px 0;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 所有标题字体改为网页常用字体 */
.section-title {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.8rem;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

/* 卡片网格布局 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* 图片网格布局 - 每行4个展示框 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 20px;
}

/* 图片展示项样式 */
.image-item {
    background: rgba(40, 30, 25, 0.85);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    color: #f0e6d2;
    display: flex;
    flex-direction: column;
    /* backdrop-filter: blur(5px); */ /* 已禁用以提高性能 */
}

.image-item:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover .image-container img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: #FFD700;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* 项目标题样式 - 使用网页常用字体 */
.image-item h3,
.image-item h4,
.image-item .item-title {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin: 1px 0 0px;
    padding: 0 15px;
    line-height: 1.4;
}

.image-item h3,
.image-item .item-title {
    font-size: 1.3rem;
    color: #FFD700;
    font-weight: 700;
}

.image-item h4 {
    font-size: 1.3rem;
    color: #FFD700;
    font-weight: 700;
}

.image-item p {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 15px 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0d6c2;
    text-align: center;
    flex-grow: 1;
    margin: 0;
}

/* 价格样式 */


/* 描述样式 */
.item-description {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 0.95rem;
    color: #e0d6c2;
    margin: 0;
    padding: 0 15px 8px;
    line-height: 1.2;
}

/* 小网格布局 - 定做脚本部分 */
.small-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.small-card {
    background: rgba(40, 30, 25, 0.85);
    border-radius: 12px;
    border: 2px solid #8B0000;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* backdrop-filter: blur(5px); */ /* 已禁用以提高性能 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.small-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.small-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8B0000, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.small-card-icon i {
    color: white;
    font-size: 1.8rem;
}

.small-card h4 {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

.small-card p {
    color: #e0d6c2;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.small-tag {
    display: inline-block;
    background: linear-gradient(45deg, #D4AF37, #8B0000);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 卡片样式 */
.card {
    background: rgba(40, 30, 25, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    /* backdrop-filter: blur(5px); */ /* 已禁用以提高性能 */
}

.card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.card-content p {
    color: #e0d6c2;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 标签样式 */
.card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(45deg, #8B0000, #D4AF37);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.3);
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 底部样式 */
.footer {
    background: rgba(0, 0, 0, 0.85);
    border-top: 3px solid #D4AF37;
    padding: 50px 0 20px;
    margin-top: 60px;
    /* backdrop-filter: blur(5px); */ /* 已禁用以提高性能 */
}

.footer-logo {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 322px;
    height: 64px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.9));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-section p, .footer-section li {
    color: #e0d6c2;
    margin-bottom: 10px;
    line-height: 1.7;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    position: relative;
    padding-left: 20px;
}

.footer-section li::before {
    content: '?';
    color: #D4AF37;
    position: absolute;
    left: 0;
}

.footer-section i {
    color: #D4AF37;
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: #b8a88c;
    font-size: 0.9rem;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #D4AF37, #8B0000);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}














/* ========== 底部导航栏高度减少30% ========== */
.footer {
    padding: 35px 0 15px !important; /* 原50px 0 20px，减少约30% */
    margin-top: 40px !important; /* 原60px，减少约30% */
}

.footer-content {
    margin-bottom: 30px !important; /* 原40px，减少25% */
}

.footer-section {
    margin-bottom: 15px;
}

.footer-section h4 {
    margin-bottom: 15px !important; /* 原20px，减少25% */
    padding-bottom: 8px !important; /* 原10px，减少20% */
    font-size: 1.2rem !important; /* 原1.4rem，减小字体 */
}

.footer-section p, .footer-section li {
    margin-bottom: 8px !important; /* 原10px，减少20% */
    line-height: 1.6 !important; /* 原1.7，减少行高 */
    font-size: 0.9rem !important; /* 原默认，减小字体 */
}

.footer-bottom {
    padding-top: 20px !important; /* 原30px，减少33% */
    font-size: 0.85rem !important; /* 原0.9rem，减小字体 */
}

.footer-bottom p {
    margin-bottom: 8px !important; /* 原10px，减少20% */
}

/* 友情链接样式 */
.friend-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    text-decoration: none;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.friend-link:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #FFD700;
    transform: translateX(5px);
}

.friend-link i {
    color: #D4AF37;
}

/* ========== 服务内容列表项图标样式 ========== */
.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #e0d6c2;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #D4AF37;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* QQ图标特殊样式 */
.footer-section .fa-qq {
    color: #12B7F5; /* QQ蓝色 */
    margin-right: 8px;
    font-size: 1.1rem;
}

/* 确保所有图标正确显示 */
.fas, .fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}

.fab {
    font-family: 'Font Awesome 6 Brands' !important;
}

/* 修复图标对齐 */
.footer-section p i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* ========== 底部固定栏高度缩小50% ========== */
.footer {
    padding: 25px 0 10px !important; /* 再减少50% */
    margin-top: 30px !important; /* 再减少50% */
}

.footer-content {
    margin-bottom: 20px !important; /* 再减少50% */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-section {
    margin-bottom: 10px;
}

.footer-section h4 {
    margin-bottom: 10px !important; /* 再减少50% */
    padding-bottom: 5px !important; /* 再减少50% */
    font-size: 1.1rem !important; /* 再减小 */
}

.footer-section p, .footer-section li {
    margin-bottom: 6px !important; /* 再减少50% */
    line-height: 1.5 !important; /* 再减少 */
    font-size: 0.85rem !important; /* 再减小 */
}

.footer-bottom {
    padding-top: 15px !important; /* 再减少50% */
    font-size: 0.8rem !important; /* 再减小 */
}

.footer-bottom p {
    margin-bottom: 5px !important; /* 再减少50% */
}

/* 进一步压缩列表项 */
.footer-section li {
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer-section li i {
    top: 2px;
    font-size: 0.8rem;
}

/* 减小Logo */
.footer-logo img {
    width: 250px !important; /* 原322px，减少22% */
    height: 50px !important; /* 原64px，减少22% */
    margin-bottom: 15px;
}

/* 响应式进一步压缩 */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0 8px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-section h4 {
        font-size: 1rem !important;
    }
    
    .footer-section p, .footer-section li {
        font-size: 0.8rem !important;
    }
}

/* ========== 图标修复 ========== */
/* 确保所有图标使用正确的Font Awesome类 */
.fa-file-code:before { content: "\\f1c9"; }
.fa-desktop:before { content: "\\f108"; }
.fa-images:before { content: "\\f302"; }
.fa-wrench:before { content: "\\f0ad"; }
.fa-qq:before { content: "\\f1d6"; }

/* 备用方案：如果CDN加载失败，使用本地字体 */
@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2'),
         url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 确保图标容器有最小尺寸 */
.footer-section li i {
    min-width: 16px;
    display: inline-block;
}

/* 如果图标仍然不显示，使用文本备用 */
.footer-section li:before {
    content: "•";
    color: #D4AF37;
    position: absolute;
    left: 0;
    display: none; /* 默认隐藏，只在图标失败时显示 */
}

/* 图标加载失败时的备用方案 */
.no-icons .footer-section li:before {
    display: inline-block;
}
.no-icons .footer-section li i {
    display: none;
}

