/* 弹窗遮罩层 */
.mobile-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none; /* 电脑端测试弹窗无误后改成none上线 */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* 弹窗主体卡片 */
.mobile-popup-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px; 
    width: 90%;
    max-width: 380px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    overflow: hidden;
}

/* 折扣角标 */
.discount-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #ff4d4f;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    border-bottom-right-radius: 12px;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    right: 15px; top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #bbb;
}

.popup-icon { font-size: 40px; margin-bottom: 10px; }

.action-area {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 主操作按钮 */
.main-btn {
    background: #46b1e2;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}
.main-btn:active { background: #218838; }

/* 次要文字链接 */
.secondary-link {
    color: #007bff;
    text-decoration: underline;
    font-size: 13px;
    cursor: pointer;
}

.hint { font-size: 13px; color: #999; margin-top: 20px; line-height: 1.4; }
.text-p { font-size: 15px; }

/* 悬浮按钮样式 */
.mobile-widget-btn {
    position: fixed;
    bottom: 100px;
    right: 5px;
    background: #ff4d4f; /* 醒目的红色 */
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: none; /* 初始隐藏 */
    z-index: 9999;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    animation: bounce 2s infinite; /* 呼吸灯效果 */
}

/* 简单的呼吸动画 */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}