/* whatsapp-buy-now-frontend.css */
/* WhatsApp Buy Now 插件前端样式 - 安全版本 */

/* 基础样式 */
.wbn-container {
    margin: 25px 0;
    clear: both;
    text-align: left;
}

.wbn-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    gap: 10px;
}

.wbn-main-button:hover {
    transform: translateY(-4px);
    color: white !important;
    text-decoration: none;
}

.wbn-main-button:active {
    transform: translateY(-1px);
}

.wbn-whatsapp-icon {
    line-height: 1;
}

.wbn-promo-text {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid;
}

.wbn-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    animation: wbn-badge-pulse 1.5s infinite;
    z-index: 2;
}

@keyframes wbn-badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 现代风格 */
.wbn-style-modern .wbn-main-button {
    border-radius: 50px;
}

.wbn-style-modern .wbn-main-button:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* 3D风格 */
.wbn-style-3d .wbn-main-button {
    border-radius: 10px;
    border-bottom-width: 4px;
    border-bottom-style: solid;
}

.wbn-style-3d .wbn-main-button:hover {
    border-bottom-width: 2px;
    transform: translateY(-2px);
}

.wbn-style-3d .wbn-main-button:active {
    border-bottom-width: 1px;
    transform: translateY(0);
}

/* 渐变风格 */
.wbn-style-gradient .wbn-main-button {
    border-radius: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wbn-container {
        text-align: center;
        margin: 20px 0;
    }
    
    .wbn-main-button {
        width: 100%;
        margin: 10px 0;
    }
    
    .wbn-promo-text {
        font-size: 13px;
        padding: 8px 12px;
    }
}