/**
 * Header 注册广告横幅样式
 * 百度SEO优化 - 从header.php提取
 */

/* 弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* PC端内联横幅 */
.signup-promo-inline {
    flex: 1;
    min-width: 400px;
    margin: 0 15px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.signup-promo-inline .promo-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.signup-promo-inline .promo-icon {
    font-size: 24px;
    line-height: 1;
    animation: bounce 2s infinite;
}

.signup-promo-inline .promo-text {
    flex: 1;
}

.signup-promo-inline .promo-title {
    font-size: 14px;
    font-weight: bold;
    color: #856404;
    margin-bottom: 2px;
}

.signup-promo-inline .promo-desc {
    font-size: 12px;
    color: #856404;
    opacity: 0.9;
}

.signup-promo-inline .promo-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signup-promo-inline .promo-signup-btn {
    background: #dc3545;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.signup-promo-inline .promo-signup-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.signup-promo-inline .promo-close-btn {
    background: transparent;
    border: none;
    color: #856404;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.signup-promo-inline .promo-close-btn:hover {
    opacity: 1;
}

/* 隐藏PC端横幅在小屏幕 */
@media (max-width: 768px) {
    .signup-promo-inline {
        display: none !important;
    }
}

/* 移动端独立横幅样式 */
.signup-promo-mobile {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-bottom: 3px solid #ffc107;
    padding: 12px 15px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.signup-promo-mobile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.signup-promo-mobile-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.signup-promo-mobile-icon {
    font-size: 28px;
    line-height: 1;
    animation: bounce 2s infinite;
}

.signup-promo-mobile-text {
    flex: 1;
}

.signup-promo-mobile-title {
    font-size: 14px;
    font-weight: bold;
    color: #856404;
    margin-bottom: 3px;
}

.signup-promo-mobile-desc {
    font-size: 12px;
    color: #856404;
    opacity: 0.9;
}

.signup-promo-mobile-btn {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.signup-promo-mobile-close {
    background: transparent;
    border: none;
    color: #856404;
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    opacity: 0.6;
    margin-left: 5px;
}
