/*
 * http://www.moonshake.com.tw/
 *
 * Copyright 2016, TANK
 *
 *
 * 2016 / 07 / 05
 */


/*-----------------------------------------------------------------------------
 [TABLE OF CONTENTS]
    +common
        =anchor
        =clear,clearfix
        =banner
    +header
        =cis
        =site-func
        =share-func
        =nav
    +content
        +content-main
        +content-sidebar
    +footer
        =footer-link
        =company-info
-----------------------------------------------------------------------------*/

/* +common
*----------------------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
}

body {
	margin:0;

	color: #fff;
	font-size: 14px;
	background-color: black!important;
}

div, h1, h2, h3, h4, h5, h6, hr, p, form, label, input, textarea, img, span, ul, li {
	text-align: left;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	word-wrap: normal;
	word-break: normal;
	line-height: 170%;
	border-width: 0;
	font-family: "微軟正黑體", "蘋果儷中黑", "Lucida Grande", "Arial", "Arial Narrow";
}

hr {
	border-top:1px #000 solid;
	margin:0 0 10px 0;
}

th {
	font-weight: normal;
}

ul, ol {
	list-style: none;
}

p.lineHeight {
	line-height:170%;
}
p.marginTop {
	margin:10px 0;
}
p.marginLeft {
	margin: 0 10px;
}

input,button,select,textarea {
	outline:none
}

img {
	max-width: 100%;
}

/**
*
* =anchor
*
**/

a:link, a:visited {
	color: #fff;
	font-weight: normal;
	text-decoration: none;
}

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

/**
*
* =clear,clearfix
*
**/

/* regular clearing apply to column that should drop below previous ones. */
.clear {
    clear: both;
}

/* this needs to be first because FF3 is now supporting this */
.clearfix {
    display: inline-block;
}

/* clearing floats without extra markup */
.clearfix:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    font-size: 0;
    content: ".";
}

/* hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
/* end hide from IE-mac */


livedemo00.template-help.com/media="screen":after, :before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/* +body
*----------------------------------------------------------------------------*/
.wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
	background: url(../images/all/img-subTopBg.png) no-repeat top center;
}

.wrapper section {
	overflow: hidden;
	margin: 10px auto;
	width: 960px;
}

.wrapper .warp {
	padding-bottom: 25px;
	background: url(../images/all/img-bottomBg.png) no-repeat bottom right;
	min-height: 390px;
}


/**
*
* =jumpDiv
*
**/
/* + 跳一  跳三
*----------------------------------------------------------------------------*/
#jumpDiv ,
#jumpIframe {
	position: relative;
	background: #fff;
	top: 0;
	left: 0;
	z-index: 1000;
}


/* + a.photo
*----------------------------------------------------------------------------*/
a.photo {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto 100%;
	display: block;
	transition: all 0.4s ease-in-out 0s;
	transform:scale(1,1);
}

a.photo img {
	width: 100%;
}


/* + form
*----------------------------------------------------------------------------*/
form fieldset {
	border: 0;
}

form fieldset input ,
form fieldset textarea {
	padding: 0 5px;
	border: 1px #565551 solid;
	background: #fff;
	border-radius: 5px;
}

form fieldset input[type="radio"] {
	box-shadow: none;
}

form fieldset input[type="button"] {
	width: 50px;
	height: 31px;
	margin-left: 10px;
	border: 0;
	background: url(../images/index/login_btn_bg.png) no-repeat 0 0;
	text-align: center;
	color: #000;
}

form fieldset input#btnAgain ,
form fieldset input.btn-submit-game ,
form fieldset input.btn-submit-password ,
form fieldset input.btn-submit-mobile {
	width: 130px;
	background: url(../images/index/login_btn_bg2.png) no-repeat 0 0;
}


/* + header
*----------------------------------------------------------------------------*/
header {
	overflow: hidden;
	background: url(../images/main/login_bg.png) no-repeat 700px top;
}

header section {
	position: relative;
}

header #cis ,
header .leftItem {
	float: left;
	width: 300px;
}

header #cis {
	margin: 15px 0;
}

header .leftItem {
	width: 660px;
}

header .leftItem .joing {
	position: absolute;
	left: 290px;
}

header .leftItem #member #memberLogin {
	margin: 10px 10px 15px;
}

header .leftItem #member #memberLogin form {
	text-align: right;
}

header .leftItem #member #memberLogin p {
	margin-right: 5px;
	display: inline-block;
}

header .leftItem #member #memberLogin p input {
	width: 110px;
}

header .leftItem #member #memberLogin p input.code {
	width: 60px;
}

header .leftItem #member #memberLogin p input#btnOKL {
	width: 50px;
	color: #fff;
}

#article .contact form fieldset input.btn-submit-login ,
#article .contact form fieldset input.button {
	color: #150c00;
}

header .leftItem #member #memberBox {
	margin: -5px 0 5px 200px;
}

header .leftItem #member #memberBox ul li {
	margin-right: 20px;
	display: inline-block;
}

header .leftItem nav {
	text-align: center;
}

header .leftItem nav ul {
	overflow: hidden;
	background: url(../images/index/menu_block.png) no-repeat 0 0;
}

header .leftItem nav ul li {
	float: left;
	width: 101px;
}

header .leftItem nav ul li a {
	width: 101px;
	height: 68px;
	display: block;
	background: url(../images/main/menu1_1.png) no-repeat 0 0;
	text-indent: -99999px;
}

header .leftItem nav ul li a:hover {
	background: url(../images/main/menu1_2.png) no-repeat 0 0;
}

header .leftItem nav ul li.news a {
	background: url(../images/main/menu2_1.png) no-repeat 0 0;
}

header .leftItem nav ul li.news a:hover {
	background: url(../images/main/menu2_2.png) no-repeat 0 0;
}

header .leftItem nav ul li.products a {
	background: url(../images/main/menu3_1.png) no-repeat 0 0;
}

header .leftItem nav ul li.products a:hover {
	background: url(../images/main/menu3_2.png) no-repeat 0 0;
}

header .leftItem nav ul li.member a {
	background: url(../images/main/menu4_1.png) no-repeat 0 0;
}

header .leftItem nav ul li.member a:hover {
	background: url(../images/main/menu4_2.png) no-repeat 0 0;
}

header .leftItem nav ul li.about a {
	background: url(../images/main/menu5_1.png) no-repeat 0 0;
}

header .leftItem nav ul li.about a:hover {
	background: url(../images/main/menu5_2.png) no-repeat 0 0;
}

header .leftItem nav ul li.point a {
	background: url(../images/main/menu6_1.png) no-repeat 0 0;
}

header .leftItem nav ul li.point a:hover {
	background: url(../images/main/menu6_2.png) no-repeat 0 0;
}


/* + sideBar
*----------------------------------------------------------------------------*/
#sideBar {
	float: left;
	width: 235px;
}

#sideBar .downloadexe a {
	width: 162px;
	height: 58px;
	display: block;
	background: url(../images/index/download_game_01.png) no-repeat 0 0;
	text-indent: -9999px;
}

#sideBar .downloadexe a:hover {
	background: url(../images/index/download_game_02.png) no-repeat 0 0;
}

#sideBar .qrcodeBlock {
	overflow: hidden;
	margin: 15px 0;
	width: 162px;
	height: 217px;
	background: url(../images/index/qrCodeBg.png) no-repeat 0 0;
	text-align: center;
}

#sideBar .qrcodeBlock h3 {
	color: #fff;
	font-size: 16px;
	text-align: center;
	line-height: 40px;
}

#sideBar .qrcodeBlock img {
	margin: 10px 0;
	text-align: center;
}

#sideBar .qrcodeBlock p ,
#sideBar .service .info p {
	text-align: center;
}

#sideBar .suggest {
	margin: 10px 0;
	width: 162px;
	height: 38px;
	background: url(../images/index/deviceBtn1.png) no-repeat 0 0;
	text-indent: -999px;
}

#sideBar .suggest:hover {
	background: url(../images/index/deviceBtn2.png) no-repeat 0 0;
}

#sideBar .service {
	overflow: hidden;
	margin: 10px 0;
	width: 162px;
}

#sideBar .service h3 {
	background: url(../images/index/service_t1.png) no-repeat 0 0;
	min-height: 30px;
	line-height: 40px;
	text-align: center;
}

#sideBar .service .info {
	overflow: hidden;
	background: #322213;
	text-align: center;
	padding-bottom:  10px;
	border-radius: 0 0 5px 5px;
}

/* + container
*----------------------------------------------------------------------------*/
#container {
	float: right;
	width: 725px;
}


/* + footer
*----------------------------------------------------------------------------*/
footer {
	overflow: hidden;
	height: 90px;
	background: url(../images/main/bg_f.png) repeat-x 0 0;
}

footer p {
	margin-top: 20px;
	color: #ccc;
	text-align: center;
}

     /*footer按鈕*/
    .ab-fixed-bottom-btn {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex !important;
  justify-content: space-around;
  padding: 8px 0;
  background: linear-gradient(180deg, #313e7aab 0%, #0f2a42 100%);
  z-index: 9999;
}

.ab-fixed-bottom-btn .ab-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 55px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #420c0c;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border: none;
}

.ab-fixed-bottom-btn .ab-btn-register {
  background-image: url('https://moonshake.com.tw/bcplay/img/register_btn.webp'); 
}

.ab-fixed-bottom-btn .ab-btn-play {
  background-image: url('https://moonshake.com.tw/bcplay/img/play_btn.webp'); 
}

.ab-btn {
  font-family: 'Noto Sans TC', sans-serif; 
  font-weight: 900;
  font-size: 18px;
  color: #000;
  text-shadow:
    1px 1px 0 #fff000,  
    -1px -1px 0 #fff000,
    1px -1px 0 #fff000,
    -1px 1px 0 #fff000,
    0 0 5px #ffcc00;     
}

@media screen and (min-width: 768px) {
  .ab-fixed-bottom-btn {
    display: none;
  }
}



/* === 全域 Footer 容器 === */
.footer-wrapper {
  padding: 40px 5% 20px;
  background-color: #000;
  color: #fff;
  font-family: "Noto Sans TC", sans-serif;
}

/* === LOGO 區塊 === */
#footer-brand {
  text-align: center;
  margin-bottom: 24px;
}
#footer-brand img {
  max-width: 220px;
  height: auto;
}

.footer-nav-links {
  text-align: center;
  margin-bottom: 30px;
}
.footer-nav-links a {
  color: #fff;
  margin: 0 12px;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav-links a:hover {
  text-decoration: underline;
}

/* === 主內容區塊：4欄 RWD Flex 版型 === */
.footer-main-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}

.footer-block {
  flex: 1 1 280px;
  min-width: 280px;
}

.footer-block h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  border-left: 3px solid #fff;
  padding-left: 10px;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-block a {
  color: #fff;
  text-decoration: none;
}
.footer-block a:hover {
  text-decoration: none;
}

/* === APP 按鈕樣式 === */
.footer-block img {
  height: 42px;
  margin: 6px 8px 0 0;
}

/* === EEAT底部區塊 === */
.footer-eeat-bottom {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid #444;
  text-align: center;
}

/* 年齡警示區 */
.eeat-18plus-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.eeat-18plus-icon {
  height: 36px;
}
.eeat-18plus-text {
  font-weight: bold;
  color: #f55;
}

/* 條款連結區 */
.eeat-policy-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.eeat-policy-links a {
  color: #ccc;
  text-decoration: none;
}

/* 認證標章圖區塊 */
.eeat-cert-logos {
  background: #222;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}
.eeat-cert-logos img {
  height: 38px;
  filter: brightness(0.95);
}

.footer-block-double ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 6px 16px;
}

@media (max-width: 600px) {
  .footer-block-double ul {
    grid-template-columns: 1fr;
  }
}

/* === RWD 手機版調整 === */
@media (max-width: 768px) {
  .footer-block-double ul {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-main-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-block {
    flex:auto;
    margin-bottom: 0px;
  }
  
  .footer-block h3 {
    font-size: 1.1rem;
  }

  .footer-block ul li {
    margin-bottom: 6px;
  }

  .footer-block img {
    height: 38px;
  }
}

@media (max-width: 600px) {
  .eeat-cert-logos img {
    height: 32px;
  }
}


@media (max-width: 767px) {
    .moonshake-ab-play-btn {
        font-size: 14px;
    }
}
.moonshake-ab-play-btn {
    display: inline-block;
    background: linear-gradient(90deg, #e22f0c, #810703, #4e0302);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 34px;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 6px #ff1a00aa, 0 0 12px #ff5500aa;
    box-shadow: 0 0 12px #e22f0c88, 0 0 8px #81070366;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.moonshake-ab-play-btn:hover {
    background: linear-gradient(90deg, #4e0302, #810703, #e22f0c); /* 顏色對稱調換 */
    box-shadow: 0 0 20px #ff3300aa, 0 0 14px #e22f0caa;
    transform: translateY(-2px) scale(1.02);
    color: #fff !important;
    text-shadow: 0 0 8px #fff000aa, 0 0 10px #ff6600cc;
}


.ab-play-btn {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #ffd000 !important;
text-shadow:
    0 0 4px #fff8cc,
    0 0 10px #ff9900,
    0 0 18px #ff5500,
    2px 2px 4px #000;
}
