* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

.header {
    width: 100%;
    /* max-width: 1400px; */
    margin: auto;
}

img {
    width: 100%;
    vertical-align: middle;
}


/*================================================ navbar ================================================================*/


/* 電腦版NAV */

.main-header,
.top-bn-contant {
    display: none;
}

.top-bn-container {
    padding-top: 38px;
}

.p-main-header {
    width: 100%;
    background: url(../images/navbar-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
    background-position: center;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    position: fixed;
    top: 0;
    z-index: 99;
    box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, .6);
}

.main-container {
    width: 1200px;
    display: flex;
    justify-content: flex-end;
}

.p-main-header .logo {
    width: 33.333333%;
    max-width: 339px;
    margin-top: -0.9%;
}

.p-main-header .logo:hover,
.footer-content .logo:hover {
    transition: .3s;
    filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 1));
    animation: navgo 0.5s infinite;
    transform: scale(1);
}

.main-nav ul {
    display: flex;
    padding-top: 3px;
}

.main-nav ul a:nth-child(n+1) {
    padding-left: 30px;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0));
}

.main-nav ul a:hover {
    transition: .3s;
    filter: drop-shadow(0px 0px 6px rgba(222, 0, 255, 1));
    animation: navgo 0.5s infinite;
    transform: scale(1);
}

@keyframes navgo {
    0% {
        transform: scale(1);
        filter: drop-shadow(0px 0px 6px rgba(222, 0, 255, 1));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0px 0px 6px rgba(222, 0, 255, 0));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0px 0px 6px rgba(222, 0, 255, 1));
    }
}

.p-main-header li {
    max-width: 95px;
}


/* 電腦版NAV end*/


/*========================================================= 首圖bn ==================================================================*/

.videobgC {
    width: 100%;
    display: block;
}

.videobgM {
    width: 100%;
    display: none;
}

.top-bn {
    width: 100%;
    /* padding-top: 48px; */
}

.top-bn-container {
    position: relative;
}

.top-bn-contant {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.top-bn-pic {
    width: 100%;
}


/* 電腦版下載按鈕 */

.btn-group {
    position: absolute;
    width: 62%;
    bottom: 12%;
    left: 0;
    right: 0;
    z-index: 9;
    margin: 0 auto;
}

.btn-group a {
    margin: 0 1%;
}

.btn-group .btn {
    width: 100%;
}

.tipbox {
    width: 100%;
    max-width: 150px;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    bottom: 0;
    top: 20%;
    right: 1%;
}

.tipbox a:hover {
    animation: btngo 0.5s infinite;
    transform: scale(1);
}

.btn-download {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}


/* effects */

.btn-bling {
    position: relative;
    transition: 0.5s;
    overflow: hidden;
}

.btn-bling:hover {
    /* background: #a05; */
    color: #050801;
    animation: btngo 0.5s infinite;
    /* box-shadow: 0 0 5px #a05, 0 0 15px #a05, 0 0 25px #a05, 0 0 50px #a05; */
    /* -webkit-box-reflect:below 1px linear-gradient(transparent, #0005); */
    transform: scale(1);
}

@keyframes btngo {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-bling span {
    position: absolute;
    display: block;
}

.btn-bling span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffc64b);
    animation: animate1 1s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }
    50%,
    100% {
        left: 100%;
    }
}

.btn-bling span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #83ef7f);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes animate2 {
    0% {
        top: -100%;
    }
    50%,
    100% {
        top: 100%;
    }
}

.btn-bling span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #4bbdff);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}

@keyframes animate3 {
    0% {
        right: -100%;
    }
    50%,
    100% {
        right: 100%;
    }
}

.btn-bling span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #cf67ff);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%,
    100% {
        bottom: 100%;
    }
}


/* effects end */


/* 電腦版title */

.pv .title,
.promo-title,
.section-content .title,
.game-story .title,
.story-area .story-title {
    max-width: 30%;
    padding: 4% 0;
    position: relative;
    z-index: 20;
    margin: 0 auto;
}


/* 電腦版 影片 */

.pv {
    width: 100%;
    margin: auto;
    background: url(../images/props-bg.jpg) no-repeat;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
}

.pv-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 0px;
    padding-bottom: 56.25%;
    background: url(../images/video-girl.png);
    background-size: cover;
}

.pv-content {
    position: relative;
}

.game-video {
    width: 55%;
    height: auto;
    margin: 0 auto;
    border: solid 5px rgba(255, 255, 255, .8);
}


/* 電腦版 活動序號 */

.promo-area {
    width: 100%;
    overflow: hidden;
}

.promo-contant {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 55%;
    margin-top: -20%;
    display: flex;
    justify-content: center;
}

.promo-girl {
    position: absolute;
    width: 100%;
    height: 0px;
    padding-bottom: 56.25%;
    background: url(../images/props-girl.png);
    background-size: cover;
}

.promotxt-group {
    width: 35%;
    height: 0;
    padding-bottom: 21.1%;
    background: url(../images/props-wordbg.png);
    background-size: cover;
    position: absolute;
    bottom: 10%;
}

.promotxt-contant {
    font-family: "Noto Sans TC", sans-serif;
    padding: 8% 4% 4% 4%;
    font-size: 2em;
    text-align: center;
    font-weight: bolder;
}

.promotxt-contant span {
    color: #f00;
    font-weight: 500;
    letter-spacing: 1px;
    padding-right: 8px;
}

.code-title {
    text-align: center;
    font-weight: 700;
    padding: 2% 0;
    color: rgb(105, 2, 2);
}

.code-contant {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 12%;
    border-radius: 10px;
    background-color: #fff;
    max-width: 760px;
}

#code-number {
    padding: 0.5em 1.7em;
    position: relative;
    color: #000;
}

.code-title button {
    width: 60px;
    padding: 2px;
    font-size: 3vmin;
    border-radius: 5px;
    background-color: #fff;
}

.code-title span {
    color: #000;
    font-weight: 300;
    font-size: 3.5vw;
    color: #fff;
}

.copy-txt {
    padding: 4.5px;
    border-radius: 10px;
    border-color: #ccc;
}

.onlyword {
    font-size: .5em;
    padding: 1% 0;
    color: rgb(126, 1, 1);
}

.code-contant button {}

.code-contant button:hover {
    transform: scale(1.1);
    transition: .3s;
    box-shadow: 0px 0px 5px rgba(252, 0, 0, 1);
}


/* 活動序號 END */


/* 電腦版 幻燈片 */

.game-info {
    width: 100%;
    margin: auto;
    background: url(../images/bn4-bg.jpg) no-repeat;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
}

.section-content {
    padding-bottom: 3%;
}

.swiper-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, .9));
    position: relative;
}

.swiper-theme {
    max-width: 920px;
    padding: 0;
}

.sw-btn {
    transform: scale(1);
    height: 136px;
    position: absolute;
    top: 30%;
    bottom: 0;
    z-index: 10;
}

.swiper-button-next {}

.swiper-button-prev {}

.swiper-theme {
    padding: 0 5%;
}

.swiper-slide {
    filter: brightness(.5);
    transform: scale(.9);
}

.swiper-slide-active {
    transform: scale(1.1);
    transition: 0.2s;
    filter: brightness(1);
}


/* 電腦版 故事介紹 */

.swiper-theme {
    max-width: 920px;
}

.game-story {
    display: none;
}

.story-area {
    width: 100%;
    margin: auto;
    background: url(../images/Board_bg.jpg) no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    overflow: hidden;
}

.story-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.041666%;
    background: url(../images/story-girl-1.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    /*filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, .9));*/
}

.txt-group {
    width: 30%;
    max-width: 500px;
    margin: auto;
    position: absolute;
    z-index: 10;
    top: 30%;
}

.txt-item:nth-child(1) {
    position: relative;
    left: -20%;
    margin-bottom: 20px;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, .7));
}

.txt-item:nth-child(2) {
    position: relative;
    left: 6%;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, .7));
}


/* 故事介紹 END */

.footer {
    width: 100%;
    margin: auto;
    background: url(../images/footer-bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top;
    color: #FFF;
}

.footer-content .logo {
    padding-top: 3%;
    width: 33%;
    max-width: 180px;
    margin: auto;
}

.game-story .txt,
.footer-txt {
    width: 100%;
    margin: auto;
    padding: 20px 15px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
}

.footer-txt,
.copyright {
    font-size: 18px;
    text-align: center;
}

.copyright {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    padding: 1% 0;
}


/*=============================== TOP ================================== */

#TOPUP a {
    position: fixed;
    width: 50px;
    height: 50px;
    cursor: pointer;
    right: 10px;
    bottom: 10px;
    z-index: 99;
    text-indent: -9999px;
    background-image: url(../images/top-C-BT.png);
    display: none;
    animation: TOPgo 0.5s infinite;
}

@keyframes TOPgo {
    0% {
        bottom: 10px;
    }
    50% {
        bottom: 12px;
    }
    100% {
        bottom: 10px;
    }
}


/* ======手機版型區========================================================================================= */

@media screen and (min-width: 320px) and (max-width: 666px) {
    /* 手機版NAV */
    .main-header {
        width: 100%;
        background-image: url(../images/bg-mobile.png);
        background-repeat: repeat-x;
        margin: auto;
        padding: 7px 0px;
        position: fixed;
        top: 0;
        z-index: 99;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, .6);
    }
    .main-header .logo {
        width: 33.333333%;
        max-width: 500px;
        /* margin: auto; */
    }
    .main-header a {
        max-width: 100px;
    }
    .p-main-header {
        display: none;
    }
    .tipbox {
        display: none;
    }
    /* 首圖bn */
    .videobgC {
        display: none;
    }
    .videobgM {
        display: block;
    }
    /* 手機版下載按鈕 */
    .btn-group {
        position: absolute;
        bottom: 3%;
        left: 0;
        right: 0;
        z-index: 9;
        width: 50%;
        margin: 0 auto;
    }
    .btn-download {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    /* 標題 */
    .pv .title,
    .promo-title,
    .section-content .title,
    .game-story .title,
    .story-area .story-title {
        max-width: 80%;
        margin: auto;
        padding: 6% 0 5% 0;
    }
    /* 影片 */
    .pv {
        width: 100%;
        margin: auto;
        background: url(../images/props-bg-m.jpg) no-repeat;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center bottom;
        background-size: cover;
        position: relative;
        background-attachment: fixed;
    }
    .pv-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        height: 0px;
        padding-bottom: 97.236842105%;
        background: url(../images/video-girl-m.png);
        background-size: cover;
    }
    .game-video {
        width: 96%;
        border: solid 2px rgba(255, 255, 255, .3);
        margin-top: 40%;
    }
    /* 活動序號 */
    .promo-area {
        margin-top: 35%;
    }
    .promo-contant {
        padding-bottom: 130%;
        margin-top: -15%;
    }
    .promo-girl {
        position: absolute;
        width: 100%;
        height: 0px;
        padding-bottom: 116.447368%;
        background: url(../images/props-girl-m.png);
        background-size: cover;
    }
    .promotxt-group {
        width: 96%;
        height: 0;
        /* max-width: 560px;
        max-height: 295px; */
        padding-bottom: 58.224215%;
        background: url(../images/props-wordbg.png);
        background-size: cover;
        position: absolute;
        bottom: 5%;
        margin: 3%;
    }
    .promotxt-contant {
        padding: 8% 4% 4% 4%;
        font-size: 1em;
        font-weight: 400;
    }
    .code-title {
        padding: 0;
    }
    /* 幻燈片 */
    
    .sw-btn {
        transform: scale(0.7);
    }
    .swiper-theme {
        padding: 0 7%;
    }
    /* 故事介紹 */
    .story-area {
        display: none;
    }
    .game-story {
        display: block;
        padding: 5% 3% 10% 3%;
    }
    .game-story .txt {
        color: #000;
        text-align: justify;
        background-color: rgba(255, 255, 255, .8);
        border-radius: 20px;
        line-height: 1.8;
        font-size: 1.2em;
        font-weight: 500;
    }
    /* FOOTER */
    .footer {
        width: 100%;
        margin: auto;
        background: url(../images/footer-bg-s.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center top;
        color: #fff;
    }
    .footer-content .logo {
        padding-top: 8%;
    }
}


/* ======平板版型區========================================================================================= */

@media screen and (min-width: 667px) and (max-width: 1024px) {
    .tipbox {
        max-width: 90px;
    }
    /* 下載按鈕 */
    .btn-group {
        width: 70%;
        bottom: 5%;
        left: 0;
        right: 0;
        z-index: 9;
        margin: 0 auto;
    }
    .btn-group {
        width: 60%;
    }
    /* 活動序號 */
    .promo-contant {
        padding-bottom: 50%;
        margin-top: -15%;
    }
    .promotxt-group {
        width: 40.5%;
        height: 0;
        /* max-width: 560px;
        max-height: 295px; */
        padding-bottom: 24.55%;
        background: url(../images/props-wordbg.png);
        background-size: cover;
        position: absolute;
        bottom: 4%;
        margin: 3%;
    }
    .promotxt-contant {
        font-size: 1em;
        font-weight: 400;
    }
    .code-title {
        padding: 0;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .tipbox {
        max-width: 90px;
    }
    /* 下載按鈕 */
    .btn-group {
        width: 80%;
        bottom: 5%;
        left: 0;
        right: 0;
        z-index: 9;
        margin: 0 auto;
    }
    .btn-group {
        width: 60%;
    }
    /* 活動序號 */
    .promotxt-group {
        width: 43%;
        height: 0;
        /* max-width: 560px;
        max-height: 295px; */
        padding-bottom: 26.1%;
        background: url(../images/props-wordbg.png);
        background-size: cover;
        position: absolute;
        bottom: 4%;
        margin: 3%;
    }
    .promotxt-contant {
        font-size: 1.3em;
        font-weight: 400;
    }
    .code-title {
        padding: 0;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
    .tipbox {
        max-width: 90px;
    }
    /* 活動序號 */
    .promotxt-contant {
        font-size: 1.4em;
        font-weight: 400;
    }
    .code-title {
        padding: 0;
    }
}