.beta-pop-banner {
    width: 100%;
    height: 40px;
    /* 使用柔和的深蓝/紫色渐变，既醒目又不刺眼 */
    background: linear-gradient(90deg, #1cb5e0 0%, #000851 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 两端对齐 */
    overflow: hidden;
    position: relative;
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    padding: 0 15px; /* 给左右留出一点内边距 */
    box-sizing: border-box;
}

.beta-pop-scroll-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    margin-right: 20px; /* 滚动文字和按钮之间的间距 */
    /* 添加遮罩让文字在两侧淡入淡出，体验更好 */
    mask-image: linear-gradient(to right, transparent, black 10px, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10px, black 95%, transparent);
}

.beta-pop-content {
    white-space: nowrap;
    position: absolute;
    line-height: 40px; /* 垂直居中 */
    animation: marquee 25s linear infinite;
    padding-left: 100%;
    cursor: default; /* 文字部分恢复默认光标，不再提示整体可点 */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 按钮样式 */
.beta-pop-btn {
    flex-shrink: 0;
    background-color: #ff9800; /* 醒目的橙色按钮 */
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
    display: inline-block;
    line-height: 1.5;
}

.beta-pop-btn:hover {
    background-color: #f57c00;
    text-decoration: none;
}

/* 鼠标悬停时暂停滚动 */
.beta-pop-banner:hover .beta-pop-content {
    animation-play-state: paused;
}
