/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    /* 默认背景图片占位符，可自定义 */
    background-image: url('./bg.jpg');
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    height: 100vh;
}

/* Flex 容器 */
.container {
    display: flex;
    height: 100%;
}

/* 左侧标题区域 */
.left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 文字阴影，增强可读性 */
}

.left h1 {
    font-size: 3em;
    margin: 0;
    text-align: center;
}

/* 右侧遮罩区域 */
.right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
}

/* 按钮样式 */
.buttons {
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background: #007bff; /* 蓝色按钮 */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #0056b3; /* 悬停时颜色变深 */
}

/* 备案号样式 */
.footer {
    margin-top: 20px;
    font-size: 0.8em;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* 小屏幕时改为上下布局 */
    }

    .left, .right {
        flex: none;
        width: 100%;
    }

    .left {
        padding: 20px;
    }

    .right {
        padding: 20px;
    }

    .overlay {
        width: 100%;
    }

    .left h1 {
        font-size: 2em; /* 小屏幕时减小标题字体 */
    }
}