html, body {
    margin: 0; /* 清除默认的边距 */
    padding: 0; /* 清除默认的内边距 */
    height: 100%; /* 设置高度为100% */
    overflow: hidden; /* 防止出现滚动条 */
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 充满整个视口 */
}

.text-container {
    height: 60%; /* 占据60%的高度 */
    display: flex;
    flex-direction: column; /* 垂直排列 */
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background-color: rgb(255, 255, 219); /* 浅黄 */
}

.line {
    font-size: 36px; /* 增加字体大小 */
    font-weight: bold; /* 加粗 */
    color: #FE7600; /* 字体颜色 */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* 立体效果 */
}

.additional-buttons {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 10px;
    opacity: 0; /* 初始透明度 */
    transition: opacity 0.5s ease; /* 添加渐变效果 */
}

.additional-buttons button {
    background-color: rgb(254, 118, 0); /* 按钮正常状态颜色 */
    color: white; /* 白色字体 */
    padding: 10px 20px; /* 按钮内边距 */
    margin: 0 5px; /* 按钮之间的小间隙 */
}

.additional-buttons button:hover {
    background-color: rgb(220, 100, 0); /* 悬停时稍微变亮 */
}

.button-image {
    width: 100%; /* 设置宽度为100% */
    max-width: 300px; /* 最大宽度 */
    height: auto; /* 自适应高度 */
    margin-top: 10px; /* 图片与按钮之间的间距 */
}

.divider {
    height: 2px; /* 分割线的高度 */
    background-color: white; /* 白色分割线 */
    width: 100%; /* 占满宽度 */
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0; /* 调整上方间距 */
}

.footer {
    text-align: center;
    color: gray;
    margin-top: 20px;
    position: absolute;
    bottom: 10px; /* 固定在页面底部 */
    width: 100%; /* 占满宽度 */
}

.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000; /* 在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* 启用滚动 */
    background-color: rgba(0, 0, 0, 0.8); /* 半透明背景 */
}

.modal-content {
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* 宽度 */
    max-width: 600px; /* 最大宽度 */
}

.modal-content img {
    width: 100%; /* 设置宽度为100% */
    height: auto; /* 自适应高度 */
    max-height: 80vh; /* 限制最大高度 */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

button {
    padding: 15px 60px; /* 增加按钮的宽度 */
    font-size: 20px; /* 增加字体大小 */
    font-weight: bold; /* 加粗字体 */
    cursor: pointer;
    background-color: rgb(60, 70, 255); /* 蓝色 */
    color: white; /* 白色字体 */
    border: none;
    border-radius: 25px; /* 圆润边角 */
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s; /* 添加过渡效果 */
    margin: 0 5px; /* 按钮之间的小间隙 */
}

button:hover {
    transform: translateY(-5px); /* 鼠标悬停时浮起 */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* 添加阴影 */
    background-color: rgb(60, 70, 255); /* 悬停时保持颜色不变 */
}
