@charset "UTF-8";
:root {
  --bs-border-radius:5px;
  --bs-border-bg:#f1d02c;
  --bs-border-color:#f1d02c;
  --bs-link-color:#FFF;
  --bs-link-color-white:#FFF;
  --bs-text-color-bule:#2c1177;
  --bs-font-sans-serif: "Verdana,arial,Geneva,sans-serif";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-body-color: #5E6278;
  --bs-body-bg: #231b48;
  --bs-footer-bg: #67197b;
  --bs-body-top-bg: #4e3e9c;
  --bs-body-bottom-bg: #130f28;
}
#customToastContainer {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
}
.custom-toast {
    min-width: 300px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

*,*::before,*::after {
  box-sizing: border-box;
}

article,h1,h2,h3,h4,figure{padding: 0; margin: 0;}
h1{font-size: 1.5rem;}
h2{font-size: 1.1rem;}
h3{font-size: 1rem;}
body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-link-color-white);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a{ color: var(--bs-border-color); text-decoration: none;}
a:hover{ text-decoration: underline;}
.box-background{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -999;
  background: linear-gradient(to bottom,var(--bs-body-top-bg) 0,var(--bs-body-bottom-bg) 100%);
  background: -webkit-linear-gradient(to bottom,var(--bs-body-top-bg) 0,var(--bs-body-bottom-bg) 100%);
  background: -o-linear-gradient(to bottom,var(--bs-body-top-bg) 0,var(--bs-body-bottom-bg) 100%);
  background: -moz-linear-gradient(to bottom,var(--bs-body-top-bg) 0,var(--bs-body-bottom-bg) 100%);
  background: linear-gradient(to bottom,var(--bs-body-top-bg) 0,var(--bs-body-bottom-bg) 100%)
}
.modal-content {
    background:var(--bs-link-color-white);
    color:var( --bs-body-color) !important;
}
.modal-content .modal-header{
    border-bottom:var(--bs-modal-header-border-width) solid var(--bs-gray-300);
}
.row > div.game-category,.row >div.card ,.row >div.game-similar{
    padding: 0px 0px 0px 0px;
}
.box{
  padding: 1rem;
}

header .navbar{
  --bs-bg-opacity: 1;
  background-color: #110849 !important;
}
header .navbar .navbar-brand,.navbar-nav .nav-link.active, .navbar-nav .nav-link.show,header .navbar .nav-link,.breadcrumb .breadcrumb-item.active{ 
  color:var(--bs-link-color-white) ;
}

header .navbar-expand-lg .navbar-nav .nav-link:hover{
  background-color: var(--bs-footer-bg);
}
header .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
header .top-right{display:flex;  justify-content: left; text-align: left; height: 50px;}
header .top-right #is_login_box,header .money-box{ margin: 0.3rem 0;}
header .nav_right{margin: 0; padding:0 1rem; height: auto;}
header .nav_right > li{ list-style: none; font-weight: bold; margin-right:5px;display: inline; line-height: 35px;}
header .nav_right > li img{  border-radius: 50%;object-fit: cover; height: 35px;}
header .money-box{display: flex;}
header .money-box .btn{padding: 0.1rem 0.2rem; margin-right: 0.22rem;}
header .money-box a{ color: var(--bs-border-color); text-decoration: none; background: var(--bs-body-color); border-radius: 15px;}
header .money-box a:hover{color: var(--bs-link-color-white);background: var(--bs-body-bg);}
header .money-box  svg{ width: 30px;height: 30px; display: inline-block; float: left;  color: var(--bs-border-color);}
header .money-box .icon{width: 30px;float: left;margin:0.1rem 0.1rem;}
header .money-box .text{float: left; line-height: 35px;}

header #search-form{position: relative;float: right; display: inline-block; align-items: center;margin: 0.3rem;}
header #search-form input{
  border:1px solid var(--bs-body-bg);
  border-radius: 20px;
  color: var(--bs-link-color-white);
}
header #search-form input:focus {
  border:1px solid var(--bs-link-color-white);
}
header #search-form input::placeholder{color:var(--bs-link-color-white)}
header #search-form .search-btn{
  position: absolute;
  right: 5px;
}
header #search-results {
    position:absolute;
    min-width: 360px;
    max-width: 100%;
    height: auto;
    display: none;
    top:50px;
    right: 0px;
    background: var(--bs-body-color);
    z-index: 9999;
    border-radius: 10px;
    padding: 0.5rem;
    overflow-y: auto;
    text-justify: inter-character;
}
#search-results article{width: 105px; margin: 0.3rem; float: left;}

.breadcrumb{
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.75);
}
.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 2fr));
    justify-content: center;
    gap: clamp(0.8rem, 2.5vw, 1.45rem);
    padding: 0 var(--gap);
    margin-bottom: 1rem;
  }
  .grid-list .thumb {
    position: relative;
    border-radius: var(--bs-border-radius);
    background-color: var(--bs-body-color);
    border: 1px solid var(--bs-body-color);
    line-height: 1.2rem;
    aspect-ratio: 1/1;
    opacity: 1; 
    transition: opacity 0.5s ease, background-color 0.5s ease; 
  }

.grid-list .thumb figure.hot::after {
    content: "HOT";
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--bs-border-color);
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}
  .grid-list .thumb:hover{
    border: 1px solid var(--bs-border-color);
    transform: scale(1.02);
  }
  .grid-list .thumb figcaption{ 
     width: 100%;
     display: none;
     position:absolute;
     bottom: 0px;
     border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
     background-color: var(--bs-border-bg);
     color: var(--bs-link-color);
     text-align: center;
  }
  .grid-list .thumb:hover figcaption{display: block;color: var(--bs-text-color-bule);}
  .grid-list img {
    border-radius: var(--bs-border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .title-header {
      height: 36px;
      border-bottom: 1px dotted #45329d4a;
      overflow: hidden
  }
.title-header a{ color:#FAF0CC;}
.title-header h2, .title-header h1{
    position: relative;
    font-size: 16px;
    color: #fff;
    border-left: solid 4px var(--bs-border-color);
    text-indent: 9px;
    text-transform: capitalize;
    margin: 0.5rem;
    overflow: hidden
}

.game-category .list {
  overflow: hidden;
  margin: 0px 0px 0.5rem 0px;
}
.game-category .list a {
  font-size: 12px;
  float: left;
  color: #fff;
  box-shadow: -1px 1px 6px 0 rgba(0,0,0,.2);
  margin: 5px 12px 5px 0;
  padding: 3px;
  overflow: hidden;
  width: calc(48% - 12px);
  box-sizing: border-box
}

.game-category .list a:hover {
  color: var(--bs-border-color);
}

.game-category .list .item {
  width: 100%;
  height: 100%;
  float: inherit
}

.game-category .list .item img {
  height: 100%;
  width: 100%;
  border-radius: 10px
}

.game-category .list .name {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.3rem;
  height:  1.3rem;
  overflow: hidden;
  width: 100%
}
.game-category .list .name .text {
  float: left;
  text-align: center;
  overflow: hidden
}
.game-pc-main{
    min-height: 560px;
    max-height: 680px;
}
#showmore-button-content-detail{
    color:var(--bs-border-color);
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.detail-title span{font-size: 0.85rem; font-weight: normal;}
.detail-content{padding-bottom: 0.5rem;}
.detail-content a{color:var(--bs-border-color);}
.detail-content h2, .detail-content h3{ padding: 0.1rem 0rem 0.1rem 0.5rem;margin: 0.8rem 0; border-left: 3px solid var(--bs-border-color);}
.card-body{color: var(--bs-link-color);}

/*news*/
.news_list { height: 130px;
    background: var(--bs-body-bg);
    border-radius: 5px;
    padding:  0.4rem 0.5rem 0.5rem 0.3rem;
    margin: 0px auto 10px auto;
}
.news_list a{ text-decoration: none; color:var(--bs-link-color-white);}
.news_list .img{height: 100px; display: flex; align-items: center;justify-content: center; width: 150px ;float: left;margin: 0.3rem 0.0rem;}
.news_list img{ width: 140px; height: 100px;}
.news_list .info h3{ max-height: 38px; font-size: 1rem; font-weight: bold;    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow:hidden;word-break: break-all; }
.news_list .info h3:hover{color: var(--bs-border-color);}
.news_list .info p{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.content-detail {flex-wrap: wrap;box-sizing: border-box; }
.content-detail img {max-width: 100%;height: auto; display: table; vertical-align:middle;}
.content-detail figure{ }

/*login */
.page-login{
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 468px
}
.page-login-title h1 {text-align: center !important;}

.user-box-top{
  margin: 0 auto 0.7rem auto;
}
.user-bg{
    background-color: var(--bs-body-bg);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
}
.user-edit{float: right; }
.user-avatar {text-align: center; }
.user-avatar .change-avatar svg ,.user-edit svg{
    background-color:var(--bs-body-color);
    width: 40px;
    float: left;
    height: 40px;
    border-radius: 50%;
    padding: 4px;
}
.user-title{background:var(--bs-body-bg); padding: 0.4rem 1rem 0.4rem 4rem; margin-bottom: 1rem;}
.user-nav a{
    color:var(--bs-link-color-white); text-decoration: none;margin: 0 0.3rem;
}
.user-nav .nav-link.active,.user-nav .nav-link:hover{color:var(--bs-border-color) !important;}

.comment_list .comment_item{
    margin-bottom: 0.6rem;
    border-radius: 5px;
    padding: 0.1rem 0.1rem 0.3rem 0rem;
}
.comment_list .comment_item:nth-child(odd) {background-color: var(--bs-footer-bg);}
.comment_list .comment_user{width: 100px;padding-top: 5px; text-align: center;  float: left; }
.comment_list .comment_body{width: calc(100% - 100px);display: inline-block;padding: 0.2rem 0.2rem 0.3rem 0.2rem;}
.comment_list .comment_body p{ margin-bottom: 0.1rem;}
.comment_list .comment_user img ,.conmment_form .comment_face img{ border-radius: 50%; height: 55px;}
.conmment_form .comment_face{width: 110px;float: left; display: inline-block;}
.conmment_form .comment_textarea{float: left;display: inline-block;  width: calc(100% - 110px);}
.conmment_form .comment_button{margin:0.5rem 0px 0px 110px;}


.user-gold {margin: 1.2rem 1rem;}
.user-gold  >svg{height: 55px; width: 55px; display: flex; float: left;}
.user-gold  > .user-gold-num{height: 55px; line-height: 55px;}
.user-gold  > .user-gold-num span{font-size: 2.2rem;transition: transform 0.5s ease, color 0.5s ease; font-weight: bold;}
.user-gold  > .user-gold-num .coin:hover {
    transform: scale(1.2);
}



.user-gold-info h2{text-align: center;font-weight: bold;font-size: 2.6rem; line-height: 35px;}
.user-gold-info p{text-align: center;font-size: 1.2rem;}

.gift-list,.gift-game-list{
    background: var(--bs-body-bg);
    border-radius: 5px;
    padding: 0rem 0.0rem;
    margin-bottom: 15px;
}
.gift-list .price{padding: 0 0.5rem;}
.gift-game-list .active{
    opacity: 0.6;
    filter:grayscale();
}
.gift-game-list img{width: 100%;object-fit:cover;}
.gift-game-list a:hover{text-decoration: none;}
.gift-game-list .money-icon{height: 32px;line-height: 32px; font-size: 1.5rem; color: var(--bs-link-color-white); font-weight: 600; }
.gift-game-list .money-icon svg{ width: 25px;height: 25px;color: var(--bs-link-color-white);}

.rank_box{
    background: var(--bs-body-bg);
    border-radius:0.5rem;
    color:var(--bs-link-color);
}
.rank_box .left{
    --bs-border-color: var(--bs-gray-100);
}
.rank_box .left .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    color:var(--bs-border-bg);
    border-color: var(--bs-border-bg);
}
.rank_box .left a{
    color:var(--bs-link-color-white);
}
.rank_box .left a:hover,.rank_box #ranking_user ul li a:hover,.rank_box #ranking_user .nav-link:hover{
    color:var(--bs-border-bg);
}
.rank_box  #ranking_user ul  li{
    border-bottom: 1px #d9d9d9 dotted ;
}
.rank_box  #ranking_user ul  li:last-child{
    border-bottom: none;
}

footer{
    background-color:  var(--bs-footer-bg);
    color:var( --bs-link-color);
    text-align: center;
    opacity: 0.8;
}
footer a{
    color:var( --bs-link-color);
    margin: 1rem;
}

/*page*/
.pagination {
    gap: 0.2rem;justify-content: center;font-weight: bold;
}
.pagination li {
    margin: 0rem 0.11rem;
    transition: all 0.3s ease;
}
.pagination li a,.pagination li span {
    text-decoration: none;
    border-radius:var(--bs-pagination-border-radius);
    color: var(--bs-link-color);
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    background: var(--bs-body-bg);
    display: block;
}
.pagination li.active span,.pagination li a:hover {
    background: var(--bs-border-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.5rem 0.7rem;
    background: var(--bs-border-bg);
    color: white;
    border: none;
    border-radius: .3rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 9999;
}
#scroll-top:hover {
    opacity: 1;
}




@media only screen and (min-width: 480px) {
  .grid-list {
    grid-template-columns:2fr/1px;
  }
  .game-category .list a {
    width:calc((100% / 2) - 13px);
  }
    .grid-list{ grid-template-columns: repeat(auto-fill, minmax(100px, 2fr));}

}


@media only screen and (min-width: 576px) {
  .game-category .list a {
      width:calc(25% - 14px)
  }
    .grid-list{ grid-template-columns: repeat(auto-fill, minmax(110px, 2fr));}
}

@media only screen and (min-width: 768px) {
  .game-category .list .name .text {
      height: auto
  }
  .game-category .list .item {
      width: 100px;
      height: 100px;
      float: left
  }
  .game-category .list .name {
      height: 100px;
      width: calc(100% - 100px)
  }
    .grid-list{ grid-template-columns: repeat(auto-fill, minmax(125px, 2fr));}
    .user-avatar { border-right: 1px dashed var(--bs-link-color);}
}

@media only screen and (min-width: 992px) {
    .grid-list{ grid-template-columns: repeat(auto-fill, minmax(135px, 2fr));}
    .user-avatar { border-right: 1px dashed var(--bs-link-color);}
}

@media only screen and (min-width: 1400px) {
      .game-category .list a {
          width:calc((100% / 6) - 13px);
      }
    .grid-list{ grid-template-columns: repeat(auto-fill, minmax(150px, 2fr));}
    .user-avatar { border-right: 1px dashed var(--bs-link-color);}
}
