@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;
}

*,*::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%)
}
.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");
}

#search-form{position: relative;}
#search-form input{
  border:1px solid var(--bs-body-bg);
  border-radius: 20px;
  color: var(--bs-link-color-white);
}
#search-form input:focus {
  border:1px solid var(--bs-link-color-white);
}
#search-form input::placeholder{color:var(--bs-link-color-white)} 
#search-form .search-btn{
  position: absolute;
  right: 5px;
}
#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{ }
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));}
}

@media only screen and (min-width: 992px) {
    .grid-list{ grid-template-columns: repeat(auto-fill, minmax(135px, 2fr));}
}

@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));}
}
