/* 通用设置 */
body::-webkit-scrollbar {
    display: none;
}

a {
    color: #333333;
    text-decoration: none;
}

a:hover {
    color: #333333;
}

p {
    color: #333333;
}

.weui-flex {
    display: flex;
}

.weui-flex__item {
    flex: 1;
    text-align: center;
}

.title {
    font-size: 2em;
}

.sub-title {
    font-size: 1.1em;
    color: #666666;
}

#main {
    background-image: url('../images/first_screen_bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.mobile-download-button-box {
    margin: 0 auto;
    width: 45%;
}

.mobile-download-button-box img {
    width: 100%;
}

.large-image-box {
    overflow: hidden;
    margin-bottom: -8px;
    width: 450px;
}

/* mobile-header */
#header {
    display: none;
}

/* first-screen */
#first_screen {
    align-items: center;
}

#main-content {
    color: #FFF;
    margin-bottom: 30px;
}

#main-content .sub-title, #main-content .title {
    color: #FFF;
}

#first_screen .logo {
    margin-top: 30px;
    width: 20%;
    margin-bottom: 20px;
}

#first_screen #social-box {
    display: none;
    justify-content: center;
    width: 50%;
    margin: 30px auto 0;
}

#mobile-social-box {
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 0 auto 30px;
}

#first_screen #social-box .mobile-un-display, #mobile-social-box .mobile-un-display {
    display: none;
}

#first_screen #social-box a, #mobile-social-box a {
    display: inline-block;
}

#first_screen #social-box img, #mobile-social-box img {
    background: #fff;
    border-radius: 24px;
    width: 24px;
    height: 24px;
    padding: 6px;
    margin-right: 12px;
}

.pc-display {
    display: none;
}

.mobile-download-button-box img {
    width: 100%;
}

.large-image {
    margin-top: 30px;
    width: 90%;
}

#mobile-download-box {
    margin-top: 30px;
}

#mobile-social-box {
    display: flex;
}

#first_screen .download-group {
    display: none;
}

#first_screen .download-group div {
    padding: 10px;
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#first_screen .download-group .qrcode {
    width: 120px;
}

/* 下载按钮容器 */
.web-download-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    padding: 0;
    min-width: 200px;
}

/* 下载按钮样式 - 扁平简洁风格 */
.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dl-btn:hover {
    background-color: #f5f5f5;
    border-color: #bdbdbd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dl-btn:active {
    transform: translateY(0);
}

/* 图标样式 */
.dl-icon-windows::before,
.dl-icon-mac::before,
.dl-icon-android::before,
.dl-icon-iphone::before,
.dl-icon-harmony::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: '';
}

.dl-icon-windows::before {
    background-image: url('../images/windows_normal.svg');
}

.dl-icon-mac::before {
    background-image: url('../images/iphone_normal.png');
}

.dl-icon-android::before {
    background-image: url('../images/android_normal.png');
}

.dl-icon-iphone::before {
    background-image: url('../images/iphone_normal.png');
}

.dl-icon-harmony::before {
    background-image: url('../images/harmony_next.png');
}

/* Hover图标变化 */
.web-download-windows:hover .dl-icon-windows::before {
    background-image: url('../images/windows_hover.svg');
}

.web-download-android:hover .dl-icon-android::before {
    background-image: url('../images/android_hover.png');
}

.web-download-iphone:hover .dl-icon-iphone::before {
    background-image: url('../images/iphone_hover.png');
}

.web-download-harmony:hover .dl-icon-harmony::before {
    background-image: url('../images/harmony_next_hover.png');
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
}

.swiper-container {
    --swiper-pagination-color: #ffffff;
    margin-bottom: 30px;
}

/* ===== Footer ===== */
#footer {
    margin-top: 20px;
    z-index: 10;
    padding: 40px;
    display: block;
}

#footer .content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#footer .content .footer-left .footer-text-box {
    margin-left: 20px;
}

#footer .content .footer-left .footer-navbar {
    margin-top: 40px;
}

#footer .content .footer-left .footer-navbar a {
    font-size: 16px;
}

#footer .content .footer-left .icon-group {
    display: none;
    justify-content: left;
}

#footer .content .footer-left .icon-group .footer-logo-box {
    width: 82px;
    height: 82px;
    background-color: #fff;
    border-radius: 20px;
}

#footer .content .footer-left .icon-group .footer-logo-box img {
    width: 100%;
}

#footer .content .footer-left .icon-group .footer-text-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 10px;
}

#footer .content .footer-left .icon-group .footer-text-box .title {
    font-size: 30px;
    color: #212121;
}

#footer .content .footer-left .icon-group .footer-text-box .sub-title {
    font-size: 20px;
    color: #757575;
}

#footer .content .footer-left .footer-info {
    font-size: 14px;
}

#footer .content .footer-right {
    display: none;
    align-items: center;
    text-align: center;
}

#footer .content .footer-right img {
    border-radius: 5px;
}

.footer-navbar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-navbar ul li {
    display: inline;
}

.footer-navbar ul li a {
    line-height: 2em;
    color: #212121;
    border-right: #212121 solid 1px;
    padding: 0 5px;
}

.footer-navbar .first {
    padding-left: 0;
}

.footer-navbar .last {
    border-right: 0;
}

.footer-info p {
    color: #212121;
    line-height: 2em;
}

.footer-info p img {
    height: 1.2em;
    margin-bottom: -2px;
}

.footer-qrcode-box {
    margin: 20px;
}

.footer-qrcode-box img {
    width: 120px;
    border: 1px solid #e6e6e6;
}

.footer-qrcode-box p {
    font-size: 15px;
    color: #212121;
}

/* ===== Hover effects ===== */
.web-download-windows:hover .dl-item-icon svg {
    fill: #005A9E;
}
.web-download-mac:hover .dl-item-icon svg {
    fill: #000000;
}
.web-download-android:hover .dl-item-icon svg {
    fill: #2BB673;
}
.web-download-iphone:hover .dl-item-icon svg {
    fill: #0055D4;
}
.web-download-harmony:hover .dl-item-icon svg {
    fill: #E55A2B;
}

/* ===== wx qr float ===== */
.wx-qr-float-spam {
    position: relative;
}
.wx-qr-float {
    display: none;
}

/* ===== PC端样式 ===== */
@media screen and (min-width: 1000px) {
    #main {
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    #header {
        padding: 20px 0;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
    }

    #header li {
        display: inline-block;
        line-height: 60px;
    }

    #header .main {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        height: 60px;
        margin: 0 auto;
        width: 950px;
    }

    #header .main a {
        line-height: 60px;
        font-size: 14px;
        margin-right: 18px;
    }

    #header .main > ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #header .main > ul > li > a {
        color: #FFFFFF;
        padding: 0 15px;
        display: block;
        height: 100%;
    }

    #header .main > ul > li > a > .is-active {
        border-bottom: white 3px solid;
        padding-bottom: 8px;
    }

    #header-logo {
        font-size: 24px;
        line-height: 60px;
    }
    #header-logo span {
        color: #FFFFFF;
    }

    #first_screen {
        display: flex;
        justify-content: center;
    }

    #main-content {
        width: 1000px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding-bottom: 40px;
    }

    #main-content .title {
        font-size: 3.5em;
    }

    #main-content .sub-title {
        font-weight: 200;
        font-size: 2.5em;
    }

    #first_screen .text-group {
        align-self: center;
        margin-right: 40px;
    }

    #first_screen .logo-box {
        display: none;
    }

    #first_screen .text-group .weui-flex__item {
        text-align: left;
    }

    .mobile-display {
        display: none;
    }

    .pc-display {
        display: block;
    }

    #first_screen .download-group {
        display: flex;
        margin-top: 40px;
        align-items: center;
    }

    #first_screen #social-box {
        max-width: 336px;
        margin: 30px 0 0 0;
        justify-content: flex-start;
        display: flex;
    }

    .mobile-social-group {
        display: none;
    }

    #mobile-social-box {
        display: none;
    }

    #first_screen #social-box .mobile-un-display {
        display: inline-block;
    }

    #first_screen #social-box .wx-qr-float {
        display: none;
    }

    #first_screen #social-box .wx-qr-float-spam:hover .wx-qr-float {
        display: block;
        position: absolute;
        z-index: 999;
        margin-left: -50px;
    }

    #first_screen #social-box .wx-qr-float-spam:hover .wx-qr-float img {
        width: 120px;
        height: 120px;
        border-radius: 0;
    }

    #first_screen .download-group img {
        border-radius: 8px;
    }

    #mobile-download-box {
        display: none;
    }

    .large-image {
        width: 100%;
    }

    #footer .content {
        width: 1000px;
    }

    #footer .content .footer-left .icon-group {
        display: flex;
    }

    #footer .content .footer-right {
        display: flex;
    }
}
