/* 字体定义 */
@font-face {
    font-family: 'MenuFont1';
    src: url('fontfamily/1.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MenuFont2';
    src: url('fontfamily/2.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MenuFont3';
    src: url('fontfamily/3.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MenuFont4';
    src: url('fontfamily/4.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础body样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    min-height: 100vh;
}

/* index.html特定的基础样式 */
.index-body {
    background-color: #000;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* login.html特定的基础样式 */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 通用链接样式 */
a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 通用按钮样式基础 */
button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:disabled {
    cursor: not-allowed;
}

/* 通用输入框样式基础 */
input {
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

/* 通用标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/* 通用段落样式 */
p {
    line-height: 1.6;
}

/* 分隔线样式 */
.divider {
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #333;
}

.divider-text {
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
}

/* 移动端响应式基础 */
@media (max-width: 768px) {
    * {
        overflow-x: hidden;
    }
}