/* 基础样式 */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei';
    background-color: #000000;
    font-size: 12px;
}
/* 全屏背景图片 */
body {
    background: url('http://123.2o22.com/Web/res/background/劫途.jpg') no-repeat center center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* 布局辅助类 */
.fl {
    float: left;
}

.bl {
    display: block;
}

.ab {
    position: absolute;
    left: 431px;
    top: 0px;
}

/* 头部视频区域 */
#header {
    width: 100%;
    height: 964px;
    position: relative;
    overflow: hidden;
    padding-top: 0;
    z-index: 1000;
    display: flex;      /* 启用弹性布局 */
}

#headerTop {
    width: 1935px;
    height: 964px;
    position: relative;
    z-index: -1;
    margin: 0 auto;     /* 水平居中 */
}

#headerTop video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 添加一个包装器用于居中游戏块 */
#GameShowWrapper {
    width: 100%;
    float: center;
    margin: -100px auto 0px 7px; /* 上右下左 保持水平居中 */
}

/* 游戏版本区域 */
#SectionGameList {
    width: 1950px;
    position: relative;
    overflow: hidden;
    margin: -100px auto 0px auto; /* 上右下左 保持水平居中 */
    z-index: 15000;
    justify-content: center; /* 新增：水平居中内容 */
}

/* 游戏内容区域 */
.GameShow {
    float: left;
    width: 590px;
    height: 350px;
    position: relative;
    overflow: hidden;
    margin-right: 10px;
    margin-bottom: 15px;
    padding: 20px;
    background: url(http://123.2o22.com/Web/res/background/GameShowBg.png) no-repeat left top;
    border: 4px solid #d8d6c0;
}

/* 图标样式 */
.icon_xh {
    width: 60px;
    height: 43px;
    vertical-align: middle;
    background: url(http://123.2o22.com/Web/res/images/Icon_ShuZi_10.png) no-repeat left top;
    display: inline-block;
    margin-left: 45px;
    margin-top: -3px;
}

.icon_xh.s1 {
    background-position: 0 0;
}

.icon_xh.s2 {
    background-position: 0 -43px;
}

.icon_xh.s3 {
    background-position: 0 -86px;
}

.icon_xh.s4 {
    background-position: 0 -129px;
}

.icon_xh.s5 {
    background-position: 0 -172px;
}

.icon_xh.s6 {
    background-position: 0 -215px;
}

.icon_xh.s7 {
    background-position: 0 -258px;
}

.icon_xh.s8 {
    background-position: 0 -301px;
}

.icon_xh.s9 {
    background-position: 0 -344px;
}

.icon_xh.s10 {
    background-position: 0 -387px;
}

.GameShow h2 {
    position: relative;
    font-size: 20px;
    color: #f8e789;
    margin-bottom: 8px;
    margin-left: -35px;
    z-index: 1500;
}

.GameShow h2 span {
    font-size: 15px;
    font-weight: normal;
    color: #cccccc;
    vertical-align: text-bottom;
}

.GameShow h2 span a {
    color: #cccccc;
}

.GameShow h2 span a:hover {
    color: #dda04d;
}

.GameShow p {
    float: left;
    width: 400px;
    line-height: 2;
    position: relative;
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 13px;
    z-index: 1500;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.GameShow .KaiQuTime {
    line-height: 20px;
    position: relative;
    font-size: 14px;
    margin-bottom: 20px;
    z-index: 1500;
    color: #edd446;
}

.GameShow .KaiQuTime span {
    width: 77px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    overflow: hidden;
    font-size: 14px;
    margin-right: 7px;
    padding-right: 3px;
    vertical-align: middle;
    background: url(http://123.2o22.com/Web/res/images/XiaoXi_80x20.png) no-repeat left top;
    display: inline-block;
    color: #f9c100;
}

.GameShowLeft {
    float: left;
    width: 400px;
    margin: -20px 0px -10px 0px; /* 上右下左 */
    padding: 0;
}

.GameShowLeft a {
    float: left;
    width: 400px;
    height: 200px;
    object-fit: cover;
}

.GameShowRight {
    float: right;
    width: 160px;
}

.GamePic {
    float: left;
    width: 400px;
    height: 200px;
    margin-bottom: 15px;
    position: relative;
    z-index: 99999;
    overflow: hidden;
}

.GamePic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 关键属性 - 保持比例并覆盖整个容器 */
}

.GameDownUrl {
    float: left;
    position: relative;
    width: 150px;
    padding-top: 30px;
    padding-left: -30px;
    z-index: 1500;
}

.GameDownUrl a {
    float: left;
    width: 145px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 15px;
    color: #8cfa7d;
    margin-left: 10px;
    border: 1px solid #fff;
    border-radius: 2px;
    margin-bottom: 17px;
    background: #027e9d;
    text-decoration: none;
}

.GameDownUrl a:hover {
    color: #fff;
    background-color: #9a0101;
}

.YinCangXianShi {
    position: absolute;
    width: 100%;
    line-height: 0;
    text-align: center;
    clear: both;
    color: rgb(49, 49, 44);
    margin: -10px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 加载游戏动画样式 */
.loader {
    display: none;
    text-align: center;
    padding: 20px;
}

.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-more-games {
    text-align: center;
    padding: 20px;
    color: #888;
    display: none;
}


/* 浮动下载按钮 */
.Float_Down_Btn {
    position: absolute;
    top: 750px;
    left: 0;
    right: 0;
    z-index: 6666;
    text-align: center;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.Float_Down_Btn_1,
.Float_Down_Btn_2,
.Float_Down_Btn_3,
.Float_Down_Btn_4 {
    width: 280px;
    height: 80px;
    display: block;
    position: relative;
    flex-shrink: 0;
}

.Float_Down_Btn_1 {
    background: url("http://123.2o22.com/Web/res/Float_Down_Btn/DownBtn1.png") no-repeat;
}

.Float_Down_Btn_2 {
    background: url("http://123.2o22.com/Web/res/Float_Down_Btn/DownBtn2.png") no-repeat;
}

.Float_Down_Btn_3 {
    background: url("http://123.2o22.com/Web/res/Float_Down_Btn/DownBtn3.png") no-repeat;
}

.Float_Down_Btn_4 {
    background: url("http://123.2o22.com/Web/res/Float_Down_Btn/DownBtn4.png") no-repeat;
}

.Float_Down_Btn_1:hover,
.Float_Down_Btn_2:hover,
.Float_Down_Btn_3:hover,
.Float_Down_Btn_4:hover {
    cursor: pointer;
    transform: translateY(-20px);
}

.Float_Down_Btn_1:hover::after,
.Float_Down_Btn_2:hover::after,
.Float_Down_Btn_3:hover::after,
.Float_Down_Btn_4:hover::after {
    content: '';
    width: 250px;
    height: 250px;
    border: 5px solid white;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: -270px;
    left: 46.8%;
    transform: translateX(-50%);
    z-index: 99999;
    box-sizing: border-box;
}

.Float_Down_Btn_1:hover::after {
    background-image: url(http://123.2o22.com/Web/res/Float_Down_Btn/DownEwm1.jpg);
}

.Float_Down_Btn_2:hover::after {
    background-image: url(http://123.2o22.com/Web/res/Float_Down_Btn/DownEwm2.jpg);
}

.Float_Down_Btn_3:hover::after {
    background-image: url(http://123.2o22.com/Web/res/Float_Down_Btn/DownEwm3.jpg);
}

.Float_Down_Btn_4:hover::after {
    background-image: url(http://123.2o22.com/Web/res/Float_Down_Btn/DownEwm4.jpg);
}

/* 右侧悬浮导航 */
#Floatingbar {
    width: 100px;
    position: fixed;
    top: 50%;
    right: 40px;
    /* 从0px调整为15px，避免与滚动条重叠 */
    margin-top: -150px;
    z-index: 60000;
    transition: right 0.3s ease;
    /* 添加平滑过渡效果 */
}

#Floatingbar:hover {
    right: 50px;
    /* 悬停时稍微向左移动 */
}

#Floatingbar ul li {
    margin-bottom: 2px;
    list-style: none; /* 添加这一行，移除列表项前面的黑点 */
}

#Floatingbar ul li a {
    width: 100px;
    height: 100px;
    text-indent: -99em;
    overflow: hidden;
    background: url(../images/link.png) no-repeat left top;
    display: block;
    transition: transform 0.2s ease;
    /* 添加悬停动画效果 */
}

#Floatingbar ul li a:hover {
    transform: translateX(-15px);
    /* 悬停时向左微移，提供更好反馈 */
}

#Floatingbar ._link1 {
    background-position: left top;
}

#Floatingbar ._link1:hover {
    background-position: -101px 0px;
}

#Floatingbar ._link2 {
    background-position: 0px -101px;
}

#Floatingbar ._link2:hover {
    background-position: -101px -101px;
}

#Floatingbar ._link3 {
    background-position: 0px -203px;
}

#Floatingbar ._link3:hover {
    background-position: -101px -203px;
}


/* 页脚 */
#footer {
    width: 100%;
    margin: 0 auto;
    background-color: #000000;
    border-top: 1px solid #414141;
    padding: 5px 0;
    margin-bottom: 5px;
}

#copyright {
    width: 100%;
    line-height: 1.6;
    text-align: center;
    clear: both;
    color: #666666;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

#copyright p {
    margin: 0;
    padding: 3px 0;
    font-size: 12px;
}

#copyright p a {
    color: #666666;
    text-decoration: none;
}