.scroll-notice {
    position: relative;
    width: 100%;
    height: 40px;
    background-color: #ff6b6b;
    overflow: hidden;
    margin-bottom: -15px;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.scroll-notice-content {
    position: absolute;
    width: 300%;
    height: 100%;
    margin: 0;
    line-height: 40px;
    text-align: center;
    animation: scrollNotice 40s linear infinite;
    white-space: nowrap;
    color: #333;
    font-weight: 500;
}

.scroll-notice-content span {
    display: inline-block;
    padding: 0 30px;
}

@keyframes scrollNotice {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-65%);
    }
}

.scroll-notice:hover .scroll-notice-content {
    animation-play-state: paused;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .scroll-notice {
        height: 35px;
        margin-bottom: -15px;
    }
}