/* ========== 全站弹窗公告 ========== */
.cp-o {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.cp-o.a {
    opacity: 1;
    visibility: visible;
}

.cp-c {
    background: #fff;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 680px;
    width: 92%;
    text-align: center;
    position: relative;
    transform: translateY(-30px);
    transition: transform .3s cubic-bezier(.18, .89, .32, 1.28);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.cp-o.a .cp-c {
    transform: translateY(0);
}

.cp-x {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: all .2s;
}

.cp-x:hover {
    color: #333;
    transform: rotate(90deg);
}

.cp-c h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
}

.cp-sub {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cp-list {
    margin: 0 0 30px 0;
    padding: 25px;
    background: #f8f9fb;
    border-radius: 12px;
    text-align: left;
    list-style: none;
}

.cp-list li {
    margin-bottom: 12px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cp-list li:last-child {
    margin-bottom: 0;
}

.cp-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cp-b {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.cp-b-secondary {
    background: #f0f2f5;
    color: #666;
}

.cp-b-secondary:hover {
    background: #e0e4e8;
}

.cp-b-primary {
    background: #5b51c8;
    color: #fff;
}

.cp-b-primary:hover {
    background: #4a42a3;
}

@media (max-width: 480px) {
    .cp-c {
        padding: 30px 20px;
        width: 95%;
    }

    .cp-x {
        top: 15px;
        right: 15px;
        font-size: 1.3rem;
    }

    .cp-c h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .cp-sub {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .cp-list {
        padding: 15px;
        margin-bottom: 20px;
    }

    .cp-list li {
        font-size: 0.8rem;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .cp-btns {
        flex-direction: column;
        gap: 10px;
    }

    .cp-b {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}