/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  color: var(--color-text-primary);
  background: #001326;
}

main {
  margin-top: 86px;
  /* background: url(../images/bg_200.png) #212529; */
  background-image: linear-gradient(rgba(45, 45, 74, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 45, 74, .3) 1px, transparent 1px);
  background-size: 50px 50px;
}

a {
  text-decoration: none;
  color: var(--color-text-secondary);
  cursor: pointer;
}

a:hover {
  color: var(--color-hover-light);
  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: var(--color-text-primary);
  font-size: 50%;
  font-weight: normal;
}

.text-right {
  text-align: right;
}

.small,
small {
  font-size: 50%;
}

.button {
  color: var(--color-bg-white) !important;
  text-transform: uppercase;
  background: var(--color-accent-orange);
  padding: 6px 20px;
  border: 2px solid var(--color-accent-orange);
  min-width: 100px;
}

.button:hover {
  color: var(--color-btn-hover);
}

@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: var(--color-back-to-top);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: var(--color-back-to-top-light);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-back-to-top-hover);
  color: var(--color-back-to-top-light);
}

.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;
  box-shadow: 0 4px 10px -3px var(--color-border-light);
}

#header .logo a span {
  font-size: 28px;
  margin-left: 12px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-darker);
  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: rgba(0, 53, 133, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--color-text-white);
  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: var(--color-text-primary);
  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: var(--color-accent-yellow);
}

.navbar a span {
  color: var(--color-text-primary);
  font-size: 12px;
  display: none;
}

.btn-login span,
.btn-register span {
  font-size: .8em !important;
  color: var(--color-grey-dark);
  display: none !important;
}

.btn-login {
  background: var(--color-btn-login-primary);
  background: radial-gradient(100% 100% at 50% 0, var(--color-btn-login-bright) 0, var(--color-btn-login-primary) 44%, var(--color-btn-login-secondary) 100%);
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .49);
  color: var(--color-bg-white) !important;
  padding: 6px 20px;
  border-right: 0;
  width: 100px;
  height: 85px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-register {
  background: var(--gradient-btn-register);
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .49);
  color: var(--color-bg-white) !important;
  padding: 6px 20px;
  width: 100px;
  height: 85px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-login:hover {
  color: var(--color-bg-white) !important;
  background: var(--gradient-btn-login-hover);
  transform: scale(1.025);
}

.btn-register:hover {
  color: var(--color-bg-white) !important;
  background: var(--gradient-btn-register-hover);
  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 {
  color: var(--color-text-primary);
  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;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
}

@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 12px;
    font-size: 10px !important;
    border-radius: 20px;
    margin: 0;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }

  .btn-login {
    border-radius: 20px 0 0 20px;
    -webkit-border-radius: 20px 0 0 20px;
    -moz-border-radius: 20px 0 0 20px;
    -ms-border-radius: 20px 0 0 20px;
    -o-border-radius: 20px 0 0 20px;
  }

  .btn-register {
    border-radius: 0 20px 20px 0;
    -webkit-border-radius: 0 20px 20px 0;
    -moz-border-radius: 0 20px 20px 0;
    -ms-border-radius: 0 20px 20px 0;
    -o-border-radius: 0 20px 20px 0;
  }

  .btn-icon {
    max-width: 30px;
    max-height: 28px;
    padding: 2px 5px;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--color-bg-white);
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  background: var(--color-btn-login-primary);
  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: var(--color-bg-white);
}

.navbar-mobile a:after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 1px;
  background: var(--color-bg-white);
  opacity: .4;
}

header nav.mainNav .border-link:after {
  width: 20px;
  height: 1px;
  background: var(--color-bg-white);
  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: var(--color-bg-white);
  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: var(--color-text-dark);
}

@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: var(--color-bg-white);
  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: var(--color-bg-white);
  background-image: linear-gradient(180deg, var(--color-bg-white)fff 20%, #f3efb3 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.testimonials .testimonial-item h4 {
  font-size: 4rem;
  color: var(--color-hover-light);
  margin: 0 0 15px 0;
  background-image: linear-gradient(180deg, var(--color-bg-white)fff 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;
    padding-top: 75px;
  }

  .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: var(--gradient-marquee-alt);
  border-radius: 60px;
  box-shadow: 0px 4px 0px var(--color-grey-dark);
  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: var(--color-bg-white);
  padding: 20px 0px 0px 0px;
}

.GameNav .nav-link {
  color: var(--color-text-primary);
  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: var(--color-text-white);
  font-weight: 600;
  display: block;
  filter: none;
  border-bottom: 4px solid var(--color-border-light);
}

@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: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    margin: auto;
  }

  .GameNav picture,
  .GameNav img {
    max-width: 40px;
    height: auto;
    max-height: 100%;
  }

  .GameNav .nav-link {
    font-size: .8em;
    color: var(--color-text-primary);
    width: 70px;
    height: 70px;
    border-radius: 6px;
    padding: 3px;
    border: 1px solid var(--color-grey-dark);
    border-bottom: 4px solid var(--color-grey-dark);
    background: #e4dacb;
    background: var(--gradient-game-nav);
    margin-bottom: 6px;
    filter: grayscale(20%) brightness(80%);
    -webkit-filter: grayscale(20%) brightness(80%);
    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 var(--color-grey-medium);
    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;
  }
}

/*--------------------------------------------------------------
# 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;
  background: rgb(0 21 53 / 16%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 0 24px 0;
  box-shadow: 0px -2px 10px -3px #b0b0b0;
  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;
  padding: 4px;
  text-align: center;
  font-size: .8em;
  color: var(--color-bg-white) !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: radial-gradient(100% 100% at 50% 0, var(--color-btn-register-bright) 0, var(--color-btn-register-primary) 44%, var(--color-btn-register-secondary) 100%);
  margin-top: -4px;
  height: 38px;
}

.btn-tsfr {
  background: radial-gradient(100% 100% at 50% 0, var(--color-btn-login-bright) 0, var(--color-btn-login-primary) 44%, var(--color-btn-login-secondary) 100%);
  border: 1px solid var(--color-btn-login-primary);
  margin-top: -4px;
  height: 38px;
}

.Wbtn img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.Wbtn.btn-luckycash {
  width: 100% !important;
  background: radial-gradient(100% 100% at 50% 0, var(--color-btn-register-bright) 0, var(--color-btn-register-primary) 44%, var(--color-btn-register-secondary) 100%);
  border: 1px solid var(--color-btn-register-primary);
}

.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: var(--color-bg-white);
  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: var(--color-text-primary);
  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, var(--color-bg-white)bf5 20%, #f7e5d0 70%, #fae7ce 100%);
  background-size: contain;
  height: 408px;
  border-radius: 20px;
  box-shadow: 0 0 11px 3px var(--color-back-to-top)54;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  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: var(--color-text-primary);
}

.index-service .serv h4 {
  color: var(--color-bg-white);
  font-weight: 600;
}

.index-service .serv .section-title span {
  color: var(--color-bg-white) !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, var(--color-marquee-gradient-light)8f 10%, var(--color-bg-white)fff00 40%, var(--color-bg-white)fff00 73%, var(--color-marquee-gradient-light)66 90%, var(--color-marquee-gradient-mid)75 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 {
  margin: auto;
  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 var(--color-btn-login-primary);
  padding: 20px 20px;
  margin-right: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  counter-increment: carousel-cell;
}

.featured-brand .carousel-cell {
  height: 320px;
}

.carousel-cell.is-selected {
  border: 1px solid var(--color-btn-login-primary);
}

.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: var(--color-text-primary);
}

.carousel-cell .game-info div span {
  color: var(--color-btn-login-primary);
  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: var(--color-bg-white);
  background: var(--color-btn-login-primary);
  border: 2px solid var(--color-btn-login-primary);
  border-radius: 10px;
  text-align: center;
  transition: all .4s;
}

.btn-gamemore:hover {
  color: var(--color-btn-login-primary);
  background: transparent;
  border: 2px solid var(--color-btn-login-primary);
}

@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: var(--color-btn-login-primary);
  background-color: transparent;
  border-bottom: 4px solid var(--color-btn-login-primary);
  padding: 5px 0;
}

.hotGame .nav-pills .nav-link {
  color: var(--color-border-light);
  border-bottom: 4px solid transparent;
  padding: 5px 0;
}

.hotGame .nav {
  justify-content: space-around;
  border-bottom: solid 1px var(--color-grey-dark);
  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: var(--color-bg-white);
  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: #ffffff78;
  /* 半透明白色文字 */
  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: var(--color-text-primary);
  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 var(--color-bg-white);
  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: url(../images/game/caino_logo_bg.png.webp);
  background-size: 280px 280px;
  background-position: center 30%;
  filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.9));
  padding: 10px;
  margin: 6px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  width: 120px;
  height: 140px;
  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: var(--gradient-game-nav);
    box-shadow: 0 20px 30px -20px var(--color-border-light);
    border: solid 1px var(--color-border-light);
    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: var(--color-bg-white);
  border: 4px solid var(--color-bg-white);
  margin-top: 12px;
}

.btn--white:hover {
  color: #000;
  background: var(--color-bg-white);
}

.btn--secondary {
  color: var(--color-bg-white);
  background: linear-gradient(357deg, #B39973 0%, #9B774C 100%);
}

.btn--secondary:hover {
  color: var(--color-bg-white);
  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: var(--color-text-darker);
}

.faq .faq-list li {
  padding: 10px;
  background: var(--color-bg-light);
  border: 4px solid var(--color-grey-dark);
  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: var(--color-text-darker);
}

.faq .faq-list .btn {
  display: initial;
  padding: 6px 24px;
  color: var(--color-bg-white);
  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: var(--color-grey-dark);
  color: var(--color-text-primary);
  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: var(--color-grey-dark);
}

.faq .faq-list a.collapsed:hover {
  color: var(--color-grey-dark);
}

.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: var(--color-bg-white);
  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: var(--color-bg-white)fff;
  font-size: 1em;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

#footer .footer-top .footer-logo img {
  height: 60px;
  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: var(--color-bg-white);
  color: var(--color-bg-white);
  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: var(--color-bg-white);
  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;
  }

  #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: var(--color-bg-greyblue);
  color: var(--color-bg-white);
  font-weight: 900;
  border-bottom: 0;
}

.modal-header .close {
  color: var(--color-bg-white);
  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 var(--color-bg-white);
  opacity: 1;
}

.modal-footer {
  border: 0;
}

h4.modal-title {
  color: var(--color-bg-white);
}

.modal-content {
  background: rgb(0 21 53 / 50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  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: var(--color-bg-white);
  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: var(--color-bg-white);
  letter-spacing: 2px;
  font-weight: 400 !important;
  text-shadow: none;
  margin: 0 -15px;
  background: var(--color-btn-register-bright);
  border-radius: 40px;
  border: solid 1px var(--color-btn-register-bright);
}

.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 var(--color-text-secondary);
}

#notice .tab-content li {
  margin-bottom: 12px;
  border-bottom: 1px dotted var(--color-text-secondary);
}

#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 var(--color-text-secondary) !important;
}

#notice .nav-link.active {
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  border-bottom: 4px solid var(--color-text-secondary) !important;
}

#notice .nav-link img {
  max-height: 30px;
}

#notice .tab-content .date {
  font-size: .8em;
  color: var(--color-text-lightgrey);
}

/*--------------------------------------------------------------
# Register
--------------------------------------------------------------*/
section#register {
  min-height: 60vh;
  padding: 60px 40px 120px 40px;
}

/*-----------------------------------
    ft_menu
------------------------------------*/
.ft-navbar {
  background: rgb(0 21 53 / 16%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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: var(--color-text-primary);
  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: var(--color-bg-white);
  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: var(--color-bg-white) !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: var(--color-bg-white);
  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: var(--color-bg-greyblue);
  /* 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: var(--color-text-dark);
  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: var(--color-text-dark);
  border: none;
  color: #cccccc;
  cursor: pointer;
}

.authModal .tab-btn.active {
  background: var(--color-bg-greyblue);
  color: #cccccc;
  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: var(--color-text-dark);
  border: 1px solid #555;
  border-radius: 5px;
  color: var(--color-bg-white);
}

.authModal .login,
.authModal .register,
.authModal .transfer,
.authModal .history {
  width: 100%;
  padding: 20px;
  background: #ffcc00;
  background: radial-gradient(100% 100% at 50% 0, var(--color-btn-login-bright) 0, var(--color-btn-login-primary) 44%, var(--color-btn-login-secondary) 100%);
  color: #000;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
}

.authModal h5 {
  color: var(--color-text-primary);
  font-weight: 400;
}

.authModal .login-else-box {
  margin-top: 13px;
  border-top: 1px solid var(--color-btn-login-primary);
  padding: 12px 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: var(--color-bg-white);
}

#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: var(--color-grey-dark);
  border: 1px solid var(--color-marquee-gradient-mid);
  border-radius: 5px;
  color: var(--color-bg-white);
  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, var(--color-btn-login-bright) 0, var(--color-btn-login-primary) 44%, var(--color-btn-login-secondary) 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: var(--color-text-primary);
  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 var(--color-btn-login-primary) !important;
  color: var(--color-btn-login-primary) !important;
}

body {
  min-height: 110vh;
  /* 確保內容比螢幕長，才有滾動空間觸發隱藏 */
}

.notrans_bg {
  background: url(../images/game/notrns_bg.png.webp) no-repeat !important;
  background-size: 45px !important;
  background-position: right top !important;
}