* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei"; background: #f5f5f5; color: #333; }
a { text-decoration: none; color: inherit; }

/* 顶部导航 */
header { background: #fff; border-bottom: 1px solid #eee; position: fixed;z-index: 999;opacity: .9;top: 0;width: 100%;}
.nav { max-width: 1200px; position: relative; margin: 0 auto; display: flex; align-items: center; height: 64px; justify-content: space-between; }
.logo { font-weight: bold; font-size: 20px; color: #ff7a00; padding-bottom: 10px;}
.menu{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}
.menu a { margin-left: 24px; font-size: 17px; color: #666; }
.menu a:hover { color: #39cdf5; }

/* Banner */
.banner { 
  position: relative; 
  height: 100vh;  
  /* background: url('../images/banner.jpg') no-repeat bottom center; 
  background-size: cover;
  /* overflow: hidden;  */
}
.banner .banner-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
  height: 100%; 
  position: absolute; 
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -22vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 9;
}
.banner .swiper-container img { 
  /* max-width: 100%;  */
  width: 100%;
  height: 100%; /* 保持比例 */
  object-fit: cover;

}
.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

/* 登录框 */
.login-box { 
  /* position: absolute; 
  left: 60px; 
  top: 90px;  */
  width: 500px; 
  background: #fff; 
  border-radius: 8px; 
  padding: 30px 50px; 
  box-shadow: 0 10px 30px rgba(0,0,0,.15); 
  margin-right: 30px;
  text-align: right;
  min-height: 325px;
}
.login-box.on{
  display: none;
}
.login-box1 {
  width: 500px; 
  background: #fff; 
  border-radius: 8px; 
  padding: 30px 50px; 
  box-shadow: 0 10px 30px rgba(0,0,0,.15); 
  margin-right: 30px;
  min-height: 325px;
  display: none;
  align-content: stretch;
  justify-content: stretch;
  align-items: end;
  justify-items: stretch;
}
.login-box1 .kf_a{
  text-align: right;
  text-decoration: underline;
  text-transform: uppercase;
  color: #39cdf5;
}

.login-box1.on{
  display: grid;
}
.login-box1>strong{
  font-size: 17px; 
  line-height: 1.6; 
  color: #666; 
  text-align: center;
  /* font-weight: bold; */
}
.login-box h3>i{
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url('../images/icon.png') no-repeat center;
  background-size: contain;
  vertical-align: middle;
  margin-right: 8px;
}
.login-box h3 { 
  margin-bottom: 16px; 
  font-size: 24px;
  font-weight: 600; 
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.login-box .input-group input { width: 100%; height: 45px; margin-bottom: 12px; padding: 0 12px 0 40px; border: none ; border-radius: 50px; background-color: #ececec; outline: none;}
.login-box button { width: 100%; height: 45px; background: #39cdf5; border: none; color: #fff; border-radius: 5px; cursor: pointer; font-size: 17px; }
.login-box button:hover { background: #2bb3ff; }
.input-group{
  position: relative;
}
.login-box .input-text::before{
  content: url(../images/sprite_Img.png); /* 使用Unicode字符或自定义内容 */
  position: absolute;
  left: 23px;
  top: 11px;
  width: 18px;
  transform: translateX(-50%);
  height: 23px;
  display: inline-block;
  overflow: hidden;
}
.login-box .input-password::before{
  content: ""; /* 使用Unicode字符或自定义内容 */
  position: absolute;
  left: 23px;
  top: 16px;
  width: 18px;
  transform: translateX(-50%);
  height: 12px;
  display: inline-block;
  overflow: hidden;
  background-image: url(../images/sprite_Img.png);
  background-position: 0px 12px;
}
.login-box .kf_a{
  font-size: 12px;
  color: #9a9a9a;
  text-decoration: underline;
  text-transform: uppercase;
  line-height: 1.2; 
  padding-top: 10px;
  display: inline-block;
}
.login-box .input_terms{
  font-size: 12px;
  color: #9a9a9a;
  text-align: left;
  position: relative;
  margin-bottom: 12px;
  margin-left: 15px;
}
.login-box .input_terms form{
  display: flex;
  align-items: center;
}
.login-box .input_terms a{
  color: #39cdf5;
}
.login-box .input_terms label{
  padding-left: 10px;
}
.login-box .input_terms input[type="checkbox"]{
  /* accent-color: #39cdf5; */
  color: #fff;
  cursor: pointer;
}
.login-box .input_terms input[type="checkbox"]:checked{
  /* accent-color: #39cdf5; */
}
/* 公告 */
.notice { 
  /* position: absolute; 
  left: 420px; 
  top: 90px;  */
  width: 500px;
  min-height: 325px;
  background: #fff; 
  border-radius: 8px; 
  padding: 30px; 
  box-shadow: 0 10px 30px rgba(0,0,0,.15); 
}
/* .notice h4 { color: #ff4d4f;} */
.notice .notice_ul{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: center;
}
.notice .notice_ul .notice_text{
  background-color: #f3f3f3;
  padding: 10px 30px;
  color: #e92a49;
  cursor: pointer;
}
.notice .notice_ul .notice_text.on{
  color: #fff;
  background-color: #e92a49;
}
.notice .notice_box{
  background-color: #f3f3f3;
  padding: 20px;
  overflow: hidden;
  height: 222px;
}
.notice .notice_box ul li{
  list-style: none;
  color: #666; 
  font-size: 14px; 
  padding: 9px 0;

}
.notice .notice_box ul li a{
  width: 100%;
  display: block;
  white-space: nowrap; /* 强制文本在一行显示 */
  overflow: hidden; /* 超出部分隐藏 */
  text-overflow: ellipsis; /* 用省略号表示被隐藏部分 */
}
.notice .notice_box ul li a:hover{
  color: #39cdf5;
}
.notice p { 
  font-size: 14px; 
  line-height: 1.6; 
  color: #666; 
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8; /* 设置显示行数 */
  text-overflow: ellipsis;
}

/* 热门游戏 */
.section { max-width: 1200px; margin: 60px auto; }
/* .section h2 { font-size: 20px; margin-bottom: 24px; font-weight: 900; display: flex;} */
.section h2::before,.service h2::before {
  content: "";
  width: 4px;
  height: 29px;
  background-color: #39cdf5;
  display: inline-block;
  margin-right: 10px;
  border-radius: 5px;
}
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.08); transition: transform .2s; }
.game-card:hover { transform: translateY(-6px); }
.game-card img { width: 100%; height: 160px; object-fit: none; }
.game-card .info { padding: 16px; }
.game-card h4 { margin-bottom: 8px; }
.game-card p { font-size: 13px; color: #666; margin-bottom: 12px; }
.game-card .games_btn{
  text-align: right;
}
.game-card a { background: #2bb3ff; border: none; color: #fff; padding: 6px 16px; border-radius: 4px; cursor: pointer; display: inline-block;}

/* 广告位 */
.kf_banner {
  max-width: 1920px; 
  overflow: hidden;
}
.kf_banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 客服中心 */
.service {padding: 60px 0; }
.service-inner { max-width: 1200px; margin: 0 auto; }
.service h2,.section h2 {     
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 900;
  display: flex; 
}
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; color: #333; border-radius: 8px; padding: 32px 20px; text-align: center; transition: all .3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0); }
.service-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.service-card h4 { margin: 15px 0; font-size: 20px;}
.service-card:nth-child(1) h4 { color: #f67171; }
.service-card:nth-child(2) h4 { color: #79d5ff; }
.service-card:nth-child(3) h4 { color: #f9b25f; }
.service-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* footer */
.foot {
	background-color: #282b2d;
	min-width: 1200px;
	padding: 35px 0;
  /* margin-top: 50px; */
  border-top: 2px solid #d2d2d2;
}
.foot .footer{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.foot_logo {
	padding: 0px 25px 0 100px;
}

.foot_logo .foot_lowerimg{
    width: 134px;
    margin: 0 auto;
}


/* footer nav*/
.foot_nav {
	font-size: 14px;
	color: #acacac;
	padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foot_nav i{
  display: block;
  width: 175px;
  height: 50px;
  background: url('../images/5aw-logo-CMYK.png') no-repeat center;
  background-size: contain;
  margin: 0 0 16px;
}

.foot_nav .line_span {
	display: inline-block;
	color: #fff;
	padding: 0 15px
}

.foot_nav a {
	display: inline-block;
	color: #fff
}

.foot_nav a:hover {
	color: #39cdf5
}

/*copyright*/
.foot_copy {
  font-size: 12px;
  color: #fff;
  line-height: 25px;
  text-align: center;
}

.foot_copy a {
	color: #fff;
}

.foot_copy a:hover {
	color: #39cdf5
}

.foot_copy a img {
	position: relative;
	top: -1px;
}

.foot.index-foot {
	margin-top: 0;
}

.foot.user_foot {
	background-color: #fff;
	border: none;
	margin-top: 0;
}

.foot .foot_user {
	border-left: none;
	text-align: center;
}

.foot .foot_user .foot_nav a {
	color: #525252;
}

.foot .foot_user .foot_nav a:hover {
	color: #1de9d9;
}

.foot .foot_user .foot_nav .line_span {
	color: #525252;
}

.foot .foot_user .foot_copy,
.foot .foot_user .foot_copy:nth-child() a {
	color: #656565;
}

.foot .foot_user .foot_copy a:hover {
    color: #1de9d9;
    
}

/* footer */

/* login */
.login_bg {
  background: url('../images/login_bg.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  position: relative;
}
.login_bg .banner-inner{
  max-width: 1200px;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  right: 10vh;
  margin: 0 auto;
  z-index: 9;
}
/* user */
.user_main {
  width: 100%;
  min-height: 800px;
  background: #eeeeee;
  border-radius: 8px;
  padding: 40px;
  position: relative;
}
.user_main .user_box{
  max-width: 1200px;
  margin: 100px auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: self-start;
}
.user_left{
  background: #FFF;
  width: 180px;
  min-height: 479px;
}
.user_right{
  background: #FFF;
  width: 1000px;
  display: none;
  min-height: 479px;
}
.user_right.on{
  display: block;
}
.user_info {
  text-align: center;
  padding: 20px;
}
.user_info .avatar_img{
  display: inline-block;
  background: url(../images/avatar_img.png) no-repeat center;
  background-size: 95px;
  border: 2px solid #FFF;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 80px;
  height: 80px;
  overflow: hidden;
}
.user_info .avatar_img img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  /* overflow: unset;
  overflow-clip-margin: unset; */
}
.user_info .name {
  font-size: 16px;
  color: #666;
  padding-top: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.user_nav {
  padding-bottom: 40px;
}
.user_nav a {
  display: block;
  border-bottom: 1px dotted #F2F2F2;
  font-size: 14px;
  color: #666;
  line-height: 50px;
  padding: 0 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s linear;
  display: flex;
  justify-content: start;
  align-items: center;
}
.user_nav a:hover {
  background: #f5f5f5;
  color: #39cdf5;
}
.ic20_picture {
  background-position: -70px 0;
}
.ic20_key {
  background-position: -70px -20px;
}
.ic20_name {
  background-position: -70px 0;
}
.ic20_phone {
  background-position: -70px -40px;
}
.ic20_picture,.ic20_key,.ic20_name,.ic20_phone{
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  background-image: url(../images/pq_icon.png);
  background-repeat: no-repeat;
  margin-right: 10px;
}
.user_nav .on .arrow {
  border-right: 10px solid #EEE;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  top: 15px;
  right: 0;
}
.user_nav .on, .user_nav .on:hover {
  background: #39cdf5;
  color: #fff;
}
.inner_title {
  background: #fafafa;
  height: 70px;
  line-height: 70px;
  padding: 0 30px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inner_title .title_left {
  display: block;
  float: left;
  font-size: 20px;
  color: #333;
}
.location_right {
  font-size: 14px;
  color: #999;
}
.location_right a {
  color: #999;
}
.location_right a:hover {
  color: #39cdf5;
}
.user_content{
  padding: 40px;
}
.user_content h3{
  /* text-align: center; */
  font-size: 20px;
  color: #666;
  line-height: 30px;
  padding-left: 260px;
}
.orange {
  color: #ff601b;
}
.user_content table tr{
  padding: 10px 0;
  position: relative;
  display: inline-block;
  width: 100%;
  position: relative;
}
.user_content table tr .td_left{
  font-size: 14px;
  color: #666;
  text-align: right;
  line-height: 40px;
  width: 250px;
  padding-right: 10px;
}
.user_content table tr td{
  display: inline-block;
  font-size: 16px;
  color: #999;
  line-height: 40px;
}
.user_content table tr .msg_text{
  display: inline-block;
  font-size: 14px;
  color: #999;
  padding-left: 15px;
}
.user_content table tr td .input_t{
  border: 1px solid #dedede;
  font-size: 14px;
  font-family: "微软雅黑";
  color: #999;
  line-height: 20px;
  padding: 9px 15px;
  margin: 0;
  transition: border-color 0.3s linear 0s;
  outline: none;
}

.game_btn1,.game_btn3 {
  display: inline-block;
  background: #39cdf5;
  border: none;
  font-size: 18px;
  font-family: "微软雅黑";
  color: #fff;
  text-align: center;
  min-width: 140px;
  line-height: 45px;
  height: 45px;
  cursor: pointer;
  transition: background 0.3s linear;
}
.btn_upload {
  display: inline-block;
  background: #e9e9e9;
  font-size: 14px;
  color: #666;
  line-height: 40px;
  padding: 0 30px;
  cursor: pointer;
  transition: all 0.3s linear;
} 
.btn_upload:hover {
  background: #39cdf5;
  color: #fff;
} 
.game_btn3 {
  background: #bcbcbc;
  margin-left: 20px;
}
.msg_test{
  background: #e9e9e9;
  color: #666;
  line-height: 25px;
  padding: 15px 30px;
  margin-top: 40px;
}
.msg_test .msg_p1{
  font-size: 16px;
  padding-bottom: 5px;
}
.msg_test .msg_p2{
  font-size: 14px;
}
.user_content .btn_send{
  margin-left: -7rem;
  text-decoration: underline;
  outline: none;
  cursor: pointer;
  color: #39cdf5;
  font-size: 14px;
  line-height: 40px;
}
.btn_send.on{
  pointer-events: none;
  color: #999; /* 浅灰色文字 */
  cursor: not-allowed; /* 鼠标指针变为禁止图标 */
}

/* 悬浮框 */
.float_contact_position{
  position: fixed;
  bottom: 210px;
  right: 0%;
  z-index: 99;
  justify-content: center;
  align-items: center;
  text-align: right;
  transition: all 0.3s ease;
  margin-right: 10%;
}
.float_contact_position .kf_pic {
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  width: 160px;
  height: 50px;
  padding: 10px 20px;
  background-color: #ffffff;
  border: 2px solid #1dd2bb;
  border-radius: 6px;
  position: absolute;
  left: -150px;
  top: 16px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  z-index: 4;
}

.float_contact_position .kf_pic.on {
  visibility: visible;
  opacity: 1;
  left: -180px;
}

.float_contact_position .kf_pic a {
  width: 100%;
  display: flex;
  align-content: center;
  align-items: center;
  position: relative;
  z-index: 9;
}
.float_contact_position .kf_pic span {

  display: inline-block;
  float: left;
  margin-right: 5px;
} 
.float_contact_position .kf_pic img {
  vertical-align: middle;
}
.float_contact_position .kf_arrow{
  width: 23px;
  height: 26px;
  display: inline-block;
  background: url(../images/arrow.png) no-repeat;
  position: absolute;
  right: -42px;
  top: 0;
}


/* 响应式 */
@media (max-width: 992px) {
  /* .banner img { display: none; } */
  .login-box, .notice { position: static; margin: 20px auto; }
  .banner-inner { padding-top: 20px; }
  .games, .service-cards { grid-template-columns: 1fr; }
}

/* 消息弹窗 */
.notify{
  padding: 10px;
  background-color: rgba(0, 0, 0, .6);
  color: #ffffff;
  font-size: 14px;
  position: fixed;
  bottom: 0%;
  left: 50%;
  right: 50%;
  transform: translate(-0%, -0%);
  text-align: center;
  width: 200px;
  z-index: 999;
  border-radius: 5px;
  animation: TopUp .3s forwards;
}
@keyframes TopUp {
  from {
      opacity: 0;
      transform: translate(-50%, -0%);
  }
  to {
      opacity: 1;
      transform: translate(-50%, -50%);
      bottom: 15%;
  }
}
.game_con ul li .game_p{
  font-size: 15px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  color: black;
}