/* 游戏主题合并样式表 */
/* 合并了style.css和styles.css */

/* 基础重置 */
* {
    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;
}

/* CSS变量定义 - 统一管理颜色和尺寸 */
:root {
    /* 主题颜色 */
    --primary-color: #1890ff;
    --primary-hover: #096dd9;
    --primary-light: #f0f7ff;
    --primary-lighter: #e8f4ff;
    
    /* 文本颜色 */
    --text-primary: #222;
    --text-secondary: #333;
    --text-tertiary: #666;
    --text-muted: #999;
    
    /* 背景颜色 */
    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f5f5f5;
    --bg-light: #f0f0f0;
    
    /* 边框颜色 */
    --border-color: #f0f0f0;
    --border-light: #eee;
    
    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 30px;

    /* 作者页面相关变量 */
    --author-avatar-size: 120px;
    --author-card-padding: 20px;
    --author-card-radius: 12px;
    --author-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-round: 50%;
    
    /* 阴影 */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* 字体大小 */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 24px;
    --font-xxl: 32px;
    
    /* 扁平化卡片变量 */
    --card-radius: 16px;
    --card-padding: 20px;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    --card-border: 1px solid var(--border-light);
    --card-hover-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 固定下载栏 */
.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;
}

/* 扁平化卡片样式 */
.flat-card {
    background-color: var(--bg-primary);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    box-shadow: var(--card-shadow);
    border: var(--card-border);
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
}

.flat-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

/* 游戏头部信息 - 重新设计的自适应布局 */
.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;
}

/* 游戏核心信息区 - 优化的自适应布局 */
.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);
}

/* 游戏亮点模块 */
.game-highlights {
    margin: 30px 0;
    padding: 20px;
    background-color: #f0f7ff;
    border-radius: 10px;
}

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

.highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.highlight-icon {
    font-size: 16px;
}

/* 下载按钮组 - 优化样式 */
.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;
}

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

/* 标签切换区域样式 */
.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;
}

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

/* 图片轮播 */
.image-slider {
    margin-top: 24px;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin: 24px 0;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8; /* 图片加载时的背景色 */
}

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

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

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    max-height: 520px;
    margin: 0 auto;
    display: block;
}

/* 导航按钮样式 */
.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;
}

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

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

/* 复制按钮样式 */
.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;
}

/* 加入群聊样式 */
.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);
}

/* 游戏文章资讯板块 */
.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;
}

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

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

/* 文章内页样式 */
.article-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;
}

.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

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

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

.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.3;
}

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

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

.article-body {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    margin-bottom: 30px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tags-title {
    font-weight: 600;
    color: #666;
    margin-right: 8px;
}

.article-tags a {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 12px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background-color: #1890ff;
    color: #fff;
}

/* 相关文章 */
.related-articles {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.related-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-item:hover {
    background-color: #f0f7ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
    transform: translateY(-2px);
}

.related-content h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

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

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

.related-meta {
    font-size: 13px;
    color: #999;
}

/* 固定下载栏 */


/* 游戏排名 */
.game-ranking {
    margin: 30px 0;
}

.ranking-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.ranking-item {
    text-align: center;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    transform: translateY(-2px);
}

.ranking-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ranking-item h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ranking-score {
    font-size: 12px;
    color: #f5222d;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-container {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .article-content {
        padding: 16px;
        margin-top: 16px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        gap: 12px;
        font-size: 13px;
    }
    
    .article-body {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .related-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    

    
    .ranking-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .ranking-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }
    
    .article-body {
        font-size: 14px;
    }
    
    .ranking-list {
        grid-template-columns: 1fr;
    }
    

}

/* 页脚样式 */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    margin-top: 40px;
    padding: 30px 0;
}

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

.footer-section {
    flex: 1;
    min-width: 220px;
    padding: 0 10px;
}

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

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

.friend-link, .map-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.friend-link:hover, .map-link:hover {
    background-color: #1890ff;
    color: #fff;
}

.copyright-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 13px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-header {
    padding: 15px 20px;
    background-color: #1890ff;
    color: white;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #f0f0f0;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    line-height: 1.6;
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

/* 自定义滚动条 */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.warning-section {
    margin-bottom: 20px;
}

.warning-section p {
    margin: 8px 0;
}

.warning-section p:first-child {
    color: #333;
}

.warning-section p:last-child {
    color: #d93f30;
    font-weight: 500;
}

.image-section {
    margin-bottom: 20px;
    text-align: center;
}

.warning-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instruction-section {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.instruction-section p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.apk-section {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f7ff;
    border-radius: 4px;
    border-left: 4px solid #1890ff;
}

.apk-file {
    font-family: monospace;
    font-size: 14px;
    color: #1890ff;
}

.qrcode-section {
    margin-bottom: 20px;
    text-align: center;
}

.qrcode-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qrcode-section p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.modal-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

.download-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1890ff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 200px;
}

.download-button:hover {
    background-color: #096dd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

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

@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;
    }
    
    /* 平板设备适配 */
    .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;
    }
    
    /* 游戏核心信息区 */
    .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;
    }
    
    /* 手机端下载按钮优化 */
    .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;
    }
    
    /* 标签导航响应式设计 */
    .tab-nav {
        gap: 6px;
        padding: 5px;
        border-radius: 10px;
    }
    
    .tab-nav-item {
        padding: 10px 14px;
        font-size: 15px;
        border-radius: 7px;
    }
    
    /* 图片轮播响应式设计 */
    .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;
    }
    
    /* 最新资讯响应式设计 */
    .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-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;
    }
    
    /* 响应式弹窗 */
    .modal-content {
        margin: 15% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 12px 15px;
    }
    
    .download-button {
        padding: 10px 24px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .qrcode-image {
        max-width: 150px;
    }
    
    /* 页脚响应式优化 */
    .site-footer {
        padding: 20px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-section {
        min-width: 100%;
        padding: 0;
    }
    
    .friend-links, .site-map {
        gap: 6px;
    }
    
    .friend-link, .map-link {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .copyright-info {
        text-align: center;
    }
}

@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;
    }
    
    /* 手机设备适配 */
    .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: 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 {
        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;
    }
    
    /* 标签导航响应式设计 */
    .tab-nav {
        gap: 4px;
        padding: 4px;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    .tab-nav-item {
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    /* 图片轮播响应式设计 */
    .slider-container {
        height: 200px;
    }
    
    /* 响应式弹窗 */
    .modal-content {
        margin: 20% auto;
        width: 98%;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .warning-section p {
        font-size: 14px;
    }
    
    .instruction-section p {
        font-size: 13px;
    }
    
    .apk-file {
        font-size: 13px;
    }
    
    .qrcode-section p {
        font-size: 13px;
    }
    
    .qrcode-image {
        max-width: 120px;
    }
}

/* 下载页面样式 */
.download-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 文章标题区域 */
.article-header-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 24px;
    border-top: 4px solid #1890ff;
}

.article-main-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px;
    line-height: 1.3;
    text-align: center;
}

.article-meta-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: #999;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

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

/* 游戏信息卡片 */
.game-info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 24px;
    margin-bottom: 24px;
}

.game-info-card .game-header {
    display: flex;
    align-items: center;
    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-info-card .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-info-card .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;
}

.game-info-card .game-info {
    flex: 1;
}

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

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

.game-info-card .game-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
}

.game-info-card .meta-item {
    display: flex;
    align-items: center;
}

.game-info-card .meta-item span {
    color: #333;
    font-weight: 600;
    margin-right: 6px;
}

.game-info-card .game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.game-info-card .feature-tag {
    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;
}

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

/* 下载按钮 */
.download-buttons {
    display: flex;
    gap: 16px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.download-buttons .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;
    text-decoration: none;
}

.download-buttons .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-buttons .download-btn:hover::after {
    left: 100%;
}

.download-buttons .download-btn.primary-btn {
    background-color: #36d399;
    color: #fff;
    box-shadow: 0 4px 12px rgba(54, 211, 153, 0.2);
}

.download-buttons .download-btn.primary-btn:hover {
    background-color: #28c78e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(54, 211, 153, 0.3);
}

.download-buttons .download-btn.secondary-btn {
    background-color: #007aff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.download-buttons .download-btn.secondary-btn:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.3);
}

.download-buttons .download-icon {
    font-size: 18px;
}

/* 礼包信息区域 */
.gift-info-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 24px;
    border-left: 4px solid #ff6b6b;
}

.gift-info-section .section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #333;
    display: block;
}

.gift-banner {
    margin-bottom: 24px;
}

.gift-banner img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gift-details {
    margin-bottom: 24px;
}

.gift-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 文章介绍区域 */
.article-intro {
    margin-top: 16px;
    padding: 20px;
    background-color: #f0f7ff;
    border-radius: 12px;
    border-left: 4px solid #1890ff;
}

.article-intro p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

/* 卡片样式 */
.card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    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;
}
.card:hover::before {
    left: 100%;
}
.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px) scale(1.02);
}

.card.highlight {
    border-left: 4px solid #ff6b6b;
    background-color: #fff5f5;
}

/* 倒计时样式 */
.countdown {
    margin-top: 16px;
    padding: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-label {
    font-weight: 600;
    color: #856404;
}

.countdown-timer {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #d63031;
    font-size: 16px;
}

/* 分享按钮新样式 */
.share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.share-btn:hover::before {
    width: 300px;
    height: 300px;
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.share-btn.wechat {
    background-color: #07C160;
    color: white;
}

.share-btn.qq {
    background-color: #12B7F5;
    color: white;
}

.share-btn.moments {
    background-color: #07C160;
    color: white;
}

.share-btn.weibo {
    background-color: #E6162D;
    color: white;
}

.share-icon {
    font-size: 16px;
}

/* 反馈区域样式 */
.feedback-section {
    margin-top: 24px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.feedback-section h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.feedback-section p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* 礼包码盒子增强样式 */
.gift-code-box {
    margin: 1rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.gift-code-box:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gift-code-box.highlight {
    background-color: #fff5f5;
    border-color: #ffeaa7;
}

.code-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.code-label {
    font-weight: 600;
    margin-right: 10px;
    color: #333;
}

.code-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #1890ff;
    background-color: #f0f7ff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d6e4ff;
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.copy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.copy-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.copy-btn.copied {
    background-color: #2196F3;
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.code-info {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.875rem;
}

.code-info.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.info-label {
    font-weight: 600;
    margin-right: 8px;
    color: #333;
}

.info-value {
    color: #666;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.code-grid-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.code-grid-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.code-grid-item .code-value {
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.code-grid-item .copy-btn {
    width: 100%;
    margin-bottom: 8px;
}

.code-desc {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

/* 兑换指南样式 */
.redeem-guide {
    margin-top: 24px;
}

.guide-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.guide-steps li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.guide-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-color: #1890ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.guide-steps li:nth-child(1)::before {
    content: '1';
}

.guide-steps li:nth-child(2)::before {
    content: '2';
}

.guide-steps li:nth-child(3)::before {
    content: '3';
}

.guide-steps li:nth-child(4)::before {
    content: '4';
}

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

.tips-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.tips-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

/* 页脚说明样式 */
.footer-note {
    margin-top: 24px;
    text-align: center;
}

.footer-note p {
    margin-bottom: 12px;
    color: #333;
    line-height: 1.6;
}

.share-section h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.share-section p {
    margin: 0 0 16px;
    color: #666;
}

/* 相关文章样式 */
.related-articles-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 24px;
}

.related-articles-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-article-item {
    padding: 16px;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.related-article-item:hover {
    background-color: #f0f7ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
    transform: translateY(-2px);
}

.related-article-item .article-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

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

.related-article-item .article-title a:hover {
    color: #1890ff;
}

.related-article-item .article-date {
    font-size: 13px;
    color: #999;
}

/* 游戏排行样式 */
.game-ranking-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 24px;
}

.game-ranking-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.ranking-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.ranking-item:hover {
    background-color: #f0f7ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
    transform: translateY(-2px);
}

.ranking-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.ranking-title {
    font-size: 14px;
    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 {
    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: 768px) {
    .article-header-section {
        padding: 20px;
    }
    
    .article-main-title {
        font-size: 24px;
    }
    
    .article-meta-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .article-intro {
        padding: 16px;
    }
    
    .article-intro p {
        font-size: 14px;
    }
    
    .gift-info-section {
        padding: 20px;
    }
    
    .gift-info-section .section-title {
        font-size: 20px;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .code-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .share-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .related-articles-section,
    .game-ranking-section {
        padding: 20px;
    }
    
    .ranking-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    /* 整体容器优化 */
    .container {
        padding: 16px;
        max-width: 100%;
    }
    
    /* 固定下载栏 */
    .fixed-download-bar {
        height: 48px;
        bottom: 16px;
        border-radius: 12px;
        width: 95%;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    
    .fixed-download-bar a {
        line-height: 48px;
        font-size: 16px;
        font-weight: 500;
    }
    
    /* 文章标题区域 */
    .article-header-section {
        padding: 24px 16px;
        margin-bottom: 24px;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .article-main-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 16px;
        color: #333;
        font-weight: 600;
    }
    
    .article-meta-info {
        margin-bottom: 20px;
        padding: 12px;
        background-color: #f8f9fa;
        border-radius: 8px;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .article-meta-info span {
        font-size: 14px;
        color: #666;
    }
    
    .article-intro {
        padding: 20px;
        margin-top: 20px;
        border-radius: 12px;
        background-color: #f0f4ff;
        border-left: 4px solid #1890ff;
    }
    
    .article-intro p {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
    }
    
    /* 礼包信息区域 */
    .gift-info-section {
        padding: 0 16px 24px;
    }
    
    .gift-info-section .section-title {
        font-size: 20px;
        margin-bottom: 24px;
        text-align: center;
        padding-top: 24px;
        color: #333;
        font-weight: 600;
    }
    
    .gift-banner {
        margin-bottom: 32px;
    }
    
    .gift-banner img {
        border-radius: 16px;
        width: 100%;
        height: auto;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .gift-details {
        margin-top: 24px;
    }
    
    .gift-title {
        font-size: 20px;
        margin-bottom: 24px;
        text-align: center;
        color: #333;
        font-weight: 600;
    }
    
    /* 卡片样式 */
    .card {
        padding: 24px;
        margin-bottom: 28px;
        border-radius: 16px;
        background-color: white;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        border: none;
    }
    
    .gift-name {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 2px solid #f0f0f0;
        color: #333;
        font-weight: 600;
    }
    
    .gift-name + p {
        margin-bottom: 20px;
        line-height: 1.6;
        font-size: 15px;
        color: #555;
    }
    
    /* 礼包码区域 */
    .gift-code-box {
        margin-bottom: 24px;
        padding: 20px;
        background-color: #f8f9fa;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }
    
    .gift-code-box h5 {
        font-size: 16px;
        margin-bottom: 20px;
        color: #333;
        font-weight: 500;
    }
    
    .code-item {
        margin-bottom: 20px;
        padding: 16px;
        background-color: white;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .code-item > div {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .code-label {
        font-size: 15px;
        color: #666;
        white-space: nowrap;
        font-weight: 500;
    }
    
    .code-value {
        flex: 1;
        font-size: 16px;
        padding: 10px 16px;
        background-color: #f0f0f0;
        border-radius: 8px;
        text-align: center;
        font-weight: 500;
    }
    
    .copy-btn {
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 8px;
    }
    
    .code-info {
        margin-bottom: 16px;
        padding: 12px;
        background-color: white;
        border-radius: 8px;
        font-size: 14px;
    }
    
    .code-info .info-label {
        font-weight: 500;
        color: #333;
        margin-right: 8px;
    }
    
    .code-info .info-value {
        color: #666;
    }
    
    /* 倒计时 */
    .countdown {
        margin-top: 20px;
        padding: 16px;
        background-color: #fff3cd;
        border-radius: 12px;
        text-align: center;
        border: 1px solid #ffeaa7;
    }
    
    .countdown-label {
        font-weight: 500;
        color: #856404;
        margin-right: 8px;
        font-size: 15px;
    }
    
    .countdown-timer {
        color: #856404;
        font-weight: bold;
        font-size: 16px;
    }
    
    /* 代码网格 */
    .code-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .code-grid-item {
        padding: 20px;
        background-color: white;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .code-grid-item .code-value {
        margin-bottom: 16px;
    }
    
    .code-grid-item .copy-btn {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .code-desc {
        font-size: 14px;
        color: #666;
        text-align: center;
        line-height: 1.5;
    }
    
    /* 兑换指南 */
    .redeem-guide {
        margin-top: 32px;
        padding: 24px;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .guide-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
        color: #333;
        font-weight: 600;
    }
    
    .guide-content h4 {
        font-size: 16px;
        margin-bottom: 16px;
        color: #333;
        font-weight: 500;
    }
    
    .guide-steps {
        padding-left: 24px;
        margin-bottom: 20px;
    }
    
    .guide-steps li {
        margin-bottom: 12px;
        line-height: 1.6;
        font-size: 15px;
        color: #555;
    }
    
    .tips-list {
        padding-left: 24px;
    }
    
    .tips-list li {
        margin-bottom: 10px;
        line-height: 1.6;
        font-size: 15px;
        color: #555;
    }
    
    /* 页脚说明 */
    .footer-note {
        margin-top: 32px;
        padding: 24px;
        background-color: #f8f9fa;
        border-radius: 16px;
        border: 1px solid #e0e0e0;
    }
    
    .footer-note p {
        margin-bottom: 16px;
        line-height: 1.6;
        font-size: 15px;
        color: #555;
    }
    
    /* 分享区域 */
    .share-section {
        margin-top: 32px;
        padding-top: 24px;
        border-top: 2px solid #f0f0f0;
    }
    
    .share-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
        text-align: center;
        color: #333;
        font-weight: 500;
    }
    
    .share-section p {
        text-align: center;
        margin-bottom: 20px;
        color: #666;
        font-size: 14px;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
        font-weight: 500;
        border-radius: 12px;
    }
    
    /* 反馈区域 */
    .feedback-section {
        margin-top: 32px;
        padding-top: 24px;
        border-top: 2px solid #f0f0f0;
    }
    
    .feedback-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
        text-align: center;
        color: #333;
        font-weight: 500;
    }
    
    .feedback-section p {
        text-align: center;
        color: #666;
        font-size: 14px;
    }
    
    /* 相关文章 */
    .related-articles-section {
        margin-top: 40px;
        padding: 24px;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .related-articles-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
        color: #333;
        font-weight: 600;
    }
    
    .related-article-item {
        padding: 20px;
        margin-bottom: 16px;
        border-radius: 12px;
        background-color: #f8f9fa;
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
    }
    
    .related-article-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .related-article-item .article-title {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.5;
        color: #333;
        font-weight: 500;
    }
    
    .related-article-item .article-date {
        font-size: 13px;
        color: #999;
    }
    
    /* 游戏排名 */
    .game-ranking-section {
        margin-top: 32px;
        padding: 24px;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .game-ranking-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
        color: #333;
        font-weight: 600;
    }
    
    .ranking-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ranking-item {
        padding: 20px;
        border-radius: 12px;
        background-color: #f8f9fa;
        border: 1px solid #e0e0e0;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .ranking-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .ranking-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 16px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .ranking-title {
        font-size: 16px;
        margin-bottom: 16px;
        line-height: 1.4;
        color: #333;
        font-weight: 500;
    }
    
    .ranking-download a {
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 8px;
    }
    
    /* 游戏信息卡片 */
    .game-info-card {
        padding: 24px;
        margin-bottom: 32px;
        border-radius: 16px;
        background-color: white;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    
    .game-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .game-cover {
        margin-bottom: 20px;
    }
    
    .game-cover img {
        width: 120px;
        height: 120px;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .game-info {
        margin-left: 0;
        margin-top: 16px;
    }
    
    .game-title {
        font-size: 24px;
        margin-bottom: 12px;
        color: #333;
        font-weight: 600;
    }
    
    .game-tag {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .game-meta {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        margin-bottom: 16px;
    }
    
    .meta-item {
        font-size: 14px;
    }
    
    .game-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .feature-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 12px;
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .game-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .game-info-card .game-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 16px;
    }
    
    .game-info-card .game-cover {
        width: 120px;
        height: 120px;
    }
    
    .game-info-card .game-title {
        font-size: 28px;
    }
    
    .game-info-card .game-meta {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        font-size: 13px;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 14px;
    }
    
    .download-buttons .download-btn {
        width: 100%;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
    
    .gift-info-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .gift-info-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .gift-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .gift-name {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .gift-info-list li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .redeem-guide,
    .tips-section {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .guide-title,
    .tips-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .guide-steps li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .related-articles-section,
    .game-ranking-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .ranking-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .ranking-grid .ranking-item {
        padding: 12px;
    }
    
    .ranking-grid .ranking-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 8px;
    }
    
    .ranking-grid .ranking-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .ranking-grid .ranking-download a {
        padding: 6px 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .game-info-card {
        padding: 16px;
    }
    
    .game-info-card .game-header {
        gap: 15px;
        padding: 14px;
    }
    
    .game-info-card .game-cover {
        width: 100px;
        height: 100px;
    }
    
    .game-info-card .game-title {
        font-size: 24px;
    }
    
    .game-info-card .game-meta {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        font-size: 12px;
    }
    
    .game-info-card .game-features {
        gap: 6px;
    }
    
    .game-info-card .feature-tag {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .download-buttons {
        gap: 12px;
    }
    
    .download-buttons .download-btn {
        height: 48px;
        line-height: 48px;
        font-size: 16px;
    }
    
    .gift-info-section {
        padding: 16px;
    }
    
    .gift-info-section .section-title {
        font-size: 18px;
    }
    
    .gift-item {
        padding: 12px;
    }
    
    .gift-name {
        font-size: 15px;
    }
    
    .redeem-guide,
    .tips-section {
        padding: 12px;
    }
    
    .guide-title,
    .tips-title {
        font-size: 16px;
    }
    
    .guide-steps {
        padding-left: 20px;
    }
    
    .related-articles-section,
    .game-ranking-section {
        padding: 16px;
    }
    
    .ranking-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ranking-grid .ranking-item {
        padding: 16px;
    }
}