*,
*:before,
*:after {
    box-sizing: border-box;
}

@font-face {
    font-family: "PingFang SC";
    src: url("../fonts/PingFangSC.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #e5f1fd;
    font-family: yahei, serif;
}

body {
    height: 100%;
    min-height: 100vh;
    background-image: url("../images/background-board.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mobile {
    display: none !important;
}

.desktop {
    display: block !important;
}

span.color-red {
    color: #eb333a;
}

.wrapper {
    padding: 0px 20px 40px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.content-wrapper {
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 0;
    /* padding: 20px; */
    /* background: #ffffff; */
}

.header-container .logo-img {
    display: block;
    width: 100%;
    max-width: 200px;
}

.main-title {
    text-align: center;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    font-size: 36px;
    color: #101828;
    font-family: PingFang SC;
    font-weight: 600;
}

.main-title img {
    display: block;
    width: 100%;
    max-width: 410px;
}

.main-cs {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.main-content {
    border-radius: 16px;
    /* background: rgba(255, 255, 255, 0.2); */
    background: rgba(129, 108, 243, 0.2);
    padding: 16px;
    max-width: 1000px;
    width: 100%;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
    box-shadow: 0px 0px 15px 4px rgba(61, 120, 255, 0.2);
}

.liner-set {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    /* border-radius: 30px; */
    padding: 12px;
    display: flex;
    gap: 16px;
    font-family: PingFang SC;
}

.line-direction {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    box-shadow: 0px 2px 4px 0px #0000000d inset;
    border-radius: 12px;
    color: #1e2939;
    height: 64px;
    font-size: 20px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.line-bg {
    /* background-image: url("../images/line-bg.png"); */
    /* background-repeat: no-repeat; */
    /* background-position: center center; */
    /* background-size: cover; */
    /* height: 64px; */
    /* border-radius: 30px; */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* color: #ffffff; */
    /* font-size: 22px; */
    /* padding-left: 36px; */
    /* padding-right: 36px; */
    /* white-space: nowrap; */
}

.line-divider {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        #e5e7eb 50%,
        rgba(0, 0, 0, 0) 100%
    );
    height: 64px;
    width: 1px;
    display: block;
    order: 2;
}

.line-speed {
    width: 100%;
    line-height: 100%;
    font-size: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    order: 3;
}

.line-speed span {
    /* font-family: Arial, Helvetica, sans-serif; */
    margin-left: 10px;
}

.speed-dot {
    background: #00bc7d;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
}

.line-btn {
    white-space: nowrap;
    /* background-image: url("../images/line-btn-bg.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; */
    background-color: #3d78ff;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: bold;
    padding-left: 36px;
    padding-right: 60px;
    font-size: 16px;
    text-decoration: none;
    margin: auto;
    position: relative;
    order: 4;
}

.line-btn:after {
    content: "";
    background: url("../images/right-Icon.png");
    width: 24px;
    height: 24px;
    background-size: 100% 100%;
    display: block;
    position: absolute;
    top: 12px;
    right: 28px;
}

/* right-Icon */

.footer-content {
    padding-top: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-container {
    display: grid;
    justify-items: center;
}

.qrcode-wrap {
    background-image: url("../images/background-qr.png");
    padding: 12px;
    background-size: 100% 100%;
}

.qrcode {
    width: 180px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.qrcode img {
    width: 160px;
}

.qrcode-txt {
    color: #000;
    margin-top: 8px;
    font-weight: 600;
}

.qrcode-txt-btn {
    color: #364153;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 2px 4px -2px #0000001a;
    margin-top: 16px;
    border-radius: 60px;
    height: 40px;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qrcode-txt-btn:before {
    background-image: url("../images/phone-icon.png");
    height: 28px;
    width: 28px;
    display: block;
    content: "";
    margin-right: 4px;
}

.download-mobile-btn {
    padding: 32px 64px !important;
    font-size: 14px !important;
    border-radius: 100px !important;
    font-weight: bold !important;
}

.phone-icon {
    width: 28px;
    height: 28px;
    margin-right: 6px;
    animation: scale 2s infinite;
}

.footer-title {
    font-size: 18px;
    color: #ffffff;
}

.browsers-list {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.browsers-list .browser {
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: PingFang SC;
}

.browser img {
    display: block;
    width: 100%;
    max-width: 45px;
}

@media only screen and (max-width: 767px) {
    .header-container,
    .main-title {
        /* width: 70%; */
        margin: auto;
        font-size: 24px;
    }

    .main-content {
        gap: 16px;
        border-radius: 12px;
    }

    .liner-set {
        flex-wrap: wrap;
        border-radius: 8px;
    }

    .line-direction {
        border-radius: 6px;
        height: 48px;
        font-size: 16px;
        min-width: 100px;
    }

    .line-divider {
        display: none;
    }

    .line-btn {
        margin-left: auto;
        margin-right: 0;
        font-size: 16px;
        padding-left: 12px;
        padding-right: 32px;
        height: 48px;
        border-radius: 16px;
    }

    .line-btn:after {
        content: "";
        background: url("../images/right-Icon.png");
        width: 24px;
        height: 24px;
        background-size: 100% 100%;
        display: block;
        position: absolute;
        top: 12px;
        right: 6px;
    }

    .line-speed {
        order: 5;
        color: #808080;
        padding-top: 16px;
        border-top: 1px solid #d7ebff;
        font-size: 18px;
    }

    .speed-dot {
        width: 8px;
        height: 8px;
        margin-right: 8px;
    }

    .footer-content {
        padding-top: 18px;
    }
}

@media only screen and (max-width: 500px) {
    /* .line-btn {
        font-size: 14px;
        padding: 0 15px;
    }

    .line-bg {
        font-size: 14px;
        padding: 0 15px;
    } */
}

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