/* ==========================================================================
   1. 设计变量与基础重置
   ========================================================================== */
:root {
    --bg-main: #032146;
    --family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue';
    --text-white: #ffffff;
    --text-black: #222;
    --text-muted: #e7eaee;
}
* {
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
    font-style: normal;
    outline: none;
    box-sizing: border-box;
}
button {
    background: none;
    cursor: pointer;
    font-family: inherit;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    width: 100%;
    display: block;
    height: auto;
}
html {
    font-family: var(--family), sans-serif;
    font-size: 16px;
    color: var(--text-black);
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. 头部固定导航栏
   ========================================================================== */
.main-header {
    width: 100%;
    overflow: hidden;
    height: 65px;
    background: linear-gradient(0deg, #0003, #0003), var(--bg-main);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.header-wrap {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    width: 47px;
    height: 34px;
}

/* ==========================================================================
   3. 巨幕 Banner 区
   ========================================================================== */
.banner {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner > img {
    width: 100%;
    max-width: 1140px;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #fff 5%, #fff 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #fff 5%, #fff 95%, transparent 100%);
}
main {
    padding-top: 65px; /* 防止固定头部遮挡 Banner 内容 */
}

.responsive-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.download-row {
    width: 100%;
    text-align: center;
    padding: 30px 0 10px 0; /* 优化间距，使其自然过渡到分割线 */
    position: relative;
}

.download-trigger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* 文字与图标的间距 */
    font-size: 15px;
    font-weight: 700;
    color: var(--bg-main); /* 保持使用你的主色调深蓝 */
    text-decoration: none; /* 移除死板的下划线，改用更现代的动效 */
    letter-spacing: 0.8px;
    text-transform: uppercase; /* 英文转化为大写更有现代官网的设计感 */
    padding: 10px 24px;
    border-radius: 30px; /* 胶囊圆角衬底 */
    background: rgba(255, 255, 255, 0.8); /* 细腻的半透明白衬底，完美融合下方板块 */
    border: 1px solid rgba(3, 33, 70, 0.1);
    box-shadow: 0 4px 12px rgba(3, 33, 70, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 🌟 利用伪元素在文字右侧加上一个精致的微立体“下载箭头”图标 */
.download-trigger-link::after {
    content: "⬇";
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* 🚀 极其细腻的悬停交互反馈 */
.download-trigger-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #032146 0%, #0a3c7a 100%); /* 悬停时反转为深蓝渐变，完美呼应下方的卡片 */
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 33, 70, 0.2);
}

/* 悬停时让小箭头产生微微向下指的动态回弹 */
.download-trigger-link:hover::after {
    transform: translateY(2px);
}

/* ==========================================================================
      全局深色页脚区 (Footer)
   ========================================================================== */
.main-footer {
    background-color: #0f1622;
    color: #888888;
    padding: 30px 0;
    font-size: 13px;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.terms-link {
    color: #4a90e2;
    transition: color 0.2s ease;
}
.terms-link:hover {
    color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   8. 🎬 手机端及平板响应式断点 (小于 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    /* 核心补齐：确保游戏卡片在手机端可以从横排两列优雅地切为垂直一列 */
    .responsive-flex {
        flex-direction: column !important;
    }
    .game-section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 18px;
        margin-bottom: 35px;
    }
    .game-cards-wrap {
        gap: 20px;
    }
    .game-card {
        padding: 30px 20px;
    }
    .info-section {
        padding: 40px 0;
    }
}
