/* ========================================
   首页样式 - 伦敦金交易平台
   ======================================== */

/* ========== 通用样式 ========== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ========== 模块1: gold_market 顶部金价横幅 ========== */
.gold_market {
    background-image: url('../../img/gold-market-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 173px 0 85px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gold_market_wrap {
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
}

/* 顶部金价显示 */
.gold_market_wrap_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #FFE68F, #FFFFDC);
    border-radius: 12px;
    padding: 0 0 0 122px;
    margin-bottom: 24px;
    width: 100%;
    height: 170px;
    position: relative;
}

.gold_market_wrap_top_content {
    flex: 1;
}

.gold_market_wrap_top_title {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.gold_market_wrap_top_price {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.gold_market_wrap_top_price .price-value {
    color: #333;
    font-size: 42px;
    font-weight: bold;
}

.gold_market_wrap_top_price .price-change {
    font-size: 18px;
    padding: 4px 12px;
    border-radius: 4px;
}

.gold_market_wrap_top_price .price-change.down {
    color: #00b572;
    background: rgba(0, 181, 114, 0.1);
}

.gold_market_wrap_top_price .price-change.up {
    color: #eb4141;
    background: rgba(235, 65, 65, 0.1);
}

/* 价格文字涨跌颜色 */
.gold_market_wrap_top_price .price-value.up {
    color: #eb4141;
}

.gold_market_wrap_top_price .price-value.down {
    color: #00b572;
}

.gold_market_wrap_top_image {
    width: 403px;
    height: auto;
    position: absolute;
    right: 110px;
    bottom: 0px;
}

.gold_market_wrap_top_image img {
    width: 403px;
    height: auto;
}

/* 平台推荐卡片 */
.gold_market_wrap_enter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gold_enter_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    height: auto;
    min-height: 212px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, .4);
    border: 1px solid #FFFFFF;
    box-shadow: 12px 0px 20px 0px rgba(160, 160, 160, 0.1);
}

.gold_enter_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gold_enter_content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.gold_enter_icon {
    width: 118px;
    height: 118px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.gold_enter_icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background: #FFFFFF;
}

.gold_enter_info {
    flex: 1;
}

.gold_enter_name {
    font-size: 24px;
    font-weight: bold;
    color: #1E76F1;
    margin: 0 0 18px 0;
}

.gold_enter_desc {
    font-size: 16px;
    color: #646464;
    margin: 0;
    line-height: 1.4;
    max-width: 256px;
    font-weight: 500;
}

.gold_enter_link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.gold_enter_register {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 169px;
    height: 55px;
    background: #FF7E00;
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.3s;
    box-sizing: border-box;
}

.gold_enter_register:hover {
    opacity: 0.9;
    color: #fff;
}

.gold_enter_website {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 169px;
    height: 55px;
    background: #0076FF;
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.3s;
    box-sizing: border-box;
}

.gold_enter_website:hover {
    opacity: 0.9;
    color: #fff;
}

/* ========== 模块2: glod_quotes 价格报价 ========== */
.glod_quotes {
    padding: 100px 0 50px 0;
    background: #FFFFFF;
}

.glod_quotes_container {
    display: flex;
    gap: 30px;
}

.glod_quotes_left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 520px;
}

.glod_quotes_card {
    background: var(--Linear, linear-gradient(180deg, #f3f5f8 0, #fff 100%));
    border-radius: 4px;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    flex: 1;
    border: 1px solid #E5E5E5;
    border-radius: 24px;
}

.glod_quotes_card_title {
    font-size: 24px;
    color: #333333;
    font-weight: bold;
    margin-bottom: 52px;
}

.glod_quotes_card_title::after {
    content: '';
    display: block;
    margin-top: 40px;
    width: 100%;
    height: 1px;
    background: #AAAAAA;
}

.glod_quotes_card_price {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.glod_quotes_money {
    font-size: 38px;
    font-weight: bold;
    color: #0B0B0B;
}

.glod_quotes_change {
    font-size: 16px;
    padding: 4px 10px;
    border-radius: 4px;
}

.glod_quotes_change.down {
    color: #00b572;
    background: rgba(0, 181, 114, 0.1);
}

.glod_quotes_change.up {
    color: #eb4141;
    background: rgba(235, 65, 65, 0.1);
}

/* 价格金额涨跌颜色 */
.glod_quotes_money.up {
    color: #eb4141;
}

.glod_quotes_money.down {
    color: #00b572;
}

.glod_quotes_card_icon {
    position: absolute;
    right: 60px;
    bottom: 0px;
    width: 88px;
}

.glod_quotes_card_icon img {
    width: 100%;
    height: auto;
}

.glod_quotes_right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.glod_quotes_unit {
    background: var(--Linear, linear-gradient(180deg, #f3f5f8 0, #fff 100%));
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E5E5;
    border-radius: 24px;
}

.glod_quotes_unit_title {
    font-size: 20px;
    color: #0076FF;
    margin-bottom: 20px;
}

.glod_quotes_unit_title::after {
    content: '';
    display: block;
    margin-top: 27px;
    width: 100%;
    height: 1px;
    background: #AAAAAA;
}

.glod_quotes_unit_value {
    font-size: 28px;
    font-weight: bold;
    color: #0B0B0B;
}

.glod_quotes_unit_value span {
    font-size: 18px;
    color: #888888;
    font-weight: normal;
}

.glod_quotes_down {
    color: #52c41a !important;
}

.glod_quotes_up {
    color: #ff4d4f !important;
}

/* ========== 模块3: K线图 ========== */
.kline_section {
    padding: 0 0 80px 0;
    background: #fff;
}

#chart-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* ========== 模块4: 内容区域（应用、资讯、策略、行业） ========== */
.content_section {
    padding: 96px 0;
    background: #f5f7fa;
}

.content_flex {
    display: flex;
    gap: 15px;
}

.content_flex > * {
    flex: 1;
}

/* 通用卡片头部 */
.card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.card_header::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100px;
    height: 4px;
    background: #0076FF;
}

.app_card .card_header {
  margin-bottom: 62px;
}

.app_card .card_header::after{
    bottom: -17px;
}

.strategy_card_content .card_header::after {
    width: 140px;
}

.industry_card .card_header::after {
    width: 220px;
    left: 30px;
}

.card_title {
    color: #0076FF;
    font-size: 20px;
    font-weight: bold;
}

.card_more {
    color: #999999;
    font-size: 16px;
    text-decoration: none;
}

.card_more:hover {
    color: #52c41a;
}

/* 热门应用卡片 */
.app_card {
    background: #fff;
    border-radius: 12px;
    padding: 34px 32px 40px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.app_card_banner {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 36px;
}

.app_card_banner a {
    display: block;
}

.app_card_banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.app_card_banner:hover img {
    transform: scale(1.03);
}

.app_list {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    justify-content: flex-start;
    /*gap: 34px;*/
}

.app_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /*width: 74px;*/
    flex-shrink: 0;
    
    width: 22%; /* 或者是你固定的宽度 */
    margin-right: 4%; /* 根据需要调整间距 */
    margin-bottom: 20px;
}

.app_item:nth-child(4n) {
    margin-right: 0;
}

.app_item img {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    margin-bottom: 6px;
    object-fit: cover;
}

.app_name {
    font-size: 12px;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: block;
}

.app_download {
    display: inline-block;
    padding: 3px 10px;
    background: #FF7E00;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
}

.app_download:hover {
    background: linear-gradient(180deg, #ff6b35 0%, #e55a2b 100%);
    color: #fff;
}

/* 热门资讯卡片 */
.news_card {
    background: #fff;
    border-radius: 12px;
    padding: 27px 32px 36px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.news_featured {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.news_featured h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.news_featured h3 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.news_featured h3 a:hover {
    color: #52c41a;
}

.news_featured p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.news_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news_list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.news_list li:last-child {
    border-bottom: none;
}

.news_category {
    color: #999;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

.news_list li a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news_list li a:hover {
    color: #52c41a;
}

.news_date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* 交易策略卡片 */
.strategy_card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 27px 32px 36px 32px;
}

.strategy_card_slider {
    padding: 44px 0 36px 0;
}

.app_card .strategy_card_slider{
    padding: 0 0 36px 0;
}

.slider_main {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.slider_main a {
    display: block;
    height: 100%;
}

.slider_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.slider_main:hover img {
    transform: scale(1.05);
}

.slider_title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 40px 15px 12px;
    font-size: 14px;
    line-height: 1.5;
}

.strategy_card_content {
    padding: 15px;
}

.strategy_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.strategy_list li:last-child {
    border-bottom: none;
}

.strategy_list li a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 15px;
}

.strategy_list li a:hover {
    color: #52c41a;
}

.list_date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

/* 行业资讯卡片 */
.industry_card {
    /*padding: 15px;*/
    overflow: hidden;
    margin-top: 47px;
}

.industry_card .card_header {
    padding-left: 30px;
}

.industry_card .card_title {
    font-size: 28px;
}

.industry_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 62px;
}

.industry_item {
    display: flex;
    gap: 20px;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 26px 43px 23px 28px;
}

.industry_thumb {
    flex-shrink: 0;
    width: 168px;
    height: 108px;
    border-radius: 10px;
    overflow: hidden;
}

.industry_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry_info {
    flex: 1;
    min-width: 0;
}

.industry_info h4 {
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.industry_info h4 a {
    color: #333333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 20px;
    font-weight: bold;
}

.industry_info h4 a:hover {
    color: #52c41a;
}

.industry_info p {
    font-size: 14px;
    color: #666666;
    margin: 0 0 16px 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.industry_date {
    font-size: 12px;
    color: #999999;
}

/* ========== 模块6: 底部信息 ========== */
.footer_info_section {
    padding: 30px 0;
    background: #2c3e50;
    color: #fff;
}

.footer_info_desc {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_info_desc p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* 友情链接 */
.footer_links_box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 15px 20px;
}

.footer_links_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
}

.footer_links_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_links_list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer_links_list li a:hover {
    color: #52c41a;
}

/* ========== 响应式布局 ========== */

/* 中等屏幕适配 - 1200px 到 1400px 之间 */
@media screen and (min-width: 1081px) and (max-width: 1400px) {
    /* 全局宽度容器 */
    .tx-wide {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
        box-sizing: border-box;
    }

    /* Header 适配 */
    .header .tx-wide {
        max-width: 100% !important;
        padding: 0 30px !important;
    }

    /* Footer 适配 */
    .footer .tx-wide {
        max-width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* 主内容区域 */
    .main.tx-wide {
        max-width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .gold_market_wrap {
        max-width: 100%;
        padding: 0 30px;
    }

    .gold_market_wrap_top {
        padding: 0 0 0 80px;
    }

    .gold_market_wrap_top_image {
        width: 350px;
        right: 80px;
    }

    .gold_market_wrap_top_image img {
        width: 350px;
    }

    .gold_enter_item {
        padding: 25px;
    }

    .gold_enter_desc {
        max-width: 220px;
    }

    .gold_enter_register,
    .gold_enter_website {
        width: 150px;
        height: 50px;
    }
}

/* 平板适配 - 1200px 断点 */
@media screen and (max-width: 1200px) {
    .gold_market_wrap {
        padding: 0 20px;
    }

    .gold_market_wrap_top {
        padding: 0 0 0 80px;
        height: auto;
        min-height: 140px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .gold_market_wrap_top_image {
        width: 300px;
        right: 60px;
    }

    .gold_market_wrap_top_image img {
        width: 300px;
    }

    .gold_enter_item {
        padding: 20px;
        min-height: auto;
    }

    .gold_enter_icon {
        width: 80px;
        height: 80px;
    }

    .gold_enter_name {
        font-size: 20px;
    }

    .gold_enter_desc {
        font-size: 14px;
        max-width: 200px;
    }

    .gold_enter_register,
    .gold_enter_website {
        width: 140px;
        height: 48px;
        font-size: 14px;
    }
}

/* 移动端适配 - 1080px 断点 */
@media screen and (max-width: 1080px) {
    .container {
        padding: 0 15px;
    }

    /* ========== 顶部金价横幅 ========== */
    .gold_market {
        padding: 70px 0 30px 0;
        min-height: auto;
        background-position: center top;
    }

    .gold_market_wrap {
        max-width: 100%;
        padding: 0 15px;
    }

    .gold_market_wrap_top {
        flex-direction: row;
        text-align: left;
        padding: 15px 15px 15px 20px;
        margin-top: 10px;
        margin-bottom: 20px;
        height: auto;
        min-height: 120px;
        border-radius: 12px;
        position: relative;
    }

    .gold_market_wrap_top_content {
        margin-bottom: 0;
        flex: 1;
        min-width: 0;
    }

    .gold_market_wrap_top_title {
        /* 基于1080px设计稿: 42px */
        font-size: 3.89vw;
        color: #0B0B0B;
        font-weight: bold;
    }

    .gold_market_wrap_top_price {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .gold_market_wrap_top_price .price-value {
        /* 基于1080px设计稿: 52px */
        font-size: 4.81vw;
    }

    .gold_market_wrap_top_price .price-change {
        font-size: 12px;
        padding: 2px 6px;
    }

    /* 移动端显示金条图片 */
    .gold_market_wrap_top_image {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        /* 基于1080px设计稿: 450px x 212px */
        width: 41.67vw;
    }

    .gold_market_wrap_top_image img {
        width: 41.67vw;
        height: auto;
    }

    /* ========== 平台推荐卡片 - 单列布局 ========== */
    .gold_market_wrap_enter {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gold_enter_item {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        min-height: auto;
    }

    .gold_enter_content {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: flex-start;
        gap: 12px;
    }

    .gold_enter_icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        flex-shrink: 0;
        border-radius: 12px;
        overflow: hidden;
    }

    .gold_enter_icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    .gold_enter_info {
        flex: 1;
        min-width: 0;
    }

    .gold_enter_name {
        font-size: 16px;
        font-weight: bold;
        color: #1E76F1;
        margin: 0 0 6px 0;
    }

    .gold_enter_desc {
        font-size: 13px;
        color: #646464;
        line-height: 1.5;
        margin: 0;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .gold_enter_link {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .gold_enter_register,
    .gold_enter_website {
        flex: none;
        width: 33.426vw;
        height: 9.259vw;
        text-align: center;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gold_enter_register {
        background: #FF7E00;
        color: #fff;
    }

    .gold_enter_website {
        background: #0076FF;
        color: #fff;
    }

    /* ========== 价格报价 - 移动端样式 ========== */
    .glod_quotes {
        padding: 20px 0;
    }

    .glod_quotes_container {
        flex-direction: column;
        gap: 15px;
    }

    /* 移动端隐藏右侧详细数据（开盘价、最高价等） */
    .glod_quotes_right {
        display: none;
    }

    .glod_quotes_left {
        flex-direction: column;
        gap: 12px;
        height: auto;
    }

    .glod_quotes_card {
        padding: 20px 15px;
        border-radius: 12px;
        position: relative;
        min-height: auto;
    }

    .glod_quotes_card_title {
        font-size: 14px;
        color: #333;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    /* 移动端移除 title 伪元素 */
    .glod_quotes_card_title::after {
        display: none;
    }

    .glod_quotes_card_price {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .glod_quotes_money {
        font-size: 28px;
        font-weight: bold;
    }

    .glod_quotes_change {
        font-size: 13px;
        padding: 3px 8px;
    }

    .glod_quotes_card_icon {
        width: 60px;
        right: 15px;
        bottom: 15px;
        opacity: 0.8;
    }

    /* ========== K线图 ========== */
    .kline_section {
        padding: 15px 0 30px 0;
    }

    #chart-container {
        width: 100%;
        height: 280px;
        border-radius: 8px;
    }

    /* ========== 内容区域 - 垂直堆叠布局 ========== */
    .content_section {
        padding: 30px 0;
    }

    .content_flex {
        flex-direction: column;
        gap: 20px;
    }

    .content_flex > * {
        flex: none;
        width: 100%;
    }

    /* 通用卡片头部 */
    .card_header {
        margin-bottom: 15px;
    }

    .card_header::after {
        bottom: -3.241vw;
        width: 28.889vw;
        height: 3px;
    }

    .card_title {
        font-size: 18px;
    }

    .card_more {
        font-size: 14px;
    }

    /* 热门应用卡片 */
    .app_card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .app_card .card_header {
        margin-bottom: 40px;
    }

    .app_card_banner {
        margin-bottom: 25px;
    }

    .strategy_card_slider {
        padding: 25px 0 20px 0;
    }

    .app_card .strategy_card_slider {
        padding: 0 0 20px 0;
    }

    .slider_main {
        height: 38.981vw;
    }

    .slider_title {
        font-size: 13px;
        padding: 30px 12px 10px;
    }

    .app_list {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    .app_item {
        width: calc(25% - 12px);
        min-width: 70px;
    }

    .app_item img {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .app_name {
        font-size: 12px;
        margin-bottom: 4.259vw;
    }

    .app_download {
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
    }

    /* 热门资讯卡片 */
    .news_card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .news_featured h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .news_featured p {
        font-size: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .news_list li {
        padding: 10px 0;
    }

    .news_list li a {
        font-size: 14px;
    }

    .news_category {
        font-size: 11px;
    }

    .news_date {
        font-size: 11px;
    }

    /* 交易策略卡片 */
    .strategy_card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .strategy_card_content {
        padding: 10px 0;
    }

    .strategy_card_content .card_header::after {
        width: 100px;
    }

    .strategy_list li {
        padding: 10px 0;
    }

    .strategy_list li a {
        font-size: 14px;
        margin-right: 10px;
    }

    .list_date {
        font-size: 11px;
    }

    /* 行业资讯卡片 */
    .industry_card {
        margin-top: 30px;
    }

    .industry_card .card_header {
        padding-left: 6.389vw;
    }

    .industry_card .card_header::after {
        left: 6.389vw;
        width: 28.889vw;
    }

    .industry_card .card_title {
        font-size: 18px;
    }

    .industry_list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 40px;
    }

    .industry_item {
        gap: 12px;
        padding: 15px;
        border-radius: 0.926vw;
    }

    .industry_thumb {
        width: 100px;
        height: 70px;
        border-radius: 8px;
    }

    .industry_info h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .industry_info h4 a {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }

    .industry_info p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .industry_date {
        font-size: 11px;
    }

    /* ========== 底部信息 ========== */
    .footer_info_section {
        padding: 20px 0;
    }

    .footer_info_desc p {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer_links_box {
        padding: 12px 15px;
    }

    .footer_links_title {
        font-size: 14px;
    }

    .footer_links_list {
        gap: 10px;
    }

    .footer_links_list li a {
        font-size: 12px;
    }
}

/* 小屏移动端 - 768px 断点 */
@media screen and (max-width: 768px) {
    /* 顶部金价横幅 */
    .gold_market {
        padding: 60px 0 20px 0;
    }

    /* 平台推荐卡片 */
    .gold_enter_item {
        padding: 12px;
        gap: 12px;
    }

    .gold_enter_icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 10px;
    }

    .gold_enter_name {
        font-size: 15px;
    }

    .gold_enter_desc {
        font-size: 12px;
    }

    .gold_enter_register,
    .gold_enter_website {
        height: 40px;
        font-size: 13px;
        border-radius: 1.111vw;
    }

    /* 价格报价 */
    .glod_quotes {
        padding: 8.704vw 0 3.704vw 0;
    }

    .glod_quotes_card {
        padding: 15px 12px;
    }

    .glod_quotes_card_title {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .glod_quotes_money {
        font-size: 24px;
    }

    .glod_quotes_change {
        font-size: 12px;
    }

    .glod_quotes_card_icon {
        width: 50px;
        right: 10px;
        bottom: 10px;
    }

    /* K线图 */
    #chart-container {
        height: 250px;
    }

    /* 内容区域 */
    .content_section {
        padding: 20px 0;
    }

    .content_flex {
        gap: 15px;
    }

    .app_card,
    .news_card,
    .strategy_card {
        padding: 15px 12px;
    }

    .slider_main {
        height: 140px;
    }

    .app_item {
        width: calc(25% - 10px);
    }

    .app_item img {
        width: 48px;
        height: 48px;
    }

    .app_name {
        font-size: 11px;
    }

    .app_download {
        font-size: 11px;
        padding: 3px 6px;
    }

    .industry_item {
        padding: 12px;
    }

    .industry_thumb {
        width: 80px;
        height: 56px;
    }

    .industry_info h4,
    .industry_info h4 a {
        font-size: 14px;
    }

    /* 移动端隐藏描述 */
    .industry_info p {
        display: none;
    }
}

/* 超小屏移动端 - 480px 断点 */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* 顶部金价横幅 */
    .gold_market {
        padding: 55px 0 15px 0;
    }

    .gold_market_wrap {
        padding: 0 4.63vw;
    }

    /* 平台推荐卡片 */
    .gold_market_wrap_enter {
        gap: 10px;
    }

    .gold_enter_item {
        padding: 10px;
        gap: 10px;
    }

    .gold_enter_content {
        gap: 10px;
    }

    .gold_enter_icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 8px;
    }

    .gold_enter_name {
        font-size: 3.889vw;
        margin-bottom: 2.5vw;
    }

    .gold_enter_desc {
        font-size: 3.148vw;
        line-height: 1.4;
    }

    .gold_enter_link {
        gap: 8px;
    }

    .gold_enter_register,
    .gold_enter_website {
        height: 36px;
        font-size: 12px;
    }

    /* 价格报价 */
    .glod_quotes_left {
        gap: 10px;
    }

    .glod_quotes_card {
        padding: 5.741vw 5.741vw 8.426vw 9.722vw;
    }

    .glod_quotes_card_title {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .glod_quotes_card_title::after {
        margin-top: 15px;
    }

    .glod_quotes_money {
        font-size: 20px;
    }

    .glod_quotes_change {
        font-size: 11px;
        padding: 2px 6px;
    }

    .glod_quotes_card_icon {
        width: 40px;
        right: 11.296vw;
        bottom: 0;
    }

    /* K线图 */
    #chart-container {
        height: 220px;
    }

    /* 内容区域 */
    .content_section {
        padding: 15px 0;
    }

    .content_flex {
        gap: 5vw;
    }

    .card_header {
        margin-bottom: 12px;
    }

    .card_title {
        font-size: 3.889vw;
    }

    .card_more {
        font-size: 3.333vw;
    }

    .app_card,
    .news_card,
    .strategy_card {
        padding: 6.852vw 6.389vw 7.778vw 6.389vw;
        border-radius: 0.926vw;
    }

    .app_card .card_header {
        margin-bottom: 30px;
    }

    .strategy_card_slider {
        padding: 20px 0 15px 0;
    }

    .slider_main {
        height: 120px;
    }

    .slider_title {
        font-size: 3.889vw;
        padding: 2.037vw 1.574vw;
    }

    .app_list {
        gap: 6.852vw;
        
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .app_item {
        /*width: 14.444vw;*/
        /*min-width: 14.444vw;*/
        
        width: 100%; 
        display: flex;
        flex-direction: column;
        align-items: center; /* 确保图标、文字、按钮居中对齐 */
        text-align: center;
    }

    .app_item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1; /* 保持正方形 */
        border-radius: 0.926vw;
        margin-bottom: 2.315vw;
        object-fit: cover;
    }

    .app_name {
        font-size: 2.963vw;
        color: #666666;
        width: 100%;
        min-height: 4.5vw; /* 给文字留出固定高度，防止被挤压 */
        line-height: 1.4;
    }

    .app_download {
        padding: 1.574vw 0;
        font-size: 2.963vw;
        width: 100%;
        box-sizing: border-box;
    }

    .news_list li {
        padding: 8px 0;
    }

    .news_list li a {
        font-size: 3.519vw;
    }

    .news_category,
    .news_date {
        font-size: 3.519vw;
    }

    .strategy_list li {
        padding: 8px 0;
    }

    .strategy_list li a {
        font-size: 3.519vw;
    }

    .list_date {
        font-size: 3.519vw;
    }

    /* 行业资讯 */
    .industry_card {
        margin-top: 20px;
    }

    .industry_list {
        gap: 10px;
        margin-top: 30px;
    }

    .industry_item {
        padding: 10px;
        gap: 10px;
    }

    .industry_thumb {
        width: 25.37vw;
        height: 16.204vw;
        border-radius: unset;
    }

    .industry_info h4 {
        margin-bottom: 6px;
    }

    .industry_info h4,
    .industry_info h4 a {
        font-size: 3.889vw;
    }

    .industry_date {
        font-size: 2.222vw;
    }

    /* 底部信息 */
    .footer_info_section {
        padding: 15px 0;
    }

    .footer_info_desc p {
        font-size: 11px;
    }

    .footer_links_box {
        padding: 10px 12px;
    }

    .footer_links_title {
        font-size: 13px;
    }

    .footer_links_list li a {
        font-size: 11px;
    }
}

/* ========== 其他保留样式 ========== */
.tx-box {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
}

.links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links li {
    float: left;
    margin-right: 15px;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.mb20 {
    margin-bottom: 20px;
}

/* ========== Header 移动端适配 ========== */
@media screen and (max-width: 1080px) {
    /* Header 基础样式 - 只保留 logo 和 search */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 0 15px;
        height: 50px;
        background: #FFFFFF !important;
    }

    .header .tx-wide {
        height: 50px;
        gap: 0;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }

    .header .logo {
        flex-shrink: 0;
        margin-right: 0;
    }

    .header .logo img {
        height: auto;
        width: auto;
        max-height: 36px;
        object-fit: contain;
    }

    /* 隐藏导航菜单 */
    .header .wap-nav .nav {
        display: none !important;
    }

    /* 搜索框直接显示在 header 右侧 */
    .header .wap-nav {
        display: flex !important;
        position: static;
        background: transparent;
        padding: 0;
        gap: 0;
        width: auto;
        flex: 0 0 auto;
    }

    .header .wap-nav .search {
        float: none;
        margin: 0;
    }

    .header .wap-nav .search form {
        /* 基于1080px设计稿: 361px x 80px */
        width: 33.43vw;
        height: 7.41vw;
        border-radius: 40px;
        padding: 0 3vw;
        background: #EEEEEE;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .header .wap-nav .search input {
        font-size: 2.8vw;
        padding: 0;
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        height: 100%;
    }

    .header .wap-nav .search .search-submit {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
    }

    .header .wap-nav .search .search-submit i {
        font-size: 3.5vw;
        color: #999;
    }

    /* 隐藏汉堡菜单按钮 */
    .header .nav-on,
    .header .nav-on.pchide {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .header {
        height: 48px;
        padding: 0 12px;
    }

    .header .tx-wide {
        height: 48px;
    }

    .header .logo img {
        max-height: 32px;
    }
}

/* ========== 移动端 Swiper 导航栏 ========== */
.mobile-nav-swiper {
    display: none;
}

@media screen and (max-width: 1080px) {
    .mobile-nav-swiper {
        display: block;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 999;
        background: #404553;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        /* 基于1080px设计稿: height 121px, padding 44px */
        height: 11.2vw;
        /*padding: 4.07vw 0;*/
        box-sizing: border-box;
    }

    .mobile-nav-swiper .swiper-container,
    .mobile-nav-swiper .swiper {
        width: 100%;
        padding: 0 10px;
        height: 100%;
    }

    .mobile-nav-swiper .swiper-slide {
        width: auto !important;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .mobile-nav-swiper .swiper-slide a {
        display: block;
        padding: 0 15px;
        font-size: 14px;
        color: #FFFFFF;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.3s;
    }

    .mobile-nav-swiper .swiper-slide a:hover,
    .mobile-nav-swiper .swiper-slide.active a,
    .mobile-nav-swiper .swiper-slide a.on {
        color: #0076FF;
    }

    /* 当前页面高亮 */
    .mobile-nav-swiper .swiper-slide.on a {
        color: #0076FF;
        font-weight: 500;
    }

    /* 调整页面顶部间距，为固定导航留出空间 */
    .gold_market {
        padding-top: calc(50px + 11.2vw + 20px) !important;
    }
}

@media screen and (max-width: 768px) {
    /*.mobile-nav-swiper {*/
    /*    top: 48px;*/
    /*}*/

    .gold_market {
        padding-top: calc(48px + 11.2vw + 15px) !important;
    }
}

/* ========== Footer 移动端适配 ========== */
@media screen and (max-width: 1080px) {
    .footer {
        padding: 0;
    }

    /* 隐藏 footer 的 tx-wide（包含 footer-wrapper） */
    .footer > .tx-wide {
        display: none;
    }

    .copy {
        margin-top: 0;
        /* 基于1080px设计稿: 120px 171px 120px 163px，使用vw换算 */
        padding: 11.11vw 15.83vw 11.11vw 15.09vw;
        border-top: none;
        background: #2c3e50;
    }

    .copy .tx-wide {
        padding: 0;
        display: block;
        text-align: center;
        /* 基于1080px设计稿: 28px */
        font-size: 2.59vw;
        color: #989DA8;
        line-height: 1.6;
    }

    .copy a {
        font-size: 2.59vw !important;
        color: #989DA8;
    }

    .copy a:hover {
        color: #0076FF;
    }
}

/* ========== 空数据提示样式 ========== */
.empty_tips {
    text-align: center;
    color: #999;
    padding: 30px 15px;
    font-size: 14px;
    background: #ffffff;
    border-radius: 8px;
    margin: 10px 0;
}

ul .empty_tips {
    list-style: none;
}

.app_list .empty_tips {
    width: 100%;
}

.industry_list .empty_tips {
    grid-column: 1 / -1;
}