/* ========================================
   推广下载页样式 - 1:1 复刻老版本
   ======================================== */

/* ---------- Reset ---------- */
html, body, ul, ol, h1, h2, h3, h4, h5, h6, dl, ol, ul, a {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    line-height: 1.3;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    list-style: none;
    color: #fff;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ---------- Body 背景 ---------- */
body {
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    min-width: 360px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section.mid {
    flex: 1;
    position: relative;
}

/* ---------- Header（半透明黑色条）---------- */
header {
    height: 128px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
}

/* ---------- 通用容器 ---------- */
.wrap {
    width: 1200px;
    margin: 0 auto;
}

/* ---------- Logo ---------- */
.logo {
    width: 243px;
    height: 116px;
    background: url('../images/logo.png') no-repeat;
    background-size: 243px 116px;
    margin: 0 auto;
    padding-top: 6px;
}

/* ---------- 中间内容区 ---------- */
.mid {
    width: 1200px;
    margin: 0 auto;
}

/* ---------- 游戏截图 ---------- */
.game-screenshot {
    background: url('../images/game_screenshot.png') no-repeat center center;
    background-size: contain;
    width: 1200px;
    height: 701px;
    margin: 0 auto;
    margin-top: -30px;
    margin-bottom: 10px;
}

/* ---------- 桌面版下载按钮 ---------- */
.load_btn {
    width: 800px;
    margin: 0 auto;
}

.load_btn:after {
    content: '';
    display: block;
    clear: both;
}

.load_btn .iphone {
    display: block;
    float: left;
    width: 315px;
    height: 75px;
    background: url('../images/iphone_load.png') no-repeat;
    background-size: 315px 75px;
}

.load_btn .iphone:hover {
    background: url('../images/iphone_load_hover.png') no-repeat;
    background-size: 315px 75px;
}

.load_btn .android {
    display: block;
    float: right;
    width: 315px;
    height: 75px;
    background: url('../images/android_load.png') no-repeat;
    background-size: 315px 75px;
    margin-right: 50px;
}

.load_btn .android:hover {
    background: url('../images/android_load_hover.png') no-repeat;
    background-size: 315px 75px;
}

/* ---------- 手机版下载按钮（桌面隐藏）---------- */
.load_btn_m {
    display: none;
}

/* ---------- 推荐ID ---------- */
.proxy-info {
    text-align: center;
    margin-top: 25px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

/* ---------- Footer（半透明黑色条）---------- */
footer {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: 50px;
    padding: 20px 0;
}

footer .copyright {
    text-align: center;
    color: #e0dee1;
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 30px;
}

/* ========================================
   响应式 - 手机端（<= 1200px）
   ======================================== */
@media (max-width: 1200px) {
    .mid, .wrap {
        width: 100%;
    }

    .game-screenshot {
        width: 100%;
        background-size: 100%;
        height: 300px;
        margin-top: 0;
    }

    .load_btn {
        display: none;
    }

    .load_btn_m {
        display: block;
        width: 60%;
        max-width: 260px;
        margin: 0 auto;
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
    }

    .load_btn_m a {
        display: block;
    }

    .load_btn_m .ip {
        margin-bottom: 20px;
    }

    .load_btn_m img {
        display: block;
        width: 100%;
        height: auto;
    }

    .copyright {
        width: 90%;
        margin: 0 auto;
    }
}

/* 不同手机宽度的截图高度 */
@media (max-width: 640px) {
    .game-screenshot { height: 200px; }
}

@media (min-width: 641px) and (max-width: 720px) {
    .game-screenshot { height: 300px; }
}

@media (min-width: 721px) and (max-width: 960px) {
    .game-screenshot { height: 400px; }
}

@media (min-width: 961px) and (max-width: 1040px) {
    .game-screenshot { height: 500px; }
}

@media (min-width: 1041px) and (max-width: 1200px) {
    .game-screenshot { height: 550px; }
}
