* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #f2f2f2;
}
.header-bg {
    background: url('../images/headbg1.jpg') no-repeat center top;
    background-size: cover;
    width: 100%;
    height: 87.5px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: red; */
    width: 100%;
}
.logo {
    margin-top: 13px;
    margin-left: 13px;
    display: inline-block;
    height: 27px; 
    width: 90px; 
    background-image: url('../images/logo.png'); 
    background-repeat: no-repeat;
    background-size: 100%;
    text-decoration: none;
}
.menu-icon{
    margin-top: 13px;
    margin-right: 13px;
   display: inline-block;
    height: 22px;
    width: 22px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: -117px -0px;
    background-size: 400px 400px;
}

/* 导航栏样式 */
.nav {
    height: 43px;
    display: flex;
    align-items: center;
}

.nav-item {
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
}

.nav-item.active {
    color: #ff9900;
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 6px;
    width: 18px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: -143px -1px;
    background-size: 400px 400px;
}

/* 轮播图样式 */
.banner {
    width: 100%;
    position: relative;
}

.mySwiper {
    width: 100%;
    height: 160px; /* 设置固定高度 */
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 轮播图链接样式 */
.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

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

/* 轮播图容器自定义样式 */
.mySwiper .swiper-pagination {
    bottom: 15px !important;
}
/* 应用推荐模
块样式 */
.app-recommend {
    height: 132px;  
    width: 100%;
    background: #ffffff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.recommend-tag {
}

.tag-text {
    color: white;
    height: 120px;
    display: flex;
    margin-left: 8px;
    font-size: 15px;
    font-weight: bold;
    font-style: italic;
    writing-mode: vertical-rl;
    /* text-orientation: upright; */
    align-items: center;
    justify-content: center;
}

.app-list {
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding: 0 10px;
}

/* 应用推荐链接样式 */
.app-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 13px;
    overflow: hidden;
}

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

.app-name {
    font-size: 14px;
    color: #666;
    text-align: center;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.recommend-bg{
    background-image: url('../images/indexbg1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
}/* 最新上架
模块样式 */
.latest-section {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.latest-section::before {
    color: #f4f4f4;
    content: 'NEW LAUNCH';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.latest-section::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.more-link {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}

.more-link:hover {
    color: #e68900;
}

/* 其他MORE按钮样式 */
.games-more, .apps-more, .categories-more, .app-categories-more {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}

.games-more:hover, .apps-more:hover, .categories-more:hover, .app-categories-more:hover {
    color: #e68900;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.latest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 最新上架链接样式 */
.latest-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

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

.latest-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.latest-name {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-btn {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* 首页最新上架专用下载按钮 */
.latest-download-btn {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.latest-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}/* 精选手游模块样
式 */
.featured-games {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-games::before {
    color: #f4f4f4;
    content: 'FEATURED GAMES';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.featured-games::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.games-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.games-more {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 精选手游链接样式 */
.game-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

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

/* 游戏分类链接样式 */
.main-category-link, .category-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.main-category-link:hover, .category-item-link:hover {
    transform: translateY(-2px);
}

/* 精选应用链接样式 */
.app-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.app-card-link:hover {
    transform: translateY(-2px);
}

/* 应用分类链接样式 */
.main-app-category-link, .app-category-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.main-app-category-link:hover, .app-category-item-link:hover {
    transform: translateY(-2px);
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.game-name {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-download {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.game-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}/* 精选应用模
块样式 */
.featured-apps {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-apps::before {
    color: #f4f4f4;
    content: 'FEATURED APPS';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.featured-apps::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.apps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.apps-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.apps-more {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
}

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

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.app-card-name {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-card-download {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.app-card-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}/* 
友情链接模块样式 */
.friend-links {
    background: #ffffff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.friend-links::before {
    color: #f4f4f4;
    content: 'FRIEND LINKS';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.friend-links::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.links-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.links-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.links-more {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
}

/* 页脚样式 */
.footer {
    background: #4a4a4a;
    padding: 30px 20px;
    text-align: center;
}


.footer-logo-icon {
    margin:0 auto;
    display: inline-block;
    height: 27px; 
    width: 90px; 
    background-image: url('../images/logo.png'); 
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}

.footer-logo-text {
    color: #999;
    font-size: 16px;
    font-weight: bold;
}

.footer-copyright {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}/* 游
戏分类模块样式 */
.game-categories {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.game-categories::before {
    color: #f4f4f4;
    content: 'GAME CATEGORIES';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.game-categories::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.categories-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.categories-more {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
}

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

.main-category {
    width: 98.33px;
    height: 97px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-image: url('../images/listli2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-category:hover {
    transform: translateY(-2px);
}

.main-category-icon {
    width: 33px;
    height: 33px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: -2px -198px;
    background-size: 400px 400px;
}

.main-category-info {
    bottom: 15px;
    left: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-category-count {
    font-size: 10px;
    opacity: 0.9;
}

.main-category-title {
    font-size: 14px;
    font-weight: bold;
}

.sub-categories {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.category-item {
   display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.category-icon {
    width: 30px;
    height: 30px;
    background-image: url('../images/icon.png');
    background-repeat: no-repeat;
    background-size: 400px 400px;
    border-radius: 6px;
}

.puzzle-icon {
    background-position: -115px -105px; /* 益智解谜图标位置 */
}

.shooting-icon {
    background-position: -115px -105px; /* 射击飞行图标位置 */
}

.adventure-icon {
    background-position: -115px -105px; /* 冒险闯关图标位置 */
}

.strategy-icon {
    background-position: -115px -105px; /* 策略游戏图标位置 */
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 10px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.category-count {
    font-size: 8px;
    color: #666;
}/* 应
用分类模块样式 */
.app-categories {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.app-categories::before {
    color: #f4f4f4;
    content: 'APP CATEGORIES';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.app-categories::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.app-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.app-categories-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.app-categories-more {
    font-size: 14px;
    color: #ff9900;
    cursor: pointer;
    font-weight: 500;
}

.app-categories-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-app-category {
    width: 109px;
    height: 103px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-image: url('../images/listli.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-app-category:hover {
    transform: translateY(-2px);
}

.main-app-category-icon {
    width: 33px;
    height: 33px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: -2px -198px;
    background-size: 400px 400px;
}

.main-app-category-info {
    bottom: 15px;
    left: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-app-category-count {
    font-size: 10px;
    opacity: 0.9;
}

.main-app-category-title {
    font-size: 14px;
    font-weight: bold;
}

.sub-app-categories {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.app-category-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-category-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.app-category-icon {
    width: 30px;
    height: 30px;
    background-image: url('../images/icon.png');
    background-repeat: no-repeat;
    background-size: 400px 400px;
    border-radius: 6px;
}

.education-icon {
    background-position: -115px -105px;
}

.security-icon {
    background-position: -115px -105px;
}

.tools-icon {
    background-position: -115px -105px;
}

.shopping-icon {
    background-position: -115px -105px;
}

.app-category-info {
    flex: 1;
}

.app-category-name {
    font-size: 10px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.app-category-count {
    font-size: 8px;
    color: #666;
}/* 综合
排行榜模块样式 */
.ranking-section {
    margin: 15px;
    background: #FA8574;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(255, 123, 84, 0.3);
    position: relative;
    overflow: hidden;
}

.ranking-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ranking-title-bg {
    width: 265px;
    height: 30px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-size: 400px 400px;
    background-position: 0px -248px;
}

.ranking-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ranking-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.ranking-tab.active {
    background: #ff4444;
    box-shadow: 0 2px 6px rgba(255, 68, 68, 0.4);
}

.ranking-tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ranking-tab.active:hover {
    background: #ff4444;
}

.ranking-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-three {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
}

.rank-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.rank-numbers{
        width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    position: absolute;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    justify-content: flex-end;
    background: #fff;
    transform: rotate(45deg);
}
.rank-number {
    width: 38px;
    height: 38px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-size: 400px 400px;
    transform: rotate(-45deg);
        position: absolute;
    left: 42px;
    top: 15px;
}

.rank-1 .rank-number {
    background-position: -9px -350px;
}

.rank-2 .rank-number {    background-position: -54px -350px;

}

.rank-3 .rank-number {    background-position:-100px -350px;

}

.rank-icon {
    width: 80px;
    height:80px;
    position: relative;
   
}

.rank-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.rank-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    height: 32px;
    overflow: hidden;
}

.rank-stats {
    font-size: 10px;
    color: #666;
}

.rank-download {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 165, 0, 0.3);
}

.rank-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 165, 0, 0.4);
}

.rank-list {
    display: flex;
    flex-direction: column;
}

.rank-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-top: 1px solid #f8f9fa;
}

.rank-list-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.rank-list-number {
    font-size: 11px;
    font-weight: bold;
    color: white;
    padding-left: 4px;
    flex-shrink: 0;
    position: absolute;
    top:0px;
    left:0px;
       margin: 0 auto;
    display: inline-block;
    height: 22px;
    width: 26px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: -369px -222px;
    background-size: 400px 400px;
}

.rank-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

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

.rank-list-info {
    flex: 1;
}

.rank-list-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.rank-list-category {
    font-size: 10px;
    color: #999;
    margin-bottom: 2px;
}

.rank-list-time {
    font-size: 10px;
    color: #999;
}

.rank-list-download {
        background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s 
ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

.rank-list-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 165, 0, 0.4);
}/* 手
机游戏页面 - 可展开游戏分类模块样式 */
.expandable-game-categories {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.expandable-game-categories::before {
    color: #f4f4f4;
    content: 'GAME CATEGORIES';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.expandable-game-categories::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.expandable-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.expandable-categories-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
}

.expandable-categories-content {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom:5px;
}

/* 展开后的分类网格 */
.expanded-categories {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease-out;
}

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

/* 展开收起按钮 */
.expand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/listtb.png');
    background-size: 100% 100%;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: bold;
    margin: 0 auto;
    width: 100%;
    position: relative;
    text-align: center;
    padding-right: 7px;
}

.expand-toggle:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.expand-toggle:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.expand-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* 额外分类图标样式 */
.action-icon {
    background-position: -115px -105px;
}

.sports-icon {
    background-position: -115px -105px;
}

.role-icon {
    background-position: -115px -105px;
}

.simulation-icon {
    background-position: -115px -105px;
}

.racing-icon {
    background-position: -115px -105px;
}

.music-icon {
    background-position: -115px -105px;
}

.network-icon {
    background-position: -115px -105px;
}

.casual-icon {
    background-position: -115px -105px;
}

.hot-icon {
    background-position: -115px -105px;
}

/* 游戏列表模块样式 */
.game-list-section {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



.game-list-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.game-list-tab {
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.game-list-tab.active {
    color: #333;
    font-weight: bold;
}

.game-list-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ff9900;
    border-radius: 2px;
}

.game-list-hint {
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.game-list {
    display: flex;
    flex-direction: column;
}

.game-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

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

.game-list-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 0 -10px;
    padding: 15px 10px;
}

.game-list-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

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

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

.game-list-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.game-list-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 3px;
}

.game-list-time {
    font-size: 11px;
    color: #999;
}

.game-list-download {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
    flex-shrink: 0;
}

.game-list-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* 分页器样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pagination-item {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pagination-item:hover {
    color: #ff9900;
}

.pagination-current {
    color: #666;
    font-size: 14px;
}

/* 游戏横幅样式 */
.game-banner {
    height: 95px;
    background: url('../images/gamelist.png') no-repeat center center;
    background-size: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-banner-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.game-banner-text {
    color: white;
    display:flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-left:24px;
    margin-top:-10px;
}

.game-banner-title {
    font-size: 18px;
}

.game-banner-subtitle {
    font-size: 12px;
    margin: 0;
}
/* 
软件应用横幅样式 */
.app-banner {
    height: 95px;
    background: url('../images/gamelist.png') no-repeat center center;
    background-size: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-banner-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.app-banner-text {
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-left: 24px;
    margin-top: -10px;
}

.app-banner-title {
    font-size: 18px;
}

.app-banner-subtitle {
    font-size: 12px;
    margin: 0;
}

/* 应用分类模块样式 */
.expandable-app-categories {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.expandable-app-categories::before {
    color: #f4f4f4;
    content: 'APP CATEGORIES';
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.expandable-app-categories::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: linear-gradient(to left, #f4f4f4, transparent);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

/* 应用列表模块样式 */
.app-list-section {
    margin: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-list-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.app-list-tab {
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.app-list-tab.active {
    color: #333;
    font-weight: bold;
}

.app-list-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ff9900;
    border-radius: 2px;
}

.app-list-hint {
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.app-list {
    display: flex;
}

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

.app-list-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 0 -10px;
    padding: 15px 10px;
}

.app-list-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

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

.app-list-info {
    flex: 1;
}

.app-list-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.app-list-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 3px;
}

.app-list-time {
    font-size: 11px;
    color: #999;
}

.app-list-download {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
    flex-shrink: 0;
}

.app-list-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* 应用分类图标样式 */
.social-icon {
    background-position: -115px -105px;
}

.photo-icon {
    background-position: -115px -105px;
}

.video-icon {
    background-position: -115px -105px;
}

.finance-icon {
    background-position: -115px -105px;
}

.travel-icon {
    background-position: -115px -105px;
}

.health-icon {
    background-position: -115px -105px;
}

.news-icon {
    background-position: -115px -105px;
}

.lifestyle-icon {
    background-position: -115px -105px;
}

.business-icon {
    background-position: -115px -105px;
}

.hot-app-icon {
    background-position: -115px -105px;
}
/* 应用详情页面
样式 */
.app-detail-container {
    background: #3a3a3a;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
}

/* 面包屑导航样式 */
.breadcrumb {
    background: #3a3a3a;
    color: #ccc;
    padding: 15px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.breadcrumb i {
    color: #ccc;
    font-size: 16px;
}

.breadcrumb-text {
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 应用详情卡片样式 */
.app-detail-card {

}

.app-detail-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 0;
}

/* 左侧：头像区域 */
.app-icon-section {
    flex-shrink: 0;
}

.app-detail-icon {
    position: relative;
}

.app-detail-icon img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-temperature {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #00d4aa;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 1px 4px rgba(0, 212, 170, 0.4);
}

.app-temperature i {
    font-size: 8px;
}

/* 右侧：信息区域 */
.app-info-section {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: white;
    min-height: 80px;
}

.app-info-top {
    flex: 1;
}

.app-detail-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 0 0 12px 0;
}

.app-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-meta-item {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.meta-label {
    color: #ccc;
    min-width: 70px;
}
.meta-label.softsize {
    margin-left: 12px;
}

.meta-value {
    color: white;
}

.meta-value.category {
    color: #ff6b6b;
    font-weight: bold;
}

/* 评分区域 */
.app-rating-section {
    margin-left: 10px;
}

.rating-badge {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
    position: relative;
    overflow: hidden;
}

.rating-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.rating-score {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1px;
}

.rating-label {
    font-size: 8px;
    opacity: 0.9;
    margin-bottom: 1px;
}

.rating-language {
    font-size: 7px;
    opacity: 0.8;
}

/* 下载按钮区域 */
.download-buttons {
    display: flex;
    gap: 0;
    padding: 0 15px 15px 15px;
    width: 100%;
    margin-top: 10px;
    text-decoration: none;
}

.download-btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.download-btn.ios {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    border-radius: 18px 0 0 18px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

.download-btn.android {
    background: linear-gradient(135deg, #26c6da, #00bcd4);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.download-btn.ios:hover {
    box-shadow: 0 3px 12px rgba(255, 152, 0, 0.6);
}

.download-btn.android:hover {
    box-shadow: 0 3px 12px rgba(0, 188, 212, 0.6);
}

.download-btn:active {
    transform: translateY(0);
}

/* 详情页导航标签 */
.detail-nav {
    display: flex;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    margin: 0 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-top:15px;
}

.nav-tab {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.nav-tab.active {
    color: #ff9900;
    font-weight: bold;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #ff9900;
    border-radius: 2px;
}

/* 应用截图 */
.app-screenshots {
    background: white;
    padding: 20px 15px;
    margin: 0 15px;
    margin-bottom: 15px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.screenshots-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.screenshots-container::-webkit-scrollbar {
    height: 4px;
}

.screenshots-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.screenshots-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.screenshot-item {
    flex-shrink: 0;
    width: 120px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

/* 应用介绍 */
.app-introduction {
    background: white;
    padding: 20px 15px;
    margin: 0 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.app-introduction h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.app-introduction p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.app-introduction p:last-child {
    margin-bottom: 0;
}

.app-introduction h4 {
    font-size: 15px;
    color: #ff9900;
    margin: 20px 0 12px 0;
    font-weight: bold;
}

.app-introduction strong {
    color: #333;
    font-weight: bold;
}

.intro-screenshot {
    margin: 15px 0;
    text-align: center;
}

.intro-screenshot img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



.app-features {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f0f8ff;
    color: #007acc;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.feature-badge i {
    font-size: 12px;
}

/* 全屏图片查看器 */
.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-viewer.active {
    display: flex;
}

.fullscreen-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fullscreen-images {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.3s ease;
}

.fullscreen-images img {
    width: 25%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* 详细信息 */
.app-info-detail {
    background: white;
    padding: 20px 15px;
    margin: 0 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.app-info-detail h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-label {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.info-value {
    font-size: 14px;
    color: #333;
    text-align: right;
    font-weight: 500;
}

.info-link {
    color: #ff6b6b !important;
    cursor: pointer;
}

.info-link:hover {
    color: #ff5252 !important;
}
/* 推荐应用 */
.app-recommend-section {
    background: white;
    padding: 20px 15px;
    margin: 0 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

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

.recommend-header h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #66ccff;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.refresh-btn:hover {
    color: #4db8ff;
}

.refresh-btn i {
    font-size: 12px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.recommend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

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

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

.recommend-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.recommend-download {
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.recommend-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}/* 
相关应用 */
.app-related-section {
    background: white;
    padding: 20px 15px;
    margin: 0 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

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

.related-header h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.more-btn {
    color: #ff9900;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.more-btn:hover {
    color: #ff8800;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    row-gap: 20px;
}

.related-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

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

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

.related-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.related-install {
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.related-install:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}
/* 排行
榜标签样式 */
.ranking-tab {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.ranking-tab:hover {
    background-color: rgba(255, 153, 0, 0.1);
    color: #ff9900;
}

.ranking-tab.active {
    background-color: #ff9900;
    color: white;
}

/* 排行榜内容切换动画 */
.ranking-content {
    transition: opacity 0.3s ease;
}
/* 排行榜链接样式 */
.rank-item-link, .rank-list-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
    flex: 1;
}

.rank-item-link:hover, .rank-list-item-link:hover {
    transform: translateY(-2px);
}
/*
 游戏分类链接样式 */
.category-item-link, .main-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.category-item-link:hover, .main-category-link:hover {
    transform: translateY(-2px);
}

.category-item-link:hover .category-item,
.main-category-link:hover .main-category {
    background-color: rgba(255, 153, 0, 0.1);
}

/* 游戏列表项链接样式 */
.game-list-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.game-list-item-link:hover {
    transform: translateY(-2px);
}

.game-list-item-link:hover .game-list-item {
    background-color: rgba(255, 153, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 分类激活状态样式 */
.main-category.active, .category-item.active {
    background-color: rgba(255, 153, 0, 0.15);
    border-left: 3px solid #ff9900;
}/* 应用安利模
块链接样式 - 最小化影响 */
.recommend-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}/* 相关应用
模块链接样式 - 最小化影响 */
.related-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.more-btn {
    text-decoration: none;
    color: inherit;
}/* 默认隐藏的
元素 */
.expanded-categories {
    display: none;
}

.ranking-content {
    display: none;
}

.ranking-content#total-ranking {
    display: block;
}

/* 分类菜单弹窗 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
}

.menu-modal {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

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

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.menu-logo {
    display: inline-block;
    height: 27px; 
    width: 90px; 
    background-image: url('../images/icon.png'); 
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 400px 400px;
}

.menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.menu-close:hover {
    transform: rotate(90deg);
}

.menu-content {
    padding: 20px;
    max-height: calc(90vh - 62px);
    overflow-y: auto;
}

/* 主要导航网格 */
.menu-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.menu-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.menu-nav-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.menu-nav-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 50%;
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-nav-icon.home-icon {
    background-color: #4A90E2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.menu-nav-icon.game-icon {
    background-color: #5B7FE8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M21.58 16.09l-1.09-7.66A3.996 3.996 0 0016.53 5H7.47C5.48 5 3.79 6.46 3.51 8.43l-1.09 7.66C2.2 17.63 3.39 19 4.94 19c.68 0 1.32-.27 1.8-.75L9 16h6l2.25 2.25c.48.48 1.13.75 1.8.75 1.56 0 2.75-1.37 2.53-2.91zM11 11H9v2H8v-2H6v-1h2V8h1v2h2v1zm4-1c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm2 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z'/%3E%3C/svg%3E");
}

.menu-nav-icon.app-icon {
    background-color: #E85B7F;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z'/%3E%3C/svg%3E");
}

.menu-nav-icon.topic-icon {
    background-color: #F5A623;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.menu-nav-icon.news-icon {
    background-color: #4A9FE8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.menu-nav-icon.rank-icon {
    background-color: #F5A623;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M16 11V3H8v6H2v12h20V11h-6zm-6-6h4v14h-4V5zm-6 6h4v8H4v-8zm16 8h-4v-6h4v6z'/%3E%3C/svg%3E");
}

.menu-nav-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 分类区域 */
.menu-section {
    margin-bottom: 25px;
}

.menu-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid #667eea;
}

.menu-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.menu-category-item {
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.menu-category-item:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

/* 响应式 */
@media (max-width: 768px) {
    .menu-modal {
        width: 95%;
        max-height: 85vh;
    }

    .menu-nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .menu-nav-icon {
        width: 40px;
        height: 40px;
    }

    .menu-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .menu-category-item {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .menu-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.tspage{
    background-color: #fff !important;
}
.tspage .tsp_count,#tsp_change{
    display: none;
}
