/* 通用重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-y: auto;
    /* 允许垂直滚动 */
    scrollbar-width: none;
    /* Firefox 隐藏滚动条 */
}

/* Chrome/Safari 隐藏滚动条 */
body::-webkit-scrollbar {
    display: none;
}


a {
    text-decoration: none;
    color: #333;
}

img {
    max-width: 100%;
    display: block;
    border-radius: .5rem;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: .5rem;
    height: .5rem;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: .25rem;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* padding: .9375rem 3.75rem; */
    height: 3.75rem;
    line-height: 3.75rem;
    z-index: 100;
    transition: background-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(4px);
    background: rgb(255 255 255 / 80%);
    /* box-shadow: 0 .125rem .625rem rgba(0, 0, 0, 0.1); */
}



.navbar.scrolled {
    backdrop-filter: blur(6px);
    animation: 500ms running slideInDown;
    background: rgb(255 255 255 / 80%);
    /* box-shadow: 0 .125rem .625rem rgba(0, 0, 0, 0.1); */
}

@keyframes slideInDown {
    0% {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.navbar .container {
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    padding: 0 3.75rem;

}

.navbar-logo {
    width: 6.625rem;
    height: 2.5rem;
    color: #6a11cb;
    background: url('../imge/index/logo.png') no-repeat;
    background-size: cover;
}

.navbar-menu {
    margin-left: 1.25rem;
    display: flex;
    gap: 4rem;
}

.navbar-menu a {
    width: 4.25rem;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.navbar-menu .a {
    width: 3.125rem;
    /* font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    background: url(../imge/index/xaintiao.png) no-repeat;
    background-size: 80% 30%;
    background-position: .625rem 1.875rem;
    color: #5955FF;
    font-weight: 700;
    text-align: center; */
}

.navbar-menu .lange {
    width: 3.125rem;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    background: url(../imge/index/xaintiao.png) no-repeat;
    background-size: 80% 30%;
    background-position: .625rem 1.875rem;
    color: #5955FF;
    font-weight: 700;
    text-align: center;
}


.navbar-menu .a::after {
    /* content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.375rem;
    height: .4525rem;
    background: url(../imge/index/xaintiao.png) no-repeat;
    background-size: 100% 30%; */
    /* background-position: .625rem 1.875rem; */
}

.navbar-menu .Ahover {
    background: url(../imge/index/xaintiao.png) no-repeat;
    background-size: 100% 30%;
    background-position: .625rem 1.875rem;
    color: #5955FF;
    font-weight: 700;
    margin-left: 0px;
}

.navbar-menu .Ahover a {
    font-weight: 400;
}

.navbar-toggle {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    right: 0;
    right: 21px;
}

.menu-hidden {
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
}

.menu-visible {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.transition-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 85%;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
    border-radius: 0px 0px 8px 8px;
    animation: 500ms running slideInRight;
    padding: 0 .9375rem;
}

.navbar .mobileMenu .mobileMenuone {
    height: 3.25rem;
    display: flex;
    justify-content: end;
    align-items: center;

}

@keyframes slideInRight {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}


.navbar .mobileMenu .mobileMenutow {
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 500;
    font-size: .75rem;
    color: #BAC0CA;
    width: 100%;
    text-align: left;
    line-height: normal;
}

.navbar .mobileMenu .mobileMenuthere {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: end;
}

.navbar .mobileMenu .mobileMenuthere a {
    margin-top: .8125rem;
    text-align: left;
    padding: 0 2.5rem;
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    background: #F3F5F7;
    border-radius: 7rem;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 500;
    font-size: .875rem;
    position: relative;
    color: #09090A;
}

.navbar .mobileMenu .mobileMenuthere .xzA::after {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url(../imge/move/xuanzhong.png) no-repeat;
    background-size: contain;

}

.navbar .mobileMenu .mobileMenuthere .xzA {
    background: #09090A;
    color: #fff;
}


.card {
    background-color: #fff;
    border-radius: .75rem;
    padding: 1.875rem;
    width: 18.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: .1875rem;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 .9375rem 2.1875rem rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: .9375rem;
    color: #222;
}

.card p {
    font-size: 0.95rem;
    color: #666;
}


/* 响应式适配 */
@media (max-width: 769px) {
    .news .card {
        width: calc(50% - 30px);
    }

}

@media (max-width: 769px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .navbar-toggle {
        display: block;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .download-btn {
        margin: .5rem 0;
        width: 80%;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .card,
    .news .card {
        width: 100% !important;
    }

}

/* 动画效果 */
@keyframes fadeUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 底部区域 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 5rem 15rem;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    width: 100%;
    display: flex;
    align-items: center;
    /* justify-content: center; */

}

.footer-social span {
    font-size: .75rem;
}

.footer-social a {
    width: 2.1875rem;
    height: 2.1875rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: #6a11cb;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3.75rem;
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #888;
}

.footer-section .download-btn {
    width: 12.875rem;
    height: 4.125rem;
    background: #333333;
    border-radius: 15px 15px 15px 15px;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 400;
    font-size: 1rem;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-section .download-btn span {
    margin-left: 1rem;
}



.footer-section .download-btn:nth-child(2) {
    margin-left: 1.25rem;
}


.oneprivacytext {
    margin-top: 3.75rem;
    padding: .625rem 3.7rem;
}

/* Chrome、Safari 等 WebKit 内核浏览器 */
#iframe::-webkit-scrollbar {
    display: none;
}

@media (max-width: 769px),
(max-device-pixel-ratio: 1.5) {}

.footer-section .download-btn {
    display: none;
}

/* 当屏幕宽度小于 768px 或设备像素比大于2（高缩放）时，应用以下样式 */
@media (max-width: 769px),
(min-device-pixel-ratio: 1.5) {


    .oneprivacytext {
        margin-top: 3.75rem;
        padding: 0 .9375rem;
    }

    .footer-social {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .navbar .container {
        display: flex;
        height: 100%;
        justify-content: flex-start;
        align-items: center;
        max-width: 100%;
        padding: 0;

    }

    /* 强制应用移动样式 */
    body.mobile-layout {
        font-size: 14px;
    }

    /* 导航栏样式调整 */
    .navbar-menu {
        display: none;
        /* 隐藏菜单 */
    }

    .navbar-toggle {
        display: block;
        /* 显示菜单切换按钮 */
    }

    /* 小于正常尺寸隐藏 */
    .footerES,
    .header {
        display: none;
    }

    .phone-container {
        display: none;
    }

    .groupchat {
        display: none;
    }

    .section {
        display: none;
    }

    .news {
        display: none;
    }

    .nearby {
        display: none;
    }

    .footer-section {
        width: auto;
        display: flex;
        /* margin: 0 auto; */
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    .storiesnone {
        display: none;
    }

    .privacy {
        display: none;
    }

    /* 头部下载按钮样式调整 */
    .containerdownload {
        flex-direction: column;
        /* 垂直排列按钮 */
    }

    /* 全向畅聊部分样式调整 */
    .phone-containerone {
        flex-direction: column;
        /* 垂直排列内容 */
    }

    .phone-img img {
        max-width: 100%;
        /* 图片自适应宽度 */
    }

    /* 社交圈子图片网格样式调整 */
    .scatter-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 两列布局 */
    }

    /* 优化新闻框布局 */
    .newsbox {
        flex-direction: column;
        /* 垂直排列新闻框 */
    }

}

.moveFooter {
    padding: 2.5rem .9375rem;
}

.moveFooter .container {}

/* 大于768px并且不是高分辨率屏幕显示 */
/* @media (min-width: 769px), */
@media (min-width: 769px),
(max-device-pixel-ratio: 1.5) {
    #mouse-icon {
        display: none;
        background: url(../imge/shubiao.png) no-repeat;
        background-size: contain;
        position: fixed;
        top: 50%;
        right: 1.875rem;
        height: 4.875rem;
        width: 1.875rem;
        transform: translateY(-50%);
        z-index: 999;
    }

    .moveFooter,
    .moveCircles,
    .moveHeader,
    .moveGroupchat,
    .moveFeatures,
    .moveNearby,
    .moveNews {
        display: none;
    }

}

/* 缩放比例超过200%时强制应用移动样式 */
body.force-mobile {
    font-size: 14px !important;
}

body.force-mobile .navbar-menu {
    display: none !important;
}

body.force-mobile .navbar-toggle {
    display: block !important;
}

body.force-mobile .scatter-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

body.force-mobile .newsbox {
    flex-direction: column !important;
}

/* 下拉div的样式 */
.download-dropdown {
    margin-top: .625rem;
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px .3125rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* border-bottom-left-radius: .625rem; */
    /* border-bottom-right-radius: .625rem; */
    width: 9.75rem;
    background: #FFFFFF;
    border-radius: .625rem;
    left: -3.125rem;
    text-align: center;
    overflow: hidden;
}

.download-dropdown::before {
    content: '';
    position: absolute;
    top: -0.625rem;
    /* 填补间距 */
    left: 0;
    width: 100%;
    height: 0.625rem;
    /* 与间距等高 */
    background: transparent;
    /* 透明桥梁 */
}

.download-dropdown div {
    margin: 0 .625rem;
    border-top: 1px solid #ededed;
    overflow: hidden;
}

.download-dropdown div:nth-child(1) {
    border: none;
}


.download-dropdown div:hover {
    /* background: #2878ff; */
    color: #5955FF;
    font-weight: 700;
}

.download-dropdown div a:hover {
    /* background: #2878ff; */
    color: #5955FF;
    font-weight: 700;
}

.download-dropdown div a {
    width: 100%;
    text-align: center;
    /* background: #2878ff; */
    color: #1A1A1A;
    font-weight: 400;

}

/* 可根据导航栏高度调整，确保显示在合适位置 */

.download-dropdown a {
    display: block;
    font-weight: 400;

    text-decoration: none;
    color: #333;
}

.positionfixed {
    width: 6.25rem;
    height: 6.25rem;
    background-color: red;
    position: fixed;
    right: .625rem;
    top: 50%;
    transform: translate(-50% 0);
}

#iframe {
    /* 隐藏滚动条 */
    scrollbar-width: none;
    /* 针对 Firefox */
    -ms-overflow-style: none;
    /* 针对 IE 和 Edge */
}

#iframe::-webkit-scrollbar {
    display: none;
    /* 针对 Chrome、Safari 和 Opera */
}

.iframe-wrapper::-webkit-scrollbar {
    display: none;
    height: revert-layer;
}