* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Maple Mono CN';
    height: 100vh;
    background: #eceaff;
}

nav {
    background: white;
    width: 100%;
    padding: 0% 6%;
    display: flex;
    position: relative;
    align-items: center;
    height: 80px;
}

nav ul {
    display: flex;
    width: 100%;
}

nav ul li {
    margin-left: 5%;
    list-style: none;
}

nav ul a {
    text-decoration: none;
    color: black;
}

.home {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;

        justify-content: baseline;

    /* background: ; 美化重点*/

}
.video {
width: 530px;
height: 300px;
border-radius: 10px;
}
/* 手机端 */
/* 
@media (max-width:768px) {
    nav ul li {
        display: none;
    }

    .register-btn {
        display: none;
    }
    .img-right{
        display: none;
    }
} */





.logo {
    width: 200px;
}

.help,
.download {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.login-btn {
    width: 120px;
    height: 40px;
    background-color: #a770ee;
    color: white;
    border-radius: 15%;
    border-color: #a770ee;
    box-shadow: none;
    border-style: solid;
    border-width: 1px;
    font-weight: bold;
    margin-left: 15px;
}

.register-btn {
    width: 120px;
    height: 40px;
    background-color: white;
    color: black;
    border-radius: 15%;
    border-color: #eae4f3;
    box-shadow: none;
    border-style: solid;
    border-width: 1px;
    font-weight: bold;
    margin-left: 15px;
}
















/* 尾部 */
footer {
    background: #0B243B;
    border-radius: 5px;
    color: #999;
    padding: 0% 12%;
}


/* 尾部顶部 相关平台：网格布局，横向排列自动换行 */
.related {
    display: flex;
    padding: 20px 0;
    /* 上下内边距 */
    color: white;
    font-size: 16px;
    flex-direction: column;
    gap: 15px;
    /* 标题与链接之间的间距 */
}

.related h3 {
    margin: 0;
    font-size: 18px;
    margin-bottom: 10px;
}

/* 相关平台链接容器：网格布局，横向排列 */
.related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /* 横向排列 */
    flex-wrap: wrap;
    /* 自动换行 */
    gap: 20px;
    /* 链接之间的间距 */
    align-items: center;
    /* 垂直居中对齐 */
}

.related li {
    margin: 0;
    /* 移除原来的下边距 */
}

.related a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    /* 防止链接文字换行 */
    padding: 4px 8px;
    /* 增加内边距，提升点击区域 */
    border-radius: 4px;
    /* 圆角效果 */
    transition: background-color 0.2s ease;
    /* 悬停过渡效果 */
}

.related a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* 悬停时显示半透明背景 */
}

/* 尾部中间 */
.base {
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #333;
    /* 顶部边框线，与上面内容分隔 */
}

/* 尾部左边整体 */
.left {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
}

/* 左侧列表组样式 */
.left dl {
    margin: 0;
    min-width: 140px;
    flex: 1;
}

.left dt {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 6px;
}

.left dd {
    color: #bbb;
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.left dd:hover {
    color: white;
    cursor: pointer;
}

/* 友情链接样式 */
.left ul {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 140px;
    flex: 1;
}

.left ul h3 {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    position: relative;
    /* 为伪元素定位 */
}

/* 友情链接标题下的横线 */
.left ul h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    /* 横线长度100px */
    height: 1px;
    /* 横线高度1px */
    background-color: #444;
    /* 横线颜色 */
}

.left ul li {
    margin: 6px 0;
}

.left ul a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.left ul a:hover {
    color: white;
    text-decoration: underline;
}

/* 右边整体 */
.right {
    display: flex;
    gap: 20px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    width: 30%;
    /* 占屏幕宽度的30%，即3/10 */
    min-width: 300px;
    /* 最小宽度，防止过小 */
    max-width: 400px;
    /* 最大宽度，防止过大 */
    flex-shrink: 0;
    /* 防止被挤压 */
}

/* 二维码图片样式：防止被挤压，保持比例 */
.img-right img {
    width: 100%;
    /* 图片宽度占满容器 */
    height: 100px;
    /* 固定高度100px */
    object-fit: cover;
    /* 保持图片比例，裁剪多余部分 */
    border-radius: 8px;
    /* 圆角效果 */
    margin-bottom: 5px;
    /* 图片下方间距 */
    text-align: center;
    /* 图片居中对齐 */
    flex-shrink: 0;
    /* 防止图片被挤压 */
}

.img-right p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* 微信公众号图片样式：防止被挤压，保持比例 */
.img-right-wx img {
    width: 100%;
    /* 图片宽度占满容器 */
    height: 100px;
    /* 固定高度100px */
    object-fit: cover;
    /* 保持图片比例，裁剪多余部分 */
    border-radius: 8px;
    /* 圆角效果 */
    margin-bottom: 5px;
    /* 图片下方间距 */
    text-align: center;
    /* 图片居中对齐 */
    flex-shrink: 0;
    /* 防止图片被挤压 */
}

.img-right-wx p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* 尾部底部：文字居中显示 */
.bottom {
    text-align: center;
    /* 文字居中对齐 */
    padding: 20px 0;
    /* 上下内边距 */
    border-top: 1px solid #333;
    /* 顶部边框线，与上面内容分隔 */
}