/* css/common.css */
@font-face {
    font-family: 'WenYue';
    src: url('../fonts/hanyiguotuchuangxinshanhaijing55jian.ttf') format('truetype');
}

/* 全局字体设置 */
* {
    font-family: 'WenYue', 'Microsoft YaHei', sans-serif;
}

html, body {
    scrollbar-width: thin;
    -ms-overflow-style: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    width: 100%;
    padding: 1rem 5%;
    background-color: rgba(26, 26, 26, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

/* 页脚样式 */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 2rem 5%;
    text-align: center;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.copyright-notice {
    text-align: center;
    padding: 10px;
    color: #666;
}