/* 基础重置及字体设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-size: 1rem;
    font-family: "Baloo 2", "Arial", "Montserrat", "PingFangSC";
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    vertical-align: middle;
    border-style: none;
    overflow-clip-margin: content-box;
    overflow: clip;
}

div {
    display: block;
    unicode-bidi: isolate;
}

/* 整体容器，使用 Flex 布局 */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.container-fluid {
    display: block;
    width: 100%;
    height: 100%;
    padding-left: 50px;
    padding-right: 50px;
    margin-right: auto;
    margin-left: auto;
}

/* 主体内容区：应用背景图 */
.content {
    flex: 1;
    position: relative;
    overflow: hidden;
    /* 背景图从底部中央开始展示，多余上方部分被裁剪 */
    background: url('/images/bg.png') no-repeat bottom center;
    background-size: cover;
}

/* 顶部区域 */
.header {
    text-align: center;
    margin-top: 30px;
}

/* 游戏图标 */
.game-icon {
    width: 150px;
    height: auto;
}

/* 主体区域 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* 打开按钮 */
.download-btn {
    border: 0px solid transparent;
    background: url('/images/btn_mobile.png') no-repeat;
    background-size: 100% 100%;
    height: 68px;
    width: 342px;
    cursor: pointer;
}

/* 文本区域 */
.notice {
    margin: 10px auto;
}

.notice span {
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

/* 商店按钮 */
.appstore {
    margin-top: 10px;
}

.appstore a {
    margin: 0 10px 0 10px;
}

.appstore img {
    width: 161px;
}

/* 二维码区域 */
.qr-code {
    width: 210px;
    height: 210px;
    padding: 8px;
    margin: 0 0 20px;
    border: 3px solid #000;
    -webkit-border-radius: 8px;
    border-radius: 16px;
    background-color: white;
}

/* footer 样式 */
.footer {
    background-color: #000000;
    text-align: center;
    padding: 0 20px 0 20px;
    /* 如有需要可设置较高的 z-index，确保footer不被背景遮挡 */
    z-index: 1;
}


.footer {
    background-color: #000000;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 0;
}

.foot-logo-89T {
    -webkit-filter: grayscale(100%) contrast(1000%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) contrast(1000%);
    height: 1rem;
    vertical-align: baseline;
}

.foot-logo {
    -webkit-filter: grayscale(100%) contrast(1000%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) contrast(1000%);
    height: 2rem;
    margin-left: 5px;
    margin-right: 5px;
}

.foot-container {
    /*width: 80%;*/
    color: white;
}

.footer-hr {
    border-color: rgb(230 227 227 / 40%);
}

.foot-logo-follow-div {
    padding-top: 25px;
    margin-bottom: 1rem;
}

.fl {
    float: left;
}

/* bootstrap copy */
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.flex-row {
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.mb-5, .my-5 {
    margin-bottom: 2rem !important;
}

.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}

.flex-row {
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.mr-auto, .mx-auto {
    margin-left: auto !important;
}

.pb-2, .py-2 {
    padding-bottom: .5rem !important;
    padding-top: .5rem !important;

}

/* 响应式设计：手机端 */
@media (max-width: 768px) {
    .game-icon {
        width: 250px;
    }

    /* 手机端下载按钮可调整 */
    .download-btn {
        height: 68px;
        width: 342px;
        margin-top: 10px;
    }

    /* 隐藏二维码 */
    .qr-code {
        display: none;
    }

    .notice > span {
        width: 250px;
        overflow: auto;
        font-size: 1.2em;
        margin-top: 10px;
    }

    .appstore {
        display: flex;
        flex-wrap: wrap;      /* 当空间不足时自动换行 */
        justify-content: center; /* 居中对齐 */
        align-items: center;  /* 垂直居中 */
        gap: 10px;            /* 可选：间隔 */
    }

    .appstore img {
        width: 250px;
    }

    .foot-container {
        font-size: 0.5rem;
    }

    .foot-logo-89T {
        width: auto;
        height: 0.5rem;
    }

    .foot-logo {
        width: auto;
        height: 1.3rem;
    }

    .footer-hr {
        margin-top: -2em;
        margin-bottom: 0em;
    }

    .foot-logo-follow-div {
        padding-top: 1rem;
        margin-bottom: 0.3rem;
    }

    .footer img {
        max-width: 100%;
    }

    .follow {
        margin-right: 10px;
    }

}
