@charset "utf-8";
/* ========================================
 * 大成兴和广告 - 用户端样式文件
 * 响应式设计，适配PC和移动端
 * ======================================== */

/* ========================================
 * 基础重置与变量
 * ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --primary-hover: #c0392b;
    --secondary-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-color: #f5f5f5;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --radius: 4px;
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================================
 * 布局容器
 * ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main {
    flex: 1;
    padding-bottom: 30px;
}

/* ========================================
 * 头部样式
 * ======================================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
    opacity: 1;
    animation: fadeInDown 0.6s ease-out;
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(0);
    backdrop-filter: blur(10px);
}

.header:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.top-bar-left {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: all 0.3s ease;
}

.top-bar-left:hover {
    color: #fff;
    transform: translateX(5px);
}

.top-bar-right a {
    color: rgba(255,255,255,0.85);
    margin-left: 20px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 400;
}

.top-bar-right a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.top-bar-right a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.top-bar-right a:hover::after {
    width: 100%;
}

.top-bar-right .split {
    margin-left: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
}

.header-main {
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header.scrolled .header-main {
    padding: 10px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 5px 10px;
}

.logo a:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo img {
    max-height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.logo a:hover .logo-text {
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(231,76,60,0.3);
}

/* 导航菜单 */
.main-nav {
    flex: 1;
    margin: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 5px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 1200px;
}

.nav-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.nav-item > a {
    display: block;
    padding: 15px 25px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 20px;
}

.nav-item > a:hover,
.nav-item.active > a {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.nav-item > a:hover::before,
.nav-item.active > a::before {
    left: 0;
}

.nav-item.active > a {
    border-bottom: none;
}

/* 子菜单 */
.sub-nav {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--bg-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-nav li {
    position: relative;
    overflow: hidden;
}

.sub-nav li a {
    display: block;
    padding: 15px 25px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sub-nav li:last-child a {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.sub-nav li:first-child a {
    border-radius: 12px 12px 0 0;
}

.sub-nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: all 0.3s ease;
}

.sub-nav li a:hover {
    background: linear-gradient(135deg, rgba(231,76,60,0.05), rgba(52,152,219,0.05));
    color: var(--primary-color);
    padding-left: 30px;
    transform: translateX(5px);
}

.sub-nav li a:hover::before {
    transform: scaleY(1);
}

/* 搜索框 */
.header-search {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    z-index: -1;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

.header-search:focus-within::before {
    opacity: 1;
    transform: scale(1);
}

.search-input {
    width: 220px;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-weight: 500;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.search-input:focus {
    border-color: var(--primary-color);
    width: 250px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.search-btn {
    width: 50px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 0 30px 30px 0;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
    filter: brightness(1.1);
}

.search-btn:active {
    transform: translateY(0);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 28px;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    z-index: 2001;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    box-shadow: 0 2px 10px rgba(231,76,60,0.3);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.8);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    box-shadow: 0 2px 10px rgba(231,76,60,0.3);
}

.mobile-menu-btn span:nth-child(1) {
    width: 80%;
    align-self: flex-start;
}

.mobile-menu-btn span:nth-child(3) {
    width: 80%;
    align-self: flex-end;
}

.mobile-menu-btn:hover span:nth-child(1) {
    width: 100%;
}

.mobile-menu-btn:hover span:nth-child(3) {
    width: 100%;
}

/* 移动端导航 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 80px 20px 20px;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.mobile-nav.active {
    display: block;
    transform: translateY(0);
}

.mobile-nav-list {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideInUp 0.6s ease-out;
}

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

.mobile-nav-list > li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.mobile-nav-list > li:last-child {
    border-bottom: none;
}

.mobile-nav-list > li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231,76,60,0.1), transparent);
    transition: all 0.5s ease;
}

.mobile-nav-list > li:hover::before {
    left: 100%;
}

.mobile-nav-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-list > li > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-nav-list > li > a:hover {
    background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(52,152,219,0.1));
    color: var(--primary-color);
    padding-left: 30px;
    transform: translateX(5px);
}

.mobile-nav-list > li > a:hover::after {
    transform: rotate(180deg);
}

.mobile-nav-list > li.active > a {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(231,76,60,0.15), rgba(52,152,219,0.15));
}

.mobile-sub-nav {
    background: rgba(255,255,255,0.8);
    display: none;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-sub-nav.active {
    display: block;
}

.mobile-sub-nav li {
    position: relative;
    overflow: hidden;
}

.mobile-sub-nav li a {
    display: block;
    padding: 15px 25px 15px 50px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.mobile-sub-nav li a::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-sub-nav li a:hover {
    background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(52,152,219,0.1));
    color: var(--primary-color);
    padding-left: 55px;
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.mobile-sub-nav li a:hover::before {
    opacity: 1;
    left: 35px;
}

/* ========================================
 * 首页样式
 * ======================================== */
.banner-section {
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
}

.banner-slider {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.slideBox {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* SuperSlide 2.1.1新结构样式 */
.slides {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-items {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    /* 确保ul标签始终可见，不会被SuperSlide隐藏 */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.slide-item {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.slide-item:first-child {
    display: block;
}

.slide-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.slide-item:hover img {
    transform: scale(1.02);
}

/* 分页指示器样式 - 针对li标签的修复版 */
.slide-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 30px;
    /* 清除默认列表样式 */
    list-style: none;
    margin: 0;
}

/* 清除li默认样式并隐藏数字 */
.slide-pagination li {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    /* 强制隐藏li内的数字 - 使用!important确保优先级 */
    color: transparent !important;
    text-indent: -9999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    /* 清除默认padding和margin */
    padding: 0 !important;
    margin: 0 10px !important;
    vertical-align: middle !important;
    /* 确保内容不溢出 */
    white-space: nowrap;
    overflow: hidden;
}

/* 激活状态样式 */
.slide-pagination li.on {
    background: #fff !important;
    width: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.1) !important;
    animation: pulse 2s infinite !important;
}

/* 悬停效果 */
.slide-pagination li:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4) !important;
}

/* 激活状态悬停效果 */
.slide-pagination li.on:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.6) !important;
}

/* 添加小动画 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* 导航按钮样式 */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.8);
    font-size: 24px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    user-select: none;
    border: none;
}

.slide-nav:hover {
    background: rgba(0,0,0,0.6);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slide-prev {
    left: 30px;
}

.slide-next {
    right: 30px;
}

/* 文字标题样式 */
.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    color: #fff;
    z-index: 5;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.slide-item:hover .banner-caption {
    opacity: 1;
    transform: translateY(0);
}

.banner-caption h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.banner-caption p {
    font-size: 16px;
    opacity: 0.95;
    color: #f0f0f0;
    line-height: 1.6;
    max-width: 800px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* 默认图片样式 */
.banner-default {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
}

.banner-default img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* 区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 14px;
}

/* 服务区块 */
.services-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
   : var(--primary background-color);
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 新闻/案例区块 */
.news-section,
.cases-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-link {
    display: block;
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* 案例展示 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.case-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case-link {
    display: block;
    position: relative;
}

.case-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-item:hover .case-img img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.case-overlay i {
    font-size: 40px;
    color: #fff;
}

.case-content {
    padding: 15px;
    background: var(--bg-white);
}

.case-title {
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
}

/* 奇趣发现 */
.qitu-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.qitu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.qitu-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.qitu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.qitu-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 14px;
    text-align: center;
}

/* 关于我们 */
.about-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.about-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    min-width: 100px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-number small {
    font-size: 18px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* 联系我们 */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 2px;
}

.contact-text h4 {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-wrapper {
    width: 400px;
    min-width: 300px;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

/* 文章操作按钮样式 */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-action i {
    transition: all 0.3s ease;
}

.btn-action:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-action .count {
    font-weight: 700;
    background: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-action:hover .count {
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(231,76,60,0.3);
}

/* 已操作状态 */
.btn-action.btn-active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}

.btn-action.btn-active:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-color));
    color: #fff;
}

.btn-action.btn-active .count {
    background: #fff;
    color: var(--primary-color);
}
/* 自定义提示框CSS样式 */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 300px;
}

.custom-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.custom-alert i {
    font-size: 24px;
    line-height: 1;
}

.custom-alert-success .custom-alert-content {
    color: #4caf50;
}

.custom-alert-success i {
    color: #4caf50;
}

.custom-alert-error .custom-alert-content {
    color: #f44336;
}

.custom-alert-error i {
    color: #f44336;
}

.custom-alert-warning .custom-alert-content {
    color: #ff9800;
}

.custom-alert-warning i {
    color: #ff9800;
}

.custom-alert-info .custom-alert-content {
    color: #2196f3;
}

.custom-alert-info i {
    color: #2196f3;
}

/* 按钮样式 */
.custom-alert-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.custom-alert-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-alert-btn-cancel {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.custom-alert-btn-cancel:hover {
    background-color: #e0e0e0;
}

.custom-alert-btn-confirm {
    background-color: #ff9800;
    color: white;
}

.custom-alert-btn-confirm:hover {
    background-color: #f57c00;
}

/* 表格响应式样式 */
.user-content .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    margin-bottom: 1rem;
}

.user-content .table-responsive > table {
    margin-bottom: 0;
}

.user-content .table-responsive > table > thead > tr > th,
.user-content .table-responsive > table > tbody > tr > th,
.user-content .table-responsive > table > tfoot > tr > th,
.user-content .table-responsive > table > thead > tr > td,
.user-content .table-responsive > table > tbody > tr > td,
.user-content .table-responsive > table > tfoot > tr > td {
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-alert {
        padding: 15px 20px;
        margin: 0 20px;
        width: calc(100% - 40px);
        min-width: auto;
    }
    
    .custom-alert-content {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .custom-alert i {
        font-size: 20px;
    }
    
    .custom-alert-buttons {
        justify-content: space-between;
    }
    
    .custom-alert-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* 禁用状态 */
.btn-action.disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-action.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    color: var(--text-color) !important;
}

/* 踩一下按钮特殊样式 */
.cai-btn .btn-action {
    background: linear-gradient(135deg, #fdecea 0%, #f5c6cb 100%);
}

.cai-btn .btn-action:hover {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.cai-btn .btn-action.btn-active {
    background: linear-gradient(135deg, #e57373 0%, #ef5350 100%);
}

.cai-btn .btn-action.btn-active:hover {
    background: linear-gradient(135deg, #ef5350 0%, #e57373 100%);
}

/* 收藏按钮特殊样式 */
.collect-btn .btn-action {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
}

.collect-btn .btn-action:hover {
    background: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 100%);
}

.collect-btn .btn-action.btn-active {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: #fff;
}

.collect-btn .btn-action.btn-active:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    color: #fff;
}

.collect-btn .btn-action.btn-active i {
    color: #fff;
}

.collect-btn .btn-action i {
    color: #e91e63;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* 用户中心评论列表样式 */
.comment-list {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-top: 24px;
}

.comment-list .comment-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.comment-list .comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.comment-list .comment-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.comment-list .comment-item:hover::before {
    transform: scaleY(1);
}

.comment-list .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    position: relative;
}

.comment-list .comment-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.comment-list .comment-item:hover .comment-header::after {
    width: 100px;
}

.comment-list .comment-time {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.comment-list .btn-del {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(231,76,60,0.1);
    border: 1px solid rgba(231,76,60,0.2);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-list .btn-del::before {
    content: '\f1f8';
    font-family: 'FontAwesome';
    font-size: 12px;
}

.comment-list .btn-del:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
    border-color: var(--primary-color);
}

.comment-list .comment-content {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.comment-list .comment-item:hover .comment-content {
    background: rgba(255,255,255,1);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.08);
}

.comment-list .comment-article {
    font-size: 14px;
    color: var(--text-light);
    background: rgba(255,255,255,0.6);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.comment-list .comment-item:hover .comment-article {
    background: rgba(255,255,255,0.9);
    transform: translateX(4px);
}

.comment-list .article-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-list .article-link::after {
    content: '\f08e';
    font-family: 'FontAwesome';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.comment-list .article-link:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.comment-list .article-link:hover::after {
    transform: translateX(3px);
}

/* 用户中心评论头像样式 */
.comment-list .comment-avatar {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}

.comment-list .comment-item:hover .comment-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 文章页评论列表样式 - 保持原有样式 */
.comments-list .comment-item {
    /* 文章页评论样式保持默认，不继承用户中心的样式 */
    background: none;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 15px;
    transition: none;
    border: none;
    position: relative;
    overflow: visible;
    display: flex;
    gap: 15px;
}

.comments-list .comment-item::before {
    display: none;
}

.comments-list .comment-item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.comments-list .comment-avatar {
    position: relative;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    transition: none;
    flex-shrink: 0;
}

.comments-list .comment-item:hover .comment-avatar {
    transform: none;
    box-shadow: none;
}

.comments-list .comment-body {
    flex: 1;
}

.comments-list .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    position: relative;
}

.comments-list .comment-header::after {
    display: none;
}

.comments-list .comment-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
    letter-spacing: 0;
}

.comments-list .comment-content {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    position: relative;
}

.comments-list .comment-item:hover .comment-content {
    background: none;
    box-shadow: none;
}

/* 无数据状态样式 */
.comment-list .no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.comment-list .no-data:hover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: scale(1.02);
}

.comment-list .no-data i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    color: var(--border-color);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.comment-list .no-data:hover i {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(10deg);
}

.comment-list .no-data p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ========================================
 * 在线客服样式
 * ======================================== */
/* 固定客服按钮 */
.fixed-kefu {
    position: fixed;
    right: 20px;
    bottom: 60px;
    z-index: 999;
}

.fixed-kefu .kefu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.fixed-kefu .kefu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.fixed-kefu .kefu-btn i {
    font-size: 20px;
    margin-bottom: 3px;
}

/* 客服面板 */
.kefu-panel {
    position: fixed;
    right: 20px;
    bottom: 130px;
    width: 320px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

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

/* 客服面板头部 */
.kefu-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.kefu-panel-header .close-kefu {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.kefu-panel-header .close-kefu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 客服面板内容 */
.kefu-panel-body {
    padding: 20px;
}

/* 客服项 */
.kefu-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.kefu-item:last-child {
    margin-bottom: 0;
}

.kefu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* 客服文字内容 */
.kefu-content {
    flex: 1;
    min-width: 0;
}

.kefu-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.kefu-info {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kefu-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.kefu-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.kefu-duty {
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(231, 76, 60, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 5px;
}

/* 客服二维码 */
.kefu-qrcode {
    width: 90px;
    text-align: center;
    flex-shrink: 0;
}

.kefu-qrcode img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.kefu-qrcode img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qrcode-text {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .kefu-panel {
        right: 15px;
        left: 15px;
        width: auto;
        max-width: 320px;
        bottom: 120px;
    }
    
    .fixed-kefu {
        right: 15px;
        bottom: 50px;
    }
    
    .kefu-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .kefu-qrcode {
        width: 80px;
    }
    
    .kefu-content {
        width: 100%;
    }
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .comment-list {
        padding: 16px;
        margin-top: 16px;
    }
    
    .comment-list .comment-item {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .comment-list .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .comment-list .comment-header::after {
        display: none;
    }
    
    .comment-list .comment-content {
        font-size: 14px;
        padding: 12px;
    }
    
    .comment-list .comment-article {
        padding: 10px 14px;
    }
    
    .comment-list .article-link {
        font-size: 13px;
    }
    
    .comment-list .btn-del {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .comment-list .no-data {
        padding: 40px 16px;
    }
    
    .comment-list .no-data i {
        font-size: 48px;
    }
    
    .comment-list .no-data p {
        font-size: 14px;
    }
}

/* 旧的分页样式已移至下方 */

/* 用户中心布局样式 */
.user-main {
    padding: 30px 0;
    background: var(--bg-color);
}

.user-wrapper {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.user-sidebar {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid var(--border-color);
}

.user-content {
    flex: 1;
    padding: 20px;
}

.content-header {
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
}

.content-header h2 {
    font-size: 20px;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-header h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 用户卡片样式 */
.user-card {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(231,76,60,0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.user-level {
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(231,76,60,0.1);
    padding: 2px 10px;
    border-radius: 10px;
    display: inline-block;
}

/* 用户菜单样式 */
.user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-item a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.menu-item a:hover {
    background: rgba(52,152,219,0.1);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

.menu-item.active a {
    background: rgba(231,76,60,0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.menu-item i {
    margin-right: 8px;
    font-size: 14px;
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 40px;
    font-size: 16px;
}

.btn-submit:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* ========================================
 * 文章详情页样式
 * ======================================== */
.article-main {
    padding: 20px 0 40px;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
}

.breadcrumb .current {
    color: var(--text-color);
}

.article-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.article-content-wrapper {
    flex: 1;
    min-width: 0;
}

.article-detail {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.article-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.article-title {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-meta {
    font-size: 14px;
}

.article-keywords {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.keyword {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    margin-right: 8px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.keyword:hover {
    background: var(--primary-color);
    color: #fff;
}

.article-description {
    padding: 15px;
    background: #f8f8f8;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.article-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    /* 添加自动换行属性，解决文字超出框架问题 */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    /* 确保内容不会溢出容器 */
    overflow: hidden;
}

/* 确保article-text的所有子元素都继承自动换行属性 */
.article-text * {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* 处理长单词和URL */
.article-text a,
.article-text span,
.article-text div {
    word-break: break-all !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* 处理代码块和行内代码 */
.article-text pre,
.article-text code {
    white-space: pre-wrap !important;
    word-break: break-all !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* 处理表格内容 */
.article-text table td,
.article-text table th {
    word-break: break-all !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.article-text p {
    margin-bottom: 15px;
}

.article-text img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: var(--radius);
}

.article-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.article-text table td,
.article-text table th {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: left;
}

.article-gallery {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.gallery-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    height: auto;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 图片放大预览样式 */
.image-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.image-preview-content {
    position: relative;
    z-index: 10000;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#previewImage {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.image-preview-close {
    position: absolute;
    top: -30px;
    right: -30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.image-preview-close:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gallery-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .image-preview-close {
        top: -20px;
        right: -20px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* 头像上传样式优化 */
.user-content .avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.user-content .avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-content .avatar-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.user-content .avatar-preview.avatar-changed {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.user-content .avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.user-content .btn-upload, .user-content .btn-delete {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-white);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-block;
}

.user-content .btn-upload:hover, .user-content .btn-delete:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.user-content .avatar-tip {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* 头像上传响应式设计 */
@media (max-width: 768px) {
    .user-content .avatar-upload {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-content .avatar-preview {
        width: 80px;
        height: 80px;
    }
}

/* 文章底部 */
.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.action-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 20px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.action-item a:hover {
    background: var(--primary-color);
    color: #fff;
}

.article-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-prev,
.nav-next {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.nav-label {
    color: var(--text-muted);
}

.nav-none {
    color: var(--text-muted);
}

/* 相关文章 */
.related-articles {
    margin-top: 30px;
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.related-link {
    display: flex;
    gap: 15px;
    padding: 15px;
}

.related-img {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-title {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* 评论区域 */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comment-form {
    background: #f8f8f8;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.comment-form-group {
    margin-bottom: 15px;
}

.comment-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.comment-login-tip {
    text-align: center;
    padding: 30px;
    background: #f8f8f8;
    border-radius: var(--radius);
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-light);
}

.comments-list {
    margin-top: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 500;
    color: var(--text-color);
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-content {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 16px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
}

.cate-list li {
    border-bottom: 1px solid #f0f0f0;
}

.cate-list li:last-child {
    border-bottom: none;
}

.cate-list li a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.cate-list li a:hover,
.cate-list li.active a {
    color: var(--primary-color);
    padding-left: 10px;
}

.cate-list li.active a {
    font-weight: 500;
}

.contact-info-sidebar {
    text-align: center;
}

.qq-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #e74c3c;
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 15px;
}

.qq-contact:hover {
    background: #c0392b;
    color: #fff;
}

.phone-contact {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
}

.phone-contact i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* ========================================
 * 分类页样式
 * ======================================== */
.cate-main {
    padding: 20px 0 40px;
}

.cate-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.cate-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.cate-content {
    flex: 1;
    min-width: 0;
}

.cate-intro {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.intro-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.intro-header h2 {
    font-size: 20px;
    color: var(--text-color);
}

.intro-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

.company-showcase,
.factory-showcase {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.showcase-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.showcase-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.article-list-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.article-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.article-item .article-link {
    display: block;
}

.article-item .article-img {
    height: 180px;
    overflow: hidden;
}

.article-item .article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-item:hover .article-img img {
    transform: scale(1.1);
}

.article-item .article-info {
    padding: 15px;
}

.article-item .article-title {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-item .article-desc {
    font-size: 12px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 旧的分页样式已移至下方 */

/* 旧的分页样式已移至下方 */

.no-article {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-article i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* ========================================
 * 用户中心样式
 * ======================================== */
.user-main {
    padding: 20px 0 40px;
}

.user-wrapper {
    display: flex;
    gap: 30px;
}

.user-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.user-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.user-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
}

.user-level {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 15px;
    font-size: 12px;
}

.user-menu {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.menu-item a:hover,
.menu-item.active a {
    background: #f8f8f8;
    color: var(--primary-color);
}

.menu-item.active a {
    border-left: 3px solid var(--primary-color);
}

.icon-menu {
    font-size: 18px;
}

.user-content {
    flex: 1;
    min-width: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.content-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.content-header h2 {
    font-size: 20px;
    color: var(--text-color);
}

.user-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stat-card i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* 最近浏览样式 */
.user-recent {
    margin-top: 30px;
}

.user-recent .section-title {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    display: inline-block;
}

.user-recent .section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.user-recent .section-title:hover::after {
    width: 100%;
}

.recent-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.recent-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.recent-item:last-child {
    margin-bottom: 0;
}

.recent-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.recent-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.recent-item:hover .recent-img img {
    transform: scale(1.1);
}

.recent-content {
    flex: 1;
    min-width: 0;
}

.recent-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.recent-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}

.recent-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.recent-item:hover .recent-meta .meta-item {
    color: var(--text-light);
}

.recent-meta i {
    font-size: 12px;
    color: var(--primary-color);
}

/* 无数据状态样式 */
.recent-list .no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.recent-list .no-data:hover {
    border-color: var(--secondary-color);
    background: rgba(255,255,255,1);
    transform: scale(1.02);
}

.recent-list .no-data i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: var(--border-color);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.recent-list .no-data:hover i {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(10deg);
}

.recent-list .no-data p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.pagination-wrapper:hover {
    background: rgba(255,255,255,1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 直接匹配ThinkPHP生成的分页结构 */
.pagination {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.pagination span, .pagination a {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: var(--text-color);
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 40px;
    text-align: center;
    white-space: nowrap;
}

/* 确保分页按钮横向排列 */
.pagination-wrapper .pagination {
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231,76,60,0.2);
}

.pagination .page-total {
    background: transparent;
    border: none;
    color: var(--text-muted);
    margin-right: 10px;
    font-size: 13px;
    cursor: default;
    padding: 10px 5px;
}

.pagination .page-total:hover {
    background: transparent;
    color: var(--text-muted);
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-stats {
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .recent-item {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }
    
    .recent-img {
        width: 100%;
        height: 150px;
    }
    
    .recent-title {
        font-size: 14px;
    }
    
    .recent-meta {
        gap: 10px;
    }
    
    .user-recent .section-title {
        font-size: 16px;
    }
    
    .recent-list {
        padding: 15px;
    }
    
    /* 分页响应式 */
    .pagination-wrapper {
        padding: 15px;
    }
    
    .pagination span, .pagination a {
        padding: 8px 12px;
        margin: 0 2px;
        font-size: 13px;
        min-width: 35px;
    }
}

/* ========================================
 * 页脚样式
 * ======================================== */
/* 二维码横向排列样式 */
.footer-col.qrcode-col .footer-col-content {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-col.qrcode-col .qrcode {
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-col.qrcode-col .qrcode img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.footer-col.qrcode-col .qrcode img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-col.qrcode-col .footer-col-content {
        gap: 15px;
    }
    
    .footer-col.qrcode-col .qrcode img {
        max-width: 100px;
    }
}

/* 收藏页面样式 */
.user-content .collection-list {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

/* 表格样式 */
.user-content .collection-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 表头样式 */
.user-content .collection-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 表格行样式 */
.user-content .collection-table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.user-content .collection-table tr:last-child {
    border-bottom: none;
}

.user-content .collection-table tr:hover {
    background: rgba(231,76,60,0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 表格单元格样式 */
.user-content .collection-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: var(--text-color);
    vertical-align: middle;
}

/* 收藏标题样式 */
.user-content .collection-title {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-content .collection-title:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    text-decoration: underline;
}

/* 收藏时间样式 */
.user-content .collection-time {
    color: var(--text-muted);
    font-size: 13px;
    display: block;
    white-space: nowrap;
}

/* 取消收藏按钮样式 */
.user-content .btn-del {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.user-content .btn-del:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* 无数据状态样式 */
.user-content .no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.user-content .no-data:hover {
    border-color: var(--secondary-color);
    background: rgba(255,255,255,1);
    transform: scale(1.02);
}

.user-content .no-data i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    color: var(--border-color);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.user-content .no-data:hover i {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.user-content .no-data p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-content .collection-table {
        font-size: 13px;
    }
    
    .user-content .collection-table th,
    .user-content .collection-table td {
        padding: 10px;
    }
    
    .user-content .collection-table th {
        font-size: 12px;
    }
    
    .user-content .btn-del {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .user-content .collection-title {
        font-size: 13px;
    }
    
    .user-content .collection-time {
        font-size: 12px;
    }
    
    .user-content .no-data {
        padding: 40px 15px;
    }
    
    .user-content .no-data i {
        font-size: 48px;
    }
    
    .user-content .no-data p {
        font-size: 14px;
    }
}

/* 用户表单 */
.userinfo-form .form-row {
    margin-bottom: 20px;
}

.userinfo-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.userinfo-form .form-field {
    display: flex;
    align-items: center;
    gap: 15px;
}

.userinfo-form .form-control {
    flex: 1;
    max-width: 400px;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.userinfo-form .form-control:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.field-tip {
    font-size: 12px;
    color: var(--text-muted);
}

.avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.avatar-input {
    display: none;
}

.btn-upload {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-upload:hover {
    background: #2980b9;
}

.avatar-tip {
    font-size: 12px;
    color: var(--text-muted);
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-save {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
}

/* ========================================
 * 登录注册页样式
 * ======================================== */
.login-main,
.reg-main {
    padding: 60px 0;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.login-wrapper,
.reg-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.login-form-container,
.reg-form-container {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.login-title,
.reg-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.login-form .form-group,
.reg-form .form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.verify-group {
    display: flex;
    gap: 15px;
}

.verify-input {
    flex: 1;
}

.verify-img {
    width: 120px;
    height: 42px;
    border-radius: var(--radius);
    cursor: pointer;
}

.form-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
}

.forgot-link {
    font-size: 14px;
}

.btn-login,
.btn-reg {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: var(--primary-color);
    color: #fff;
}

.btn-login:hover,
.btn-reg:hover {
    background: var(--primary-hover);
    color: #fff;
}

.login-footer,
.reg-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.required {
    color: var(--primary-color);
}

.protocol-link {
    color: var(--secondary-color);
}

/* ========================================
 * 留言板样式
 * ======================================== */
.message-main {
    padding: 20px 0 40px;
}

.message-header {
    text-align: center;
    margin-bottom: 40px;
}

.message-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.message-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.message-content {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.message-form-container {
    flex: 1;
    min-width: 300px;
}

.message-form {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.message-form .form-row {
    margin-bottom: 20px;
}

.message-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.message-form .form-field {
    max-width: 500px;
}

.message-form .textarea {
    min-height: 150px;
}

.message-form .form-actions {
    display: flex;
    gap: 15px;
}

.message-form .btn-reset {
    background: #95a5a6;
    color: #fff;
    padding: 12px 30px;
}

.message-form .btn-reset:hover {
    background: #7f8c8d;
}

.message-info {
    width: 300px;
}

.message-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-details .icon-contact {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 12px;
}

.contact-details .contact-text h4 {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 3px;
}

.contact-details .contact-text p {
    font-size: 13px;
    color: var(--text-light);
}

.qrcode-section {
    text-align: center;
}

.qrcode-section h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.qrcode-img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: var(--radius);
}

/* 留言列表 */
.message-list-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.message-list .message-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.message-list .message-item:last-child {
    border-bottom: none;
}

.message-avatar {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.message-body {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.message-author {
    font-weight: 500;
    color: var(--text-color);
}

.message-time {
    font-size: 12px;
    color: var(--text-muted);
}

.message-content {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.message-reply {
    margin-top: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
}

.reply-header {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.reply-content {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
 * 底部样式
 * ======================================== */
.footer {
    background: #333;
    color: #ccc;
    margin-top: auto;
}

.footer-top {
    padding-top: 50px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.footer-col-content {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col-content p {
    margin-bottom: 8px;
}

.footer-col-content a {
    color: #ccc;
}

.footer-col-content a:hover {
    color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.qrcode {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.footer-bottom {
    background: #222;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-left {
    font-size: 13px;
    color: #888;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    font-size: 13px;
    color: #888;
}

.footer-bottom-right a:hover {
    color: var(--primary-color);
}

/* 固定客服 */
.fixed-kefu {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 1000;
}

.kefu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.kefu-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.kefu-btn i {
    font-size: 24px;
    margin-bottom: 3px;
}

.kefu-btn span {
    font-size: 12px;
}

.kefu-panel {
    position: fixed;
    right: 100px;
    bottom: 100px;
    width: 280px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    z-index: 1000;
}

.kefu-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
}

.close-kefu {
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

.kefu-panel-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.kefu-item {
    padding: 12px;
    background: #f8f8f8;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.kefu-name {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
}

.kefu-info {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.kefu-duty {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

.kefu-info a {
    color: var(--secondary-color);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: var(--transition);
}

.back-to-top a:hover {
    background: var(--primary-color);
}

.icon-top {
    font-size: 24px;
}

/* ========================================
 * 响应式设计
 * ======================================== */
@media (max-width: 1024px) {
    .header-main .container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
        display: none;
    }

    .header-search {
        order: 2;
    }

    .search-input {
        width: 180px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    .user-wrapper {
        flex-direction: column;
    }

    .user-sidebar {
        width: 100%;
    }

    .cate-wrapper {
        flex-direction: column;
    }

    .cate-sidebar {
        width: 100%;
    }

    .article-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .banner-slider {
        height: 280px;
        overflow: hidden;
    }

    .slideBox {
        height: 100%;
    }

    .slide-pagination {
        bottom: 20px !important;
    }

    .slide-pagination li {
        width: 10px !important;
        height: 10px !important;
        margin: 0 5px !important;
    }

    .slide-pagination li.on {
        width: 25px !important;
    }

    .banner-caption {
        padding: 25px 30px;
        opacity: 1;
        transform: translateY(0);
    }

    .banner-caption h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .banner-caption p {
        font-size: 13px;
        line-height: 1.5;
    }

    .banner-default img {
        height: 280px;
    }

    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slide-prev {
        left: 15px;
    }

    .slide-next {
        right: 15px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .services-grid,
    .news-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }

    .article-detail {
        padding: 20px;
    }

    .article-title {
        font-size: 18px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-actions {
        flex-direction: column;
    }

    .login-form-container,
    .reg-form-container {
        padding: 25px;
    }

    .login-title,
    .reg-title {
        font-size: 20px;
    }

    .message-content {
        flex-direction: column;
    }

    .message-info {
        width: 100%;
    }

    .verify-group {
        flex-direction: column;
    }

    .verify-img {
        width: 100%;
        max-width: 150px;
        height: auto;
    }

    .kefu-panel {
        right: 20px;
        bottom: 80px;
        width: 250px;
    }

    .fixed-kefu {
        right: 20px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header-main {
        padding: 10px 0;
    }

    .logo img {
        max-height: 45px;
    }

    .search-input {
        width: 120px;
        padding: 6px 10px;
    }

    .search-btn {
        width: 35px;
        height: 32px;
    }

    .swiper-container {
        height: 180px;
    }

    .services-section,
    .news-section,
    .cases-section,
    .qitu-section,
    .about-section,
    .contact-section {
        padding: 40px 0;
    }

    .service-item {
        padding: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-img {
        height: 150px;
    }

    .case-img {
        height: 180px;
    }

    .about-stats {
        gap: 15px;
    }

    .stat-item {
        min-width: 70px;
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .user-card {
        padding: 20px;
    }

    .user-avatar {
        width: 80px;
        height: 80px;
    }

    .userinfo-form .form-field {
        flex-direction: column;
        align-items: flex-start;
    }

    .userinfo-form .form-control {
        max-width: 100%;
    }

    .avatar-upload {
        flex-direction: column;
        text-align: center;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-item .article-img {
        height: 150px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ========================================
 * 打印样式
 * ======================================== */
@media print {
    .header,
    .footer,
    .fixed-kefu,
    .back-to-top {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .main {
        padding: 0;
    }

    .article-detail {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========================================
 * 搜索结果页样式
 * ======================================== */
.serch-main {
    padding: 30px 0;
    background: var(--bg-color);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 20px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--border-color);
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

/* 搜索结果容器 */
.serch-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 20px;
    overflow: hidden;
}

/* 搜索结果头部 */
.serch-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.serch-header h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.serch-header p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    background: var(--bg-color);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
}

/* 搜索表单 */
.serch-content {
    margin-top: 30px;
}

.serch-form-container {
    margin-bottom: 40px;
    text-align: center;
}

.serch-form {
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 10px;
    border-radius: 50px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.serch-group {
    display: flex;
    width: 100%;
    gap: 0;
    position: relative;
}

.serch-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    background: var(--bg-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.serch-input:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1), 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-serch {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), #e67e22);
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-serch:hover {
    background: linear-gradient(135deg, var(--primary-hover), #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* 搜索结果列表 */
.serch-results {
    margin-top: 40px;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 单个结果项 */
.result-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-color);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.result-item:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color);
}

.result-item:hover::before {
    transform: scaleY(1);
}

.result-link {
    display: flex;
    gap: 25px;
    width: 100%;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

/* 结果图片 */
.result-img {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.result-item:hover .result-img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.result-item:hover .result-img img {
    transform: scale(1.15);
}

/* 结果信息 */
.result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: var(--transition);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.result-item:hover .result-title {
    color: var(--primary-color);
}

.result-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.result-desc::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 20px;
    background: linear-gradient(to right, transparent, var(--bg-color));
    pointer-events: none;
}

.result-item:hover .result-desc::after {
    background: linear-gradient(to right, transparent, #fff);
}

/* 无结果状态 */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: var(--bg-color);
    border-radius: var(--radius);
    margin-top: 30px;
}

.no-results i {
    font-size: 80px;
    margin-bottom: 25px;
    display: block;
    color: var(--primary-color);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.no-results p {
    font-size: 18px;
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 搜索高亮 */
.search-highlight {
    background-color: #fff3cd;
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    animation: highlight 1s ease-in-out;
}

@keyframes highlight {
    0% {
        background-color: var(--primary-color);
        color: #fff;
    }
    100% {
        background-color: #fff3cd;
        color: var(--primary-color);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .serch-wrapper {
        padding: 30px 20px;
    }
    
    .result-item {
        padding: 25px;
    }
    
    .result-img {
        width: 160px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .serch-main {
        padding: 20px 0;
    }
    
    .serch-wrapper {
        padding: 25px 20px;
    }
    
    .serch-header h2 {
        font-size: 24px;
    }
    
    .serch-header p {
        font-size: 14px;
    }
    
    /* 结果项改为垂直排列 */
    .result-item {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .result-link {
        flex-direction: column;
    }
    
    /* 图片自适应 */
    .result-img {
        width: 100%;
        height: 200px;
    }
    
    /* 调整标题大小 */
    .result-title {
        font-size: 18px;
        margin-top: 0;
    }
    
    /* 搜索表单适配移动端 */
    .serch-form {
        padding: 8px;
    }
    
    .serch-input {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-serch {
        padding: 12px 25px;
        font-size: 14px;
        letter-spacing: 0;
    }
    
    /* 无结果状态适配移动端 */
    .no-results {
        padding: 60px 20px;
    }
    
    .no-results i {
        font-size: 60px;
    }
    
    .no-results p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .serch-wrapper {
        padding: 20px 15px;
    }
    
    .serch-header h2 {
        font-size: 20px;
    }
    
    .result-img {
        height: 160px;
    }
    
    .result-item {
        padding: 15px;
        gap: 15px;
    }
    
    .result-title {
        font-size: 16px;
    }
    
    .result-desc {
        font-size: 13px;
    }
    
    .no-results {
        padding: 40px 10px;
    }
    
    .no-results i {
        font-size: 48px;
    }
}
