/*================================================*/
/* index */
div {
  box-sizing: border-box;
}

/* 共同 */

img {
  width: 100%;
  vertical-align: middle;
}

/*0729 setting*/
h1 {
  width: 180px;
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  background: url(../../../img/ftps/logo-white.png) no-repeat center / contain;
  margin: 0 0 0 10px;
}

.nav-logo {
  display: inline-block;
  margin-left: 1px;
}

.title-h2 {
  font-size: 2rem;
  margin-top: 0;
}

.title-white {
  color: #0f3a57;
  text-align: center;
  font-size: 28px;
  text-shadow: 4px 4px 10px #fff;
  margin-top: 50px;
}

.title-primary {
  color: #0f3a57;
}

.text-white {
  margin-left: 2px;
  color: #dfe5ea;
  font-size: 12px;
}

.text-white1 {
  margin-left: 2px;
  color: #dfe5ea;
  font-size: 14px;
}

.text-gray {
  color: #666;
}

.text-dark {
  color: #181818;
}

.title-lg {
  font-size: 40px;
}

/*nav effect setting*/

@media screen and (min-width: 1024px) {
  #headWeb .right-index-link-block a {
    position: relative;
  }

  #headWeb .right-index-link-block a:not(.btn):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #e5d0af;
    transition: all 0.3s ease;
  }

  #headWeb .right-index-link-block a:hover::after,
  #headWeb .right-index-link-block a.active::after {
    width: 100%;
  }
}

.index-page {
  padding: 50px 0;
  min-height: calc(100vh - 207px);
}

.index-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.hr {
  border-bottom: 4px solid #4a82c1;
  width: 120px;
  height: 0px;
}

.online-user {
  border-radius: 10px;
  background: #b5e4ff;
  padding: 3px 10px;
  margin: 10px auto 20px auto;
  max-width: 200px;
}

/* banner區 */
.banner {
  position: relative;
}

.banner-text-area {
  padding-top: 100px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.411);
}

.banner-text-area p {
  color: #fff;
  text-shadow: 1px 2px 5px #000;
}

.banner-text-area .text {
  text-align: center;
}

.banner-text-area .btn1 {
  display: block;
  width: auto;
  width: 200px;
  text-align: center;
  margin-top: 20px;
}

.banner-text-cover {
  display: none;
}

.banner-logo {
  width: 220px;
  height: 100px;
  background: url(../../../img/ftps/logo-login.png) no-repeat center / contain;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(1px 2px 5px #000);
}

/* 影片區 */
.video,
#bgndVideo,
.video-cover {
  width: 100%;
  min-height: 100px;
  height: 450px !important;
  overflow: hidden !important;
}

.video {
  background-color: #333;
  background-image: url(/img/ftps/bg_1a.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 最新消息 */
.m-marquee-box {
  background-color: #1c4561;
  color: #e0c9a9;
  padding: 10px;
}

.m-marquee-box .container {
  display: flex;
  align-items: center;
  height: 50px;
}

.m-marquee-box a {
  color: #e6d2b0;
  width: fit-content;
}

.m-marquee-box a:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.marqueeTitle {
  display: none;
}

/*================================================*/
/* TradingView Widget */
.fix_tradingview,
.currency_tradingview {
  /* background-color: #d1d8e3; */
  padding-top: 20px;
  padding-bottom: 20px;
}

.currency_tradingview {
  padding-bottom: 40px;
}

.tradingview-widget-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  pointer-events: all;
  border: 1px solid #1c456175;
}

@media screen and (min-width: 767.99px) {
  .tradingview-widget-container {
    max-width: 720px;
  }
}

@media screen and (min-width: 1023.99px) {
  .tradingview-widget-container {
    max-width: 960px;
  }
}

@media screen and (min-width: 1199.99px) {
  .tradingview-widget-container {
    max-width: 1140px;
  }
}

@media screen and (min-width: 1279.99px) {
  .tradingview-widget-container {
    max-width: 1200px;
    height: 400px !important;
    background: #ffffffa3;
  }
}

/*================================================*/
/* feature block */

.feature_block {
  background: url(../../../img/ftps/in-6.jpg) repeat-y center / cover;
  padding-top: 20px;
  padding-bottom: 40px;
}

.feature_block img {
  vertical-align: middle;
  width: 100%;
}

.feature_title h2 {
  margin: 50px auto;
  width: fit-content;
  color: #0f3a57;
  font-size: 2rem;
  text-align: center;
  mix-blend-mode: revert;
  /* text-shadow: 0 1px 10px #000, 0 0 15px #000; */
  position: relative;
  z-index: 3;
}

.feature_title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  /* margin: 0 0 0 -10%; */
  height: 20px;
  border-radius: 4px;
  background-color: #ffffff9c;
}

.feature_items {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  flex-wrap: nowrap;
}

.f_item {
  width: 100%;
  text-align: center;
  margin-top: 60px;
}

.f_img {
  width: 100%;
  aspect-ratio: 0;
  /* min-height: 150px; */
  overflow: hidden;
}

.f_txt h3 {
  font-size: 24px;
  line-height: 1.5;
  color: #0f3a57;
  letter-spacing: initial;
  margin: 5% 0;
}

.f_txt {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 20px;
  text-align: center;
  font-weight: 100;
  /* letter-spacing: .1em; */
  color: #181818;
  background-color: #ffffffe0;
}

.f_txt p {
  margin: 0;
  text-align: start;
}

@media screen and (min-width: 767.99px) {
  .feature_items {
    flex-direction: row;
  }

  .feature_title h2 {
    font-size: 2.5em;
  }

  .feature_title h2::after {
    height: 30px;
  }

  .f_item {
    display: flex;
    flex-wrap: wrap;
    margin: 0 1%;
  }

  .f_item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .f_img {
    width: 100%;
    display: block;
  }

  .f_txt {
    width: 100%;
    padding: 20px;
    font-weight: 200;
    min-height: 400px;
  }

  .f_txt p {
    padding: 20px 0;
  }
}

@media screen and (min-width: 1199.99px) {
  .feature_items {
    max-width: 1140px;
  }
}

@media screen and (min-width: 1279.99px) {
  .feature_items {
    max-width: 1200px;
  }
}

/*================================================*/
/* intro block */

.intro_block {
  background-color: #c0c0c070;
  padding: 40px 0;
}

.intro_block img {
  display: block;
  margin: 0 auto;
  width: 220px;
}

.intro_items {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 767.99px) {
  .intro_items {
    max-width: 720px;
  }
}

@media screen and (min-width: 1023.99px) {
  .intro_items {
    max-width: 960px;
  }
}

@media screen and (min-width: 1199.99px) {
  .intro_items {
    max-width: 1140px;
  }
}

@media screen and (min-width: 1279.99px) {
  .intro_items {
    max-width: 1200px;
  }
}

/*================================================*/
/* page */
/* 共同 */
/* .page {
    margin-top: 80px;
} */

.page {
  background-image: url(/img/ftps/page-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.page .text-area {
  padding: 69px 0 10px;
  /* background: #293e32; */
}

.page .text-area h1 {
  margin: 0;
  color: #003060;
  text-align: center;
}

/*================================================*/
/* egame */
.game-card .top-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
}

.game-card {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.game-card .top-img h2 {
  color: #fff;
  z-index: 2;
  text-shadow: 2px 2px 2px #000;
  font-size: 25px;
}

.game-card .top-img-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
}

.game-card a {
  display: inline-block;
  margin-top: -60px;
  margin-right: 20px;
  margin-left: auto;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in;
}

.game-card a:hover {
  color: #333;
}

.link-btn:not(.record, .msg) {
  position: relative;
  padding: 10px 24px;
}

.link-btn:not(.record, .msg)::before {
  content: "";
  width: 4%;
  height: 100%;
  background: #e5d0af;
  border-radius: 1px;
  position: absolute;
  top: 0;
  left: 3px;
  transition: 0.65s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.link-btn span {
  color: #e5d0af;
  position: relative;
  font-weight: bold;
}

.link-btn:hover span {
  color: #0f3a57;
}

.link-btn:hover::before {
  width: 100%;
}

.game-card-1 .top-img {
  background-image: url(/img/ftps/image-1.jpg);
}

.game-card-2 .top-img {
  background-image: url(/img/ftps/image-2.jpg);
}

.game-card-3 .top-img {
  background-image: url(/img/ftps/image-3.jpg);
}

/* .game-card-4 .top-img {
    background-image: url(/img/ftps/image-4.jpg);
} */

/*================================================*/
/* bulletin */

.bullet {
  padding: 15px;
  background-color: #d1d8e3;
  margin-bottom: 20px;
  color: #334869;
  border-radius: 5px;
}

.bullet:hover {
  background-color: #d1d8e3a2;
  cursor: pointer;
}

/*-- to-top --*/

#toTop {
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 20px;
  right: 2%;
  overflow: hidden;
  z-index: 999;
  width: 40px;
  height: 30px;
  border: none;
  text-indent: 100%;
  background: #e5d0af;
}

#toTopHover {
  width: 40px;
  height: 40px;
  display: block;
  overflow: hidden;
  float: right;
  opacity: 0;
  -moz-opacity: 0;
  filter: alpha(opacity=0);
  background: #ffffff;
  border-bottom: 10px solid #f6ffe8;
}

.gamelist {
  padding: 10px;
  margin: 0 auto;
  text-align: center;
  margin-block-end: unset;
  margin-block-start: unset;
}

.gamelist-item {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.gamelist li {
  list-style: none;
  padding: 5px;
  margin: 2px;
  min-width: 100px;
  width: 96%;
  justify-content: space-between;
  /* height: 50px; */
  display: flex;
  /* clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 26%); */
  background-color: transparent;
  text-align: left;
  /* border: 1px solid #6c96c2; */
  /* border-radius: 4px; */
  font-size: 15px;
  border-bottom: 1px solid #0f3a57;
  color: #0f3a57;
  font-weight: bold;
}

ul {
  padding-inline-start: 0px;
}

/* RWD */
/* 桌機版 */
@media screen and (min-width: 480px) {
  .gamelist li {
    width: 96%;
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 768px) {
  /*banner*/
  .banner-text-area {
    padding-top: 130px;
  }

  .banner-logo {
    width: 250px;
    height: 100px;
  }

  .banner-text-area p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .area .content {
    padding-top: 10px;
  }

  .gamelist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .gamelist li {
    width: 46%;
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1024px) {
  h1 {
    width: 200px;
    text-indent: 101%;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 0 0 10px;
  }

  .gamelist li {
    width: 100%;
  }

  .online-user {
    margin: 0;
  }

  /* banner區 */

  .banner {
    position: relative;
  }

  .banner-text-area {
    z-index: 2;
    padding-top: 150px;
  }

  .banner-text-cover {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.445);
    z-index: 1;
  }

  .banner-logo {
    width: 300px;
    height: 150px;
  }

  .banner-text-area p {
    max-width: 800px;
    font-size: 1.5rem;
    text-align: justify;
  }

  .video,
  #bgndVideo,
  .video-cover {
    height: 550px !important;
  }

  /* 最新消息 */
  .marqueeTitle {
    display: block;
    width: 110px;
    white-space: nowrap;
  }

  .container-marquee marquee {
    white-space: nowrap;
    width: calc(100% - 150px);
  }

  /*================================================*/
  /* page */
  /* 共同 */
  .page {
    /* box-shadow: 0 2px 10px black; */
  }

  /* .page .text-area {
        padding-top: 120px;
    }
 */

  /*================================================*/
  /* egame */
  .game-card .top-img h2 {
    font-size: 30px;
  }

  .game-card .top-img {
    height: 350px;
  }

  .game-group {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }

  .game-card {
    width: 50%;
    margin-bottom: 0;
  }

  .game-card:first-child {
    margin-right: 20px;
  }
}
