/* 游戏主题通用样式表 */
/* 适用于所有页面 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 固定下载栏 */
.fixed-download-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    height: 55px;
    background-color: #1890ff;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(24, 144, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.fixed-download-bar:hover {
    box-shadow: 0 -6px 20px rgba(24, 144, 255, 0.35);
    transform: translateX(-50%) translateY(-2px);
}
.fixed-download-bar a {
    display: block;
    height: 100%;
    line-height: 55px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.fixed-download-bar a:hover {
    background-color: #096dd9;
    letter-spacing: 1px;
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    padding-bottom: 120px; /* 预留底部下载栏空间 */
}

/* 游戏详情卡片 - 核心优化区域 */
.game-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* 手机端卡片优化 */
@media (max-width: 768px) {
    .game-card {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .fixed-download-bar {
        height: 48px;
        bottom: 15px;
        border-radius: 14px;
        width: 92%;
    }
    .fixed-download-bar a {
        line-height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* 最新资讯响应式设计 */
    .news-section {
        padding: 14px;
        margin-bottom: 16px;
    }
    
    .news-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .news-card {
        border-radius: 10px;
    }
    
    .news-img {
        height: 120px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .news-excerpt {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .news-meta {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .read-more {
        font-size: 13px;
    }
    
    /* 排行榜响应式设计 */
    .ranking-section {
        padding: 14px;
        margin-bottom: 16px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .ranking-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .ranking-item {
        border-radius: 10px;
    }
    
    .ranking-img {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    
    .ranking-img img {
        padding: 6px;
    }
    
    .ranking-info {
        padding: 12px;
    }
    
    .ranking-info h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .ranking-desc {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .ranking-download a {
        padding: 8px 0;
        border-radius: 7px;
        font-size: 13px;
    }
    .game-card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    .fixed-download-bar {
        height: 44px;
        bottom: 10px;
        border-radius: 12px;
        width: 94%;
    }
    .fixed-download-bar a {
        line-height: 44px;
        font-size: 15px;
    }
}

/* 游戏头部信息 - 重新设计的自适应布局 */
.game-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.game-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.2;
}

.intro-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.intro-tag i {
    margin-left: 6px;
}

.game-cover {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid #f0f7ff;
    box-shadow: 0 3px 12px rgba(24, 144, 255, 0.15);
}

.game-cover img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* 平板设备适配 */
@media (max-width: 768px) {
    .game-header {
        gap: 20px;
        padding: 16px;
    }
    .game-cover {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
    .game-title {
        font-size: 28px;
    }
    .intro-tag {
        font-size: 13px;
        padding: 5px 10px;
    }
}

/* 手机设备适配 */
@media (max-width: 480px) {
    .game-header {
        gap: 15px;
        padding: 14px;
        flex-wrap: wrap;
    }
    .game-cover {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }
    .game-title {
        font-size: 24px;
    }
    .intro-tag {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* 游戏核心信息区 - 优化的自适应布局 */
.game-core-info {
    margin: 25px 0;
}

.basic-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    padding: 16px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.basic-info > div {
    display: flex;
    align-items: center;
}

.basic-info span {
    color: #333;
    font-weight: 600;
    margin-right: 6px;
}

/* 标签组 */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
    justify-content: flex-start;
}

.tag-item {
    background-color: #f0f4ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #3366cc;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid #e0e8ff;
}

.tag-item:hover {
    background-color: #e0e8ff;
    color: #2a5298;
    transform: translateY(-1px);
}

/* 平板设备适配 */
@media (max-width: 768px) {
    .game-core-info {
        margin: 20px 0;
    }
    
    .basic-info {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        margin-bottom: 16px;
        padding: 14px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .tag-group {
        gap: 8px;
    }
    
    .tag-item {
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* 手机设备适配 */
@media (max-width: 480px) {
    .game-core-info {
        margin: 15px 0;
    }
    
    .basic-info {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 14px;
        padding: 12px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .tag-group {
        gap: 6px;
        justify-content: flex-start;
    }
    
    .tag-item {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* 下载按钮组 - 优化样式 */
.download-group {
    display: flex;
    gap: 16px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}
.download-btn {
    flex: 1;
    min-width: 150px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* 手机端下载按钮优化 */
@media (max-width: 768px) {
    .download-group {
        gap: 14px;
        margin: 25px 0 10px;
    }
    .download-btn {
        min-width: 120px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        gap: 6px;
        border-radius: 8px;
    }
    .download-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .download-group {
        gap: 12px;
        margin: 20px 0 8px;
    }
    .download-btn {
        width: 100%;
        height: 48px;
        line-height: 48px;
        font-size: 16px;
        gap: 6px;
        border-radius: 8px;
    }
    .download-icon {
        font-size: 18px;
    }
}
.download-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}
.download-btn:hover::after {
    left: 100%;
}
.android-btn {
    background-color: #36d399;
    color: #fff;
    box-shadow: 0 4px 12px rgba(54, 211, 153, 0.2);
}
.android-btn:hover {
    background-color: #28c78e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(54, 211, 153, 0.3);
}
.ios-btn {
    background-color: #007aff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}
.ios-btn:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.3);
}
.download-icon {
    font-size: 18px;
}

/* 归档标题 */
.archive-header {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.archive-title {
    font-size: 24px;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.archive-description {
    color: #666;
    line-height: 1.8;
}

/* 归档内容 */
.archive-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

/* 分类内容 */
.category-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

/* 返回全部分类按钮 */
.back-to-archive {
    margin-top: 16px;
}
.back-to-archive a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.back-to-archive a:hover {
    background-color: #e8f4ff;
    color: #1890ff;
}

/* 分类列表 */
.category-list {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* 标签云 */
.tag-cloud {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud-item {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 15px;
    transition: all 0.3s;
}
.tag-cloud-item:hover {
    background-color: #e8f4ff;
    color: #1890ff;
}
.category-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}
.category-list ul {
    margin-top: 16px;
}
.category-item {
    margin-bottom: 8px;
}
.category-item a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #666;
    transition: all 0.3s;
}
.category-item a:hover,
.category-item.active a {
    background-color: #e8f4ff;
    color: #1890ff;
}
.category-item .count {
    float: right;
    color: #999;
}

/* 文章列表 */
.post-list {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.post-list-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}
.posts-list {
    margin-top: 16px;
}
.post-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.post-item:last-child {
    border-bottom: none;
}
.post-header {
    margin-bottom: 12px;
}
.post-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.post-title a {
    color: #333;
    transition: color 0.3s;
}
.post-title a:hover {
    color: #1890ff;
}
.post-meta {
    display: flex;
    color: #999;
    font-size: 12px;
}
.post-meta span {
    margin-right: 16px;
}
.post-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}
.post-more {
    margin-top: 8px;
}
.post-more a {
    display: inline-block;
    color: #1890ff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}
.post-more a:hover {
    color: #096dd9;
}

/* 游戏文章资讯板块 */
.news-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
.news-item {
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fafafa;
}
.news-item:last-child {
    margin-bottom: 0;
}
.news-item:hover {
    background-color: #f0f7ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
}
.news-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
}
.news-left {
    flex: 1;
    min-width: 0;
    margin-right: 20px;
}
.news-right {
    min-width: 120px;
    text-align: right;
}
.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-title:hover {
    color: #1890ff;
}
.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}
.news-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-size: 13px;
    color: #999;
    margin-bottom: 0;
    margin-top: 0;
}
.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* 分页样式 */
.pagination {
    margin-top: 30px;
    text-align: center;
}
.pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #1890ff;
    color: #fff;
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    width: auto;
    padding: 0 12px;
}

/* 游戏排行 */
.ranking-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    color: #1890ff;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ranking-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 16px 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.ranking-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.ranking-icon {
    width: 64px;
    height: 64px;
    margin-right: 0;
    flex-shrink: 0;
    background-color: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #f5f5f5;
}

.ranking-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: none;
}

.ranking-item:hover .ranking-icon img {
    transform: none;
}

.ranking-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ranking-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ranking-title a:hover {
    color: #1890ff;
}

.ranking-download {
    margin-left: 0;
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}

.ranking-download a {
    display: inline-block;
    text-align: center;
    padding: 8px 20px;
    background-color: #1890ff;
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
}

.ranking-download a:hover {
    background-color: #40a9ff;
    transform: none;
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.2);
}

/* 平板响应式设计 */
@media (max-width: 1023px) {
    .ranking-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 手机响应式设计 */
@media (max-width: 767px) {
    .ranking-section {
        padding: 15px;
        border-radius: 12px;
    }
    
    .ranking-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .ranking-item {
        padding: 12px 8px;
        border-radius: 10px;
    }
    
    .ranking-icon {
        width: 56px;
        height: 56px;
        margin-right: 0;
        margin-bottom: 8px;
        border-radius: 10px;
    }
    
    .ranking-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .ranking-download {
        width: 100%;
        text-align: center;
    }
    
    .ranking-download a {
        width: 100%;
        padding: 6px 0;
        font-size: 12px;
        border-radius: 8px;
    }
}

/* 文章页面样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .container {
        display: flex;
        justify-content: space-between;
        gap: 24px;
    }
    
    .main-content {
        flex: 1;
        min-width: 0;
    }
    
    .sidebar {
        width: 320px;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .sidebar {
        margin-top: 20px;
    }
    
    .article-content {
        padding: 20px;
        border-radius: 12px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-body {
        font-size: 15px;
    }
    
    .article-body p {
        margin-bottom: 16px;
    }
    
    .article-body h2 {
        font-size: 20px;
        margin: 24px 0 12px;
    }
    
    .article-body h3 {
        font-size: 18px;
        margin: 20px 0 10px;
    }
    
    .article-body h4 {
        font-size: 16px;
        margin: 16px 0 8px;
    }
    
    .related-articles {
        padding: 20px;
        border-radius: 12px;
    }
    
    .related-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tab-container {
        padding: 20px;
        border-radius: 12px;
    }
}

.article-content {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    border: 1px solid #f0f0f0;
}

/* 简单版游戏详情部分样式 */
.simple-game-info {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .simple-game-info {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .simple-game-info {
        padding: 16px;
    }
}

.article-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.article-container {
    margin-top: 24px;
}

.article-wrapper {
    max-width: 100%;
}

.article-meta-top {
    margin-bottom: 8px;
}

.article-category {
    display: inline-block;
    background-color: #e8f4ff;
    color: #1890ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.article-title {
    font-size: 24px;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 700;
}

@media (min-width: 768px) {
    .article-content {
        padding: 32px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .container {
        display: block;
    }
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #999;
    font-size: 14px;
    margin-bottom: 24px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-body {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

.article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-body h2 {
    font-size: 24px;
    color: #222;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1890ff;
    font-weight: 600;
}

.article-body h3 {
    font-size: 20px;
    color: #222;
    margin: 24px 0 12px;
    font-weight: 600;
}

.article-body h4 {
    font-size: 18px;
    color: #222;
    margin: 20px 0 10px;
    font-weight: 600;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body a {
    color: #1890ff;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-body a:hover {
    color: #096dd9;
}

.article-body blockquote {
    border-left: 4px solid #1890ff;
    padding: 12px 16px;
    margin: 20px 0;
    background-color: #f0f7ff;
    border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
    margin-bottom: 0;
    color: #666;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.article-tags {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.article-tags-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #666;
}

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

.article-tag {
    background-color: #f5f5f5;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
}

.article-tag:hover {
    background-color: #e8f4ff;
    color: #1890ff;
}

/* 相关文章 */
.related-articles {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    border: 1px solid #f0f0f0;
}

.related-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .related-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

.related-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.related-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

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

.related-item:hover .related-image img {
    transform: scale(1.08);
}

.related-content {
    padding: 16px;
}

.related-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.related-content h4 a {
    color: #333;
    transition: color 0.3s;
}

.related-content h4 a:hover {
    color: #1890ff;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* 标签切换区域样式 */
.tab-container {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    background-color: #f5f5f5;
    padding: 6px;
    border-radius: 12px;
}

.tab-nav-item {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    background-color: transparent;
}

.tab-nav-item:hover {
    color: #1890ff;
    background-color: rgba(24, 144, 255, 0.1);
}

.tab-nav-item.active {
    color: #fff;
    font-weight: 600;
    background-color: #1890ff;
}

.tab-nav-item.active::after {
    display: none;
}

/* 标签导航响应式设计 */
@media (max-width: 768px) {
    .tab-nav {
        gap: 6px;
        padding: 5px;
        border-radius: 10px;
    }
    
    .tab-nav-item {
        padding: 10px 14px;
        font-size: 15px;
        border-radius: 7px;
    }
}

@media (max-width: 480px) {
    .tab-nav {
        gap: 4px;
        padding: 4px;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    .tab-nav-item {
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 福利礼包样式 */
.code-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

.code-list {
    list-style: none;
    margin-bottom: 24px;
}

.code-list li {
    padding: 12px 16px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.code-list li:hover {
    background-color: #fafafa;
    border-color: #d9d9d9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

/* 礼包码和内容样式 */
.gift-code-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gift-code-item .gift-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.gift-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1890ff;
    padding: 4px 10px;
    background-color: #f0f7ff;
    border-radius: 4px;
    user-select: none;
    border: 1px solid #d6e4ff;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    font-size: 14px;
}

.gift-content {
    color: #666;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

/* 复制按钮样式 */
.copy-button {
    padding: 6px 14px;
    background-color: #1890ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(24, 144, 255, 0.2);
}

.copy-button:hover {
    background-color: #40a9ff;
    box-shadow: 0 2px 5px rgba(24, 144, 255, 0.3);
}

.copy-button:active {
    background-color: #096dd9;
    transform: translateY(1px);
}

.copy-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* 旧格式兼容样式 */
.code-list li:not(.gift-code-item) {
    padding: 12px 16px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.code-link {
    display: block;
    text-align: center;
    color: #1890ff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 礼品容器样式（新结构） */
.gift-container {
    margin-bottom: 20px;
}

.gift-container > div {
    margin-bottom: 12px;
    padding: 12px 16px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gift-container .gift-code-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gift-container .gift-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gift-container .gift-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1890ff;
    padding: 4px 10px;
    background-color: #f0f7ff;
    border-radius: 4px;
    user-select: none;
    border: 1px solid #d6e4ff;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    font-size: 14px;
}

.gift-container .gift-content {
    color: #666;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

.gift-container .copy-button {
    margin-top: 4px;
}

/* 响应式设计 - 手机屏幕优化（仅针对福利礼包板块） */
@media (max-width: 768px) {
    /* 调整礼包码容器（旧结构） */
    .code-list li {
        padding: 8px 12px;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    /* 调整礼包码条目（旧结构） */
    .code-list .gift-code-item {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    /* 调整礼品容器（新结构） */
    .gift-container > div {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    /* 调整礼包码条目（新结构） */
    .gift-container .gift-code-item {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    /* 调整复制按钮（仅福利礼包内的） */
    .code-list .copy-button,
    .gift-container .copy-button {
        padding: 4px 10px;
        font-size: 12px;
        min-width: 60px;
    }
    
    /* 调整礼包码样式 */
    .code-list .gift-code,
    .gift-container .gift-code {
        padding: 3px 8px;
        margin-bottom: 3px;
        font-size: 13px;
    }
    
    /* 调整礼包内容样式 */
    .code-list .gift-content,
    .gift-container .gift-content {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* 调整福利礼包标题大小 */
    #codes .code-title {
        font-size: 18px;
        padding: 10px 0;
    }
}

.code-link:hover {
    color: #096dd9;
    transform: translateY(-2px);
}

.code-qrcode {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.code-qrcode:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 加入群聊样式 */
.group-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.group-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 15px;
}

.group-qrcode {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.group-qrcode:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.group-notice {
    color: #666;
    text-align: center;
    font-size: 14px;
    background-color: #f0f7ff;
    padding: 14px 18px;
    border-radius: 12px;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.group-notice:hover {
    background-color: #e6f7ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

/* 最新资讯和排行榜响应式设计 */
@media (max-width: 1024px) {
    .ranking-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* 最新资讯响应式设计 */
    .news-section {
        padding: 20px 18px;
        margin-bottom: 24px;
    }
    
    .news-item {
        margin-bottom: 10px;
    }
    
    .news-link {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-left {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .news-right {
        min-width: auto;
        text-align: left;
        width: 100%;
    }
    
    .news-title {
        font-size: 16px;
        margin-bottom: 4px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .news-excerpt {
        font-size: 13px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .news-meta {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        margin-bottom: 0;
        margin-top: 8px;
        gap: 15px;
        width: 100%;
    }
    
    .news-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    /* 排行榜响应式设计 */
    .ranking-section {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 17px;
        margin-bottom: 18px;
    }
    
    .ranking-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ranking-item {
        border-radius: 12px;
    }
    
    .ranking-img {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
    .ranking-img img {
        padding: 8px;
    }
    
    .ranking-info {
        padding: 15px;
    }
    
    .ranking-info h3 {
        font-size: 15px;
    }
    
    .ranking-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .ranking-download a {
        padding: 9px 0;
        border-radius: 8px;
        font-size: 13px;
    }
}
    .tab-content {
        padding: 16px;
        margin-top: 15px;
    }
    
    .code-title,
    .group-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .code-list li,
    .group-notice {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .code-link {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    /* 最新资讯响应式设计 */
    .news-section {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .news-list {
        gap: 12px;
    }
    
    .news-item {
        padding: 14px 0;
    }
    
    .news-item:hover {
        padding-left: 6px;
    }
    
    .news-title {
        font-size: 15px;
        margin-bottom: 0;
    }
    
    .news-content {
        display: block;
    }
    
    .news-left {
        margin-bottom: 6px;
    }
    
    .news-right {
        margin-left: 0;
    }
    
    .news-meta {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        font-size: 12px;
        margin-bottom: 0;
        margin-top: 0;
        gap: 12px;
    }
    
    .news-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    /* 其他响应式设计 */
    .tab-content {
        padding: 12px;
        margin-top: 10px;
    }
    
    .code-title,
    .group-title {
        font-size: 16px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    
    .code-list li,
    .group-notice {
        padding: 10px 12px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .code-link {
        font-size: 14px;
    }
    
    .group-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
}

/* 图片轮播 */
.image-slider {
    margin-top: 24px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
    height: 400px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.slide-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.slide-description {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-button {
    display: inline-block;
    background-color: #1890ff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.slide-button:hover {
    background-color: #096dd9;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: #fff;
    width: 24px;
    border-radius: 5px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: rgba(0,0,0,0.7);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 导航按钮样式 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    outline: none;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* 导航点样式 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .slider-dot.active {
    background-color: #fff;
    width: 32px;
    border-radius: 6px;
}

/* 图片轮播响应式设计 */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .slider-btn.prev,
    .slider-btn.next {
        left: 15px;
        right: 15px;
    }
    
    .slider-dots {
        gap: 8px;
    }
    
    .slider-dots .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dots .slider-dot.active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 200px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .slider-btn.prev,
    .slider-btn.next {
        left: 10px;
        right: 10px;
    }
    
    .slider-dots {
        gap: 6px;
        bottom: 15px;
    }
    
    .slider-dots .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dots .slider-dot.active {
        width: 24px;
    }
}

/* 游戏亮点 - 优化的自适应布局 */
.game-highlights {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

/* 游戏亮点列表 */
.highlights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

/* 单个亮点项 */
.highlight-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    background-color: #ffffff;
    border-color: #1890ff;
}

/* 亮点图标 */
.highlight-icon {
    font-size: 24px;
    color: #1890ff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(24, 144, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 亮点文本 */
.highlight-item span {
    font-size: 16px;
    color: #333;
    flex: 1;
    line-height: 1.5;
}

/* 平板设备适配 */
@media (max-width: 768px) {
    .game-highlights {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .highlights-list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .highlight-item {
        padding: 14px;
        gap: 10px;
    }
    
    .highlight-icon {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
    
    .highlight-item span {
        font-size: 14px;
    }
}

/* 手机设备适配 */
@media (max-width: 480px) {
    .game-highlights {
        padding: 14px;
        margin-bottom: 16px;
    }
    
    .highlights-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .highlight-item {
        padding: 12px;
        gap: 8px;
    }
    
    .highlight-icon {
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
    
    .highlight-item span {
        font-size: 13px;
    }
}

/* 福利礼包 */
.game-gift {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.gift-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

.gift-content {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

.gift-content p {
    margin-bottom: 16px;
}

.gift-codes {
    margin-top: 20px;
}

.gift-code-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f0f7ff;
    border-radius: 8px;
    margin-bottom: 12px;
}

.gift-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1890ff;
}

.gift-code-copy {
    background-color: #1890ff;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gift-code-copy:hover {
    background-color: #096dd9;
}

/* 兑换码系统 */
.redeem-system {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.redeem-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

.redeem-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.redeem-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.redeem-button {
    background-color: #1890ff;
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.redeem-button:hover {
    background-color: #096dd9;
}

.redeem-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.redeem-message.success {
    background-color: #f0fff4;
    color: #52c41a;
    display: block;
}

.redeem-message.error {
    background-color: #fff1f0;
    color: #f5222d;
    display: block;
}

.redeem-instructions {
    color: #666;
    line-height: 1.6;
}

.redeem-instructions h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.redeem-instructions ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.redeem-instructions li {
    margin-bottom: 8px;
}

/* 标签页面样式 */
.archive-header {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.archive-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.archive-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-list-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.post-item:last-child {
  border-bottom: none;
}

.post-thumbnail {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  flex: 1;
}

.post-header {
  margin-bottom: 10px;
}

.post-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.post-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.post-title a:hover {
  color: #007bff;
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #999;
}

.post-meta a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.post-meta a:hover {
  color: #007bff;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.post-more a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.post-more a:hover {
  color: #0056b3;
}

.no-posts {
  text-align: center;
  padding: 40px 0;
  color: #666;
  font-size: 16px;
}

/* 侧边栏样式 */
.sidebar {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

/* 分类列表样式 */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: 8px;
}

.category-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.category-item a:hover {
  background-color: #e9ecef;
  color: #007bff;
}

.category-item.active a {
  background-color: #007bff;
  color: #fff;
}

.category-item .count {
  font-size: 12px;
  color: #999;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.category-item.active .count {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 标签云样式 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud-item {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.tag-cloud-item:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-2px);
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination .page-numbers {
  padding: 8px 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.pagination .page-numbers:hover {
  background-color: #f8f9fa;
  color: #007bff;
  border-color: #007bff;
}

.pagination .current {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* 响应式设计 */
@media screen and (min-width: 768px) {
  .main-content {
    flex-direction: row;
    gap: 20px;
  }
  
  .post-list-container {
    flex: 1;
  }
  
  .sidebar {
    width: 300px;
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .post-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .post-thumbnail {
    width: 100%;
    height: auto;
  }
}

/* 页脚样式 */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    margin-top: 40px;
    padding: 30px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1890ff;
    padding-bottom: 8px;
    border-bottom: 2px solid #1890ff;
    display: inline-block;
}

.friend-links, .site-map {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-link, .map-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid transparent;
}

.friend-link:hover, .map-link:hover {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.copyright-info p {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.beian-link {
    color: #666;
    text-decoration: none;
}

.beian-link:hover {
    color: #1890ff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #999;
    font-size: 13px;
    border-radius: 16px 16px 0 0;
    background-color: #fafafa;
    padding-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-header {
        gap: 20px;
    }
    .game-title {
        font-size: 28px;
    }
    .game-cover {
        flex: 0 0 80px;
        height: 80px;
    }
    .basic-info {
        gap: 12px 16px;
    }
    .download-group {
        gap: 12px;
    }
    .download-btn {
        height: 48px;
        line-height: 48px;
        font-size: 16px;
    }
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    .ranking-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .archive-title {
        font-size: 22px;
    }
    .archive-content {
        flex-direction: column;
    }
    .category-list {
        flex: 1;
    }
    .slider-container {
        height: 250px;
    }
    .slide-title {
        font-size: 20px;
    }
    .related-posts-list {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    /* 页脚响应式设计 */
    .site-footer {
        padding: 24px 0;
        margin-top: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-section {
        min-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .friend-links, .site-map {
        justify-content: center;
        gap: 8px;
    }
    
    .friend-link, .map-link {
        padding: 5px 10px;
        font-size: 13px;
        border-radius: 14px;
    }
    
    .copyright-info p {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding-top: 16px;
        margin-top: 16px;
        font-size: 12px;
    }
    
    .copyright-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .game-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .game-cover {
        width: 100%;
        max-width: 120px;
        height: auto;
        flex: none;
        margin-bottom: 12px;
    }
    .download-group {
        flex-direction: column;
    }
    .download-btn {
        width: 100%;
    }
    .slider-container {
        height: 200px;
    }
    .slide-content {
        padding: 16px;
    }
    .slide-title {
        font-size: 18px;
    }
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-content {
        padding: 16px;
    }
    .article-body {
        font-size: 15px;
    }
    .article-body h2 {
        font-size: 20px;
    }
    .article-body h3 {
        font-size: 18px;
    }
    
    /* 标签组优化 */
    .tag-group {
        justify-content: center;
        gap: 6px;
    }
    .tag-item {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    /* 页脚优化 */
    .site-footer {
        padding: 20px 0;
    }
    .footer-content {
        gap: 20px;
    }
    .footer-section {
        margin-bottom: 0;
    }
    
    /* 整体容器优化 */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
