/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  color: #424242;
  background: #fff;
}
main {
  margin-top: 86px;
  background: linear-gradient(135deg, #f8f7f4, #f7f2f0, #ece7de);
  background: url(../images/bg_200.png.webp) #ece7de;
}

a {
  text-decoration: none;
  color: #4b4439;
  cursor: pointer;
}

a:hover {
  color: #000;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans TC', sans-serif;
  /* font-family: 'cwTeXYen','Bebas Neue', sans-serif; */
  font-weight: 600;
}
h2 span.en-title{ 
  color: #424242; 
  font-size: 50%; 
  font-weight: normal;
}
.text-right{
  text-align: right;
}
.small, small {
  font-size: 50%;
}
.button, a#submitBtn2{
  color: #fff !important;
  text-transform: uppercase;
  background: #DC5D10;
  padding: 6px 20px;
  border: 2px solid #DC5D10;
  min-width: 100px;
}
.button:hover, a#submitBtn2:hover {
  color: #240037;
}
@media screen and (max-width: 768px) {
  h2 span.min-title{
    display: none;
  }
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #775a2c;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #FCEDD9;
  line-height: 0;
}

.back-to-top:hover {
  background: #997600;
  color: #FCEDD9;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .back-to-top{
    bottom: 100px;
  }
}
/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: .4s !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 85px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
  box-shadow: 0 4px 10px -3px #c6c6c6;
}
#header .logo a span{
  font-size: 28px;
  margin-left: 12px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  font-family: "cwTeXYen", sans-serif;
}
#header .logo{
  text-align: center;
}
#header .logo img {
  padding: 0;
  max-height: 65px;
}
.heard-top{
  padding: 0.5rem;
}
.heard-top h2{
  /* font-size: 24px; */
  font-weight: 900;
  padding: 8px;
  text-align: center;
  color: transparent;
}
.scrolled-offset {
  margin-top: 90px;
}
@media (max-width: 1410px) {
  #header .logo a span{
    font-size: 24px;
  }
}
@media (max-width: 1199px) {
  #header {
    height: 70px;}
  #header .logo img {
    margin: auto;
    padding-top: 6px;
  }
  #header .logo{
    flex: none;
  }
}
@media (max-width: 767px) {
  main{
    margin-top: 70px;
    padding-bottom: 70px;
  }
  #header {
    height: 70px;
  }
  #header .logo img {
    max-height: 60px;
    padding: 6px;
  }
  .scrolled-offset {
    margin-top: 0px;
  }
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar-bg {
  padding: 0;
  background: #fff;
  background: linear-gradient(180deg, #ffffff 80%, #c6c6c6 100%);
  color: #333;
  display: flex;
  align-items: center;
  height: 85px;
}
.navbar {
  padding: 0;
  margin: auto;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #000;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.3s;
  height: 85px;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #fec300;
}
.navbar a span{
  color: #FFF;
  font-size: 12px;
  display: none;
}

.btn-login span, .btn-register span{
  font-size: .8em !important;
  color: #21252994;
  display: none !important;
}
.btn-login {
  color: #fff !important;
  background: #d8a338;
  background: radial-gradient(100% 100% at 50% 0,#efff00 0,#d8a338 44%,#df9a00 100%);
  box-shadow: 0 5px 20px 0 rgba(0,0,0,.49);
  padding: 6px 20px;
  border-right: 0;
  width: 100px;
  height: 85px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-register {
  background: #aa0212;
  background: radial-gradient(100% 100% at 50% 0, #dc3545 0, #aa0212 44%, #5f0000 100%);
  box-shadow: 0 5px 20px 0 rgba(0,0,0,.49);
  color: #fff !important;
  padding: 6px 20px;
  width: 100px;
  height: 85px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-login:hover{
  color: #fff !important;
  background: radial-gradient(100% 100% at 50% 0, #efff00 0, #d8a338 44%, #b98000 100%);
  transform: scale(1.025);
}
.btn-register:hover {
  color: #ffffff !important;
  background: radial-gradient(100% 100% at 50% 0, #dc3545 0, #b00011 44%, #740000 100%);
  transform: scale(1.025);
  /* box-shadow: 0 5px 20px 0 rgb(255 193 7 / 50%); */
}
.btn-icon {
  max-width: 40px;
  max-height: 40px;
  padding: 4px;
}
/* Header登入資訊----------------- */
.u-login{
    padding: 6px 12px;
    width: 230px;
    height: 85px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.u-login .u-info{
  padding: 0 6px;
  display: flex; 
  flex-direction: column;
}
.uuid, .uucash{
  width: 128px;
  margin: 2px 0px;
  display: flex;
  overflow: hidden;
}
.u-login .link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.u-login .btn-tsfr, .u-login .btn-dpst,
.u-login .btn-tsfr:hover, .u-login .btn-dpst:hover, 
.u-login .btn-tsfr:focus, .u-login .btn-dpst:focus{
    font-size: 14px !important;
    height: 32px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    border-radius: 24px;
    margin: 2px;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}
@media (max-width: 990px) {
  .btn-login, .btn-register{
    width: 200px;
    font-size: 2rem !important;
    display: flex !important;
    flex-direction: row !important;
    align-content: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .btn-sm {
    width: 80px;
    height: 30px;
    padding: 6px 15px;
    font-size: 10px !important;
    border-radius: 20px;
    margin: 0;
  }
  .btn-login{ border-radius: 20px 0 0 20px; }
  .btn-register{ border-radius: 0 20px 20px 0; }
  .btn-icon {
    max-width: 30px;
    max-height: 28px;
    padding: 2px 5px;
  }
}
/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  background: #d8a338;
  padding: 20px;
  margin: -12px;
}

.mobile-nav-toggle.bi-x {
  color: #e1cd9b;
  background: transparent;
}

@media (max-width: 991px) {
  .navbar {
    padding: 12px 0;
    margin: 0;
  }
  .navbar-bg{
    padding: 0 !important;
        height: 70px;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
  .navbar a, .navbar a:focus {
    display: flex;
    flex-direction: row;
    justify-content:center;
  }
  .navbar a span{ margin-left: .8rem;}
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgb(81 67 56 / 90%);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile::before{
  content: '';
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 30%);
  opacity: 0.6;
  margin-top: -25px;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 1.5rem;
  font-weight: normal;
  font-family: 'Bebas Neue';
  color: #fff;
}

.navbar-mobile a:after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 1px;
  background: #fff;
  opacity: .4;
}

header nav.mainNav .border-link:after {
  width: 20px;
  height: 1px;
  background: #fff;
  opacity: 0.4;
  left: 50%;
  top: -14px;
  margin-left: -10px;
}
.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #f44336;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
}
.section-bg {
  background-color: #000
}
.section-title {
  text-align: center;
  padding-bottom: 40px;
}
.section-title h2 {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 0;
  line-height: 33px;
}
.section-title h2 small{
  color: #d3b17b;
}
.section-title p {
  margin-bottom: 0;
  color: #333;
}
@media (max-width: 768px) {
  .section-title {
    padding-bottom: 20px;
  }
}
/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 0;
}
.testimonials .swiper-container{
  overflow:hidden;
}
.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
  border-radius: 45px;
  overflow: hidden;
  margin: 12px 0px;
}

.testimonials .testimonial-title {
  position: absolute;
  left: 25%;
  top: 25%;
  transform: rotate(-4deg);
  -webkit-filter: drop-shadow(12px 12px 7px rgba(0, 0, 0, 0.7));
  filter: drop-shadow(12px 12px 7px rgba(0, 0, 0, 0.7));
  display:none;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 7rem;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
  background-image: linear-gradient(180deg,#ffffff 20%,#f3efb3 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.testimonials .testimonial-item h4 {
  font-size: 4rem;
  color: #ddd;
  margin: 0 0 15px 0;
  background-image: linear-gradient(180deg,#ffffff 20%,#f3efb3 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 600;
}

.testimonials .swiper-pagination {
  margin-top: 0;
  position: absolute;
  bottom: 5%;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  background: hwb(0deg 100% 0% / 70%);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: hwb(0deg 100% 0% / 100%);
  box-shadow: 0px 0px 4px 3px #fdb548;
}

@media (max-width: 768px) {
  .testimonials {
    background: transparent;
  }
  .testimonials .testimonial-item .testimonial-img {
    overflow: hidden;
  }
  .testimonials .testimonial-item {
    border-radius: 25px;
    overflow: hidden;
    margin: 5px 0px;
  }
  .testimonials .testimonial-item p {
    width: 80%;
  }
  .testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

/*--------------------------------------------------------------
# m-side-menu
--------------------------------------------------------------*/
.testimonials-game {
  padding: 0;
  margin-bottom: 16px;
}
.testimonials-game .container-fluid{
  padding: 0;
}
.testimonials-game img{
  width: 100%;
}
.GameNav {
  padding: 12px;
  width: 100%;
}
.GameNav .nav {
  max-width: 80%;
  margin: auto;
  background: #b1a696;
  background: linear-gradient(0deg, #e5dacb 20%, #fff7eb 70%, #e6d2b6 100%);
  border-radius: 60px;
  box-shadow: 0px 4px 0px rgb(177 177 177 / 45%);
  overflow: hidden;
  justify-content: center;
}
.GameNav li.nav-item{
  text-align: center;
  display: contents;
}
.GameNav .color .img{
  width: 105px;
  overflow: hidden;
  margin: auto;
  margin-bottom: 6px;
  margin-top: 10px;
}
.GameNav picture{
  display: block;
  margin: 10px auto 2px auto;
}
.GameNav img{
  max-width: 100%;
  height: 60px;
}
.nav-pills .nav-link {
  border-radius: 0;
  color: #ffffff;
  padding: 20px 0px 0px 0px;
}
.GameNav .nav-link {
  color: #000;
  padding: 0;
  padding-bottom: 6px;
  text-align: center;

}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
  background-color: transparent;
}
.GameNav .nav-link.color.active{
  color: #000;
  font-weight: 600;
  display: block;
  filter: none;
  border-bottom: 4px solid #c3a064;
}
/* .notrans{
  display: none;
} */
@media (max-width: 1024px) {
  .GameNav .color .img{
    width: 77px;
    height: 50px;
  }
}
@media (max-width: 660px) {
  .game-tab-content {
    min-height: 60vh;
    width: 80%;
    float: right;
    padding-top: 12px;
  }  
  .GameNav {
    width: 20%;
    float: left;
    padding: 0;
  }
  .GameNav .container{ padding-right: 0; }
  .GameNav .nav {
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .GameNav .color .img {
    width: 30px;  
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    margin: auto;
  }
  .GameNav picture, .GameNav img{
    max-width: 28px;
    height: auto;
    max-height: 100%;
  }
  .GameNav .nav-link {
        font-size: .8em;
        color: #734d03;
        width: 70px;
        height: 70px;
        border-radius: 6px;
        padding: 3px;
        border: 1px solid #d8a338;
        border-bottom: 4px solid #d8a338;
        background: #e4dacb;
        background: linear-gradient(180deg, #ffe4be 20%, #c3a064 70%, #ffdbab 100%);
        margin-bottom: 6px;
        filter: grayscale(20%) brightness(100%);
        -webkit-filter: grayscale(20%) brightness(100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
}
  .GameNav .nav-link.color.active{
        filter: grayscale(0%) brightness(110%);
        -webkit-filter: grayscale(0%) brightness(110%);
        text-shadow:0 0 2px #d8a338;
        display: flex;
        align-items: center;
}
  .GameNav li.nav-item span{
    display: none;
  }
}
@media (max-width: 414px){
    .GameNav {
      width: 100%;
      float: none;
      padding: 0;
    }
    .game-tab-content{
      width: 100%;
    }
    .GameNav .nav-link{
      flex-direction: column !important;
    }
    .GameNav .nav {
        min-width: 100%;
        max-width: none;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow-x: auto;
        display: flex;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 12px 16px;
        flex-direction: row;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }
    .GameNav li.nav-item {
      text-align: center;
      display: inline-block;
      scroll-snap-align: start;
    }
    /* .notrans{
      width: 50px; 
      height: 50px; 
      right: 14px; 
      position: absolute; 
      margin: 0px 0px 62px 0px;
      display: block;
    } */
  }
  

/* 2. 設定圖片樣式：預設顯示並定位在右上角 .gamesBox.action-game.action-game-50  */
.notrans {
    display: none; 
    position: absolute;   /* 絕對定位 */
    /* top: 0; */
    right: 14px; 
    z-index: 10;          /* 確保在最上層 (視情況調整數字) */
    width: 50px; 
    height: 50px; 
    
}
.notrans_bg{
    background: url(/assets/www/images/game/notrns_bg.png.webp) no-repeat !important;
    background-size: 50px !important;
    background-position: right top !important;
}

/* 3. 媒體查詢：當螢幕寬度在 1024px (含) 以下時隱藏圖片.gamesBox.action-game.action-game-50 */
@media screen and (max-width: 1024px) {
    .action-game-100 .notrans {
      display: block !important;       /* 確保圖片顯示 */
      margin: 0px 0px 64px 0px;
    }
    .action-game-50 .notrans {
      display: block !important;       /* 確保圖片顯示 */
      margin: -3px 0px 64px 0px !important;
    }
}
/*--------------------------------------------------------------
# userwallet
--------------------------------------------------------------*/
    section.Wbody {
      padding-top: 20px;
      font-size: 14px;
    }
    .Wbody_box{
        width: calc(80% - 1.75rem);
        max-width: 100%;
        outline: none;
        border: none;
        border-radius: .5rem;
        position: relative;
        z-index: 1;
        overflow: hidden;
        box-shadow: 0 2px 6px #c3a0646b, inset 0 -3px #c3a064;
        background: #fff8ed;
        display: flex;
        flex-direction: row;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
        margin: auto;
    }
    .Wbody_box img{width: 24px; height: 24px;}
    .Wbody_box .userwallet{
      width: 100%;
      display: flex;    
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
  }
  .u-cone, .u-conWbtn {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
  }
  .u-cone { width: 80%; }
  .u-conWbtn{ width: 20%; }
  .usname {
    width: 100%;
    font-weight: bold;
    padding: 6px 0;
  }
  .Wbtn{
      width: 50% !important;
      display: flex;
      width: 80px;
      height: 32px;
      border-radius: 10px;
      border: solid #d8a338;
      padding: 4px;
      text-align: center;
      font-size: .8em;
      color: #fff !important;
      align-items: center;
      justify-content: center;
      margin: 2px;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      -ms-border-radius: 10px;
      -o-border-radius: 10px;
}
  .btn-dpst {
      background: #380076;
      background: linear-gradient(180deg, #9349e5,#380076);
      border: solid #9349e5;
      margin-top: -4px;
      height: 38px;
  }
  .btn-tsfr{
    background: #f86b16;
    background: linear-gradient(180deg, #f86b16, #ac4000);
    border: 1px solid #ff5f00;
      margin-top: -4px;
      height: 38px;
  }
  .Wbtn img{
    width: 20px; height: 20px;
    margin-right: 4px;
  }
  .Wbtn.btn-luckycash {
    width: 100% !important;
    background: #a500b3;
    background: linear-gradient(180deg, #ea5ef9, #a500b3);
    border: 1px solid #d946e7;
  }

  .Wbody_box{
    width: calc(100% - 1.75rem);
    max-width: 100%;
    outline: none;
    border: none;
    border-radius: .5rem;
    padding: .375rem .625rem .5rem;
    margin: 0 .875rem .5rem;
  }
  section.Wbody {
      padding-top: 10px;
  }
  .u-cone, .u-conWbtn {
    width: 50%;
  }

/*--------------------------------------------------------------
# index-about
--------------------------------------------------------------*/
.index-about {
  background: url(../images/home/about_bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  letter-spacing: 1px;
  line-height: 2;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.index-about .section-title h2{
  font-size: 6em;
  text-align: left;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0px 0px 5px rgba(7, 66, 255, 0.4);
}
.index-about .btn-more {
  margin-top: 40px;
  width: 100%;
  height: 60px;
  background: #fdc932;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #021d3c;
  font-weight: 600;
  box-shadow: 0 5px 20px 0 rgb(255 193 7 / 50%);
  transition: 0.3s;
}
.index-about .btn-more:hover{
  box-shadow: 0 5px 20px 0 rgb(255 193 7 / 100%);
}
@media (max-width: 991px) {
  .index-about {
    height: 43vh;
    display: flex;
    align-content: flex-end;
    align-items: center;
    padding: 0 20px;
  }
  .index-about .section-title h2{
    font-size: 3em;
  }
}
@media (max-width: 450px) {
  .index-about {
    height: 90vh;
    justify-content: center;
  }
  .index-about .section-title h2{
    text-align: center;
  }
}

/*--------------------------------------------------------------
# INDEX-SERVICE
--------------------------------------------------------------*/
.index-service{
  padding: 120px 20px;
}
.index-service .container{
  max-width: 1216px;
}
.index-service .section-title{ 
  font-size: 1.2em;
}
.index-service .section-title span {
  color: #424242;
  font-size: medium;
}
.index-service .section-title h2 small {
  color: rgb(255 255 255 / 50%);
}
.index-service .serv {
  padding: 10px 10px;
  background: linear-gradient(139deg, #fffbf5 20%, #f7e5d0 70%, #fae7ce 100%);
  background-size: contain;
  height: 450px;
  border-radius: 20px;
  box-shadow: 0 0 11px 3px #775a2c54;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 0 8px #987200;
}
.index-service .serv.serv-1{ background-image: url(../images/home/a1.png.webp);}
.index-service .serv.serv-2{ background-image: url(../images/home/a4.png.webp);}
.index-service .serv.serv-3{ background-image: url(../images/home/a3.png.webp);}
.index-service .serv.serv-4{ background-image: url(../images/home/a2.png.webp);}
.blur-bg{
    backdrop-filter: blur(2px);
    background-color: #9670001f;
    border-radius: 20px;
    width: 100%;
    height: 450px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.index-service .section-title h2{
  color: #424242;
}
.index-service .serv h4{
  color: #fff;
  font-weight: 600;
}
.index-service .serv .section-title span{
  color: #fff !important;
}
.index-service .leading-loose{
  height: 35%;
}
@media (max-width: 991px) {
  .index-service .serv {
    height: 330px;
    margin-bottom: 20px;
  }
  .blur-bg{ height: 330px;}
}
/*--------------------------------------------------------------
# FEATURED GAMES
--------------------------------------------------------------*/
section.dm {
    background: linear-gradient(180deg, #ffe4be8f 10%, #ffffff00 40%, #ffffff00 73%, #ffe4be66 90%, #c3a06475 100%);
    padding: 120px 0;
}
.dm-qrbox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 60px auto;
}
.dm-qr img{
  border-radius: 20px;
}
.dm-qr {
    width: 40%;
    overflow: hidden;
}
img.qr-app{
  width: 200px;
}
.qr-applink{
    margin-top: 10px;
    width: 200px;
}
/*--------------------------------------------------------------
# FEATURED GAMES
--------------------------------------------------------------*/
.featured {
  padding: 80px 0;
}
.carousel {
  /* background: #EEE; */
}
.carousel-cell {
  width: 28%;
  /* height: 200px; */
  margin-right: 10px;
  border-radius: 5px;
  counter-increment: carousel-cell;
}
.carousel-cell {
  width: 22%;
  height: 480px;
  border: 1px solid #d8a338;
  padding: 20px 20px;
  margin-right: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  counter-increment: carousel-cell;
}
.carousel-cell.is-selected {
  border: 1px solid #d8a338;
}

.carousel-cell img {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 200px;
}
.carousel-cell:hover img {
  transform: translate3d(0px, -4px, 14px) rotate(0deg) scale(1.1, 1.1);
  transition-duration: 2s;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.carousel-cell .leading-loose{
  padding: 20px 0;
  font-size: 1em;
  color: #555;
  height: 40%;
  overflow: scroll;
}
.carousel-cell .game-info{
  display: flex !important;
  justify-content: center;
}
.carousel-cell .game-info div{
  width: 33.33%;
  color: #a5a5a5;
}
.carousel-cell .game-info div span{
  color: #d8a338;
  font-weight: bold;
}
.carousel-cell .game-info hr{
  display: block;
  height: 32px;
  border-right: 1px solid rgba(62, 62, 62, .2);
}
.gamemore{
  text-align: center;
  padding: 50px 0;
  display: flex;
  justify-content: center;
}
.btn-gamemore {
  display: block;
  width: 400px;
  padding: 14px;
  color: #fff;
  background: #d8a338;
  border: 2px solid #d8a338;
  border-radius: 10px;
  text-align: center;
  transition: all .4s;
}
.btn-gamemore:hover {
  color: #d8a338;
  background: transparent;
  border: 2px solid #d8a338;
}

@media (max-width: 768px) {
  .carousel-cell {
    width: 75%;
    height: 500px;
  }
}
@media (max-width: 450px) {
  .carousel-cell {
    width: 75%;
    height: 450px;
  }
}

/*--------------------------------------------------------------
# HotGame
--------------------------------------------------------------*/
.hotGame .nav-pills .nav-link.active, .hotGame .nav-pills .show>.nav-link {
  color: #d8a338;
  background-color: transparent;
  border-bottom: 4px solid #d8a338;
  padding: 5px 0;
}
.hotGame .nav-pills .nav-link{
  color: #333;
  border-bottom: 4px solid transparent;
  padding: 5px 0;
}
.hotGame .nav {
  justify-content: space-around;
  border-bottom: solid 1px #d8a338;
  margin-bottom: 10px;
}
.hotG-list{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
.h-link {
    width: 15%;
}
.h-link-twice{
  display: flex;
  width: 30%;
}
.h-image {
    aspect-ratio: 1 / 1;
    margin: 4px;
    background: url(../images/game/banner_planet2.png.webp) #cdcdcd;
    background-position: center;
    border: 2px solid #843c6054;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}
.h-image img{
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
@media (max-width: 960px) {
  .tab-content .container{
    max-width: 430px;
  }
  .h-link{
    width: 33.33%;
  }
  .h-link-50{
    width: 66.66%;
  }
  .h-link-twice{
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 660px) {
  .hotGame .tab-content {
      min-height: 60vh;
      width: 100%;
      float: inherit;
      padding-top: 12px;
  }
  .hotGame .nav {
    margin-bottom: 5px;
  }
}
/*--------------------------------------------------------------
# fishgames
--------------------------------------------------------------*/
.slotGames {
    padding-top: 20px;
    padding-bottom: 60px;
}
.brandtxt {
  position: absolute;
  color: #fff;
  background: #003879;
  padding: 0px 10px;
  font-size: 12px;
  border-radius: 20px 0 6px 0px;
  margin: 4px;
}
.brandtxt.be{
  background: #ff0000;
}
.brandtxt.rsg{
  background: #ff7b00;
}
.brandtxt.zg{
  background: #009b17;
}
.brandtxt.fc{
  background: #a48600;
}
.brandtxt.db{
  background: #003879;
}
.brandtxt.sp{
  background: #943399;
}
.brandtxt.qt{
  background: #600000;
}
@media (max-width: 768px) {
      .slotGames {
        padding-top: 0px;
        padding-bottom: 60px;
    }
    .brandtxt {
      position: absolute;
      background: #346d99;
      padding: 0px 10px;
      font-size: 12px;
      border-radius: 20px 0 6px 0px;
      margin: 4px;
    }
}
/*--------------------------------------------------------------
# BrandGame
--------------------------------------------------------------*/
.game-tab-content .BrandGame{
  padding-bottom: 0;
}
/* #casino .BrandGame{ max-height: 75vh; } */
.game-tab-content .BrandGame .container{
  display: flex;
}
.game-tab-content .BrandGame .section-title h2{
  font-size: 6em;
  font-weight: 900;
  line-height: 1em;
  text-align: left;
  margin-bottom: 4px;
  color: #392f1a78; /* 半透明白色文字 */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); /* 柔光暈 */
}
.game-tab-content .BrandGame .md_games {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10% 5%;
    text-align: left;
}
.game-tab-content .BrandGame .md_img{
  width: 50%;
  align-content: flex-end;
}

.BrandGame .games{
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
}
.BrandGame .games .gamesBox{
  height: 200px;
}
.BrandGame .BrandName {
    text-align: center;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    position: relative;
    bottom: 41px;
}
.BrandGame .gamesBox--button {
    width: max-content;
    /* position: relative; */
    margin: auto;
    background: #ffc60d;
    border-radius: 20px;
    border: 0px solid #fff;
    padding: 0px 10px;
    font-size: small;
    font-weight: 400;
    /* bottom: 63px; */
}
.gamesBox--button.gamesBox--button-none{
  opacity: 0;
}
.BrandGame .gamesBox--button span{
  display: none;
}
.BrandGame .games .gamesBox--logo{
    background: linear-gradient(139deg, #ffe4be 20%, #c3a064 70%, #ffdbab 100%);
    background-size: cover;
    box-shadow: 0 20px 30px -20px #b1a696;
    padding: 10px;
    margin: 6px;
    display: flex;
    align-items: center; 
    align-content: center;  
    justify-content: center; 
    width: 120px; 
    height: 140px; 
    clip-path: polygon(
      50% 0%,     /* 上尖角 */
      100% 25%,   /* 右上角 */
      100% 75%,   /* 右下角 */
      50% 100%,   /* 下尖角 */
      0% 75%,     /* 左下角 */
      0% 25%      /* 左上角 */
    );
    transition: all 0.3s ease;
}
.BrandGame .games .gamesBox--image {

}
.BrandGame .action-game a{
    text-align: center;
  }
.BrandGame .games .gamesBox--logo img{
    max-height: 65px;
    max-width: 80px;
} 
@media (max-width: 1399px){
  .game-tab-content .BrandGame .md_games {
    padding: 60px 0;
  }
}
@media (max-width: 991px){
  .game-tab-content .BrandGame {
    padding-bottom: 40px;
  }
  .game-tab-content .BrandGame .container {
    max-width: 430px;
  }
  .action-game{
      background: #e4dacb;
      background: linear-gradient(180deg, #ffe4be 20%, #c3a064 70%, #ffdbab 100%);
      box-shadow: 0 20px 30px -20px #222;
      border: solid 1px #cfc5b1;
      margin: 1%;
      height: 130px !important;
      overflow: hidden;
  }
    .action-game.action-game-100{
      width: 100% !important;
    }
    .action-game.action-game-100 a{
      display: flex;
        align-items: center;
        justify-content: space-around;
        height: 100%;
    }
    .action-game.action-game-50{
      width: 48% !important;
      display: -webkit-flex;
    }
    .action-game.action-game-100 .BrandName {
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      width: 40%;
      padding: 0px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      bottom: 14px;
    }
    .action-game.action-game-50 .BrandName {
        position: relative;
        z-index: 1;
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        left: 50%;
        bottom: 145%;
    }
    .action-game.action-game-100 .gamesBox--button {
        margin: 6px;
        position: static;
        display: flex;
        justify-content: center;
    }
    .gamesBox--logo {
        width: 120px;
        height: auto;
        position: absolute;
        z-index: 1;
        clip-path: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .BrandGame .games .gamesBox--image {
        padding: 0;
        margin: 0;
        width: 50%;
        height: 100%;
        background: transparent;
        clip-path: none;
        box-shadow: none;
        overflow: hidden;
        position: relative;
        left: 10px;
        z-index: 2;
        bottom: 0px;
    }
    .BrandGame .games .gamesBox--image img {
      max-height: initial;
      max-width: 100%;
    }
    .game-tab-content .BrandGame .md_games {
      padding: 0;
    }
    .action-game-100{
      width: 100%;
    }
    .action-game-50{
      width: 50%;
    }
    .action-game .full-link {
      width: 100%; 
      height: 100%;
      z-index: 1;
    }
    .BrandName {
        position: relative;
    }
    .BrandGame .gamesBox--button{
      margin: 6px;
      position: static;
    }
    .BrandGame .gamesBox--button span{
      display: block;
    }

    .action-game {
        height: 108px !important;
    }
  .action-game.action-game-100 .gamesBox--image{
    width: 50% !important;
    height: auto !important;
    bottom: -26px !important;
    left: -14px;
  }
  .action-game.action-game-50 .gamesBox--image{
        width: 72% !important;
        height: auto !important;
        bottom: -11px !important;
        left: -7px;
  } 
  .BrandGame .gamesBox--button{
    position: static;
    font-size: 12px;text-align: center;
  }
  .action-game.action-game-50 .gamesBox--logo img {
    max-height: 50px;
    max-width: 55px;
    position: absolute;
    left: 110px;
    padding: 6px;
  }
  .action-game.action-game-50 .gamesBox--button{
      position: static;
      width: 70px;
      padding: 0px;
  }
  /* Sport調整 */
  .BrandGame.Sport .action-game.action-game-100 .gamesBox--image{
        width: 45% !important;
        height: 100% !important;
        bottom: 0px !important;
        left: -8px;
        overflow: initial !important;
  }
  .BrandGame.Sport .action-game.action-game-100 a {
          align-items: center;
    }
  .BrandGame.Sport .BrandGame .games .gamesBox--image img {
        max-height: initial;
        max-width: 80%;
    }

}
@media (max-width: 450px){
    .action-game.action-game-50 .gamesBox--logo img{
      max-width: 50px !important;
      max-height: 48px;
      position: absolute;
      left: 15px;
    }
    .action-game.action-game-50 .gamesBox--logo{
        width: auto;
        height: auto;
        right: -75px;
        bottom: -65px;
        position: relative;
        z-index: 0;
    }
    .action-game.action-game-100 .gamesBox--image {
          width: 44% !important;
          height: auto !important;
          bottom: -15px !important;
    }
    .action-game.action-game-50 .gamesBox--image {
        width: 70% !important;
        height: auto !important;
        left: -8px;
        bottom: 27px !important;
    }
    .action-game.action-game-50 .BrandName {
        right: 0%;
        bottom: 125%;
        justify-content: flex-start !important;
    }
    .action-game-50 .game-name {
        font-size: 14px;
    }
    .action-game.action-game-50 .gamesBox--button {
        width: fit-content;
        font-size: 10px;
    }
}
@media (max-width: 414px){
    .action-game.action-game-50 .BrandName {
        bottom: 140%;
    }
    .action-game.action-game-50 .gamesBox--logo{
      right: -88px;
    }
  }  

/*--------------------------------------------------------------
# btn
--------------------------------------------------------------*/
.btn {
  position: relative;
  display: inline-block;
  font-size: .875rem;
  line-height: 1.25;
  min-width: 180px;
  border-radius: 6.25rem;
  text-align: center;
  padding: 0.75rem 1.875rem;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: color .3s ease,background-color .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.btn--white {
  color: #fff;
  border: 4px solid #fff;
  margin-top: 12px;
}

.btn--white:hover {
  color: #000;
  background: #fff;
}

.btn--secondary {
  color: #fff;
  background: linear-gradient(357deg, #B39973 0%, #9B774C 100%);
}
.btn--secondary:hover {
  color: #fff;
  background: linear-gradient(180deg, #B39973 0%, #9B774C 100%);
}
@media (min-width: 48em){
  .btn {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 2px;
  }
}
@media (max-width: 1024px) {

}
@media (max-width: 768px) {
  .btn{
    border-width: 2px;
    margin-top: 12px;
    max-width: 80%;
  }
}

@media (max-width: 425px) {
  .btn {
    min-width: 180px;
  }
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
section#faq {
  padding: 60px 20px;
}
.faq .container{
  max-width: 960px;
}
.faq .faq-list {
  padding: 0;
  list-style: none;
  color: #000;
}

.faq .faq-list li {
  padding: 10px;
  background: #eaeaea8c;
  border: 4px solid #c3a064;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}
.faq .faq-list a {
  display: contents;
  position: relative;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-right: 25px;
  cursor: pointer;
  color: #000;
}
.faq .faq-list .btn {
  display: initial;
  padding: 6px 24px;
  color: #fff;
  font-size: .8em;
}
.faq .faq-list img{
  position: relative;
  border-radius: 20px;
}
.faq .faq-list i {
  font-size: 24px;
  position: absolute;
  right: 4px;
  top: 4px;
  background: #c3a064;
  color: #000;
  padding: 6px;
  border-radius: 12px;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 1rem 3rem;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #000;
}

.faq .faq-list a.collapsed:hover {
  color: #000;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}
.faq .faq-list a.collapsed .icon-close {
  display: none;
}
.faq.news .container{
  /* max-width: 80%; */
}
@media (max-width: 768px) {
  section#faq {
    padding: 40px 0;
  }
  .faq .faq-list p {
    font-size: .8em;
    padding: 1rem 1rem;
  }
}
/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 40px 0;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #2f2f2f;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: url("../images/footer-bg.png.webp") #000 repeat;
  color: #fff;
  font-size: 1em;
  position: relative;
}

#footer ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
}
#footer ul li{
    list-style: none;
    margin: 4px 2px;
    padding: 0;
}
#footer a {
  color: #ffffff;
  font-size: 1em;
}
#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

#footer .footer-top .footer-logo img {
  height: 120px;
  margin-bottom: 24px;
}

#footer .footer-top h5 {
  font-size: 16px;
  font-weight: 700;
  color: #ffc600;
  position: relative;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0;
  text-align: left;
}

#footer .footer-top p {
  font-size: 1em;
  line-height: 1.8;
  padding: 0;
  text-align: left;
}
.ft-about{
    margin-bottom: 20px;
}
#footer .footer-top .social-links {
  margin-top: 30px;
  display: flex;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #fff;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 8px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #fcba01;
  color: #fff;
  text-decoration: none;
}
#footer .footer-top .social-links img{
    width: 24px;
    height: auto;
    margin: auto;
}
#footer .footer-bottom {
  border-top: 1px solid #222222;
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}
.brand-logo{
  border-bottom: 1px solid #6c757d4a;
}
.brand-logo .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    opacity: 0.6;
}
.brand-logo {
  padding: 20px;
  margin: auto;
}
.brand-logo img {
    max-width: 70px;
    max-height: 50px;
    margin: 13px 10px;
}

@media (max-width: 768px) {
  #footer { 
    font-size: 14px;
    /* 設定底部內距 */
    /* iOS 11.0 ~ 11.2 使用 constant() */
    padding-bottom: constant(safe-area-inset-bottom); 
    
    /* iOS 11.2+ 使用 env()，這是目前的標準 */
    padding-bottom: env(safe-area-inset-bottom);
  }
  #footer .footer-top p { font-size: 14px;}
  #footer ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #footer ul li {
    padding: 4px;
  }
  .brand-logo img {
    max-width: 50px;
    max-height: 40px;}
}
/*--------------------------------------------------------------
# modal
--------------------------------------------------------------*/
.modal{
  top: 10%;
}
.modal-header {
  background: #c3a064;
  color: #fff;
  font-weight: 900;
  border-bottom: 0;
}
.modal-header .close {
  color: #fff;
  font-size: 2rem;
  padding: 1rem 1rem;
  margin: -1rem -0.2rem -1rem auto;
  padding: 0;
  background-color: transparent;
  border: 0;
}
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
  opacity: 1;
}
.modal-footer{
  border: 0;
}
h4.modal-title{
  color:#fff;
}
.modal-content {
  background: #d6d6d6;
    color: #424242;
    border: 1px solid #d8a338;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 0 4px 2px rgb(0 0 0 / 30%);
}
.modal-body {
  max-height: 70vh;
  overflow-y: scroll;
}
.login_form .form-control {
  font-size: 18px;
  color: #ffffff;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid;
  background: 0 0;
}
.login_form label {
  margin: 10px 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
}
.login_form .button-red {
  /* min-width: 120px;
  height: 40px; */
  color: #fff;
  letter-spacing: 2px;
  font-weight: 400 !important;
  text-shadow: none;
  margin: 0 -15px;
  background: #dc3545;
  border-radius: 40px;
  border: solid 1px #dc3545;
}
.login_form .button-red:hover {
  background :#99000f;
  transition: all 0.4s;
}
#notice .nav-tabs {
  display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #c3a064;
}
#notice .tab-content li{
  margin-bottom: 12px;
  border-bottom: 1px dotted #c3a064;
}
#notice .nav-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: .8em;
  color: #a28551;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
  border: 0 !important;
  border-bottom: 4px solid #c3a064 !important; 
}
#notice .nav-link.active{
  background: transparent;
  border: 0;
  border-bottom: 4px solid #c3a064 !important; 
}
#notice .nav-link img{ max-height: 30px;}
#notice .tab-content .date {
    font-size: .8em;
    color: #775823;
}
/*--------------------------------------------------------------
# Register
--------------------------------------------------------------*/
section#register {
  min-height: 60vh;
  padding: 60px 40px 120px 40px;
}

/*-----------------------------------
    ft_menu
------------------------------------*/
.ft-navbar {
  background: #ebe6dc;
  padding: 8px 0 24px 0;
  box-shadow: 0px -2px 10px -3px #b0b0b0;
}

.ft-navbar ul {
  margin: auto;
  height: 40px;
  color: #d3def9;
}
.ft-navbar ul li {
  list-style: none;
  padding: 6px 0px;
  text-align: center;
  min-width: 46px;
}
.ft-link-home {
  position: relative;
  bottom: 17px;
  width: 120px;
  height: 54px;
  z-index: 10;
  text-align: center;
}
.ft-link-home .home {
  text-align: center;
  margin: 18px 0;
}
.ft-link-home .home img {
  margin: -8px 0px;
  max-width: 100%;
}
.ft-link-home .home div{
  font-size: .6em;
  line-height: 2.4;
  width: 50px;
  margin: -26px 14px;
}
a.ft-link {
  line-height: 0;
  font-size: .8em;
  /* color: #212529; */
  color: black;
  font-family: 'Noto Sans TC', sans-serif; 
}
.ft-link img {
  margin-bottom: 10px;
  width: 24px;
  height: 24px;
}
a.ft-link div{
  margin: 4px auto;
    text-align: center;
}
/*======================mynav=====================*/
.overlay {
  height: 100%;
  width: 0%;
  position: fixed;
  z-index: 1029;
  top: 0;
  left: 0;
  background-color: rgb(19 24 36 / 65%);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  top: 0;
  position: relative;
  width: 70%;
  height: 100%;
  padding: 100px 12%;
  text-align: left;
  background: #fff;
  background: #264b8199;
  opacity: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.overlay a {
  font-family: 'Noto Sans TC', sans-serif; 
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  padding: 12px 25px;
  text-align: center;
  background: linear-gradient(0deg, #002e67 0%, #0c2748 100%);
  color: #fff !important;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.overlay a:hover, .overlay a:focus {
  color: #e3ba94;
}
a.overlay-btn img {
  width: 25px;
  height: 25px;
  color: #fff;
  margin-right: 10px;
}
.overlay a.overlay-btn{
  border: 1px solid #0c2748;
}

/* mobNav_home */
a.mobNav_home {
  background: transparent;
  margin-bottom: 12px;
}
a.mobNav_home img{
  max-width: 100%;
}
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/*======================login-els=====================*/
.login-else, .register_else{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-else h4, .register h4{
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}
.login-else .hr ,.register_else .hr{
  width: 100%;
  height: 1px;
  margin: 16px 0;
  background: #8f8f8f;
}
.register_else .hr{
  margin: 40px 0;
}
.else-btn {
  display: flex;
    width: 275px !important;
    height: 50px;
    background: -webkit-linear-gradient(90deg,#5BC2E7 20%, #ffe97d,#5BC2E7 90% );
    border-radius: 40px;
    padding: 6px 20px;
    margin: 5px 0;
    align-items: center;
    justify-content: space-between;
}
.else-btn.google{
    padding: 0;
    background:linear-gradient( 127deg,
    #4285f4 0%, #4285f4 15%,
    #DB4437 15%, #DB4437 20%,
    #f4b400 20%, #f4b400 30%,
    #0f9d58 20%, #0f9d58 100%);
}
.google div{
  color: #DB4437;
  background: #ffffff;
  width: 272px !important;
  height: 47px;
  border-radius: 40px;
  padding: 6px 20px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.else-btn.line{
  background: #06c755;
  color: #fff;
  border: 2px solid #0ce762;
}
.else-btn span {
  width: 80%;
  text-align: left;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 14px;
  border-left: 1px solid;
  padding-left: 16px;
}
.else-btn img{
  max-width: 40px;
  padding: 5px;
}


/* --=========.authModal============-- */
.auth-btn {
  cursor: pointer;
}

.authModal{
  display: none;
  position: fixed;
  z-index: 1040;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.authModal .modal-box{
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  background: #cccccc;
  /* border-radius: 20px 20px 0 0; */
  padding: 0px 0px 16px 0px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

/* 桌機版：置中顯示 */
@media (min-width: 768px) {
  .modal-box {
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeInUp 0.3s ease;
  }
}

/* 手機版：底部滑出 */
@media (max-width: 767px) {
  .modal-box {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
    animation: slideUp 0.4s ease;
  }
}

/* 動畫效果 */
@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100%);
  }
  to {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    transform: translate(-50%, 60%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.6);
  }
}

.authModal .close_m {
  position: absolute;
  right: 10px;
  top: -51px;
  font-size: 2em;
  line-height: 1.1;
  background: #cccccc;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
}
.authModal .tab-header{
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.authModal .tab-btn{
  flex: 1;
  padding: 10px;
  background: #4b4439;
  border: none;
  color: #cccccc;
  cursor: pointer;
}

.authModal .tab-btn.active{
  background: #cccccc;
  color: #fff;
  font-weight: bold;
}
.authModal .tab-content{
  padding: 20px;
  text-align: center;
}
.authModal .tab-content input ,.authModal .tab-content select
{
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: #4b4439;
  border: 1px solid #555;
  border-radius: 5px;
  color: #fff;
}

.authModal .login, .authModal .register,
.authModal .transfer, .authModal .history{
  width: 100%;
  padding: 20px;
  background: #ffcc00;
  background: radial-gradient(100% 100% at 50% 0, #efff00 0, #d8a338 44%, #df9a00 100%);
  color: #000;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
}
.authModal h5{
  color: #424242;
  font-weight: 400;
}
.authModal .login-else-box{
    margin-top: 13px;
    border-top: 1px solid #d8a338;
    padding: 5px 0px;
}
.login-else-box .log-img img{
  width: 50px;
  margin-right: 4px;
}
/* .authModal img#regImg {
    position: absolute;
    right: 9px;
    margin: 20px;
} */

/* 快速轉點------------------------------------- */
#authModalTransfer .modal-box .content{
  padding: 40px 30px 85px 30px;
  text-align: center;
}
#transferFrom, #transferTo, #transferAmount{
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: #fff;
}
#transferAmount{
  width: 70%;
}
.transfer-group, #transferFrom{
  width: 100%; 
}
.transfer-group-box{
  display: flex;
}
#authModalTransfer .transfer-group.Amount, #transferFrom, #transferTo {
    padding: 10px 6px;
    margin: 10px 0;
    background: #4b4439;
    border: 1px solid #c3a064;
    border-radius: 5px;
    color: #fff;
    margin: 2px;
}
#authModalTransfer .transfer-group label{
    width: 100%;
    padding: 0 10px;
}
#authModalTransfer .transfer-group option{
  position: relative;
}
.transfer-group.Amount {
    width: 100% !important;
}
#authModalTransfer button {
    width: 49%;
    padding: 9px 10px;
    margin: 1px;
    background: #ffcc00;
    background: radial-gradient(100% 100% at 50% 0, #efff00 0, #d8a338 44%, #df9a00 100%);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    font-weight: normal;
    /* -webkit-border-radius:;
    -moz-border-radius:;
    -ms-border-radius:;
    -o-border-radius:; */
}
.transfer-actions{
  width: 100%;
  display: flex;
}
#authModalTransfer button.transfer-all{
    width: 28%;
    margin-top: 0px;
    padding: 6px;
    font-size: .9em;
}
#authModalTransfer .transferToIcon{ 
    color: #4b4439;
    font-weight: 600;
    font-size: 2em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 4px 12px 4px;
}
.transfer-actions .btn-confirm {
    background: transparent !important;
    border: 1px solid #4b4439 !important;
    color: #4b4439 !important;
}
