body {
    background: linear-gradient(135deg, #232946 0%, #16161a 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#notfound-content {
    font-size: 2.7rem;
    color: #e0e7ef;
    background: rgba(36, 41, 61, 0.92);
    padding: 3rem 5rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 1.5px 8px #232946;
    letter-spacing: 0.22em;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    transition: background 0.5s;
    text-shadow: 0 2px 12px rgba(0,0,0,0.28), 0 1px 0 #232946;
    border: 1.5px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
}
#notfound-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#notfound-icon {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    font-size: 2rem;
    opacity: 0.85;
    animation: test-float 2.5s infinite ease-in-out;
}
@keyframes test-float {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-10px);}
}
.code-effect {
    position: fixed;
    font-size: 1.6rem;
    font-family: 'Fira Mono', 'Consolas', monospace;
    color: #f87171;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.95;
    animation: code-float 1s cubic-bezier(.4,2,.6,1);
    white-space: pre;
    text-shadow: 0 2px 8px #232946, 0 1px 0 #000;
}
@keyframes code-float {
    0% { transform: translateY(0) scale(1); opacity: 1;}
    70% { opacity: 1;}
    100% { transform: translateY(-60px) scale(1.2); opacity: 0;}
}
.tip {
    font-size: 1.1rem;
    color: #fbbf24;
    margin-top: 1.5rem;
    text-align: center;
    opacity: 0.85;
    letter-spacing: 0.1em;
}
a.home-link {
    /* 移除 position: fixed; right/bottom/margin/z-index */
    display: inline-block;
    margin-left: 1.2rem;
    margin-top: 0;
    padding: 0.7em 2em;
    background: #232946;
    color: #fff;
    border-radius: 1.2em;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: background 0.3s, color 0.3s;
    vertical-align: middle;
}
a.home-link:hover {
    background: #fbbf24;
    color: #232946;
}