@charset "utf-8";

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
    background-color: #f8fafc;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1660px;
    margin: 0 auto;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    padding: 25px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 40px;
    margin-right: 10px;
}

.logo span {
    color: #ffd700;
    font-weight: 800;
}

.search-box {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 25px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: #333;
    font-size: 18px;
    transition: all 0.3s;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.contact-icon {
    margin-right: 8px;
    font-size: 20px;
}

/* 导航栏 */
nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    top: 0;
    z-index: 90;
}

.nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 0;
}

.nav-item {
    padding: 16px 22px;
    color: #444;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    font-size: 16px;
    white-space: nowrap;
}

.nav-item:hover {
    color: #1a2980;
    background-color: #f0f8ff;
}

.nav-item.active {
    color: #1a2980;
}

.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #1a2980 0%, #26d0ce 100%);
    border-radius: 3px;
}

/* 主要内容 */
.main-title {
    text-align: center;
    margin: 10px 0 10px;
    color: #1a2980;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    /*  padding-bottom: 10px;*/
}

.main-title::after {
    content: "";
    display: block;
    width: auto;
    max-width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a2980 0%, #26d0ce 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    position: relative;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eaeff5;
    /*margin-bottom: 30px;  */

}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.card-badge {
    position: absolute;
    /*  top: 15px;
    left: 15px;*/
    right: 0px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-header {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    /*  padding: 20px;*/
    padding-top: 30px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 40px;
}

/* .copy-btn {
    position: absolute;
    right: 20px;
    top: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 16px;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
} */

.card-body {
    padding: 25px;
}

.info-item {
    margin-bottom: 18px;
}

.info-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.info-label i {
    margin-right: 8px;
    color: #1a2980;
    font-size: 18px;
}

.info-content {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    padding-left: 24px;
}

.info-content a {
    color: #1a2980;
    text-decoration: underline;
    word-break: break-all;
}

.info-content a:hover {
    color: #26d0ce;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 24px;
}

.info-tag {
    background-color: #e6f7ff;
    color: #1a2980;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.price {
    color: #ff4b2b;
    font-weight: bold;
    font-size: 18px;
}

.valid-date {
    font-size: 14px;
    color: #888;
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

/* 二维码样式 */
.qrcode-container {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.qrcode-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.qrcode-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.qrcode {
    width: 120px;
    height: 120px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}

.qrcode img {
    max-width: 100%;
    max-height: 100%;
}


/* 广告样式 */
 .ad-section, .ad-container,.ad-banner {
    background-color: white;
    /*  border: 1px solid #eaeff5;*/
    border-radius: 0px;
    padding: 0px;
    margin: 10px auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);    
    max-width: 1660px;
}

.ad-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    color: #666;
    font-size: 18px;
    min-height: auto;
    /*  border: 1px dashed #ccc;*/

}


.ad-section, .ad-container,.ad-banner {
    position: relative;
    width: 100%;
    max-width: 1660px;
    height: auto;
    min-height: auto;
    background-color: white;    
    /*background: linear-gradient(135deg, #f5f5f5, #e0e0e0); */ 
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*  border-radius: 8px;*/
    overflow: hidden;
    /* padding: 15px; */
    text-align: center;
    border: 1px dashed #ccc;
}

.ad-banner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #999;
    font-weight: bold;
    opacity: 0.5;
}

.ad-banner span {
    position: relative;
    z-index: 1;
    background-color: rgba(255,255,255,0.8);
    padding: 5px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.ad-banner span::before {
    content: "📞";
    margin-right: 8px;
}

.ad-label {
    position: absolute;
    right: 0px;
    top: 0px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #333;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: bold;
}

.ad-content {
    text-align: center;
    padding: 15px;
}

.ad-content h3 {
    color: #1a2980;
    font-size: 22px;
    margin-bottom: 15px;
}

.ad-content p {
    color: #555;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.highlight {
    color: #ff4b2b;
    font-weight: bold;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    padding:15px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffd700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    display: block;
    padding: 5px 0;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    font-size: 18px;
    color: #ffd700;
}

.footer-social, .footer-share {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a, .footer-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-social a:hover, .footer-share a:hover {
    background-color: #ffd700;
    color: #333;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 分享按钮样式 */
.share-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.share-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.footer-share-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-share-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

/* 特殊样式 */
.zjiteminfo {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-radius: 16px;
    overflow: hidden;
}

.zjiteminfo img {
    border-radius: 16px;
    width: 100%;
    height: auto;
}

.zjiteminfo a {
    color: #e82f6e;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
}

.zjiteminfo:hover {
    transform: translateY(-3px);
}

.qr-code {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background-color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .search-box {
        margin: 20px 0;
        max-width: 100%;
    }
    
    .contact-info {
        justify-content: center;
        width: 100%;
    }
    
    .nav-item {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-item {
        padding: 12px 16px;
    }
    
    .main-title {
        font-size: 24px;
        /*  */margin: 10px 0 10px;
    }
    
    .section-desc {
        font-size: 15px;
        margin-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-header h3 {
        font-size: 18px;
        padding-right: 40px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .info-item {
        margin-bottom: 15px;
    }
    
    .info-label, .info-content {
        font-size: 14px;
    }
    
    .qrcode {
        width: 100px;
        height: 100px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }
    
    .ad-content h3 {
        font-size: 20px;
    }
    
    .ad-content p {
        font-size: 15px;
    }
    
    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-left: 10px;
    }
    
    .footer-share-btn {
        padding: 3px 8px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 26px;
    }
    
    .logo-icon {
        font-size: 32px;
    }
    
    .search-box input {
        padding: 12px 20px;
    }
    
    .search-box button {
        width: 38px;
        height: 38px;
        top: 7px;
        right: 7px;
    }
    
    .nav-item {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-header h3 {
        font-size: 16px;
        padding-right: 30px;
    }
    
    /*  .copy-btn {
        width: 30px;
        height: 30px;
        right: 15px;
        top: 15px;
    }*/
    
    .info-label, .info-content {
        font-size: 13px;
    }
    
    .qrcode-container {
        flex-direction: column;
        align-items: center;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

    /* 复制按钮样式 */
    .copy-btn {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .copy-btn:hover {
        background-color: #45a049;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .copy-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    }
    
    .copy-btn::before {
        content: "📋";
        margin-right: 6px;
        font-size: 16px;
    }
    
    /* 复制成功时的样式 */
    .copy-btn.copied {
        background-color: #2196F3;
    }
    
    .copy-btn.copied::before {
        content: "✓";
    }