/* 🎯 移动端文字间距终极修复 - 彻底解决重叠问题 */

@media screen and (max-width: 768px) {
    
    /* 🔥 强制增加主标题区域的底部间距，彻底避免与下方内容重叠 */
    #lvFuYhxX #jhVzzpCT {
        /* 使用超大的下边距确保与下方元素分离 */
        margin-bottom: 60px !important; /* 大幅增加下边距 */
        /* 增加底部内边距 */
        padding-bottom: 40px !important; /* 大幅增加底部内边距 */
        /* 确保内容不会溢出 */
        overflow: visible !important;
        /* 设置最小高度确保有足够空间 */
        min-height: 150px !important; /* 增加最小高度 */
        /* 确保在独立的布局上下文 */
        position: relative !important;
        z-index: 20 !important;
    }
    
    /* 🔥 强制App下载按钮区域与上方内容分离 */
    #lvFuYhxX #blVhhzUh {
        /* 超大上边距确保与标题分离 */
        margin-top: 50px !important; /* 大幅增加上边距 */
        /* 增加顶部内边距 */
        padding-top: 40px !important; /* 大幅增加顶部内边距 */
        /* 确保与下方图片有足够间距 */
        margin-bottom: 50px !important; /* 大幅增加下边距 */
        padding-bottom: 40px !important; /* 大幅增加底部内边距 */
        /* 确保在独立的布局上下文 */
        position: relative !important;
        z-index: 15 !important;
        /* 设置边框确保视觉分离（可选，调试用） */
        /* border-top: 1px solid rgba(0,0,0,0.05) !important; */
    }
    
    /* 🔥 强制手机图片区域远离上方内容 */
    #lvFuYhxX #kDYKaAXO {
        /* 超大上边距确保完全分离 */
        margin-top: 80px !important; /* 超大上边距 */
        /* 超大顶部内边距 */
        padding-top: 60px !important; /* 超大顶部内边距 */
        /* 清除浮动确保正确布局 */
        clear: both !important;
        /* 确保在新的布局上下文中 */
        position: relative !important;
        z-index: 5 !important;
        /* 强制换行，确保图片在下方 */
        display: block !important;
        width: 100% !important;
    }
    
    /* 🔧 主标题文字本身的间距优化 */
    #lvFuYhxX #wVLpdWJm {
        /* 确保主标题容器有足够下边距 */
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }
    
    /* 🔧 副标题的间距优化 */
    #lvFuYhxX #TImvexHe {
        /* 确保副标题下方有足够空间 */
        margin-bottom: 25px !important;
        padding-bottom: 20px !important;
    }
    
    /* 🚀 整体首屏布局优化 - 确保垂直间距 */
    #lvFuYhxX {
        /* 确保首屏有足够高度容纳所有内容和超大间距 */
        min-height: 150vh !important; /* 增加最小高度以容纳大间距 */
        /* 使用flexbox确保内容不重叠 */
        display: flex !important;
        flex-direction: column !important;
        /* 内容间自然分布，不强制均匀 */
        justify-content: flex-start !important; /* 改为从顶部开始布局 */
        /* 允许内容溢出以确保间距 */
        overflow: visible !important;
    }
    
    /* 🔧 确保所有行容器有适当间距 */
    #lvFuYhxX > .layout_row-margin_top-e2d5e,
    #lvFuYhxX > .layout_row-margin_bottom-b3e51 {
        /* 增加行间距 */
        height: 15px !important;
        min-height: 15px !important;
    }
}

/* 📱 小屏幕特殊处理 */
@media screen and (max-width: 480px) {
    
    #lvFuYhxX #jhVzzpCT {
        margin-bottom: 50px !important; /* 大幅增加下边距 */
        padding-bottom: 35px !important; /* 大幅增加底部内边距 */
        min-height: 130px !important; /* 增加最小高度 */
    }
    
    #lvFuYhxX #blVhhzUh {
        margin-top: 45px !important; /* 大幅增加上边距 */
        padding-top: 35px !important; /* 大幅增加顶部内边距 */
        margin-bottom: 45px !important; /* 大幅增加下边距 */
        padding-bottom: 35px !important; /* 大幅增加底部内边距 */
    }
    
    #lvFuYhxX #kDYKaAXO {
        margin-top: 70px !important; /* 超大上边距 */
        padding-top: 50px !important; /* 超大顶部内边距 */
    }
}

/* 🔄 超小屏幕进一步优化 */
@media screen and (max-width: 360px) {
    
    #lvFuYhxX #jhVzzpCT {
        margin-bottom: 40px !important; /* 大幅增加下边距 */
        padding-bottom: 30px !important; /* 大幅增加底部内边距 */
    }
    
    #lvFuYhxX #blVhhzUh {
        margin-top: 40px !important; /* 大幅增加上边距 */
        padding-top: 30px !important; /* 大幅增加顶部内边距 */
        margin-bottom: 40px !important; /* 大幅增加下边距 */
        padding-bottom: 30px !important; /* 大幅增加底部内边距 */
    }
    
    #lvFuYhxX #kDYKaAXO {
        margin-top: 60px !important; /* 超大上边距 */
        padding-top: 45px !important; /* 超大顶部内边距 */
    }
}
