/* 全局样式 */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Header 样式 */
.layui-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.layui-header.scrolled {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
}

.layui-nav {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.layui-nav .layui-nav-item {
    position: relative;
    margin: 0 10px;
}

.layui-nav .layui-nav-item.layui-logo {
    margin-right: auto;
}

.layui-nav .layui-nav-item a {
    color: #fff !important;
    padding: 15px 20px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.4;
}

.layui-nav .layui-nav-item a:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateY(-2px);
}

.layui-nav .layui-this a {
    color: #fff !important;
    background: rgba(255,255,255,0.2);
}

/* 二级菜单样式 */
.layui-nav .layui-nav-child {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: none;
    min-width: 150px;
    top: 100%;
}

.layui-nav .layui-nav-child dd {
    margin: 0;
}

.layui-nav .layui-nav-child dd a {
    color: #333 !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

.layui-nav .layui-nav-child dd a:hover {
    background: #f8fafc !important;
    color: #667eea !important;
}

.layui-nav .layui-nav-child dd:first-child a {
    border-radius: 8px 8px 0 0 !important;
}

.layui-nav .layui-nav-child dd:last-child a {
    border-radius: 0 0 8px 8px !important;
}

.layui-nav .layui-nav-more {
    position: static !important;
    margin-left: 0;
    font-size: 13px;
    transition: transform 0.3s ease;
    vertical-align: baseline;
    display: inline;
    line-height: inherit;
    opacity: 0.9;
    top: auto !important;
    right: auto !important;
}

.layui-nav .layui-nav-item:hover .layui-nav-more {
    transform: rotate(180deg);
}

/* Logo 样式 */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 28px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 登录按钮样式 */
.login-item .login-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
}

.login-item .login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    background: linear-gradient(45deg, #ff5252, #26a69a) !important;
}

.login-item .login-btn i {
    font-size: 16px !important;
    margin: 0 !important;
}

/* 手机端登录按钮样式 */
.mobile-login-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
    border: none !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-weight: 600 !important;
    margin: 10px 15px !important;
    text-align: center !important;
}

.mobile-login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    background: linear-gradient(45deg, #ff5252, #26a69a) !important;
}

.mobile-login-btn i {
    font-size: 18px !important;
}

/* 主要内容区域 */
.main-content {
    margin-top: 60px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.brand-highlight {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
    border: none !important;
    color: white !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

.cta-btn i {
    font-size: 16px !important;
    margin: 0 !important;
}

.learn-more-btn {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    padding: 13px 28px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.learn-more-btn:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.6) !important;
}

.learn-more-btn i {
    font-size: 16px !important;
    margin: 0 !important;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    padding: 20px;
}

.hero-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-description {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #764ba2;
    text-decoration: none;
}

.feature-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 文章模块样式 */
.articles-section {
    padding: 80px 0;
    background: #f8fafc;
}

.articles-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.articles-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    position: relative;
}

.articles-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.articles-section .section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #667eea;
}

.article-excerpt {
    color: #718096;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #a0aec0;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    font-size: 0.8rem;
}

.articles-footer {
    text-align: center;
    margin-top: 50px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(5px);
}

/* 手机端汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    padding: 15px;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #4ecdc4;
}

/* 桌面端菜单 */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

/* 手机端菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: 500px;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item > a,
.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-menu-item > a:hover,
.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4ecdc4;
}

.mobile-submenu-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-menu-item.active .mobile-submenu-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    background: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-item.active .mobile-submenu {
    max-height: 200px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 40px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

.mobile-submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4ecdc4;
    padding-left: 45px;
}

/* 响应式设计 - 平板和手机 */
@media (max-width: 768px) {
    .layui-nav {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Hero区域优化 */
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .cta-btn,
    .learn-more-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 40px;
        padding: 10px;
    }
    
    .hero-img {
        max-width: 90%;
        max-height: 90%;
    }
    
    /* 功能特色区域优化 */
    .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    /* 统计数据区域优化 */
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* 文章模块优化 */
    .articles-section {
        padding: 60px 0;
    }
    
    .articles-section .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .articles-section .section-title {
        font-size: 2rem;
    }
    
    .article-card {
        margin-bottom: 20px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .article-excerpt {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }
    
    .articles-more {
        margin-top: 40px;
        padding: 0 20px;
    }
    
    /* CTA区域优化 */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .cta-actions .layui-btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* 页脚优化 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-links-inline {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        height: 250px;
        padding: 5px;
    }
    
    .hero-img {
        max-width: 85%;
        max-height: 85%;
    }
    
    .mobile-menu-item > a,
    .mobile-menu-link {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .mobile-submenu a {
        padding: 10px 30px;
        font-size: 13px;
    }
    
    /* 功能特色进一步优化 */
    .features-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.3rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    /* 文章模块进一步优化 */
    .articles-section {
        padding: 50px 0;
    }
    
    .article-image {
        height: 160px;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-category {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    /* 统计数据进一步优化 */
    .stats-section {
        padding: 50px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* CTA区域进一步优化 */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}
flex-wrap: wrap;
}

/* 博客列表样式 */
.blog-list {
    margin: 40px 0;
}

.blog-item {
    margin-bottom: 30px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-item-content {
    display: flex;
    align-items: stretch;
    min-height: 200px;
}

.blog-image {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-details {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.blog-item .layui-card-header {
    border: none;
    padding: 0;
    margin-bottom: 15px;
}

.blog-item .layui-card-header h2 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-item .layui-card-header h2 a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-item .layui-card-header h2 a:hover {
    color: #667eea;
}

.blog-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #718096;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.blog-item .layui-card-body {
    flex: 1;
    padding: 0;
    margin-bottom: 20px;
}

.blog-excerpt p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.blog-tags {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-item .layui-card-footer {
    border: none;
    padding: 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 50px;
}

.blog-item .layui-btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    margin: 0;
    line-height: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .blog-item-content {
        flex-direction: column;
    }
    
    .blog-image {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .blog-item-content {
        min-height: auto;
    }
    
    .blog-image {
        flex: 0 0 180px;
    }
    
    .blog-details {
        padding: 20px;
    }
    
    .blog-item .layui-card-header h2 {
        font-size: 1.2rem;
    }
    
    .blog-meta {
        gap: 15px;
    }
    
    .blog-meta span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .blog-image {
        flex: 0 0 150px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-tags {
        gap: 6px;
    }
    
    .blog-tags .layui-badge {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
}

/* 原有的导航样式保持不变 */
@media (max-width: 768px) {
    .articles-section {
        padding: 60px 0;
    }
    
    .articles-section .section-title {
        font-size: 2rem;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Page Header Styles */
.page-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 0;
    margin: 0 0 30px 0;
    width: 100%;
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.page-subtitle {
    font-size: 1rem;
    color: #718096;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* Blog Detail Page Styles */
.breadcrumb-nav {
    margin: 20px 0;
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumb-nav a {
    color: #4299e1;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #3182ce;
    text-decoration: underline;
}

.breadcrumb-nav .current {
    color: #2d3748;
    font-weight: 500;
}

.breadcrumb-nav .layui-breadcrumb-sep {
    margin: 0 8px;
    color: #cbd5e0;
}

.blog-detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
}

.article-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #718096;
}

.article-meta i {
    font-size: 0.8rem;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.article-banner {
    margin: 0 0 30px 0;
    text-align: center;
}

.article-banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.article-banner figcaption {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 10px;
    font-style: italic;
}

.article-content {
    line-height: 1.8;
    color: #4a5568;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin: 30px 0 15px 0;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content blockquote {
    border-left: 4px solid #4299e1;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f7fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content blockquote p {
    margin: 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.article-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    margin-top: 40px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-buttons span {
    font-weight: 500;
    color: #2d3748;
}

.related-articles {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.related-articles h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 25px 0;
}

.related-article {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-article h4 {
    margin: 0 0 12px 0;
}

.related-article h4 a {
    color: #2d3748;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.related-article h4 a:hover {
    color: #4299e1;
}

.related-article p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.related-article .article-meta {
    margin: 0;
    font-size: 0.85rem;
}

.comments-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comments-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 25px 0;
}

.comment-form {
    margin-bottom: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.comment-list {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-header strong {
    font-weight: 600;
    color: #2d3748;
}

.comment-time {
    font-size: 0.85rem;
    color: #718096;
}

.comment-content p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Responsive Blog Detail */
@media (max-width: 768px) {
    .blog-detail {
        padding: 25px;
        margin: 20px 0;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-articles {
        padding: 20px;
    }
    
    .comments-section {
        padding: 20px;
    }
    
    .comment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .comment-avatar {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .blog-detail {
        padding: 20px;
        margin: 15px 0;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    .related-articles {
        padding: 15px;
    }
    
    .comments-section {
        padding: 15px;
    }
}

/* Responsive Page Header */
@media (max-width: 768px) {
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 25px 0;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #f7fafc;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .layui-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
}

.cta-actions .layui-btn i {
    font-size: 16px !important;
    margin: 0 !important;
}

/* Footer */
.layui-footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 60px 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-title i {
    margin-right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    transform: translateY(-2px);
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    margin: 0;
    color: #a0aec0;
}

.footer-links-inline {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.footer-links-inline a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-inline a:hover {
    color: #fff;
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: #f5f5f5;
    color: #333;
}

.language-option.active {
    background-color: #009688;
    color: #fff;
}

.language-option.active:hover {
    background-color: #00796b;
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
    .mobile-language-switcher {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .mobile-language-toggle {
        background: none;
        border: none;
        color: #fff;
        padding: 10px 15px;
        width: 100%;
        text-align: left;
        cursor: pointer;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
    }
    
    .mobile-language-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-language-dropdown {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        margin: 5px 15px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }
    
    .mobile-language-dropdown.show {
        max-height: 200px;
    }
    
    .mobile-language-option {
        display: block;
        width: 100%;
        padding: 10px 15px;
        color: #fff;
        text-decoration: none;
        border: none;
        background: none;
        text-align: left;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.2s ease;
    }
    
    .mobile-language-option:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    
    .mobile-language-option.active {
        background-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links-inline {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

/* ===== 登录页面样式 ===== */

/* 面包屑导航 */
.breadcrumb-nav {
    background-color: #f8fafc;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 60px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #764ba2;
}

.breadcrumb-item.active {
    color: #718096;
    cursor: default;
}

.breadcrumb-separator {
    color: #a0aec0;
}

/* 登录主内容区域 */
.login-main {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 登录图片区域 */
.login-image-col {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-image-wrapper {
    padding: 40px;
    text-align: center;
}

.login-image {
    max-width: 80%;
    height: auto;
    margin-bottom: 30px;
}

.login-image-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.login-image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.feature-item i {
    font-size: 1.2rem;
    color: #ff6b6b;
}

/* 登录表单区域 */
.login-form-col {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.login-header p {
    color: #718096;
    font-size: 1.1rem;
}

/* 登录表单 */
.login-form .layui-form-item {
    margin-bottom: 25px;
}

.login-form .layui-form-label {
    width: 50px;
    padding: 13px 15px;
    text-align: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px 0 0 8px;
    border: none;
}

.login-form .layui-form-label i {
    font-size: 16px;
}

.login-form .layui-input-block {
    margin-left: 50px;
}

.login-form .layui-input {
    height: 46px;
    border-radius: 0 8px 8px 0;
    border: 2px solid #e2e8f0;
    border-left: none;
    transition: all 0.3s ease;
}

.login-form .layui-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 验证码输入组 */
.verification-code-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verification-code-input {
    width: 150px;
    flex: none;
}

.verification-code-image {
    height: 46px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    transition: all 0.3s ease;
}

.verification-code-image:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* 登录按钮 */
.login-btn {
    height: 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.login-btn i {
    margin-right: 8px;
}

/* 登录页脚 */
.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-links {
    margin-bottom: 30px;
}

.forgot-password-link,
.register-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password-link:hover,
.register-link:hover {
    color: #764ba2;
}

.link-separator {
    color: #cbd5e0;
    margin: 0 15px;
}

/* 社交登录 */
.social-login {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.social-login-title {
    color: #718096;
    font-size: 14px;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    height: 46px;
    border-radius: 8px;
    font-size: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.social-btn i {
    margin-right: 8px;
}

.wechat-btn:hover {
    border-color: #07c160;
    color: #07c160;
}

.qq-btn:hover {
    border-color: #12b7f5;
    color: #12b7f5;
}

/* 响应式设计 - 移动端隐藏图片 */
@media (max-width: 768px) {
    .login-image-col {
        display: none;
    }
    
    .login-form-col {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .login-form .layui-form-label {
        width: 40px;
        padding: 13px 10px;
    }
    
    .login-form .layui-input-block {
        margin-left: 40px;
    }
    
    .verification-code-group {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .verification-code-input {
        width: 120px;
        flex: none;
    }
    
    .verification-code-image {
        height: 40px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

/* 平板设备优化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .login-image-col {
        min-height: 400px;
    }
    
    .login-image-wrapper {
        padding: 30px;
    }
    
    .login-image-content h2 {
        font-size: 1.5rem;
    }
    
    .login-image-content p {
        font-size: 1rem;
    }
}

/* 错误消息样式 */
.login-error {
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

/* 成功消息样式 */
.login-success {
    background-color: #c6f6d5;
    border: 1px solid #9ae6b4;
    color: #2f855a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

/* 加载状态 */
.login-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 用户头像样式 */
.user-avatar-item .user-avatar-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    color: #fff !important;
}

.user-avatar-item .user-avatar-link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.user-avatar-item:hover .user-avatar-img {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* 用户下拉菜单样式 */
.user-dropdown {
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
}

.user-dropdown dd a {
    color: #333 !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.user-dropdown dd a:hover {
    background: #f8fafc !important;
    color: #667eea !important;
}

.user-dropdown dd:first-child a {
    border-radius: 8px 8px 0 0 !important;
}

.user-dropdown dd:last-child a {
    border-radius: 0 0 8px 8px !important;
}

.dropdown-divider {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e2e8f0;
    height: 0;
}

.logout-link {
    color: #e53e3e !important;
}

.logout-link:hover {
    color: #c53030 !important;
    background: #fed7d7 !important;
}

/* 移动端用户头像样式 */
.mobile-user-avatar-item .mobile-user-avatar-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    color: #333 !important;
    margin: 10px 15px !important;
}

.mobile-user-avatar-item .mobile-user-avatar-link:hover {
    background: #f8fafc !important;
}

.mobile-user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.mobile-user-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.mobile-user-menu-item a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 20px !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
}

.mobile-user-menu-item a:hover {
    background: #f8fafc !important;
    color: #667eea !important;
}

.mobile-logout-link {
    color: #e53e3e !important;
}

.mobile-logout-link:hover {
    color: #c53030 !important;
    background: #fed7d7 !important;
}
