@font-face {
    font-family: 'Smileysans';
    src: url('../font/SmileySans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('../img/pc.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

@media (max-width: 768px) {
    body {
        background-image: url('../img/mob.png');
    }
}

.topbar {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    font-size: 20px;
    color: #222;
}

.topbar-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 35px;
    /* 与屏幕右侧保持距离 */
}

.topbar a {
    background: transparent;
    color: inherit;
    box-shadow: none;
    padding: 0;
    margin: 0 3px 0 0;
    border-radius: 0;
}

.topbar a:last-child {
    margin-right: 0;
}

.topbar a:hover,
.topbar a:focus {
    background: transparent;
    color: inherit;
    box-shadow: none;
    text-decoration: none;
}

a,
button {
    display: inline-block;
    margin: 4px 6px 4px 0;
    padding: 4px 10px;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(255, 152, 0, 0.08);
    border: none;
    outline: none
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 32px 0 16px 0;
    gap: 8px;
}

.footer a {
    background: transparent;
    color: #007cff;
    box-shadow: none;
    border-radius: 0;
    padding: 0 8px;
    margin: 0 2px;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer a:hover,
.footer a:focus {
    color: #003cff;
    text-decoration: underline;
    background: transparent;
    box-shadow: none;
}

main {
    color: azure;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-top: 90px;
    /* 距离顶部一些距离，避免被topbar遮挡 */
}

img {
    max-width: 85%;
    height: auto;
}