*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}
a{
    text-decoration: none;
}
ul,li{
    list-style: none;
}
body,html{
	height: 100%;
	box-sizing: border-box;
}
body{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
	background:#fff;
	color: #333;
	
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
	
}
.mr30{
	margin-right: 30px;
}
.f-orange{
	color: #EF7939;
}
.f-yellow{
	color: #FEE119 ;
}
.b-orange{
	background:#EF7939 !important;
}
.b-yellow{
	background:#FEE119;
}
.b-purple{
	background-color: #5703CD !important;
}
 
/* header */
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #A96BFF;
	padding:20px;
	background-color: #fff;
}
.header h2{
	height: 54px;
	overflow: hidden;
	line-height: 54px;
	font-size: 48px;
    font-weight: 800;
}
.header .btn{
	width: 54px;
	height: 54px;
	line-height: 54px;
	text-align: center;
	color: #A96BFF;
}
.header .icon-menu{
	display: block;
	width: 100%;
	height:100%;
	background: url('../images/menu-icon.png') no-repeat;
	background-size: 100%;
}
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,.8);
    z-index: 2147483647;
    display: none;
	overflow: hidden;
}
#sidebar{
	position: relative;
    background-color:#fff;
    position: absolute;
    top:94px;
    width: 100%;
	border-radius:0 0 30px 30px;
	overflow: hidden;
    animation: menudrop .3s linear forwards;
}
.mobile-ul{
	padding:20px;
}
.mobile-ul li{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	margin: 0 -5px;
}
.mobile-ul a{
	display:inline-block;
	text-align: center;
	padding:20px 15px;
	flex: 1;
	margin:5px 10px;
	border-radius: 30px;
	color: #fff;
	background-color:#A96BFF;
	font-size: 24px;
}
.mobile-ul li:nth-child(odd) a{
	background-color:#A96BFF;
}
.mobile-ul li:nth-child(odd) a:last-child{
	background-color:#5703CD;
}
.mobile-ul li:nth-child(even) a{
	background-color:#FFB58B;
}
.mobile-ul li:nth-child(even) a:last-child{
	background-color:#EF7939;
}

.hide #sidebar{
    animation: menudrop 1s ease reverse forwards;
}
#sidebar .top{
	text-align: right;
	padding:15px 15px 0 0;
}
#sidebar .closedBtn{
	position: absolute;
	right: 15px;
	top: 15px;
	width: 44px;
	text-align: center;
	height: 44px;
	color:#E82E2F;
	border-radius: 50px;
	display: block;
}
#sidebar .closedBtn i{
	font-size: 44px;
}

@keyframes menudrop{
    0% {
        transform: translateY(-165vw);
    }
    100% {
        transform: translateY(0);
    }
}
.sortWrap{
	background-color: #5703CD;
	border-radius: 35px;
	padding:20px;
}
.sortWrap .sortItem .title{
	color:#fff;
}
.sortItem{
	width: 172px;
	display: block;
	margin: 10px 0;
}
.sortItem .imgIcon{
	height: 172px;
	display: block;
	border-radius: 25px;
	overflow: hidden;
}
.sortItem .imgIcon img{
	width: 100%;
	object-fit: cover;
}
.playBtn{
	border-radius: 25px;
	background-color:#FFB58B;
	font-size: 32px;
	color: #fff;
	text-align: center;
	width:20%;
	height:64px;
	line-height:64px;
	font-weight: bold;
	display:inline-block;
}

/* foot */
.foot{
	margin:20px;
	padding:20px;
	background-color:#A96BFF;
	border-radius: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer-nav{
	width: 75%;
	display:inline-flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.footer-nav li{
	display: inline-block;
}
.footer-nav li a{
	display: block;
	color: #fff;
	margin: 8px 0;
	font-size: 22px;
}
.backTop{
	width: 60px;
	height: 60px;
	border-radius:15px;
	border: 2px solid #fff;
	color: #fff;
	background: url('../images/bakcTop.png') center no-repeat;
	background-size: 32px;
}


.gameWrap{
	height:calc(100% - 10px);
}
.gameWrap .gamePlay{
	width: 100%;
	height: 100%;
	
}
.gamePlay>iframe {
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 999;
}

.floatMenu{
	position: fixed;
	z-index: 11111;
	border-radius:0 50px 50px 0;
	padding:10px 10px 10px 20px;
	background-color: #5703CD;
	top: 5%;
	left:0;
}
.floatMenu a{
	display:block;
	width: 54px;
	height:54px;
	border-radius: 50%;
	background-color: #fff;
	text-align: center;
	line-height: 54px;
}
.floatMenu.active {
    left: 60%;
	top:10%;
    z-index: 999999;
}
.floatMenu .btn img{
	width:100%;
	display: inline-block;
}
.chu_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: -100%;
    overflow: hidden;
    z-index: 9999;
}
.chu_box #sidebar{
	top:0;
	border-radius: 0 20px 20px 0;
	left: 0;
	width: 60%;
	bottom:0;
}
.chu_box .mobile-ul{
	height: auto;
}
.chu_box .mobile-ul li{
	padding-bottom: 0;
	margin: 0;
	display: block;
}
.chu_box .mobile-ul a {
    margin: 10px 0;
	display: block;
  
}
.chu_active {
    left: 0;
}


@media screen and (max-width:1082px){
		
}
@media screen and (max-width:1025px){
	.sortItem {
	    width: 138px;
	}
	.sortItem .imgIcon{
		height: 138px;
	}
	
}
@media screen and (max-width:913px){
	.sortWrap {
	  
	}
	.sortItem {
	    width: 248px;
	    display: block;
	}
	.sortItem .imgIcon {
	   height: 248px;
	}
	.gameItems {
	    position: relative;
	    display: flex;
	    border-radius: 30px;
	    width: 190px;
	    height:190px;
	    overflow: hidden;
	    margin: 15px 0;
	}
}
@media screen and (max-width:821px){
	.sortItem {
	    width: 222px;
	    display: block;
		margin: 10px 5px;
	}
	.sortItem .imgIcon {
	   height: 222px;
	}
	
	.playBtn{
		width: 100%;
	}
}
@media screen and (max-width:768px){
	#sidebar{
		top: 94px;
	}
	.sortItem {
	    width: 210px;
	}
	.sortItem .imgIcon {
	   height: 210px;
	}
	.gameItems {
	    width: 218px;
	    height: 218px;
		margin: 16px 0;
	}
	
}
@media screen and (max-width:641px){
	.header h2 {
	    height: 48px;
	    line-height: 48px;
	    font-size: 38px;
	}
	.header .btn {
	    width: 48px;
	    height: 48px;
	    line-height: 48px;
	}
	.header .btn span {
	    font-size: 28px;
	}
	#sidebar {
	    top: 88px;
	}
	.mobile-ul a {
	    padding:15px;
	    margin: 5px 10px;
	    border-radius: 30px;
	    font-size: 18px;
	}
	.sortItem {
	    width:172px;
	}
	.sortItem .imgIcon {
	    height: 172px;
		border-radius: 20px;
	}
	.gameItems {
		border-radius:20px;
	    width: 184px;
	    height:184px;
	    margin:10px 0;
	}
	.playBtn {
	    font-size: 26px;
	    width: 100%;
		height: 56px;
		line-height: 56px;
	    display:block;
	}
}
@media screen and (max-width:541px){
	.gameItem{
		flex-direction: column;
	}
	.playBtn {
		width: 100%;
	   height: 45px;
	   line-height: 45px;
	   font-size:18px;
	}
	.sortItem .title {
	    font-size: 16px;
	}
	.starWrap .star {
	    width: 22px;
	    height: 22px;
	}
	.floatMenu{
		padding: 5px 5px 5px 15px;
	}
	.floatMenu a {
	    width: 34px;
	    height: 34px;
	    line-height: 34px;
	}
	
}
@media screen and (max-width:431px){
	#sidebar{
		top: 65px;
	}
	.header {
	    display: flex;
	    justify-content: space-between;
	    align-items: center;
	    padding:15px;
	}
	.header .btn {
	    width: 42px;
	    height: 42px;
	    line-height: 42px;
	}
	.header h2 {
	    height: 42px;
	    line-height: 42px;
	    font-size: 32px;
	}
	.header .btn span {
	    font-size: 28px;
	}
	.mobile-ul a{
		font-size: 14px;
		padding: 10px;
		margin: 0 5px;
	}
	.sortItem {
	    width: 116px;
		margin: 5px 0;
	}
	.sortItem .imgIcon {
	    height: 116px;
	    border-radius: 20px;
	}
	.footer-nav li a {
	    margin: 5px 0;
	    font-size: 15px;
	}
	.backTop{
		width: 44px;
		height: 44px;
		border-radius: 6px;
	}
}
@media screen and (max-width:415px){
	.header h2 {
	    height: 36px;
	    line-height: 36px;
	    font-size:30px;
	}
	.header .btn {
	    width: 36px;
	    height: 36px;
	    line-height: 36px;
	}
	.mobile-ul {
	    padding:15px;
	}
	.sortWrap {
	   border-radius: 20px;
	   padding: 10px 15px;
	}
	.sortItem {
	    width: 110px;
		margin:5px 0;
	}
	.sortItem .imgIcon {
	    height: 110px;
	    border-radius: 20px;
	}
	.sortItem .title {
	    font-size: 15px;
	}
}
@media screen and (max-width:391px){
	.sortItem {
	    width: 102px;
	}
	.sortItem .imgIcon {
	    height: 102px;
	    border-radius: 15px;
	}
	.foot {
	    margin: 15px;
	    padding: 15px;
	    background-color: #A96BFF;
	    border-radius: 20px;
	    display: flex;
	    justify-content: space-between;
	    align-items: center;
	}
	.backTop {
	    width: 38px;
	    height:38px;
	    border-radius: 4px;
		background-size:24px;
	}
}
@media screen and (max-width:376px){
	.header h2 {
	    font-size: 28px;
		height: 36px;
		line-height: 36px;
	}
	.header .btn {
	    width: 36px;
	    height: 36px;
	    line-height: 36px;
	}
	.mobile-ul li {
	    padding-bottom: 10px;
	}
	.mobile-ul a {
	    font-size: 14px;
	}
	.sortWrap {
	   border-radius: 20px;
	   padding: 10px 12px;
	}
	.sortItem .title{
		font-size: 14px;
	}
	.sortItem {
	    width:98px;
	}
	.sortItem .imgIcon {
	    height:98px;
	    border-radius:15px;
	}
	
}
@media screen and (max-width:361px){
	.sortItem {
	    width: 92px;
	}
	.sortItem .imgIcon {
	    height: 92px;
	}
	
}
@media screen and (max-width:321px){
	.header h2 {
	    font-size: 24px;
	}
	.sortItem {
	    width: 84px;
	}
	.sortItem .imgIcon {
	    height: 84px;
	    border-radius: 10px;
	}
}
@media screen and (max-width:280px){
	
}