/* 全局重置 - 极简样式，提升加载速度 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 古风基础配色 */
:root {
    --gufeng-red: #8c2318;
    --gufeng-yellow: #d4b866;
    --gufeng-bg: #fdf6e8;
    --gufeng-text: #3a2a1a;
    --gufeng-border: #c8a968;
}

body {
    background-color: var(--gufeng-bg);
    color: var(--gufeng-text);
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(to right, #6a1a12, #8c2318);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    font-size: 24px;
    color: var(--gufeng-yellow);
    font-weight: bold;
}
.nav-menu {
    display: flex;
    list-style: none;
}
.nav-menu li {
    margin-left: 30px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}
.nav-menu a:hover {
    color: var(--gufeng-yellow);
}

/* 横幅 */
.banner {
    margin-top: 60px;
}
.banner-img {
    width: 100%;
    display: block;
}

/* 通用板块 */
.section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}
.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--gufeng-red);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gufeng-border);
    padding-bottom: 10px;
    display: inline-block;
}

/* 游戏简介 */
.intro-content {
    font-size: 16px;
    text-align: justify;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
}
.intro-content p {
    margin-bottom: 15px;
}

/* 游戏下载 —— 已完美居中修复 */
.download-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    width: 100%;
}
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gufeng-red);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid var(--gufeng-yellow);
    transition: 0.3s;
    min-width: 180px;
}
.download-btn:hover {
    background: #a83226;
}
.download-btn img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}
.download-tips {
    color: #666;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

/* 游戏动态 */
.news-list {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.news-item {
    padding: 12px 0;
    border-bottom: 1px dashed var(--gufeng-border);
    display: flex;
    align-items: center;
}
.news-date {
    color: var(--gufeng-red);
    margin-right: 20px;
    font-weight: bold;
}
.news-title {
    font-size: 16px;
}

/* 游戏截图 */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.screenshot-img {
    width: 100%;
    border: 3px solid var(--gufeng-border);
    border-radius: 5px;
    transition: 0.3s;
}
.screenshot-img:hover {
    transform: scale(1.02);
}

/* 用户评价 */
.comment-section {
    background: #fff8e6;
    padding: 40px 20px;
    border-radius: 10px;
    border: 1px solid var(--gufeng-border);
    max-width: 1000px;
    margin: 0 auto;
}
.comment-item {
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid var(--gufeng-red);
    text-align: left;
}
.comment-text {
    font-style: italic;
    margin-bottom: 8px;
}
.comment-user {
    text-align: right;
    color: var(--gufeng-red);
}

/* 页脚 */
.footer {
    background: #3a2a1a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    .nav-menu {
        margin-top: 10px;
    }
    .nav-menu li {
        margin: 0 10px;
    }
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}