#_next{
    position: relative;
}

#topBanner {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #4568DC 0%, #B06AB3 100%);
    color: white;
    z-index: 1000;
    transition: transform 0.5s ease;
}

#topBanner.hidden {
    transform: translateY(-100%);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.close-banner {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.close-banner:hover {
    opacity: 0.8;
}

/* 调整header位置 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    transition: all 0.5s ease;
    z-index: 999;
}

/* 当banner存在时，调整header位置 */
body.has-banner header {
    top: 44px; /* banner高度 */
}

/* 调整页面内容位置 */
body.has-banner {
    padding-top: 44px;
}