/***** 
    ANIMATION
 *****/
@keyframes semicircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce-glow {
    0%,
    100% {
        transform: translateY(0) scale(0.8);
        text-shadow: 0 0 3px #fff, 0 0 5px #ff4d4d, 0 0 8px #ff4d4d;
    }

    50% {
        transform: translateY(0) scale(1.0);
        text-shadow: 0 0 3px #fff, 0 0 5px #ff4d4d, 0 0 8px #ff4d4d;
    }
}

/***** 
    ANIMATION
 *****/
/***** 
    GLOBAL
 *****/
html {
    font-size: calc(0.0075 * 100vw);
}

html[device="mobile"] {
    font-size: min(calc(100vw * 0.02), 8.04px);
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: #f5f5f5;
    font-size: 1.2rem;
    /*overflow: hidden;*/
    background: url("../images/bg_pc.png");
    background-repeat: no-repeat;
    background-size: cover;
    /*background-attachment: fixed;*/
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    /*width: 100%;*/
    /*min-height: 100dvh;*/
}

@media (min-width: 431px) {
    html[device="mobile"] {
        font-size: min(calc(100vw * 0.02), calc(100vh / 105), 8.04px);
    }

    body {
        align-items: center;
        overflow: hidden;
    }
}

html[device="mobile"] body {
    background-image: url("../images/bg_mb.png");
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

a {
    text-decoration: none;
}

/***** 
    GLOBAL
 *****/
/***** 
    CONTAINER
 *****/
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    
    max-width: 402px; /* iPhone 16 Pro CSS 视口宽度附近 */

    min-height: 100dvh;

    background: url("../images/bg_mb.png") center center no-repeat;
    background-size: cover;

    position: relative;
}

.main-container .top-logo {
    width: 35.83rem;
    height: 7.94rem;
    /*margin: 1rem auto;*/
}

.main-container .main-image {
    width: auto;
    height: 28.57rem;
    margin: 0 auto;
}

.main-container .redirect-link {
    display: flex;
    width: 65%;
    margin: 0 auto;
}

.main-container .redirect-link .redirect-link-item {
    width: 11.66rem;
    height: 13.26rem;
    background: linear-gradient(
  to bottom,
  #5AB8FA 0%,
  #4A9BE6 25%,
  #2E7FD0 50%,
  #14559A 75%,
  #0C4D91 100%
);
    /*border: 1px solid #FF8000;*/
    border-radius: 1.04rem;
    margin: 0 auto;
    position: relative;
}

.main-container .redirect-link .redirect-link-item .redirect-link-no {
    position: absolute;
    background: linear-gradient(360deg, #FCFA16 0%, #B15800 100%);
    width: 2.54rem;
    height: 2.2rem;
    border-top-left-radius: 1rem;
    border-bottom-right-radius: .555rem;
    font-family: Roboto;
    font-weight: 900;
    font-size: 1.72rem;
    line-height: 100%;
    text-align: center;
    color: #622C13;
    padding-top: .2rem;
}

.main-container .redirect-link .redirect-link-item .redirect-link-circle {
    position: relative;
    margin: 2rem auto 1.2rem auto;
    border: 1px solid #ccc;
    /*background: #3B1C0E;*/
    width: 6.52rem;
    height: 6.52rem;
    border-radius: 50%;
    display: flex;
}

.main-container .redirect-link .redirect-link-item .redirect-link-circle .semicircle {
    position: relative;
    width: 5.83rem;
    height: 5.83rem;
    border-radius: 50%;
    margin: auto;

}

.main-container .redirect-link .redirect-link-item .redirect-link-circle .semicircle.active {
    animation: semicircle 2s;
}

.main-container .redirect-link .redirect-link-item .redirect-link-circle .semicircle img {
    width: 2.91rem;
    height: 5.83rem;
    float: right;
}

.main-container .redirect-link .redirect-link-item .redirect-link-speed {
    position: absolute;
    color: #FFFFFF;
    left: 2rem;
    top: 1.6rem;
    z-index: 2;
    cursor: pointer;
}

.main-container .redirect-link .redirect-link-item .redirect-link-speed b {
    font-family: Roboto;
    font-weight: 900;
    font-size: 2.08rem;
    line-height: 100%;
    text-align: center;
    border-radius: 50%;
}

.main-container .redirect-link .redirect-link-item .redirect-link-speed p {
    font-family: Roboto;
    font-weight: 900;
    font-size: 1.18rem;
    line-height: 100%;
    text-align: center;
}

.main-container .redirect-link .redirect-link-item .backdrop {
    height: 5.47rem;
    width: 5.47rem;
    position: absolute;
    left: .5rem;
    top: .4rem;
    z-index: 1;
}

.main-container .redirect-link .redirect-link-item .redirect-link-button {
    margin: 0 auto;
    /*background: rgb(125 95 74);*/
    width: 6.41rem;
    height: 1.8rem;
    border-radius: 1rem;
    display: flex;
}

.main-container .redirect-link .redirect-link-item .redirect-link-button:hover {
    transform: scale(1.2);
}

.main-container .redirect-link .redirect-link-item .redirect-link-button-inside {
    margin: auto;
    background: linear-gradient(        180deg,        #6ec0ff 0%,        #53aaf5 45%,        #3d93e6 100%    );
    border-radius: 1rem;
    width: 6rem;
    height: 1.38rem;
}

.main-container .redirect-link .redirect-link-item .redirect-link-button-inside p {
    font-family: Roboto;
    font-weight: 700;
    font-size: .8rem;
    text-align: center;
    text-transform: capitalize;
    color: #FFF;
    margin-top: .15rem;
}

.app-download {
    display: flex;
    justify-content: space-between;
    width: 62.56rem;
    margin: 1rem auto;
}

.app-download .qr-download {
    width: 9.58rem;
    height: 9.58rem;
    background-color: #FFF;
}

.app-download .app-download-img {
    width: 18.33rem;
    height: 7.02rem;
    margin: auto;
    animation: bounce-glow 1.5s infinite ease-in-out;
}

.android,
.ios {
    display: flex;
    width: 50%;
}

/***** 
    CONTAINER
 *****/
/***** */
/*    MOBILE*/
/* *****/
html[device="mobile"] .redirect-link {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 90%;
    gap: 1rem;
}

html[device="mobile"] .redirect-link .redirect-link-item {
    width: 14rem;
}

html[device="mobile"] .app-download {
    width: 35.9rem;
    margin: 2rem auto;
}

html[device="mobile"] .android,
html[device="mobile"] .ios {
    flex-direction: column;
    gap: 1rem;
}

html[device="mobile"] .app-download .qr-download {
    margin: 0 auto;
}

html[device="mobile"] .main-container .redirect-link .redirect-link-item .redirect-link-button {
    width: 8.41rem;
    height: 2.3rem;
}

html[device="mobile"] .main-container .redirect-link .redirect-link-item .redirect-link-button-inside {
    width: 7.7rem;
    height: 1.8rem;
}

html[device="mobile"] .main-container .redirect-link .redirect-link-item .redirect-link-button-inside p {
    font-size: 1rem;
}

html[device="mobile"] .main-image {
    height: 37.57rem;
}


/***** 
    MOBILE
 *****/