/* 底部固定展示区域样式 */
.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #feca57 100%);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px 20px 0 0;
}

.bottom-banner.show {
    transform: translateY(0);
}

.bottom-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

/* 背景装饰元素 */
.bottom-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s linear infinite;
    pointer-events: none;
}

/* 左侧内容区域 */
.banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.banner-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    animation: pulse 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-text {
    color: #fff;
    flex: 1;
}

.banner-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.banner-subtitle {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-highlight {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* 右侧按钮区域 */
.banner-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.banner-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.banner-btn:hover::before {
    left: 100%;
}

.banner-btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.banner-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.banner-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 关闭按钮 */
.banner-close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 动画效果 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .bottom-banner {
        display: none !important;
    }
    .bottom-banner-content {
        padding: 20px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        min-height: 120px;
    }
    
    .banner-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner-subtitle {
        font-size: 15px;
    }
    
    .banner-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .banner-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .banner-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .bottom-banner-content {
        padding: 10px 12px;
    }
    
    .banner-title {
        font-size: 15px;
    }
    
    .banner-subtitle {
        font-size: 12px;
    }
    
    .banner-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* 为页面内容添加底部间距，避免被固定横幅遮挡 */
body.has-bottom-banner {
    padding-bottom: 120px;
}

@media screen and (max-width: 768px) {
    body.has-bottom-banner {
        padding-bottom: 160px;
    }
}
