:root {
    --primary-color: #1E3738;
    --text-color: #333;
    --bg-color: #EFEEF3;
    --animation-timing: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --font-primary: 'AlimamaFangYuan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'AlimamaFangYuan';
    src: url('fonts/AlimamaFangYuan.woff2') format('woff2'),
         url('fonts/AlimamaFangYuan.woff') format('woff'),
         url('fonts/AlimamaFangYuan.ttf') format('truetype');
    /* font-weight: normal; */
    font-style: normal;
    font-display: swap;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow-x: hidden;
    position: relative;
    background-image:url('images/bg-body.png');
    background-size: 1500px 800px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
}

body.loaded {
    opacity: 1;
}

.fish-hunter-qr{
    width: calc(173px - 75px);
    /* height: 150px; */
    
}
.wechat{
    width: 173px;
    max-width: 173px;
    display: flex;
    margin-top: 20px;
    .wechat-text{
        min-width: fit-content;
    }
}
.container {
    max-width: 1620px;
    width: 90%;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
header {
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.logo img:hover {
    /* transform: scale(1.05); */
    cursor: pointer;
}

.contact {
    font-family: var(--font-primary);
    font-size: 15px;
    color: #000000;
    opacity: 0.7;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact a {
    position: relative;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #222;
    transition: width 0.3s ease;
}

.contact a:hover {
    color: #222;
}

.contact a:hover::after {
    width: 100%;
}

/* Main Content Styles */
main {
    padding: 60px 0;
    overflow: hidden;

    vertical-align: middle;
    position: absolute;
    top: 50%;
    margin-top: -360px;
    width: 100%;
}

main .container {
    display: flex;
    gap: 40px;
}

.content-left {
    flex: 1;
    padding-top: 110px;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.slogan {
    font-family: var(--font-primary);
    font-size: 50px;
    color: #1E3738;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.slogan-line {
    display: block;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.download-title {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDownFade 0.6s ease forwards;
    animation-delay: 0.9s;
}

.download-title-img {
    height: 18px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}
.download-title-text{
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: #1E3738;
}
.download-buttons {
    margin-top: 30px;
    opacity: 1;
}

.download-buttons h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.buttons {
    display: flex;
    gap: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    overflow: visible;
    transform-origin: center;
    transition: all 0.4s var(--animation-timing);
    will-change: transform;
    backface-visibility: hidden;
    opacity: 1;
    width: 200px;
    text-align: center;
    justify-content: center;
    height: 54px ;
}
.isPcDevice:hover {
    /* transform: translateY(-5px) scale(1.08); */
    background-color: #000000;
    /* box-shadow: 0 10px 25px var(--shadow-color);  */

    border-radius: 30px;
    /* 设置元素边框为1像素宽度，样式为实线，颜色为透明。 */
    border: 2px solid transparent;
    /* 设置背景剪裁区域为内边距和边框区域。 */
    background-clip: padding-box,border-box;
    /* 设置背景绘制区域为内边距和边框区域。 */
    background-origin: padding-box,border-box;
    /* 设置元素的背景图像为两个线性渐变。第一个渐变从左到右，颜色从白色到白色；第二个渐变以155度角从下左到上右，颜色从rgba(116, 233, 255, 1)到rgba(64, 158, 255, 1)。 */
    background-image:
            linear-gradient(to right, #000, #000),
            linear-gradient(127deg, rgba(253, 251, 149, 1), rgba(108, 234, 224, 1));
}

.btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /* transition: transform 0.4s var(--animation-timing); */
}

.download-btn:hover .btn-icon {
    /* transform: scale(1.15) rotate(5deg); */
}

/* 未发布状态的按钮悬浮效果 */
.download-btn.unreleased:hover {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border: none;
}
.download-btn.unreleased {
    border: none !important;
    height: 54px !important;
}

/* 添加未发布提示 */
.download-btn.unreleased::after {
    content: '暂未发布';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.download-btn.unreleased:hover::after {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

.download-btn.unreleased:hover .btn-icon {
    transform: none;
}

.download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 55, 56, 0.3);
}
.isMobileDevice{
    display: none;
}

.content-right {
    flex: 1.5;
    position: relative;
    overflow: visible;
    /* margin-left: -13%; */
}

.screenshots {
    position: relative;
    transition: transform 0.1s ease-out;
    margin-top: 20px;
    /* width: 110%; */
    width: 90%;
    transform-origin: left center;
    will-change: transform;
}

.desktop-screenshot {
    width: 100%;
    border-radius: 10px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-screenshots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.mobile-screenshot {
    position: absolute;
    width: 35%;
    border-radius: 10px;
    transition: all 0.5s var(--animation-timing);
    will-change: transform;
    backface-visibility: hidden;
}

/* 抖音图片位置 */
.mobile-screenshot:nth-child(1) {
    right: -11%;
    top: 33%;
    transform: translate3d(0, -50%, 0);
}

/* 小红书图片位置 */
.mobile-screenshot:nth-child(2) {
    right: -15%;
    bottom: 30%;
    transform: translate3d(0, 50%, 0);
}

/* 悬浮效果 */
/* .mobile-screenshot:nth-child(1):hover {
    transform: translate3d(0, calc(-50% - 10px), 0) scale(1.05);
    z-index: 2;
}

.mobile-screenshot:nth-child(2):hover {
    transform: translate3d(0, calc(50% - 10px), 0) scale(1.05);
    z-index: 2;
} */

/* Footer Styles */
footer {
    width: 100%;
    color: #1E373899;
    padding: 20px 0;
    text-align: center;
    position: fixed;
    bottom: 40px;
    font-size: 14px;
}

footer p {
    font-family: var(--font-primary);
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

footer p:hover {
    /* transform: translateY(-2px); */
}
.modal{
    display: none;
}
.isMa{
    display: none;
}
.isPc{
    display: block;
}
/* Responsive Design */
@media (hover: hover) {
    .download-btn:hover {
        transform: translateY(-5px) scale(1.08);
    }
    
    .mobile-screenshot:hover {
        z-index: 2;
    }
}

@media (min-width: 1921px) {
    .container {
        max-width: 1800px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
        
    }
    .slogan {
        font-size: 2.4rem;
    }
}

@media (max-width: 1284px ) {
    .slogan {
        font-size: 2.2rem;
    }
    
    .mobile-screenshot {
        width: 40%;
    }
    
    .container {
        padding: 0 30px;
        min-width: 1020px;
        /* width: 80%; */
    }
    .content-left{
        transform: scale(0.6) !important; /* 缩小到原来的一半 */
        transform-origin: top; /* 缩放中心点在元素中心 */
    }
        
    .slogan{
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .wechat{
        margin-top: 10px;
    }
    .fish-hunter-qr{
        width: 100px;
        /* height: 150px; */
        /* margin-top: 10px; */
    }
    .isPc{
        display: none;
    }
    .isMa{
        display: block;
    }
    .content-right{
        margin-left: 0;
    }
    .screenshots {
        width: 100%;
    }
    .content-left{
        transform: scale(1) !important; /* 缩小到原来的一半 */
        transform-origin: top; /* 缩放中心点在元素中心 */
    }
    .mobile-screenshot:nth-child(1) {
        right: auto;
        right: 41px;
        top: auto;
        bottom: 46px;
        top: auto;
        transform: translate3d(0, 50%, 0);
    }
    
    /* 小红书图片位置 */
    .mobile-screenshot:nth-child(2) {
        right: auto;
        left: 41px;
        bottom: 46px;
    }
    .isPcDevice{
        display: none;
    }
    .isMobileDevice{
        display: flex;
    }
    .download-title{
        margin-bottom: 50px;
    }
    .container {
        width: 100%;
        padding: 0 20px;
        min-width:100%
    }
    main{
        padding-bottom: 110px;
    }
    main .container {
        flex-direction: column;
    }
    footer{
        font-size: 10px;
        bottom: 0px;
        position: absolute;
        padding: 0;
        bottom: -40px;
    }
    .content-left {
        text-align: center;
        padding-top: 20px;
    }
    
    .buttons {
        /* flex-direction: column; */
        align-items: center;

        display: flex;
        justify-content: center;
        align-items: center;
    }
    .download-btn:hover {
        transform: translateY(0px) scale(1);
        background-color:var(--primary-color);;
        box-shadow: none; 
    
    }
    .btn-icon{
        width: 15px;
        height: 15px;
    }
    .download-btn:hover .btn-icon {
        transform: none;
    }
    .download-btn {
        /* width: 100%; */
        font-size: 14px;
        justify-content: center;
    }
    
    .slogan {
        font-size: 34px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .mobile-screenshots {
        margin-top: 30px;
    }
    
    .video-background {
        width: 100%;
        opacity: 0.05;
    }
    .modal{
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: calc(100% + 120px);
        background: #000000BF;
        padding-top: 423px;
        text-align: center;
    }
    .modal-img{
        width: 70px;
        height: 50px;
        justify-content: center;
        /* position: relative; */
        /* top: 40%; */
        /* margin: 0 auto; */
        /* left:50%; */
        /* margin-left: -35px; */

    }
    .modal-tips{
        font-family: var(--font-primary);
        font-weight: bold;
        font-size: 15px;
        color: #FFFFFF;
        text-align: center;
        /* position: relative; */
        /* top: calc(40% + 20px); */
    }
}

@media (max-width: 480px) {
    .slogan {
        font-size: 34px;
        gap: 15px;
    }
}

/* 移除自定义滚动条样式 */
::-webkit-scrollbar {
    display: none;
}

/* 通用动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 标题动画 */
.brand {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDownFade 0.6s ease forwards;
}

.brand-text {
    width: 120px;
    height: 30px;
    border-radius: 16px;
    border: 2px solid #1E3738;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    line-height: 26px;
    font-size: 16px;
    color: #1E3738;
    /* height: 30px; */
    /* width: auto; */
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* .brand:hover .brand-text {
    transform: scale(1.05);
} */

.brand::after {
    display: none;
}

.video-background {
    position: fixed;
    top: 0;
    right: 0;
    width: 66.67%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.1;
} 