
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* 几乎白色背景 */
    color: #333;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #2196f3; /* 蓝色链接 */
}

a:hover {
    color: #ff5722; /* 红色/橙色悬停 */
}

/* 顶部栏 */
.top-navbar-main {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #ff5722; /* 顶部红条 */
}

.header-container-kiz {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左侧主菜单 */
.nav-menu-primary {
    display: flex;
    align-items: center;
    gap: 25px; /* 菜单项间距 */
    font-size: 14px;
    font-weight: bold;
}

.nav-menu-primary a {
    color: #333;
    padding: 5px 0;
}

.nav-menu-primary a.brand-link {
    font-size: 24px;
    color: #ff5722; /* 品牌色 */
    font-weight: 800;
}

/* 右侧搜索 */
.search-widget-kiz {
    display: flex;
}

.search-widget-kiz input[type="text"] {
    padding: 7px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 200px;
}

.search-widget-kiz button {
    padding: 7px 15px;
    background-color: #ff5722;
    color: white;
    border: 1px solid #ff5722;
    border-radius: 5px;
    margin-left: 5px;
    cursor: pointer;
}

/* 主要内容区域 */
.main-content-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 游戏网格 */
.game-grid-layout-kiz {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.game-card-view-kiz {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.game-card-view-kiz:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.game-thumb-img-kiz img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.game-details-box-kiz {
    padding: 8px 5px;
    text-align: center;
}

/* 游戏详情链接容器 (div 下是 a) */
.game-details-box-kiz a {
    display: block;
    color: #333; /* 游戏标题默认颜色 */
}

.game-details-box-kiz a:hover {
    color: #ff5722; /* 悬停时整体变色 */
}

.game-title-text-kiz {
    margin: 5px 0 0 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: inherit;
}

.game-tag-category-kiz {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.view-more-kiz-btn {
    text-align: center;
    margin: 20px 0 40px 0;
}

.view-more-kiz-btn a {
    display: inline-block;
    background-color: #4CAF50; /* 绿色按钮 */
    color: white;
    padding: 10px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.2s;
}

.view-more-kiz-btn a:hover {
    background-color: #43a047;
    color: white;
}

/* 页脚区域 */
.footer-info-wrapper {
    background-color: #eee; /* 浅灰色页脚 */
    color: #333;
    padding: 30px 0 10px 0;
    font-size: 13px;
    border-top: 1px solid #ccc;
}

.footer-content-kiz {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #ff5722;
    margin-top: 20px;
}

/* 页脚分类链接 */
.footer-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    padding: 10px 0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-category-links a {
    color: #666;
    white-space: nowrap;
    font-weight: normal;
    font-size: 14px;
}

.footer-bottom-meta {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
    color: #777;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .header-container-kiz {
        flex-direction: column;
        padding: 10px;
    }
    .nav-menu-primary {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .search-widget-kiz {
        width: 100%;
        justify-content: center;
    }
    .search-widget-kiz input[type="text"] {
        width: 59%;
    }
    .game-grid-layout-kiz {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}