.anime-nav {
    background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.anime-hero {
    background-image: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.anime-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.anime-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.anime-link:hover i {
    animation: bounceRight 0.5s infinite alternate;
}

.anime-stats {
    transition: all 0.3s ease;
    border-radius: 20px;
}

.anime-stats:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.anime-step {
    transition: all 0.3s ease;
}

.anime-step:hover {
    transform: translateY(-5px);
}

.anime-review {
    position: relative;
    overflow: hidden;
}

.anime-review::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    opacity: 0;
    transition: all 0.5s ease;
}

.anime-review:hover::before {
    opacity: 1;
    animation: shine 1.5s ease;
}

@keyframes bounceRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(5px); }
}

@keyframes shine {
    0% { transform: rotate(30deg) translate(-30%, -30%); }
    100% { transform: rotate(30deg) translate(30%, 30%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.anime-float {
    animation: float 6s ease-in-out infinite;
}

/* 移动端导航样式 */
@media (max-width: 768px) {
    /* 确保移动端导航栏正确显示 */
    nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 50;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
    }
    
    nav.translate-x-0 {
        transform: translateX(0);
    }
    
    /* 移动端菜单按钮样式 */
    #mobile-menu-button {
        display: block !important;
        z-index: 60;
        position: fixed;
        top: 1rem;
        left: 1rem;
    }
    
    /* 遮罩层样式 */
    #nav-overlay {
        z-index: 45;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        display: block;
    }
    
    /* 主内容区域在移动端的调整 */
    #main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding-top: 4rem;
    }
    
    /* 确保导航链接在移动端可点击 */
    nav a {
        position: relative;
        z-index: 51;
        pointer-events: auto;
    }
    
    /* 防止移动端滚动穿透 */
    body.nav-open {
        overflow: hidden;
    }
}

/* 电脑端保持原有样式 */
@media (min-width: 769px) {
    nav {
        transform: translateX(0) !important;
        z-index: 40;
    }
    
    #mobile-menu-button {
        display: none !important;
    }
    
    #main-content {
        margin-left: 16rem !important;
    }
}