<template>
    <div class="not-found">
        <h1>404</h1>
        <p>抱歉，您访问的页面不存在。</p>
        <router-link to="/" class="home-link">返回首页</router-link>
    </div>
</template>

<script>
export default {
    name: "NotFound",
};
</script>

<style scoped>
.not-found {
    text-align: center;
    padding: 50px 20px;
}

.not-found h1 {
    font-size: 100px;
    color: #005a9e;
    margin-bottom: 20px;
}

.not-found p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.home-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #005a9e;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.home-link:hover {
    background-color: #003f73;
}
</style>