@charset "utf-8";


        :root {
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --secondary-color: #f1c40f;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-bg: #fff9f8;
    --dark-bg: #2c3e50;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --commercial-color: #3498db;
    --commercial-dark: #2980b9;
    --premium-color: #9b59b6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.8;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23e74c3c" stroke-width="0.5" stroke-dasharray="5,5" opacity="0.2"/></svg>');
    background-attachment: fixed;
    background-size: 100px;
    background-blend-mode: overlay;
    background-color: rgba(249, 243, 240, 0.9);
}

.container {
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px 0 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-color);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.logo {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 2px;
}

.slogan {
    font-size: 20px;
    font-style: italic;
    opacity: 0.9;
    margin-top: 10px;
    letter-spacing: 1px;
}

.festive-icon {
    display: inline-block;
    margin: 0px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 导航栏优化 - 取消悬浮，改为水平布局 */
nav {
    background-color: var(--primary-dark);
    padding: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
     /*  overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  white-space: nowrap; */
}

.nav-container {
    /* display: inline-flex; */
    max-width: 100%;
    margin: 0 auto;
    padding: 5px 20px;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    margin: 0 2px;
    transition: all 0.3s;
    position: relative;
    font-weight: bold;
    font-size: 16px;
    border-radius: 30px;
    display: inline-block;
    white-space: nowrap;
}

.nav-item:hover {
    background-color: rgba(255,255,255,0.15);
}

.nav-item.active {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 50%;
}

.content-section {
    background-color: white;
    margin: 35px 0;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    /* border-left: 6px solid var(--primary-color); */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.content-section:hover {
    transform: translateY(-5px);
}

.content-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L120,120 M120,0 L0,120" stroke="%23e74c3c" stroke-width="1" stroke-dasharray="5,5" opacity="0.1"/></svg>') no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.section-icon {
    margin-right: 12px;
    font-size: 28px;
    vertical-align: middle;
}

.ad-banner {
    width: 100%;
    max-width: 1660px;
    height: auto;
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    border-radius: 0px;
    box-shadow: var(--shadow);
    font-size: 26px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    padding: 0px;
    text-align: center;
}

.ad-banner:hover {
    transform: translateY(-5px) scale(1.01);
}

.ad-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><path d="M15,0 L30,15 L15,30 L0,15 Z" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    opacity: 0.2;
    pointer-events: none;
}

.news-item {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #f0f0f0;
    position: relative;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-title {
    color: var(--dark-bg);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.news-title::before {
    content: "🎉";
    margin-right: 15px;
    font-size: 24px;
}

.news-content {
    margin-bottom: 20px;
    font-size: 17px;
}

.news-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.news-content ul, .news-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.news-content li {
    margin-bottom: 8px;
}

.contact-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    /*  border-left: 4px solid var(--primary-color);*/
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.contact-box-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.contact-info {
    color: #7f8c8d;
    font-size: 15px;
    display: flex;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-info-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    margin: 15px 10px 0 0;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #f39c12;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-commercial {
    background-color: var(--commercial-color);
}

.btn-commercial:hover {
    background-color: var(--commercial-dark);
}

.btn-premium {
    background-color: var(--premium-color);
}

.btn-premium:hover {
    background-color: #8e44ad;
}

.tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tag-primary {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--primary-color);
}

.tag-secondary {
    background-color: rgba(241, 196, 15, 0.1);
    color: #b7950b;
}

.tag-commercial {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--commercial-dark);
}

.tag-premium {
    background-color: rgba(155, 89, 182, 0.1);
    color: var(--premium-color);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    aspect-ratio: 4/3;
    background-color: #f5f5f5;
    position: relative;
}

.gallery-image:hover {
    transform: scale(1.03);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 10px;
    font-size: 14px;
}

.blessing-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.blessing-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.blessing-count {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 15px;
}

.blessing-count span {
    font-size: 16px;
}

.blessing-count .premium-count {
    color: var(--premium-color);
    margin-left: 5px;
}

.blessing-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    margin-right: 10px;
}

.blessing-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.blessing-btn.premium {
    background-color: var(--premium-color);
    position: relative;
    padding-left: 40px;
}

.blessing-btn.premium::before {
    content: "✨";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.blessing-list {
    margin-top: 15px;
}

.blessing-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.blessing-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blessing-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
}

.blessing-content {
    flex: 1;
}

.blessing-user {
    font-weight: bold;
    margin-bottom: 3px;
}

.blessing-text {
    color: #666;
    font-size: 14px;
}

.blessing-time {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    white-space: nowrap;
}

.premium-blessing {
    color: var(--premium-color);
    font-weight: bold;
}

.blessing-form {
    margin-top: 20px;
    display: none;
}

.blessing-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    margin-bottom: 10px;
    font-size: 14px;
}

.blessing-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.blessing-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.blessing-submit:hover {
    background-color: var(--primary-dark);
}

.premium-badge {
    display: inline-block;
    background-color: var(--premium-color);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: 5px;
}

.commercial-section {
    background-color: #f5f9ff;
    border-left: 4px solid var(--commercial-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.commercial-title {
    color: var(--commercial-dark);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.commercial-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #d6e4ff;
    position: relative;
}

.commercial-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.commercial-icon {
    width: 50px;
    height: 50px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--commercial-dark);
    font-size: 20px;
}

.commercial-content {
    flex: 1;
}

.commercial-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.commercial-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.commercial-price {
    color: var(--primary-color);
    font-weight: bold;
}

.commercial-link {
    color: var(--commercial-dark);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 5px;
}

.commercial-link:hover {
    text-decoration: underline;
}

.commercial-provider {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    opacity: 0;
    transition: opacity 0.3s;
}

.commercial-item:hover .commercial-provider {
    opacity: 1;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.download-section {
    margin-top: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.download-btn:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.download-btn::before {
    content: "⬇️";
    margin-right: 5px;
}

.ranking-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.ranking-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.ranking-list {
    list-style: none;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.ranking-number.top3 {
    background-color: var(--accent-color);
}

.ranking-content {
    flex: 1;
}

.ranking-name {
    font-weight: bold;
}

.ranking-count {
    color: #666;
    font-size: 14px;
}

.ranking-premium-count {
    color: var(--premium-color);
    margin-left: 5px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.payment-method {
    width: 60px;
    height: 40px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 5px;
}

.payment-method img {
    max-width: 100%;
    max-height: 100%;
}

footer {
    background: linear-gradient(135deg, var(--dark-bg), #34495e);
    color: white;
    text-align: center;
    padding: 60px 0 40px;
    margin-top: 60px;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    margin: 0 20px 15px;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-link:hover {
    color: white;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.footer-link:hover::after {
    width: 100%;
}

.copyright {
    font-size: 14px;
    color: #bdc3c7;
    margin-top: 25px;
    line-height: 1.6;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.hidden-form {
    display: none;
}

.blessing-stats {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stat-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.stat-label {
    margin-right: 5px;
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: var(--primary-color);
}

.stat-premium {
    color: var(--premium-color);
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .logo {
        font-size: 42px;
    }
    .section-title {
        font-size: 28px;
    }
    .news-title {
        font-size: 22px;
    }
    .nav-item {
        padding: 10px 18px;
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .logo {
        font-size: 38px;
    }
    .slogan {
        font-size: 18px;
    }
    .ad-banner {
        height: auto;
        font-size: 22px;
    }
    .content-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 34px;
    }
    .slogan {
        font-size: 16px;
    }
    .nav-item {
        padding: 8px 14px;
        font-size: 14px;
        margin: 2px;
    }
    .section-title {
        font-size: 26px;
    }
    .news-title {
        font-size: 20px;
    }
    .content-section {
        padding: 25px;
    }
    .ad-banner {
        height: auto;
        font-size: 20px;
        padding:0px;
    }
    .footer-link {
        margin: 0 12px 10px;
        font-size: 15px;
    }
    .blessing-section {
        padding: 15px;
    }
    .blessing-header {
        flex-wrap: wrap;
    }
    .blessing-count {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 30px;
    }
    header {
        padding: 30px 0 25px;
    }
    .nav-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    .section-title {
        font-size: 24px;
    }
    .news-title {
        font-size: 18px;
    }
    .content-section {
        padding: 20px;
    }
    .ad-banner {
        height: auto;
        font-size: 18px;
    }
    .footer-links {
        margin-bottom: 20px;
    }
    .footer-link {
        margin: 0 8px 8px;
        font-size: 14px;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    .blessing-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .blessing-count {
        margin-bottom: 10px;
    }
    .commercial-item {
        flex-direction: column;
    }
    .commercial-icon {
        margin-bottom: 10px;
    }
}

 .qr-code {
            width: auto;
            height: auto;
            max-width: 100%;
            margin: 10px 0;
        }

        .ad-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b6b;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.ad-label {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }