/* Reset */
*{margin:0;padding:0;box-sizing:border-box;}
html{font-family:PingFangSC-Regular,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;}
body{width:100%;height:100vh;max-width:750px;background:#f8f8f8;}
a{text-decoration:none;color:#fff;}

/* Layout */
.box{
    width:100%;
    height:100vh;
    position:relative;
    background:url(../images/bg.gif) no-repeat;
    background-size:100% 100%;
}
.section{
    position:absolute;
    width:100%;
    z-index:10;
    left:0;
    text-align:center;
}
#part1{top:36%;}
#part2{top:40%;display:none;}
#part3{top:40%;display:none;}

/* Text & Content */
.content-wenben{
    position: absolute;
    margin-top: -16.5%;
    font-size: 25px;
    width: 720px;
}
.con-box{
    position:relative;
    background-size:100% 100%;
}
.word-box{
    padding:5% 5%;
    position:relative;
    width:100%;
    text-align:center;
}
.word-box .title{
    font-size:30px;
    font-weight:bold;
    color:#187ac5;
}
.word-box .con{
    margin-top:2%;
    font-size:29px;
    color:#27489d;
}

/* Input */
.inputcode{
    width:100%;
    height:8%;
    border-radius:2rem;
    border:2px solid rgb(251,115,205);
    margin-top:1rem;
    padding:1.5rem 1rem;
    text-align:center;
    font-size:26px;
}

/* Button General */
.aniu{
    margin-top:20px;
    width:100%;
    height:80px;
    line-height:80px;
    font-size:43px;
    display:block;
    background:#fb76cd;
    border-radius:2rem;
    text-align:center;
    color:#fff;
    cursor:pointer;
    font-weight:800;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
    animation:btnPulse 2s linear infinite;
}
.anniu_sh{
display: block;
    background: #fb76cd;
    border-radius: 2rem;
    text-align: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: btnPulse 2s linear infinite;
    height: 100px;
    padding: 10px 0;
    font-size: 32px;
    margin-top: 20px;
    width: 89%;
    margin: 0 auto;
    margin-top: 20px;
}
@keyframes btnPulse{
    0%{transform:scale(1);} 50%{transform:scale(1.05);} 100%{transform:scale(1);} }

/* Error Layer */
.error{
    position:fixed;
    top:0;left:0;right:0;bottom:0;
    display:flex;
    align-items:center;justify-content:center;
    background:rgba(0,0,0,0.7);
    z-index:99999;
}
.error-content{
    padding:30px;
    font-size:18px;
    background:rgba(0,0,0,0.8);
    border-radius:10px;
    color:#fff;
    width:100%;
    max-width:750px;
    text-align:center;
}

/* FX Result Frame */
.fx-result{
    background-image:url(../images/FX-kuang.png);
    background-size:100% 100%;
}

/* Loader */
.loader-inner.ball-spin-fade-loader{
    position:relative;
    width:48px;
    height:48px;
    margin:40px auto;
}
.loader-inner.ball-spin-fade-loader div{
    background:#2e80ff;
    width:10px;
    height:10px;
}

/* Progress */
.code{
    font-size:25px;
    color:#999;
    margin-bottom:30px;
}
.progress-container{
    width:100%;height:8px;background:#eee;
    border-radius:4px;overflow:hidden;margin-bottom:10px;
}
.progress-bar{
    height:100%;width:0%;background:#2e80ff;
    animation:loadBar 3s linear forwards;
}
@keyframes loadBar{from{width:0;}to{width:100%;}}

.time-left{font-size:25px;color:#999;}

/* Responsive */
@media screen and (min-width:700px){html{display:flex;justify-content:center;}}