html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
}
*{
    box-sizing: border-box;
}

.pc-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .5rem;
    padding-top: .085rem;
    height: 3.75rem;
    max-width: 1024px;
    margin: 0 auto;
    background: #0C0C0C;

    .pc-head-left{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        margin-top: 0;
        
        img{
            width: 80px;
            height: auto;
            display: block;
        }
    }
    
    .pc-head-right{
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2rem;
        
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 2rem;
            position: relative;
            
            a {
                color: #FFFFFF;
                text-decoration: none;
                font-size: 17px;
                transition: color 0.3s ease;
                
                &:hover {
                    color: #E60012;
                }
            }

            &::after {
                content: '';
                position: absolute;
                right: -1rem;
                top: 50%;
                transform: translateY(-50%);
                height: 1rem;
                width: 1px;
                background-color: rgba(255, 255, 255, 0.3);
            }
        }
        
        .auth-buttons {
            display: flex;
            align-items: center;
            
            .login-btn {
                color: #FFFFFF;
                text-decoration: none;
                font-size: 17px;
                transition: color 0.3s ease;
                margin-right: 1.5rem;
                
                &:hover {
                    color: #E60012;
                }
            }
            
            .signup-btn {
                background: #E60012;
                color: #FFFFFF;
                padding: 0.5rem 1.5rem;
                border-radius: 2rem;
                text-decoration: none;
                font-size: 17px;
                transition: opacity 0.3s ease;
                
                &:hover {
                    opacity: 0.9;
                }
            }
        }
    }
    img{
        width: 100%;
        height: 100%;
    }

}


.clear {
    height: 0;
    overflow: hidden;
    clear: both;
    width: 100%;
}

.clear:after {
    content: "020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.download-pc {
    display: none;
}

.qrcode-box {
    display: inline-block;
    width: 11.875rem;
    height: 11.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.5625rem;
    border-radius: 0.5rem;
    margin-right: 1.0526rem;
}
.qrcode-box>div{
    background-color: white;
    padding: 0.625rem;
}

.code-img {
    width: 100%;
    height: 100%;
}

.code-img img {
    width: 100% !important;
    height: 100% !important;
}
.content-box{
    width: 100%;
    height: 72.4%;
    position: relative;
}
.content,.content-item{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.content-item{
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 5.125rem;
}
.left-item{
    width: 37.5rem;
    height: 100%;

}
.right-item{
    /* width: 26.5rem; */
    height: 39rem;
    max-height: 100%;
}
.left-title-1{
    color: #FFFFFF;
    font-size: 1.875rem;

}
.left-title-2{
    color: #FFFFFF;
    font-size: 1.25rem;
    margin: 1.125rem 0 0.9375rem;

}
.left-line{
    width: 2.1875rem;
    height: 0.25rem;
    background: #B8B8B8;
}
.left-btn{
    width: 15.125rem;
    height: 3.5rem;
    background: linear-gradient(to right,#E60012,#B90764);
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3.0625rem 0 1.375rem;

}
.left-btn>img{
    width: 1.6875rem;
    height: 1.9375rem;
    margin-right: 0.5625rem;
}
.foot-img-box{
    height: 27.6%;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}
.logo-foot-box{
    width: 20%;
    height: 26%;
    position: absolute;
    left: 7%;
    top: 8%;
    z-index: 2;
    background-color: #0C0C0C;
    padding: 0 0.5rem 0.5rem 1rem;
}
.logo-foot{
    height: 100%;

}
.foot-img{
    height: 100%;
    /* width: 100%; */
    display: flex;
    margin: 0 auto;
}
.footer-nav {
    position: relative;
    z-index: 3;
    font-size: 14px;
    background-color: #0C0C0C;
    /* height: 27.6%; */
    width: 100%;

}

.foot {
    width: 75rem;
    margin: 0 auto;
    display: flex;


}

.foot-logo-1 {
    padding: 1.5rem 0;
}

.foot-logo-2 {
    display: flex;
    align-items: center;

}

.foot-logo-2 li {
    margin-right: 1.625rem;
}

.foot-desc {
    color: #4D4D4D;
    font-size: 16px;
    padding-top: 2.5rem;
    line-height: 1.6;
}

.foot-right {
    margin-left: 190px;
}

.right-row-1 {
    display: flex;
    margin-bottom: 2.375rem;
}

.row-1-left p,
.row-1-right p {

    font-size: 20px;
    color: #4D4D4D;
    padding: 1.5rem 0 1.25rem;



}

.logo-cont img {

    margin-right: 1rem;

}

.row-1-left {
    margin-right: 4.6875rem;
}

.right-row-2 {
    display: flex;
    font-size: 20px;
    color: #4D4D4D;
    margin-bottom: 1.75rem;


}

.right-row-2 a {
    margin-right: 1.5rem;
}

.right-row-2 :hover {
    text-decoration: underline;
}

.right-row-3 {
    display: flex;

}

.right-row-3 img {
    margin-right: 1rem;
}


@media screen and (max-width: 1680px) {
    .footer-nav {
        zoom: 0.6;
    }
}

.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height:100vh;
    overflow-y:scroll;

    img {
        width: 100%;
        max-width: 1024px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .first-image-container {
        position: relative;
        width: 100%;
        max-width: 1024px;
        margin: 0 auto;

        img {
            width: 100%;
            height: auto;
            display: block;
        }

        .qr-code-container {
            position: absolute;
            top: 50.5%;
            right:4.5%;
            transform: translate(-50%, -50%);
            background: white;
            /* padding: 1rem; */
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            
            .qr-code {
                width: 115px;
                height: 115px;
            }
        }
    }
}

.download-h5 {
    display: flex;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    align-items: flex-start;
    justify-content: center;
    background: #000;
    flex-direction: column;
}

.download-h5 img {
    margin-top: -10px;
    width: 100%;
    height: 105%;
    object-fit: fill;
    object-position: top;
    -webkit-user-drag: none;
    user-select: none;
}
/* 修复download按钮图片样式 */
.download-h5 .download {
    position: absolute !important;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8rem;
    width: 76vw !important;
    max-width: 400px;
    height: auto !important;
    z-index: 10;
    margin: 0;
    object-fit: contain;
}

/* Safari提示样式 */
.safari-tip {
    /* display: none; //默认隐藏 */
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 15;
    width: 90%;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    /* line-height: 1.4; */
}

/* 手机边框样式，仿 pin77 */
@media screen and (min-width: 769px) {
    .download-h5 {
        max-width: 414px; /* iPhone Plus 的最大宽度 */
        max-height: 896px; /* iPhone 11 Pro Max 的高度 */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 20px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        border: 8px solid #333;
        position: relative; /* 确保子元素的 absolute 定位相对于此容器 */
    }
    .download-h5 img {
        border-radius: 12px;
    }
    .download-h5 .download {
        width: 75% !important;
        height: auto !important;
    }
}