/* ============ Base / Reset ============ */
:root{
	--mgasia-secondary-button-border-color: linear-gradient(-40deg, #31b6e9, #00ff01);
	--mgasia-secondary-button-hover-background: linear-gradient(-40deg, #31b6e9, #00ff01);
	--mgasia-secondary-button-hover-text-color: #1f1f1f;
	--mgasia-secondary-button-background: transparent;
	--mgasia-secondary-button-text-color: #000;
	--mgasia-secondary-button-radius: 60px;
    --timing-function: ease-in-out;
}
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }


body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", Arial, sans-serif;
  color: #111;
  background: #fff;
}

img { display: block; width: 100%; height: auto; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; transition: 200ms ease all; }
a:active, a:focus { outline: none; }
/* buttons */

input[type=submit],
input[type=reset],
input[type=button],
button,.button {
  border:none;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  height: 30px;
  padding: 5px 10px;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  vertical-align: middle;
  -webkit-appearance: none;
	-moz-appearance: none}
.container { width: min(1366px, calc(100% - 40px)); margin: 0 auto; }

.relative { position: relative !important; }
.textLeft{text-align: left!important}
/* utility */
.opacityzero { opacity: 0; pointer-events: none; }

/* ============ Common text sizing (grouped) ============ */
.nav a,
.menu_anchor a,
.quick-btn,
.tabs-lite,
.intro-desc,
.game-card p,
.panel-desc,
.section-sub,
.duel-grid p,
.duel-grid ol li,
.info-card p,
.label {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 200;
}

.panel-title,
.section-title,
.data-title,
.interactive h3 {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
}

.intro-text h1,
.duel-grid h2,
.info-card h3,
.game-card h3 {
  font-size: 26px;
  font-weight: 900;
}

.panel-desc,
.section-sub,
.game-card p,
.intro-desc,
.info-card p,
.label,
.data-title {
  color: #333;
}

/* ============ Common layout helpers (grouped) ============ */
input[type=submit],
input[type=reset],
input[type=button],
button,
.button-panel,
.header-inner,
.logo,
.menu,
.nav a,
.nav li,
.nav,
.quick-btn,
.media-box,
.game-card,
.info-card,
.footer-eighteen,
.menu_anchor,
.menu_anchor ul,
.card-back,
.footer-links a,
.form,
.lightbox,
.form-input-title,
.alert,
.afterLogin,
.userInfo,
.amount,
.dropdown-item,
.dropdown-link,
.check,
.circle{
  display: flex;
  align-items: center;
}

.header-inner { justify-content: space-between; }

.logo,
.quick-btn,
.media-box,
.info-card,
.footer-links a {
  justify-content: center;
}
.gray{color:#ccc}
label {
  display: block;
}
label > input[type=checkbox] {
  display: none;
}
.check{width:auto}
.check-1 {
  transfrom: translatex(-50%) translatey(-50%);
  width: 70px;
  height: 30px;
  border-radius: 50px;
  position: relative;
	transform: scale(.8)
}

.check-1 .inner {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid #e8e8e8;
  background: #f9f9f9;
  transition: all 0.2s ease;
}

.check-1 .bullet {
  position: relative;
  width: 25px;
  height: 25px;
  background: #eee;
  border-radius: 50%;
  transition: all 0.3s ease;
  top: 2px;
  left: 2px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}

.check-1 input:checked ~ .inner {
  border: 15px solid #2ecc71;
  transition: all 0.2s ease;
}
.check-1 input:checked + p{color:#2ecc71}
.check-1 input:checked ~ .bullet {
  left: 23px;
  transition: all 0.3s ease;
  animation: 0.2s bullet;
}
.check p{width:100%;font-size:14px;color:#919191}
.check p.green{color:#2eb165}
@keyframes bullet {
  0%, 100% {
    width: 25px;
  }
  40% {
    width: 30px;
  }
}
/* ============ Back to top ============ */
.back_to_top {
  position: fixed;
  right: 5em;
  bottom: 5em;
  z-index: 9999;
  display: block;
  opacity: 0;
  pointer-events: auto;
  transition: transform 1s cubic-bezier(.230,1,.320,1), opacity 1s cubic-bezier(.230,1,.320,1);
}

.btBackToTop .back_to_top {
  opacity: 1;
  pointer-events: initial;
}

.back_to_top .back_to_top_button {
  background: #181818;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  width: 2.5em;
  height: 2.5em;
  position: relative;
}

.toTop { position: relative; width: 30px; z-index: 2; }
.toTop.black { filter: brightness(0); }

.back_to_top .back_to_top_button:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: #fff;
  transform: scaleY(0);
  transform-origin: top;
  transition: 300ms ease transform;
}

/* hover effects (grouped, including your alternate class name just in case) */
.back_to_top .back_to_top_button:hover,
.back_to_top .bt_back_to_top_button:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.back_to_top .back_to_top_button:hover:after {
  transform: scaleY(1);
  transform-origin: bottom;
}

/* 若你真的有 bt_back_to_top_button 這個 class，補上文字變色 */
.back_to_top .bt_back_to_top_button:hover { color: #000; }
.parallax {
  background-position: center top;
  background-repeat: no-repeat;
}
/* ============ Header ============ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: #dcdcdc;
  z-index: 100;
}
.header:after {
    content: '';
    position: absolute;
    top: inherit;
    left: 0;
    bottom: -4px;
    right: 0;
    border-bottom: 4px #000 solid;
	z-index:-1;
}
.header-inner {
  height: 70px;
  width: min(1366px, calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  width: 200px;
  height: 60px;
  border-radius: 6px;
  background: #565656;
  font-weight: 700;
  color: #fff;
}
.amount,.afterLogin{border-radius:100px;}
.afterLogin{position:relative;background:#c8c8c8;padding:4px;}
.afterLogin,.amoun{flex-direction:row;}
.userInfo{flex-direction:column;margin:0 5px;}
.afterLogin img{width:50px;height:50px}
.afterLogin:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 240px;
    list-style: none;
    padding: 12px 0;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-item{flex-direction:column}
.dropdown-link{padding:10px 0;width:100%;justify-content: center}
.dropdown-link:hover{background:#efefef;text-indent:.5pc;}
.amount{position:relative;padding:4px 1px;background:#aeaeae;width:170px;}
.amount img{position:absolute;width:20px;height:20px;margin:0 5px}
.amount span{margin-left:28px;}
.amount .refresh-btn {
	right:0;
  cursor: pointer;
  transition: opacity .2s ease;
  transform-origin: 50% 50%;
}
/* opacity .5 */
.amount.is-loading .refresh-btn {
  opacity: .3;
}

/* 3) 數字 opacity .5 */
.amount.is-loading .amount-num {
  opacity: .2;
}

/* 2) 按鈕慢速旋轉（持續轉，2秒後由JS停掉） */
.amount.is-loading .refresh-btn {
  animation: spin 1s linear infinite;
}
.signout-button{color:#000;}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.user{opacity:.8;}
.logo.small { width: 200px; height: 50px; }

.menu { display: flex; flex-direction: row; height:100%;}
.nav { margin-right: 40px; height:100%;}

.nav ul { display: flex; gap: 16px; margin-left: auto; height:100%; align-items: center;}
.nav li{height:100%;}
.nav a {
  padding: 6px 20px;
  font-weight: 300; /* 讓 nav 不受上面通用 font-weight:200 影響 */
  font-size: 20px;
	height:100%;
}
.nav a:hover{background:#c3c3c3}
.nav a:active{background:#666;color:#fff}
.nav li.current a { background: #111; color: #fff; font-weight:700;}

.login button,
.language button {
  height: 55px;
  width: 55px;
  padding: 0 12px;
  border-radius: 100px;
  border: 1px solid #bfbfbf;
  background: #eee;
  cursor: pointer;
}
.login button{
	background:url("../img/user_login.png") no-repeat 0 0 /100% 100%;
	opacity:.8;transition:.3s
}
.login button:hover{opacity:1}
.login button:active{filter:invert(100%)}
/* ============ Banner / Swiper ============ */
.banner { padding-top: 70px; background: #9a9a9a; }

.classicGames { position: relative; overflow: hidden; width: 100%; }

.classicGames .classicGames-wrapper {
  display: flex;
  transform: translate3d(0,0,0);
  transition: transform 650ms ease;
  will-change: transform;
}

.classicGames .classicGames-list { min-width: 100%; }

.banner .swiper-slide img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

/* swiper nav group */
.swiper-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.35);
  cursor: pointer;
  z-index: 2;
}

.swiper-nav.prev { left: 12px; }
.swiper-nav.next { right: 12px; }

.swiper-nav:before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}

.swiper-nav.next:before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.swiper-pagination {
  position: absolute;
  left: 0; right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.swiper-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.25);
  cursor: pointer;
}

.swiper-dot.is-active { background: rgba(255,255,255,.95); }

/* Banner quick buttons row */
.banner-quick { background: #9a9a9a; padding: 18px 0 22px; }
.banner-quick .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-btn {
  height: 44px;
  background: #d7d7d7;
  border-radius: 4px;
  border: 1px solid #bdbdbd;
  font-size: 18px;
  font-weight: 400; /* 避免被通用 font-weight:200 影響 */
}

/* ============ Menu Anchor ============ */
.menu_anchor {
  width: 100%;
  justify-content: center;
  background: #888;
  z-index: 11;
}

.menu_anchor ul {
  width: min(1200px, calc(100% - 40px));
  justify-content: center;
  gap: 18px;
  padding: 12px 0;
}

.menu_anchor a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
  font-weight: 400; /* anchor 字重通常要正常 */
}
.menu_anchor a:hover{
  background: rgba(255,255,255,.3);
}
.menu_anchor a:active{
  background: rgba(0,0,0,.7);
}
.menu_anchor a.current {
  background: rgba(0,0,0,.35);
  transform: translateY(-1px);
}

/* Sticky：黏在 header 下方 + margin-top:70px */
.menu_anchor.is-sticky {
  position: fixed;
  left: 0; right: 0;
  top: 0;
  margin-top: 70px;
}

/* ============ Common sections ============ */
section { position: relative; }

.introduce { background: #f7f7f7; height: 620px; }

.list_classic,
.list_duel,
.list_interactive {
  background: transparent;
  margin-top: -200px;
  z-index: 2;
}
.list_duel{background:url("../img/parallax_duelTitle.jpg")}
.duelTitle {
  background: #efefef;
  height: 600px;
  display: flex;
  align-items: center;
  margin-top: -200px;
}

.brand {
  background: #e8e8e8;
  margin-top: -200px;
  display: flex;
  align-items: flex-end;
}

.cooperate {
  background: #ddd;
  height: 440px;
  display: flex;
  align-items: flex-start;
  padding-top: 60px;
}

.data {
  background-image: url("../img/parallax_data.jpg");
	background-size: cover;
  height: 650px;
  display: flex;
  align-items: flex-end;
  margin-top: -200px;
  padding-bottom: 50px;
}

/* ============ Introduce layout ============ */
.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 44px 0;
}

.period.year {
  position: absolute;
  font-size: 230px;
  font-weight: bold;
  opacity: 0.06;
  left: 50%;
  top: -50px;
  margin-top: 0;
  letter-spacing: -15px;
}

.period.year b {
  font-size: 186px;
  position: relative;
  top: -15px;
  letter-spacing: -15px;
}

.period.year.TwoThousandTen { margin-left: -244px; top: 150px; }
.period.year.TwoThousandThirteen { margin-left: -244px; top: 246px; }
.period.year.twothousandandfifteen { margin-left: -244px; top: -50px; }
.period.twoThousandSix { margin-left: -426px;top: 40px;}

.intro-text h1 { margin: 0 0 10px; font-weight: 800; }
.intro-desc { margin: 0 0 10px;font-weight:400}

.intro-media { display: flex; justify-content: flex-end; }

.media-box {
  width: 430px;
  height: 320px;
  background: #bdbdbd;
  border-radius: 50px;
  color: #222;
  font-weight: 700;
	overflow:hidden
}
.media-box img{max-width:100%;height:100%}
.eighteen { width: 30px; height: 30px; margin-right: 20px; }

/* ============ Panels ============ */
.panel { border-radius: 50px; padding: 40px; }
.panel-light { background: #dedede; }
.panel-dark { background: #7a7a7a; color: #fff; }

.panel-title { margin: 0 0 8px; }
.panel-desc { margin: 0 0 50px; text-align: center; }

.tabs-lite {
  justify-content: center;
  margin-bottom: 14px;
  color: #111;
  font-weight: 700;
}
.swiper-button-next, .swiper-button-prev{color:#fff}
.swiper-button-next:after, .swiper-button-prev:after{
	font-size:30px;
}.swiper-button-next, .swiper-button-prev{
	background:rgba(0,0,0,.2);transition:.3s
}
.swiper-button-next:hover, .swiper-button-prev:hover{
	background:rgba(0,0,0,.4);
}
.swiper-button-next:active, .swiper-button-prev:active{
	background:rgba(0,0,0,.9);
}
.swiper-button-next{right:0}.swiper-button-prev{left:0;}
.card-back button{
	font-size: 20px;
    background: #ccc;
    transition: .3s;
    cursor: pointer;
    font-weight: 500;
    height: 60px;
    color: #000;}
.card-back button:hover{background:#fff}
/* ============ Triple cards =
=========== */
.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}
.parallax{min-height:500px}
.game-card {
  position: relative;
  background: #f2f2f2;
  border-radius: 14px;
  padding: 14px;
  color: #111;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
}
.game-card .swiper {
  width: 100%;
	height:344px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.game-card .swiper-slide {
  border-radius: 14px;
  overflow: hidden;
  background: #cfcfcf;
  height: 344px;
  width: 100%;
}
.card-fade {position:relative;overflow: hidden;}
.card-back {position:absolute;left:0;bottom:0;width:100%;height:100%;background:rgba(0,0,0,.4);color:#fff;flex-direction:column;justify-content:space-around;font-size:18px;font-weight:200;padding:25px;text-align: center;will-change:transform;transform: translateY(100%);transition: transform 0.15s ease;z-index: 1}
.card-fade .card-front{position:relative;z-index:0;transition:.3s}
/* 升起覆蓋 */
.card-fade.is-in .card-back{
  transform: translateY(0);
}
.card-fade.is-in>.card-front{filter:blur(10px);transform:scale(1.2);opacity:.5}
/* 往上離開 */
.card-fade.is-out .card-back{
  transform: translateY(-100%);
}

/* 重置到下方（不跑動畫） */
.card-fade.is-reset .card-back{
  transition: none;
  transform: translateY(100%);
}
.game-card .swiper-slide img { height: 100%; max-width:100%;object-fit: cover; }

.game-card h3 { margin: 12px 0 6px; text-align: center; }
.game-card p { margin: 0 0 12px; text-align: center; }

/* Section titles */
.section-title { margin: 0; }
.section-sub { margin: 10px auto 0; text-align: center; max-width: 1024px; }
.section-sub.clone{box-decoration-break: clone;background: rgb(14 22 49 / 60%);display:inline;color:#fff;}
/* ============ Duel layout ============ */
.duel-grid { display: grid; grid-template-rows: auto 1fr; gap: 10px; }

.duel-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 28px;
  padding: 20px;
}

.top-left {
  display: grid;
  align-items: center;
  grid-template-rows: auto 1fr;
  gap: 0;
}

.top-right {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.duel-bottom {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 28px;
  margin-bottom: 40px;
}

.bottom-left {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.bottom-right {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  align-items: center;
}

.duel-grid h2 { margin: 0 0 10px; }
.duel-grid p,
.duel-grid ol li { margin: 0 0 12px; }

ol { margin: 0 0 10px; padding: 0; }
ol li { margin: 0 0 2px; list-style-position: inside; }

.duel-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.duel-right img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  background: #9b9b9b;
}

.duel-big { width: 300px; height: 300px; overflow: hidden;border-radius: 40px; }
.interactive .duel-small { width: 200px; height: 200px;border-radius: 20px; }
.interactive .duel-small img{height:200px;}
.interactive .duel-big { width: 300px; height: 300px; }
.duel-big img { height: 100%; max-width: 100%; }
.duel-small img { height: 150px; }
.interactive{
	background-image:url("../img/parallax_tvshow.jpg");
	background-size: cover;
	z-index: 2;padding:90px 0;
}
.interactive .top-left,
.interactive .bottom-right { grid-template-rows: 1.2fr 1fr; }

.interactive .bottom-left { grid-template-columns: repeat(3, 1fr); }

.interactive .top-right { grid-template-columns: repeat(3, 1fr); gap: 15px; }
/* ============ Brand row ============ */
.brand .container{margin-top:300px;padding-top:50px}
.brand-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.brand.fixed{background:url("../img/parallax_brand.jpg") no-repeat fixed center center / cover;}
.brand-card {
  border-radius: 18px;
  overflow: hidden;
  background: #cfcfcf;
  height: 300px;
  width: 300px;
}

.brand-card img { height: 100%; max-width: 100%; object-fit: cover; }

.spacing { display: flex; justify-content: center; margin:50px auto; }

/* ============ Cooperate cards ============ */
.cooperate-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  background: #cfcfcf;
  border-radius: 50px;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.info-card h3 { margin: 0 0 8px; }
.info-card p { margin: 0; text-align: center; }

/* ============ Data counters ============ */
.data-title {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 980px;
  line-height: 1.2;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  height: 160px;
}

.stat { text-align: center; }

.num {
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}

.label { margin-top: 8px; font-weight: 600; }

/* ============ Footer ============ */
.footer { background: #333; color: #fff; padding: 80px 0; }

.footer p { font-size: 14px; font-weight: 200; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;align-items: center;
}

.footer-eighteen {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 900;
  display: flex;
  align-items: center;
}

.footer-text.small { font-size: 11px; opacity: 0.75; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.footer-links a {
  height: 84px;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    font-size: 20px;
    padding: 0;
    text-align: center;
    line-height: 80px;
}
.footer-links a{flex-direction:row;overflow:hidden;position:relative;transition:.3s;}
.footer-links a img.rotate{position:absolute;left:-20px;opacity:.15;top:-10%;width:100px;transform:rotate(20deg);transition:.3s;}
.footer-links a:hover{ font-size: 22px;background: rgba(255, 255, 255, .2);}
.footer-links a:hover img.rotate{width:110px;top:-20%;}
/* popup */
.overlay {
   display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 1001;
	transition:.3s;
}
.lightbox {
   display: none;
    position: fixed;
    background: #fff;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 20px;
    top: 50%;
    left: 50%;
    z-index: 1002;
	justify-content: center;
	flex-direction: column;
	transition:.3s;
}
.overlay.is-open,
.lightbox.is-open {
  display: flex;
  pointer-events: auto;
}

.popup.is-open {
	transition:.3s;
  transform: translate(-50%, -50%) scale(1);
}
.lightbox-close{position:absolute;top:0;right:0;width:60px;height:60px;transition:.3s;background:transparent;cursor:pointer;}
.lightbox-close:hover{background:#efefef;border-radius: 20px;}
.lightbox-close:after{content:"";position:absolute;left:35%;top:35%;width:20px;height:20px;background:url("../img/close.png") no-repeat center center /100% 100%;}
.form{justify-content: center;flex-direction: column;width:250px;margin:0 auto}
.form-input{width:100%;position:relative;}
.form-input>input{
    background: transparent;
    border: none;
    text-align: left;
    font-size: 14px;
    padding: 8px 0;
    outline: none;
    width: 100%;
    caret-color: #00e348;
	color: #000;
    border-bottom: 1px solid #bfbfbf;
}
#popup,#popup-signout {
	padding: 25px 0;
	width:500px;
	margin-left:-250px;
}
#popup{
	height:450px;
	margin-top:-225px;
}
#popup-signout{
	height:280px;
	margin-top:-140px;
	padding-top:60px;
}
.lightbox h3 {
	font-size: 30px;
    font-weight: 700;
    color: #000;
    padding: 20px;
	text-align:center;
	margin: 0;
}
.lightbox p {text-align:center}
.form-input-title{
    font-size: 14px;
    color: #a7a7a7;
	margin:20px 0 0 0;
}
.button-panel{
	position:relative;
	overflow:hidden;
	width:50%;
	height:57px;
	margin:20px auto;
	justify-content: center;
}
#popup-signout .button-panel{
	width:70%;
}
.form-button{
	position:relative;
	overflow: hidden;
	background: var(--mgasia-secondary-button-background, transparent);
	color: var(--mgasia-secondary-button-text-color, #fff);
    padding: 20px 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    display: flex;
    border-radius: var(--mgasia-secondary-button-radius, 60px);
    border: none;
    z-index: 0;
    cursor: pointer;
    font-weight: 400;
    line-height: 1;
	width:100%;
	font-size:20px;
	height:57px;
}
.form-button::after{
	position:absolute;
	top:0;
	width:100%;
	height:100%;
	content:"";
	transition:all .3s ease-in-out;
	transform: translateX(-115%);
	background: var(--mgasia-secondary-button-hover-background, transparent);
	pointer-events: none;
    z-index: -1;}
.form-button:hover::after {
	transform: translateX(0);
    color: var(--mgasia-secondary-button-hover-text-color, #1f1f1f);
}
.circle{position:absolute;top:0;opacity:0;width:100%;height:57px;background:rgba(110,226,111,.85);border-radius:100px;z-index:3;justify-content: center;transition: opacity .3s ease;z-index:0}
.circle.opaque {
  opacity: 1;z-index:3
}
.circle img{width:30px;height:30px;animation: spin 1s linear infinite;}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.form-button:before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: var(--mgasia-secondary-button-border-color, linear-gradient(-40deg, #31b6e9, #00ff01));
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #000));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}
.form-input>.alert{position:absolute;right:0;bottom:22px;;width:20px;height:20px}
.form-input>input.error{
    border-bottom: 1px solid #ff3f3f;
}
.form-input-error {
    font-size: 12px;
	margin:0;
    color: #ff3f3f;
}
/* ============ Button glow ============ */
.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 20px 30px;
  border-radius: 999px;
  border: 3px solid #111;
  overflow: hidden;
  user-select: none;
  background: transparent;
}
.button-panel .btn-glow{padding:13px 45px;margin:0 20px}
.button-panel .btn-glow.opacity-3{opacity:.3}
.panel-dark .btn-glow { border-color: #fff; }

.btn-text {
  position: relative;
  z-index: 2;
  font-weight: 900;
  font-size: 18px;
}

.btn-bg {
  position: absolute;
  inset: -2px;
  transform: translateX(-115%);
  background: #111;
  transition: transform 0.35s ease;
  z-index: 1;
}

.panel-dark .btn-bg { background: #fff; }
.panel-dark .btn-text { color: #fff; }
.panel-dark .btn-glow:hover .btn-text { color: #111; }

.btn-glow:hover .btn-bg { transform: translateX(0%); }
.btn-glow:hover .btn-text { color: #fff; }

.btn-glow.small {
  height: 44px;
  padding: 30px 20px;
  position: absolute;
  bottom: 30px;
}

.btn-glow.small.defaultBottom { bottom: 0; }
.btn-glow.small.defaultBottom.w-30 { width: 40%; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .banner-quick .container { grid-template-columns: 1fr 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .duel-grid { grid-template-columns: 1fr; }
  .interactive-grid { grid-template-columns: 1fr; }
  .triple { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: 1fr 1fr; }
  .cooperate-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .banner .swiper-slide img { height: 320px; }
}
