/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 亮色主题变量 */
:root {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #eeeeee;
    --accent-color: #007bff;
    --accent-hover: #0056b3;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 123, 255, 0.2);
}

/* 暗黑模式变量 - 通过类控制 */
.dark-mode {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-tertiary: #707070;
    --accent-color: #1e88e5;
    --accent-hover: #1976d2;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* 系统暗黑模式自动适配由JavaScript处理 */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    padding: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 屏幕阅读器优化类 */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 回到顶部按钮样式已移除 */

/* 分页组件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    margin: 0 4px;
}

.pagination a {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.pagination a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: var(--bg-tertiary);
}

.pagination li.active a {
    color: white;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
}

.pagination li.active a:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* 响应式分页样式 */
@media (max-width: 768px) {
    .pagination {
        margin: 20px 0 0 0;
    }
    
    .pagination li {
        margin: 0 2px;
    }
    
    .pagination a {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* 404错误页面样式 */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    background-color: var(--bg-color-light);
}

.error-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    line-height: 1;
}

.error-message {
    font-size: 1.25rem;
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* 标签样式 */
.site-tags {
    margin-top: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.site-tags strong {
    color: var(--text-primary);
    font-size: 14px;
    flex-shrink: 0;
}

/* 标签标签样式 */
.tags-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 8px;
    font-weight: 500;
}



.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-hover);
}

/* 标签云样式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.tag-cloud .tag-item {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-bottom: 8px;
}

.tag-cloud .tag-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-hover);
}

/* 标签大小根据权重变化 */
.tag-item.weight-1 { 
    font-size: 12px;
    opacity: 0.7;
}
.tag-item.weight-2 { 
    font-size: 14px;
    opacity: 0.8;
}
.tag-item.weight-3 { 
    font-size: 16px;
    opacity: 0.9;
}
.tag-item.weight-4 { 
    font-size: 18px;
    opacity: 1;
}
.tag-item.weight-5 { 
    font-size: 20px;
    opacity: 1;
    font-weight: bold;
}

/* 标签页面特定样式 */
.tags-page {
    padding: 30px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    margin-bottom: 30px;
}

/* 标签云页面样式 */
.page-detail .site-tags {
    margin: 30px 0;
    padding: 30px;
    background-color: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.page-detail .site-tags .tag-item {
    margin-right: 12px;
    margin-bottom: 12px;
}

.tags-page h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text-primary);
}

.tag-stats {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 响应式标签样式 */
@media (max-width: 768px) {
    .site-tags {
        margin-top: 10px;
        gap: 8px;
        padding: 15px;
    }
    
    .tag {
        padding: 3px 10px;
        font-size: 12px;
    }
    
    .tag-cloud {
        gap: 10px;
    }
    
    .tag-cloud .tag-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .tags-page {
        padding: 20px 15px;
    }
    
    .tags-page h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* 标签云页面响应式调整 */
    .page-detail .site-tags {
        margin: 20px 0;
        padding: 20px 15px;
    }
    
    .page-detail .site-tags .tag-item {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    /* 调整标签权重在移动端的显示大小 */
    .tag-item.weight-1 { font-size: 12px; }
    .tag-item.weight-2 { font-size: 13px; }
    .tag-item.weight-3 { font-size: 14px; }
    .tag-item.weight-4 { font-size: 16px; }
    .tag-item.weight-5 { font-size: 18px; }
}

/* 确保header使用flex布局，让logo和theme-toggle在同一行 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
}

/* 标题样式 */
h1 {
    font-size: 28px;
    color: var(--text-primary);
}

h2 {
    font-size: 24px;
    color: var(--text-primary);
}

h3 {
    font-size: 20px;
    color: var(--text-primary);
}

h4 {
    font-size: 18px;
    color: var(--text-primary);
}

h5, h6 {
    font-size: 16px;
    color: var(--text-primary);
}

/* 列表和链接基础样式 */
li {
    list-style: none;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

p {
    margin-bottom: 15px;
    margin-top: 10px;
    color: var(--text-primary);
}

/* 英雄区域样式 */
.hero-section {
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 移动端响应式 - 英雄区域 */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 24px;
    }
}

/* 英雄区域搜索框 */
.hero-search {
    display: flex;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.hero-search input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 2px 4px var(--shadow-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.hero-search input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.hero-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 24px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-search button:hover {
    background-color: var(--accent-hover);
}

/* 网站头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 25px 0;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    flex-shrink: 0;
}

/* 移动端响应式 - 搜索框和头部 */
@media (max-width: 768px) {
    .hero-search {
        max-width: 100%;
    }
    
    .hero-search input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .hero-search button {
        padding: 0 20px;
        font-size: 14px;
    }
    
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 20px;
    }
}

/* 隐藏右上角搜索框 */
.search {
    display: none;
}

/* 主导航样式 */
nav.nav {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px var(--shadow-color);
    position: relative;
    border-radius: 8px;
}

nav.nav ul {
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 隐藏滚动条但保留功能 */
nav.nav ul::-webkit-scrollbar {
    display: none;
}

nav.nav ul {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

nav.nav li {
    display: inline-block;
    white-space: nowrap;
}

nav.nav .nav-link {
    display: block;
    padding: 18px 24px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 600;
}

nav.nav .nav-link:hover {
    color: var(--accent-color);
}

nav.nav .nav-link.active {
    color: var(--accent-color);
}

/* 下划线滑动效果 */
nav.nav .nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    z-index: 2;
}

/* 面包屑导航样式 */
#breadcrumb {
    margin: 10px 0 20px 0;
    padding: 5px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

#breadcrumb a {
    color: var(--text-secondary);
}

#breadcrumb a:hover {
    color: var(--accent-color);
}

#breadcrumb i {
    color: var(--text-tertiary);
    font-size: 10px;
}

/* list-nav 导航样式 */
.list-nav {
    margin-bottom: 25px;
    padding: 0 0 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.list-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.list-nav li {
    list-style: none;
}

.list-nav a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--bg-tertiary);
    font-size: 16px;
    font-weight: 500;
    border: 1px solid transparent;
}

.list-nav a:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.list-nav a.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 2px 4px var(--shadow-hover);
}

/* 移动端响应式 - 导航 */
@media (max-width: 768px) {
    nav.nav {
        margin-bottom: 15px;
    }
    
    nav.nav ul {
        padding: 0 10px;
    }
    
    nav.nav .link {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .list-nav {
        margin-bottom: 20px;
    }
    
    .list-nav ul {
        gap: 10px;
    }
    
    .list-nav a {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    #breadcrumb {
        font-size: 11px;
        gap: 6px;
    }
}

/* 通用卡片样式 - 合并相似的容器样式 */
.website-section,
.hot-sites,
.site-detail,
.related-sites,
.website-list {
    padding: 30px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    margin-bottom: 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hot-sites {
    margin-bottom: 40px;
}

.related-sites {
    margin-bottom: 30px;
    padding: 20px;
}

.site-detail,
.website-list {
    padding: 20px;
}

/* 为site-detail内部子元素增加间距 */
.site-detail > * {
    margin-bottom: 30px;
}

.site-detail > *:last-child {
    margin-bottom: 0;
}

/* 热门推荐列表 */
.hot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.hot-item {
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    color: var(--text-primary);
}

.hot-item:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* 网站卡片网格 */
.website-grid,
.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* 大屏幕下每行显示6个元素 */
@media (min-width: 1200px) {
    .website-grid,
    .related-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 网站项目样式 */
.website-item {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.website-item:hover {
    transform: translateY(-3px);
}

/* 鼠标悬停时网站名变为蓝色 */
.website-item:hover .website-name {
    color: var(--accent-color);
}

/* Header styles */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.site-name {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: var(--text-primary);
}

.site-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.site-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
    align-items: center;
}

/* 内联标签样式 */
.site-tags-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.site-tags-inline .item {
    padding: 3px 10px;
    font-size: 12px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.site-tags-inline .item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px var(--shadow-hover);
}



/* 移动端响应式 - 卡片和网格 */
@media (max-width: 768px) {
    .website-section,
    .hot-sites {
        padding: 20px 15px;
    }
    
    .related-sites,
    .site-detail,
    .website-list {
        padding: 15px;
    }
    
    .hot-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .website-grid,
    .related-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .site-logo {
        margin-right: 0;
    }
    
    .site-name {
        font-size: 20px;
    }
    
    .site-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    /* 移动端内联标签样式 */
    .site-tags-inline {
        gap: 6px;
        margin: 0;
    }
    
    .site-tags-inline .item {
        padding: 2px 8px;
        font-size: 11px;
        border-radius: 12px;
    }
}

/* 访问按钮样式 */
.visit-btn {
    padding: 10px 24px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.visit-btn:hover {
    background-color: var(--accent-hover);
    color: white;
}

/* 网站图标样式 */
.website-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    margin-right: 15px;
    text-align: center;
    flex-shrink: 0;
}

/* 网站信息样式 */
.website-info {
    flex-grow: 1;
    min-width: 0;
}

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

.website-desc {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 移动端logo样式 */
.hui-header .site-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hui-header .site-logo img {
    max-height: 30px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* 暗黑模式切换按钮样式 - 确保在右上角 */
header .theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 0;
}

header .theme-toggle:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

/* 主题图标样式 */
.theme-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 18px;
}

/* 亮色模式下显示太阳图标，隐藏月亮图标 */
.theme-icon.light-icon {
    opacity: 1;
    transform: scale(1);
}

.theme-icon.dark-icon {
    opacity: 0;
    transform: scale(0.8);
}

/* 暗黑模式下显示月亮图标，隐藏太阳图标 */
:root.dark-mode .theme-icon.light-icon {
    opacity: 0;
    transform: scale(0.8);
}

:root.dark-mode .theme-icon.dark-icon {
    opacity: 1;
    transform: scale(1);
}

/* 网站底部样式 */
.footer {
    margin-top: 50px;
    padding: 30px 0 0 0;
    border-top: 1px solid var(--border-color);
}

.footer nav {
    margin-bottom: 20px;
}

.footer-nav {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-nav li {
    list-style: none;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

/* 页面标题样式 */
.page-header {
    margin: 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* 页面内容样式 */
.page-content {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
    margin-bottom: 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-primary);
}

.page-content ul,
.page-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.8;
    color: var(--text-primary);
}

.page-content ol li {
    list-style-type: decimal;
}

.page-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* 联系我们表单样式 */
.contact-form {
    margin-top: 20px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

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

.contact-form .submit-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
    background-color: var(--accent-hover);
}

/* SEO信息样式 */
.seo-info {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.seo-info p {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.seo-info p:last-child {
    margin-bottom: 0;
}

/* 底部版权信息 */
.copyright {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
    margin-top: 20px;
}

/* section-title样式 */
.section-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.section-title a:hover {
    color: var(--accent-color);
}

/* 隐藏section-more */
.section-more {
    display: none;
}

/* 移动端响应式 - 剩余组件 */
@media (max-width: 768px) {
    .website-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    .website-name {
        font-size: 15px;
    }
    
    .website-desc {
        font-size: 13px;
    }
    
    .visit-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .footer {
        margin-top: 40px;
        padding: 25px 0;
    }
    
    .footer-nav {
        gap: 10px;
    }
    
    .footer-nav a {
        font-size: 13px;
    }
    
    .page-header {
        margin: 20px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-content {
        padding: 20px 15px;
    }
    
    .page-content h2 {
        font-size: 20px;
    }
    
    .page-content h3 {
        font-size: 17px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .copyright {
        font-size: 12px;
    }
}