


.container {
    text-align: center;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff7f50;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#announcement {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    display: none;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

#announcement img {
    width: 77px;
    height: 77px;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

#announcement p {
    margin: 0;
    line-height: 1.5;
    color: #333333;
}

#announcement p.quote {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#announcement p.author {
    font-size: 14px;
    font-style: italic;
}

#announcement button {
    margin-top: 20px;
    float: right;
    background-color: #0078D7;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

#announcement button:hover {
    background-color: #005A9E;
}
#b {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    display: none;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#b img {
    width: 77px;
    height: 77px;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

#b p {
    margin: 0;
    line-height: 1.5;
    color: #333333;
}

#b p.quote {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#b p.author {
    font-size: 14px;
    font-style: italic;
}

#b button {
    margin-top: 20px;
    float: right;
    background-color: #0078D7;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

#b button:hover {
    background-color: #005A9E;
}


#next {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    display: none;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#next img {
    width: 77px;
    height: 77px;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

#next p {
    margin: 0;
    line-height: 1.5;
    color: #333333;
}

#next p.quote {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#next p.author {
    font-size: 14px;
    font-style: italic;
}

#next button {
    margin-top: 20px;
    float: right;
    background-color: #0078D7;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

#next button:hover {
    background-color: #005A9E;
}

/* ========== 移动端优化 - 2026.03.02 ========== */

/* 全局移动端优化 */
@media screen and (max-width: 768px) {
    /* 禁用横向滚动 */
    html, body {
        overflow-x: hidden;
    }

    /* 弹窗移动端适配 */
    #announcement,
    #b,
    #next {
        width: 90%;
        max-width: 350px;
        height: auto;
        min-height: 180px;
        padding: 15px;
    }

    #announcement img,
    #b img,
    #next img {
        width: 60px;
        height: 60px;
    }

    #announcement p.quote,
    #b p.quote,
    #next p.quote {
        font-size: 16px;
    }

    #announcement p.author,
    #b p.author,
    #next p.author {
        font-size: 13px;
    }
}

/* Hero区域移动端优化 */
@media screen and (max-width: 768px) {
    /* Hero区域改为上下布局 */
    .hero-section .row {
        flex-direction: column;
    }

    .hero-section .col-lg-6 {
        width: 100%;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section h3 {
        font-size: 1.1rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .hero-section .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Hero图片处理 */
    .hero-section img {
        max-width: 80%;
        margin: 20px auto;
    }
}

/* 特性卡片移动端优化 */
@media screen and (max-width: 768px) {
    .feature-card,
    .card {
        margin-bottom: 15px;
    }

    .feature-card h5,
    .card h5 {
        font-size: 1rem;
    }

    .feature-card p,
    .card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* 图标尺寸调整 */
    .feature-card i,
    .card i {
        font-size: 2rem;
    }
}

/* 图文交替区域移动端优化 */
@media screen and (max-width: 768px) {
    .content-section .row {
        flex-direction: column;
    }

    .content-section .col-lg-6,
    .content-section .col-md-6 {
        width: 100%;
    }

    .content-section img {
        max-width: 100%;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .content-section h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .content-section p {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Footer移动端优化 */
@media screen and (max-width: 768px) {
    footer .row {
        flex-direction: column;
    }

    footer .col-lg-3,
    footer .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    footer ul {
        padding-left: 0;
    }

    footer ul li {
        display: inline-block;
        margin: 5px 10px;
    }

    /* 支付图标 */
    footer img {
        max-height: 30px;
        margin: 5px;
    }
}

/* FAQ区域移动端优化 */
@media screen and (max-width: 768px) {
    .accordion-button {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .accordion-body {
        font-size: 0.875rem;
        padding: 15px;
    }
}

/* 小屏手机优化 (375px以下) */
@media screen and (max-width: 375px) {
    #announcement,
    #b,
    #next {
        width: 95%;
        padding: 12px;
    }

    #announcement img,
    #b img,
    #next img {
        width: 50px;
        height: 50px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section h3 {
        font-size: 1rem;
    }

    .feature-card h5,
    .card h5 {
        font-size: 0.9rem;
    }

    .content-section h1 {
        font-size: 1.25rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

/* 触摸友好优化 */
@media screen and (max-width: 768px) {
    /* 所有按钮增大触摸区域 */
    .btn {
        min-height: 44px;
        padding: 10px 20px;
    }

    /* 链接增大触摸区域 */
    footer a,
    .nav-link {
        display: inline-block;
        padding: 8px 12px;
    }

    /* 点击反馈 */
    .btn:active,
    .card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* 禁用双击缩放 */
    * {
        touch-action: manipulation;
    }
}