@charset "utf-8";

body              { margin: 0; background: #000; color: #fff; font-size: 16px;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                    font-family: 'Roboto','Helvetica Neue',Helvetica, Arial,'Apple LiGothic Medium','STHeiti Light','微軟正黑體','Microsoft JhengHei',sans-serif;
                  }
a, 
a:visited, 
a:active, 
a:hover           { text-decoration: none; blr:expression(this.onFocus=this.blur()); cursor: pointer;}

a                 { outline: none; /* for Firefox Chrome */ behavior:expression(this.onFocus=this.blur()); /* for IE */} 
a:focus           { -moz-outline-style: none; outline: none; } /* for Firefox Chrome */

a:link            { text-decoration: none;}
a:visited         { text-decoration: none;}
a:hover           { text-decoration: none;}
input, 
textarea,         { font-family: 'Roboto','Helvetica Neue',Helvetica, Arial,'Apple LiGothic Medium','STHeiti Light','微軟正黑體','Microsoft JhengHei',sans-serif;}
input:focus, 
textarea:focus    { outline: none;}

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700,900');

@font-face {
    font-family: 'ROGFont';
    src: url("../fonts/rogfonts-regular.otf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Xolonium';
    src: url('../fonts/xolonium.otf'),
         url('../fonts/xolonium.otf') format('embedded-opentype'),
         url("../fonts/xolonium.ttf") format("opentype"),
         url("../fonts/xolonium.eot");
    font-weight: normal;
    font-style: normal;
}


/*-------------demo----------------*/
.demo{
    position: absolute;
    left: calc(50vw - 160px);
    top: 10px;
    text-align: center;
    z-index: 3;
    color: #aaa;
}
.demo span{
    float: left;
    padding-top: 7px;
    padding-right: 10px;
}
.demo > div{
    font-size: 1.2em;
    background: #333;
    width: 30px;
    padding: 5px;
    box-sizing: border-box;
    transition: all 0.2s;
    cursor: pointer;
    float: left;
    margin-right: 10px;
}
.demo > div:hover{
    background: #555;
}
@media screen and (max-width: 767px) {    
.demo{
    display: none;
}
}



/* ---------- scrollUp ------- */

#scrollUp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border: 2px solid #63caff;
    opacity: 0;
}

#scrollUp.hd-show {
    opacity: 1;
}

#scrollUp svg {
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 5px;
    left: 0;
    fill: #63caff;
    -webkit-transform: rotateZ(270deg);
    -moz-transform: rotateZ(270deg);
    -ms-transform: rotateZ(270deg);
    -o-transform: rotateZ(270deg);
    transform: rotateZ(270deg);
}

#scrollUp:hover {
    background-color: #63caff;
}

#scrollUp:hover svg {
    fill: #000;
}



/*-------------lang----------------*/


#game-lang{
    background: #222;
}
#game-lang .inner{
    width: calc(100% - 50px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0;
    text-align: right;
}

/* select */
#game-lang .custom-select-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: top;
    vertical-align: middle;
    overflow: hidden;
}
#game-lang .custom-select-wrapper:after {
    content: "\25BE";
    position: absolute; 
    right: 12px; 
    top: 9%;
    font-size: 16px;
    z-index: 1;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;   
    color: #fff;
}
#game-lang .custom-select {
    /*max-width: 500px;*/
    width: 100%;
    background: transparent;
    padding: 4px 35px 4px 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #444;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    vertical-align: middle;
    overflow: hidden;
    font-size: 14px;
}
#game-lang .custom-select:hover{
    border-color: #777;
}
#game-lang .custom-select option{
    color: #000;
}
@media screen and (max-width: 768px) {    
#game-lang .custom-select {
    font-size: 18px;
}
}
@media screen and (max-width: 600px) {    
#game-lang .inner{
    width: calc(100% - 30px);
}
}


/*-------------switch----------------*/

#game-switch{
    padding-top: 10px;
    background: #000;
}
#game-switch .inner{
    width: calc(100% - 50px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}
#game-switch .switch{
    display: inline-block;
    padding: 5px 15px 5px 15px;
    border: 1px solid #f23737;
    font-style: italic;
    border-radius: 5px;
    color: #f23737;
    transition: all 0.3s;
}
#game-switch .switch:before{
    content: '';
    display: inline-block;
    font-style: normal;
    padding-right: 3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #f23737;
}
#game-switch .switch:hover{
    box-shadow: 0 0 10px #f23737;
}

#game-switch .rog{
    width: 200px;
}
#game-switch .rog img{
    display: block;
    width: 100%;
}
@media screen and (max-width: 600px) {    
#game-switch .inner{
    width: calc(100% - 30px);
}
#game-switch .rog{
    width: 120px;
}
#game-switch .switch{
    padding: 5px 10px;
    font-size: 0.9em;
}
}
@media screen and (max-width: 320px) {    
#game-switch .rog{
    width: 100px;
}
#game-switch .switch{
    padding: 5px 6px;
    font-size: 0.8em;
}
}

/*-------------copy----------------*/

#game-copy{
    background: #000;
}
#game-copy .inner{
    width: calc(100% - 50px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0 15px 0;
    text-align: center;
}
#game-copy p{
    color: #888;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
}


/*-------------main----------------*/

#game-main{
    margin-top: 10px;
    background: #000 url(../img/hero-bg.jpg) center top no-repeat;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}
#game-main .cover{
    background: rgba(0,0,0,0);
    min-height: calc(100vh - 200px);
    height: 100%;
    transition: background 0.8s;
}
#game-main .cover.active{
    background: rgba(0,0,0,0.8);
}
#game-main .inner{
    width: calc(100% - 50px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0;
}
#game-main .title-wrapper{
    text-align: center;
    /*margin-top: 450px;*/
    transition: margin 0.8s;
    position: relative;
    z-index: 1;
}
#game-main .title-wrapper.active{
    /*margin-top: 20px;*/
}
#game-main .title-wrapper h1{
    font-family: "Xolonium", sans-serif;
    line-height: 1em;
    font-size: 3.2em;
    font-weight: bold;
    margin: 0 0 25px 0;
    padding: 0;
    transition: all 0.8s;
}
#game-main .title-wrapper.active h1{
    font-size: 2em;
}
#game-main .title-wrapper p{
    line-height: 1.3em;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

#game-main .intro-wrapper{
    text-align: center;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}
#game-main .intro-wrapper p{
    line-height: 1.3em;
    font-size: 1.2em;
    margin: 0 0 60px 0;
    padding: 0;
}
#game-main .intro-wrapper p a{
    color: #f23737;
    font-size: 1.3em;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
}
#game-main .gamesplanet{
    text-align: right;
    margin-top: -50px;
}
#game-main .intro-wrapper .btn{
    margin-top: 28vw;
}
#game-main .hero-mobile{
    display: none;
}
@media screen and (max-width: 1100px) {    
#game-main{
    background-size: 140% auto;
    background-position: center 50px;
}
#game-main .title-wrapper h1{
    font-size: 2.5em;
}
#game-main .title-wrapper.active h1{
    font-size: 1.6em;
}
#game-main .title-wrapper{
}
#game-main .title-wrapper.active{
}
#game-main .intro-wrapper .btn{
}
}
@media screen and (max-width: 1024px) {    
#game-main .title-wrapper h1{
    font-size: 2em;
}
#game-main .title-wrapper.active h1{
    font-size: 1.3em;
}
#game-main .title-wrapper p{
    font-size: 1em;
}
#game-main .intro-wrapper p{
    font-size: 1em;
}
}
@media screen and (max-width: 768px) {    
#game-main .title-wrapper h1{
    transition: all 0s;
    font-size: 1.6em;
}
#game-main .title-wrapper.active h1{
    font-size: 1.1em;
}
#game-main{
    /*background-size: 170% auto;
    background-position: center 50px;*/
    background: none;
}
#game-main .intro-wrapper .btn{
    margin-top: 0;
}
#game-main .hero-mobile{
    display: block;
    width: 180%;
    margin-left: -40%;
    margin-top: -10%;
    position: relative;
    z-index: 0;
}
#game-main .hero-mobile.hide{
    display: none;
}
#game-main .hero-mobile img{
    display: block;
    width: 100%;
}
}

@media screen and (max-width: 450px) {    
#game-main .title-wrapper h1{
    font-size: 1.3em;
}
#game-main .intro-wrapper p{
    font-size: 1em;
    margin: 0 0 20px 0;
}
#game-main .intro-wrapper p a{
    font-size: 1.1em;
}
}
@media screen and (max-width: 320px) {    
#game-main .title-wrapper h1{
    font-size: 1.1em;
}
}



.btn{
    display: block;
    margin: 20px auto;
    font-family: "ROGFont", "Xolonium", sans-serif;
    line-height: 1em;
    font-size: 1.5em;
    font-weight: normal;
    color: #f23737;
    text-align: center;
    border: 1px solid #f23737;
    width: 250px;
    padding: 8px 10px 15px 10px;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(0,0,0,0.5);
}
.btn:hover{
    box-shadow: 0 0 4px #f23737, 0 0 25px rgba(242,55,55,0.8);
}
.btn:after{
    content: '';
    display: block;
    width: 0; 
    height: 0; 
    position: absolute;
    left: 0;
    bottom: 0;
    border-style: solid;
    border-width: 10px 0 0 10px;
    border-color: transparent transparent transparent #f23737;
}
.btn:before{
    content: '';
    display: block;
    width: 0; 
    height: 0; 
    position: absolute;
    right: 0;
    top: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent #f23737 transparent transparent;
}



.quiz-wrapper{
    display: none;
}
.quiz-nav{
    position: relative;
    display: flex;
    text-align: center;
    max-width: 700px;
    justify-content: center;
    margin: 50px auto 0 auto;
}
.quiz-nav:after{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #f23737;
    background: linear-gradient(to right, rgba(242,55,55,0) 0%, rgba(242,55,55,0.5) 20%, rgba(242,55,55,0.5) 80%, rgba(242,55,55,0) 100%);
    z-index: 0;
}
.quiz-nav .entry{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #444;
    line-height: 55px;
    font-family: "ROGFont", "Xolonium", sans-serif;
    font-size: 1.8em;
    font-weight: normal;
    color: #000;
    margin: 0 20px;
    background: #222;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.quiz-nav .entry.active{
    border-color: #f23737;
    color: #f23737;
    background: #000;
}
@media screen and (max-width: 720px) {    
.quiz-nav .entry{
    width: 40px;
    height: 40px;
    line-height: 35px;
    font-size: 1.3em;
    margin: 0 10px;
}
}
@media screen and (max-width: 320px) {    
.quiz-nav .entry{
    width: 30px;
    height: 30px;
    line-height: 28px;
    font-size: 1em;
    margin: 0 10px;
}
}



.quiz-main{
    max-width: 800px;
    margin: 50px auto 80px auto;
    box-sizing: border-box;
}
.quiz-main .entry:not(.active){
    display: none;
}
.quiz-main .q{
    text-align: center;
    font-size: 1.4em;
}
.quiz-main .answer{
    max-width: 400px;
    margin: 0 auto;
    font-size: 1.3em;
    margin-bottom: 50px;
}
.quiz-main .answer .option{
    margin-bottom: 15px;
}

@media screen and (max-width: 450px) {    
.quiz-main .q{
    font-size: 1.1em;
}
.quiz-main .answer{
    font-size: 1em;
}
}


.quiz-main input[type="radio"] {
    display: none;
}
.quiz-main input[type="radio"] + label {
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}
.quiz-main input[type="radio"]:hover + label {
    color: #bbb;
}
.quiz-main input[type="radio"] + label i {
    display: inline-block;
    width: 17px;
    height: 17px;
    vertical-align: middle;
    cursor: pointer;
    background-color: #1d2d32;
    border: 2px solid #fff;
    border-radius: 30px;
    transition: all 0.2s;
    margin: -2px 10px 0 0;
    box-sizing: border-box;
    flex-shrink: 0;
}
.quiz-main input[type="radio"]:checked + label {
    color: #f23737;
}
.quiz-main input[type="radio"]:checked + label i {
    background-color: #fff;
    box-shadow: 0px 0px 0px 3px #555 inset;
}
.quiz-main input[type="radio"]:disabled + label i {
    background-color: #555;
    border-color: #aaa;
    cursor: default;
}
.quiz-main input[type="radio"]:disabled + label {
    cursor: default;
    color: #999;
}
.quiz-main input[type="radio"]:disabled:hover + label {
    color: #999;
}






/*--------------------result-------------------------*/

#game-result{
    display: none;
}
#game-result .gamesplanet{
    text-align: right;
    margin-bottom: 30px;
    margin-right: 10vw;
}
.result{
    position: relative;
    padding-bottom: 50px;
    overflow: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}
.result:not(.active){
    display: none;
}
.result-1{
    background-image: url(../img/result/bg-1.jpg);
}
.result-2{
    background-image: url(../img/result/bg-2.jpg);
}
.result-3{
    background-image: url(../img/result/bg-3.jpg);
}
.result-4{
    background-image: url(../img/result/bg-4.jpg);
}
.result-5{
    background-image: url(../img/result/bg-5.jpg);
}
.result .main-image{
    position: absolute;
    left: 40%;
    top: 0;
    width: 50%;
    z-index: 0;
    transition: all 4s;
}
/*
.result .main-image:not(.active) {
    left: 60%;
}
.result .main-image.active{
    left: 40%;
}
*/
.result .main-image img{
    width: 100%;
    display: block;
}
.result .result-content{
    margin-top: 10%;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}
.result .result-content .result-text{
    width: 50%;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 1;
    flex-grow: 1;
    background: rgba(0,0,0,0.5);
}
.result .result-content .result-game-wrapper{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px;
}
.result .result-content .result-game{
    width: 50%;
    flex-shrink: 1;
    flex-grow: 1;
    max-width: 400px;
}
.result .replay{
    width: 160px;
    position: absolute;
    right: calc(50vw - 580px);
    bottom: 60px;
    z-index: 10;
}
.result .result-content .result-text .text{
    padding-left: 30px;
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 20px;
    border-left: 8px solid #ff0000;
}
.result .result-content .result-text .text .you{
    font-size: 1.4em;
    margin: 0;
}
.result .result-content .result-text .text .name{
    font-size: 1.1em;
    font-style: italic;
    margin: 0;
}
.result .result-content .result-text .text .name span{
    font-size: 3em;
    font-style: normal;
    font-weight: bold;
    font-family: "ROGFont", "Xolonium", sans-serif;
}
.result .result-content .result-text .text .desc{
    font-size: 0.9em;
    margin: 10px 0 20px 0;
}
.result .result-content .result-text .text .quote{
    font-size: 1.1em;
    margin: 0;
}
.result .result-content .go{
    font-size: 4em;
    font-weight: 700;
    transition: color 0.3s;
}
.result .result-content .go a{
    color: #ff0000;
}
.result .result-content .go a:hover{
    color: #fff;
}
.result .result-content .go span{
    text-decoration: underline;
    font-size: 0.7em;
    font-style: italic;
    padding-right: 8px;
}

.result .result-content .result-game img{
    max-width: 100%;
}
.result .result-content .result-game .game-text{
    color: #ff0000;
    font-size: 1.7em;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -1px;
    vertical-align: top;
}
.result .result-content .result-game .game-text p{
    margin: 0;
}
.result .result-content .result-game .game-text .normal{
}
.result .result-content .result-game .game-text .number{
    font-size: 1.8em;
    font-weight: 900;
}
.result .result-content .result-game .game-text .percent{
    font-size: 0.8em;
}
.result .result-content .result-game .game-text .off{
    font-size: 0.5em;
}

.result .btn-replay{
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    font-family: "ROGFont", "Xolonium", sans-serif;
    line-height: 1em;
    padding: 6px 15px 10px 15px;
    text-align: center;
    display: inline-block;
    background: rgba(242,55,55,0.3);
    box-shadow: 0 0 20px rgba(242,55,55,1), 0 0 20px inset rgba(242,55,55,1);
    transition: background 0.3s;
}
.result .btn-replay:hover{
    background: rgba(242,55,55,0.5);
}


.result .result-content .share{
    position: absolute;
    right: 20px;
    top: 20px;
}
.result .result-content .share a{
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #888;
    margin: 0 5px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.3s;
    vertical-align: middle;
}
.result .result-content .share a:hover{
    background-color: #aaa;
}
.result .result-content .share a.facebook{
    background-image: url(../img/share-fb.png);
}
.result .result-content .share a.twitter{
    background-image: url(../img/share-twitter.png);
}



@media screen and (max-width: 1920px) {    
.result .main-image{
}
.result .main-image img{
}
.result .result-content{
}
}
@media screen and (max-width: 1200px) {    
.result .main-image{
    width: 60%;
}
.result .main-image img{
}
.result .result-content{
}
.result .result-content .result-text{
    width: 60%;
}
.result .result-content .result-text .text .name span{
    font-size: 2.5em;
}
.result .replay{
    right: 40px;
}
}
@media screen and (max-width: 768px) {    
.result .result-content .result-text{
    width: 70%;
}
}


@media screen and (max-width: 600px) {    
.result {
    padding-bottom: 0px;
    background-position: center bottom;
    background-size: 300% auto;
}
.result .result-content{
    display: block;
    margin-top: 20px;
}
.result .result-content .share{
    right: 0px;
}
.result .result-content .result-text{
    width: 100%;
    padding-right: 0px;
    margin-bottom: 40px;
}
.result .result-content .result-text .text{
    padding-left: 15px;
    padding-right: 20px;
    padding-top: 50px;
    padding-right: 20px;
}
.result .result-content .result-text .go{
    display: none;
}
.result .result-content > .go{
    display: block;
    float: left;
}
.result .result-content .result-game{
    width: 100%;
}
.result .result-content .result-text .text .name span{
    font-size: 2em;
}
.result .main-image{
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: -10%;
}
.result .replay{
    right: 20px;
    bottom: 20px;
}
}



@media screen and (max-width: 450px) {    
.result .result-content .result-game .game-text{
    font-size: 1.4em;
}
.result .result-content .result-text .text .name span{
    font-size: 1.4em;
}
.result .result-content .go{
    font-size: 4em;
    width: 120px;
}
.result .result-content .replay{
    margin-top: 25px;
}
}


