/* 搜索结果页面样式 */
.searchResultsPage {
    max-width: 1480px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.searchResultsPage .center {
    width: 100%;
}

/* 搜索结果头部 */
.searchHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    gap: 30px;
}

.searchHeaderLeft {
    flex: 1;
}

.searchTitle h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon {
    width: 28px;
    height: 28px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
    background-size: contain;
    flex-shrink: 0;
}

.keyword {
    color: #4CAF50;
    font-weight: normal;
}

.searchDesc {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.result-count {
    color: #4CAF50;
    font-weight: bold;
}

.searchHeaderRight {
    flex-shrink: 0;
    min-width: 320px;
}

/* 重新搜索表单 */
.newSearchForm {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.searchInputGroup {
    display: flex;
    gap: 10px;
}

.searchInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.searchInput:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.searchSubmit {
    padding: 12px 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.searchSubmit:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.search-btn-icon {
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
    background-size: contain;
}

/* 搜索筛选 */
.searchFilter {
    background: linear-gradient(135deg, #fff 0%, #f8fafb 100%);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
}

.searchFilter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 50%, #4CAF50 100%);
}

.filterSection {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filterLabel {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    min-width: 80px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filterTags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.filterTag {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    color: #5a6c7d;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e8ecf0;
    position: relative;
    overflow: hidden;
    min-width: 80px;
    text-align: center;
}

.filterTag:hover {
    color: #4CAF50;
    border-color: #4CAF50;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.filterTag.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
    font-weight: 600;
}

/* 搜索内容区域 */
.searchContentArea {
    display: flex;
    gap: 30px;
}

.searchContentLeft {
    flex: 1;
    max-width: calc(100% - 350px);
}

.searchContentRight {
    width: 320px;
    flex-shrink: 0;
}

/* 搜索结果容器 */
.searchResultsContainer {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* 搜索结果列表 */
.searchResultsList {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.resultItem {
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resultItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.resultLink {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* 搜索结果图片 */
.resultImg {
    position: relative;
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
}

.resultImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resultItem:hover .resultImg img {
    transform: scale(1.05);
}

.resultType {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* 搜索结果内容 */
.resultContent {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resultTitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.resultItem:hover .resultTitle {
    color: #4CAF50;
}

.resultDesc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
}

/* 搜索结果元信息 */
.resultMeta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.resultMeta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.resultMeta i {
    width: 14px;
    height: 14px;
    background-size: contain;
    opacity: 0.7;
}

.date-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"/></svg>');
}

.view-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>');
}

.download-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>');
}

/* 搜索结果标签 */
.resultTags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resultTag {
    background: #f0f8ff;
    color: #4CAF50;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e0f0e0;
}

/* 无搜索结果 */
.noResults {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.noResultsIcon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.noResultsTitle {
    font-size: 24px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.noResultsDesc {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.noResultsSuggestions {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.noResultsSuggestions h4 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.noResultsSuggestions ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.noResultsSuggestions li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* 无结果推荐 */
.noResultsRecommend {
    margin-top: 40px;
}

.noResultsRecommend h4 {
    color: #333;
    margin: 0 0 20px 0;
    font-size: 18px;
}

.recommendList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.recommendItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.recommendItem:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recommendItem img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

.recommendItem span {
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* 侧边栏 */
.searchSidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebarBox {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.boxTitle {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
}

.boxTitle h4 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-icon::before { content: "🔥"; }
.new-icon::before { content: "🆕"; }
.category-icon::before { content: "📂"; }

/* 热门搜索 */
.hotSearchList {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hotSearchItem {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.hotSearchItem:hover {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
    transform: translateY(-1px);
}

/* 最新内容 */
.newContentList {
    padding: 20px;
}

.newContentItem {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.newContentItem:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.newContentItem a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.newContentItem a:hover {
    color: #4CAF50;
}

.newContentImg {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.newContentImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newContentInfo {
    flex: 1;
    overflow: hidden;
}

.newContentInfo h5 {
    font-size: 14px;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.newContentDate {
    font-size: 12px;
    color: #999;
}

/* 分类列表 */
.categoryList {
    padding: 20px;
}

.categoryItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.categoryItem:last-child {
    border-bottom: none;
}

.categoryItem:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.categoryName {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.categoryCount {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* 广告位 */
.sidebarAd {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebarAd img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1480px) {
    .searchResultsPage {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1200px) {
    .searchResultsPage {
        padding: 0 15px;
    }
    
    .searchContentArea {
        flex-direction: column;
    }
    
    .searchContentLeft {
        max-width: 100%;
    }
    
    .searchSidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .searchHeader {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .searchHeaderRight {
        min-width: auto;
        width: 100%;
    }
    
    .searchFilter {
        padding: 20px;
    }
    
    .filterSection {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filterLabel {
        min-width: auto;
    }
    
    .filterTags {
        gap: 8px;
    }
    
    .filterTag {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .searchResultsContainer {
        padding: 20px;
    }
    
    .resultItem {
        margin-bottom: 15px;
    }
    
    .resultLink {
        flex-direction: column;
    }
    
    .resultImg {
        width: 100%;
        height: 180px;
    }
    
    .resultContent {
        padding: 15px;
    }
    
    .resultMeta {
        gap: 15px;
    }
    
    .noResults {
        padding: 60px 20px;
    }
    
    .recommendList {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .searchResultsPage {
        padding: 0 10px;
    }
    
    .searchHeader {
        padding: 15px;
    }
    
    .searchTitle h1 {
        font-size: 20px;
    }
    
    .searchDesc {
        font-size: 14px;
    }
    
    .newSearchForm {
        padding: 15px;
    }
    
    .searchInputGroup {
        flex-direction: column;
        gap: 8px;
    }
    
    .searchInput {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .searchSubmit {
        padding: 10px 16px;
        font-size: 13px;
        align-self: stretch;
        justify-content: center;
    }
    
    .searchFilter {
        padding: 15px;
    }
    
    .filterTag {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 60px;
    }
    
    .searchResultsContainer {
        padding: 15px;
    }
    
    .resultImg {
        height: 150px;
    }
    
    .resultContent {
        padding: 12px;
    }
    
    .resultTitle {
        font-size: 16px;
    }
    
    .resultDesc {
        font-size: 13px;
    }
    
    .resultMeta {
        font-size: 12px;
        gap: 12px;
    }
    
    .noResults {
        padding: 40px 15px;
    }
    
    .noResultsIcon {
        font-size: 48px;
    }
    
    .noResultsTitle {
        font-size: 20px;
    }
    
    .noResultsDesc {
        font-size: 14px;
    }
    
    .recommendList {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .recommendItem {
        padding: 12px;
    }
    
    .recommendItem img {
        width: 50px;
        height: 50px;
    }
    
    .recommendItem span {
        font-size: 11px;
    }
} 
/* 标签页面专用样式 */
.tagsCloudSection {
    margin-bottom: 40px;
}

.sectionTitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--defColor);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sectionTitle i {
    font-size: 18px;
    color: var(--defColor);
}

.tagsCloudDisplay {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    line-height: 2.5;
}

.tagsCloudDisplay .tag-item {
    display: inline-block;
    margin: 8px 12px;
    padding: 8px 16px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.tagsCloudDisplay .tag-item:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.tagsListSection {
    margin-bottom: 40px;
}

.tagsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.tagCard {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tagCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tagLink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
}

.tagInfo {
    flex: 1;
}

.tagName {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: block;
}

.tagCount {
    font-size: 14px;
    color: #666;
}

.tagArrow {
    color: var(--defColor);
    font-size: 16px;
}

.tag-count {
    font-size: 0.85em;
    opacity: 0.9;
    margin-left: 6px;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: normal;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tagsGrid {
        grid-template-columns: 1fr;
    }
    
    .tagsCloudDisplay {
        padding: 20px 15px;
    }
    
    .tagsCloudDisplay .tag-item {
        margin: 6px 8px;
        padding: 6px 12px;
        font-size: 13px;
    }
}


/* 标签信息卡片样式 */
.tagInfoCard {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}

.tagInfoItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.tagInfoItem:last-child {
    border-bottom: none;
}

.tagInfoLabel {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.tagInfoValue {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* 搜索结果标题中的small元素样式 */
.searchTitle h1 small {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
    display: block;
    margin-top: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .searchTitle h1 small {
        font-size: 12px;
        margin-top: 3px;
    }
    
    .tagInfoCard {
        padding: 12px;
    }
    
    .tagInfoItem {
        padding: 6px 0;
    }
    
    .tagInfoLabel,
    .tagInfoValue {
        font-size: 13px;
    }
}

/* 分页样式 - 与游戏列表页保持一致 */
.pageCode {
    display: flex;
    justify-content: center;
    font-size: 14px;
    padding: 30px 0 20px;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.pageCode ul {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.pageCode li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pageCode > span,
.pageCode li > span {
    line-height: 40px;
    margin-right: 0;
    color: #999;
    padding: 0 5px;
}

.pageCode a,
.pageCode li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 40px;
    line-height: 38px;
    background: #FFFFFF;
    color: #666666;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 0 15px;
    margin-right: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    font-weight: 500;
}

.pageCode a.pageNum,
.pageCode li a.pageNum {
    font-weight: bold;
    width: 40px;
    padding: 0;
    text-align: center;
}

.pageCode a:hover,
.pageCode li a:hover {
    color: var(--defColor);
    border-color: var(--defColor);
    background: var(--defShallowColor);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.2);
}

/* 当前页样式 - 支持current和active类 */
.pageCode a.current,
.pageCode li a.current,
.pageCode .current,
.pageCode li.current a,
.pageCode a.active,
.pageCode li a.active,
.pageCode .active,
.pageCode li.active a,
.pageCode span.active,
.pageCode li span.active,
.pageCode span.current,
.pageCode li span.current {
    background: linear-gradient(135deg, var(--defColor) 0%, #2d8f47 100%);
    border: 1px solid var(--defColor);
    color: #FFFFFF !important;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 40px;
    line-height: 38px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    cursor: default;
}

.pageCode a.current:hover,
.pageCode li a.current:hover,
.pageCode li.current a:hover,
.pageCode a.active:hover,
.pageCode li a.active:hover,
.pageCode li.active a:hover,
.pageCode span.active:hover,
.pageCode li span.active:hover,
.pageCode span.current:hover,
.pageCode li span.current:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.4);
    color: #FFFFFF !important;
}

.pageCode a:last-child,
.pageCode li:last-child a {
    margin-right: 0;
}

/* 分页导航按钮 */
.pageCode .prev,
.pageCode .next {
    padding: 0 12px;
    font-weight: 600;
}

/* 响应式分页样式 */
@media (max-width: 768px) {
    .pageCode {
        padding: 20px 0 15px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .pageCode ul {
        gap: 6px;
    }
    
    .pageCode a,
    .pageCode li a {
        height: 36px;
        line-height: 34px;
        padding: 0 12px;
        font-size: 13px;
        min-width: 36px;
    }
    
    .pageCode a.pageNum,
    .pageCode li a.pageNum {
        width: 36px;
    }
}

@media (max-width: 480px) {
    .pageCode {
        gap: 4px;
        padding: 15px 0 10px;
    }
    
    .pageCode ul {
        gap: 4px;
    }
    
    .pageCode a,
    .pageCode li a {
        height: 32px;
        line-height: 30px;
        padding: 0 8px;
        font-size: 12px;
        min-width: 32px;
    }
    
    .pageCode a.pageNum,
    .pageCode li a.pageNum {
        width: 32px;
    }
}

