@charset "UTF-8";
/* 整個捲軸背景 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(107, 107, 107, 0.5); /* 半透明紫色 */
  border-radius: 6px;
  backdrop-filter: blur(5px); /* 毛玻璃效果 */
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(153, 153, 153, 0.8);
}

.header-right-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  /* 餘額 */
  /* 會員帳號頭像 */
}

/* header */
.header-bg {
  background: linear-gradient(to bottom, #380145 30%, rgba(40, 100, 163, 0));
}

.logo-box img {
  max-width: 250px;
  height: auto;
}

.header-right-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  /* 餘額 */
  /* 會員帳號頭像 */
}

.header-right-wrap .money-contener {
  position: relative;
  padding: 3px 20px 3px 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 30px;
  min-width: 150px;
  border: 1px solid #c3c3c3;
}

.header-right-wrap .money-contener img {
  position: absolute;
  width: 35px;
  left: -10px;
  top: -3px;
}

.header-right-wrap .money-contener .current-money {
  color: #fff;
}

.header-right-wrap .avatar-contener {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header-right-wrap .avatar-contener .head-img {
  position: relative;
}

.header-right-wrap .avatar-contener .head-img img {
  width: 100%;
  max-width: 50px;
  border-radius: 50%;
  border: 3px solid #fff;
}

.header-right-wrap .avatar-contener .head-img svg {
  display: none;
  border-radius: 50%;
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 3px;
}

.header-right-wrap .avatar-contener .account-txt {
  color: #fbb803;
}

.menu-item-txt {
  display: none;
}

.drop-down-account {
  display: none !important;
}

.language-dropdown button:focus, .language-dropdown button:focus-visible, .language-dropdown button:active, .language-dropdown button:hover {
  outline: none;
  box-shadow: none !important;
  border-color: transparent;
}

.language-dropdown .dropdown-menu {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border: 1px solid #4d4d4d;
}

.language-dropdown .dropdown-menu .dropdown-item {
  color: #fff;
}

.language-dropdown .dropdown-menu .dropdown-item:hover {
  color: #7228a3;
  border-radius: 5px;
}

.demo-btn {
  background: linear-gradient(90deg, #b78fd6, #b246e4, #8407e4, #b78fd6);
  background-size: 300% 100%;
  background-position: 0% 50%;
  border: 1px solid #e8d6f1;
  border-radius: 5px;
  color: rgb(255, 255, 255);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65);
  padding: 0.5rem;
  transition: background-position 0.5s ease;
  animation: breathing 2s ease-in-out infinite, shine 4s ease-in-out infinite;
}

@keyframes breathing {
  0%, 100% {
    transform: scale(1);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65), 0 0 10px rgba(204, 149, 245, 0.3);

  }
  50% {
    transform: scale(1.1);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65), 0 0 15px rgba(220, 186, 247, 0.8), 0 0 20px rgba(231, 180, 255, 0.6);
  }
}

@keyframes shine {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}

.demo-btn:hover {
  background-position: right center;
}

.banner-wrap {
  margin-top: 50px;
  z-index: 1;
}

.page-section {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-record-blanck {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 1rem 0 1rem;
}

/* 遊戲搜尋 */
.game-search {
  width: 40%;
  position: relative;
}

.game-search .search-blanck {
  width: 100%;
  height: 40px;
  border: 1px solid #6e00ff;
  border-radius: 10px;
  padding: 5px 40px;
}

.game-search .search-blanck:focus {
  outline: none;
  box-shadow: inset 0 0 8px rgba(40, 100, 163, 0.3);
}

.game-search svg {
  position: absolute;
  left: 10px;
  top: 30%;
}

/* 遊戲紀錄彈窗 */
.game-record-btn {
  float: right;
  background: none;
  border: 1px solid #a32893;
  border-radius: 10px;
  padding: 8px 20px;
  color: #a32893;
  font-weight: 600;
}

.game-record-btn:hover {
  box-shadow: 0 0 8px rgba(40, 100, 163, 0.5);
  background: #a32893;
  border: 1px solid #a32893;
}

.modal-header .btn-close {
  margin: 0;
  width: 2rem;
  height: 2rem;
}

.modal-header .btn-close:focus {
  box-shadow: none;
}

.modal-body {
  padding-bottom: 0;
}

.modal-body .table {
  width: 100%;
  font-size: 0.8rem;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.modal-body .table .green-text {
  color: #148d75;
}

.modal-body .table .red-text {
  color: #c93333;
}

.modal-body thead tr:hover {
  background: none;
}

.modal-body tr:hover {
  background: #dee2e6;
}

.page-choose {
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.page-choose .page-link {
  color: #7f7f7f;
}

.page-choose .page-link:focus {
  box-shadow: none;
}

.page-choose .page-back {
  background: #7f7f7f;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 5px;
}

.page-choose .page-back a {
  display: flex;
}

.page-choose .page-back svg {
  transform: rotate(180deg);
}

.page-choose .page-next {
  background: #7f7f7f;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-left: 5px;
  cursor: pointer;
}

.page-choose .page-next:hover {
  background: #6e00ff;
}

.page-choose .page-next a {
  display: flex;
}

.page-choose .page-link {
  border: none;
  background: none;
}

.page-choose .page-link:hover {
  color: #6e00ff;
}

.page-choose .disabled {
  background: #b5b5b5;
}

.page-choose .focus-page a {
  color: #6e00ff;
}

.is-settled-icon{
  max-width: 25px;
  max-height: 25px;
}

/* 遊戲區 */
.hotGame-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hotGame-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 20px 0 20px 0;
}

.hotGame-title .fa-fire {
  max-width: 30px;
  height: 100%;
  margin-right: 10px;
  color: #f93928;
  margin-bottom: 30px;
}
.hotGame-title svg{
  fill:  #380145;
}

.game-list-wrap {
  display: inline-flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: start;
  width: 100%;
  margin-bottom: 100px;
}

.game-container {
  flex: 1 1 calc((100% - 48px) / 4);
  width: 100%;
  max-width: 280px;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-container .game-name {
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.game-container:hover .game-icon img {
  filter: blur(5px);
}

.game-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

/* hover */
.game-container:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

.play-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  gap: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  width: 60%;
}

.play-btn-wrap .play-btn {
  border: 1px solid #a32893;
  background: #a32893;
  border-radius: 10px;
  padding: 3px 10px;
  width: 100%;
  height: 45px;
  color: #fff;
}

.play-btn-wrap .play-btn:hover {
  background: #c44bb4;
  border: 1px solid #a32893;
}

.play-btn-wrap .demo-btn {
  background: none;
  width: 100%;
  height: 100%;
  height: 40px;
  border: 1px solid #fff;
  color: #fff;
}

.play-btn-wrap .demo-btn:hover {
  color: #ffb200;
  border: 1px solid #ffb200;
  background: none;
}

.game-container:hover .play-btn-wrap {
  opacity: 1;
  visibility: visible;
}

footer {
position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 999;
}
.page-container {
	position: relative;
	margin-bottom: 72px;
  
}
/* 維護中 */
.maintenance-txt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  z-index: 10;
  text-align: center;
}

@media screen and (max-width: 1200px) {
  .game-list-wrap {
    margin: 0.5rem auto;
    box-sizing: border-box;
    max-width: 887px;
    margin-bottom: 70px;
  }
  .game-container{
    flex: 1 1 calc((100% - 32px) / 3);
  }
}

@media screen and (max-width: 991px) {
  .container {
    max-width: 990px !important;
  }
  .header-bg{
    padding: 1rem;
  }
  .navbar-toggler {
    outline: none;
    border: 2px solid transparent;
  }
  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
  }
  .navbar-toggler:focus:not(:focus-visible) {
    outline: none;
  }
  .collapse-menu {
    position: relative;
  }
  .collapse-menu button {
    padding: 5px 5px !important;
  }
  .collapse-menu .navbar-collapse {
    position: absolute;
    top: 110%;
    right: 30%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    min-width: 250px;
  }
  .language-dropdown button {
    padding: 10px 0;
  }
  .menu-item-txt {
    display: block;
    white-space: nowrap;
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    margin-left: 5px;
    text-transform: uppercase;
  }
  .log-out-btn a {
    padding-left: 10px !important;
  }
}

@media screen and (max-width: 768px) {
  .page-container {
    flex-direction: column;
    align-items: center;
  }
  .page-section {
    padding: 3rem 0;
  }
  .page-section .search-record-blanck {
    margin-top: 0.2rem;
  }
  .logo-box {
    width: 180px;
  }
  .logo-box img {
    width: 100%;
  }
  .header-right-wrap .money-contener {
    min-width: 120px;
    padding: 2px 20px 2px 30px;
  }
  .header-right-wrap .money-contener img {
    width: 30px;
    left: -5px;
    top: -1px;
  }
  .header-right-wrap .money-contener .current-money {
    font-size: 0.85rem;
  }
  .avatar-contener .account-txt {
    font-size: 0.8rem;
  }
  .banner-wrap {
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
  }
  .banner-wrap img {
    height: 200px;
    object-fit: cover;
  }
  .game-container .game-name {
    padding: 20px 5px;
    font-size: 0.75rem;
  }
  .play-btn-wrap {
    gap: 10px;
  }
  .play-btn-wrap .play-now-txt {
    display: none;
  }
  .play-btn-wrap .play-btn {
    height: 35px;
  }
  .play-btn-wrap .game-name {
    padding: 0;
    font-size: 1rem;
  }
  .maintenance-txt {
    font-size: 1.2rem;
  }
  .game-record-table {
    max-width: 800px;
    width: 100%;
  }
  .game-record-table .table {
    margin: 20px auto;
    width: 90%;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .game-record-table .table .win-text {
    color: #148d75;
  }
  .game-record-table .table .lose-text {
    color: #c93333;
  }
  .game-list-wrap{
    padding: 11px;
  }
}

@media screen and (max-width: 576px) {
  .logo-box {
    display: block;
    width: 150px;
  }
  .logo-box img {
    width: 130px;
    height: auto;
  }
  .header-right-wrap {
    gap: 5px;
  }
  .header-right-wrap .money-contener {
    padding: 0px 20px 0px 25px;
    min-width: 100px;
  }
  .header-right-wrap .money-contener img {
    width: 28px;
    left: -5px;
    top: -1px;
  }
  .header-right-wrap .money-contener .current-money {
    font-size: 0.75rem;
  }
  .head-img img {
    max-width: 40px;
  }
  .head-img svg {
    padding: 3px;
  }
  .collapse-menu button {
    padding: 5px 5px !important;
  }
  .drop-down-account {
    display: block !important;
    color: #fbb803;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedede;
    font-size: 0.9rem;
  }
  .avatar-contener .account-txt {
    display: none;
  }
  .menu-item-txt {
    font-size: 0.8rem;
  }
  .language-dropdown button {
    padding: 10px 0;
  }
  .page-section {
    padding-top: 0.5rem;
  }
  .hotGame-title {
    margin: 0 0.5rem 0;
  }
  .hotGame-title svg {
    width: 40px;
  }
  .hotGame-title .page-section-heading {
    font-size: 2rem;
  }
  .game-search {
    width: 45%;
  }
  .game-search .search-blanck {
    height: 35px;
    padding: 5px 20px 5px 35px;
  }
  .game-search svg {
    top: 25%;
  }
  .game-record-btn {
    padding: 5px 15px;
    font-size: 0.9rem;
  }
  .game-list-wrap {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 50px;
    gap: 10px;
  }
  .game-container {
    flex: 0 0 calc(50% - 30px);
    min-width: calc(50% - 10px);
  }
  .game-list-wrap:only-child .game-container {
    grid-column: span 4;
  }
  .game-container .game-name {
    height: 60px;
    padding: 10px;
    white-space: normal;
  }
  .game-container .game-name span {
    white-space: normal;
    text-overflow: ellipsis;
    display: inline-block;
  }
  .card-view-title{
	  min-width: 38% !important;
  }
  .demo-btn {
  padding: 0.4rem;
  font-size: 0.8rem;
  }
}
/* 用戶協議 */
.title-li{
    list-style-type:decimal;
    padding-left: 1rem;
}
.game-notice .modal-content{
  background-color: rgba(0, 0, 0, 0.6);
      box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.5rem;
  max-height: 80vh;
}
.game-notice .modal-header{
    justify-content: center;
    border-bottom: none;
}
.game-notice .modal-header h5{
  font-size: 24px;
}
.game-notice .text-block h6{
  font-size: 18px;
  color: #d49ce0;
}
.game-notice .modal-footer{
  justify-content: center;
  border-top: none;
}
.game-notice .modal-footer button{
  padding: 0.5rem 3rem;
  background:  linear-gradient(to bottom, #c741df, #6811af);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
  border: none;
}
.game-notice .modal-footer button:active ,.game-notice .modal-footer button:hover{
  background:  linear-gradient(to bottom, #de73f1, #862dce);
}
.game-notice-content{
  max-height: 500px;
  overflow-y: auto;
  background: #000;
  border-radius: 5px;
}

.game-notice  .form-check-input {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
}