@charset "UTF-8";
/* 思源黑體 CN，預設細體 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}

body, div, dl, dt, dd, ul, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, figure {
  margin: 0;
  padding: 0;
}

button {
  background: none;
  border: 0;
  box-sizing: content-box;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  overflow: visible;
  vertical-align: inherit;
}

button:focus {
  outline: none;
}

ol {
  margin: 0;
}

iframe {
  width: 100%;
}

iframe, img {
  border: 0;
}

ul {
  list-style: none;
}

.clear {
  clear: both;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

.m_5 {
  margin-bottom: 5px;
}

.m_10 {
  margin-bottom: 10px;
}

.m_15 {
  margin-bottom: 15px;
}

.m_20 {
  margin-bottom: 20px;
}

.m_25 {
  margin-bottom: 25px;
}

.m_30 {
  margin-bottom: 30px;
}

.m_35 {
  margin-bottom: 35px;
}

.m_40 {
  margin-bottom: 40px;
}

.m_45 {
  margin-bottom: 45px;
}

.m_50 {
  margin-bottom: 50px;
}

.m_55 {
  margin-bottom: 55px;
}

.m_60 {
  margin-bottom: 60px;
}

.m_65 {
  margin-bottom: 65px;
}

.m_70 {
  margin-bottom: 70px;
}

.m_75 {
  margin-bottom: 75px;
}

.m_80 {
  margin-bottom: 80px;
}

.m_85 {
  margin-bottom: 85px;
}

.m_90 {
  margin-bottom: 90px;
}

.m_95 {
  margin-bottom: 95px;
}

.m_100 {
  margin-bottom: 100px;
}

.block {
  display: block;
}

.t-align-center {
  text-align: center;
}

.t-align-left {
  text-align: left;
}

.fz_80 {
  font-size: 5em;
}

.fz_50 {
  font-size: 3.125em;
}

.fz_30 {
  font-size: 1.563em;
}

.fz_25 {
  font-size: 1.563em;
}

.fz_20 {
  font-size: 1.25em;
}

.w100 {
  width: 100%;
}

.w90 {
  width: 90%;
}

.w80 {
  border-radius: 30px 0 0 30px;
  background-color: #f89c00;
  width: 80%;
}

.w70 {
  width: 70%;
}

.w60 {
  width: 60%;
}

.w55 {
  width: 55%;
}

.w50 {
  width: 50%;
}

.w40 {
  width: 40%;
}

.w30 {
  width: 30%;
}

.w25 {
  width: 25%;
}

.w20 {
  width: 20%;
}

.w15 {
  width: 15%;
}

.w10 {
  width: 10%;
}

.w9 {
  width: 9%;
}

.w8 {
  width: 8%;
}

.w7 {
  width: 7%;
}

.w6 {
  width: 6%;
}

.w5 {
  width: 5%;
}

.w4 {
  width: 4%;
}

.m_10 {
  margin-bottom: 10px;
}

.m_20 {
  margin-bottom: 20px;
}

.m_30 {
  margin-bottom: 30px;
}

.m_40 {
  margin-bottom: 40px;
}

.m_50 {
  margin-bottom: 50px;
}

.m_60 {
  margin-bottom: 60px;
}

.m_70 {
  margin-bottom: 70px;
}

.m_80 {
  margin-bottom: 80px;
}

.m_90 {
  margin-bottom: 90px;
}

.m_100 {
  margin-bottom: 100px;
}

.m_110 {
  margin-bottom: 110px;
}

.m_120 {
  margin-bottom: 120px;
}

.m_130 {
  margin-bottom: 130px;
}

.m_140 {
  margin-bottom: 140px;
}

.m_150 {
  margin-bottom: 150px;
}

.m_160 {
  margin-bottom: 160px;
}

.m_170 {
  margin-bottom: 170px;
}

.m_180 {
  margin-bottom: 180px;
}

.m_190 {
  margin-bottom: 190px;
}

.m_200 {
  margin-bottom: 200px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-md-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: rgba(102, 102, 102, 0.8);
  border-radius: 10px;
}

/* Handle on hover */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  font-family: "Noto Sans SC", sans-serif;
}
body.hidden {
  overflow: hidden;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1455px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}

.fa-bars {
  transform: scaleY(0.8); /* 水平壓縮讓線條看起來更細 */
}

h1 {
  font-size: clamp(40px, 3vw, 72px);
  font-weight: 700; /* 粗體 */
  margin: 10px 0 20px 0;
  line-height: 100%;
}

h2 {
  font-weight: 700; /* 粗體 */
  margin: 10px 0 20px 0;
  line-height: 100%;
}

.link_btn {
  background: #009fe8;
  border-radius: 5px;
  color: white;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
  padding: 5px 30px;
}
.link_btn:hover {
  background: #ea6100;
}

.title {
  color: black;
  text-align: center;
  margin-bottom: clamp(20px, 2.5vw, 60px);
}
.title h1 {
  font-size: clamp(30px, 3vw, 40px);
}
.title h2 {
  font-size: clamp(30px, 4vw, 45px);
}
.title h3 {
  font-size: clamp(16px, 1.5vw, 18px);
}
.title p {
  font-size: clamp(16px, 1.5vw, 18px);
}

.bg_g {
  background: #ededed;
}

.breadcrumb {
  margin-top: 87px;
  background: #e8f6fc;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}
.breadcrumb .current {
  color: #2eaf3b;
  font-weight: 600;
}
@media (max-width: 1200px) {
  .breadcrumb {
    margin-top: 68px;
  }
}

.gotop {
  position: fixed;
  bottom: 10%;
  right: 20px;
  z-index: 9;
  display: none;
}
.gotop a {
  display: block;
  position: relative;
  background: no-repeat center;
  background-size: cover;
  background-image: url(../images/icon_arrow-top.png);
  width: 60px;
  height: 59px;
}
.gotop a:hover {
  background-image: url(../images/icon_arrow-top-h.png);
}
@media (max-width: 768px) {
  .gotop a {
    width: 45px;
    height: 44px;
  }
  .gotop a:hover {
    background-image: url(../images/icon_arrow-top.png);
  }
}

header {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, #0b37a1, #1b1a6f);
  padding: 15px;
  position: relative;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .container .logo-img {
  height: 50px;
  width: auto;
}
.navbar .container .nav-container {
  display: flex;
  align-items: center;
}
.navbar .container .nav-links {
  display: flex;
  gap: 30px;
  margin-right: 30px;
  align-items: center;
}
.navbar .container .nav-links li {
  position: relative;
}
.navbar .container .nav-links li:hover, .navbar .container .nav-links li.active {
  color: #fff45c;
}
.navbar .container .nav-links li:hover::after, .navbar .container .nav-links li.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: calc(100% - 20px);
  height: 2px;
  background-color: #fff45c;
}
.navbar .container .nav-links li.language {
  border: 1px white solid;
  border-radius: 10px;
}
.navbar .container .nav-links li.language a {
  gap: 13px;
}
.navbar .container .nav-links li.language a ul li a {
  display: flex;
  gap: 15px;
}
.navbar .container .nav-links li > a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 20px;
  position: relative;
  display: flex;
  align-items: center;
}
.navbar .container .nav-links li.sub ul {
  display: none;
  min-width: 100%;
  position: absolute;
  top: 48px;
  left: 0;
  padding: 5px 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
  width: -moz-max-content;
  width: max-content;
  white-space: nowrap;
}
.navbar .container .nav-links li.sub ul li {
  display: block;
}
.navbar .container .nav-links li.sub ul li > a {
  color: #434343;
  padding: 10px 15px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-decoration: none;
  display: block;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.navbar .container .nav-links li.sub ul li > a:hover {
  background-color: #fffcda;
  color: #eb6100;
}
.navbar .container .nav-links li.sub ul li > a:hover::after {
  display: none;
}
.navbar .container .nav-links li.sub:hover ul {
  display: block;
}
.navbar .container .nav-links li.sub.has-submenu > a::after {
  content: "";
  display: block;
  width: 18px;
  height: 10px;
  background: url(../images/icon_arrow.png) no-repeat;
  background-size: contain;
  margin: 8px 0 0 10px;
  position: static;
}
.navbar .container .hamburger {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
@media (min-width: 767px) {
  .navbar .container .nav-links {
    display: flex;
  }
}
@media (max-width: 1200px) {
  .navbar {
    padding: 5px;
    background: #003aa5;
  }
  .navbar .container .nav-links {
    height: calc(100vh - 6px);
    overflow-y: auto;
    position: fixed;
    top: 67px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #003aa5;
    flex-direction: column;
    text-align: center;
    z-index: 1000;
    display: none;
  }
  .navbar .container .nav-links.active {
    display: flex;
  }
  .navbar .container .nav-links li {
    width: 100%;
  }
  .navbar .container .nav-links li:hover:after {
    height: 0;
  }
  .navbar .container .nav-links li.active {
    color: white;
  }
  .navbar .container .nav-links li.active:after {
    background-color: white;
    max-width: 200px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .navbar .container .nav-links li.language {
    border: 0;
  }
  .navbar .container .nav-links li.language .submenu.active li {
    float: left;
    width: 25%;
  }
  .navbar .container .nav-links li.language .submenu.active:after {
    content: "";
    display: table;
    clear: both;
  }
  .navbar .container .nav-links li a {
    font-size: 30px;
    padding: 10px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navbar .container .nav-links li.sub .submenu {
    display: none;
    background: #003aa5;
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
  }
  .navbar .container .nav-links li.sub .submenu li a {
    padding: 10px;
    font-size: 18px;
    color: #fff;
  }
  .navbar .container .nav-links li.sub .submenu li:nth-child(odd) {
    background-color: #4f6ab3;
  }
  .navbar .container .nav-links li.sub .submenu li:nth-child(even) {
    background-color: #3b55a6;
  }
  .navbar .container .hamburger {
    display: block !important;
    color: #fff;
    font-size: 40px;
    font-weight: 100;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }
}

.game-card {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10px;
}
.game-card > img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: filter 0.3s ease;
}
.game-card h3 {
  color: #009fe8;
  padding: 10px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 18px;
  text-align: center;
}
.game-card .overlay {
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  padding: 20px;
  background-color: rgba(219, 229, 250, 0.95);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.game-card .overlay .top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.game-card .overlay .top .tt {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.game-card .overlay .top .icon {
  background: #003aa5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  gap: 5px;
}
.game-card .overlay .top .icon img {
  width: auto;
}
.game-card .overlay .top .icon p {
  color: white;
  font-size: 12px;
}
.game-card .overlay ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 5px 0;
}
.game-card .overlay ul li {
  text-align: center;
  width: 33.33%;
}
.game-card .overlay ul li p {
  font-size: clamp(11px, 3vw, 13px);
  color: #666;
  margin: 0;
}
@media (max-width: 768px) {
  .game-card .overlay ul li p {
    font-size: 15px;
  }
}
.game-card .overlay ul li span {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  display: block;
  margin-top: 2px;
}
.game-card .demo-play-btn {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffcc29;
  color: #362e2b;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: clamp(16px, 3vw, 18px);
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.game-card:hover img {
  filter: blur(3px);
}
.game-card:hover .overlay {
  transform: translateY(100%);
}
.game-card:hover .demo-play-btn {
  opacity: 1;
}

.owl-carousel {
  margin-bottom: clamp(20px, 3vw, 70px);
}

/* Owl Carousel 導航箭頭左右定位 */
.owl-carousel .owl-nav {
  margin: 0;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%; /* 垂直居中 */
  transform: translateY(-50%);
  background: url(../images/icon_arrow-r.png) no-repeat;
  width: 30px;
  height: 66px;
  background-size: contain;
  border: none;
  cursor: pointer;
}
.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span {
  display: none;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: url(../images/icon_arrow-r-h.png) no-repeat;
  background-size: contain;
}
.owl-carousel .owl-nav button.owl-prev {
  left: -60px;
  transform: translateY(-50%) scaleX(-1);
}
.owl-carousel .owl-nav button.owl-next {
  right: -60px;
}

/* 斷點：螢幕寬度小於 1600px 時，箭頭位置調整 */
@media (max-width: 1600px) {
  .owl-carousel .owl-nav button.owl-prev {
    left: -2%;
  }
  .owl-carousel .owl-nav button.owl-next {
    right: -2%;
  }
}
@media (max-width: 768px) {
  .owl-item {
    padding: 0px 50px;
  }
}
.hero-banner {
  margin-top: 3%;
  width: 100%;
  height: 0;
  padding-bottom: 46%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.hero-banner .banner-title {
  width: 90%;
  position: absolute;
  left: 50%;
  bottom: clamp(8%, 3vw, 11%);
  transform: translate(-50%, 0);
}
.hero-banner .banner-title .banner-logo {
  max-width: 200px;
  margin-bottom: 20px;
}
.hero-banner .banner-title h1,
.hero-banner .banner-title h2 {
  text-shadow: -2px -2px 1px #112388, -2px -1px 1px #112388, -2px 0px 1px #112388, -2px 1px 1px #112388, -2px 2px 1px #112388, -1px -2px 1px #112388, -1px -1px 1px #112388, -1px 0px 1px #112388, -1px 1px 1px #112388, -1px 2px 1px #112388, 0px -2px 1px #112388, 0px -1px 1px #112388, 0px 0px 1px #112388, 0px 1px 1px #112388, 0px 2px 1px #112388, 1px -2px 1px #112388, 1px -1px 1px #112388, 1px 0px 1px #112388, 1px 1px 1px #112388, 1px 2px 1px #112388, 2px -2px 1px #112388, 2px -1px 1px #112388, 2px 0px 1px #112388, 2px 1px 1px #112388, 2px 2px 1px #112388;
}
.hero-banner .banner-title h1 {
  font-size: clamp(45px, 3.65vw, 70px);
}
.hero-banner .banner-title h2 {
  font-size: clamp(25px, 3vw, 30px);
  color: #fff;
}
@media (max-width: 1200px) {
  .hero-banner {
    padding-bottom: 100%;
  }
}
@media (max-width: 768px) {
  .hero-banner {
    padding-bottom: 130%;
    margin-top: 65px;
  }
}

.game-showcase {
  padding: clamp(0px, 5vw, 40px) 0;
}
.game-showcase .btn {
  text-align: center;
}

.owl-theme .owl-nav [class*=owl-]:hover {
  background: none;
}

.about-section {
  padding: clamp(20px, 6vw, 60px) 0;
  color: #535353;
}
.about-section .section-title {
  font-size: 32px;
  font-family: "Noto Sans SC", sans-serif;
  text-align: center;
  margin-bottom: 30px;
}
.about-section .tab-nav {
  max-width: 550px;
  margin: 0 auto clamp(10px, 5vw, 60px);
  background: white;
  border-radius: 30px;
  padding: 5px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.about-section .tab-nav .about-tab-button {
  width: 100%;
  color: #535353;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.about-section .tab-nav .about-tab-button.active {
  background-color: #003aa5;
  color: white;
}
.about-section .btn {
  margin-top: 40px;
}

.tab-content {
  height: 488px;
  background: white;
  border-radius: 20px;
  padding: 73px;
}
.tab-content .about-tab-pane {
  display: none;
}
.tab-content .about-tab-pane.active {
  display: block;
}
.tab-content .about-tab-pane .content-wrapper {
  display: flex;
  gap: 40px;
}
.tab-content .about-tab-pane .content-wrapper.function {
  flex-direction: row-reverse;
}
.tab-content .about-tab-pane .content-wrapper .text-content {
  flex: 1;
  color: #535353;
}
.tab-content .about-tab-pane .content-wrapper .text-content h3 {
  font-size: clamp(25px, 3vw, 40px);
  font-weight: bold;
  margin-bottom: 20px;
}
.tab-content .about-tab-pane .content-wrapper .text-content strong {
  font-size: clamp(20px, 3vw, 24px);
  margin-bottom: 10px;
  display: block;
}
.tab-content .about-tab-pane .content-wrapper .text-content p {
  font-size: clamp(16px, 3vw, 18px);
  font-family: "Noto Sans SC", sans-serif;
  line-height: 1.6;
  margin-bottom: 20px;
}
.tab-content .about-tab-pane .content-wrapper .text-content .learn-more-btn {
  display: inline-block;
  background-color: #009fe8;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.tab-content .about-tab-pane .content-wrapper .text-content .learn-more-btn:hover {
  background: #ea6100;
}
.tab-content .about-tab-pane .content-wrapper .image-content {
  flex: 1;
  position: relative;
}
.tab-content .about-tab-pane .content-wrapper .image-content img {
  position: absolute;
  right: 0;
  top: -99px;
}

@media (max-width: 1200px) {
  .tab-content {
    height: auto;
    padding: 20px 20px 0 20px;
  }
  .tab-content .about-tab-pane .content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .tab-content .about-tab-pane .content-wrapper.function {
    flex-direction: column;
  }
  .tab-content .about-tab-pane .content-wrapper .image-content {
    position: static;
  }
  .tab-content .about-tab-pane .content-wrapper .image-content img {
    position: static;
    max-width: 100%;
    height: auto;
    display: block;
  }
}
.why-lm-section {
  padding: clamp(20px, 6vw, 60px) 0;
}
.why-lm-section .container {
  max-width: 1050px;
}
.why-lm-section .container .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-lm-section .container .feature-card {
  position: relative;
  perspective: 1000px;
  height: 350px;
}
.why-lm-section .container .feature-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.why-lm-section .container .feature-card .card-inner .card-front,
.why-lm-section .container .feature-card .card-inner .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.why-lm-section .container .feature-card .card-inner .card-front {
  background-color: #ededed;
}
.why-lm-section .container .feature-card .card-inner .card-front .img {
  width: 165px;
  height: 165px;
  background: white;
  border: 1px #535353 solid;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.why-lm-section .container .feature-card .card-inner .card-front h3 {
  font-size: clamp(18px, 3vw, 22px);
  text-align: center;
}
.why-lm-section .container .feature-card .card-inner .card-back {
  background-color: #dfe9ff;
  box-shadow: 0 9px 0px #003aa5;
  color: black;
  transform: rotateY(180deg);
}
.why-lm-section .container .feature-card .card-inner .card-back p {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: bold;
  text-align: left;
  line-height: 2.5;
}
.why-lm-section .container .feature-card:hover .card-inner {
  transform: rotateY(180deg);
}
.why-lm-section .container .feature-card:nth-of-type(6) img {
  max-width: 100px;
}
@media (max-width: 1200px) {
  .why-lm-section .container .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .why-lm-section .container .features-grid .feature-card {
    height: 280px;
  }
  .why-lm-section .container .features-grid .feature-card .card-inner .card-front .img {
    width: 100px;
    height: 100px;
  }
  .why-lm-section .container .features-grid .feature-card .card-inner .card-front .img img {
    max-width: 60px;
  }
  .why-lm-section .container .features-grid .feature-card .card-inner .card-back {
    padding: 5px;
  }
  .why-lm-section .container .features-grid .feature-card .card-inner .card-back p {
    line-height: 150%;
  }
}

.statistics-section {
  background-color: #dfe9ff;
  padding: clamp(20px, 6vw, 60px) 0;
  color: #fff;
}
.statistics-section .stats-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}
.statistics-section .stats-wrapper .stats-image {
  max-width: 630px;
  flex: 1;
  text-align: center;
}
.statistics-section .stats-wrapper .stats-content {
  flex: 1;
  text-align: center;
}
.statistics-section .stats-wrapper .stats-content img {
  margin-bottom: 20px;
}
.statistics-section .stats-wrapper .stats-content .section-title {
  color: black;
  font-size: clamp(25px, 3vw, 35px);
}
.statistics-section .stats-wrapper .stats-content .stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 75px 120px;
}
.statistics-section .stats-wrapper .stats-content .stats-grid .stat-item .number {
  color: #003aa5;
  font-size: clamp(50px, 3vw, 50px);
  font-weight: bold;
  display: flex;
  justify-content: center;
}
.statistics-section .stats-wrapper .stats-content .stats-grid .stat-item .stat-description {
  color: #535353;
  font-size: clamp(18px, 3vw, 25px);
}
@media (max-width: 1200px) {
  .statistics-section {
    padding: 20px 0;
  }
  .statistics-section .stats-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
  .statistics-section .stats-wrapper .stats-content .stats-grid {
    gap: 30px 116px;
  }
}

.main-section {
  padding: 20px 0;
}
.main-section .main-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 20px;
  align-items: stretch;
  /*遊戲資訊*/
}
.main-section .main-grid .left-block {
  background-color: #dfe9ff;
  color: white;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.main-section .main-grid .left-block .img {
  width: 100%; /* Adjust width as needed, e.g., 50% or a fixed value like 565px */
  position: relative; /* Required for padding-bottom technique */
  padding-bottom: 77.25%; /* Adjust this value based on the image's aspect ratio */
  overflow: hidden; /* Ensure overflow is hidden */
  margin-bottom: 10px;
}
.main-section .main-grid .left-block .img img {
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures the image covers the container */
}
.main-section .main-grid .news-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  flex: 1;
  height: 100%;
}
.main-section .main-grid .news-card .top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.main-section .main-grid .news-card .top .news-label {
  border-radius: 10px;
  background: #003aa5;
  font-size: clamp(16px, 3vw, 18px);
  padding: 5px 15px;
}
.main-section .main-grid .news-card .top .news-label a {
  color: white;
}
.main-section .main-grid .news-card .top .news-detail {
  display: inline-block;
  font-size: clamp(18px, 3vw, 18px);
  font-weight: bold;
  color: black;
}
.main-section .main-grid .news-card .top .news-detail .arrow {
  display: inline-block; /* Allows transform on the arrow */
  transition: transform 0.3s ease;
}
.main-section .main-grid .news-card .top .news-detail:hover .arrow {
  transform: translateX(10px); /* Moves only the arrow 10px to the right */
}
.main-section .main-grid .news-card .news-date {
  font-size: clamp(16px, 3vw, 18px);
  margin-bottom: clamp(15px, 3vw, 30px);
  color: #363636;
}
.main-section .main-grid .news-card .news-title {
  margin-top: auto;
}
.main-section .main-grid .news-card .news-title a {
  font-size: 20px;
  font-weight: bold;
  color: #363636;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.main-section .main-grid .right-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%; /* 確保 right-block 填滿其父容器的高度 */
}
.main-section .main-grid .right-block .top-right-block,
.main-section .main-grid .right-block .bottom-right-grid {
  display: flex; /* 可選：如果內部需要進一步的 flex 佈局 */
}
.main-section .main-grid .right-block .top-right-block {
  background-color: #dfe9ff;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  gap: 30px;
}
.main-section .main-grid .right-block .top-right-block .img {
  max-width: 315px;
  width: 100%; /* Adjust width as needed, e.g., 50% or a fixed value like 565px */
  position: relative; /* Required for padding-bottom technique */
  padding-bottom: 33%;
  overflow: hidden; /* Ensure overflow is hidden */
}
.main-section .main-grid .right-block .top-right-block .img img {
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures the image covers the container */
}
.main-section .main-grid .right-block .top-right-block .news-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.main-section .main-grid .right-block .top-right-block .news-card .top {
  margin-bottom: 15px;
}
.main-section .main-grid .right-block .top-right-block .news-card .top .news-label {
  background-color: #003aa5;
}
.main-section .main-grid .right-block .top-right-block .news-card .top .news-label a {
  color: white;
}
.main-section .main-grid .right-block .top-right-block .news-card .news-date {
  color: #535353;
}
.main-section .main-grid .right-block .top-right-block .news-card .news-title {
  margin-top: auto;
}
.main-section .main-grid .right-block .top-right-block .news-card .news-title a {
  color: #535353;
}
.main-section .main-grid .right-block .top-right-block .news-card .news-detail {
  color: black;
}
.main-section .main-grid .right-block .bottom-right-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card {
  background-color: #dfe9ff;
  border-radius: 10px;
  padding: 20px;
  gap: 10px;
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .top {
  margin-bottom: 15px;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .top .news-label {
  background-color: #003aa5;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .top .news-label a {
  color: white;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .news-date {
  color: #535353;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .news-title {
  margin-top: auto;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .news-title a {
  color: #535353;
}
.main-section .main-grid .right-block .bottom-right-grid .news-card .news-detail {
  color: black;
}
.main-section .main-grid .right-block .bottom-right-grid .all-news-button {
  background-color: #009fe8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-section .main-grid .right-block .bottom-right-grid .all-news-button .news-card {
  background: no-repeat;
  padding: 0;
  flex: inherit;
  gap: 0px;
  height: auto;
}
.main-section .main-grid .right-block .bottom-right-grid .all-news-button .news-card a {
  color: white;
}
.main-section .main-grid.focus .left-block {
  background-color: #003aa5;
}
.main-section .main-grid.focus .left-block .top .news-label {
  background: white;
}
.main-section .main-grid.focus .left-block .top .news-label a {
  color: #003aa5;
}
.main-section .main-grid.focus .left-block .news-date,
.main-section .main-grid.focus .left-block .news-title a,
.main-section .main-grid.focus .left-block .news-detail {
  color: white;
}
@media (max-width: 1200px) {
  .main-section .main-grid {
    display: flex;
    flex-direction: column;
  }
  .main-section .main-grid .left-block {
    display: block;
  }
  .main-section .main-grid .right-block .top-right-block {
    flex-direction: column;
    gap: 0;
  }
  .main-section .main-grid .right-block .top-right-block .img {
    max-width: inherit;
    padding-bottom: 77%;
    margin-bottom: 10px;
  }
  .main-section .main-grid .right-block .bottom-right-grid {
    display: flex;
    flex-direction: column;
  }
  .main-section .main-grid .right-block .bottom-right-grid .all-news-button .news-card .top {
    margin: 0;
    padding: 15px 0;
  }
  .main-section .main-grid .news-card .top {
    margin: 0;
  }
}

.partners-section {
  padding: 40px 0;
  text-align: center;
  color: #fff;
}
.partners-section .partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.partners-section .partners-grid .partner-logo a {
  background-color: #fff;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partners-section .partners-grid .partner-logo a img {
  max-height: 80px;
  filter: grayscale(100%);
}
.partners-section .partners-grid .partner-logo a:hover {
  background: #009fe8;
}
.partners-section .all-partners-button {
  background-color: #003aa5;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 20px;
}
.partners-section .all-partners-button:hover {
  background: #ea6100;
}
@media (max-width: 1200px) {
  .partners-section {
    padding: 20px 0;
  }
  .partners-section .container .title {
    margin: 0;
  }
  .partners-section .container .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .partners-section .container .partners-grid .partner-logo a img {
    max-height: 45px;
  }
  .partners-section .all-partners-button {
    margin-top: 0;
  }
}
.partners-section.media .partners-grid .partner-logo a {
  background: #f4f3f9;
}
.partners-section.media .partners-grid .partner-logo a:hover {
  background: #009fe8;
}

.md .md-modal {
  max-width: 900px;
  width: calc(100vw - 50px);
  background: white;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  transform: translate(-50%, -50%);
  visibility: hidden;
  box-shadow: 0 0 16px 4px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  backface-visibility: hidden;
}
.md .md-modal .md-content {
  padding: 10px;
  position: relative;
  margin: auto;
}
.md .md-modal .md-content video {
  width: 100%;
  max-height: 550px;
  height: 100%;
}
@media (max-width: 500px) {
  .md .md-modal .md-content video {
    max-height: 400px;
  }
}
.md .md-close {
  color: white;
  background: black;
  font-size: 45px;
  display: flex;
  position: absolute;
  top: -54px;
  right: 10px;
  border-radius: 50%;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 1;
  z-index: 2100;
}
.md .md-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  visibility: hidden;
  opacity: 0;
  z-index: 1999;
  transition: all 0.3s ease;
}
.md.active .md-modal {
  visibility: visible;
}
.md.active .md-overlay {
  visibility: visible;
  opacity: 0.8;
}
.md.active .md-close {
  visibility: visible;
  right: 1px;
}

.md_download .md-modal {
  max-width: 520px;
  border-radius: 20px;
}
.md_download .md-modal .md-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.md_download .md-modal .md-content img {
  opacity: 0;
  transition: opacity 0.8s ease;
  max-width: 100%;
  height: auto;
}
.md_download.active .md-content img {
  opacity: 1;
}

.contact-section {
  background-color: #fff;
  padding: 20px 0;
  position: relative;
}
.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}
.contact-section .contact-grid .contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* 預設排法：Grid */
  /* layout-5: 特例，用 Flex 包兩排 */
}
.contact-section .contact-grid .contact-left .title {
  margin-bottom: 25px;
  max-width: 565px;
  width: 100%;
  margin: auto;
  margin-bottom: 20px;
}
.contact-section .contact-grid .contact-left .title .contact-subtitle {
  font-size: 20px;
  color: #333;
  text-align: left;
}
.contact-section .contact-grid .contact-left select {
  margin-bottom: 20px;
  padding: 5px 10px;
}
.contact-section .contact-grid .contact-left .qr-code-item {
  border: 1px #ccc solid;
  border-radius: 5px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-direction: column;
  gap: 5px;
}
.contact-section .contact-grid .contact-left .qr-code-item .qr-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.contact-section .contact-grid .contact-left .qr-code-item .qr-actions .qr-link {
  color: white;
  display: block;
  border-radius: 5px;
  padding: 5px 8px;
  width: 100%;
  text-align: center;
}
.contact-section .contact-grid .contact-left .qr-code-item .qr-actions .qr-link[data-type=contact] {
  background: #dd2e28;
}
.contact-section .contact-grid .contact-left .qr-code-item .qr-actions .qr-link[data-type=contact]:hover {
  background: #b71c1c;
}
.contact-section .contact-grid .contact-left .qr-code-item .qr-actions .qr-link[data-type=share] {
  background: #5990e0;
}
.contact-section .contact-grid .contact-left .qr-code-item .qr-actions .qr-link[data-type=share]:hover {
  background: #3367c1;
}
.contact-section .contact-grid .contact-left .qr-code-list:not(.layout-5) {
  display: grid;
  gap: 20px;
  justify-items: center;
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-1 {
  grid-template-columns: repeat(1, 1fr);
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-2 {
  grid-template-columns: repeat(2, 1fr);
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-3 {
  grid-template-columns: repeat(3, 1fr);
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-4 {
  grid-template-columns: repeat(2, 1fr);
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-6 {
  grid-template-columns: repeat(3, 1fr);
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-section .contact-grid .contact-left .qr-code-list.layout-5 .row {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.contact-section .contact-grid .contact-right {
  text-align: center;
}
.contact-section .contact-grid .contact-right img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .contact-section .container .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .contact-section .container .contact-left .qr-code-list.layout-1,
  .contact-section .container .contact-left .qr-code-list.layout-2,
  .contact-section .container .contact-left .qr-code-list.layout-3,
  .contact-section .container .contact-left .qr-code-list.layout-4,
  .contact-section .container .contact-left .qr-code-list.layout-5,
  .contact-section .container .contact-left .qr-code-list.layout-6 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .contact-section .container .contact-left .qr-code-list.layout-1 li,
  .contact-section .container .contact-left .qr-code-list.layout-2 li,
  .contact-section .container .contact-left .qr-code-list.layout-3 li,
  .contact-section .container .contact-left .qr-code-list.layout-4 li,
  .contact-section .container .contact-left .qr-code-list.layout-5 li,
  .contact-section .container .contact-left .qr-code-list.layout-6 li {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px;
  }
}
.contact-section select {
  position: absolute;
  top: 0;
}

footer {
  background: linear-gradient(to bottom, #003aa4, #1b1a70); /* 垂直漸層 */
  color: #fff;
  padding: 40px 0;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 629px 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
footer .footer-grid .footer-company {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .footer-grid .footer-company .logo {
  display: flex;
  align-items: center;
  padding-left: 10px;
  gap: 15px;
}
footer .footer-grid .footer-company .logo h2 {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: bold;
  margin: 0;
}
footer .footer-grid .footer-company .sitemap_btn {
  display: none;
  color: white;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 100%;
}
@media (max-width: 1600px) {
  footer .footer-grid .footer-company .sitemap_btn {
    display: block;
  }
}
footer .footer-grid .footer-company p {
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}
footer .footer-grid .footer-company .footer-social {
  display: flex;
  gap: 15px;
}
footer .footer-grid .footer-company .footer-social a {
  background: #454545;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .footer-grid .footer-company .footer-social a:hover {
  background: #009746;
}
footer .footer-grid .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
  max-width: 180px;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  align-items: center;
}
footer .footer-grid .footer-nav h3 a {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
footer .footer-grid .footer-nav a {
  color: #fff;
  font-size: clamp(16px, 3vw, 18px);
}
footer .footer-grid .footer-nav a:hover {
  color: #009fe8;
}
footer .footer-copyright {
  text-align: center;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}
@media (max-width: 1600px) {
  footer .footer-grid {
    display: flex;
    flex-direction: column;
  }
  footer .footer-grid .footer-nav {
    display: none;
  }
}

.sort-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 60px;
}
.sort-container label {
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  color: #434343;
  margin-right: 10px;
}
.sort-container .dropdown {
  position: relative;
}
.sort-container .dropdown .dropdown-toggle {
  width: 195px;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}
.sort-container .dropdown .dropdown-toggle .arrow {
  float: right;
}
.sort-container .dropdown .dropdown-menu {
  display: none;
  position: absolute;
  width: 100%;
  margin-top: 4px;
  background-color: #f0f8ff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.sort-container .dropdown .dropdown-menu.open {
  display: block;
}
.sort-container .dropdown .dropdown-menu .section {
  font-weight: bold;
  font-size: clamp(16px, 3vw, 18px);
  padding: 4px 12px;
  background-color: #b8e2f9;
  text-align: center;
}
.sort-container .dropdown .dropdown-menu .radio-option {
  display: flex;
  align-items: center;
  padding: 4px 12px;
  cursor: pointer;
}
.sort-container .dropdown .dropdown-menu .radio-option input[type=radio] {
  margin-right: 8px;
}

.news_pages .container .title {
  text-align: left;
}
.news_pages .container .banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-bottom: clamp(40px, 5vw, 70px);
}
@media (max-width: 768px) {
  .news_pages .container .banner figcaption {
    text-align: center;
  }
}
.news_pages .container .button-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 20px;
}
.news_pages .container .button-list .button-item {
  background: #f0f0f0;
  color: black;
  height: 135px;
  border-radius: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.news_pages .container .button-list .button-item img {
  margin-bottom: 4px;
}
.news_pages .container .button-list .button-item img:nth-of-type(2) {
  display: none;
}
.news_pages .container .button-list .button-item.active {
  background: #0047ab;
  color: white;
}
.news_pages .container .button-list .button-item.active img {
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .news_pages .container .button-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .news_pages .container .btn {
    padding: 15px;
  }
  .news_pages .container .btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px;
  }
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 40px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #434343;
}
.divider span {
  padding: 0 20px;
  color: #434343;
  font-size: 16px;
  white-space: nowrap;
}

.news_main li:nth-child(even) {
  direction: rtl; /* 設置第二個 <li> 從右到左排列 */
}
.news_main li:nth-child(even) .top-right-block {
  flex-direction: row-reverse;
}
.news_main li:nth-child(even) .top-right-block .top {
  flex-direction: row-reverse;
}
.news_main li:nth-child(even) .left-block .top {
  flex-direction: row-reverse;
}

.news_contents .information {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.news_contents .information .date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 3vw, 24px);
}
.news_contents .information ul {
  display: flex;
  gap: 10px;
}
.news_contents .information ul li a {
  width: 30px;
  height: 30px;
  background: #009fe8;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news_contents .information ul li a img {
  max-width: 19px;
}
.news_contents .information ul li a:hover {
  background: #ea6100;
}
.news_contents h2,
.news_contents h3,
.news_contents p {
  margin-block-start: 1em;
  margin-block-end: 1em;
}
.news_contents h2 {
  font-size: clamp(30px, 4.17vw, 35px);
}
.news_contents h3 {
  font-size: clamp(23px, 4.17vw, 25px);
}
.news_contents p {
  font-size: 18px;
  line-height: 190%;
}
.news_contents ul {
  padding-left: 5vw;
}
.news_contents ul li {
  list-style: disc;
}
.news_contents hr {
  margin-bottom: clamp(20px, 5vw, 40px);
}
.news_contents .toc-box {
  max-width: 500px;
  width: 100%;
}
.news_contents .toc-box .toc-title {
  padding: 2px 30px;
  border-radius: 15px 15px 0 0;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: bold;
  background: #009fe8;
  color: white;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.news_contents .toc-box .toc-title::after {
  content: "";
  background: url(../images/news/page/icon/arrow.png) no-repeat center center;
  background-size: contain;
  width: 30px;
  height: 18px;
  transition: transform 0.3s ease;
  transform: scaleY(-1);
}
.news_contents .toc-box .toc-title.active::after {
  transform: scaleY(1);
}
.news_contents .toc-box .toc-list {
  border: 1px #aaa solid;
  padding: 5px 10px;
  border-radius: 0 0 15px 15px;
  display: none;
}
.news_contents .toc-box .toc-list li {
  margin-bottom: 5px;
  font-size: clamp(16px, 3vw, 18px);
  position: relative;
  cursor: pointer;
  list-style: none;
}
.news_contents .toc-box .toc-list li:hover {
  color: #009fe8;
}
@media (max-width: 1400px) {
  .news_contents .toc-box {
    position: relative;
    max-width: inherit;
  }
}
.news_contents .box {
  display: flex;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.news_contents .box .content {
  max-width: 1000px;
  font-size: 18px;
  line-height: 190%;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: clamp(20px, 5vw, 30px);
}
table tr:nth-child(odd) {
  background-color: #dce0e9;
}
table td,
table th {
  border: 1px solid #ccc;
}
table th {
  background-color: #2e3778;
  color: white;
  padding: 10px;
}
table td {
  padding: 10px;
  vertical-align: middle;
}
table td img {
  display: block;
  margin: 0 auto 10px;
}
table td a {
  color: #b1742a;
}
table td a:hover {
  text-decoration: underline; /* 滑入時顯示底線 */
}

.nesw_list {
  margin-bottom: clamp(20px, 5vw, 30px);
}
.nesw_list .main-grid {
  display: block;
}
.nesw_list .main-grid .right-block .top-right-block .img {
  max-width: 530px;
  padding-bottom: 19%;
}
.nesw_list .main-grid .right-block .top-right-block .news-card {
  flex: 1;
}
.nesw_list .main-grid.two {
  display: flex;
}
.nesw_list .main-grid.two .right-block {
  /* flex: 1; */
  flex: 1;
  display: flex;
  flex-direction: column;
  height: auto;
}
.nesw_list .main-grid.two .right-block .top-right-block .img {
  max-width: 389px;
}
@media (max-width: 1200px) {
  .nesw_list .main-grid .right-block .top-right-block .img {
    max-width: inherit;
    padding-bottom: 77.25%;
  }
}

.news_pages .main-grid .right-block .top-right-block .news-card .top {
  margin-bottom: clamp(0px, 1vw, 35px);
}
.news_pages .main-grid .right-block .top-right-block .news-card .news-date {
  margin-bottom: clamp(0px, 1vw, 56px);
}
@media (min-width: 1200px) {
  .news_pages .main-grid .right-block .top-right-block .img {
    margin: 0;
  }
}

.company_page .about-section .tab-content .about-tab-pane {
  display: block;
}
.company_page .about-section .trusted-section {
  text-align: center;
  padding: clamp(20px, 6vw, 60px) clamp(10px, 4vw, 20px);
  background: #ffffff;
  color: black;
}
.company_page .about-section .trusted-section .trusted-logo {
  margin-bottom: 20px;
}
.company_page .about-section .trusted-section .trusted-logo img {
  width: 120px;
}
.company_page .about-section .trusted-section h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: bold;
  margin: 30px 0 60px;
}
.company_page .about-section .trusted-section .trusted-stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 5fr;
  justify-content: center;
}
.company_page .about-section .trusted-section .trusted-stats .stat-item {
  border-right: 1px solid #ccc;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.company_page .about-section .trusted-section .trusted-stats .stat-item img {
  margin-bottom: 10px;
}
.company_page .about-section .trusted-section .trusted-stats .stat-item p {
  font-size: clamp(50px, 3vw, 50px);
  font-weight: 800;
  margin: 10px 0;
}
.company_page .about-section .trusted-section .trusted-stats .stat-item h3 {
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.4;
}
.company_page .about-section .trusted-section .trusted-stats .stat-item:last-child {
  border-right: none;
  padding-right: 0;
}
@media (max-width: 1024px) {
  .company_page .about-section .trusted-section .trusted-stats {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .company_page .about-section .trusted-section .trusted-stats .stat-item {
    border: 0;
    padding-right: 0;
    padding-bottom: 20px;
  }
  .company_page .about-section .trusted-section .trusted-stats .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    grid-column: span 2;
  }
}

.intro-section {
  box-shadow: 0 9px 0px #cccccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #dfeaff;
  border-radius: 20px;
  padding: clamp(15px, 3vw, 50px);
  margin-bottom: 60px;
  gap: 20px;
}
.intro-section .intro-text {
  flex: 1;
  min-width: 300px;
}
.intro-section .intro-text h1 {
  font-size: clamp(28px, 5vw, 45px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #363636;
}
.intro-section .intro-text h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #363636;
}
.intro-section .intro-text p {
  font-size: clamp(16px, 3vw, 18px);
  color: #363636;
  margin-bottom: 24px;
  line-height: 1.8;
}
.intro-section .intro-text .features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.intro-section .intro-text .features-list li {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333;
}
.intro-section .intro-text .features-list li i {
  color: #09BA7C;
  margin-right: 10px;
}
.intro-section .intro-text .intro-button {
  display: inline-block;
  background: #003ba7;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}
.intro-section .intro-text .intro-button:hover {
  background-color: #ea6100;
}
.intro-section .intro-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}
.intro-section .intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.intro-section.reverse {
  flex-direction: row-reverse;
}

.why-choose-section .why-choose-content .text-area {
  flex: 1 1 300px;
}
.why-choose-section .why-choose-content .text-area h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #000;
  font-weight: 700;
}
.why-choose-section .why-choose-content .text-area .btn-contact {
  display: inline-block;
  background-color: #0b5ed7;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}
.why-choose-section .why-choose-content .text-area .btn-contact:hover {
  background-color: #084298;
}
.why-choose-section .why-choose-content .image-area {
  flex: 1 1 300px;
  text-align: center;
}
.why-choose-section .why-choose-content .image-area img {
  max-width: 100%;
  height: auto;
}

.about-section .tab-content .about-tab-pane .content-wrapper .text-content h3 {
  font-size: clamp(25px, 3vw, 35px);
  margin-bottom: 10px;
  display: block;
}

h2.partners {
  font-size: clamp(30px, 4vw, 40px);
}

.game_pages .container .button-list {
  grid-template-columns: repeat(3, 1fr);
}
.game_pages .container .button-list p {
  font-size: 20px;
}
@media (max-width: 768px) {
  .game_pages .container .button-list {
    grid-template-columns: 1fr 15px 1fr;
    grid-template-rows: 1fr 15px 1fr;
    gap: 0;
  }
  .game_pages .container .button-list .button-item:nth-child(1) {
    grid-column: span 3;
  }
  .game_pages .container .button-list .button-item:nth-child(2) {
    grid-row: 3/span 1;
  }
  .game_pages .container .button-list .button-item:nth-child(3) {
    grid-column: 3/span 1;
    grid-row: 3/span 1;
  }
  .game_pages .container .button-list .btn {
    padding: 15px;
  }
  .game_pages .container .button-list .btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px;
  }
}

.game_title h2 {
  font-size: 40px;
}

.game_list {
  margin-bottom: clamp(10px, 5vw, 20px);
}
.game_list ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
@media (max-width: 1200px) {
  .game_list ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .game_list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .game_list ul li .game-card .overlay {
    padding: 5px;
  }
  .game_list ul li .game-card .overlay ul {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .game_list ul li .game-card .overlay ul li {
    width: 33.33%;
  }
  .game_list ul li .game-card .overlay ul li p {
    font-size: 10px;
    margin: 0;
  }
  .game_list ul li .game-card .overlay ul li span {
    font-size: 12px;
    font-weight: 600;
  }
}

.game-detail .introduce {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: clamp(20px, 3vw, 60px);
}
.game-detail .introduce .txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.game-detail .introduce .txt .top .title {
  margin-bottom: 20px;
}
.game-detail .introduce .txt .top .game-subtitle {
  font-size: clamp(16px, 3vw, 18px);
  margin-bottom: clamp(20px, 3vw, 60px);
  font-weight: 500;
}
.game-detail .introduce .txt .top .game-description {
  font-size: 18px;
  margin-bottom: 15px;
}
.game-detail .introduce .txt .demo-button {
  background-color: #009fe8;
  color: #fff;
  display: flex;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  font-size: 20px;
}
.game-detail .introduce .txt .demo-button i {
  margin-left: 6px;
}
.game-detail .introduce .txt .demo-button:hover {
  background: #ea6100;
}
.game-detail .introduce .game-banner {
  order: 2;
}
.game-detail .overview-box {
  background: #eeeeee;
  padding: 20px 30px;
  border-radius: 12px;
}
.game-detail .overview-box .title h2 {
  font-size: clamp(26px, 2.5vw, 30px);
  margin-bottom: -25px;
}
.game-detail .overview-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}
.game-detail .overview-grid {
  display: flex;
  justify-content: space-between;
  color: #535353;
  font-size: 20px;
}
.game-detail .overview-grid .left {
  flex: 0 0 33.33%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 20px;
}
.game-detail .overview-grid .left .value {
  font-weight: bold;
}
.game-detail .overview-grid .right {
  flex: 0 0 50%;
}
.game-detail .overview-grid .right .system,
.game-detail .overview-grid .right .language {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.game-detail .overview-grid .right .system li,
.game-detail .overview-grid .right .language li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.game-detail .overview-grid .right .system {
  margin-bottom: 20px;
}
.game-detail .overview-grid .right .language {
  gap: 10px 18px;
}
@media (max-width: 768px) {
  .game-detail .introduce {
    flex-direction: column;
  }
  .game-detail .introduce .game-banner {
    order: -1;
    margin-bottom: 0px;
  }
  .game-detail .overview-box .overview-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.demo-button {
  background-color: #3490dc;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-size: 20px;
}

.demo-button:hover {
  background-color: #2779bd;
}

.play-icon {
  margin-left: 8px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-container {
  position: relative;
  width: calc(100% - 6rem);
  height: calc(100% - 6rem);
  margin: 3rem;
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1010;
  border: none;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background-color: white;
}

.game-feature {
  margin-bottom: clamp(20px, 5vw, 30px) h2;
  margin-bottom-font-size: clamp(26px, 2.5vw, 30px);
  margin-bottom-margin-bottom: -25px;
}

.game_menu {
  max-width: 1300px;
  margin: auto;
  background: #e0ebff;
  padding: 0 80px;
}
.game_menu .owl-carousel {
  margin-bottom: 0;
}
.game_menu .owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}
.game_menu .owl-carousel .owl-nav button.owl-prev,
.game_menu .owl-carousel .owl-nav button.owl-next {
  width: 25px;
  height: 41px;
  background: url(../images/game/icon_arrow.png);
}
.game_menu .owl-carousel .owl-nav button.owl-prev {
  left: -3%;
}
.game_menu .owl-carousel .owl-nav button.owl-next {
  right: -3%;
}
.game_menu .owl-carousel .tab-item {
  text-align: center;
  padding: 10px;
  background: none;
  border-radius: 12px;
  margin: 5px;
  cursor: pointer;
  text-align: center;
}
.game_menu .owl-carousel .tab-item.active {
  background: #003aa5;
  color: white;
}
.game_menu .owl-carousel .owl-carousel.owl-loaded {
  display: flex;
  justify-content: center;
}
@media (max-width: 1600px) {
  .game_menu {
    padding: 0 50px;
  }
}

.content-page {
  display: none;
  width: 100%;
  overflow: hidden;
}
.content-page .image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
  height: auto;
  aspect-ratio: 7/4;
  margin: auto;
  overflow: hidden;
  max-height: 680px;
}
.content-page .image-wrapper img,
.content-page .image-wrapper video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.content-page p {
  max-width: 1300px;
  margin: auto;
  background: #e0ebff;
  padding: 15px;
  font-size: clamp(16px, 3vw, 18px);
}
.content-page.active {
  display: block;
}
@media (max-width: 500px) {
  .content-page .image-wrapper {
    aspect-ratio: 7/3.6;
  }
}

.faq-container .faq {
  overflow: hidden;
}
.faq-container .faq .question {
  padding: clamp(10px, 3vw, 15px) clamp(0.1px, 1vw, 20px);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.8s;
}
.faq-container .faq .question h3 {
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: bold;
  margin: 0;
}
.faq-container .faq .toggle {
  flex-shrink: 0; /* 防止縮小 */
  width: 36px;
  height: 36px;
  background: url(../images/game/2+.jpg);
}
.faq-container .faq.active .question {
  color: #009fe8;
}
.faq-container .faq.active .toggle {
  background: url(../images/game/1-.png);
}

.answer {
  display: none;
  overflow: hidden;
  padding: 0 20px;
}
.answer p {
  font-size: 18px;
}
@media (max-width: 767px) {
  .answer {
    padding: 0;
  }
  .answer p {
    font-size: 16px;
  }
}

.colored-text {
  color: #0099ff;
}

.sitemap_title h1 {
  font-size: clamp(35px, 4.5vw, 45px);
  font-weight: 800;
}
.sitemap_title h2 {
  font-size: clamp(25px, 3.5vw, 35px);
  font-weight: 700;
}
.sitemap_title h2 a {
  color: black;
}

.sitemap {
  border-bottom: 1px black solid;
  padding-bottom: 30px;
}
.sitemap__list {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.sitemap__item {
  max-width: 358px;
  width: 100%;
}
.sitemap__title {
  display: block;
  margin-bottom: 0.5rem;
  color: black;
  background-color: #eaf6fc;
  padding: 10px 10px 10px 35px;
}
.sitemap__title a {
  color: black;
  font-size: clamp(25px, 3.5vw, 35px);
  font-weight: 700;
}
.sitemap__submenu-item {
  padding: 0.25rem 0;
  cursor: pointer;
}
.sitemap__submenu-item a {
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 100%;
  color: black;
  display: block;
  width: 100%;
  padding: 10px 10px 10px 65px;
  position: relative;
}
.sitemap__submenu-item a::before {
  content: "";
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: black;
  border-radius: 50%;
}
@media (max-width: 1400px) {
  .sitemap .sitemap__list {
    flex-direction: column;
    gap: 2rem;
  }
  .sitemap .sitemap__item {
    max-width: 100%;
  }
}

.error-page {
  border-bottom: 1px black solid;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}
.error-page h2 {
  font-size: clamp(35px, 4.17vw, 60px);
  font-weight: 800;
}
.error-page p {
  font-size: clamp(20px, 4.17vw, 30px);
  font-weight: 600;
}