.navbar {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo::before {
    content: "⚡";
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    padding: 10px 16px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a2a6c, #b21f1f);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .nav-logo {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-logo::before {
        font-size: 20px;
    }
}

/* 导航栏滚动效果 */
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(26, 42, 108, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* 导航栏动画 */
@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: navFadeIn 0.5s ease-out;
}

/* 导航栏下拉菜单（如果需要） */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-content a {
    color: #333;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s;
}

.nav-dropdown-content a:hover {
    background: #f5f7fa;
    color: #1a2a6c;
}
        /* 详情页特有样式 */
        .app-detail-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .app-detail-header {
            display: flex;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .app-icon-large {
            width: 120px;
            height: 120px;
            border-radius: 20px;
            margin-right: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .app-info {
            flex: 1;
        }
        
        .app-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }
        
        .app-meta {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 20px;
            color: #666;
        }
        
        .app-meta-item {
            margin-right: 20px;
            margin-bottom: 10px;
        }
        
        .app-meta-label {
            font-weight: bold;
            margin-right: 5px;
        }
        
        .app-actions {
            display: flex;
            gap: 15px;
        }
        
        .download-btn-primary {
            background: linear-gradient(135deg, #4a90e2, #357ae8);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
        }
        
        .download-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
        }
        
        .buy-account-btn {
            background: linear-gradient(135deg, #ff6b6b, #ff5252);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
        }
        
        .buy-account-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
        }
        
        .app-content {
            display: flex;
            gap: 30px;
        }
        
        .app-description {
            flex: 2;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 30px;
        }
        
        .section-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            color: #333;
        }
        
        .app-description-text {
            line-height: 1.8;
            color: #555;
        }
        
        .app-sidebar {
            flex: 1;
        }
        
        .app-cover {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        
        .related-apps {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 20px;
        }
        
        .related-app {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .related-app:last-child {
            border-bottom: none;
        }
        
        .related-app-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            margin-right: 12px;
        }
        
        .related-app-info {
            flex: 1;
        }
        
        .related-app-name {
            font-weight: bold;
            color: #333;
            margin-bottom: 4px;
        }
        
        .related-app-category {
            font-size: 12px;
            color: #888;
        }
        
        .related-app-download {
            background: #4a90e2;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
        }
        
        .app-screenshots {
            background: #fff;
            border-radius: 12px;
  
            margin-top: 30px;
        }
        
        .screenshots-container {
            display: flex;
            gap: 15px;
            overflow-x: auto;
            padding-bottom: 10px;
        }
        
        .screenshot {
            width: 200px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        a{
            text-decoration: none;
        }
        /* 响应式设计 */
        @media (max-width: 768px) {
            .app-detail-header {
                flex-direction: column;
                text-align: center;
            }
            
            .app-icon-large {
                margin-right: 0;
                margin-bottom: 20px;
            }
            
            .app-content {
                flex-direction: column;
            }
            
            .app-actions {
                justify-content: center;
            }
        }