:root {
    --primary-color: #ff6b35;
    --primary-hover: #e55a2b;
    --text-primary: #1a1a2e;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 20px;
    box-shadow: var(--shadow-sm);
}

.top-nav-content {
    max-width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

.top-nav-left {
    display: flex;
    align-items: center;
}

.top-nav-right {
    display: flex;
    align-items: center;
}

.top-nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.top-nav-search-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.top-nav-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.maomi-content {
    max-width: 85%;
    margin: 0 auto;
    padding: 85px 20px 40px;
}

.top-ad-container {
    height: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .top-nav {
        padding: 0 10px;
    }
    
    .top-nav-content {
        height: 55px;
        max-width: 100%;
    }
    
    .top-nav-logo {
        font-size: 18px;
    }
    
    .top-nav-search-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .maomi-content {
        padding: 75px 10px 1px;
        max-width: 100%;
    }
    
    .top-ad-container {
        height: 60px;
        font-size: 12px;
    }
}