body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f4f1ea;
    color: #333;
    font-family: 'Merriweather', serif;
    background-image: url('images/inmage_3.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header,
footer {
    padding: 20px;
    color: #ecf0f1;
    text-align: center;
    background-color: rgba(44, 62, 80, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    position: relative;
}

/* 备案信息容器样式 */
footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    min-height: 20px;
}

/* 备案信息项样式 */
footer .footer-content > * {
    margin: 0;
}

/* 备案图标容器样式 */
footer .footer-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* 备案图标样式 */
footer .footer-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@font-face {
    font-family: 'SiYuanSongTiRegular';
    src: url('YiShanBeiZhuanTi.ttf') format('truetype');
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    line-height: 1.2;
    font-family: '黑体', serif;
}

header a {
    margin: 0;
    font-size: 1.5em;
    line-height: 1.2;
    font-family: '黑体', serif;
    color: #ecf0f1;
    text-decoration: none;
}

footer {
    margin-top: auto;
    padding: 15px 0;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: -30px;
}

footer a {
    color: #bdc3c7;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 悬浮按钮样式 */
.float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #165DFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.float-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
