@charset "utf-8";
/* ==========================================================================
   华夏复古2003独家元神 —— 页面样式
   结构：基础重置 → 页面骨架 → 下载区 → 内容区 → 页脚 → 响应式
   ========================================================================== */

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font: 16px/1.6 "Microsoft YaHei", "PingFang SC", Tahoma, Arial, sans-serif;
    color: #7c7c7c;
    background: #0a0a0a;
    background-image: radial-gradient(circle at 50% 0, #23201a 0, #0a0a0a 60%);
    background-repeat: no-repeat;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dd, dt, figure {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: #d7ae67;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #ff6600;
}

em, i {
    font-style: normal;
}

b, strong {
    font-weight: 700;
}

/* 通用工具类 */
.u_hl {
    color: #f00;
    font-weight: 700;
}

/* ---------- 顶部广告 + LOGO ---------- */
.top-banner {
    display: block;
    line-height: 0;
    text-align: center;
    background: #000;
}

.top-banner img {
    display: block;
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    object-position: center;
}

.top {
    padding: 28px 15px 24px;
    text-align: center;
}

.top .logo {
    display: inline-block;
    line-height: 0;
    transition: opacity .25s;
}

.top .logo:hover {
    opacity: .88;
}

.top .logo img {
    width: 420px;
    max-width: 72vw;
}

/* ---------- 下载区 ---------- */
.g_down {
    width: 100%;
    padding: 0 15px 10px;
    background: #e9e9e9;
    border-top: 5px solid #323436;
    border-bottom: 5px solid #323436;
}

.m_downCont {
    max-width: 860px;
    margin: 0 auto 30px;
    padding: 24px 30px 34px;
    background: #fff;
    border: 2px solid #d8d8d8;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.u_downTips {
    margin: 0 0 20px;
    font-size: 16px;
    text-align: center;
    color: #555;
}

/* 下载按钮 */
.urlList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.urlList li {
    flex: 1 1 170px;
    max-width: 200px;
    list-style: none;
}

.u_btn {
    display: block;
    padding: 12px 6px 14px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    background-color: #ff6317;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
    transition: transform .18s, filter .18s, box-shadow .18s;
}

.u_btn span {
    display: block;
    margin-bottom: 4px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
}

.u_btn i {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #ffff00;
}

.u_btn:hover,
.u_btn:focus {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 8px 16px rgba(0, 0, 0, .18);
}

.u_btn:active {
    transform: translateY(0);
}

.u_btn--1 { background-color: #b36d4b; }
.u_btn--2 { background-color: #ff6317; }
.u_btn--3 { background-color: #ff6317; }
.u_btn--4 {
    background-color: #e2a600;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16);
}

.u_btn--4 span {
    color: #fff;
}

/* 开区时间条 */
.u_hot {
    max-width: 100%;
    margin: 22px auto 16px;
    padding: 12px 16px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    color: #000;
    background: #ffff98;
    border: 1px solid #ff9d34;
    border-radius: 6px;
}

/* 信息行 */
.m_downText {
    margin-top: 6px;
}

.neiwen {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px dashed #c0c0c0;
}

.neiwen:first-child {
    border-top: 0;
}

.u_tit {
    flex: 0 0 auto;
    min-width: 112px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.u_txtRight {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.u_txtRight--orange {
    color: #ff7b00;
    font-weight: 700;
}

.u_txtRight--green {
    color: #30a800;
    font-weight: 700;
}

/* 版本特色列表 */
.m_newslist {
    margin-top: 8px;
}

.m_newslist .u_newItem {
    position: relative;
    padding: 3px 0 3px 26px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.m_newslist .u_newItem em {
    position: absolute;
    top: 3px;
    left: 0;
    color: #d7ae67;
    font-weight: 700;
}

/* ---------- 页脚 ---------- */
.g_footer {
    width: 100%;
    padding: 0 15px;
    text-align: center;
    background: #000;
}

.m_foot {
    padding: 34px 0 42px;
    font-size: 13px;
    line-height: 1.9;
    color: #666;
}

.m_foot p + p {
    margin-top: 2px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .m_downCont {
        padding: 20px 16px 26px;
        border-radius: 8px;
    }

    .u_downTips {
        font-size: 15px;
    }

    .urlList {
        gap: 10px;
    }

    .urlList li {
        flex: 1 1 calc(50% - 10px);
        max-width: none;
    }

    .u_btn span {
        font-size: 18px;
    }

    .u_hot {
        font-size: 16px;
    }

    .neiwen {
        display: block;
    }

    .u_tit {
        display: block;
        margin-bottom: 2px;
    }

    .u_txtRight,
    .m_newslist .u_newItem {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .top {
        padding: 20px 12px 18px;
    }

    .urlList li {
        flex: 1 1 calc(50% - 10px);
    }

    .u_btn {
        padding: 10px 4px 12px;
    }

    .u_btn span {
        font-size: 17px;
    }

    .u_hot {
        font-size: 15px;
        padding: 10px 12px;
    }
}

/* 打印时保持可读 */
@media print {
    body {
        background: #fff;
        color: #000;
    }
}
