html {
    scroll-behavior: smooth;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.animate-blob {
    animation: blob 15s infinite alternate;
}

.animate-bounce-slow {
    animation: bounce 4s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* 隐藏移动端菜单时的辅助类 */
#mobile-menu.hidden {
    display: none;
}

#mobile-menu.flex {
    display: flex;
}

/* 导航栏滚动后的样式 */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.05);
}