/* 智善文化游戏门户模版样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #333;
    background: #f7f8fa;
    line-height: 1.6;
}
.container { width: 1200px; max-width: 92%; margin: 0 auto; }
a { text-decoration: none; color: inherit; }

/* 头部 */
.site-header {
    height: 64px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 22px; font-weight: bold; color: #c0392b; letter-spacing: 1px; }
.site-nav a { margin-left: 26px; font-size: 15px; color: #555; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: #c0392b; }

/* Banner */
.banner {
    height: 460px;
    background:
        linear-gradient(rgba(10, 24, 31, .26), rgba(10, 24, 31, .46)),
        url("../images/banner-home.png") center center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}
.banner-inner { text-align: center; width: 100%; }
.banner h1 { font-size: 46px; letter-spacing: 4px; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.banner-sub { font-size: 18px; opacity: .95; margin-bottom: 34px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.banner-btns { display: flex; gap: 18px; justify-content: center; }
.banner-btn {
    display: inline-block;
    padding: 12px 38px;
    border-radius: 30px;
    font-size: 16px;
    transition: all .25s;
}
.banner-btn.primary { background: #e67e22; color: #fff; }
.banner-btn.primary:hover { background: #d35400; }
.banner-btn.ghost { border: 1px solid #fff; color: #fff; }
.banner-btn.ghost:hover { background: #fff; color: #c0392b; }

/* 通用区块 */
.section { padding: 70px 0; }
.section-alt { background: #fff; }
.section-title {
    font-size: 28px;
    color: #222;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: #c0392b;
    margin: 14px auto 0;
}
.section-title.left, .section-title.left::after { text-align: left; margin-left: 0; }

/* 卡片 */
.card-list { display: flex; gap: 28px; }
.card {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
    transition: transform .25s;
}
.card:hover { transform: translateY(-6px); }
.card-icon {
    width: 64px; height: 64px;
    line-height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #c0392b;
    color: #fff;
    font-size: 26px;
}
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: #777; font-size: 14px; }

/* 游戏网格 */
.game-grid { display: flex; gap: 24px; }
.game-card {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
    transition: transform .25s;
}
.game-card:hover { transform: translateY(-6px); }
.game-card img { width: 100%; display: block; height: 180px; object-fit: cover; }
.game-meta { padding: 18px; }
.game-meta h3 { font-size: 18px; margin-bottom: 6px; }
.game-meta span { color: #999; font-size: 13px; }
.center { text-align: center; margin-top: 36px; }
.more-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #c0392b;
    border-radius: 30px;
    color: #c0392b;
    transition: all .25s;
}
.more-btn:hover { background: #c0392b; color: #fff; }

/* 内页 Banner */
.page-banner {
    height: 220px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}
.games-banner {
    background-image: linear-gradient(rgba(10, 25, 32, .28), rgba(10, 25, 32, .5)), url("../images/banner-games.png");
}
.about-banner {
    background-image: linear-gradient(rgba(10, 25, 32, .34), rgba(10, 25, 32, .5)), url("../images/banner-about.png");
}
.contact-banner {
    background-image: linear-gradient(rgba(8, 22, 33, .3), rgba(8, 22, 33, .52)), url("../images/banner-contact.png");
}
.page-banner h1 { font-size: 36px; letter-spacing: 3px; }
.page-banner h1, .page-banner p { text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.page-banner p { opacity: .9; letter-spacing: 4px; margin-top: 8px; }

.paragraph { color: #666; margin-bottom: 28px; max-width: 880px; }

/* 价值列表 */
.value-list { display: flex; gap: 24px; margin-bottom: 40px; }
.value-item {
    flex: 1;
    background: #fff;
    border-left: 4px solid #c0392b;
    padding: 22px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.value-item h3 { color: #c0392b; margin-bottom: 8px; }
.value-item p { color: #777; font-size: 14px; }

/* 时间线 */
.timeline { list-style: none; max-width: 720px; }
.timeline li { padding: 14px 0 14px 90px; position: relative; border-bottom: 1px dashed #e2e2e2; color: #666; }
.timeline li span {
    position: absolute; left: 0; top: 14px;
    background: #c0392b; color: #fff;
    padding: 3px 12px; border-radius: 4px; font-size: 13px;
}

/* 游戏列表 */
.game-list { display: flex; flex-direction: column; gap: 22px; }
.game-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.game-cover { width: 140px; height: 100px; border-radius: 8px; object-fit: cover; }
.game-info { flex: 1; padding: 0 24px; }
.game-info h3 { font-size: 20px; margin-bottom: 8px; }
.game-tag { color: #c0392b; font-size: 13px; margin-bottom: 8px; }
.game-desc { color: #777; font-size: 14px; }
.download-btn {
    padding: 10px 28px;
    background: #c0392b;
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    white-space: nowrap;
    transition: background .25s;
}
.download-btn:hover { background: #a93226; }

/* 联系我们 */
.contact-wrap { max-width: 920px; }
.contact-info { width: 100%; }
.contact-info p { margin-bottom: 16px; color: #555; font-size: 15px; }

@media (max-width: 720px) {
    .banner { height: 400px; background-position: center center; }
    .banner h1 { font-size: 32px; letter-spacing: 0; }
    .banner-sub { font-size: 15px; padding: 0 12px; }
    .banner-btns { gap: 12px; }
    .banner-btn { padding: 10px 24px; }
    .page-banner { height: 180px; background-position: center center; }
    .page-banner h1 { font-size: 28px; letter-spacing: 1px; }
}
