*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html,body{
    width:100%;
    height:100%
}
body{
    position:relative;
    background-color: #fff;
}
ul,ol{list-style:none}
a{text-decoration:none} 
h1,h2,h3,h4,h5,h6{font-weight:500}
button{
    border:none;
    outline:none
}
.container{
    width:calc(100vw - 20px);
    margin-left:auto;
    margin-right:auto
}
header {
    background-color: rgba(63, 75, 185, 1);
    margin-bottom: 20px;
}
header .container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .container .search {
    padding-top: 10px;
    margin-bottom: 10px;
}
header .container .search form {
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        border-radius: 50px;
        position: relative;
        overflow: hidden;
}
.search form input[type=text] {
    width: calc(100% - 50px);
    display: block;
    width: 100%;
    padding: .375rem 30px .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    outline: black;
}
header .search form button {
    border: none;
    /* background-color: rgba(0, 0, 0, 0); */
    background-color: #3F4BB9;
    width: 30px;
    /* border-radius: 50px; */
    position: absolute;
    right: 3px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /* box-shadow: -1px 0px 0px rgba(0, 0, 0, .1); */
    top: 3px;
    bottom: 3px;
    border-radius: 32px;
}
header .search form button i {
    color: #fff;
}
header .icon {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .icon i {
    color: #fff;
    font-size: 36px;
}
header .logo {
    height: 40px;
}
header .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
footer {
    margin-top: 20px;
    background-color: rgba(63, 75, 185, 1);
}
footer .container {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-around;
}
footer .container a i {
    color: #fff;
    font-size: 30px;
}
.category_item_box {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    z-index: 10;
    background-color: rgba(0, 0, 0, .3);
}
.category_item_box.active {
    display: block;
}
.category_item {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    width: 252px;
    padding: 15px;
    /* padding-bottom: 20px; */
    position: absolute;
    top: 60px;
    right: 10px;
}
.category_item .tags {
    display: flex;
    flex-direction: column;
}
.category_item .tags a {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #666666;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}
.category_item .tags a:nth-last-child(1) {
    margin-bottom: 0;
    border: none;
}
body.active {
    overflow: hidden;   
}
.ad {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ad p {
	font-size: 12px;
	color: #ccc
}
.box:nth-last-child(1) {
    margin-bottom: 0;
}
.lunbo {
    margin-top: 20px;
}
.lunbo .swiper {
    padding-bottom: 20px;
}
.lunbo a {
    width: 100%;
    position: relative;
}
.lunbo a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    position: relative;
    border-radius: 12px;
    overflow: hidden    ;
}
.lunbo a .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.lunbo .swiper-pagination-bullet {
    background-color: rgba(63, 75, 185, 1);
    opacity: 1;
    width: 6px;
    height: 6px;
    border-radius: 6px;
}

.lunbo .swiper-pagination-bullet-active {
    width: 38px;
}
.lunbo .swiper-horizontal>.swiper-pagination-bullets,
.lunbo .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 3px;   
}
.box {
    margin-bottom: 20px;
}
.box .banner ,
.box .banner2 {
    border-radius: 5px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 15px 10px;
    flex-wrap: wrap;
}
.box .banner2 {
    margin-bottom: 10px;
}
.box .banner a {
    width: calc((100% - 10px)/3);
    margin-right: 5px;
    position: relative;
    margin-top: 5px;
}
.box .banner2 a {
    width: calc((100% - 15px)/4);
    margin-right: 5px;
    position: relative;
    margin-top: 5px;
}
.box .banner2 a:nth-child(4n) {
    margin-right: 0;    
}
.box .banner2 a:nth-child(-n+4) {
    margin-top: 0;
}
.box .banner a:nth-last-child(1) {
    margin-right: 0;
}
.box .banner a .thum ,
.box .banner2 a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.box .banner a .thum img ,
.box .banner2 a .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.box .title h3 {
    font-size: 18px;
    font-weight: 700;
}
.box .title {
    margin-bottom: 7px;
}
.box .title h3 span {
    background-color: #3F4BB9;
    color: #fff;
    border-radius: 5px;
}
.hot ,
.classic {
    display: flex;
    flex-wrap: wrap;
}
.hot a {
    width: calc((100% - 5px)/2);
    margin: 10px 5px 0 0 ;
}
.hot a {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}
.hot a:nth-child(2n) {
    margin-right: 0;
}
.hot a:nth-child(-n+2) {
    margin-top: 0;
}
.hot a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    position: relative;
}
.hot a .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.hot a dl {
    padding: 5px
}
.hot a dl dt {
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    color: #333;
    height: 28px;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hot .layui-rate {
    padding: 5px 0;
}
.classic a {
    width: calc((100% - 10px)/3);
    margin: 5px 5px 0 0;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px;
}
.classic a:nth-child(3n) {
    margin-right: 0;
}
.classic a:nth-child(-n+3) {
    margin-top: 0;
}
.classic a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
}
.classic a .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.classic a .text {
    padding-bottom: 10px;
}
.classic a .text p {
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    color: #333;
    height: 28px;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.recommend a {
    display: flex;
    padding: 5px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 5px;
    align-items: center;
}
.r a {
    display: flex;
    border-radius: 5px;
    margin-bottom: 10px;
    align-items: center;
}
.recommend a:nth-last-child(1) {
    margin-bottom: 0;
}
.recommend a .thum {
    width: 67px;
    height: 0;
    padding-bottom: 67px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-right: 10px;
}
.r a .thum {
    width: 56px;
    height: 0;
    padding-bottom: 56px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-right: 10px;
}
.recommend a .thum img ,
.r a .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.recommend a dl ,
.r a dl {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-right: 23px;
    width: calc(100% - 190px);
    height: 67px;
}
.r .layui-rate {
    padding: 0;
}
.r a dl {
    width: calc(100% - 77px);
    height: 56px;
}
.recommend a dl dt ,
.r a dl dt {
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    color: #333;
    height: 28px;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.recommend a .tag ,
.more a .text .tag {
    width: 77px;
    margin-right: 13px;
    height: 24px;
    line-height: 24px;
    background-color: rgba(253, 202, 40, 1);
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    color: #3F4BB9;
    
}
.box .title h4.search_title {
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
    color: #999999;
    margin-top: 20px;
    margin-bottom: 10px;
}
.recommend .layui-rate {
    padding: 0;
}
.all_game {
    border-radius: 5px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin-bottom: 20px;
}
.all_game .game_list {
    display: flex;
    flex-wrap: wrap;
}
.all_game .game_list a {
    width: calc((100% - 15px)/4);
    margin: 5px 5px 0 0;
}
.all_game .game_list a:nth-child(4n) {
    margin-right: 0;
}
.all_game .game_list a:nth-child(-n+4) {
    margin-top: 0;
}
.all_game .game_list a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.all_game .game_list a .thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.more a {
    display: block;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.more a:nth-last-child(1) {
    margin-bottom: 0;
}
.more a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    position: relative;
}
.more a .thum img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.more a .text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 47px;
    padding: 10px;
}
.more a .text h3 {
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
}
.game {
    display: flex;
    margin-top: 20px ;
}
.game .thum {
    width: 84px;
    height: 0;
    padding-bottom: 84px;
    border-radius: 5px;
    position: relative;
    margin-right: 20px;
}
.game .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.game dl {
    width: calc(100% - 104px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.game dl dt {
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 18px;
    color: #333;
}
.game dl dd .layui-rate {
    padding: 0;
}
.game dl dd.tag span {
    display: inline-block;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    line-height: 20px;
    height: 20px;
    padding: 0 7px;
    color: #3F4BB9;
    font-size: 10px;
}
.desc p {
    font-weight: 400;
    font-size: 13px;
    color: #333;
}
.get_app  {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.get_app a {
    width: 300px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    border-radius: 20px
}
.category {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.category .fenlei {
    width: 84px;
    margin-right: 36px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);

}
.category .fenlei a {
    width: 100%;
    display: block;
    border-bottom: 1px solid #333;
    line-height: 38px;
    height: 38px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}
.category .fenlei a:nth-last-child(1) {
    border-bottom: none;
}
.get_app a .icon {
    margin-right: 20px;
}
.get_app .icon i {
    font-size: 26px;
    color: #636363;
}
.get_app a h4 {
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    color: #636363;
}
.get_app a p {
    font-size: 14px;
    color: #636363;
}
.detail_box {
    display: flex;
    background-color: #fff;
    margin: 20px 0;
}
.detail_box .btns {
    width: 44px;
    height: 78px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-right: 16px;
}
.detail_box .btns span {
    display: flex;
    width: 44px;
    height: 39px;
    justify-content: center;
    align-items: center;
}
.detail_box .btns span i {
    font-size: 24px;
    color: #636363;
}
.detail_box .btns span.active {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.detail_box .show_main {
    width:calc(100% - 60px) ;
}
.detail_box .show_main ul {
    height: 78px;
    width: 100%;
    display: none;
    flex-wrap: wrap;
    padding: 5px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    position: relative;
    align-content: space-around;
}
.detail_box .show_main ul li {
    width: calc((100% - 30px)/2);
    margin-right: 30px;
    display: flex;
    position: relative;
    overflow: hidden;

}
.detail_box .show_main ul li:nth-child(2n+1) {
    width: calc((100% - 30px)/2 - 30px);
}
.detail_box .show_main ul li:nth-child(2n) {
    margin-right: 0;
    width: calc((100% - 30px)/2 + 30px);

}
.detail_box .show_main ul.active {
    display: flex;
}
.detail_box .show_main ul li h4 {
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    color: #585858;
    margin-right: 10px;
}
.detail_box .show_main ul li p {
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    color: #A2A2A2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.imgs_box .thum {
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    border-radius: 5px;
    position: relative;
}
.imgs_box .thum img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.imgs_box {
    margin-bottom: 20px;
}

.fenlei_box a { 
    width: 300px;
    display: block ;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    line-height: 40px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}
section {
    min-height: calc(100vh - 160px);
}