/* 基礎設定 */
* {
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* 背景設定 */
html, body {
	width: 100%;
	height: auto;
	font-size: 16px;
	line-height: 16px;
	font-family: 'Noto Sans TC', sans-serif;
	color: #333;
	background-image: url("../assets/bg.jpg");
	background-repeat: no-repeat;
	background-position: top center;
	background-color: #faa9a2;
}
html {
	background-color: #FFFFFF;
}
/* 最外層設定 */
.rwd_outer {
	width: 1000px;
	margin: 0 auto;
}
.rwd_outer img {
	display: block;
	width: 100%;
	height: auto;
}
/* 各區外層設定 */
.rwd_outer .title_outer, .rwd_outer .game_outer, .rwd_outer .social_outer, .rwd_outer .info1_outer, .rwd_outer .info2_outer, .rwd_outer .info3_outer, .rwd_outer .banner_outer {
	position: relative;
	width: 100%;
	text-align: center;
}
/* 主標設定 */
.rwd_outer .title_outer > div { display: block;}
.rwd_outer .title_outer > div.mobile { display: none;}
/* 遊戲區設定 */
.rwd_outer .game_outer {
	background-image: url("../assets/game_bg1.png");
	-webkit-background-size:contain;
	background-size: contain;
	padding:8% 8%;
	background-repeat:no-repeat;
	background-position: center center;
}
.game_outer ul{
	width: 60%;
	padding-bottom: calc(600/10*1%);
	position: relative;
	margin: 0 auto;
}
.game_outer ul li {
	display: block;
	position: absolute;
	width: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0 ;
	margin: auto;
}
.game_outer ul li:nth-child(1) img { transform: rotateZ(0deg);}
.game_outer ul li:nth-child(2) { opacity: 0;}
.game_outer ul li:nth-child(4) {
	width: calc(188/600*100%);
	height: 0;
	padding-bottom: calc(188/600*100%);
	background-image: url("../assets/start1.png");
	-webkit-background-size: cover;
	background-size: cover;
	cursor: pointer;
}

/* 獎項彈跳視窗區設定 */

/* social media區、banner區、APP下載區 共同設定 */
.rwd_outer .social_outer:after, .rwd_outer .app_outer:after , .rwd_outer .banner_outer:after {
	content: "";
	display: block;
	height: 0%;
	clear: both;
}
/* social media區、banner區、APP下載區 共同設定 */
.rwd_outer .social_outer:after, .rwd_outer .app_outer:after , .rwd_outer .banner_outer:after {
	content: "";
	display: block;
	height: 0%;
	clear: both;
}
/* social media區 設定 */
.rwd_outer .social_outer, .rwd_outer .app_outer { padding: 1.5% 0%;}
.rwd_outer .social_outer > div, .rwd_outer .app_outer > div { width: 49%;}
.rwd_outer .social_outer > div:nth-child(1), .rwd_outer .app_outer > div:nth-child(1) { float: left;}
.rwd_outer .social_outer > div:nth-child(2), .rwd_outer .app_outer > div:nth-child(2) { float: right;}
/* 遊戲說明文_圖片區設定 */
.rwd_outer .info1_outer { margin-bottom: 1.5%;}
/* 戲說明文區_文字區、獎項說明文區 設定 */
.rwd_outer .info2_outer, .rwd_outer .info3_outer {
	background-color: #fff;
	padding: 3%;
	text-align: left;
	font-size: 120%;
	line-height: 180%;
	margin-bottom: 1.5%;
}
.rwd_outer .info2_outer ul, .rwd_outer .info3_outer ul {
	width: 100%;
	margin-left: 3%;
	list-style-type: decimal;
}
/* banner區 設定 */
.rwd_outer .banner_outer > div { display: block; float: left;}
.rwd_outer .banner_outer > div:nth-child(n+2) {
	width: 49.25%;
	margin-top: 1.5%;
} 
.rwd_outer .banner_outer > div:nth-child(3) {	margin-left: 1.5%;}

.copyouter {
	width: 200px;
	height: 100px;
	background: white;
	border-radius: 5px;
	border: 1px solid #ddd;
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, .2);
	text-align: center;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	font-size: 120%;
	z-index: 999999;
	display: none;
}

.copyouter:before {
	content: '';
	display: inline-block;
	height: 100%;
	width: 0;
	vertical-align: middle;
}

.copyouter .copynow {
	width: 90%;
	display: inline-block;
	vertical-align: middle;
}


/* 遊戲動態 */
.game01 { animation: game01 3.8s 0s both ease-out 1;}
.game02 { animation: game02 3.85s 0s both ease-out 1;}
.game03 { animation: game03 3.8s 0s both ease-out 1;}
.game04 { animation: game04 3.8s 0s both ease-out 1;}
.game05 { animation: game05 3.8s 0s both ease-out 1;}
.game06 { animation: game06 3.8s 0s both ease-out 1;}
.game07 { animation: game07 3.8s 0s both ease-out 1;}
.game08 { animation: game08 3.8s 0s both ease-out 1;}

@keyframes game01 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1800deg);}
}
@keyframes game02 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1755deg);}
}
@keyframes game03 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1710deg);}
}
@keyframes game04 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1665deg);}
}
@keyframes game05 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1620deg);}
}
@keyframes game06 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1575deg);}
}
@keyframes game07 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1530deg);}
}
@keyframes game08 {
	0%  { transform: rotateZ(0deg);}
	100%{ transform: rotateZ(1485deg);}
}

/* 獎項彈跳視窗區設定 */
.rwd_outer .prize_outer {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.5);
	z-index: 999;
	display: none;
}

.rwd_outer .prize_outer ul {
	position: absolute;
	width: 500px;
	height: 284px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	text-align: center;
	list-style: none;
}

.rwd_outer .prize_outer ul li {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url("../assets/prize_win.png");
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rwd_outer .prize_outer ul li .p_inner {
	width: calc(100% - 30px);
	display: inline-block;
	vertical-align: middle;
	font-weight: normal;
	color: #333;
}

.rwd_outer .prize_outer .congrate {
	font-size: 16px;
}

/* 獎項名稱 */
.rwd_outer .prize_outer.prize_num .gift_title,
.rwd_outer .prize_outer.prize_none .gift_title,
.rwd_outer .prize_outer.prize_link .gift_title {
	display: block;
	font-size: 20px;
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 12px;
	line-height: 1;
}

.rwd_outer .prize_outer.prize_point .gift_title {
	display: block;
	font-size: 20px;
	font-weight: normal;
	margin-top: 4px;
	line-height: 1;
}

.rwd_outer .prize_outer.prize_point .receive_remind {
	display: block;
	font-size: 14px;
	color:#666666;
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 12px;
	line-height: 1;
}

.rwd_outer .prize_outer .gift_code {
    font-size: 14px;
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    border-color: #d8d8d8;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-color: #ffffff;
    margin-right: 8px;
}

.rwd_outer .prize_outer .code_row {
	display: inline-flex;
	justify-content: center;
	align-items: stretch;
}

.rwd_outer .prize_outer .copybtn {
    font-size: 14px;
    min-width: 62px;
	max-width: calc(100% - 125px - 30px - 8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    background-color: #FF5353;
    border-radius: 5px;
    color: #FFFFFF;
    text-decoration: none;
	padding: 5px 10px;
	word-break: break-all;
}

/* 序號式的連結按鈕*/
.rwd_outer .prize_outer.prize_num .gift_link {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ff5353;
    text-decoration: none;
    background-color: #ffffff;
	max-width: calc(100% - 30px);
	word-break: break-all;
	padding: 5px 10px;
}

/* 連結式的連結按鈕*/
.rwd_outer .prize_outer.prize_link .gift_link {
    font-size: 16px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* 銘謝惠顧的連結按鈕*/
.rwd_outer .prize_outer.prize_none .gift_link {
    font-size: 16px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* 紅利點數的連結按鈕*/
.rwd_outer .prize_outer.prize_point .gift_link {
    font-size: 16px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

.rwd_outer .prize_outer .left_count {
	font-size: 14px;
}

.rwd_outer .prize_outer .back_to_game {
	font-size: 14px;
	color:#0279FF
}

/* 遊戲次數已滿 */
.rwd_outer .prize_outer .today_played {
	font-size: 20px;
	font-weight: normal;
	line-height: 1;
}

.rwd_outer .prize_outer .today_played div:first-child {
	margin-bottom: 4px;
}

.rwd_outer .prize_outer .today_played div:last-child {
	color:#666666
}

.rwd_outer .prize_outer .MoreDiscount {
    font-size: 16px;
    min-width: 192px;
	margin-top: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

.rwd_outer .prize_outer .not_allow_reason {
	font-size: 20px;
	font-weight: normal;
	line-height: 1;
	display: block;
}

.rwd_outer .prize_outer .not_allow_suggest {
    font-size: 16px;
    min-width: 192px;
	margin-top: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* Popup Close Button */
.rwd_outer .prize_outer ul li .close {
	display: block;
	position: absolute;
	width: 5%;
	height: auto;
	top: 0;
	right: 0;
	transform: translate(50%,-50%);
}


/*手持裝置設定*/
@media screen and (max-width: 640px) {

/* 基礎設定 */
* {
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* 背景設定 */
html, body {
	width: 100%;
	height: auto;
	font-size: 16px;
	line-height: 16px;
	font-family: "Century Gothic", "Helvetica Neue", "Open Sans", "Heiti TC", "Microsoft JhengHei", 'Microsoft JhengHei UI Regular', '微軟正黑體 Light', '微軟正黑體', sans-serif;
	color: #333;
	background-image: url("../assets/bg.jpg");
	-webkit-background-size: contain;
	background-size: contain;
}
html {
	background-color: #FFFFFF;
}
/* 最外層設定 */
.rwd_outer {
	width: 100%;
	margin: 0 auto;
	padding: 3vw; 
}
.rwd_outer img {
	display: block;
	width: 100%;
	height: auto;
}
/* 各區外層設定 */
.rwd_outer .title_outer, .rwd_outer .game_outer, .rwd_outer .social_outer, .rwd_outer .info1_outer, .rwd_outer .info2_outer, .rwd_outer .info3_outer, .rwd_outer .banner_outer {
	position: relative;
	width: 100%;
	text-align: center;
}
/* 主標設定 */
.rwd_outer .title_outer > div { display: none;}
.rwd_outer .title_outer > div.mobile { display: block;}
/* 遊戲區設定 */
.rwd_outer .game_outer {
	background-image: url("../assets/game_bg2.png");
	-webkit-background-size: cover;
	background-size: cover;
	padding: 2% 2%;
}
.game_outer ul{
	width: 100%;
	padding-bottom: 100%;
	position: relative;
	margin: 0 auto;
}
.game_outer ul li {
	display: block;
	position: absolute;
	width: 85%;
	height: 85%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0 ;
	margin: auto;
}
.game_outer ul li:nth-child(1) img { transform: rotateZ(0deg);}
.game_outer ul li:nth-child(2) { opacity: 0;}
.game_outer ul li:nth-child(4) {
	width: 27%;
	height: 0;
	padding-bottom: 27%;
	background-image: url("../assets/start1.png");
	-webkit-background-size: cover;
	background-size: cover;
	cursor: pointer;
}

/* 獎項彈跳視窗區設定 */
.rwd_outer .prize_outer {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.5);
	z-index: 999;
	display: none;
}

.rwd_outer .prize_outer ul {
	position: absolute;
	width: 85vw;
	height: 85vw;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	text-align: center;
	list-style: none;
}

.rwd_outer .prize_outer ul li {
	position: relative;
	width: 100%;
	height: 150%;
	background-image: url("../assets/prize_win2.png");
	-webkit-background-size: none;
	background-size: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rwd_outer .prize_outer ul li .p_inner {
	width: calc(100% - 30px);
	display: inline-block;
	vertical-align: middle;
	font-weight: normal;
	color: #333;
}

.rwd_outer .prize_outer .congrate {
	font-size: 16px;
}

/* 獎項名稱 */
.rwd_outer .prize_outer.prize_num .gift_title,
.rwd_outer .prize_outer.prize_none .gift_title,
.rwd_outer .prize_outer.prize_link .gift_title {
	display: block;
	font-size: 20px;
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 12px;
	line-height: 1;
}

.rwd_outer .prize_outer.prize_point .gift_title {
	display: block;
	font-size: 20px;
	font-weight: normal;
	margin-top: 4px;
	line-height: 1;
}

.rwd_outer .prize_outer.prize_point .receive_remind {
	display: block;
	font-size: 14px;
	color:#666666;
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 12px;
	line-height: 1;
}

.rwd_outer .prize_outer .gift_code {
    font-size: 14px;
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    border-color: #d8d8d8;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-color: #ffffff;
    margin-right: 8px;
}

.rwd_outer .prize_outer .code_row {
	display: inline-flex;
	justify-content: center;
	align-items: stretch;
}

.rwd_outer .prize_outer .copybtn {
    font-size: 14px;
    min-width: 62px;
	max-width: calc(100% - 125px - 30px - 8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    background-color: #FF5353;
    border-radius: 5px;
    color: #FFFFFF;
    text-decoration: none;
	padding:5px  10px;
	word-break: break-all;
}

/* 序號式的連結按鈕*/
.rwd_outer .prize_outer.prize_num .gift_link {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ff5353;
    text-decoration: none;
    background-color: #ffffff;
	max-width: calc(100% - 30px);
	word-break: break-all;
	padding: 5px 10px;
}

/* 連結式的連結按鈕*/
.rwd_outer .prize_outer.prize_link .gift_link {
    font-size: 14px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* 銘謝惠顧的連結按鈕*/
.rwd_outer .prize_outer.prize_none .gift_link {
    font-size: 14px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* 紅利點數的連結按鈕*/
.rwd_outer .prize_outer.prize_point .gift_link {
    font-size: 14px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

.rwd_outer .prize_outer .left_count {
	font-size: 14px;
}

.rwd_outer .prize_outer .back_to_game {
	font-size: 14px;
	color:#0279FF
}

/* 遊戲次數已滿 */
.rwd_outer .prize_outer .today_played {
	font-size: 20px;
	font-weight: normal;
	line-height: 1;
}

.rwd_outer .prize_outer .today_played div:first-child {
	margin-bottom: 4px;
}

.rwd_outer .prize_outer .today_played div:last-child {
	color:#666666
}

.rwd_outer .prize_outer .MoreDiscount {
    font-size: 14px;
    min-width: 192px;
	margin-top: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

.rwd_outer .prize_outer .not_allow_reason {
	font-size: 20px;
	font-weight: normal;
	line-height: 1;
	display: block;
}

.rwd_outer .prize_outer .not_allow_suggest {
    font-size: 16px;
    min-width: 192px;
	margin-top: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}


/* Popup Close Button */
.rwd_outer .prize_outer ul li .close {
	display: block;
	position: absolute;
	width: 10%;
	height: auto;
	top: 0;
	right: 0;
	transform: translate(50%,-50%);
}

/* social media區、banner區、APP下載區 共同設定 */
.rwd_outer .social_outer:after, .rwd_outer .app_outer:after , .rwd_outer .banner_outer:after {
	content: "";
	display: block;
	height: 0%;
	clear: both;
}
/* social media區、banner區、APP下載區 共同設定 */
.rwd_outer .social_outer:after, .rwd_outer .app_outer:after , .rwd_outer .banner_outer:after {
	content: "";
	display: block;
	height: 0%;
	clear: both;
}
/* social media區 設定 */
.rwd_outer .social_outer, .rwd_outer .app_outer { padding: 1.5% 0%;}
.rwd_outer .social_outer > div, .rwd_outer .app_outer > div { width: 49%;}
.rwd_outer .social_outer > div:nth-child(1), .rwd_outer .app_outer > div:nth-child(1) { float: left;}
.rwd_outer .social_outer > div:nth-child(2), .rwd_outer .app_outer > div:nth-child(2) { float: right;}
/* 遊戲說明文_圖片區設定 */
.rwd_outer .info1_outer { margin-bottom: 1.5%;}
/* 戲說明文區_文字區、獎項說明文區 設定 */
.rwd_outer .info2_outer, .rwd_outer .info3_outer {
	background-color: #fff;
	padding: 6%;
	text-align: left;
	font-size: 4vw;
	line-height: 180%;
	margin-bottom: 1.5%;
}
.rwd_outer .info2_outer ul, .rwd_outer .info3_outer ul {
	width: 100%;
	margin-left: 3%;
	list-style-type: decimal;
}
/* banner區 設定 */
.rwd_outer .banner_outer > div { float: left;}
.rwd_outer .banner_outer > div:nth-child(n+2) {
	width: 49.25%;
	margin-top: 1.5%;
} 
.rwd_outer .banner_outer > div:nth-child(3) {	margin-left: 1.5%;}

}
	
	
	
	
	
	
/* Dun edited 2022-02-12 */
.body_bg{
	background-image: url("../assets/bg.jpg"); 
	background-repeat: no-repeat;
	background-position: top center;
	position: absolute;
	width: 100vw;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	z-index: 0;
}

body.modal_in .main_wrapper{
	filter:blur(10px);
}	