/* ========== 基础样式 ========== */

body {

    margin: 0;

    padding: 0;

    font-family: Arial, sans-serif;

    background-image: url("../images/body-bg.jpg");

}



/* ========== 顶部区域 ========== */

.banner {

    width: 1000px;

    height: 232px;

    margin: 0 auto;

    position: relative;

    background-image: url("../images/top-banner-bg.jpg");

}



.content-top {

    background-image: url("../images/top-header-bg.jpg");

    width: 1000px;

    height: 13px;

    margin: 0 auto;

    position: relative;

}





/* ========== 导航菜单 ========== */

.main-nav {

    position: absolute;

    bottom: 0;

    width: 100%;

    border-top: 2px solid #1a1a1a;

    height: 36px;

    display: flex;

    align-items: center;

    flex-direction: row-reverse;

}



.main-nav ul {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    height: 100%;

}



.main-nav li {

    padding: 0 20px;

    transition: all 0.3s ease;

    height: 100%;

    display: flex;

    align-items: center;

}



.main-nav a {

    color: #fff;

    font-weight: bold;

    font-size: 14px;

    letter-spacing: 1px;

    position: relative;

    padding: 8px 0;

    text-decoration: none;

}

.main-nav a:hover {
    color: #00ff00;
}   

/* 导航交互效果 */

.main-nav a::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: #0099ff;

    transition: width 0.3s ease;

}



.main-nav a:hover::after {

    width: 100%;

}



.main-nav li:hover {

    background: rgba(255, 255, 255, 0.05);

}



.main-nav li.active {

    background: linear-gradient(to bottom, #333 0%, #222 100%);

}



.main-nav li.active a {

    color: #fff;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

}



/* ========== 主体内容区 ========== */

.content-container {

    max-width: 1000px;

    margin: 0px auto;

    display: flex;

    flex-grow: 1;

    background-color: #f2efe3;

    min-height: calc(100vh - 308px);

}



/* 左侧边栏 */

.left-sidebar {

    width: 277px;

    padding: 10px;

    margin: 10px;

    background: #f2efe3;

    border: 1px solid #D3CFBD;

    display: flex;

    flex-direction: column;

    gap: 4px;

    align-items: center;

}

.left-title1 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/left-icon-1.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
    border: 1px solid #2E5786;
}

/* 添加文字内容 */
.left-title1::after {
    content: "游戏下载";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 左侧各区块公共样式 */
.left-contentbox1 {
    width: 100%;
    border: 1px solid #D3CFBD;
    background-size: cover;
    font-size: 12px;
    height: auto;
}

.left-contentbox1 a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 4px;
    transition: all 0.3s ease;
    position: relative;
}

.left-contentbox1 a:hover {
    color: #c00;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.left-contentbox1 a:active {
    color: #900;
}

.left-contentbox1 a:visited {
    color: #666;
}

.left-contentbox1 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c00;
    transition: width 0.3s ease;
}

.left-contentbox1 a:hover::after {
    width: 100%;
}

.left-title2 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/left-icon-2.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
    border: 1px solid #2E5786;
}

/* 添加文字内容 */
.left-title2::after {
    content: "游戏资料";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 左侧各区块公共样式 */
.left-contentbox2 {
    width: 100%;
    border: 1px solid #D3CFBD;
    background-size: cover;
    font-size: 12px;
    height: auto;
}

.left-contentbox2 a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 4px;
    transition: all 0.3s ease;
    position: relative;
}

.left-contentbox2 a:hover {
    color: #c00;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.left-contentbox2 a:active {
    color: #900;
}

.left-contentbox2 a:visited {
    color: #666;
}

.left-contentbox2 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c00;
    transition: width 0.3s ease;
}

.left-contentbox2 a:hover::after {
    width: 100%;
}

.left-title3 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/left-icon-3.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
    border: 1px solid #2E5786;
}

/* 添加文字内容 */
.left-title3::after {
    content: "游戏活动";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 左侧各区块公共样式 */
.left-contentbox3 {
    width: 100%;
    border: 1px solid #D3CFBD;
    background-size: cover;
    font-size: 12px;
    height: auto;
}

.left-contentbox3 a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 4px;
    transition: all 0.3s ease;
    position: relative;
}

.left-contentbox3 a:hover {
    color: #c00;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.left-contentbox3 a:active {
    color: #900;
}

.left-contentbox3 a:visited {
    color: #666;
}

.left-contentbox3 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c00;
    transition: width 0.3s ease;
}

.left-contentbox3 a:hover::after {
    width: 100%;
}

.left-title4 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/left-icon-4.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
    border: 1px solid #2E5786;
}

/* 添加文字内容 */
.left-title4::after {
    content: "玩家Q群";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 左侧各区块公共样式 */
.left-contentbox4 {
    width: 100%;
    border: 1px solid #D3CFBD;
    background-size: cover;

    height: 268px;
    background-image: url("../images/qrcode.jpg");

    background-position: center;
}

.left-contentbox4 img {
    width: 90%;
    height: 90%;
    margin: 5% 5%;
}


.left-title5 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/left-icon-5.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
    border: 1px solid #2E5786;
}

/* 添加文字内容 */
.left-title5::after {
    content: "健康公告";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 左侧各区块公共样式 */
.left-contentbox5 {
    width: 100%;
    border: 1px solid #D3CFBD;
    background-size: cover;
    font-size: 12px;
    height: auto;
}


/* ========== 主内容区 ========== */
.main-content {
    flex: 1;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    background: #f2efe3;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #D3CFBD;
    align-items: center;
    gap: 4px;
}

.right-title0 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/right-icon-news.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
    border: 1px solid #2E5786;
}

/* 添加文字内容 */
.right-title0::after {
    content: "游戏公告";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.right-contentbox0 {
    width: 100%;
    border: 1px solid #D3CFBD;
    background-size: cover;
    font-size: 12px;
    height: 260px;
    padding-top: 10px;
}


.right-pinfo {
    height: 20px;
    text-align: left;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    color: #4a4a4a;
}


.right-dinfo-left {
    height: 20px;
    text-align: left;
    padding-left: 10px;
    width: 10%;

}


.right-dinfo-text {
    height: 20px;
    text-align: left;
    padding-right: 10px;
    width: 75%;
}


.right-dinfo-time {
    height: 20px;
    color: #666;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    text-align: right;
    padding-right: 15%;
}




.right-title1 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/right-icon-job.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
}

/* 添加文字内容 */
.right-title1::after {
    content: "游戏截图";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.right-contentbox1 {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 207px;
    display: flex;
    align-items: center;
}


.right-title2 {
    width: 100%;
    height: 40px;
    background-color: #2e5786;
    background-image: url("../images/right-icon-screen.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    position: relative;
}

/* 添加文字内容 */
.right-title2::after {
    content: "精彩截图";
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.right-contentbox2 {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 207px;
    display: flex;
    align-items: center;
}


.pinfo {
    height: 8px;
    text-align: center;
    color: #4a4a4a;
}



/* ========== 底部样式 ========== */

.site-footer {
    width: 1000px;
    position: relative;
    display: flex;
    justify-content: center;
    background-image: url("../images/footer-bg.jpg");
    margin: 0 auto;
    color: #4a4a4a;
    font-size: 12px;
}


.site-footer p {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 15px;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    letter-spacing: 0.8px;
    line-height: 1.6;
    font-family: 'Segoe UI', sans-serif;
}



.site-footer a {
    color: #4a4a4a;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 8px;
    position: relative;
}



.site-footer a:hover {
    color: #4a4a4a;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}



.site-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4a4a4a;
    transition: width 0.3s ease;
}



.site-footer a:hover::after {
    width: 100%;
}



/* ========== 其他组件 ========== */

.show-item {
    border: 1px solid #D3CFBD;
    padding: 10px 14px;
    margin: 0;
    position: relative;
    background: #f2efe3;
    width: 100%;
}

.content-bottom {
    background-image: url("../images/top-header-bg.jpg");
    width: 1000px;
    height: 13px;
    margin: 0 auto;
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

/* 跑马灯容器 */
.marquee-container {
    width: 100%;
    height: 90%;
    position: relative;
}

/* 图片轨道 */
.marquee-track {
    display: flex;
    position: absolute;
    height: 100%;
    animation: marquee 20s linear infinite;
}

/* 悬停暂停 */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* 图片样式 */
.marquee-track img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    object-fit: cover;
    padding: 0 5px;
    transition: transform 0.3s;
}

.marquee-track img:hover {
    transform: scale(1.05);
    z-index: 1;
}

/* 动画定义 */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 保持原有悬停效果 */
.pinfo a:hover {
    color: #c00 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) !important;
}

/* 禁用点击后的视觉反馈 */
.pinfo a:active {
    transform: none !important;
}

/* 可选：添加禁用状态提示 */
.pinfo a::after {
    content: "";
    font-size: 0.8em;
    color: #999;
    margin-left: 5px;
}

