/* 基础变量 */
:root {
    --max-width: 1200px;
    --primary-color: #8a4fff;
    --primary-glow: rgba(138, 79, 255, 0.4);
    --accent-color: #00e5ff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg-primary: #0a0a12;
    --bg-secondary: #151521;
    --glass-bg: rgba(20, 20, 30, 0.9);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --module-spacing: 15px;
    --card-radius: 16px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 2px 10px rgba(0, 0, 0, 0.1);
    --neumorphic-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.05);
    --neumorphic-inset-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
    --primary-color: #7c4dff;
    --primary-glow: rgba(124, 77, 255, 0.2);
    --accent-color: #00bcd4;
    --text-primary: #1a1a2e;
    --text-secondary: rgba(26, 26, 46, 0.7);
    --bg-primary: #f8f9ff;
    --bg-secondary: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --neumorphic-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
    --neumorphic-inset-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 主容器 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 0 var(--module-spacing);
    width: 100%;
}

/* 主内容区域 */
.main-content {
    display: flex;
    gap: var(--module-spacing);
    width: 100%;
    padding: 0;
}

/* 左侧内容区 (70%) */
.left-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: var(--module-spacing);
}

/* 右侧内容区 (30%) */
.right-content {
    width: 30%;
    position: sticky;
    top: 120px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: var(--module-spacing);
}

/* 模块通用样式 */
.module {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: var(--neumorphic-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.module-huan {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    box-shadow: var(--neumorphic-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.module-huan:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.module-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.module-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* 面包屑导航 - 优化设计 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    white-space: nowrap;
}

.breadcrumb-item {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    position: relative;
}

.breadcrumb-item:not(.active) {
    white-space: nowrap;
}

.breadcrumb-item:hover {
    color: var(--text-primary);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 500;
    pointer-events: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    font-size: 10px;
    margin: 0 2px;
}

.breadcrumb-item i {
    font-size: 11px;
}

/* 购买按钮样式 */
.shopping {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.shopping {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    overflow: visible;
}

.shopping a {
    position: relative;
    padding: 22px 48px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #2a6bb1, #3a8de0, #2a6bb1);
    background-size: 200% 100%;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(42, 107, 177, 0.4),
                0 5px 15px rgba(42, 107, 177, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: gradient-shift 4s ease infinite;
    text-decoration: none;
    overflow: visible;
}

.shopping a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(42, 107, 177, 0.6),
                0 8px 20px rgba(42, 107, 177, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #3a8de0, #4da5ff, #3a8de0);
    background-size: 200% 100%;
    letter-spacing: 1.5px;
    animation: gradient-shift 2s ease infinite, shine 1.5s ease infinite;
}

.shopping a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(42, 107, 177, 0.6),
                0 8px 20px rgba(42, 107, 177, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #3a8de0, #4da5ff, #3a8de0);
    background-size: 200% 100%;
    letter-spacing: 1.5px;
}

.shopping a:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(42, 107, 177, 0.5),
                0 4px 12px rgba(42, 107, 177, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

.shopping a::after {
    content: '限时特惠';
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}

.shopping a i {
    font-size: 26px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.shopping a span {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 7px 20px rgba(255, 71, 87, 0.6);
    }
}

@keyframes shine {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.3),
                    0 10px 25px rgba(42, 107, 177, 0.4),
                    0 5px 15px rgba(42, 107, 177, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
                    0 15px 35px rgba(42, 107, 177, 0.6),
                    0 8px 20px rgba(42, 107, 177, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.3),
                    0 10px 25px rgba(42, 107, 177, 0.4),
                    0 5px 15px rgba(42, 107, 177, 0.3);
    }
}

@media (max-width: 480px) {
    .shopping a {
        padding: 18px 36px;
        font-size: 19px;
    }
    
    .shopping a i {
        font-size: 22px;
    }
    
    .shopping a::after {
        font-size: 12px;
        padding: 5px 10px;
        top: -12px;
        right: -12px;
    }
}

/* 幻灯片模块 */
.slideshow-container {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--neumorphic-shadow);
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0 20px 30px;
}

.slide a{
    text-decoration: none;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 30px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 16px;
    border: none;
    box-shadow: none;
}

.slide-number {
    display: none;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: white;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 10px;
    font-weight: 400;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.tags-container {
    display: none;
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 4;
}

.slideshow-indicators {
    display: flex;
    gap: 8px;
}

.slideshow-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.slideshow-indicator.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
}

.slideshow-nav-buttons {
    display: flex;
    gap: 12px;
}

.slideshow-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
}

.slideshow-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--text-primary);
}

/* 图文推荐模块容器 - 统一模块样式 */
.image-text-module {
    /* 继承.module类的样式，确保边距一致 */
    margin: 0 auto;
    max-width: var(--max-width);
    width: 100%;
    box-sizing: border-box;
}

/* 图文推荐网格 */
.image-text-recommendations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 推荐卡片 */
.image-text-recommendations a {
  text-decoration: none;
  display: block;
  height: 100%;
  transition: opacity 0.2s ease;
}

.image-text-recommendations a:hover {
  opacity: 0.95;
}

.recommendation-card {
  background: var(--bg-secondary);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--neumorphic-inset-shadow);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recommendation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  background: linear-gradient(135deg, var(--bg-secondary), rgba(138, 79, 255, 0.05));
  border-color: var(--border-color);
}

/* 图片区域 */
.recommendation-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.recommendation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recommendation-card:hover .recommendation-image img {
  transform: scale(1.05);
}

.recommendation-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 10, 18, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recommendation-card:hover .recommendation-image::after {
  opacity: 1;
}

/* 内容区域 */
.recommendation-content {
  padding: 16px;
}

.recommendation-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommendation-card:hover .recommendation-title {
  color: var(--accent-color);
}

.recommendation-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* 文章列表模块 - 拟态设计 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-list a{
    text-decoration: none;
}

.article-item {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--neumorphic-inset-shadow);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.article-item:hover {
    transform: translateX(5px);
    box-shadow: var(--card-shadow);
    background: linear-gradient(135deg, var(--bg-secondary), rgba(138, 79, 255, 0.05));
}

.article-image {
    width: 240px;
    height: 144px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: var(--neumorphic-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.article-item:hover .article-image {
    transform: scale(1.02);
}

.article-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition);
    margin-bottom: 0;
}

.article-item:hover .article-title {
    color: var(--accent-color);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.article-tags a{
    text-decoration: none;
}

.article-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-tag:hover {
    background: var(--primary-glow);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.article-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* 右侧模块 - 赛博朋克风格 */
.right-module {
    display: flex;
    flex-direction: column;
    gap: var(--module-spacing);
}

.sidebar-section {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--neumorphic-shadow);
    border: 1px solid var(--border-color);
}

.sidebar-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
}

.sidebar-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* 作者卡片 */
.author-card {
    text-align: center;
    padding: 20px 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.author-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.author-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.follow-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 79, 255, 0.4);
}

/* 热门标签 */
/* 右侧文章列表样式 */
.sidebar-article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.sidebar-article-list a{
    text-decoration: none;
}

.sidebar-article-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-article-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    box-shadow: var(--neumorphic-shadow);
}

.sidebar-article-image {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    box-shadow: var(--neumorphic-shadow);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.sidebar-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sidebar-article-info {
    flex: 1;
    min-width: 0;
}

.sidebar-article-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sidebar-article-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 热门标签链接样式 */
.popular-tags .popular-tag-link {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    border: 1px solid var(--border-color);
    font-family: 'Font Awesome 6 Free', 'Inter', sans-serif;
}

/* 图标样式 */
.popular-tags .popular-tag-link::before {
    font-weight: 900;
    font-size: 0.8rem;
    margin-right: 6px;
    transition: all 0.3s ease;
}

.popular-tags .popular-tag-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

/* 为前15个热门标签链接设置不同的免费动物图标和颜色 */
.popular-tags a:nth-child(1) {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.popular-tags a:nth-child(1)::before {
    content: "\f6be"; /* fas fa-cat */
}

.popular-tags a:nth-child(1):hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.popular-tags a:nth-child(2) {
    color: #4ecdc4;
    border-color: rgba(78, 205, 196, 0.3);
}

.popular-tags a:nth-child(2)::before {
    content: "\f6d3"; /* fas fa-dog */
}

.popular-tags a:nth-child(2):hover {
    background: linear-gradient(135deg, #4ecdc4, #45b7aa);
    color: white;
}

.popular-tags a:nth-child(3) {
    color: #45b7d1;
    border-color: rgba(69, 183, 209, 0.3);
}

.popular-tags a:nth-child(3)::before {
    content: "\f6d5"; /* fas fa-dragon */
}

.popular-tags a:nth-child(3):hover {
    background: linear-gradient(135deg, #45b7d1, #3498db);
    color: white;
}

.popular-tags a:nth-child(4) {
    color: #96ceb4;
    border-color: rgba(150, 206, 180, 0.3);
}

.popular-tags a:nth-child(4)::before {
    content: "\e4d0"; /* fas fa-bugs */
}

.popular-tags a:nth-child(4):hover {
    background: linear-gradient(135deg, #96ceb4, #88d8b0);
    color: white;
}

.popular-tags a:nth-child(5) {
    color: #ffeaa7;
    border-color: rgba(255, 234, 167, 0.3);
}

.popular-tags a:nth-child(5)::before {
    content: "\f6c8"; /* fas fa-cow */
}

.popular-tags a:nth-child(5):hover {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    color: #2d3436;
}

.popular-tags a:nth-child(6) {
    color: #a29bfe;
    border-color: rgba(162, 155, 254, 0.3);
}

.popular-tags a:nth-child(6)::before {
    content: "\f520"; /* fas fa-crow */
}

.popular-tags a:nth-child(6):hover {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
}

.popular-tags a:nth-child(7) {
    color: #fd79a8;
    border-color: rgba(253, 121, 168, 0.3);
}

.popular-tags a:nth-child(7)::before {
    content: "\f4ba"; /* fas fa-dove */
}

.popular-tags a:nth-child(7):hover {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
}

.popular-tags a:nth-child(8) {
    color: #636e72;
    border-color: rgba(99, 110, 114, 0.3);
}

.popular-tags a:nth-child(8)::before {
    content: "\f52d"; /* fas fa-feather */
}

.popular-tags a:nth-child(8):hover {
    background: linear-gradient(135deg, #636e72, #2d3436);
    color: white;
}

.popular-tags a:nth-child(9) {
    color: #fdcb6e;
    border-color: rgba(253, 203, 110, 0.3);
}

.popular-tags a:nth-child(9)::before {
    content: "\e4f2"; /* fas fa-fish-fins */
}

.popular-tags a:nth-child(9):hover {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
}

.popular-tags a:nth-child(10) {
    color: #00b894;
    border-color: rgba(0, 184, 148, 0.3);
}

.popular-tags a:nth-child(10)::before {
    content: "\f52e"; /* fas fa-frog */
}

.popular-tags a:nth-child(10):hover {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
}

.popular-tags a:nth-child(11) {
    color: #0984e3;
    border-color: rgba(9, 132, 227, 0.3);
}

.popular-tags a:nth-child(11)::before {
    content: "\f6ed"; /* fas fa-hippo */
}

.popular-tags a:nth-child(11):hover {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    color: white;
}

.popular-tags a:nth-child(12) {
    color: #6c5ce7;
    border-color: rgba(108, 92, 231, 0.3);
}

.popular-tags a:nth-child(12)::before {
    content: "\f6f0"; /* fas fa-horse */
}

.popular-tags a:nth-child(12):hover {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}

.popular-tags a:nth-child(13) {
    color: #fd79a8;
    border-color: rgba(253, 121, 168, 0.3);
}

.popular-tags a:nth-child(13)::before {
    content: "\f535"; /* fas fa-kiwi-bird */
}

.popular-tags a:nth-child(13):hover {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
}

.popular-tags a:nth-child(14) {
    color: #e17055;
    border-color: rgba(225, 112, 85, 0.3);
}

.popular-tags a:nth-child(14)::before {
    content: "\e520"; /* fas fa-locust */
}

.popular-tags a:nth-child(14):hover {
    background: linear-gradient(135deg, #e17055, #d63031);
    color: white;
}

.popular-tags a:nth-child(15) {
    color: #fdcb6e;
    border-color: rgba(253, 203, 110, 0.3);
}

.popular-tags a:nth-child(15)::before {
    content: "\f700"; /* fas fa-otter */
}

.popular-tags a:nth-child(15):hover {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
}

/* 最新评论 */
.recent-comments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    display: flex;
    gap: 10px;
}

.comment-item:last-child {
    /* 移除所有特殊样式 */
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.comment-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* 右侧跟随效果 */
@media (min-width: 769px) {
    .right-content {
        position: sticky;
        top: 120px;
        height: fit-content;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding-left: var(--module-spacing);
        padding-right: var(--module-spacing);
    }
}

@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .left-content,
    .right-content {
        width: 100%;
    }
    
    .right-content {
        position: static;
    }
    
    .slideshow-container {
        height: 350px;
    }
    
    .slide {
        padding: 0 50px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    /* 平板端：保持2列布局 */
    .image-text-recommendations {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    /* 平板端：减小元素阴影距离 */
    .article-content-module .content img {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .article-content-module .content pre {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    .article-content-module .original-declaration {
        box-shadow: 
            0 1px 8px rgba(0, 0, 0, 0.03),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 768px) {
    .container {
        padding-top: 100px;
    }
    
    .module {
        padding: 20px;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .slide {
        padding: 0 15px 20px;
    }
    
    .slide-content {
        padding: 15px 20px;
        background: transparent;
        backdrop-filter: none;
        margin: 0 5px;
        border: none;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
	
	/* 移除不必要的margin-bottom，由grid的gap属性控制间距 */
    
    .article-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .article-image {
        width: 100%;
        height: 150px;
    }
    
    /* 手机端：1列布局 */
    .image-text-recommendations {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .slideshow-controls {
        padding: 0 15px;
        bottom: 15px;
    }
    
    .slideshow-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .module,
    .module-huan {
        padding: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    .slide {
        padding: 0 10px 15px;
    }
    
    .slide-content {
        padding: 12px 16px;
        background: transparent;
        backdrop-filter: none;
        margin: 0 5px;
        border: none;
    }
    
    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .slide-description {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .module-title {
        font-size: 1.3rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .slideshow-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        padding: 0 10px;
        bottom: 10px;
    }
    
    .slideshow-indicators {
        justify-content: center;
    }
    
    .slideshow-nav-buttons {
        justify-content: center;
    }
}

/* 分页控件样式 */
.pagination-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 15px 0;
}

/* 深色主题分页 */
[data-theme="dark"] .pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    padding: 12px 24px;
    border-radius: 35px;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 浅色主题分页 */
[data-theme="light"] .pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.5) 100%
    );
    padding: 12px 24px;
    border-radius: 35px;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(66, 153, 225, 0.2);
}

/* 深色主题分页数字 */
[data-theme="dark"] .pagination b,
[data-theme="dark"] .pagination a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 浅色主题分页数字 */
[data-theme="light"] .pagination b,
[data-theme="light"] .pagination a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.5) 100%
    );
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    border: 1px solid rgba(66, 153, 225, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 分页数字发光效果 - 深色主题 */
[data-theme="dark"] .pagination b::before,
[data-theme="dark"] .pagination a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(66, 153, 225, 0.3) 50%, 
        transparent 100%
    );
    transition: left 0.6s ease;
}

/* 分页数字发光效果 - 浅色主题 */
[data-theme="light"] .pagination b::before,
[data-theme="light"] .pagination a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(66, 153, 225, 0.2) 50%, 
        transparent 100%
    );
    transition: left 0.6s ease;
}

/* 分页数字悬停效果 - 深色主题 */
[data-theme="dark"] .pagination a:hover {
    background: linear-gradient(145deg, 
        rgba(66, 153, 225, 0.15) 0%, 
        rgba(66, 153, 225, 0.08) 100%
    );
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 16px rgba(66, 153, 225, 0.4),
        0 0 0 1px rgba(66, 153, 225, 0.3);
    border-color: rgba(66, 153, 225, 0.3);
}

/* 分页数字悬停效果 - 浅色主题 */
[data-theme="light"] .pagination a:hover {
    background: linear-gradient(145deg, 
        rgba(66, 153, 225, 0.15) 0%, 
        rgba(66, 153, 225, 0.08) 100%
    );
    color: #0f172a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 16px rgba(66, 153, 225, 0.3),
        0 0 0 1px rgba(66, 153, 225, 0.2);
    border-color: rgba(66, 153, 225, 0.4);
}

/* 分页数字悬停发光效果 */
.pagination a:hover::before {
    left: 100%;
}

/* 激活状态分页数字 - 深色主题 */
[data-theme="dark"] .pagination b {
    background: linear-gradient(145deg, #4299e1, #63b3ed);
    color: #ffffff;
    box-shadow: 
        0 6px 16px rgba(66, 153, 225, 0.5),
        0 0 0 1px rgba(66, 153, 225, 0.4);
    border-color: rgba(66, 153, 225, 0.5);
}

/* 激活状态分页数字 - 浅色主题 */
[data-theme="light"] .pagination b {
    background: linear-gradient(145deg, #4299e1, #63b3ed);
    color: #ffffff;
    box-shadow: 
        0 6px 16px rgba(66, 153, 225, 0.4),
        0 0 0 1px rgba(66, 153, 225, 0.3);
    border-color: rgba(66, 153, 225, 0.4);
}

/* 下一页按钮特殊样式 */
.pagination .nextpage {
    font-size: 18px;
    font-weight: 600;
}

/* 分页数字点击效果 */
.pagination a:active {
    transform: translateY(-1px) scale(0.98);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 响应式分页 - 768px以下 */
    .pagination {
        gap: 8px;
        padding: 10px 20px;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
        justify-content: flex-start;
        scrollbar-width: none; /* 隐藏Firefox滚动条 */
    }
    
    /* 隐藏Chrome/Safari滚动条 */
    .pagination::-webkit-scrollbar {
        display: none;
    }
    
    /* 隐藏部分分页数字，只显示当前页和相邻页 */
    .pagination a:not(:nth-child(-n+3)):not(:nth-last-child(-n+3)) {
        display: none;
    }
}

@media (max-width: 480px) {
    /* 响应式分页 - 480px以下 */
    .pagination {
        gap: 6px;
        padding: 8px 16px;
    }
    
    /* 进一步简化分页显示 */
    .pagination a:not(:nth-child(-n+2)):not(:nth-last-child(-n+2)) {
        display: none;
    }
}

/* 订阅区域样式 */
.subscribe-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.subscribe-description {
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.subscribe-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.subscribe-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 79, 255, 0.4);
}

/* 正文模块样式 */
.article-content-module {
    /* 继承.module类的基础样式，只保留特有样式 */
    margin: 0;
}

.article-content-module .article-container {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

.article-content-module .cyber-grid {
    display: none;
}

.article-content-module .article-header {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.article-content-module .article-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-color),
        var(--accent-color));
    border-radius: 3px;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.article-content-module h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%, 
        var(--accent-color) 50%,
        var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    text-align: left;
    
    /* 增强的阴影效果 */
    text-shadow: 
        0 2px 10px rgba(99, 102, 241, 0.2),
        0 4px 20px rgba(99, 102, 241, 0.15),
        0 8px 40px rgba(99, 102, 241, 0.1);
    
    /* 添加光晕伪元素 */
    &::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: linear-gradient(135deg, 
            rgba(99, 102, 241, 0.1) 0%,
            rgba(99, 102, 241, 0.05) 50%,
            rgba(99, 102, 241, 0.1) 100%);
        filter: blur(15px);
        z-index: -1;
        border-radius: 20px;
    }
}

.article-content-module .meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    justify-content: flex-start;
}

.article-content-module .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.article-content-module .meta-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.article-content-module .meta-item:hover {
    transform: translateY(-3px);
    border-color: rgba(138, 79, 255, 0.3);
    background: rgba(138, 79, 255, 0.08);
    box-shadow: 0 8px 25px rgba(138, 79, 255, 0.2);
    color: var(--text-primary);
}

.article-content-module .meta-item:hover::before {
    left: 100%;
}

.article-content-module .meta-item.category {
    background: linear-gradient(135deg, 
        rgba(138, 79, 255, 0.2), 
        rgba(0, 229, 255, 0.2));
    border-color: rgba(138, 79, 255, 0.4);
    color: var(--accent-color);
    font-weight: 600;
}

/* 确保分类链接样式与原样式一致 */
.article-content-module .meta-item.category a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* 确保悬停效果一致 */
.article-content-module .meta-item.category:hover a {
    color: var(--text-primary);
}

.article-content-module .content {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.article-content-module .content > * {
    margin-bottom: 25px;
}

.article-content-module .content h2,
.article-content-module .content h3,
.article-content-module .content h4,
.article-content-module .content h5,
.article-content-module .content h6 {
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
    position: relative;
    display: block;
    text-align: left;
    background: none;
    -webkit-background-clip: none;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: none;
}

.article-content-module .content h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.article-content-module .content h3 {
    font-size: 1.5rem;
    padding-left: 0;
    color: var(--text-primary);
}

.article-content-module .content h3::before {
    display: none;
}

.article-content-module .content h4 {
    font-size: 1.3rem;
}

.article-content-module .content h5 {
    font-size: 1.1rem;
}

.article-content-module .content h6 {
    font-size: 1rem;
}

.article-content-module .content p {
    /* 基础排版 */
    font-size: 1.15rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    word-spacing: 0.05em;
    color: var(--text-primary);
    
    /* 文本对齐与间距 */
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 28px;
    
    /* 阅读宽度优化 */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    
    /* 阅读体验优化 */
    font-weight: 400;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
    
    /* 移除不必要的样式 */
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: none;
}

.article-content-module .content p:hover {
    background: none;
    transform: none;
}

/* 首行缩进（可选，根据中文阅读习惯） */
.article-content-module .content p {
    text-indent: 2em;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-content-module .content p {
        font-size: 1.05rem;
        line-height: 1.8;
        max-width: 100%;
        text-indent: 1.5em;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .article-content-module .content p {
        font-size: 1rem;
        line-height: 1.7;
        text-indent: 1.2em;
        margin-bottom: 20px;
        letter-spacing: 0.01em;
    }
}

.article-content-module .content p span {
    background: linear-gradient(to right, #333333, #cccccc, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.9em;
    
    /* 改为块级元素并居中 */
    display: block;
    text-align: center; /* 文字居中 */
    margin: 0 auto; /* 现在 auto 会生效了 */
    width: fit-content; /* 宽度适应内容 */
}

.article-content-module .content strong {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content-module .content ul {
    padding-left: 30px;
    margin: 25px 0;
    list-style: none;
}

.article-content-module .content li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
    color: var(--text-primary);
}

.article-content-module .content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 0 10px var(--accent-color);
}

.article-content-module .content img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    box-shadow: 
        var(--card-shadow),
        0 8px 30px rgba(0, 0, 0, 0.08);
    margin: 30px auto;
    
    /* 添加磨砂玻璃效果遮罩 */
    position: relative;
    
    &:hover {
        transform: translateY(-4px);
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.15),
            0 5px 15px rgba(0, 0, 0, 0.08);
        border-color: rgba(99, 102, 241, 0.3);
    }
}

.article-content-module .content img + p {
    text-align: left;
    font-size: 0.8rem;
    background: linear-gradient(90deg, 
        rgba(100, 100, 100, 0.8), 
        rgba(100, 100, 100, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 8px 12px;
    margin-top: -15px;
    margin-bottom: 25px;
    position: relative;
    display: block;
    left: 0;
    transform: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
}

.article-content-module .content pre {
    background: #1e1e1e;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    margin: 30px 0;
    border: none;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    
    /* 终端顶部栏 */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 32px;
        background: #2d2d2d;
        border-radius: 8px 8px 0 0;
        display: flex;
        align-items: center;
        padding: 0 16px;
    }
    
    /* 终端按钮 */
    &::after {
        content: '';
        position: absolute;
        top: 12px;
        left: 16px;
        width: 48px;
        height: 8px;
        background: 
            radial-gradient(circle at 6px, #ff5f56 6px, transparent 7px) 0px 0px,
            radial-gradient(circle at 24px, #ffbd2e 6px, transparent 7px) 0px 0px,
            radial-gradient(circle at 42px, #27ca3f 6px, transparent 7px) 0px 0px;
    }
    
    /* 内容区域 */
    & > code {
        display: block;
        padding: 40px 20px 20px !important;
    }
}

.article-content-module .content code {
    font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    display: block;
    padding: 30px 25px 25px;
    overflow-x: auto;
    color: #ffffff;
    background: transparent;
}

/* 原创声明样式 - 来自原创+tag.htm */
.article-content-module .original-declaration {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.02) 0%,
        rgba(99, 102, 241, 0.03) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: calc(var(--card-radius) + 2px);
    padding: 26px;
    margin: 30px 0 40px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    
    /* 添加角标装饰 */
    &::after {
        content: '';
        position: absolute;
        top: -1px;
        right: -1px;
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, 
            var(--accent-color) 0%, 
            transparent 70%);
        border-radius: 0 var(--card-radius) 0 12px;
    }
    
    &:hover {
        transform: translateX(4px);
        background: linear-gradient(145deg, 
            rgba(255, 255, 255, 0.03) 0%,
            rgba(99, 102, 241, 0.05) 50%,
            rgba(255, 255, 255, 0.03) 100%);
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.08),
            0 4px 12px rgba(99, 102, 241, 0.1),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }
}

.article-content-module .original-declaration:hover {
    transform: translateY(-3px);
}

.article-content-module .original-declaration .copyright-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    color: var(--text-primary);
    gap: 12px;
}

.article-content-module .original-declaration .copyright-header i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.article-content-module .original-declaration .copyright-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: none;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: none;
    padding: 0;
    border: none;
}

.article-content-module .original-declaration .copyright-content {
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-content-module .original-declaration .copyright-content p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-content-module .original-declaration .copyright-content i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.article-content-module .original-declaration .copyright-content strong {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content-module .original-declaration .copyright-content .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* 目录模块样式 */
.article-content-module .toc-section {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.02) 0%,
        rgba(99, 102, 241, 0.03) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: calc(var(--card-radius) + 2px);
    padding: 26px;
    margin: 30px 0 40px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.article-content-module .toc-section::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        transparent 70%);
    border-radius: 0 var(--card-radius) 0 12px;
}

.article-content-module .toc-section:hover {
    transform: translateX(4px);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.03) 0%,
        rgba(99, 102, 241, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(99, 102, 241, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.article-content-module .toc-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    gap: 12px;
}

.article-content-module .toc-header i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.article-content-module .toc-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: none;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: none;
    padding: 0;
    border: none;
}

.article-content-module .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-content-module .toc-item {
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.article-content-module .toc-item::before {
    content: '▹';
    color: var(--accent-color);
    margin-right: 12px;
    font-weight: bold;
    transition: var(--transition);
    flex-shrink: 0;
}

.article-content-module .toc-item:hover::before {
    transform: translateX(5px);
    color: var(--primary-color);
}

.article-content-module .toc-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    flex: 1;
    transition: all 0.3s ease;
}

.article-content-module .toc-link:hover {
    color: var(--primary-color);
    background: rgba(138, 79, 255, 0.08);
    border-color: rgba(138, 79, 255, 0.3);
    transform: translateX(10px);
}

/* 目录项内容和时间布局 */
.article-content-module .toc-link-content {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-content-module .toc-link-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-left: 16px;
    flex-shrink: 0;
    transition: var(--transition);
}

.article-content-module .toc-link:hover .toc-link-time {
    color: var(--accent-color);
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .article-content-module .toc-link-time {
        font-size: 0.8rem;
        margin-left: 12px;
    }
}

@media (max-width: 768px) {
    .article-content-module .toc-section {
        padding: 20px;
        margin: 20px 0 30px;
    }
    
    .article-content-module .toc-header h2 {
        font-size: 1.2rem;
    }
    
    .article-content-module .toc-link {
        font-size: 0.95rem;
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .article-content-module .toc-link-time {
        font-size: 0.8rem;
        margin-left: 0;
        opacity: 0.8;
    }
    
    .article-content-module .toc-item:hover::before {
        transform: translateX(3px);
    }
    
    .article-content-module .toc-link:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .article-content-module .toc-section {
        padding: 16px;
    }
    
    .article-content-module .toc-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .article-content-module .toc-item::before {
        margin-right: 8px;
    }
}

/* 标签样式 - 优化为带动物图标的链接样式 */
.article-content-module .tags-section {
    margin: 30px 0;
}

.article-content-module .tags-section .tags-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    gap: 12px;
}

.article-content-module .tags-section .tags-header i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.article-content-module .tags-section .tags-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: none;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: none;
    padding: 0;
    border: none;
}

.article-content-module .tags-section .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* 标签链接样式 */
.article-content-module .tags-section .tag-link {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    border: 1px solid var(--border-color);
    font-family: 'Font Awesome 6 Free', 'Inter', sans-serif;
}

/* 图标样式 */
.article-content-module .tags-section .tag-link::before {
    font-weight: 900;
    font-size: 0.9rem;
    margin-right: 6px;
    transition: all 0.3s ease;
}

.article-content-module .tags-section .tag-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

/* 为前8个标签链接设置不同的免费动物图标和颜色 */
.article-content-module .tags-section .tags-container a:nth-child(1) {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(1)::before {
    content: "\f6be"; /* fas fa-cat */
}

.article-content-module .tags-section .tags-container a:nth-child(1):hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.article-content-module .tags-section .tags-container a:nth-child(2) {
    color: #4ecdc4;
    border-color: rgba(78, 205, 196, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(2)::before {
    content: "\f6d3"; /* fas fa-dog */
}

.article-content-module .tags-section .tags-container a:nth-child(2):hover {
    background: linear-gradient(135deg, #4ecdc4, #45b7aa);
    color: white;
}

.article-content-module .tags-section .tags-container a:nth-child(3) {
    color: #45b7d1;
    border-color: rgba(69, 183, 209, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(3)::before {
    content: "\f6d5"; /* fas fa-dragon */
}

.article-content-module .tags-section .tags-container a:nth-child(3):hover {
    background: linear-gradient(135deg, #45b7d1, #3498db);
    color: white;
}

.article-content-module .tags-section .tags-container a:nth-child(4) {
    color: #96ceb4;
    border-color: rgba(150, 206, 180, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(4)::before {
    content: "\e4d0"; /* fas fa-bugs */
}

.article-content-module .tags-section .tags-container a:nth-child(4):hover {
    background: linear-gradient(135deg, #96ceb4, #88d8b0);
    color: white;
}

.article-content-module .tags-section .tags-container a:nth-child(5) {
    color: #ffeaa7;
    border-color: rgba(255, 234, 167, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(5)::before {
    content: "\f6c8"; /* fas fa-cow */
}

.article-content-module .tags-section .tags-container a:nth-child(5):hover {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    color: #2d3436;
}

.article-content-module .tags-section .tags-container a:nth-child(6) {
    color: #a29bfe;
    border-color: rgba(162, 155, 254, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(6)::before {
    content: "\f520"; /* fas fa-crow */
}

.article-content-module .tags-section .tags-container a:nth-child(6):hover {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
}

.article-content-module .tags-section .tags-container a:nth-child(7) {
    color: #fd79a8;
    border-color: rgba(253, 121, 168, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(7)::before {
    content: "\f4ba"; /* fas fa-dove */
}

.article-content-module .tags-section .tags-container a:nth-child(7):hover {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
}

.article-content-module .tags-section .tags-container a:nth-child(8) {
    color: #636e72;
    border-color: rgba(99, 110, 114, 0.3);
}

.article-content-module .tags-section .tags-container a:nth-child(8)::before {
    content: "\f52d"; /* fas fa-feather */
}

.article-content-module .tags-section .tags-container a:nth-child(8):hover {
    background: linear-gradient(135deg, #636e72, #2d3436);
    color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .article-content-module .article-container {
        padding: 0;
    }
    
    .article-content-module h1 {
        font-size: 3rem;
    }
    
    /* 原创声明响应式 */
    .article-content-module .original-declaration {
        padding: 20px;
        margin: 20px 0 30px;
        gap: 15px;
    }
    
    .article-content-module .original-declaration .copyright-header h2 {
        font-size: 1.2rem;
    }
    
    .article-content-module .original-declaration .copyright-content p {
        font-size: 0.85rem;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .article-content-module .article-container {
        padding: 0;
        border-radius: 24px;
    }
    
    .article-content-module h1 {
        font-size: 2.2rem;
    }
    
    .article-content-module .meta-info {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .article-content-module .meta-item {
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .article-content-module .content h2 {
        font-size: 1.8rem;
        margin: 50px 0 25px;
    }
    
    .article-content-module .content h3 {
        font-size: 1.4rem;
        margin: 40px 0 20px;
    }
    
    .article-content-module .content img {
        height: 300px;
        margin: 40px 0;
        box-shadow: 
            0 3px 10px rgba(0, 0, 0, 0.08),
            0 1px 5px rgba(0, 0, 0, 0.03);
    }
    
    .article-content-module .content pre {
        margin: 40px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .article-content-module .content code {
        padding: 40px 25px 30px;
        font-size: 0.85rem;
    }
    
    /* 手机端：减小原创声明阴影 */
    .article-content-module .original-declaration {
        box-shadow: 
            0 1px 5px rgba(0, 0, 0, 0.02),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    
    .article-content-module .tags-section .tags-container {
        gap: 10px;
        margin: 40px 0 30px;
    }
    
    .article-content-module .tags-section .tag-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* 原创声明响应式 */
    .article-content-module .original-declaration {
        padding: 18px;
        margin: 20px 0 30px;
        gap: 12px;
    }
    
    .article-content-module .original-declaration .copyright-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .article-content-module .original-declaration .copyright-header h2 {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .article-content-module .original-declaration .copyright-content {
        gap: 10px;
    }
    
    .article-content-module .original-declaration .copyright-content p {
        font-size: 0.8rem;
        line-height: 1.5;
        display: block;
        gap: 6px;
        padding: 0;
    }
    
    .article-content-module .original-declaration .copyright-content i {
        margin-bottom: 5px;
        display: inline-block;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .article-content-module .article-container {
        padding: 0;
    }
    
    .article-content-module h1 {
        font-size: 1.9rem;
    }
    
    .article-content-module .content {
        font-size: 1rem;
    }
    
    .article-content-module .content img {
        height: 250px;
    }
    
    .article-content-module .tags-container {
        padding: 25px;
    }
    
    /* 原创声明响应式 */
    .article-content-module .original-declaration {
        padding: 15px;
        margin: 15px 0 25px;
        gap: 10px;
        border-radius: var(--card-radius);
    }
    
    .article-content-module .original-declaration .copyright-header h2 {
        font-size: 1rem;
        text-align: center;
    }
    
    .article-content-module .original-declaration .copyright-header i {
        font-size: 1.1rem;
    }
    
    .article-content-module .original-declaration .copyright-content {
        gap: 8px;
    }
    
    .article-content-module .original-declaration .copyright-content p {
        font-size: 0.75rem;
        line-height: 1.4;
        text-align: justify;
    }
    
    .article-content-module .original-declaration .copyright-content i {
        font-size: 0.8rem;
        margin-right: 5px;
    }
    
    .article-content-module .original-declaration .copyright-content .highlight {
        font-size: 0.78rem;
    }
}

/* 上下篇模块样式 */
.pagination-module {
    margin: var(--module-spacing) 0;
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: var(--module-spacing);
    box-shadow: var(--neumorphic-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination-module:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.pagination-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--module-spacing);
    flex-wrap: wrap;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--card-radius);
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
    max-width: 48%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pagination-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
    border-color: rgba(138, 79, 255, 0.4);
}

.pagination-btn:hover::before {
    left: 100%;
}

.pagination-btn.prev-btn {
    justify-content: flex-start;
}

.pagination-btn.next-btn {
    justify-content: flex-end;
}

.pagination-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.pagination-btn:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.pagination-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.pagination-btn.next-btn .pagination-content {
    align-items: flex-end;
    text-align: right;
}

.pagination-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination-btn:hover .pagination-label {
    color: var(--primary-color);
}

.pagination-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pagination-btn:hover .pagination-title {
    color: var(--accent-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .pagination-btn {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    
    .pagination-btn.prev-btn,
    .pagination-btn.next-btn {
        justify-content: center;
    }
    
    .pagination-btn .pagination-content,
    .pagination-btn.next-btn .pagination-content {
        align-items: center;
        text-align: center;
    }
    
    .pagination-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pagination-module {
        padding: 15px;
    }
    
    .pagination-btn {
        padding: 12px 16px;
        gap: 8px;
    }
    
    .pagination-btn i {
        font-size: 1rem;
    }
    
    .pagination-label {
        font-size: 0.75rem;
    }
    
    .pagination-title {
        font-size: 0.85rem;
    }
}

/* 上下篇模块样式 */
.article-nav-module {
    /* 使用父容器的gap属性控制间距，与其他模块保持一致 */
}

.article-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--module-spacing);
    flex-wrap: wrap;
    margin-top: 20px;
}

.article-nav-item {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--card-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 280px;
    max-width: calc(50% - var(--module-spacing) / 2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--neumorphic-inset-shadow);
}

.article-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.article-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
    border-color: rgba(138, 79, 255, 0.4);
}

.article-nav-item:hover::before {
    left: 100%;
}

.article-nav-item.prev-item {
    justify-content: flex-start;
}

.article-nav-item.next-item {
    justify-content: flex-end;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.article-nav-item:hover .nav-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(138, 79, 255, 0.4);
}

.nav-icon i {
    font-size: 1.2rem;
    color: white;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.article-nav-item.next-item .nav-content {
    align-items: flex-end;
    text-align: right;
}

.nav-label {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    transition: var(--transition);
    background: rgba(138, 79, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(138, 79, 255, 0.3);
}

.article-nav-item:hover .nav-label {
    background: rgba(138, 79, 255, 0.2);
    border-color: rgba(138, 79, 255, 0.5);
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-nav-item:hover .nav-title {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-nav-container {
        flex-direction: column;
        gap: var(--module-spacing);
    }
    
    .article-nav-item {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    
    .article-nav-item.prev-item,
    .article-nav-item.next-item {
        justify-content: flex-start;
    }
    
    .article-nav-item .nav-content,
    .article-nav-item.next-item .nav-content {
        align-items: flex-start;
        text-align: left;
    }
    
    .article-nav-item.next-item {
        flex-direction: row-reverse;
    }
    
    .nav-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .article-nav-item {
        padding: 16px;
        gap: 12px;
    }
    
    .nav-icon {
        width: 36px;
        height: 36px;
    }
    
    .nav-icon i {
        font-size: 1rem;
    }
    
    .nav-label {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .nav-title {
        font-size: 0.85rem;
    }
}

/* 主题切换适配 */
[data-theme="light"] {
    .module,
    .article-item,
    .recommendation-card,
    .sidebar-section {
        box-shadow: var(--neumorphic-shadow);
        background: var(--bg-secondary);
    }
    
    .article-image,
    .recommendation-image::after {
        box-shadow: var(--neumorphic-shadow);
    }
    
    .tag,
    .popular-tag {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-secondary);
    }
    
    .pagination {
        background: var(--bg-secondary);
        box-shadow: var(--neumorphic-shadow);
    }
}