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

body {
    font-family: 'Microsoft YaHei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f6f6f6; /* 非纯白色背景 */
}

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

a:hover {
    color: #319dfe;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

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

/* 分区标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.more-link {
    color: #999;
    font-size: 14px;
}

.more-link:hover {
    color: #319dfe;
}

/* 顶部导航栏 */
.top-bar {
    background-color: #f1f1f1;
    border-bottom: 1px solid #e7e7e7;
    font-size: 12px;
}

.top-links {
    display: flex;
    justify-content: flex-end;
    padding: 6px 0;
}

.top-links a {
    margin-left: 15px;
    color: #999;
}

.top-links a:hover {
    color: #319dfe;
}

/* 头部样式 */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    margin-top: 10px;
    height: 40px;
}

.index-img {
    height: 100%;
}

.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-box input {
    width: 100%;
    height: 36px;
    border: 2px solid #319dfe;
    border-radius: 18px;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 36px;
    width: 60px;
    background-color: #319dfe;
    border: none;
    border-radius: 0 18px 18px 0;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
}

/* 主导航 */
.main-nav {
    background-color: #319dfe;
    position: relative;
    z-index: 1000;
}

.nav-list {
    display: flex;
}

.nav-list li {
    position: relative;
    width: 200px;
    text-align: center;
}

.nav-list li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.nav-list a:hover,
.nav-list a.active {
    background-color: #1a7afe;
}

@media screen and (max-width: 767px) {
    .menu-toggle {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #319dfe;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav-list.active {
        display: flex !important;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }
}

/* 分类图标区 */
.category-icons {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    padding: 15px 0;
    overflow: hidden; /* 防止内容溢出 */
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.icon-item {
    width: 11.11%; /* 在大屏幕上显示9个图标 */
    text-align: center;
    padding: 10px 5px; /* 减小水平内边距以适应小屏幕 */
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

@media screen and (max-width: 1200px) {
    .icon-item {
        width: 14.28%; /* 在中等屏幕上显示7个图标 */
    }
}

@media screen and (max-width: 992px) {
    .icon-item {
        width: 16.66%; /* 在平板上显示6个图标 */
    }
}

@media screen and (max-width: 768px) {
    .icon-item {
        width: 25%; /* 在小平板上显示4个图标 */
    }
}

@media screen and (max-width: 576px) {
    .icon-item {
        width: 33.33%; /* 在手机上显示3个图标 */
    }
}

@media screen and (max-width: 375px) {
    .icon-item {
        width: 50%; /* 在小手机上显示2个图标 */
    }
}

.icon-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
    border-radius: 20px;
    transition: transform 0.3s ease; /* 添加图标悬停动画效果 */
}

.category-item:hover img {
    transform: scale(1.1); /* 鼠标悬停时放大图标 */
}

.icon-item span {
    font-size: 12px;
    color: #666;
    display: block; /* 确保文本在小屏幕上也能完整显示 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 文本过长时显示省略号 */
}

/* 快速标签 */
.quick-tags {
    margin-top: 15px;
    background-color: #fff;
    border-radius: 4px;
    padding: 10px 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

.tag-row:last-child {
    border-bottom: none;
}

.tag-label {
    color: #319dfe;
    font-weight: bold;
    margin-right: 10px;
}

.tag-row a {
    margin-right: 15px;
    color: #666;
    font-size: 13px;
}

.tag-row a:hover {
    color: #319dfe;
}

/* 推荐游戏 */
.featured-games {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.game-list.featured {
    display: flex;
    flex-wrap: wrap;
}

.game-list.featured .game-item {
    width: 33.33%;
    padding: 0 10px;
}

.game-list.featured .game-item a {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
}

.game-list.featured .game-img {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.game-list.featured .game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.game-list.featured .game-info {
    flex: 1;
}

.game-list.featured h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.game-list.featured p {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.download-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}

.download-ripple.active {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* 横幅广告模块 - 新版 */
.banner-ad {
    width: 100%;
    display: flex;
    height: 400px;
    margin: 15px auto;
    overflow: hidden;
    gap: 15px;
    max-width: 1200px;
}

.banner-ad a {
    flex: 1;
    max-height: 100px;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.banner-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.banner-info {
    flex: 0 0 30%;
    padding: 15px;
    position: relative;
    background-color: #fff;
}

.game-list-container {
    display: flex;
    gap: 20px;
}

.sidebar-categories {
    width: 180px;
    flex-shrink: 0;
}

.game-content {
    flex: 1;
}

.main-content {
    gap: 20px;
}

.game-list-wrapper {
    flex: 3;
    min-width: 0;
}

.sidebar {
    flex: 1;
    min-width: 250px;
}

@media screen and (max-width: 992px) {
    .game-list-wrapper,
    .sidebar {
        flex: 1 1 100%;
    }
}

.banner-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.game-badges {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.badge {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 10px;
}

.new-badge {
    background-color: #319dfe;
    color: #fff;
    position: relative;
    padding-left: 15px;
}

.new-badge::before {
    content: '';
    width: 4px;
    height: 16px;
    background-color: #319dfe;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.badge-switch {
    color: #999;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-switch:hover {
    color: #319dfe;
    background-color: #f5f5f5;
}

.banner-recommendations {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.recommendations-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.recommendations-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease;
    height: 100%;
}

.recommendation-item {
    display: flex;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

/*.recommendation-item:hover {*/
/*    background-color: #f5f5f5;*/
/*}*/

.recommendation-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 10px;
    object-fit: cover;
}

.rec-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rec-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.rec-type {
    font-size: 12px;
    color: #666;
}

.rec-download {
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    border-radius: 15px;
    background-color: #319dfe;
    cursor: pointer;
}

.rec-size {
    font-size: 12px;
    color: #999;
}

.recommendations-controls {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rec-prev, .rec-next {
    width: 24px;
    height: 24px;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.rec-prev:hover, .rec-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.rec-prev:disabled, .rec-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.banner-image {
    flex: 0 0 70%;
    position: relative;
    overflow: hidden;
}

.banner-image img {
    transition: transform 0.5s ease;
    border-radius: 0;
}

.banner-ad a:hover .banner-image img {
    transform: scale(1.05);
}

.side-recommendations {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100px;
}

.side-item {
    height: 100%;
    transition: transform 0.3s ease;
}

.side-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 响应式样式 */
@media screen and (max-width: 1024px) {
    .banner-info {
        flex: 0 0 40%;
    }

    .banner-image {
        flex: 0 0 60%;
    }
}

@media screen and (max-width: 900px) {
    .side-recommendations {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .banner-ad {
        height: auto;
        margin: 10px 0;
    }

    .banner-content {
        flex-direction: column;
    }

    .banner-info {
        flex: none;
        width: 100%;
        padding: 15px;
        order: 2;
    }

    .banner-image {
        flex: none;
        width: 100%;
        height: 200px;
        order: 1;
    }

    .banner-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .game-badges {
        margin-bottom: 10px;
    }

    .recommendation-item {
        padding: 6px;
    }

    .recommendation-item img {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .banner-recommendations {
        display: none;
    }

    .banner-image {
        height: 180px;
    }

    .banner-info {
        padding: 10px;
    }

    .banner-title {
        font-size: 14px;
    }

    .recommendation-item img {
        width: 36px;
        height: 36px;
    }

    .rec-title {
        font-size: 12px;
    }

    .rec-meta, .rec-size {
        font-size: 10px;
    }

    .rec-download {
        width: 80px;
        height: 24px;
        line-height: 24px;
        font-size: 10px;
    }

    .recommendations-controls {
        right: 5px;
    }

    .rec-prev, .rec-next {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

/* 游戏分类 */
.game-category {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category-tabs a {
    padding: 0 10px;
    font-size: 14px;
    color: #666;
    position: relative;
}

.category-tabs a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #ddd;
}

.category-tabs a.active {
    color: #319dfe;
    font-weight: bold;
}

.game-grid .game-item a {
    display: block;
    text-align: center;
}

.game-grid .game-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.game-grid h3 {
    font-size: 14px;
    margin-bottom: 5px;
    width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 6em; /* PC端限制显示6个字 */
}

@media screen and (max-width: 768px) {
    .game-grid h3 {
        max-width: 4em; /* 限制为4个字符宽度 */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.game-grid p {
    color: #999;
    font-size: 12px;
}

/* 应用分类 */
.app-category {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.app-grid .app-item {
    width: 12.5%;
    padding: 10px;
}

.app-grid .app-item a {
    display: block;
    text-align: center;
}

.app-grid .app-img {
    width: 128px;
    height: 128px;
    margin: 0 auto 8px;
    border-radius: 15px;
    overflow: hidden;
}

.app-grid h3 {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-grid p {
    color: #999;
    font-size: 12px;
}

/* 专题推荐 */
.game-specialtopic {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 让三个recommend容器在PC端横向排列 */
.game-specialtopic {
    display: flex;
    flex-wrap: wrap;
}

.game-specialtopic .section-header {
    width: 100%;
    margin-bottom: 15px;
}

.game-specialtopic .recommend {
    flex: 1;
    margin-right: 20px;
}

.game-specialtopic .recommend:last-child {
    margin-right: 0;
}

.recommend .topic-list {
    background-color: #f8f8f8;
    border-radius: 4px;
    width: 100%;
}

.recommend .topic-item.large {
    width: 100%;
    position: relative;
}

.recommend .topic-item.large a {
    display: block;
    text-decoration: none;
}

.recommend .topic-item.large img {
    width: 100%;
    height: 160px;
    border-radius: 4px;
    object-fit: cover;
}

.recommend .topic-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .game-specialtopic {
        display: block;
    }

    .game-specialtopic .recommend {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .game-specialtopic .recommend:last-child {
        margin-bottom: 0;
    }
}

/* 下载排行 */
.download-rank {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rank-container {
    display: flex;
    margin: 0 -10px;
}

.rank-column {
    width: 33.33%;
    padding: 0 10px;
}

.Gamelist-wrapper {
    width: 100%;
}

.rank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rank-header h3 {
    font-size: 16px;
    color: #319dfe;
}

.rank-header p {
    font-size: 16px;
}

.rank-header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.rank-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.rank-tabs a:hover, .rank-tabs a.active {
    color: #fff;
    background-color: #319dfe;
    border-color: #319dfe;
}

.rank-tabs a {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    background-color: #fff;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
}

.rank-item {
    padding: 8px 0;
}

.rank-num {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #ddd;
    color: #fff;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 12px;
}

.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
    background-color: #319dfe;
}

.rank-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-right: 10px;
}

.rank-info {
    flex: 1;
    overflow: hidden;
}

.rank-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-info p {
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
    font-size: 12px;
    color: black;
}

.rank-item .download-btn {
    margin-left: 20px;
    color: black;
}

.rank-item:not(.highlight) img {
    display: none;
}

/* 最新更新 */
.news-update {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.news-tag {
    color: #319dfe;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    color: #999;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .news-tag {
        width: 70%;
        max-width: 260px;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 页脚 */
footer {
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    justify-content: center;
    align-items: center;
}

.link-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 15px;
}

.link-group h3 {
    font-size: 16px;
    margin-right: 13px;
    color: #333;
}

.link-group a {
    display: inline-block;
    margin: 0 10px;
    color: #666;
    font-size: 13px;
}

.copyright {
    padding: 15px 0;
    text-align: center;
    color: #999;
    font-size: 12px;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #319dfe;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
}

.arrow-up {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #fff;
}

@media screen and (max-width: 768px) {
    .back-to-top {
        width: 35px;
        height: 35px;
        bottom: 30px;
        right: 20px;
    }

    .arrow-up {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 10px solid #fff;
    }
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #319dfe;
}

/* 游戏标签 */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.game-detail-container {
    overflow: visible;
}

.game-detail-main {
    overflow: hidden;
}

/* 下载按钮组 */
.download-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}

.android-btn {
    background-color: #3ddc84;
    box-shadow: 0 2px 5px rgba(61, 220, 132, 0.3);
}

.android-btn:hover {
    background-color: #32b86e;
    box-shadow: 0 4px 8px rgba(61, 220, 132, 0.4);
}

.ios-btn {
    background-color: #007aff;
    box-shadow: 0 2px 5px rgba(0, 122, 255, 0.3);
}

.ios-btn:hover {
    background-color: #0060c8;
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.4);
}

/* 相关游戏网格 */
.related-games {
    padding: 15px;
}

.related-game-item {
    text-align: center;
    flex: 0 0 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
    margin-bottom: 10px;
}

.related-game-item a {
    display: block;
    width: 100%;
}

.related-game-item img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    margin: 0 auto 5px;
    transition: transform 0.3s ease;
    display: block;
    object-fit: cover;
}

.related-game-item:hover img {
    transform: scale(1.05);
}

.related-game-item span {
    display: block;
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

/* 响应式增强 */
@media screen and (max-width: 767px) {
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        padding: 0;
        gap: 15px;
    }

    .download-btn {
        padding: 8px 15px;
        font-size: 14px;
        min-width: 100px;
        max-width: 45%;
    }

    .screenshot-gallery {
        gap: 5px;
    }

    .meta-item {
        display: block;
        margin-bottom: 5px;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .game-tags {
        justify-content: center;
        margin: 0 -5px 15px;
    }

    .tag {
        margin: 0 5px 10px;
        padding: 3px 8px;
        font-size: 12px;
    }

    body {
        overflow-x: hidden;
    }

    .game-detail-container {
        padding: 0 5px;
    }

    .related-games {
        padding: 15px 8px;
    }

    .related-game-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .related-game-item {
        flex: 0 0 calc(33.33% - 7px);
        max-width: calc(33.33% - 7px);
    }

    .related-game-item img {
        width: 100px;
        height: 100px;
        object-fit: cover;
    }
}

@media screen and (max-width: 480px) {
    .game-meta {
        display: block;
    }

    .download-btn {
        font-size: 13px;
        padding: 8px 10px;
        min-width: 90px;
        max-width: 45%;
    }

    .related-games {
        padding: 15px 5px;
    }

    .related-game-grid {
        gap: 8px;
    }

    .related-game-item {
        flex: 0 0 calc(33.33% - 6px);
        max-width: calc(33.33% - 6px);
        margin-bottom: 10px;
    }

    .related-game-item img {
        width: 95px;
        height: 95px;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    .game-info-header {
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .game-detail-container {
        padding: 0;
    }

    .game-detail-main {
        padding: 15px 10px;
    }

    .download-buttons {
        gap: 10px;
    }

    .download-btn {
        min-width: 90px;
        max-width: 30%;
    }
}

@media screen and (max-width: 375px) {
    .related-games {
        padding: 12px 5px;
    }

    .related-game-grid {
        gap: 6px;
    }

    .related-game-item {
        flex: 0 0 calc(33.33% - 4px);
        max-width: calc(33.33% - 4px);
    }

    .related-game-item img {
        width: 90px;
        height: 90px;
    }

    .related-game-item span {
        font-size: 11px;
    }
}

@media screen and (max-width: 320px) {
    .related-game-item img {
        width: 75px;
        height: 75px;
    }
}

/* 专题详情页样式增强 */
.topic-container {
    max-width: 1200px;
    margin: 15px auto;
    overflow: visible;
}

.topic-header {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-banner {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

.topic-desc {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.topic-desc p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.download-meta span {
    color: #666;
    font-size: 14px;
}

.download-list {
    margin-bottom: 30px;
}

.download-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #319dfe;
    line-height: 1.2;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

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

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-item a {
    display: block;
    background-color: #FFFFFF;
}

.item-img img {
    transition: transform 0.3s ease;
    border-radius: 6px 6px 0 0;
}

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

.item-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #319dfe;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    z-index: 2;
}

.item-info {
    padding: 15px;
    position: relative;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #999;
}

.item-size, .item-date {
    flex: 1;
}

.item-rating {
    margin-bottom: 15px;
}

.star {
    color: #ddd;
    font-size: 16px;
}

.star.filled {
    color: #ffb800;
}

.button-item {
    color: #FFFFFF;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    background-color: #319dfe;
}

.button-item:hover {
    color: #FFFFFF;
    background-color: #1a7afe;
}

.topic-recommended {
    margin-bottom: 30px;
}

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

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

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

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

.related-info {
    padding: 10px;
}

.related-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-type {
    font-size: 12px;
    color: #999;
}

/* 响应式样式调整 */
@media screen and (max-width: 1024px) {
    .download-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .related-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .topic-container {
        padding: 0 10px;
    }

    .topic-title {
        font-size: 20px;
    }

    .download-title, .related-title {
        font-size: 18px;
    }

    .download-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .related-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-img {
        height: 150px;
    }

    .topic-title {
        font-size: 18px;
    }
}

/* 下载按钮交互效果 */
.item-btn.clicked {
    background-color: #1a7afe;
    transform: scale(0.95);
    transition: all 0.2s ease;
}

/* 下载按钮点击涟漪效果 */
@keyframes click-wave {
    0% {
        opacity: 0.6;
        transform: scale(0.1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.item-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.item-btn.clicked::after {
    animation: click-wave 0.6s ease-out;
}

/* 专题内容左右布局 - 增强版 */
.topic-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 300px;
}

.topic-content .topic-banner {
    flex: 0 0 45%;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    max-height: none;
}

.topic-content .topic-banner img {
    width: 98%;
    height: 94%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 10px;
    margin: 10px;
}

.topic-content:hover .topic-banner img {
    transform: scale(1.05);
}

.topic-content .topic-desc {
    flex: 0 0 55%;
    padding: 25px;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topic-content .topic-desc p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.topic-content .topic-desc p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .topic-content {
        min-height: 250px;
    }

    .topic-content .topic-banner {
        flex: 0 0 40%;
    }

    .topic-content .topic-desc {
        flex: 0 0 60%;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .topic-content {
        flex-direction: column;
        gap: 0;
        min-height: auto;
    }

    .topic-content .topic-banner {
        flex: 0 0 auto;
        max-height: 200px;
    }

    .topic-content .topic-desc {
        flex: 0 0 auto;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .topic-content .topic-banner {
        max-height: 180px;
    }

    .topic-content .topic-desc {
        padding: 12px;
    }

    .topic-content .topic-desc p {
        margin-bottom: 10px;
        font-size: 13px;
    }
}

/* 轮播图样式 */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.slide-title {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: #fff;
    padding: 20px 15px 15px;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dot.active {
    background-color: #319dfe !important;
    border-color: #fff !important;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 96, 0, 0.5);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.game-list.featured .game-item a:hover .game-img img {
    transform: scale(1.05);
}

/* 资讯中心页面样式 */
.article-list-wrapper {
    width: 100%;
}

.sidebar {
    width: 25%;
}

/* 栏目分类 */
.category-tabs {
    border-radius: 4px;
    padding: 12px 15px;
    display: flex;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.category-tabs a {
    padding: 5px 15px;
    margin-right: 10px;
    color: #666;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.category-tabs a.active {
    background-color: #319dfe;
    color: #fff;
}

.category-tabs a:hover:not(.active) {
    color: #319dfe;
}

/* 文章列表 */
.article-list {
    background-color: #fff;
    border-radius: 4px;
    padding: 5px 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.article-item a {
    display: flex;
    transition: all 0.3s ease;
}

.article-item a:hover {
    opacity: 0.9;
}

.article-img {
    width: 180px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.article-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 12px;
}

.article-meta .time {
    margin-right: 15px;
}

.article-meta .views {
    display: flex;
    align-items: center;
}

.sidebar-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.sidebar-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    background-color: #319dfe;
}

/* 推荐阅读 */
.hot-article-list {
    display: flex;
    flex-direction: column;
}

.hot-article-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

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

.hot-article-item img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    margin-right: 10px;
    object-fit: cover;
}

.hot-article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hot-article-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-article-info p {
    font-size: 12px;
    color: #999;
}

/* 热门资讯列表 */
.sidebar-list {
    padding: 5px 0;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.sidebar-list a:hover {
    color: #319dfe;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 3px;
    margin: 0 10px 10px 0;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: #319dfe;
    color: #fff;
}

/* 热门推荐 */
.hot-games-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.hot-games-tabs a {
    padding: 0 15px 10px;
    color: #666;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.hot-games-tabs a.active {
    color: #319dfe;
    font-weight: bold;
}

.hot-games-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #319dfe;
}

.hot-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

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

.game-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 5px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.game-item span {
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-item .game-type {
    color: #999;
    font-size: 10px;
}

/* 响应式调整 */
@media screen and (max-width: 1024px) {
    .article-list-wrapper {
        width: 70%;
    }

    .sidebar {
        width: 30%;
    }

    .hot-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .article-list-wrapper {
        width: 100%;
        padding-right: 0;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .sidebar {
        width: 100%;
        margin-top: 20px;
    }

    .article-item a {
        flex-direction: column;
    }

    .article-img {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .category-tabs a {
        margin-bottom: 10px;
    }

    .hot-games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .category-tabs {
        padding: 10px;
    }

    .category-tabs a {
        padding: 3px 10px;
        font-size: 13px;
    }

    .article-img {
        height: 160px;
    }

    .article-info h3 {
        font-size: 15px;
    }

    .hot-games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hot-games-tabs a {
        padding: 0 10px 8px;
        font-size: 13px;
    }
}

/* ranks-gamedownload 排行榜游戏下载区域样式 */
.ranks-gamedownload {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.ranks-gameitem {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ranks-gameIcon {
    /*width: 30%;*/
    max-width: 200px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.ranks-gameIcon img {
    width: 80px;
    aspect-ratio: 1/1; /* 确保宽高比为1:1，即宽高一致 */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.ranks-gameitem:hover .ranks-gameIcon img {
    transform: scale(1.05);
}

.ranks-gameinfo {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ranks-gameinfo-header {
    margin-bottom: 10px;
}

.ranks-gameinfo-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.ranks-gamedesc {
    margin-bottom: 15px;
}

.ranks-gamedesc p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranks-gamemeta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.meta-stars {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.star {
    position: relative;
    display: inline-block;
    font-style: normal;
    margin-right: 2px;
}

.star.filled:before {
    content: '★';
    color: #ffb800;
}

.star.empty:before {
    content: '★';
    color: #ddd;
}

.ranks-gamedowad {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10%;
    min-width: 80px;
}

.ranks-gamedowad .download-btn {
    width: 80px;
    height: 30px;
    display: block;
    /*padding: 8px 20px;*/
    line-height: 30px;
    background-color: #319dfe;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* 移动端响应式样式 */
@media screen and (max-width: 768px) {
    .ranks-gameitem {
        flex-direction: row;
        gap: 10px;
        padding: 12px;
    }

    .ranks-gameIcon {
        width: auto;
        max-width: 80px;
        flex-shrink: 0;
    }

    .ranks-gameIcon img {
        width: 80px;
        height: 80px;
    }

    .ranks-gameinfo {
        flex: 1;
        min-width: 0;
    }

    .ranks-gamedowad {
        width: auto;
        min-width: 60px;
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .ranks-gameitem {
        padding: 10px;
        gap: 8px;
    }

    .ranks-gameIcon {
        max-width: 70px;
    }

    .ranks-gameIcon img {
        width: 70px;
        height: 70px;
    }

    .ranks-gameinfo-header h3 {
        font-size: 16px;
    }

    .ranks-gamedesc p {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .ranks-gamemeta {
        font-size: 11px;
        gap: 8px;
    }

    .ranks-gamedowad .download-btn {
        width: 55px;
        height: 30px;
        line-height: 20px;
        font-size: 14px;
    }
}

/* 网站地图样式 */
.sitemap-container {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sitemap-section {
    margin-bottom: 30px;
}

.sitemap-section h2 {
    font-size: 18px;
    color: #319dfe;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.sitemap-links {
    display: flex;
    flex-wrap: wrap;
}

.sitemap-category {
    width: 12%;
    padding: 0 15px 20px 0;
}

.sitemap-category h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.sitemap-list {
    list-style: none;
}

.sitemap-list li {
    margin-bottom: 8px;
}

.sitemap-list a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-list a:hover {
    color: #319dfe;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .sitemap-category {
        width: 33.33%;
    }
}

@media screen and (max-width: 768px) {
    .sitemap-category {
        width: 50%;
    }
}

@media screen and (max-width: 576px) {
    .sitemap-category {
        width: 33.333%;
        padding-right: 0;
    }
}

/* 游戏列表页布局 */
.game-list-container {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* 左侧分类导航 */
.sidebar-categories {
    width: 180px;
    flex-shrink: 0;
    position: relative;
}

.category-box {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 添加粘性定位，使category-box随滚动固定 */
.sidebar-categories.fixed {
    position: relative;
}

.sidebar-categories.fixed .category-box {
    position: sticky;
    top: 15px; /* 距离顶部的距离 */
    z-index: 10;
}

.category-header {
    background-color: #f6f6f6;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.category-list {
    padding: 5px 0;
}

.category-list li {
    padding: 0;
    border-bottom: 1px dashed #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: block;
    padding: 10px 15px;
    color: #666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.category-list li.active {
    border-left: 2px solid #319dfe;
}

/* 右侧内容区 */
.game-content {
    flex: 1;
    min-width: 0;
}

/* 游戏过滤器 */
.game-filter {
    background-color: #fff;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    color: #333;
    font-weight: bold;
    margin-right: 10px;
    min-width: 50px;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.filter-options a {
    margin-right: 15px;
    margin-bottom: 5px;
    color: #666;
    transition: all 0.3s ease;
}

.filter-options a.active,
.filter-options a:hover {
    color: #319dfe;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .game-list-container {
        flex-direction: column;
    }

    .sidebar-categories {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .category-box {
        flex: 1;
        min-width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .category-box {
        min-width: 100%;
    }

    .filter-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-label {
        margin-bottom: 8px;
    }

    .filter-options {
        width: 100%;
    }

    .filter-options a {
        margin-bottom: 8px;
    }

    .game-content .main-content {
        padding: 0;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb-inner {
        padding: 10px 0;
    }

    .category-header {
        padding: 10px;
    }

    .category-list li a {
        padding: 8px 10px;
    }

    .game-filter {
        padding: 10px;
    }
}

/* 分类标题在移动端下的展开/收起指示器 */
@media screen and (max-width: 992px) {
    .category-header {
        position: relative;
        cursor: pointer;
    }

    .category-header::after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #999;
        transition: transform 0.3s ease;
    }

    .category-header.active::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .category-box {
        transition: all 0.3s ease;
    }
}

/* detail-tabs图片样式 */
.detail-tabs img {
    display: block;
    margin: 0 auto;
    max-width: 80%;
}

.detail-tabs p {
    margin: 20px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    text-indent: 2em;
}

@media (max-width: 768px) {
    .detail-tabs img {
        max-width: 100%;
        margin: 10px auto;
    }

    .detail-tabs p {
        white-space: normal;
        overflow: visible;
        display: block;
        -webkit-line-clamp: unset;
        word-wrap: break-word;
    }
}

/* 移动端适配 - game-grid 布局 */
@media (max-width: 768px) {
    .game-grid {
        gap: 8px;
    }

    .game-grid .game-item {
        width: 23%;
    }

    /* category-header 移动端隐藏 */
    .category-header {
        display: none;
    }

    /* category-box 移动端水平滑动样式 */
    .category-box {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }

    .category-box::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .category-list {
        display: flex;
        flex-direction: row;
        padding: 5px 0;
    }

    .category-list li {
        flex-shrink: 0;
        border-bottom: none;
        border-right: 1px dashed #eee;
        white-space: nowrap;
    }

    .category-list li:last-child {
        border-right: none;
    }

    .category-list li a {
        padding: 10px 15px;
        display: block;
        white-space: nowrap;
    }
}

/* Title-name 文字只显示一行样式 */
.Title-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* software list 左右布局样式 */
.software.list {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.software.list .item-img {
    flex: 1;
    min-width: 0;
}

.software.list .item-info {
    flex: 2;
    min-width: 0;
}

.software.list .item-img img {
    padding: 10px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.item-btn .span-link {
    margin: 0 0 10px 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: 5em;
    word-break: break-word;
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .software.list {
        flex-direction: row;
        gap: 10px;
    }

    .software.list .item-img {
        flex: 1;
        min-width: 0;
    }

    .software.list .item-info {
        flex: 2;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .software.list {
        gap: 8px;
    }

    .software.list .item-img {
        flex: 1;
    }

    .software.list .item-info {
        flex: 2;
    }
}

/* span-link 文字只显示三行样式 */
.span-link {
    padding: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 5em;
}

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

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

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

.download-item .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;
}
/* 移动端自适应 */
@media (max-width: 768px) {
    .span-link {
        -webkit-line-clamp: 2;
        max-height: 3em; /* 移动端显示2行 */
        line-height: 1.5;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .download-item .item-btn p {
        font-size: 12px;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        max-height: 5em;
        text-align: left;
        padding: 10px;
    }
}

/* Hot Topics 左右布局样式 */
.Hot.Topics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.Hot.Topics .related-title {
    flex: 1;
    margin: 0;
}

.Hot.Topics .view-more {
    flex-shrink: 0;
    margin-left: 15px;
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .Hot.Topics {
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
    }

    .Hot.Topics .view-more {
        font-size: 14px;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .Hot.Topics {
        margin-bottom: 12px;
    }

    .Hot.Topics .related-title {
        font-size: 16px;
    }

    .Hot.Topics .view-more {
        font-size: 13px;
        margin-left: 8px;
    }
}

/* news-zuixin PC端两列布局 */
.news-zuixin {
    display: flex;
    gap: 20px;
}

.news-zuixin .news-list {
    flex: 1;
}

/* 移动端恢复单列布局 */
@media screen and (max-width: 768px) {
    .news-zuixin {
        display: block;
    }

    .news-zuixin .news-list {
        flex: none;
    }
}

/* topic-small-list 样式 */
.topic-small-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.topic-item.small {
    width: 31.5%;
    text-align: center;
    min-width: 0;
}

.topic-item.small a {
    display: block;
    text-decoration: none;
}

.topic-item.small img {
    width: 60%;
    border-radius: 4px;
    margin-bottom: 8px;
    object-fit: cover;
}

.topic-item.small .topic-title {
    position: static;
    background: none;
    color: #333;
    font-size: 12px;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .game-specialtopic {
        display: block;
    }

    .game-specialtopic .recommend {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .game-specialtopic .recommend:last-child {
        margin-bottom: 0;
    }

    .topic-small-list {
        flex-wrap: wrap;
        gap: 8px;
    }

    .topic-item.small {
        flex: 0 0 calc(33.33% - 6px);
        min-width: calc(33.33% - 6px);
    }
}

/* 移动端gameItem-info下p标签水平垂直排布 */
@media screen and (max-width: 768px) {
    .gameItem-info .rating {
        flex-direction: column;
        align-items: flex-start;
    }

    .gameItem-info .rating p {
        margin-bottom: 3px;
        width: 100%;
    }

    .gameItem-info .left-section p {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
        word-wrap: break-word;
    }
}

@media screen and (max-width: 480px) {
    .gameItem-info .rating {
        margin-bottom: 8px;
    }

    .gameItem-info .rating p {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .gameItem-info .left-section p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* 截图轮播图样式 */
.screenshot-carousel {
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-btn.prev {
    left: 165px;
}

.carousel-btn.next {
    right: 165px;
}

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

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

.indicator.active {
    background-color: #319dfe;
    transform: scale(1.3);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .carousel-wrapper {
        height: 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .slide-title {
        padding: 15px 12px 12px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .carousel-wrapper {
        height: 200px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .slide-title {
        padding: 12px 10px 10px;
        font-size: 13px;
    }
}
