/* 去除浏览器默认的内外边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Pixel'; /* 自定义字体名称，你可以根据需要修改 */
    src: url('Pixel.ttf') format('truetype'); /* 兼容旧版浏览器 */
    font-weight: normal;
    font-style: normal;
}

/* 全局样式 */
body {
    font-family: 'Pixel', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 移除justify-content: center，让内容从上到下排列 */
    min-height: 100vh;
    background-color: #f4f4f4;
    /* 允许页面垂直滚动 */
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    text-align: center;
    width: 60%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* 内容区域样式 - 初始设置为屏幕高度 */
.content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 初始设置为屏幕高度，后续通过JS动态调整 */
    min-height: 100vh;
    /* 移除默认margin，让内容填充满屏幕 */
    margin: 0 auto;
    /* 确保内容垂直居中 */
    justify-content: center;
    /* 添加过渡效果，使高度变化更平滑 */
    transition: min-height 0.3s ease;
}

/* 中间图片样式 */
.center-image {
    text-align: center;
    max-width: 50%;
    height: auto;
    margin-bottom: 30px;
}

/* h1 标题样式 */
.title {
    height: 26px;
    line-height: 26px;
    font-size: 40px;
    margin-bottom: 30px;
    text-align: center;
}

/* 灰色文本内容样式 */
.description {
    color: #888;
    margin-bottom: 30px;
    text-align: center;
}

/* 蓝色按钮样式 */
.blue-button {
    font-family: 'Pixel', sans-serif;
    background-color: #425a83;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 60px;
    
}

/* 底部去注册的灰色文字样式 */
.register-text {
    color: #888;
    margin-top: auto;
    margin-bottom: 20px;
}