/* 攻略页面专用样式 */

/* 基础变量 */
:root {
    --strategy-primary-color: #FF7F7F;
    --strategy-secondary-color: #FFB6B6;
    --strategy-accent-color: #4a90e2;
    --strategy-text-color: #333;
    --strategy-text-light: #666;
    --strategy-border-color: #e0e0e0;
    --strategy-background-light: #f8f9fa;
    --strategy-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    --strategy-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --strategy-transition: all 0.3s ease;
}

/* 主要内容区域 */
.strategy-main-content {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 50%, #fff 100%);
    min-height: calc(100vh - 140px);
    padding: 20px 0;
}

.content-wrapper {
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
    min-height: calc(100vh - 160px);
}

/* 面包屑导航 */
.breadcrumb-navigation {
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 12px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-list span {
    color: var(--strategy-text-light);
    font-size: 14px;
}

.breadcrumb-list a {
    color: var(--strategy-accent-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--strategy-transition);
}

.breadcrumb-list a:hover {
    color: var(--strategy-primary-color);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

/* 攻略内容区域 */
.strategy-content-area {
    margin-bottom: 40px;
}

.strategy-grid-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.strategy-grid {
    padding-top: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}


.compilations-grid-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-paragraph p {
    line-height: 2.5;
}

.content-paragraph img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    border-radius: 4px;
}


/* 攻略文章列表 */
.strategy-articles-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-paragraph p {
    line-height: 4;
}
.strategy-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
    position: relative;
}

.strategy-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--strategy-hover-shadow);
}

.article-thumbnail {
    width: 380px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--strategy-transition);
}

.strategy-article-card:hover .article-thumbnail img {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.article-content-info {
    flex: 1;
    padding: 10px 0;
}

.article-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.article-title a {
    color: var(--strategy-text-color);
    text-decoration: none;
    transition: var(--strategy-transition);
}

.article-title a:hover {
    color: var(--strategy-primary-color);
}

.article-excerpt {
    color: var(--strategy-text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--strategy-text-light);
}

.article-views,
.article-date,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--strategy-transition);
    font-size: 14px;
    white-space: nowrap;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 64, 147, 0.4);
}

/* 侧边栏 */
.strategy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-strategy {
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
}

.sidebar-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
}

.sidebar-section:hover {
    box-shadow: var(--strategy-hover-shadow);
}

.sidebar-header {
    margin-bottom: 20px;
}

.strategy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.sidebar-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: var(--strategy-text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 热门攻略排行 */
.popular-strategy-list {
    display: flex;
    flex-direction: column;
}

.popular-item:hover {
    background: var(--strategy-background-light);
}

.popular-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.popular-thumb {
    width: 96px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-info {
    flex: 1;
}

.popular-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--strategy-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-count,
.publish-date {
    font-size: 12px;
    color: var(--strategy-text-light);
}

/* 攻略分类 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    padding: 8px 16px;
    background: var(--strategy-background-light);
    color: var(--strategy-text-light);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--strategy-transition);
    border: 2px solid transparent;
}

.category-tag:hover,
.category-tag.active {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    transform: translateY(-2px);
}

/* 最新更新 */
.latest-updates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: var(--strategy-transition);
    border-left: 3px solid var(--strategy-primary-color);
    background: var(--strategy-background-light);
}

.update-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.update-date {
    color: black;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.update-content {
    font-size: 14px;
    color: var(--strategy-text-color);
    flex: 1;
}

/* 热门手游排行榜 */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.more-link {
    font-size: 12px;
    color: var(--strategy-text-light);
    text-decoration: none;
    transition: var(--strategy-transition);
}

.more-link:hover {
    color: var(--strategy-primary-color);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--strategy-transition);
    background: #fff;
}

.ranking-item:hover {
    background: var(--strategy-background-light);
    transform: translateX(3px);
}

.ranking-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.ranking-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

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

.ranking-title {
    margin: 0 0 2px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--strategy-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 超出10个字隐藏，之所以设置11em是因为省略号占一个位置 */
    width: 11em;
    overflow: hidden; /* 显示省略符号来代表被修剪的文本。 */
    text-overflow: ellipsis; /* 文本不换行 */
    white-space: nowrap;
}

.ranking-no {
    color: var(--strategy-primary-color);
    font-size: 10px;
    font-weight: bold;
}

.ranking-stats {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.download-stat,
.release-date {
    font-size: 10px;
    color: var(--strategy-text-light);
}

.view-btn {
    background: var(--strategy-primary-color);
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--strategy-transition);
    white-space: nowrap;
}

.view-btn:hover {
    background: var(--strategy-secondary-color);
    transform: scale(1.05);
}

/* 简单列表项样式 */
.ranking-item.simple {
    padding: 6px 8px;
    background: transparent;
}

.ranking-item.simple:hover {
    background: var(--strategy-background-light);
}

.rank-number {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: var(--strategy-text-light);
    flex-shrink: 0;
}

.simple-title {
    flex: 1;
    font-size: 14px;
    color: var(--strategy-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.simple-status {
    font-size: 9px;
    color: var(--strategy-text-light);
    white-space: nowrap;
}

/* 好游安利 */
.recommended-games {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-recommendation {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    transition: var(--strategy-transition);
    background: var(--strategy-background-light);
}

.game-recommendation:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.rec-game-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

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

.rec-game-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--strategy-text-color);
}

.rec-game-desc {
    margin: 0;
    font-size: 12px;
    color: var(--strategy-text-light);
}

/* 分页导航 */
.pagination-section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-button:hover,
.page-button.current-page {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 64, 147, 0.3);
}

/* 页脚 */
.site-footer {
    background: var(--strategy-text-color);
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--strategy-transition);
}

.footer-links a:hover {
    color: var(--strategy-secondary-color);
}

.footer-info p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== 专题合集页面样式 ==================== */

/* 页面标题区域 */
.compilations-hero-section {
    background: linear-gradient(135deg, #FF7F7F 0%, #FFB6B6 50%, #667eea 100%);
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.compilations-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-main-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-description {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

/* 专题合集主要区域 */
.compilations-main-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: #fff;
    border-radius: 16px;
}

/* 热门专题卡片 */
.featured-compilations {
    margin-bottom: 40px;
}

.compilation-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
    position: relative;
}

.compilation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--strategy-hover-shadow);
}

.compilation-content {
    padding: 25px 30px;
}

.compilation-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--strategy-text-color);
    line-height: 1.3;
}

.compilation-collect {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.compilation-images {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.compilation-images a {
    flex: 1;
}


.compilation-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--strategy-transition);
}

.compilation-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 专题列表项 */
.compilations-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.compilation-item {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.compilation-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--strategy-hover-shadow);
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-desc {
    color: var(--strategy-text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--strategy-text-light);
}

.item-count,
.update-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-collection-btn {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--strategy-transition);
    font-size: 14px;
    align-self: flex-start;
    margin-top: 8px;
}

.view-collection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 64, 147, 0.4);
}

.item-preview {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-preview img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--strategy-transition);
}

.preview-apps {
    display: flex;
    gap: 10px;
}

.preview-apps .app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    transition: var(--strategy-transition);
}

.preview-apps .app-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 更多专题合集 */
.more-compilations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 分页导航样式优化 */
.pagination-section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    background: #fff;
    padding: 15px 20px;
    border-radius: 25px;
    box-shadow: var(--strategy-card-shadow);
}

.page-button:hover,
.page-button.current {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    transform: translateY(-2px);
}

.page-button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* 侧边栏样式优化 */
.sidebar-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
}

.sidebar-section:hover {
    box-shadow: var(--strategy-hover-shadow);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--strategy-background-light);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--strategy-text-color);
}

.more-link {
    font-size: 13px;
    color: var(--strategy-text-light);
    text-decoration: none;
    transition: var(--strategy-transition);
    cursor: pointer;
}

.more-link:hover {
    color: var(--strategy-primary-color);
}

/* 热门专题列表 */
.popular-strategy-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--strategy-background-light);
    border-radius: 10px;
    transition: var(--strategy-transition);
    cursor: pointer;
    margin-bottom: 10px;
}

.popular-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.popular-info {
    flex: 1;
}

.popular-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--strategy-text-color);
    line-height: 1.3;
    width: 12em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.popular-stats {
    font-size: 12px;
    color: var(--strategy-text-light);
}

.download-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
}

/* 专题分类标签 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: var(--strategy-background-light);
    color: var(--strategy-text-light);
    padding: 8px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: var(--strategy-transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-tag:hover,
.category-tag.active {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    transform: translateY(-2px);
}

/* 最新更新列表 */
.latest-updates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--strategy-transition);
}

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

.update-item:hover {
    background: var(--strategy-background-light);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.update-content {
    flex: 1;
    font-size: 13px;
    color: var(--strategy-text-color);
    font-weight: 500;
}

/* 推荐合集 */
.recommended-games {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-recommendation {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--strategy-background-light);
    border-radius: 12px;
    transition: var(--strategy-transition);
    cursor: pointer;
}

.game-recommendation:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rec-game-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

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

.rec-game-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--strategy-text-color);
    line-height: 1.3;
}

.rec-game-desc {
    font-size: 12px;
    color: var(--strategy-text-light);
    margin: 0;
    line-height: 1.4;
}

/* ==================== 专题详情页面样式 ==================== */

/* 详情页主容器 */
.detail-main-container {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 50%, #fff 100%);
    min-height: calc(100vh - 140px);
    padding: 20px 0;
}

.detail-content-wrapper {

    background: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
    min-height: calc(100vh - 160px);
}

/* 详情内容区域 */
.detail-content-section {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 专题头部横幅 */
.topic-header-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-content-box {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    max-width: 600px;
}

.topic-category-label {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.topic-main-heading {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.topic-meta-details {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 16px;
}

.update-timestamp,
.view-indicator {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.topic-description-text {
    font-size: 14px;
    line-height: 2;
    margin: 0 0 25px 0;
    opacity: 0.95;
    max-width: 500px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.game-introduction h3 {
    line-height: 4;
}
/* 应用展示网格 */
.apps-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px 10px 30px 10px;
    background: #fff;
}

.showcase-app-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: visible;
}

.showcase-app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.app-card-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.app-icon-large {
    margin: auto;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    /*margin-right: 15px;*/
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-badge-crown {
    position: absolute;
    top: -8px;
    left: -8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

.app-badge-crown.pink {
    background: linear-gradient(135deg, #FF7F7F, #FFB6B6);
    color: #fff;
}

.app-rank-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    z-index: 10;
}

.app-rank-number.pink {
    background: linear-gradient(135deg, #FF7F7F, #FFB6B6);
}

.app-details-content {
    flex: 1;
    margin-top: 5px;
}

.app-title-name {
    width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
    line-height: 1.3;
}

.app-info-stats {
    display: flex;
    flex-direction: row;
    gap: 30px;
    /*margin-bottom: 15px;*/
    justify-content: center;
}

.item-btn {
    border-top: 1px solid #eee;
    background-color: #ffffff;
    padding: 10px 15px;
    box-sizing: border-box;
    height: auto;
    max-height: 80px;
    overflow: hidden;
}

.item-btn p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
    word-break: break-word;
}

.item-btn span {
    font-weight: bold;
    color: #333;
}

.file-size-info {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 6px;
    line-height: 1.4;
    flex-direction: column;
}

.category-info {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 6px;
    line-height: 1.4;
    flex-direction: column;
    margin: 20px;
}

.release-info {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 6px;
    line-height: 1.4;
    flex-direction: column;
}

.download-action-btn {
    background: linear-gradient(135deg, #FF7F7F, #FFB6B6);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    width: 100%;
    margin-top: 10px;
}

.download-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 127, 127, 0.4);
    background: linear-gradient(135deg, #FFB6B6, #FF7F7F);
}

/* 推荐区域 */
.recommendation-zone {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.zone-header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.zone-title-text {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-more-link {
    color: #FF7F7F;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-link:hover {
    color: #FF7F7F;
    transform: translateX(5px);
}

.recommendation-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.featured-app-tile {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.featured-app-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tile-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.featured-app-tile:hover .tile-preview-image {
    transform: scale(1.1);
}

.tile-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
}

.tile-category-tag {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ==================== 攻略详情页面样式 ==================== */

/* 主容器 */
.guide-detail-container {
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f5e8 50%, #fff 100%);
    min-height: calc(100vh - 140px);
    padding: 20px 0;
}

.guide-content-wrapper {
    background: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
    min-height: calc(100vh - 160px);
}

/* 面包屑导航 */
.path-navigation {
    margin-bottom: 30px;
}

.path-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 12px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.path-list span {
    color: var(--strategy-text-light);
    font-size: 14px;
}

.path-list a {
    color: var(--strategy-accent-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--strategy-transition);
}

.path-list a:hover {
    color: var(--strategy-primary-color);
}

.path-list li::after {
    content: '/';
    margin: 0 8px;
    color: var(--strategy-text-light);
}

.path-list li:last-child::after {
    display: none;
}

/* 攻略详情布局 */
.guide-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* 主要内容区域 */
.guide-main-content {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--strategy-card-shadow);
}

.guide-article-container {
    padding: 0;
}

/* 文章头部 */
.article-header-section {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    padding: 40px;
    position: relative;
}

.article-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.article-header-section > * {
    position: relative;
    z-index: 2;
}

.article-category-label {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.article-main-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.article-meta-data {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
}

.publish-time,
.read-count,
.author-info {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* 文章内容主体 */
.article-content-body {
    padding: 20px;
    line-height: 1.8;
}

.content-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    color: var(--strategy-text-color);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--strategy-primary-color);
    position: relative;
}

.content-subtitle::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--strategy-secondary-color);
}

.content-subheading {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: var(--strategy-text-color);
}

.content-paragraph {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 20px 0;
    color: var(--strategy-text-color);
    text-align: justify;
    text-indent: 4ch;
}

/* 评论区域样式 */
.comment-section {
    padding: 30px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.comment-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--strategy-text-color);
}

.comment-form {
    background: var(--strategy-background-light);
    padding: 20px;
    border-radius: 12px;
}

.comment-textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    background: #fff;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--strategy-primary-color);
}

.comment-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment-submit {
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--strategy-transition);
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 64, 147, 0.3);
}

.comment-tips {
    font-size: 13px;
    color: var(--strategy-text-light);
}

/* 侧边栏区域 */
.guide-sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-recommendation-box,
.sidebar-related-box,
.sidebar-ranking-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--strategy-card-shadow);
    transition: var(--strategy-transition);
}

.sidebar-recommendation-box:hover,
.sidebar-related-box:hover,
.sidebar-ranking-box:hover {
    box-shadow: var(--strategy-hover-shadow);
}

.sidebar-header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--strategy-background-light);
}

.sidebar-title-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--strategy-text-color);
}

.sidebar-more-link {
    font-size: 13px;
    color: var(--strategy-text-light);
    text-decoration: none;
    transition: var(--strategy-transition);
}

.sidebar-more-link:hover {
    color: var(--strategy-primary-color);
}

/* 热门攻略推荐 */
.recommendation-articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommend-article-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--strategy-background-light);
    border-radius: 10px;
    transition: var(--strategy-transition);
    cursor: pointer;
}

.recommend-article-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.recommend-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recommend-content {
    flex: 1;
}

.recommend-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--strategy-text-color);
    line-height: 1.3;
    width: 12em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.recommend-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--strategy-text-light);
}

.recommend-date,
.recommend-views {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
}

/* 相关文章 */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-article-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--strategy-background-light);
    border-radius: 12px;
    transition: var(--strategy-transition);
    cursor: pointer;
}

.related-article-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-article-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-article-info {
    flex: 1;
}

.related-article-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--strategy-text-color);
    line-height: 1.3;
    width: 12em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--strategy-text-light);
}

.related-date,
.related-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 游戏排行榜 */
.game-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-game-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--strategy-background-light);
    border-radius: 10px;
    transition: var(--strategy-transition);
    cursor: pointer;
}

.ranking-game-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.ranking-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--strategy-primary-color), var(--strategy-secondary-color));
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ranking-game-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

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

.ranking-game-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--strategy-text-color);
}

.ranking-game-category {
    font-size: 12px;
    color: var(--strategy-text-light);
}

.ranking-hot-badge {
    font-size: 16px;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guide-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-header-section {
        padding: 30px 20px;
    }

    .article-main-title {
        font-size: 24px;
    }

    .article-content-body {
        padding: 20px;
    }

    .article-meta-data {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .content-subtitle {
        font-size: 20px;
    }
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    line-height: 1.8;
    color: #333;
}

.about-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #FF7F7F;
}

.about-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-section p {
    font-size: 16px;
    margin-bottom: 15px;
    text-indent: 2em;
    color: #333;
}

.highlight-text {
    color: #333;
    font-weight: bold;
}

.footer-info-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 8px;
}

.footer-links-about {
    margin: 20px 0;
}

.footer-links-about a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-links-about a:hover {
    background: #333;
    color: #fff;
}

.copyright-text {
    color: #333;
    font-size: 14px;
    margin: 10px 0;
}

/* 游戏分类网格布局 */
.game-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.category-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.category-item:hover .category-image img {
    transform: scale(1.05);
}

.category-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.category-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-meta {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #888;
}

.update-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .game-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .game-categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tab-indicator {
    color: #666;
    font-size: 14px;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-tab img {
    width: 16px;
    height: 16px;
}

.category-tab:hover {
    background: rgba(241, 64, 147, 0.1);
    color: #FF7F7F;
}

.category-tab.active {
    background: linear-gradient(135deg, #FF7F7F, #FFB6B6);
    color: #fff;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.apps-grid a {
    transition: all 0.3s ease;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.app-item:hover {
    transform: translateY(-5px);
    background: rgba(241, 64, 147, 0.05);
}

.app-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.app-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.permission-link {
    color: #FF7F7F;
    background: none;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

p.p-image {
    width: 90%;
}

.info-card {
    line-height: 3;
    font-size: 14px;
}
