/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #85b0be;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

#main {
  background: #fffbec;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #c96852;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

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

.back-to-top:hover {
  background: #f19682;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  z-index: 997;
  transition: all 0.5s;
  padding: 22px 0;
}

#header .logo {
  padding: 10px 0 30px 0;
  position: relative;
  top: 0;

}

#header.header-transparent {
  background: none;
}

#header.header-scrolled {
  padding: 12px 0;
  display: none !important;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

@media (max-width: 991px) {
  #header .logo img {
    max-height: 30px;
  }

  #header {
    padding: 10px 5px;
  }
}

@media (max-width: 480px) {
  #header .logo img {
    max-height: 20px;
  }

}




/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: auto;
  background: url("../img/event/header_bg_2.jpg") bottom center no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#hero .hero-container {
  text-align: center;
  position: relative;
  padding-bottom: 112px;
}

#hero .hero-title {
  position: absolute;
  transform: translate(-50%, 0);
  top: 20px;
  left: 50%;
  z-index: 0;
  max-width: 100%;
}



#hero .hero-img {
  margin-top: 130px;
  width: 100%;
  max-width: 1300px;
}

/* 預設：桌機版顯示，手機版隱藏 */
#hero .mb {
  display: none;
}

/*---------------------------------------
  RWD 調整
---------------------------------------*/
@media (max-width: 860px) {
  #hero .pc {
    display: none;
  }

  #hero .mb {
    display: block;
  }

  #hero .hero-title {
    top: 10px;
    width: 80%;
    max-width: 100%;
  }

  #hero .hero-img {
    margin-top: 80px;
    max-width: 90%;
  }

  #hero .hero-container {
    padding-bottom: 100px;
  }
}

@media (max-width: 540px) {
  #hero .hero-container {
    padding-bottom: 30px;
  }
}

@media (max-width: 480px) {
  #hero {
    padding: 20px 0;
    background-position: center top;
  }

  #hero .hero-title {
    top: 18px;
    width: 90%;
  }

  #hero .hero-img {
    margin-top: 60px;
  }


}





/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 20px 0;
  overflow: hidden;
}


/*--------------------------------------------------------------
# bg-holder
--------------------------------------------------------------*
.bg-holder {
  position: absolute;
  width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  background-repeat: no-repeat;
  z-index: 0;
}


/*--------------------------------------------------------------
# logo slider
--------------------------------------------------------------*/
.logo {
  padding: 10px 0 30px 0;
  position: absolute;
  top: -250px;
  left: 50%;
  width: 100%;
  transform: translate(-50%, 0);
  z-index: 3;
}

.swiper-logo {
  width: 70%;
}


.logo .container {
  border-radius: 20px;
  border: 6px solid #e2cb94;
  box-shadow: 2px 1px 5px 2px #b1a978;
  background: linear-gradient(to top, #000000, #353535);
  background: -webkit-linear-gradient(to top, #000000, #353535);
}

.logo .section-header {
  margin-bottom: 40px;
}

.logo .testimonials-carousel,
.logo .testimonials-slider {
  overflow: hidden;
}

.logo .logo-item {
  text-align: center;
  color: #fff;
}

.logo .logo-item a {
  cursor: pointer;
}

.logo .logo-item .testimonial-img {
  width: 100%;
  max-width: 250px;
  filter: drop-shadow(0px 0px 10px #fffeee);
  margin: 0 auto;
  padding: 0 10px;
}

.logo .logo-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.logo .logo-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.logo .logo-item .quote-icon-left,
.logo .logo-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.logo .logo-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.logo .logo-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.logo .logo-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

.logo .swiper-pagination {
  position: relative;
  bottom: 20px;
}

.logo .swiper-pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background-color: rgb(220 213 213 / 50%);
  opacity: 1;
}

.logo .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #9b3637;
}

.swiper-wrapper {
  width: 25%;
  top: 12px;
}

@media (min-width: 992px) {
  .logo .logo-item p {
    width: 80%;
  }


}

@media (max-width:1200px) {
  #logo {
    background: none !important;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  .swiper-logo {
    width: 100%;
    top: -170px;
  }
}

@media (max-width:991px) {
  .swiper-wrapper {
    width: 33.333%;
  }
}

@media (max-width:768px) {
  .logo {
    padding: 0px 0 5px 0;

  }


}

@media (max-width:540px) {
  .swiper-wrapper {
    width: 50%;
    top: 10px;
  }

  .logo .logo-item .testimonial-img {
    padding: 0 10px;
  }

  .logo {
    top: -60px;
  }


  .logo .container {
    background-size: cover;
  }
}



/*--------------------------------------------------------------
# Game Section 
--------------------------------------------------------------*/
#game {
  background: url(../img/event/main_img.jpg) center center;
  background-size: cover;
  background-attachment: fixed;
  /* vertical-align: middle; */
}

.game .game_event {
  /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); */
  padding: 20px 30px;
  margin-bottom: 3rem;
  /* background: url(../img/event/section_bg.png) center center;
  background-size: contain;
  background-repeat: no-repeat; */

}

.game .game_event .row {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 20px;
  border: 6px solid #e2cb94;
  box-shadow: 2px 1px 5px 2px #b1a978;

  position: relative;
  align-items: center;

}

.game .game_event .row::after,
.game .game_event .row::before {
  content: "";
  background: url(../img/event/section_acc.png) center center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: 1;
}

.game .game_event .row::after {
  top: 0;
  right: 0;
}

.game .game_event .row::before {
  transform: rotate(180deg);
  bottom: 0;
  left: 0;
}

.game .game_event .row div {
  z-index: 3;
}

.game .game_event h4 {
  width: 100%;
  text-align: center;

  font-size: 28px;
  font-weight: bolder;
  margin: 1rem 0 0 0;
  /*文字漸層*/
  background: linear-gradient(to bottom, #9a4c16, #3b110d);
  background: -webkit-linear-gradient(to bottom, #9a4c16, #3b110d);
  background-clip: text;
  -webkit-text-stroke: .2px #cf5728;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  z-index: 3;
}

.game .game_event .col-lg-4 {
  text-align: center;
}

.game .game_event .logo_img {
  display: flex;
  align-items: center;
}

.game .content img {
  width: 100%;
  padding: 0 20px;
  margin: auto;
}

.game .content ul {
  list-style-type: none;
  padding-inline-start: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0;
  font: 16px;
}

.game .content ul li ol {
  width: 100%;
  list-style-type: decimal;
}

.game .content ul li ol li {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex-wrap: wrap;
}



.game .content span {
  font-weight: bold;
  font-size: 0.95rem;
  color: #a5350e;
}

.game .content small {
  padding: 0 0 0 15px;
}

.game .content .point {
  display: block;
}

.game .content ul {
  display: flex;
  flex-direction: column;
}

.game .content ul li {
  width: 100%;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  border-bottom: 2px solid #dbdbdb;
  padding: 10px 0;
}

.game .content ul li:first-child {
  padding: 7px 0;
}

.game .content ul li:last-child {
  border-bottom: none;
}

.game .content ul li h6 {
  width: 70px;
  /* margin-top: 5px; */
  margin-bottom: 0;
  display: inline-block;
  white-space: nowrap;
}

.game .content ul li p {
  width: 90%;
  display: inline-block;
}

.game .content ul li img {
  max-width: 350px;
}

.game .content ul li a {
  width: 150px;
  text-align: center;
}

.game .content i {
  font-size: 20px;
  color: #85b0be;
  float: left;
  width: 44px;
  height: 44px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.game .content p {
  text-align: justify;
  line-height: 26px;
  padding: 0 0 0 1rem;
  margin-bottom: 0;
  color: #594a47;
}

.table-nowrap tr td:first-child {
  white-space: nowrap;
}

.text-justify {
  text-align: justify
}

.event_btn {
  justify-content: center;
}

@media (min-width:769px) {
  .game .game_event .col-lg-4 {
    flex: 0 0 auto !important;
    width: 33.33333333% !important;
  }

  .game .game_event .col-lg-8 {
    flex: 0 0 auto !important;
    width: 66.66666667% !important;
  }
}

@media (max-width:768px) {
  .game .game_event {
    margin-bottom: 0rem;
  }

  .game .game_event .row h4 {
    margin: 1rem 0;
  }

  .game .game_event .row h4 span {
    display: block;
  }

  .game .content img {
    width: 80%;
  }

  .game .content ul li h6 {
    width: 75px;
    font-size: 15px;
    line-height: 22px;
    margin-top: 0;
  }

  .game .content ul li p {
    font-size: 15px;
    line-height: 22px;
  }

  .game .content ul li img {
    max-width: 250px;
  }


  .game .content ul li:first-child {
    padding-bottom: 7px;
  }

  .game .content ul li:first-child p {
    text-align: left;
  }

  .game .content ul li:last-child {
    justify-content: center;
    padding-bottom: 0;
  }

  .game {
    padding-top: 0%;
  }

  .game .game_event .row::after,
  .game .game_event .row::before {
    width: 80px;
    height: 80px;
  }

  .game .content p {
    text-align: start;
  }

  .game .content small {
    padding: 0 0 0 0;
  }

  .game .content .point {
    display: none;
  }

  .game .content ul li a {
    width: 200px;
  }
}

@media (max-width: 540px) {

  .game {
    padding-top: 25%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: rgb(137 84 72);
  position: relative;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

/*#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}
#footer .footer-top .footer-newsletter {
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}
#footer .footer-top .social-links {
  margin-top: 30px;
}
#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #85b0be;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .footer-top .social-links a:hover {
  background: #649aac;
  color: #fff;
  text-decoration: none;
}*/
#footer .footer-bottom {
  z-index: 2;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

/*--------------------------------------------------------------
# LOGO遮罩
--------------------------------------------------------------*/
.logo-item {
  position: relative;
  display: inline-block;
}

.coming-soon {
  position: absolute;
  inset: 0;
  /* 撐滿父層 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.coming-soon {
  position: absolute;
  inset: 0;
  /* 撐滿父層 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}


.coming-soon .pill {
  background: linear-gradient(to top, #000000, #670000);
  background: -webkit-linear-gradient(to top, #000000, #670000);
  /* 膠囊底色 */
  color: #fff;
  /* 文字顏色 */
  padding: 4px 12px;
  /* 上下 4px，左右 12px */
  border-radius: 999px;
  /* 完全圓角，形成膠囊 */
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  /* 文字不換行 */
  filter: drop-shadow(0px 0px 10px #fffeee);
  border: 2px solid #e2cb94;
}


@media (max-width: 540px) {


  .coming-soon .pill {
    font-size: 14px;
  }

}