* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}


/* 主容器：加宽留白，提升呼吸感 */
.main-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* 页面标题：中性色调，不抢焦点 */
.page-title {
    text-align: center;
    margin-bottom: 60px;
}
.page-title h2 {
    font-size: 36px;
    color: #2a303c;
    font-weight: 500;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}
.page-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #5c87a8;
    margin: 15px auto 0;
    border-radius: 2px;
}
.page-title p {
    font-size: 16px;
    color: #7a869a;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* 游戏列表网格：加大间距，提升高级感 */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* 游戏卡片：哑光质感，柔和阴影 */
.game-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(92, 135, 168, 0.05);
    border: 1px solid rgba(92, 135, 168, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}
/* hover 动效：小幅度上浮，阴影加深 */
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(92, 135, 168, 0.1);
}

/* 游戏封面：成熟莫兰迪配色，每张卡片颜色不同且协调 */
.game-cover {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 48px;
    position: relative;
}
/* 哑光遮罩：统一增加质感，降低反光 */
.game-cover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}
/* 各游戏封面独立配色（成熟莫兰迪色系） */
.cover-qing { background: linear-gradient(135deg, #6b8e9e, #8ba6b3); } /* 沉静青灰 */
.cover-tao { background: linear-gradient(135deg, #a88c7e, #c0a99a); } /* 温暖陶土 */
.cover-lv { background: linear-gradient(135deg, #7d9d87, #9ab8a3); } /* 柔和草木绿 */
.cover-hui { background: linear-gradient(135deg, #8a7d9d, #a39ab8); } /* 雅致紫灰 */
.cover-fen { background: linear-gradient(135deg, #9e6b7e, #b38b9a); } /* 温柔豆沙粉 */
.cover-bohe { background: linear-gradient(135deg, #7e9e6b, #9ab38b); } /* 清新薄荷绿 */

/* 游戏信息：文字层级清晰，配色协调 */
.game-info {
    padding: 28px 24px;
}
.game-info h3 {
    font-size: 20px;
    color: #2a303c;
    margin-bottom: 10px;
    font-weight: 500;
}
.game-info .desc {
    font-size: 14px;
    color: #7a869a;
    line-height: 1.7;
    margin-bottom: 15px;
}
/* 标签：胶囊形，中性色适配所有卡片 */
.game-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(92, 135, 168, 0.06);
    color: #5c87a8;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* 响应式：移动端优化间距 */
@media (max-width: 768px) {
    .main-container {
        margin: 40px auto;
    }
    .page-title h2 {
        font-size: 28px;
    }
    .game-list {
        gap: 25px;
    }
    .game-cover {
        height: 160px;
        font-size: 40px;
    }
}