/* ========================================
   浪晨导航网 - 导航网站样式（含PC左右布局）
   ======================================== */

/* ===== 基础重置 ===== */
*, h1, h2, h3, p, ul, li, body { margin: 0; padding: 0; box-sizing: border-box; }

a { text-decoration: none; color: #0d265e; }

body {
    overflow-x: hidden;
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    background: #FBFBFB;
}

/* ===== 通用 Flex 布局 ===== */
.flex-1 { display: flex; align-items: center; justify-content: space-between; }
.flex-2 { display: flex; align-items: center; flex-direction: column; }
.flex-3 { display: flex; justify-content: center; flex-wrap: wrap; }

/* ===== 顶部 Header ===== */
.header { padding: 15px; box-sizing: border-box; }
#menu { cursor: pointer; width: 6vw; }

.header > .left > .text > p:first-child { font-size: 3vw; font-weight: 500; }
.header > .left > .text > .text-min {
    font-size: 4.2vw; font-weight: bold;
    animation: colorChange 3s ease-in-out infinite;
    display: flex; align-items: center;
}
.header > .left > .text > .text-min > img { width: 5.5vw; margin-left: .7vw; }

@keyframes colorChange {
    0%   { color: #3498db; }
    50%  { color: #2ecc71; }
    100% { color: #e74c3c; }
}

.ava { width: 11vw; border-radius: 50%; margin-right: 10px; }

/* ===== Banner 横幅区（移动端） ===== */
.header-2 {
    background: linear-gradient(135deg, #ba2e78, #e64d85);
    color: #FFF;
    border-radius: 30px 30px 0 0;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.popup-LYADCC {
    background-color: #fff;
    width: 42%;
    position: absolute;
    right: 0vw; top: 0;
    flex-direction: column;
    border-radius: 5vw;
    padding: 5vw;
    display: none;
    z-index: 9999;
    gap: 3vw;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.popup-LYADCC > a {
    display: flex; align-items: center;
    font-size: 4.2vw;
}
.popup-LYADCC > a > img { width: 6vw; margin-right: 2vw; }

.usdt-bac { width: 39vw; position: absolute; opacity: .07; top: 2vw; right: -15%; }

.header-2 > p:nth-child(2) {
    font-weight: bold;
    text-shadow: 0 4px 4px rgba(0,0,0,1);
    animation: bounceText 2s ease-in-out infinite;
}
@keyframes bounceText { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.url-text { font-size: 20px; line-height: 40px; font-weight: bold; }

.big-text { width: 100%; margin-top: 10px; align-items: center; }
.big-text > h1 { line-height: 30px; font-size: 4.5vw; width: 100%; text-align: center; }

.img-link { width: 4.5vw; margin-right: 2vw; }
.logo { width: 5.5vw; cursor: pointer; margin-left: 2vw; }

.info-text { margin-top: 0; padding: 0 30px; box-sizing: border-box; width: 100%; }
.info-text > p { font-size: 3vw; font-weight: 500; text-align: center; line-height: 1.8; }

/* ===== 主内容区 ===== */
.main-wrap { padding: 0 15px; box-sizing: border-box; }

/* ===== Tab 导航 ===== */
.main-1 {
    box-shadow: 0px 0px 10px rgba(0,0,0,.1);
    border-radius: 0 0 4vw 4vw;
    background: #fff;
    overflow: hidden;
}
.main-1 > ul {
    display: flex; flex-wrap: wrap;
    padding: 0; margin: 0; list-style: none;
}
.main-1 > ul > li {
    padding: 3vw 4vw; cursor: pointer;
    white-space: nowrap; font-size: 3.5vw; font-weight: bold;
    color: #666; transition: all .3s;
}
.li-active { border-bottom: 2px solid; }

.main-1-content { width: 100%; }
.main-1-content > .content-box { display: none; }
.main-1-content > .content-box-active { display: block; }
.main-1-content > .content-box > .content-list {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw;
    width: 100%; padding: 4vw; box-sizing: border-box;
    border-radius: 3vw; background: #f9f9f9;
}
.main-1-content > .content-box > .content-list > .content-item { margin-bottom: 2vw; }
.main-1-content > .content-box > .content-list > .content-item > a {
    display: flex; flex-direction: column; align-items: center;
    font-size: 3vw; color: #333;
}
.main-1-content > .content-box > .content-list > .content-item > a > img {
    width: 10vw; height: 10vw; border-radius: 2vw; margin-bottom: 3px; object-fit: cover;
}

/* ===== 卡片区 ===== */
.main-2 { margin-top: 4vw; }
.main-2 > .title { font-size: 4vw; font-weight: bold; margin-bottom: 3vw; color: #333; }
.card {
    display: block;
    background: linear-gradient(135deg, #2232ca, #e93165);
    border-radius: 4vw; padding: 5vw;
    position: relative; overflow: hidden;
    color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.15);
}
.card-bac2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.card-main { position: relative; z-index: 1; }
.card-main > .yh-28q { width: 12vw; height: 12vw; }
.card-info { margin-left: 3vw; }
.card-info > p:first-child { font-size: 4vw; font-weight: bold; margin-bottom: 1vw; }
.card-info > p:last-child { font-size: 3vw; opacity: .8; }
.card > .left { display: none; }
.card > .logo-2 { position: absolute; right: -2vw; bottom: -2vw; width: 20vw; opacity: .1; }

/* ===== 图片卡片区 ===== */
.main-3 { margin-top: 4vw; border-radius: 4vw; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.1); }
.main-3 > a { display: block; position: relative; }
.main-3 > a > img { width: 100%; display: block; min-height: 30vw; object-fit: cover; }
.main-3-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 4vw; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; }
.main-3-info > p { font-size: 3.5vw; font-weight: bold; }

/* ===== 页脚 ===== */
.footer-sj { text-align: center; padding: 20px 0; font-size: 3vw; color: #999; background: #FBFBFB; }
.footer-sj > .footer-sj-main { margin-top: 3vw; padding-top: 3vw; width: 80%; margin-left: auto; margin-right: auto; margin-bottom: 3vw; border-top: 1px solid #eee; }

#jhjc-tab, #yusq-tab { display: none; }

/* ========================================
   PC端 左右布局（屏幕宽度 > 768px）
   ======================================== */
@media (min-width: 769px) {
    .LYAD-CC { max-width: 1200px; margin: 0 auto; padding: 2vw; }

    .header { padding: 1vw 0; margin-bottom: 1vw; }
    .header > .left > .text > p:first-child { font-size: 1vw; }
    .header > .left > .text > .text-min { font-size: 1.4vw; }
    .header > .left > .text > .text-min > img { width: 2vw; margin-left: .3vw; }
    .ava { width: 3vw; margin-right: 1vw; }
    #menu { width: 2vw; }

    /* ===== PC 左右双栏布局（无间距拼接） ===== */
    .pc-media {
        display: flex;
        align-items: stretch;
        gap: 0;
        border-radius: 2vw;
        overflow: hidden;
        box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    }

    /* 左侧：Banner 面板 */
    .header-2 {
        width: 38%;
        flex-shrink: 0;
        border-radius: 0;
        padding: 2vw;
        padding-bottom: 3vw;
        min-height: 30vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .header-2 > p:nth-child(2) { font-size: 1.2vw; text-shadow: 0 2px 4px rgba(0,0,0,.3); }

    .big-text { width: 100%; margin-top: 1vw; justify-content: center; align-items: center; gap: 0.5vw; }
    .big-text > h1 { font-size: 1.6vw; line-height: 2vw; margin-top: 0.5vw; }
    .url-text { font-size: 1.2vw !important; line-height: 2vw !important; }
    .img-link { width: 1.5vw; margin-right: 0.5vw; }
    .logo { width: 1.8vw !important; margin-left: 0.5vw; }

    .info-text {
        margin-top: 1.5vw;
        padding: 1.5vw;
        background: rgba(0,0,0,0.25);
        border-radius: 1.5vw;
        width: 90%;
    }
    .info-text > p { font-size: 0.85vw; text-align: center; line-height: 1.8; }

    .usdt-bac { width: 12vw; top: 1vw; right: -3%; opacity: 0.08; }

    /* 弹出菜单 */
    .popup-LYADCC {
        width: 13vw; position: fixed; z-index: 999;
        top: 6vw; right: 9vw;
        border-radius: 1vw; padding: 1vw;
        gap: 0.8vw;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    }
    .popup-LYADCC > a { font-size: 1vw; }
    .popup-LYADCC > a > img { width: 2vw; margin-right: .35vw; }

    /* PC端隐藏 TG频道 */
    .mobile-only { display: none !important; }

    /* 右侧：内容区（无缝拼接） */
    .main-wrap {
        width: 62%;
        padding: 0;
        background: #fff;
        border-radius: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    /* Tab 导航改为顶部横向 */
    .main-1 {
        display: block;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    .main-1 > ul {
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 1vw 1.5vw;
        border-bottom: 1px solid #f0f0f0;
    }
    .main-1 > ul > li {
        width: auto;
        padding: .5vw 1.2vw;
        border-radius: .3vw;
        font-size: 0.9vw;
        border-bottom: 2px solid transparent !important;
    }
    .li-active {
        background: transparent !important;
        border-bottom: 2px solid;
    }

    #jhjc-tab { display: block !important; }
    #yusq-tab { display: block !important; }

    .main-1-content { width: 100%; padding: 1.5vw; }

    .main-1-content > .content-box > .content-list {
        width: 100%; padding: 1vw 0;
        border-radius: 0;
        gap: 1vw;
        grid-template-columns: repeat(4, 1fr);
        background: transparent;
    }
    .main-1-content > .content-box > .content-list > .content-item { margin-bottom: 1vw; }
    .main-1-content > .content-box > .content-list > .content-item > a { font-size: 0.85vw; }
    .main-1-content > .content-box > .content-list > .content-item > a > img {
        width: 3.5vw; height: 3.5vw; border-radius: .6vw; margin-bottom: 0.5vw;
    }

    .main-2 { display: none; }
    .main-3 { display: none; }
    .tips-text { display: none; }

    .footer-sj { font-size: 0.85vw; margin-top: 2vw; }
    .footer-sj > .footer-sj-main { margin-top: 1vw; padding-top: 2vw; width: 50%; margin-bottom: 1vw; }
}
