﻿* {
    margin: 0;
    padding: 0;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    background: linear-gradient(90deg, #391606 0%, #672E13 100%);
}

.main {
    position: relative;
    left: 0;
    top: 30px;
    width: 1280px;
    height: 720px;
    margin: 0 auto;
    background: url(./page-bg.jpg) no-repeat;
    background-size: 100% 100%;
}

.bottom-ad {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.bottom-ad .ad-img {
    display: block;
    width: 1280px;
    margin: 0 auto;
    height: auto;
}

/* 呼吸动画交给 CSS，页面切到后台时浏览器自动降频 */
.has-version .bottom-ad .ad-img {
    animation: ad-breathe 2s ease-in-out infinite;
}

@keyframes ad-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.content {
    position: absolute;
    top: 275px;
    left: 391px;
    width: 625px;
    height: 284px;
}

.content .title {
    font-size: 25px;
    font-weight: bold;
    color: #FFFF33;
    margin: 15px auto 10px;
    text-align: center;
}

.content .title2 {
    font-size: 22px;
    font-weight: bold;
    color: #e32636;
    margin: 0 auto 20px;
    text-align: center;
}

/* 替代 flex.min.css 里唯一用到的 .row-around */
.row-around {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.btn-download-group {
    padding: 0 8px;
    box-sizing: border-box;
}

.btn-download {
    width: 185px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    color: #e8410d;
    background: #fff;
    display: block;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 2px;
    text-decoration: none;
}

.btn-download:hover {
    color: #fff;
    background: #e8410d;
}

.game-remark {
    margin-top: 30px;
    margin-left: 15px;
}

.game-remark p {
    font-size: 20px;
    color: #66FF00;
    margin-bottom: 5px;
}

.game-remark p:hover {
    color: #FFFF33;
    font-weight: bold;
    font-size: 20px;
}

.config {
    display: none;
}

/* 1024 × 576 分辨率适配 */
@media only screen and (min-width: 750px) and (max-width: 1024px) {
    .main {
        width: 1024px;
        height: 576px;
        top: 0;
    }

    .content {
        top: 220px;
        left: 312px;
        width: 501px;
        height: 229px;
    }

    .content .title {
        font-size: 20px;
        margin: 25px auto;
    }

    .bottom-ad .ad-img {
        width: 1024px;
    }

    .btn-download-group {
        padding: 0 7px;
    }

    .btn-download {
        width: 148px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        padding: 0 10px;
        border-radius: 2px;
    }

    .game-remark p {
        font-size: 15px;
    }

    .game-remark p:hover {
        font-size: 15px;
    }
}

/* 小屏适配：缩放比例由 foot.js 计算后写入 .main 的 zoom */
@media only screen and (max-width: 749px) {
    body {
        overflow-x: hidden;
    }

    .main {
        top: 0;
    }
}
