/* 页面加载动画 - 容器样式 */
.loader-container {
    position: fixed; /* 固定定位，覆盖整个屏幕 */
    top: 0; /* 距离顶部0px */
    left: 0; /* 距离左侧0px */
    width: 100%; /* 宽度100% */
    height: 100%; /* 高度100% */
    background: white; /* 背景色为白色 */
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中对齐 */
    align-items: center; /* 垂直居中对齐 */
    z-index: 9999; /* 层级最高，确保在最上层 */
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 淡入淡出过渡效果 */
}

/* 加载动画隐藏状态 */
.loader-container.hidden {
    opacity: 0; /* 透明度为0 */
    visibility: hidden; /* 隐藏元素 */
}

/* 上浮动画效果 */
.recommendation-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.recommendation-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 加载动画 - 旋转图标样式 */
.loader {
    width: 40px; /* 宽度40px */
    height: 40px; /* 高度40px */
    border: 3px solid rgba(0, 0, 0, 0.1); /* 边框样式，半透明黑色 */
    border-radius: 50%; /* 圆形边框 */
    border-top-color: #000; /* 顶部边框颜色为黑色 */
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite; /* 旋转动画 */
}

/* 旋转动画定义 */
@keyframes spin {
    to {
        transform: rotate(360deg); /* 旋转360度 */
    }
}

/* 全局样式重置 */
* {
    margin: 0; /* 重置外边距为0 */
    padding: 0; /* 重置内边距为0 */
    box-sizing: border-box; /* 盒模型设置为border-box */
    user-select: none; /* 禁止文本选择 */
}

/* 页面主体样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; /* 字体族 */
    background: radial-gradient(circle, #ffd6e1 0%, #ffffff 100%); /* 径向渐变背景 */
    color: #333; /* 文字颜色 */
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中对齐 */
    align-items: flex-start; /* 垂直顶部对齐 */
    overflow-x: hidden; /* 隐藏水平滚动条 */
    transition: background 0.3s ease; /* 背景色过渡效果 */
}

/* 页面内容基础样式 */
.page {
    display: none; /* 默认隐藏 */
    text-align: center; /* 文字居中 */
    animation: fadeIn 0.5s ease-out; /* 淡入动画 */
}

/* 活动页面样式 */
.page.active {
    display: block; /* 显示活动页面 */
}

/* 页面标题基础样式 */
.page h1 {
    font-size: 48px; /* 字体大小48px */
    font-weight: 1000; /* 字体粗细：超粗体 */
    margin-bottom: 16px; /* 底部外边距16px */
    color: #111; /* 字体颜色：深灰黑 */
    text-align: left;
}

/* 首页hero区域样式 */
.hero-section {
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    width: 100%; /* 宽度100% */
    max-width: 1200px; /* 最大宽度1200px */
    padding: 0 16px; /* 左右内边距16px */
    gap: 40px; /* 子元素间距40px */
    min-height: 100vh; /* 最小高度100%视口高度 */
}

/* 首页内容区域样式 */
.hero-content {
    flex: 1; /* 自适应宽度 */
    text-align: left; /* 文字左对齐 */
}

/* 首页标题样式 */
.hero-title {
    font-size: 72px; /* 字体大小72px */
    font-weight: 700; /* 字体粗细：粗体 */
    line-height: 1.1; /* 行高1.1 */
    margin-bottom: 24px; /* 底部外边距24px */
    color: #000; /* 字体颜色：黑色 */
    letter-spacing: -0.02em; /* 字间距-0.02em */
}

/* 首页副标题样式 */
.hero-subtitle {
    font-size: 24px; /* 字体大小24px */
    color: #666; /* 字体颜色：灰色 */
    margin-bottom: 32px; /* 底部外边距32px */
    font-weight: 400; /* 字体粗细：常规 */
}

/* 首页图像区域样式 */
.hero-image {
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: flex-end; /* 水平右对齐 */
    flex: 1; /* 自适应宽度 */
}

/* 人物图片样式 */
.character-placeholder,
.character-image {
    width: 300px; /* 宽度300px */
    height: 400px; /* 高度400px */
    border-radius: 20px; /* 圆角边框20px */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 变换过渡效果 */
    object-fit: cover; /* 图片适配方式：覆盖 */
}

/* 人物背景样式 */
.character-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); /* 渐变背景 */
}

/* 人物占位符和图片悬浮效果 */
.character-placeholder:hover,
.character-image:hover {
    transform: translateY(-5px); /* 向上移动5px */
}

/* 控制桌面端和移动端图片显示 */
.desktop-image {
    display: flex; /* 桌面端显示 */
}

.mobile-image {
    display: none; /* 桌面端隐藏 */
}

@media (max-width: 768px) {
    .desktop-image {
        display: none; /* 移动端隐藏 */
    }
    
    .mobile-image {
        display: flex; /* 移动端显示 */
    }
}

/* 响应式设计 - 小屏幕样式 */
@media (max-width: 768px) {
    .page h1 {
        font-size: 32px; /* 字体大小32px */
        font-weight: 800; /* 字体粗细：半粗体 */
        margin-bottom: 16px; /* 底部外边距16px */
        color: #111; /* 字体颜色：深灰黑 */
    }
    
    .hero-section {
        flex-direction: column; /* 垂直布局 */
        text-align: center; /* 文字居中 */
        gap: 10px; /* 子元素间距40px */
        padding: 60px 10px 180px; /* 增加底部内边距，确保内容在屏幕之外 */
        min-height: auto; /* 最小高度自适应 */
        justify-content: center; /* 垂直居中对齐 */
        align-items: center; /* 水平居中对齐 */
        height: auto; /* 高度自适应 */
    }
    
    .hero-content {
        text-align: center; /* 文字居中 */
        /* 文字居下 */
        margin-top: auto;
        flex: none; /* 不使用flex比例 */
    }
    
    .hero-title {
        font-size: 40px; /* 字体大小40px */
    }
    
    .hero-subtitle {
        font-size: 17.6px; /* 字体大小17.6px */
    }
    
    .character-placeholder,
    .character-image {
        width: 160px; /* 宽度160px */
        height: 213px; /* 高度213px */
    }
    
    /* 导航栏响应式样式 */
    .nav {
        gap: 3px; /* 子元素间距3px */
        padding: 5px; /* 内边距5px */
        width: 280px; /* 宽度280px */
    }
    
    .nav-item {
        padding: 9px 0; /* 内边距：上下9px 左右0 */
        font-size: 12px; /* 字体大小12px */
    }
}

/* 导航栏容器样式 */
.nav-container {
    position: fixed; /* 固定定位 */
    bottom: 20px; /* 距离底部20px */
    left: 50%; /* 距离左侧50% */
    transform: translateX(-50%); /* 水平居中 */
    z-index: 1000; /* 层级1000 */
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* 滑入动画 */
}

/* 导航栏样式 */
.nav {
    display: flex; /* 使用flex布局 */
    gap: 8px; /* 子元素间距8px */
    background: rgba(255, 255, 255, 0.7); /* 半透明白色背景 */
    backdrop-filter: blur(20px) saturate(180%); /* 背景模糊和饱和度 */
    -webkit-backdrop-filter: blur(20px) saturate(180%); /* Safari浏览器背景模糊 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 边框样式 */
    border-radius: 30px; /* 圆角边框30px */
    padding: 8px; /* 内边距8px */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); /* 阴影效果 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 所有属性过渡效果 */
    width: 360px; /* 宽度360px */
}

/* 导航项样式 */
.nav-item {
    position: relative; /* 相对定位 */
    padding: 12px 0; /* 内边距：上下12px 左右0 */
    border: none; /* 无边框 */
    background: transparent; /* 透明背景 */
    color: #666; /* 文字颜色：灰色 */
    font-size: 14px; /* 字体大小14px */
    font-weight: 500; /* 字体粗细：中粗体 */
    border-radius: 22px; /* 圆角边框22px */
    cursor: pointer; /* 鼠标指针：指针 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 所有属性过渡效果 */
    overflow: hidden; /* 隐藏溢出内容 */
    user-select: none; /* 禁止用户选择 */
    flex: 1; /* 自适应宽度 */
    text-align: center; /* 文字居中 */
}

/* 导航项选中状态 */
.nav-item.active {
    color: #000; /* 文字颜色：黑色 */
    background: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 阴影效果 */
    transform: translateY(-1px); /* 向上移动1px */
}

/* 导航项悬浮效果 */
.nav-item:hover {
    color: #000; /* 文字颜色：黑色 */
    background: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    transform: translateY(-1px); /* 向上移动1px */
}

/* 导航项点击反馈 */
.nav-item:active {
    transform: translateY(0); /* 恢复原位 */
}

/* 导航项波纹效果 */
.nav-item::before {
    content: ''; /* 空内容 */
    position: absolute; /* 绝对定位 */
    top: 50%; /* 距离顶部50% */
    left: 50%; /* 距离左侧50% */
    width: 0; /* 宽度0 */
    height: 0; /* 高度0 */
    border-radius: 50%; /* 圆形 */
    background: rgba(0, 0, 0, 0.05); /* 半透明黑色背景 */
    transform: translate(-50%, -50%); /* 居中 */
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* 宽高过渡效果 */
}

/* 导航项点击时波纹扩散效果 */
.nav-item:active::before {
    width: 300px; /* 宽度300px */
    height: 300px; /* 高度300px */
}

/* 导航栏滑入动画 */
@keyframes slideUp {
    from {
        opacity: 0; /* 起始透明度0 */
        transform: translateX(-50%) translateY(20px); /* 起始位置：向下偏移20px */
    }
    to {
        opacity: 1; /* 结束透明度1 */
        transform: translateX(-50%) translateY(0); /* 结束位置：恢复原位 */
    }
}

/* 页面淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0; /* 起始透明度0 */
        transform: translateY(10px); /* 起始位置：向下偏移10px */
    }
    to {
        opacity: 1; /* 结束透明度1 */
        transform: translateY(0); /* 结束位置：恢复原位 */
    }
}

/* 联系方式容器样式 */
.contact-container {
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直布局 */
    gap: 32px; /* 子元素间距32px */
    margin-top: 32px; /* 顶部外边距32px */
    width: 100%; /* 宽度100% */
}

/* 联系方式分类样式 */
.contact-category {
    text-align: left; /* 文字左对齐 */
}

/* 分类标题样式 */
.category-title {
    font-size: 24px; /* 字体大小24px */
    font-weight: 600; /* 字体粗细：半粗体 */
    margin-bottom: 24px; /* 底部外边距24px */
    color: #111; /* 字体颜色：深灰黑 */
    text-align: left; /* 文字靠左 */
}

/* 移动端分类标题居中 */
@media (max-width: 768px) {
    .category-title {
        text-align: center;
    }
}

/* 联系方式列表样式 */
.contact-list {
    display: grid; /* 使用grid布局 */
    grid-template-columns: repeat(3, 1fr); /* 3列等宽 */
    gap: 24px; /* 网格间距24px */
}

/* 联系方式项样式 */
.contact-item {
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中对齐 */
    gap: 16px; /* 子元素间距16px */
    padding: 16px; /* 内边距16px */
    background: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
    border-radius: 12px; /* 圆角边框12px */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); /* 阴影效果 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 所有属性过渡效果 */
    text-decoration: none; /* 去掉链接下划线 */
    color: inherit; /* 继承父元素颜色 */
    cursor: pointer; /* 可选择样式光标 */
}

/* 联系方式项悬浮效果 */
.contact-item:hover {
    transform: translateY(-4px); /* 向上移动4px */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); /* 加重阴影效果 */
}

/* 联系方式图标样式 */
.contact-icon {
    width: 50px; /* 宽度50px */
    height: 50px; /* 高度50px */
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    border-radius: 50%; /* 圆形 */
    background-color: #f0f0f0; /* 背景色：浅灰 */
    color: #333; /* 文字颜色：灰色 */
}

/* 联系方式图标图片样式 */
.contact-icon img {
    width: 32px; /* 宽度32px */
    height: 32px; /* 高度32px */
    object-fit: contain; /* 图片适配方式：包含 */
}

/* 联系方式信息样式 */
.contact-info {
    flex: 1; /* 自适应宽度 */
}

/* 联系方式名称样式 */
.contact-name {
    font-size: 16px; /* 字体大小16px */
    font-weight: 500; /* 字体粗细：中粗体 */
    color: #111; /* 字体颜色：深灰黑 */
    margin-bottom: 4px; /* 底部外边距4px */
}

/* 联系方式值样式 */
.contact-value {
    font-size: 14px; /* 字体大小14px */
    color: #666; /* 字体颜色：灰色 */
}

/* 响应式联系方式 - 中等屏幕 */
@media (max-width: 800px) {
    .contact-list {
        grid-template-columns: repeat(2, 1fr); /* 2列等宽 */
    }
}

/* 响应式联系方式 - 小屏幕 */
@media (max-width: 600px) {
    .contact-container {
        gap: 24px; /* 子元素间距24px */
        margin-top: 24px; /* 顶部外边距24px */
    }
    
    .category-title {
        font-size: 20px; /* 字体大小20px */
        margin-bottom: 16px; /* 底部外边距16px */
    }
    
    .contact-list {
        grid-template-columns: repeat(2, 1fr); /* 2列等宽 */
        gap: 12px; /* 网格间距16px */
    }
    
    .contact-item {
        padding: 12px; /* 内边距12px */
        gap: 12px; /* 子元素间距12px */
    }
    
    .contact-icon {
        width: 35px; /* 宽度40px */
        height: 35px; /* 高度40px */
    }

    .contact-icon img {
        width: 20px; /* 宽度24px */
        height: 20px; /* 高度24px */
    }
    
    .contact-name {
        font-size: 12px; /* 字体大小14px */
    }
    
    .contact-value {
        font-size: 10px; /* 字体大小12px */
    }
}

/* 推荐栏样式 */
.recommendation-section {
    width: 100%; /* 宽度100% */
    max-width: 1200px; /* 最大宽度1200px */
    padding: 64px 32px; /* 内边距：上下64px 左右32px */
    margin: 0 auto; /* 水平居中 */
    text-align: left; /* 文字左对齐 */
}

/* 推荐栏标题样式 */
.recommendation-title {
    font-size: 32px; /* 字体大小32px */
    font-weight: 600; /* 字体粗细：半粗体 */
    margin-bottom: 40px; /* 底部外边距40px */
    color: #111; /* 字体颜色：深灰黑 */
}

/* 推荐栏网格样式 */
.recommendation-grid {
    display: grid; /* 使用grid布局 */
    grid-template-columns: repeat(4, 1fr); /* 4列等宽 */
    gap: 24px; /* 网格间距24px */
    margin-bottom: 48px; /* 底部外边距48px */
}

/* 推荐卡片样式 */
.recommendation-card {
    background: rgba(255, 255, 255, 0.95); /* 半透明白色背景 */
    border-radius: 20px; /* 圆角边框20px */
    padding: 28px; /* 内边距28px */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); /* 阴影效果 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* 所有属性过渡效果 */
    cursor: pointer; /* 鼠标指针：指针 */
    border: 1px solid rgba(255, 255, 255, 0.4); /* 边框样式 */
    min-width: 250px; /* 最小宽度250px */
    min-height: 200px; /* 最小高度200px */
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直布局 */
    justify-content: space-between; /* 垂直两端对齐 */
    position: relative; /* 相对定位 */
    overflow: hidden; /* 隐藏溢出内容 */
}

/* 卡片悬停效果 */
.recommendation-card:hover {
    transform: translateY(-10px) scale(1.02); /* 向上移动10px并放大1.02倍 */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* 增强阴影 */
    background: white; /* 白色背景 */
}

/* 卡片标题样式 */
.recommendation-card-title {
    font-size: 22px; /* 字体大小22px */
    font-weight: 700; /* 字体粗细：粗体 */
    margin-bottom: 16px; /* 底部外边距16px */
    color: #111; /* 字体颜色：深灰黑 */
    text-align: left; /* 文字左对齐 */
    line-height: 1.3; /* 行高1.3 */
}

/* 卡片描述样式 */
.recommendation-card-description {
    font-size: 15px; /* 字体大小15px */
    color: #666; /* 字体颜色：灰色 */
    line-height: 1.7; /* 行高1.7 */
    margin-bottom: 20px; /* 底部外边距20px */
    text-align: left; /* 文字左对齐 */
    flex: 1; /* 自适应高度 */
}

/* 卡片链接按钮样式 */
.recommendation-card-link {
    display: inline-block; /* 行内块元素 */
    padding: 12px 28px; /* 内边距：上下12px 左右28px */
    background: linear-gradient(135deg, #ffd6e1 0%, #ffc1d0 100%); /* 渐变背景 */
    color: #333; /* 文字颜色：灰色 */
    border-radius: 25px; /* 圆角边框25px */
    text-decoration: none; /* 无下划线 */
    font-size: 14px; /* 字体大小14px */
    font-weight: 600; /* 字体粗细：半粗体 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 所有属性过渡效果 */
    align-self: flex-start; /* 左对齐 */
    box-shadow: 0 4px 12px rgba(255, 214, 225, 0.4); /* 阴影效果 */
    border: none; /* 无边框 */
    cursor: pointer; /* 鼠标指针：指针 */
}

/* 链接按钮悬停效果 */
.recommendation-card-link:hover {
    background: linear-gradient(135deg, #ffc1d0 0%, #ffb3c4 100%); /* 渐变背景 */
    transform: translateY(-2px); /* 向上移动2px */
    box-shadow: 0 6px 16px rgba(255, 214, 225, 0.6); /* 增强阴影 */
}

/* 卡片标题下划线效果 */
.recommendation-card-title {
    position: relative;
    display: inline-block;
}

.recommendation-card-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd6e1 0%, #ffb3c4 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 卡片悬停时标题下划线展开效果 */
.recommendation-card:hover .recommendation-card-title::after {
    width: 100%;
}

/* 响应式推荐栏 - 大屏幕 */
@media (max-width: 1300px) {
    .recommendation-grid {
        grid-template-columns: repeat(3, 1fr); /* 3列等宽 */
    }
}

/* 响应式推荐栏 - 中等屏幕 */
@media (max-width: 1024px) {
    .recommendation-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列等宽 */
        gap: 20px; /* 网格间距20px */
    }
    
    .recommendation-card {
        padding: 24px; /* 内边距24px */
    }
}

/* 响应式推荐栏 - 小屏幕 */
@media (max-width: 768px) {
    .recommendation-section {
        padding: 48px 0px; /* 内边距：上下48px 左右20px */
    }
    
    .recommendation-title {
        font-size: 28px; /* 字体大小28px */
        margin-bottom: 32px; /* 底部外边距32px */
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr; /* 1列 */
        gap: 20px; /* 网格间距20px */
        margin-bottom: 32px; /* 底部外边距32px */
    }
    
    .recommendation-card {
        padding: 20px 24px; /* 内边距：上下20px 左右24px */
        min-height: auto; /* 最小高度自适应 */
        flex-direction: row; /* 水平布局 */
        align-items: center; /* 垂直居中对齐 */
        gap: 20px; /* 子元素间距20px */
    }
    
    .recommendation-card-content {
        flex: 1; /* 自适应宽度 */
        min-width: 0; /* 允许缩小 */
    }
    
    .recommendation-card-title {
        font-size: 18px; /* 字体大小18px */
        margin-bottom: 6px; /* 底部外边距6px */
        white-space: nowrap; /* 不换行 */
        overflow: hidden; /* 隐藏溢出内容 */
        text-overflow: ellipsis; /* 溢出文本显示省略号 */
    }
    
    .recommendation-card-description {
        font-size: 13px; /* 字体大小13px */
        margin-bottom: 0; /* 底部外边距0 */
        white-space: nowrap; /* 不换行 */
        overflow: hidden; /* 隐藏溢出内容 */
        text-overflow: ellipsis; /* 溢出文本显示省略号 */
    }
    
    .recommendation-card-link {
        padding: 8px 20px; /* 内边距：上下8px 左右20px */
        font-size: 12px; /* 字体大小12px */
        align-self: center; /* 居中对齐 */
        text-align: center; /* 文字居中 */
        min-width: 80px; /* 最小宽度80px */
    }
}

/* 评论区样式 */
.comment-section {
    margin: 60px auto 0;
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
}

.comment-toggle {
    display: block;
    margin: 0 auto;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: white;
}

.comment-container {
    margin-top: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-container.active {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

/* 页脚样式 */
.footer {
    width: 100%;
    padding: 20px 0;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px 30px;
    margin-bottom: 80px; /* 添加下边距，防止被底部导航栏挡住 */
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
}

.footer-content a {
    color: #666;
    text-decoration: none;
}

/* 二维码悬浮窗样式 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), visibility 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.qrcode-modal.active {
    opacity: 1;
    visibility: visible;
}

.qrcode-content {
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    position: relative;
}

.qrcode-modal.active .qrcode-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.qrcode-image {
    max-width: 50vw;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

/* 关闭按钮样式 */
.qrcode-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
}

.qrcode-close-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* 二维码淡入动画 */
@keyframes qrcodeFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 页脚响应式样式 */
@media (max-width: 768px) {
    .footer-content {
        padding: 12px 20px;
        margin: 0 20px 80px;
    }
    
    .footer-content p {
        font-size: 12px;
    }
    
    /* 移动端二维码样式 */
    .qrcode-image {
        max-width: 60vw;
        max-height: 60vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        display: block;
    }
    
    /* 移动端关闭按钮样式 */
    .qrcode-close-btn {
        top: 8px;
        right: 8px;
        width: 25px;
        height: 25px;
        font-size: 18px;
    }
}