/* 文章详情页样式 - 美化版本 */

/* 主内容区域布局优化 - 让article-container在container中居中 */
/* 使用更强的选择器和!important来覆盖Bootstrap和wordpress-post.css */
body .main-content.page.single-sites .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

body .main-content.page.single-sites .row {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
}

/* 覆盖Bootstrap的col-lg-8默认样式 - 加宽article-container */
body .main-content.page.single-sites .col-lg-8.col-md-10.col-12.mx-auto {
    width: 100% !important;
    max-width: 1200px !important; /* 从900px增加到1200px */
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    float: none !important; /* 覆盖Bootstrap的float: left */
}

/* 文章容器 */
body .main-content.page.single-sites .article-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 0 auto 40px auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 文章头部区域 */
.article-header-section {
    background: linear-gradient(135deg, #94a4ee 0%, #b28ada 100%);
    color: white;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.article-header-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.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* 英雄图片容器 */
.hero-image-container {
    position: relative;
    z-index: 2;
}

/* 缩略图链接样式 */
.hero-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hero-image-link:hover {
    text-decoration: none;
    color: inherit;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* 移除容器的强制比例设置，只让图片保持9:16比例 */
    width: 100%;
    height: auto; /* 让容器高度自适应内容 */
}

.hero-image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-image {
    width: 100%;
    height: auto; /* 让高度根据比例自动计算 */
    object-fit: cover;
    display: block;
    /* 设置正确的16:9横向比例 */
    aspect-ratio: 16/9; /* 设置宽高比为16:9（横向） */
    max-width: 100%; /* 最大宽度不超过容器 */
    min-height: 200px; /* 最小高度，适合横向比例 */
}

.placeholder-image {
    height: auto; /* 让高度根据比例自动计算 */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* 设置正确的16:9横向比例 */
    aspect-ratio: 16/9; /* 设置宽高比为16:9（横向） */
    max-width: 100%; /* 最大宽度不超过容器 */
    min-height: 200px; /* 最小高度，适合横向比例 */
}

.placeholder-content {
    text-align: center;
    color: #6c757d;
}

.placeholder-content i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.placeholder-content span {
    font-size: 16px;
    font-weight: 500;
}

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

.hero-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 48px;
    margin-bottom: 8px;
    display: block;
}

.overlay-content span {
    font-size: 16px;
    font-weight: 500;
}

/* 文章信息 */
.article-info {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

/* ===== 评论区域美化 - 横向布局 ===== */
.comments-area {
    margin-top: 4rem;
    padding: 3rem 2rem; /* 增加左右内边距 */
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    /* 横向布局优化 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.comments-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* 评论标题 */
.comments-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 评论列表 - 横向布局 */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* 自适应列数，最小400px宽度 */
    gap: 2rem;
    width: 100%;
}

.comment-list .comment {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 0; /* 移除底部边距，使用grid gap */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
    /* 横向布局优化 */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comment-list .comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 评论头像 */
.comment-list .avatar {
    border-radius: 50%;
    border: 3px solid #e8f4fd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 评论作者信息 */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .fn {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
    margin-left: 1rem;
}

.comment-author .says {
    display: none;
}

/* 评论时间 */
.comment-meta {
    margin-bottom: 1rem;
}

.comment-meta .comment-metadata {
    font-size: 0.9rem;
    color: #718096;
}

.comment-meta .comment-metadata a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-meta .comment-metadata a:hover {
    color: #3182ce;
}

/* 评论内容 */
.comment-content {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* 回复链接 */
.reply {
    margin-top: 1.5rem;
}

.reply a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.reply a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.reply a::before {
    content: '↩';
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* 评论表单美化 - 横向布局 */
.comment-respond {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f4fd;
    /* 横向布局优化 */
    width: 100%;
    max-width: 100%;
}

.comment-reply-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 表单字段 - 横向布局 */
.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 三列布局 */
    gap: 2rem;
    align-items: start;
}

/* 评论内容区域占满宽度 */
.comment-form .comment-form-comment {
    grid-column: 1 / -1; /* 跨越所有列 */
}

/* 网站字段占满宽度 */
.comment-form .comment-form-url {
    grid-column: 1 / -1; /* 跨越所有列 */
}

/* 保存信息复选框占满宽度 */
.comment-form .comment-form-cookies-consent {
    grid-column: 1 / -1; /* 跨越所有列 */
}

/* 提交按钮占满宽度 */
.comment-form .form-submit {
    grid-column: 1 / -1; /* 跨越所有列 */
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #4a5568;
    background: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* 必填字段标记 */
.comment-form .required {
    color: #e53e3e;
    font-weight: 600;
}

/* 提交按钮 */
.comment-form .submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    justify-self: center;
    min-width: 200px;
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.comment-form .submit:active {
    transform: translateY(0);
}

/* 保存信息复选框 */
.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.comment-form .comment-form-cookies-consent label {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

/* 无评论提示 */
.no-comments {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

/* 评论关闭提示 */
.comments-closed {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

/* 响应式设计 - 横向布局优化 */
@media (max-width: 1200px) {
    .comment-list {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 中等屏幕减少最小宽度 */
    }
    
    .comment-form {
        grid-template-columns: 1fr 1fr; /* 中等屏幕改为两列 */
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .comments-area {
        margin-top: 2rem;
        padding: 2rem 1rem;
        border-radius: 16px;
    }
    
    .comment-list {
        grid-template-columns: 1fr; /* 移动端改为单列 */
        gap: 1.5rem;
    }
    
    .comment-list .comment {
        padding: 1.5rem;
        margin-bottom: 0;
    }
    
    .comment-respond {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .comment-form {
        grid-template-columns: 1fr; /* 移动端改为单列 */
        gap: 1.5rem;
    }
    
    .comment-reply-title {
        font-size: 1.5rem;
    }
    
    .comments-title {
        font-size: 2rem;
    }
    
    .comment-form .submit {
        min-width: 100%;
    }
}

.category-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.category-badge i {
    margin-right: 8px;
    font-size: 16px;
}

.category-badge a {
    color: white;
    text-decoration: none;
}

/* 标题区域样式 */
.title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    flex: 1;
    min-width: 0;
}

/* 内联访问网站按钮样式 */
.visit-site-btn-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a27dff;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(162, 125, 255, 0.4);
    white-space: nowrap;
    border: 2px solid transparent;
}

.visit-site-btn-inline:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(162, 125, 255, 0.6);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.visit-site-btn-inline:active {
    transform: translateY(-1px) scale(1.02);
}

.visit-site-btn-inline i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.visit-site-btn-inline:hover i {
    transform: translateX(3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .visit-site-btn-inline {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 2rem;
    }
    
    .visit-site-btn-inline {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.article-description {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff !important;
    font-weight: 600;
}

.article-description p {
    color: #ffffff !important;
    margin: 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 文章内容区域 */
.article-content-section {
    padding: 60px 20px;
    background: #ffffff;
}

.content-wrapper {
    max-width: 100%;
    margin: 0;
    line-height: 1.8;
    font-size: 16px;
    color: #374151;
}

/* AI生成内容样式集成 */
.content-wrapper.ai-content-section {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #2d3748;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* AI内容标题样式 */
.content-wrapper.ai-content-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 4px solid #667eea;
    position: relative;
    line-height: 1.3;
}

.content-wrapper.ai-content-section h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.content-wrapper.ai-content-section h2 {
    font-size: 2.5rem; /* 从1.8rem增加到2.5rem */
    font-weight: 600;
    color: #2d3748;
    margin: 40px 0 20px 0;
    padding: 15px 0 10px 20px;
    border-left: 4px solid #667eea;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
}

.content-wrapper.ai-content-section h3 {
    font-size: 2.0rem; /* 从1.6rem增加到2.0rem */
    font-weight: 600;
    color: #4a5568;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    position: relative;
}

.content-wrapper.ai-content-section h3::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.8em;
}

.content-wrapper.ai-content-section h4 {
    font-size: 1.4rem; /* 从1.2rem增加到1.4rem，提高可读性 */
    font-weight: 600;
    color: #4a5568;
    margin: 25px 0 12px 0;
    padding-left: 12px;
    border-left: 3px solid #a0aec0;
}

/* AI内容段落样式 */
.content-wrapper.ai-content-section p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem */
    line-height: 1.8;
    color: #4a5568;
}

.content-wrapper.ai-content-section p:last-child {
    margin-bottom: 0;
}

/* AI内容强调文本 */
.content-wrapper.ai-content-section strong {
    color: #2d3748;
    font-weight: 700;
    background: linear-gradient(120deg, rgba(102, 126, 234, 0.2) 0%, transparent 100%);
    padding: 2px 4px;
    border-radius: 4px;
}

.content-wrapper.ai-content-section em {
    color: #667eea;
    font-style: italic;
    font-weight: 500;
}

/* AI内容表格样式 */
.content-wrapper.ai-content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.content-wrapper.ai-content-section th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.5rem; /* 从1.4rem增加到1.5rem */
    border: none;
    position: relative;
}

.content-wrapper.ai-content-section th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.content-wrapper.ai-content-section td {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem */
    line-height: 1.6;
    color: #2d3748;
    vertical-align: top;
}

.content-wrapper.ai-content-section tr:last-child td {
    border-bottom: none;
}

.content-wrapper.ai-content-section tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* AI内容列表样式 */
.content-wrapper.ai-content-section ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.content-wrapper.ai-content-section ul li {
    position: relative;
    padding: 12px 0 12px 35px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem，与段落保持一致 */
}

.content-wrapper.ai-content-section ul li:hover {
    border-left-color: #667eea;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    transform: translateX(5px);
}

.content-wrapper.ai-content-section ul li::before {
    content: '●';
    position: absolute;
    left: 15px;
    top: 12px;
    color: #667eea;
    font-size: 1.2em;
    font-weight: bold;
}

.content-wrapper.ai-content-section ol {
    margin: 20px 0;
    padding-left: 0;
    counter-reset: list-counter;
}

.content-wrapper.ai-content-section ol li {
    position: relative;
    padding: 12px 0 12px 50px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(118, 75, 162, 0.05) 0%, transparent 100%);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    counter-increment: list-counter;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem，与段落保持一致 */
}

.content-wrapper.ai-content-section ol li:hover {
    border-left-color: #764ba2;
    background: linear-gradient(90deg, rgba(118, 75, 162, 0.1) 0%, transparent 100%);
    transform: translateX(5px);
}

.content-wrapper.ai-content-section ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 15px;
    top: 8px;
    color: #764ba2;
    font-size: 1.1em;
    font-weight: bold;
    background: rgba(118, 75, 162, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI内容引用块样式 */
.content-wrapper.ai-content-section blockquote {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 5px solid #667eea;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-wrapper.ai-content-section blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.content-wrapper.ai-content-section blockquote::after {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.content-wrapper.ai-content-section blockquote p {
    margin: 0;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem，保持一致性 */
    line-height: 1.7;
}

/* AI内容代码样式 */
.content-wrapper.ai-content-section code {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 1.1em; /* 从0.9em增加到1.1em，提高代码可读性 */
    border: 1px solid #e2e8f0;
}

.content-wrapper.ai-content-section pre {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 25px 0;
    border: 1px solid #4a5568;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.content-wrapper.ai-content-section pre::before {
    content: '代码';
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(102, 126, 234, 0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 1em; /* 从0.8em增加到1em，提高标签可读性 */
    font-weight: 500;
}

.content-wrapper.ai-content-section pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
}

/* AI内容链接样式 */
.content-wrapper.ai-content-section a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.content-wrapper.ai-content-section a:hover {
    color: #5a67d8;
    border-bottom-color: #5a67d8;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    padding: 2px 4px;
}

/* AI内容图片样式 */
.content-wrapper.ai-content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 25px 0;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.content-wrapper.ai-content-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

/* AI内容特殊内容块 */
.content-wrapper.ai-content-section .highlight-box {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 2px solid #38b2ac;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    position: relative;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem，保持一致性 */
}

.content-wrapper.ai-content-section .highlight-box::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 1.2em;
    border: 2px solid #38b2ac;
}

.content-wrapper.ai-content-section .warning-box {
    background: linear-gradient(135deg, #fffaf0 0%, #fed7aa 100%);
    border: 2px solid #ed8936;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    position: relative;
    font-size: 1.5rem; /* 从1.3rem增加到1.5rem，保持一致性 */
}

.content-wrapper.ai-content-section .warning-box::before {
    content: '⚠️';
    position: absolute;
    top: -15px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 1.2em;
    border: 2px solid #ed8936;
}

/* ===== FAQ样式优化 - 解决分段问题 ===== */
/* 移除所有FAQ样式定义，由ai-content-unified.css统一控制 */
/* 
.content-wrapper.ai-content-section .faq-section,
.ai-content-wrapper.ai-content-section .faq-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.content-wrapper.ai-content-section .faq-title,
.ai-content-wrapper.ai-content-section .faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.content-wrapper.ai-content-section .faq-title::after,
.ai-content-wrapper.ai-content-section .faq-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.content-wrapper.ai-content-section .faq-item,
.ai-content-wrapper.ai-content-section .faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-wrapper.ai-content-section .faq-item:hover,
.ai-content-wrapper.ai-content-section .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.content-wrapper.ai-content-section .faq-question,
.ai-content-wrapper.ai-content-section .faq-question {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-bottom: 16px !important;
}

.content-wrapper.ai-content-section .faq-question:hover,
.ai-content-wrapper.ai-content-section .faq-question:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.content-wrapper.ai-content-section .faq-question::before,
.ai-content-wrapper.ai-content-section .faq-question::before {
    content: 'Q:';
    font-weight: 700;
    margin-right: 15px;
    font-size: 1.1em;
    opacity: 0.9;
}

.content-wrapper.ai-content-section .faq-question::after,
.ai-content-wrapper.ai-content-section .faq-question::after {
    content: '▼';
    font-size: 1.2em;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.content-wrapper.ai-content-section .faq-item.active .faq-question::after,
.ai-content-wrapper.ai-content-section .faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.content-wrapper.ai-content-section .faq-answer,
.ai-content-wrapper.ai-content-section .faq-answer {
    background: white;
    padding: 25px;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #4a5568;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 20px !important;
}

.content-wrapper.ai-content-section .faq-answer::before,
.ai-content-wrapper.ai-content-section .faq-answer::before {
    content: 'A:';
    font-weight: 700;
    color: #667eea;
    margin-right: 15px;
    font-size: 1.1em;
}

.content-wrapper.ai-content-section .faq-answer::before,
.ai-content-wrapper.ai-content-section .faq-answer::before {
    content: 'A:';
    font-weight: 700;
    color: #667eea;
    margin-right: 15px;
    font-size: 1.1em;
}

.content-wrapper.ai-content-section .faq-answer,
.ai-content-wrapper.ai-content-section .faq-answer {
    padding: 20px;
    font-size: 1.2rem;
}
*/

/* FAQ响应式优化 - 由ai-content-unified.css统一控制 */
/*
@media (max-width: 768px) {
    .content-wrapper.ai-content-section .faq-section,
    .ai-content-wrapper.ai-content-section .faq-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .content-wrapper.ai-content-section .faq-title,
    .ai-content-wrapper.ai-content-section .faq-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .content-wrapper.ai-content-section .faq-question,
    .ai-content-wrapper.ai-content-section .faq-question {
        padding: 18px 20px;
        font-size: 1.2rem;
    }
    
    .content-wrapper.ai-content-section .faq-answer,
    .ai-content-wrapper.ai-content-section .faq-answer {
        padding: 20px;
        font-size: 1.2rem;
    }
}
*/

/* AI内容分隔线样式 */
.content-wrapper.ai-content-section hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 40px 0;
    border-radius: 2px;
    position: relative;
}

.content-wrapper.ai-content-section hr::after {
    content: '✦';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
    color: #667eea;
    font-size: 1.2em;
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.content-wrapper h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #764ba2;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin: 30px 0 15px 0;
}

.content-wrapper p {
    margin-bottom: 20px;
    text-align: justify;
}

.content-wrapper ul, .content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-wrapper li {
    margin-bottom: 10px;
    padding: 8px 0;
}

/* 编号项样式 */
.numbered-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.numbered-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.numbered-item strong {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
    min-width: 35px;
    flex-shrink: 0;
}

/* 相关推荐区域 */
.related-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e7eb;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    position: relative;
}

.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;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 让整个卡片都可以点击 */
.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
    background: transparent;
}

/* 确保整个卡片都可以点击 */
.related-card {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 添加点击反馈效果 */
.related-card:active {
    transform: translateY(-4px) scale(0.98);
    transition: transform 0.1s ease;
}

/* 确保图片和文字在点击层之上 */
.related-image,
.related-info {
    position: relative;
    z-index: 2;
}



.related-image {
    height: 200px;
    overflow: hidden;
}

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

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

.related-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.related-placeholder i {
    font-size: 48px;
    opacity: 0.5;
}

.related-info {
    padding: 20px;
}

.related-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.related-info h4 {
    color: #1f2937;
    transition: color 0.3s ease;
}

.related-card:hover .related-info h4 {
    color: #667eea;
}

.related-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content.page.single-sites .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .main-content.page.single-sites .col-lg-8.col-md-10.col-12.mx-auto {
        max-width: 100%;
    }
    
    .article-header-section {
        padding: 40px 30px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-content-section,
    .related-section {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .main-content.page.single-sites .container {
        padding: 0 10px;
    }
    
    .main-content.page.single-sites .col-lg-8.col-md-10.col-12.mx-auto {
        max-width: 100%;
    }
    
    .article-header-section {
        padding: 30px 20px;
        text-align: center;
    }
    
    .article-info {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .placeholder-image {
        height: 250px;
    }
    
    .article-content-section,
    .related-section {
        padding: 30px 15px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .main-content.page.single-sites .container {
        padding: 0 5px;
    }
    
    .article-header-section {
        padding: 25px 15px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content-section,
    .related-section {
        padding: 25px 10px;
    }
    
    .tag-item {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-container {
    animation: fadeInUp 0.6s ease-out;
}

.hero-image-wrapper,
.article-info,
.content-wrapper,
.related-card {
    animation: fadeInUp 0.8s ease-out;
}

/* 滚动条美化 */
.content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.content-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.content-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* 特殊内容样式增强 */
.content-wrapper blockquote {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
}

.content-wrapper blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
    opacity: 0.3;
}

.content-wrapper code {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.content-wrapper pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
    border: 1px solid #2d3748;
}

.content-wrapper pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* 表格样式 */
.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-wrapper th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.content-wrapper td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.content-wrapper tr:hover {
    background: #f8fafc;
}

/* 链接样式 */
.content-wrapper a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.content-wrapper a:hover {
    color: #5a67d8;
    border-bottom-color: #5a67d8;
}

/* 图片样式 */
.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.content-wrapper img:hover {
    transform: scale(1.02);
}

/* JavaScript 增强功能样式 */

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 图片查看器 */
.image-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-viewer-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.viewer-controls {
    position: absolute;
    top: -50px;
    right: 0;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 返回顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* 阅读进度条 */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* 懒加载图片样式 */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy.loaded {
    opacity: 1;
}

/* 标签点击效果 */
.tag-item {
    cursor: pointer;
    user-select: none;
}

.tag-item:active {
    transform: scale(0.95);
}

/* 相关推荐卡片增强 */
.related-card {
    cursor: pointer;
}

/* 网站详情页特有样式 */

/* 访问网站按钮 */
.site-actions {
    margin-top: 30px;
}

.visit-site-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visit-site-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.visit-site-btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* 网站特色功能区域 */
.features-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e7eb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: #10b981;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-item span {
    color: #374151;
    font-weight: 500;
    font-size: 16px;
}

/* 相关推荐中的访问链接 */
.visit-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    padding: 6px 12px;
    background: #f8fafc;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.visit-link:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.visit-link i {
    margin-right: 6px;
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .image-viewer-overlay {
        padding: 10px;
    }
    
    .viewer-controls {
        top: -40px;
    }
    
    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .visit-site-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
} 