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

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: url("../../背景.png") no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px 12px;
}

.container {
    width: 100%;
    max-width: 900px;
    text-align: center;
    overflow-x: hidden;
    margin: 0 auto;
}

/* 顶部元素 */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.header-image {
    width: min(100%, 760px);
    height: auto;
    display: block;
}

/* 按钮容器 */
.buttons-container {
    margin-bottom: 30px;
}

/* 四宫格按钮 */
.grid-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    justify-items: center;
    max-width: 760px;
    width: 100%;
    padding: 0 12px;
    margin-left: auto;
    margin-right: auto;
}

/* 居中按钮 */
.center-button {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* 按钮链接样式 */
.btn-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    transform: scale(1.05);
}

/* 按钮图片样式 */
.btn-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-sizing: border-box;
}

.btn5-image {
    max-width: min(100%, 420px);
}

/* 底部小字 */
.footer {
    display: flex;
    justify-content: center;
}

.footer-image {
    width: min(100%, 760px);
    height: auto;
    display: block;
}

.policy-bar {
    margin-top: 12px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.8;
    color: #e5e7eb;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.policy-bar a {
    color: #ffffff;
    text-decoration: none;
}

.policy-bar a:hover {
    text-decoration: underline;
}

.policy-bar span {
    margin: 0 4px;
}

.policy-meta {
    display: inline-block;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        padding: 14px 10px;
    }

    .header {
        margin-bottom: 20px;
    }

    .buttons-container {
        margin-bottom: 20px;
    }

    .grid-buttons {
        gap: 14px;
        margin-bottom: 20px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .grid-buttons {
        gap: 10px;
        padding: 0 4px;
    }

    .btn-link:hover {
        transform: none;
    }

    .policy-bar {
        font-size: 11px;
        line-height: 1.7;
        padding: 6px 4px;
    }

    .policy-meta {
        display: block;
        margin-top: 2px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 980px;
    }

    .grid-buttons {
        max-width: 820px;
        gap: 24px;
    }
}
