
.header-btn a {
    color: #ffffff;
}


/* 首栏 */
.moye-first-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 左右各 50% */
    gap: 2rem;
    align-items: center;              /* 垂直居中 */
    background: linear-gradient(270deg, #E5234B 0%, #ED673D 100%);
    padding: 90px 16px 30px;
}

/* 左侧图片区域 */
.moye-first-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.moye-first-img {
    width: 100%;
    height: 50vh;
    object-fit: contain;
    display: block;
    border-radius: 1.2rem;
}

/* 右侧内容容器：垂直排列，左对齐 */
.moye-first-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;    /* 左对齐 */
    gap: 1.2rem;
    text-align: left;
}

/* 标题 */
.moye-first-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* 副标题 */
.moye-first-sub {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 480px;
    line-height: 1.6;
}

/* 按钮容器 — 占满宽度，让按钮成为长条 */
.moye-first-btn-wrap {
    width: auto;
    margin-top: 0.4rem;
}

/* 按钮链接（a 标签） */
.moye-first-btn-link {
    display: block;
    text-decoration: none;
    width: 100%;
}

/* 长条横按钮 */
.moye-first-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #2563eb;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    text-align: center;
    letter-spacing: 0.3px;
}

.moye-first-btn:hover {
    background-color: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.moye-first-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.moye-first-qr-img{
    max-width: 240px;
    border-radius: 15px;
}



/* ---------- 响应式：移动端改为上下排列 ---------- */
@media (max-width: 768px) {
    .moye-first-grid {
        gap: 1.5rem;
        text-align: center;
    }

    .moye-first-left {
        justify-content: center;
    }

    .moye-first-right {
        align-items: center;
        text-align: center;
    }

    .moye-first-sub {
        max-width: 100%;
        font-size: small;
    }

    .moye-first-title {
        font-size: 16px;
    }
    .moye-first-qr-img{
        width: 140px;
        height: 140px;
        object-fit: contain;
        flex-shrink: 0;
}

    .moye-first-btn {
        padding: 0.9rem 1.5rem;
        font-size: small;
        max-width: 320px;
        margin: 0 auto;
    }
    .moye-first-img {
    height: auto;
    }


    .moye-first-grid {
    padding: 90px 16px 10px;
    }

    .moye-first-right {
        gap: .4rem;
    }
}

@media (min-width: 768px) {
    .buy_now_button {
    width: 240px;
        height: 48px;
        color: #EA4F13;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #FFF;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
  }
  .buy_now_button:hover {
    background-color: #FFF;
    color: #F20921;
    transform: scale(1.05);
  }
}
@media (max-width: 768px) {
    .buy_now_button {
    width: 180px;
        height: 30px;
        color: #EA4F13;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #FFF;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
  }
}



/* 城市站点展示 */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 24px 20px;
    margin: 30px auto 0;
    max-width: 1440px;
}
.city-item {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 28px;
            padding: 14px 8px;
            font-size: 1rem;
            font-weight: 500;
            color: #2c3e4e;
            text-decoration: none;
            transition: all 0.25s ease-in-out;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
            letter-spacing: 0.5px;
            backdrop-filter: blur(0px);
            line-height: 1.3;
        }
        
        .city-item:hover {
            background: linear-gradient(to left, #bc1f21, #e44947, #e94057);
            border-color: #FFDF6F;
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 12px 20px -12px rgba(28, 178, 155, 0.28);
        }
        
        .city-more {
            text-align: center;
            margin: 42px 0;
            font-size: 0.9rem;
            color: #8e9eae;
            position: relative;
            display: inline-block;
            width: 100%;
            letter-spacing: 0.3px;
            font-weight: 400;
            background: transparent;
        }
        
        .city-more::before,
        .city-more::after {
            content: "";
            display: inline-block;
            width: 30px;
            height: 1px;
            background: #d4e2e6;
            vertical-align: middle;
            margin: 0 12px;
        }
        
        @media (max-width: 992px) {
            
            .city-item {
                padding: 12px 6px;
                font-size: 0.95rem;
                border-radius: 26px;
            }
        }
        
        @media (max-width: 768px) {
            
            .city-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }
            .city-item {
                padding: 10px 6px;
                font-size: 0.9rem;
                border-radius: 32px;
            }
            .city-more {
                margin-top: 32px;
                font-size: 0.85rem;
            }
            .city-more::before,
            .city-more::after {
                width: 20px;
                margin: 0 8px;
            }
        }
        
        @media (hover: none) {
            .city-item:hover {
                transform: none;
                background: #ffffff;
                border-color: #e9ecef;
                color: #2c3e4e;
            }
        }


/* ============================================
   首页最新文章区块
   ============================================ */
.post-list {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.post-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.post-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-item h3 a {
    color: #c0392b;           /* 红色系标题链接 */
    text-decoration: none;
    transition: color 0.2s;
}

.post-item h3 a:hover {
    color: #a93226;
}

.post-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.post-summary {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

/* ============================================
   首页最新文章区块 —— 双列卡片布局
   ============================================ */
.post-list {
    max-width: 900px;           /* 稍微放宽以容纳两列 */
    margin: 60px auto;
    padding: 0 20px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* 两列等宽 */
    gap: 20px;                                /* 卡片间距 */
}

/* 响应式：屏幕宽度小于 640px 时恢复单列 */
@media (max-width: 640px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* 文章卡片 */
.post-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;   /* 内容纵向弹性分布，让标签始终在底部 */
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* 标题 */
.post-item h3 {
    font-size: 18px;            /* 稍缩小以适应双列 */
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.post-item h3 a {
    color: #c0392b;
    text-decoration: none;
    transition: color 0.2s;
}

.post-item h3 a:hover {
    color: #a93226;
}

/* 日期 */
.post-date {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
}

/* 摘要 */
.post-summary {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 12px 0;
    flex-grow: 1;               /* 撑开空间，让标签置于底部 */
}

/* 标签 */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 10px;
    border-top: 1px dashed #f0f0f0;
    margin-top: auto;           /* 始终贴底 */
}

.post-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #fdedec;
    color: #e74c3c;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.post-tag:hover {
    background: #f5b7b1;
    color: #c0392b;
    border-color: #e74c3c;
    text-decoration: none;
}




/* ============================================
   金牌接单王 跑马灯
   ============================================ */
.golden-workers {
    margin: 10px auto;
    /* background: linear-gradient(270deg, #E5234B 0%, #ED673D 100%); */
}
.golden-main-title {
    text-align: center;
    font-size: 14px;      /* 小字 */
    color: #666;
    margin: 10px 0;
    font-weight: normal;
}
.golden-scroll-wrap {
    overflow: hidden;
    position: relative;
}

.golden-scroll-track {
    display: flex;
    gap: 4px;
    width: max-content;
    animation: scroll-left 50s linear infinite;
}

/* 卡片样式 */
.golden-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.golden-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(231,76,60,0.15);
}

.golden-avatar {
    width: 200px;
    height: 200px;
    /* border-radius: 50%; */
    object-fit: cover;
    /* border: 2px solid #e74c3c; */
    margin-bottom: 10px;
}

.golden-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.golden-shop {
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.3;
}

/* 动画：从右向左滚动 */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 响应式：小屏卡片缩小一点 */
@media (max-width: 640px) {
    .golden-card {
        min-width: 130px;
    }
    .golden-avatar {
        width: 140px;
        height: 140px;
    }
    .golden-name {
        font-size: 13px;
    }
}



@media (max-width: 767px) {
  .dec-price-vip{
    font-size: 10px;
    color: #40796C;
    background-image: url('/images/52.png');
    background-size: 100% 100%;
    padding: 0 6px;
    background-repeat: no-repeat;
    height: 20px;
    line-height: 20px;
    margin-left: 10px;
    margin-right: auto;
  }
  .dec-list {
    width: 100%;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    box-sizing: border-box;
  }
  .dec-list-images2,
  .dec-list-images3 {
    display: none;
  }
  .dec-item-wrap {
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    width: 48%;
    max-width: 340px;
    height: auto;
    transition: all 0.3s ease;
    margin: 10px auto 0;
    padding-bottom: 20px;
    background-color: #FFF;
  }
  .dec-item-wrap:hover {
    box-shadow: 0px 3 9px 0px rgba(178, 110, 255, 0.5);
  }
  .dec-item {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 3 9px 0px rgba(178, 110, 255, 0.5);
    border-radius: 38px;
    align-items: center;
  }
  .dec-image {
    width: 100%;
    height: 100%;
    box-shadow: 0px 3 9px 0px rgba(129, 129, 129, 0.1);
  }
  .dec-name {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
  }
  .dec-name-title {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
  }
  .dec-text-itle {
    font-weight: 600;
    font-size: 18px;
    color: #333;
  }
  .dec-text {
    color: #777777;
    font-size: 10px;
  }
  .dec-time {
    margin-right: 10px;
    display: flex;
    align-items: center;
  }
  .dec-time-icon {
    width: 15px;
    height: 15px;
  }
  .dec-time-length {
    color: #777777;
    font-size: 12px;
    margin-left: 2px;
  }
  .dec-price-num {
    color: #FF3F22;
  }
  .dec-price-after {
    font-size: 12px;
    margin-left: 10px;
    font-weight: 800;
    line-height: 20px;
  }
  .dec-price-info {
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
  }
  .dec-price-hua {
    width: 100%;
    margin-left: 10px;
    color: #777777;
    text-decoration: line-through;
    font-size: 12px;
  }
  .dec-price {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
  }
  .dec-btn {
    width: 150px;
    height: 30px;
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 14px;
    background-color: #FB9548;
    line-height: 30px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
    transition: all 1000ms;
    cursor: pointer;
  }
  .dec-btn:hover {
    color: #FFF;
    outline: 2px solid #FFFFFF;
    box-shadow: 4px 5px 17px -4px #FFFFFF;
  }
  .dec-btn::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #F53D50;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 500ms;
  }
  .dec-btn:hover::before {
    width: 250%;
  }

}

@media (min-width: 768px) {
    .dec-list {
        width: 1480px;
        margin: 60px auto 0;
        display: flex;
        flex-wrap: wrap;
        position: relative;
        justify-content: center;
        gap: 30px;
    }
    .dec-list-images2 {
        width: 167px;
        height: 167px;
        position: absolute;
        right: -40px;
        top: 408px;
    }
    .dec-list-images3 {
        width: 167px;
        height: 167px;
        position: absolute;
        left: -60px;
        bottom: -100px;
    }
    .dec-item-wrap {
        padding: 15px;
        background-image: url('/images/13.png');
        background-size: 340px 480px;
        background-position: 0px 0px;
        width: 340px;
        height: 480px;
        transition: all 0.3s ease;
        margin-top: 20px;
        box-sizing: border-box;
    }
    .dec-item-wrap:hover {
        transform: scale(1.05);
        box-shadow: 0px 3 9px 0px rgba(178, 110, 255, 0.5);
        background-image: url('/images/12.png');
    }
    .dec-item {
        width: 310px;
        height: 450px;
        position: relative;
        display: flex;
        flex-direction: column;
        box-shadow: 0px 3 9px 0px rgba(178, 110, 255, 0.5);
        border-radius: 38px;
        align-items: center;
    }
    .dec-image {
        width: 200px;
        height: 200px;
        margin-top: 18px;
        box-shadow: 0px 3 9px 0px rgba(129, 129, 129, 0.1);
        border-radius: 50%;
    }
    .dec-name {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 28px;
    }
    .dec-name-title {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
    }
    .dec-text-itle {
        font-weight: 600;
        font-size: 28px;
        color: #333;
    }
    .dec-text {
        color: #777777;
        font-size: 14px;
    }
    .dec-time {
        margin-right: 10px;
        display: flex;
        align-items: center;
    }
    .dec-time-icon {
        width: 15px;
        height: 15px;
    }
    .dec-time-length {
        color: #777777;
        font-size: 12px;
        margin-left: 2px;
    }
    .dec-price-num {
        color: #FF3F22;
    }
    .dec-price-after {
        font-size: 12px;
        margin-left: 10px;
        font-weight: 800;
    }
    .dec-price-info {
        font-size: 18px;
        font-weight: 800;
    }
    .dec-price-hua {
        margin-right: 10px;
        color: #777777;
        text-decoration: line-through;
        font-size: 14px;
    }
    .dec-price {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 16px;
    }
    .dec-btn {
        width: 150px;
        height: 44px;
        border-radius: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFF;
        font-size: 18px;
        background-color: #FB9548;
        line-height: 44px;
        margin-top: 20px;
        overflow: hidden;
        position: relative;
        transition: all 1000ms;
        cursor: pointer;
    }
    .dec-btn:hover {
        color: #FFF;
        transform: scale(1.05);
        outline: 2px solid #FFFFFF;
        box-shadow: 4px 5px 17px -4px #FFFFFF;
    }
    .dec-btn::before {
        content: "";
        position: absolute;
        left: -50px;
        top: 0;
        width: 0;
        height: 100%;
        background-color: #F53D50;
        transform: skewX(45deg);
        z-index: -1;
        transition: width 500ms;
    }
    .dec-btn:hover::before {
        width: 250%;
    }
}