
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #ffffff; /* 继承父元素的颜色 */
}

li {
    list-style: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #efefef;
    font-size: 16px;
    overflow-x: hidden;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}
/* 为滚动容器添加硬件加速 */
.scroll-container {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    will-change: scroll-position;
}

/* 避免滚动时的重绘 */
.scroll-content {
    backface-visibility: hidden;
    perspective: 1000px;
}
.bg {
    /*background: -webkit-linear-gradient(top,*/
    /*#ffffff 0%,*/
    /*#fff6e9 40%,*/
    /*#fff6e9 50%,*/
    /*#fff6e9 60%,*/
    /*#ffffff 100%);*/
    /*background: -moz-linear-gradient(top,*/
    /*#ffffff 0%,*/
    /*#fff6e9 40%,*/
    /*#fff6e9 50%,*/
    /*#fff6e9 60%,*/
    /*#ffffff 100%);*/
    /*background: -o-linear-gradient(top,*/
    /*#ffffff 0%,*/
    /*#fff6e9 40%,*/
    /*#fff6e9 50%,*/
    /*#fff6e9 60%,*/
    /*#ffffff 100%);*/
    /*background: linear-gradient(to bottom,*/
    /*#ffffff 0%,*/
    /*#fff6e9 40%,*/
    /*#fff6e9 50%,*/
    /*#fff6e9 60%,*/
    /*#ffffff 100%);*/
    background: #242323;
    background-repeat: no-repeat;
    background-size: 100% 100%; /* 确保背景完全覆盖 */
}

/* 容器样式 - 最大宽度750px */
.container {
    max-width: 750px;
    margin: 0 auto;
    background-color: transparent;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.section-title {
    background: url("../images/title.png") center center no-repeat;
    background-size: contain;
    width: 50%;
    height: 40px; /* 根据实际图片高度调整 */
    display: flex;
margin: 10px 0;
    align-items: center;
    position: relative;
}

.title-text {
    padding-left:20px;
    font-size: 17px;
    font-weight: bold;
    color: white; /* 根据实际设计调整文字颜色 */
}

/* 头部样式 */
.header {
    padding: 10px 20px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    width: 150px;
    height: auto;
    max-width: 100%; /* 确保图片不会超出容器 */
}

.button1 {
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: url("../images/button1.png");
    width: 90px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%; /* 确保背景完全覆盖 */
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.button2 {
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: url("../images/button2.png?1");
    width: 150px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%; /* 确保背景完全覆盖 */
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.button3 {
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: url("../images/button3.png");
    width: 150px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%; /* 确保背景完全覆盖 */
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* 幻灯片样式 */
.swiper-container {
    width: 100%;
    height: auto;
    margin: 0;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.swiper-pagination {
    bottom: 10px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* 主要内容区域 */
.main {
    padding: 10px 28px;
background: #141414;
    width: 100%;
}

.gamebox {
    height: auto;
    padding: 5px 10px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.gamebox_top img {
    width: 35px;
}
.gamebox_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gamebox_title {
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    gap: 10px;
}

/* 内容区域主容器 */
.gamebox_content {
    width: 100%;
    margin-top: 10px;
    background: #2f2f2f;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(118, 118, 118, 0.1);
}

/* 图片区域 - 使用 swiper 实现滑动 */
.gamebox-swiper {
    padding: 20px 9px; /* 左右各增加9px padding给第一个和最后一个元素扩展空间 */
    margin-bottom: 20px;
    width: 100%;
}

.gamebox-swiper .swiper-wrapper {
    align-items: center;
}

.gamebox-swiper .swiper-slide {
    width: 100px;
    height: 100px;
}

.gamebox-swiper .swiper-slide img {
    width: 110px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gamebox-swiper .swiper-slide .img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.gamebox-swiper .swiper-slide .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.gamebox-swiper .swiper-slide .img-wrapper.active {
    background: #ffffff;
    z-index: 10;
}

.gamebox-swiper .swiper-slide .img-wrapper.active::before {
    content: "";
    position: absolute;
    top: -9px;
    left: -9px;
    right: -9px;
    bottom: -9px;
    background: #32322f;
    border-radius: 20px!important;
    z-index: 1;
    box-shadow: 0 0 10px rgba(246,255, 0, 0.92);
}

/* 特别处理第一个和最后一个slide，避免被遮挡 */
.gamebox-swiper .swiper-slide:first-child {
    margin-left: 9px; /* 第一个元素左边增加9px margin */
}

.gamebox-swiper .swiper-slide:last-child {
    margin-right: 9px; /* 最后一个元素右边增加9px margin */
}

.hidden {
    display: none;
}

/* 文本内容区域 */
.gamebox_text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
}

.gamebox_text.hidden {
    display: none !important;
}

/* 左侧内容区域 */
.gamebox_content_left {
    width: 60%;
}

/* 左侧标题 */
.gamebox_content_left .title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
}
.gamebox_content_left .title img {
    max-height: 40px;
}

/* 橙色分隔线 */
.gamebox_content_left .separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #fe9900 0%, rgba(254, 153, 0, 0) 100%);
    margin-bottom: 15px;
}

/* 左侧内容文本 */
.gamebox_content_left .content {
    font-size: 17px;
    line-height: 2;
    color: #858585;
}

/* 底部操作区域 */
.gamebox_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* 下载信息文本 */
.download-info {
    font-size: 16px;
    font-weight: bold;
    margin-right: 20px;
}

/* 访问按钮 */
.access-button {
    /* 继承button1样式，但可以微调 */
    min-width: 120px;
    text-align: center;
}

/* 右侧大图区域 */
.gamebox_content_right {
    flex-shrink: 1;
    display: flex;
    align-items: center; /* 添加这行实现垂直居中 */
}

.gamebox_content_right img {
    width: 100%;
    margin-right: 20px;
}

/* 更新视频滑动区域样式 */
.video-swiper {
    width: 100%;
    padding: 0 20px 20px 20px;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}
.video-swiper .swiper-wrapper {
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    -ms-transition-property: -ms-transform;
    transition-property: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform;
}
.video-swiper .swiper-slide {
    width: 300px;
    height: auto;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform;
}
.video-swiper .swiper-slide-active,
.video-swiper .swiper-slide-duplicate-active {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.video-swiper {
    -webkit-overflow-scrolling: touch;
}

.video-item {
    background: #242323;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-info {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px 5px 15px;
    color: #9f9f9f;
    font-size: 14px;
    position: absolute; /* 改为绝对定位 */
    top: 0; /* 定位在顶部 */
    left: 0;
    right: 0;
    z-index: 11; /* 确保在播放按钮之上 */
}

.video-info .hit, .video-info .duration {
    padding: 5px;
    background: rgb(0,0,0,0.5);
border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.play-icon {
    font-size: 12px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.video-container.playing .video-poster {
    display: none;
}
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 确保封面在视频上方 */
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例并填满容器 */
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000;
    object-fit: cover;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.more{
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}
.more a{
    color: #858585}
.play-button {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    padding-left: 6px;
    border: 2px solid #ffffff;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/*.content {*/
/*    font-size: calc(1em + 2px)!important;*/
/*}*/

/* 新闻区域样式 */
.news .nav {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    list-style: none;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 添加滚动吸附效果 */
    scroll-snap-type: x mandatory;
}

.news .nav::-webkit-scrollbar {
    display: none;
}

/* 优化导航项的过渡效果 */
.news .nav li {
    padding: 0 20px;
    background: url("../images/button4.png");
    font-size: 14px;
    font-weight: bold;
    color: #fe9900;
    width: 120px;
    justify-content: center;
    height: 40px;
    display: flex;
    align-items: center;
    background-size: 100% 100%; /* 确保背景完全覆盖 */
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    /* 添加滚动吸附点 */
    scroll-snap-align: start;
}
/*.category-text{*/
/*    width: 80%;*/
/*    text-align: center;*/
/*}*/

.news .nav li.active {
    background: url("../images/button4-1.png");
    background-size: 100% 100%;
    color: #ffffff;


}
.news .nav li.active img{
    filter: brightness(0) invert(1);
}

.news .nav li img {
    width: 16px;
    height: 16px;
    margin-right: 15px;
    max-width: 100%; /* 确保图片不会超出容器 */
}
.index-content{
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0 2px 8px rgba(118, 118, 118, 0.1);
    background: #242323;
    color: #858585;

}
.news-content{
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}
/* 新闻列表样式 - 控制整个.list的显示隐藏 */
.news .list {
    display: none;
}

.news .list.active {
    display: block;
}

.news .list:first-child {
    display: block;
}

/* 新闻项样式 */
.news-item {
    margin-bottom: 10px;
    height: 120px;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(118, 118, 118, 0.1);
    background: #242323;
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    position: relative; /* 添加相对定位，为子元素提供定位上下文 */
    /* 修改动画相关样式 */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
/* 触发动画 */
.news-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.news .news-item.show {
    opacity: 1;
    transform: translateY(0);
}

.news-item img {
    width: 100px;
    height: 100px;
    margin-right: 30px;
    border-radius: 10px;
    object-fit: cover;
    max-width: 100%; /* 确保图片不会超出容器 */
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: flex-start; /* 关键：使内容区域从顶部开始 */
    height: auto; /* 确保高度自适应 */
}

.news-item-title {
    overflow: hidden; /* 这会隐藏超出部分 */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    align-self: flex-start;
    line-height: 1.1;
}

.news-item-text {
    overflow: hidden; /* 这会隐藏超出部分 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: #858585;
    flex: 1;
    align-self: flex-start;
}

.news-item-time {
    position: absolute;
    font-size: 12px;
    color: #999;
    align-self: flex-end;
    bottom: 20px;
    padding-left: 20px; /* 为图标留出空间 */
}
.news-item-time::before {
    content: ""; /* 必须添加content属性 */
    background: url("../images/date.png");
    background-size: contain; /* 确保图标正确显示 */
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; /* 设置宽度 */
    height: 16px; /* 设置高度 */
}

.more-news {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
    position: relative;
    top: -3px; /* 负值使元素向上移动 */
    /*margin: 20px;*/
}
.more-news a:link{
    color: black;
}

.company-profile {
    background-color: #242323;
    width: 100%;
    padding: 20px;
}

.profile-logo {
    margin-bottom: 15px;
}

.profile-logo img {
    width: 225px;
    height: auto;
    max-width: 100%; /* 确保图片不会超出容器 */
}

.profile-content {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    text-align: justify;
    border-bottom: 1px solid #6e6e6e;
    padding-bottom: 20px;
}

.footer {
    background-color: #242323;
    width: 100%;
    padding: 20px;
}

.contact-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #858585;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.friend-links {
}

.links-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.links-list a {
    color: #858585;
    text-decoration: none;
    font-size: 14px;
}

.links-list a:hover {
    color: #fe9900;
}

/* 版权信息样式 */
.copyright {
    text-align: center;
    font-size: 12px;
    color: #858585;
    margin-top: 20px;
    padding-top: 15px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: calc((100% - 750px) / 2 + 20px); /* 相对于容器右侧定位 */
    bottom: 50px;
    width: 40px;
    height: 40px;
    background: #fe9900;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.back-to-top::after {
    content: "↑";
    font-size: 20px;
    font-weight: bold;
}

.back-to-top:hover {
    background: #e08800;
    transform: translateY(-3px);
}

.faq-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}


.faq-title {
    background-color: #242323;
    color: #FFFFFF;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 50px; /* 为右侧图标留出空间 */
}

.faq-title:hover {
    background-color: #242323;
}

.faq-title.active {
    background-color: #242323;
    color: white;
}

.faq-title::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("../images/bottom.png") center center no-repeat;
    background-size: contain;
}

/* FAQ图标 - 展开时显示top.png */
.faq-title.active::after {
    background: url("../images/top.png") center center no-repeat;
    background-size: contain;
}
.faq-title::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/y.png") center center no-repeat;
    background-size: contain;
    margin-right: 8px;
    vertical-align: middle;
}
.faq-close-btn {
    color: #FFFFFF;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    width: 100px;
    background: url("../images/button5.png") center center no-repeat;
    background-size: contain;
    cursor: pointer;
    z-index: 10;
}

.faq-content {
    position: relative;
    padding: 20px 20px 35px 20px;
    background-color: #2b2b2b;
    color: #858585;
    line-height: 1.6;
    display: none; /* 确保默认隐藏 */
}
.faq-content.active {
    display: block; /* 展开时显示 */
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.popup-bg {
    position: relative;
    display: inline-block;
}

.popup-bg-img {
    width: 100%;
    height: auto;
    display: block;
}

.popup-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 让点击事件穿透到下方的链接 */
}

.popup-text-line1,
.popup-text-line2,
.popup-text-line3 {
    position: absolute;
    color: red;
    font-weight: bold;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    word-wrap: break-word;
    line-height: 1.2;
}

.popup-text-line1 {
    top: 30%; /* 根据实际效果调整位置 */
    margin: 0 auto;
    font-size: 18px;
}

.popup-text-line2 {
    top: 40%; /* 根据实际效果调整位置 */
    font-size: 69px;
}

.popup-text-line3 {
    top: 65%; /* 根据实际效果调整位置 */
    font-size: 18px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 30px;
    font-size: 25px;
    cursor: pointer;
    z-index: 10000;
}

.popup-link {
    display: block;
}
.popup-link img{
    margin: 0 auto;
    width: 80%;
}
/* 针对750px以下屏幕的响应式设计 - 保持布局不变 */
@media (max-width: 750px) {
    .popup-text-line1{
top:28%;
font-size: 7px;
    }

    .popup-text-line2 {
        top:40%;
        font-size: 27px;
    }

    .popup-text-line3 {
        top: 65%;
        font-size: 7px;
    }
    .popup-close {
        right: 18px;
        font-size: 12px;
        line-height: 10px;
        width: 15px;
        height: 15px;
    }

        /* 调整容器padding以适应小屏幕 */
    .container {
        box-shadow: none;
    }

    .video-container {
        position: relative;
        width: 100%;
        height: 180px; /* 固定高度以控制视频尺寸 */
    }
    /* 头部调整 */
    .header {
        padding: 8px 10px;
        min-height: 35px;
    }

    .logo {
        width: 130px;
    }
    .section-title {
        width: 60%;
        height: 40px; /* 根据实际图片高度调整 */
        display: flex;
        margin:  0 0 5px 0;
    }

    .title-text {
        padding-left:15px;
        font-size: 17px;
    }

    .button1 {
        width: 65px;
        height: 25px;
        font-size: 11px;
    }

    .button2 {
        width: 150px;
        height: 45px;
        font-size: 13px;
    }

    .button3 {
        width: 150px;
        height: 45px;
        font-size: 13px;
    }

    /* 主要内容区域调整 */
    .main {
        padding: 20px;
    }

    .gamebox {
        padding: 5px;
        margin-bottom: 0px;
    }
    .gamebox_top img{
        width: 30px;
    }
    .gamebox_title {
        font-size: 18px;
        gap: 8px;
    }


    .gamebox_content {
        padding: 18px;
        margin-top: 5px;
    }

    /* 游戏图片滑动区域调整 */
    .gamebox-swiper {
        padding: 10px 5px;
        margin-bottom: 5px;
    }

    .gamebox-swiper .swiper-slide {
        width: 95px;
        height: 95px;
    }

    .gamebox-swiper .swiper-slide img {
        width: 95px;
    }

    .gamebox-swiper .swiper-slide .img-wrapper.active::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 15px;
    }

    .gamebox_content_left .title {
        font-size: 35px;
        margin-bottom: 2px;
    }
    .gamebox_content_left .title img{
        max-width: 140px;
        max-height: 34px;
    }

    .gamebox_content_left .separator {
        margin-bottom: 12px;
    }

    .gamebox_content_left .content {
        line-height: 1.5;
        font-size: 16px;
    }



    .gamebox_bottom {
        margin-top: 18px;
    }

    .download-info {
        font-size: 15px;
        margin-right: 20px;
    }

    .access-button {
        min-width: 110px;
    }

    .gamebox_content_right {
        width: 160px;
    }

    /* 新闻区域调整 */
    .news .nav {
        margin-top: 5px;
        gap: 8px;
        padding: 8px 0;
    }
    .news .nav {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .news .nav::-webkit-scrollbar {
        display: none;
    }

    .news .nav {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .news .nav li {
        width: 150px;
        height: 48px;
        font-size: 13px;
        padding: 0 8px;
    }

    .news .nav li.active {
        /*width: 150px;*/
        /*height: 48px;*/
        /*font-size: 13px;*/
        /*padding: 0 8px;*/
    }

    .news .nav li img {
        width: 15px;
        height: 15px;
        margin-right: 12px;
    }

    /* 新闻项调整 */
    .news-item {
        height: 120px;
        padding: 14px 5px;

    }

    .news-item img {
        height: 100%;
        margin-right: 25px;
    }

    .news-item-title {
        -webkit-line-clamp: 1;
        font-size: 19px;
        margin-bottom: 6px;
    }

    .news-item-text {
        -webkit-line-clamp: 2;
        font-size: 16px;
    }

    .news-item-time {
        font-size: 11px;
        bottom: 12px;
    }

    .more {
        font-size: 12px;
        ;
        /*margin-top: 25px;*/
    }

    /* 公司简介调整 */
    .company-profile {
        padding: 18px;
    }

    .profile-logo img {
        width: 200px;
    }

    .profile-content {
        font-size: 15px;
        padding-bottom: 18px;
    }

    /* 页脚调整 */
    .footer {
        padding: 18px;
    }

    .contact-title {
        font-size: 17px;
        margin-bottom: 13px;
    }

    .social-icons {
        gap: 12px;
        margin-bottom: 18px;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }

    .links-list {
        gap: 12px;
    }

    .links-list a {
        font-size: 13px;
    }

    /* 返回顶部按钮调整 */
    .back-to-top {
        right: 18px;
        bottom: 75px;
        width: 38px;
        height: 38px;
    }

    .back-to-top::after {
        font-size: 19px;
    }
}

/* 针对600px以下小屏幕的进一步优化 */
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    /*.header {*/
    /*    padding: 10px 12px;*/
    /*    min-height: 75px;*/
    /*}*/

    /*.logo {*/
    /*    width: 130px;*/
    /*}*/

    /*.button1 {*/
    /*    width: 95px;*/
    /*    height: 40px;*/
    /*    font-size: 12px;*/
    /*}*/

    .button2 {
        width: 130px;
        height: 40px;
        font-size: 12px;
    }

    .button3 {
        width: 130px;
        height: 40px;
        font-size: 12px;
    }

    .main {
        padding: 15px;
    }

    /*.gamebox {*/
    /*    padding: 15px;*/
    /*}*/

    .gamebox_title {
        font-size: 17px;
        gap: 7px;
    }

    .gamebox_content {
        padding: 15px;
    }

    .gamebox_content_left .title {
        font-size: 32px;
    }

    .gamebox_content_left .content {
        font-size: 15px;
    }

    .gamebox-swiper {
        padding: 15px 7px;
    }

    .gamebox-swiper .swiper-slide {
        width: 85px;
        height: 85px;
    }

    .gamebox-swiper .swiper-slide img {
        width: 85px;
    }

    .gamebox-swiper .swiper-slide .img-wrapper.active::before {
        top: -7px;
        left: -7px;
        right: -7px;
        bottom: -7px;
        border-radius: 13px;
    }

    .news .nav li {
        width: 130px;
        height: 42px;
        font-size: 12px;
    }

    /*.news-item {*/
    /*    height: 220px;*/
    /*    padding: 20px;*/
    /*}*/

    .news-item img {
        height: 100%;
        margin-right: 20px;
    }

    .news-item-title {
        font-size: 17px;
    }

    .news-item-text {
        font-size: 15px;
    }

    .profile-logo img {
        width: 170px;
    }

    .contact-title {
        font-size: 16px;
    }

    /*.social-icons img {*/
    /*    width: 55px;*/
    /*    height: 55px;*/
    /*}*/

    .links-list a {
        font-size: 12px;
    }

    .back-to-top {
        right: 15px;
        bottom: 70px;
        width: 35px;
        height: 35px;
    }

    .back-to-top::after {
        font-size: 17px;
    }
}


/* 针对480px以下极小屏幕的优化 */
@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    /*.header {*/
    /*    padding: 8px 10px;*/
    /*    min-height: 65px;*/
    /*}*/

    /*.logo {*/
    /*    width: 150px;*/
    /*}*/

    /*.button1 {*/
    /*    width: 80px;*/
    /*    height: 35px;*/
    /*    font-size: 11px;*/
    /*}*/

    .button2 {
        width: 110px;
        height: 35px;
        font-size: 11px;
    }

    .button3 {
        width: 110px;
        height: 35px;
        font-size: 11px;
    }

    .main {
        padding: 0 12px;
    }

    /*.gamebox {*/
    /*    !*padding: 12px;*!*/
    /*}*/

    .gamebox_title {
        font-size: 16px;
        gap: 6px;
    }

    .gamebox_content {
        padding: 7px;
    }
    .gamebox_text {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
    }
    .gamebox_content_left .title {
       max-width: 80%;
    }


    .gamebox_content_left .content {
        font-size: 12px;
        min-height: 140px;
    }

    .gamebox-swiper {
        padding: 12px 6px;
    }

    .gamebox-swiper .swiper-slide {
        width: 75px;
        height: 75px;
    }

    .gamebox-swiper .swiper-slide img {
        width: 75px;
    }

    .gamebox-swiper .swiper-slide .img-wrapper.active::before {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 11px;
    }

    .news .nav {
        gap: 6px;
    }

    .news .nav li {
        width: 90px;
        height: 28px;
        font-size: 9px;
        padding: 0 10px;
    }

    .news .nav li.active {

    }


    .news .nav li img {
        width: 14px;
        height: 14px;
        margin-right: 10px;

    }

    /*.news-item {*/
    /*    height: 150px;*/
    /*    padding: 15px;*/
    /*}*/

    .news-item img {
        width: 90px;
        height:90px;
        margin-right: 15px;
    }

    .news-item-title {
        font-size: 14px;
    }

    .news-item-text {
        font-size: 12px;
        max-height: 60px;
        overflow: hidden;
        display: block;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .profile-logo img {
        width: 150px;
    }

    .contact-title {
        font-size: 15px;
    }

    .social-icons {
        gap: 10px;
    }

    /*.social-icons img {*/
    /*    width: 35px;*/
    /*    height: 35px;*/
    /*}*/

    .links-list {
        gap: 10px;
    }

    .links-list a {
        font-size: 11px;
    }

    .back-to-top {
        right: 12px;
        bottom: 65px;
        width: 32px;
        height: 32px;
    }

    .back-to-top::after {
        font-size: 15px;
    }

    /* 保持布局结构，仅缩小图片 */
    .gamebox_content_right {
        width: 140px; /* 缩小容器宽度 */
    }

    .gamebox_content_right img {
        max-width: 110px; /* 缩小图片最大宽度 */
        /*max-height: 215px;*/
        height: auto;
    }
    .gamebox_bottom{
        margin-top:25px;
    }
}

/* 针对360px以下超小屏幕的优化 */
@media (max-width: 360px) {
    body {
        font-size: 13px;
    }

    .header {
        padding: 6px 8px;
        min-height: 55px;
    }

    .logo {
        width: 90px;
    }

    /*.button1 {*/
    /*    width: 70px;*/
    /*    height: 30px;*/
    /*    font-size: 10px;*/
    /*}*/

    .button2 {
        width: 95px;
        height: 30px;
        font-size: 10px;
    }

    .button3 {
        width: 95px;
        height: 30px;
        font-size: 10px;
    }

    .main {
        padding: 10px;
    }

    /*.gamebox {*/
    /*    padding: 10px;*/
    /*}*/

    .gamebox_title {
        font-size: 15px;
        gap: 5px;
    }

    .gamebox_content {
        padding: 10px;
    }

    .gamebox_content_left .title {
        font-size: 24px;
    }

    .gamebox_content_left .content {
        font-size: 13px;
    }

    .gamebox-swiper {
        padding: 10px 5px;
    }

    .gamebox-swiper .swiper-slide {
        width: 65px;
        height: 65px;
    }

    .gamebox-swiper .swiper-slide img {
        width: 65px;
    }

    .gamebox-swiper .swiper-slide .img-wrapper.active::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 9px;
    }

    .news .nav li {
        width: 95px;
        height: 35px;
        font-size: 10px;
        padding: 0 6px;
    }

    .news .nav li.active {
        width: 95px;
        height: 35px;
        font-size: 10px;
        padding: 0 6px;
    }

    .news .nav li img {
        width: 12px;
        height: 12px;
        margin-right: 8px;
    }


    .news-item {
        height: 180px;
        padding: 12px;
    }

    .news-item img {
        height: 100%;
        margin-right: 12px;
    }

    .news-item-title {
        font-size: 14px;
    }

    .news-item-text {
        font-size: 13px;
    }

    .profile-logo img {
        width: 120px;
    }

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

    .social-icons img {
        width: 35px;
        height: 35px;
    }

    .back-to-top {
        right: 10px;
        bottom: 60px;
        width: 30px;
        height: 30px;
    }

    .back-to-top::after {
        font-size: 13px;
    }

    /* 保持布局结构，仅缩小图片 */
    .gamebox_content_right {
        width: 100px; /* 进一步缩小容器宽度 */
    }

    .gamebox_content_right img {
        max-width: 100px; /* 进一步缩小图片最大宽度 */
        height: auto;
    }
}

.sale-gif {
    position: fixed;
    right: calc((100% - 750px) / 2); /* 居中对齐容器右侧 */
    bottom: 100px;
    z-index: 9999;
    width: 100px;
    height: 100px;
}

.sale-gif img {
    width: 100%;
    height: 100%;
}


/* 在小屏幕上的调整 */
@media (max-width: 750px) {
    .sale-gif {
        width: 100px;
        height: 100px;
        right: 0px; /* 在小屏幕上紧贴屏幕右侧 */
        bottom: 100px;
    }
}
