/* ============================================================
   ky-sport Template - Thai Gaming Style
   Primary: #33ccff | Gold: #D4AF37 | Dark: #1a1a2e
   Hero: Dark gradient   Background: #fffcf5
   ============================================================ */

/* === 基础变量与重置 === */
:root {
    --primary: #33ccff;
    --primary-hover: #3291e6;
    --primary-dark: #2aa8d8;
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --gold-dark: #B8960C;
    --gradient-start: #1a1a2e;
    --gradient-mid: #16213e;
    --gradient-end: #0f3460;
    --hero-overlay: rgba(0,0,0,0.45);
    --bg-warm: #fffcf5;
    --bg-dark: #1a1a2e;
    --bg-white: #ffffff;
    --text-dark: #222;
    --text-mid: #444;
    --text-light: #777;
    --border-light: #e5e5e5;
    --shadow: 0 2px 15px rgba(25,119,204,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 20px rgba(212,175,55,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --font-body: "Sarabun", "Kanit", "Prompt", "Noto Sans Thai", "Open Sans", sans-serif;
    --font-heading: "Kanit", "Prompt", "Sarabun", "Raleway", sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 70px;
}

a { color: var(--text-dark); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary); text-decoration: none; }

img { max-width: 100%; height: auto; }

ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: 1200px; }

/* === 导航栏 === */
.ky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.ky-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.ky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.ky-logo { display: flex; align-items: center; max-width: 280px; overflow: hidden; }
.ky-logo a {
    font-family: "Kanit", "Prompt", "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}
.ky-logo a:hover { color: var(--primary); }
.ky-logo img { max-height: 52px; width: auto; }

/* 导航菜单 */
.ky-nav { display: flex; align-items: center; gap: 4px; }
.ky-nav > li { position: relative; }
.ky-nav > li > a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.ky-nav > li > a:hover,
.ky-nav > li.active > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* 下拉菜单 */
.ky-nav .ky-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    z-index: 100;
}
.ky-nav li:hover > .ky-submenu { display: block; }
.ky-nav .ky-submenu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-mid);
    transition: all 0.2s;
}
.ky-nav .ky-submenu li a:hover { background: #f5f8fa; color: var(--primary); }

/* CTA 按钮 */
.ky-cta-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.ky-cta-btn:hover { background: var(--primary-hover); color: #fff !important; transform: translateY(-1px); }

/* 金色按钮 */
.ky-gold-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #1a1a2e !important;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
    box-shadow: var(--shadow-gold);
}
.ky-gold-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 25px rgba(212,175,55,0.5);
    color: #1a1a2e !important;
}

/* 汉堡菜单按钮 */
.ky-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

/* === Hero Banner === */
.ky-hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 40%, var(--gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.ky-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212,175,55,0.08) 0%, transparent 70%);
    z-index: 0;
}
.ky-hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 800px; }
.ky-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.ky-hero h1 .gold { color: var(--gold); }
.ky-hero h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Hero 波浪 */
.ky-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
    line-height: 0;
}
.ky-hero-wave svg { width: 100%; height: 120px; }

/* === 区块标题 === */
.ky-section-title {
    text-align: center;
    margin-bottom: 50px;
}
.ky-section-title h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.ky-section-title .title-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.ky-section-title .title-decor .line {
    width: 120px;
    height: 1px;
    background: #ccc;
}
.ky-section-title .title-decor .line-accent {
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.ky-section-title p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 16px;
}

/* === 通用区块 === */
.ky-section { padding: 80px 0; }
.ky-section.bg-warm { background-color: var(--bg-warm); }
.ky-section.bg-white { background-color: var(--bg-white); }

/* === App / 产品卡片区 === */
.ky-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ky-app-card {
    text-align: center;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.ky-app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ky-app-card .card-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f5fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ky-app-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.ky-app-card .card-icon { font-size: 50px; color: var(--primary); }
.ky-app-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.ky-app-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* === 关于我们 === */
.ky-about { max-width: 900px; margin: 0 auto; text-align: center; }
.ky-about .about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-mid);
    text-align: justify;
}

/* === 特色保障（3列图标）=== */
.ky-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ky-feature-item {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.ky-feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ky-feature-item .feature-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}
.ky-feature-item h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.ky-feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === FAQ === */
.ky-faq { max-width: 800px; margin: 0 auto; }
.ky-faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
}
.ky-faq-btn {
    width: 100%;
    text-align: left;
    padding: 18px 50px 18px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.ky-faq-btn:hover { color: var(--primary); }
.ky-faq-btn::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.ky-faq-btn.active { color: var(--primary); }
.ky-faq-btn.active::after { content: '−'; }
.ky-faq-answer {
    display: none;
    padding: 0 20px 20px;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
}
.ky-faq-answer.show { display: block; }

/* === Tab 切换区 === */
.ky-tabs { display: flex; justify-content: center; gap: 5px; margin-bottom: 40px; flex-wrap: wrap; }
.ky-tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--border-light);
    background: #fff;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.3s ease;
}
.ky-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.ky-tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.ky-tab-content { display: none; }
.ky-tab-content.active { display: block; }

/* 统计数字 */
.ky-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.ky-stat-item { text-align: center; padding: 20px; }
.ky-stat-item .stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(51,204,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
}
.ky-stat-item .stat-num { font-size: 28px; font-weight: 700; color: var(--text-dark); }
.ky-stat-item .stat-label { font-size: 14px; color: var(--text-light); margin-top: 5px; }

/* === 品牌轮播 === */
.ky-swiper { overflow: hidden; }
.ky-swiper .swiper-wrapper { display: flex; align-items: stretch; }
.ky-swiper .swiper-slide { flex-shrink: 0; }
.ky-brand-slide { text-align: center; padding: 30px 40px; }
.ky-brand-slide .brand-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}
.ky-brand-slide .brand-img img { width: 100%; height: 100%; object-fit: cover; }
.ky-brand-slide h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.ky-brand-slide .brand-tag { color: var(--primary); font-size: 14px; margin-bottom: 15px; }
.ky-brand-slide .brand-desc { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* Swiper 导航 */
.ky-swiper-prev, .ky-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    border: none;
    color: var(--text-dark);
    transition: all 0.3s;
}
.ky-swiper-prev:hover, .ky-swiper-next:hover { background: var(--primary); color: #fff; }
.ky-swiper-prev { left: -15px; }
.ky-swiper-next { right: -15px; }
.ky-swiper-wrap { position: relative; padding: 0 30px; }

/* === 新闻列表 === */
.ky-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ky-news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.ky-news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ky-news-card .news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f5fa;
}
.ky-news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ky-news-card:hover .news-img img { transform: scale(1.05); }
.ky-news-card .news-body { padding: 20px; }
.ky-news-card .news-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ky-news-card .news-body h4 a { color: var(--text-dark); }
.ky-news-card .news-body h4 a:hover { color: var(--primary); }
.ky-news-card .news-body .news-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.ky-news-card .news-body .news-meta { font-size: 13px; color: #aaa; }
.ky-news-card .news-body .news-meta span { margin-right: 12px; }

/* === 分页 === */
.ky-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.ky-pagination li { display: inline-block; }
.ky-pagination li a,
.ky-pagination li span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: #fff;
    color: var(--text-mid);
    font-size: 14px;
    transition: all 0.3s;
}
.ky-pagination li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ky-pagination li.active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.ky-pagination li.disabled span { color: #ccc; cursor: not-allowed; }

/* === 面包屑 === */
.ky-breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-light);
}
.ky-breadcrumb a { color: var(--text-light); }
.ky-breadcrumb a:hover { color: var(--primary); }
.ky-breadcrumb .separator { margin: 0 8px; color: #ccc; }

/* === 文章列表页 === */
.ky-list-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.ky-list-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ky-list-item .list-img {
    flex-shrink: 0;
    width: 260px;
    height: 170px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f0f5fa;
}
.ky-list-item .list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ky-list-item:hover .list-img img { transform: scale(1.05); }
.ky-list-item .list-body { flex: 1; display: flex; flex-direction: column; }
.ky-list-item .list-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.ky-list-item .list-body h3 a { color: var(--text-dark); }
.ky-list-item .list-body h3 a:hover { color: var(--primary); }
.ky-list-item .list-body .list-desc {
    flex: 1;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ky-list-item .list-body .list-meta { font-size: 13px; color: #aaa; margin-top: 10px; }

/* === 侧边栏 === */
.ky-sidebar .sidebar-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    overflow: hidden;
}
.ky-sidebar .sidebar-card .sidebar-title {
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-heading);
}
.ky-sidebar .sidebar-card .sidebar-body { padding: 20px; }
.ky-sidebar .sidebar-list li { padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.ky-sidebar .sidebar-list li:last-child { border-bottom: none; }
.ky-sidebar .sidebar-list li a {
    font-size: 14px;
    color: var(--text-mid);
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.ky-sidebar .sidebar-list li a:hover { color: var(--primary); }

/* 侧边栏标签 */
.ky-sidebar .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.ky-sidebar .tag-cloud a {
    display: inline-block;
    padding: 5px 14px;
    background: #f5f7fa;
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--text-mid);
    transition: all 0.3s;
}
.ky-sidebar .tag-cloud a:hover { background: var(--primary); color: #fff; }

/* === 文章详情页 === */
.ky-detail {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}
.ky-detail h1.ky-detail-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.ky-detail .ky-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.ky-detail .ky-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-mid);
    word-wrap: break-word;
}
.ky-detail .ky-detail-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 15px 0; }
.ky-detail .ky-detail-body p { margin-bottom: 15px; }
.ky-detail .ky-detail-body h2 { font-size: 22px; margin: 25px 0 15px; }
.ky-detail .ky-detail-body h3 { font-size: 20px; margin: 20px 0 12px; }

/* 上一篇/下一篇 */
.ky-detail-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.ky-detail-nav .nav-item { flex: 1; }
.ky-detail-nav .nav-item .nav-label { font-size: 12px; color: #aaa; margin-bottom: 5px; }
.ky-detail-nav .nav-item a {
    font-size: 15px;
    color: var(--text-mid);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ky-detail-nav .nav-item a:hover { color: var(--primary); }

/* 相关推荐 */
.ky-related { margin-top: 30px; }
.ky-related h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.ky-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

/* === 搜索页 === */
.ky-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 600px;
}
.ky-search-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}
.ky-search-form input:focus { border-color: var(--primary); }
.ky-search-form button {
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.ky-search-form button:hover { background: var(--primary-hover); }

/* === Footer === */
.ky-footer {
    background: var(--bg-warm);
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-light);
}
.ky-footer .footer-links { text-align: center; margin-bottom: 25px; }
.ky-footer .footer-links a {
    display: inline-block;
    margin: 0 12px;
    font-size: 14px;
    color: var(--text-mid);
    transition: color 0.3s;
}
.ky-footer .footer-links a:hover { color: var(--primary); }
.ky-footer .footer-info { text-align: center; font-size: 14px; color: var(--text-light); line-height: 1.8; }
.ky-footer .footer-info a { color: var(--text-light); }
.ky-footer .footer-info a:hover { color: var(--primary); }

/* === 无数据 === */
.ky-no-data { text-align: center; padding: 60px 20px; color: #ccc; }
.ky-no-data .no-icon { font-size: 60px; margin-bottom: 15px; }
.ky-no-data p { font-size: 16px; }

/* === 游戏分类图标区 === */
.ky-game-cats { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.ky-game-cat-item {
    text-align: center;
    padding: 20px 8px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.ky-game-cat-item:hover,
.ky-game-cat-item.active {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.ky-game-cat-item .cat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.ky-game-cat-item .cat-icon img { width: 100%; height: 100%; object-fit: contain; }
.ky-game-cat-item .cat-label { font-size: 13px; font-weight: 600; color: var(--text-dark); }

/* === 游戏网格 === */
.ky-game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.ky-game-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}
.ky-game-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-lg);
}
.ky-game-card .game-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #1a1a2e;
    position: relative;
}
.ky-game-card .game-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s; 
}
.ky-game-card:hover .game-img img { transform: scale(1.08); }
.ky-game-card .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.ky-game-card .game-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ky-game-card .game-hot {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
}

/* === 游戏分类Tab图标按钮 === */
.ky-tabs-icon { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.ky-tab-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border: 2px solid var(--border-light);
    background: #fff;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}
.ky-tab-icon-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.ky-tab-icon-btn.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--gold);
    border-color: var(--gold);
}
.ky-tab-icon-btn .tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}
.ky-tab-icon-btn .tab-icon img { width: 100%; height: 100%; object-fit: contain; }

/* === 英雄轮播 === */
.ky-hero-slider { position: relative; }
.ky-hero-slide {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.ky-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.ky-hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.7) 0%, rgba(15,52,96,0.85) 100%);
}

/* === 关于我们图片区 === */
.ky-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.ky-about-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.ky-about-img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ky-about-img img { width: 100%; height: 100%; object-fit: cover; }

/* === Logo展示 === */
.ky-logo-show { text-align: center; padding: 20px; }
.ky-logo-show img { max-height: 60px; margin: 10px auto; }

/* === 分享按钮 === */
.ky-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    margin: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.ky-share-bar .share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    margin-right: 5px;
}
.ky-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
}
.ky-share-btn:hover { transform: translateY(-2px); box-shadow: 0 3px 12px rgba(0,0,0,0.1); border-color: #ccc; }
.ky-share-btn .share-icon { width: 20px; height: 20px; flex-shrink: 0; }
.ky-share-btn.share-copy { background: #f5f5f5; }

/* 分享浮动侧栏(移动端) */
.ky-share-float {
    position: fixed;
    right: 10px;
    bottom: 120px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ky-share-float .ky-share-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.ky-share-float .ky-share-btn span { display: none; }

@media (min-width: 769px) {
    .ky-share-float { display: none; }
}

/* 首页固定分享侧栏 */
.ky-share-fixed {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    padding: 12px 8px;
    border-radius: 40px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(212,175,55,0.3);
}
.ky-share-fixed .ky-share-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.ky-share-fixed .ky-share-btn:hover { transform: scale(1.15); }
.ky-share-fixed .ky-share-btn span { display: none; }
.ky-share-fixed .share-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
@media (max-width: 768px) {
    .ky-share-fixed { 
        right: 4px; 
        gap: 5px; 
        padding: 8px 5px; 
        border-radius: 30px;
    }
    .ky-share-fixed .ky-share-btn { width: 36px; height: 36px; font-size: 16px; }
}

/* ============ 响应式 ============ */

@media (max-width: 992px) {
    /* 导航 */
    .ky-toggle { display: block; }
    .ky-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }
    .ky-nav::before {
        content: '';
        display: block;
        background: #fff;
        padding: 20px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    .ky-nav.show {
        display: flex;
        background: #fff;
        overflow-y: auto;
    }
    .ky-nav > li { width: 100%; }
    .ky-nav > li > a { padding: 12px 25px; border-bottom: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
    .ky-nav > li > a:hover,
    .ky-nav > li.active > a { border-bottom-color: var(--primary); border-left: 3px solid var(--primary); }
    .ky-nav .ky-submenu { position: static; box-shadow: none; padding-left: 20px; }
    .ky-nav .ky-submenu li a { padding: 8px 30px; }

    /* Hero */
    .ky-hero { min-height: 60vh; }
    .ky-hero-content { padding: 80px 24px 60px; }
    .ky-hero h1 { font-size: 32px; margin-bottom: 16px; }
    .ky-hero h2 { font-size: 16px; margin-bottom: 30px; line-height: 1.6; }
    .ky-hero .ky-gold-btn,
    .ky-hero .ky-cta-btn { display: block; width: 100%; max-width: 320px; margin: 0 auto 12px; text-align: center; }
    .ky-hero .ky-cta-btn { margin-left: auto !important; }
    .ky-hero-wave svg { height: 60px; }

    /* 产品卡片 */
    .ky-app-grid { grid-template-columns: repeat(2, 1fr); }

    /* 特征 */
    .ky-feature-grid { grid-template-columns: repeat(2, 1fr); }

    /* 新闻 */
    .ky-news-grid { grid-template-columns: repeat(2, 1fr); }

    /* 统计 */
    .ky-stats { grid-template-columns: repeat(2, 1fr); }

    /* 文章列表 */
    .ky-list-item { flex-direction: column; }
    .ky-list-item .list-img { width: 100%; height: 200px; }

    /* 相关推荐 */
    .ky-related-grid { grid-template-columns: repeat(2, 1fr); }
    /* 游戏 */
    .ky-game-grid { grid-template-columns: repeat(3, 1fr); }
    .ky-game-cats { grid-template-columns: repeat(5, 1fr); }
    .ky-about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ky-hero { min-height: auto; padding: 60px 0 40px; }
    .ky-hero-content { padding: 30px 20px 40px; }
    .ky-hero h1 { font-size: 26px; line-height: 1.3; }
    .ky-hero h2 { font-size: 15px; margin-bottom: 28px; }
    .ky-hero .ky-gold-btn,
    .ky-hero .ky-cta-btn { max-width: 280px; font-size: 16px !important; padding: 12px 30px !important; }
    .ky-hero-wave svg { height: 40px; }
    .ky-section { padding: 50px 0; }
    .ky-section-title h2 { font-size: 26px; }
    .ky-app-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .ky-app-card { padding: 20px 15px; }
    .ky-app-card .card-img { width: 80px; height: 80px; }
    .ky-app-card h3 { font-size: 16px; }
    .ky-feature-grid { grid-template-columns: 1fr; gap: 20px; }
    .ky-news-grid { grid-template-columns: 1fr; }
    .ky-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .ky-detail { padding: 20px; }
    .ky-detail h1.ky-detail-title { font-size: 22px; }
    .ky-detail-nav { flex-direction: column; }
    .ky-breadcrumb { font-size: 13px; }
    .ky-search-form { flex-direction: column; }
    .ky-search-form button { width: 100%; }
    .ky-related-grid { grid-template-columns: 1fr; }
    /* 游戏 */
    .ky-game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ky-game-cats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .ky-game-card .game-name { font-size: 11px; }
    .ky-about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ky-hero { padding: 40px 0 30px; }
    .ky-hero-content { padding: 20px 16px 30px; }
    .ky-hero h1 { font-size: 22px; }
    .ky-hero h2 { font-size: 14px; }
    .ky-hero .ky-gold-btn,
    .ky-hero .ky-cta-btn { max-width: 260px; font-size: 15px !important; padding: 10px 24px !important; }
    .ky-app-grid { grid-template-columns: 1fr; }
    .ky-game-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ky-game-cats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .ky-stats { grid-template-columns: 1fr; }
    .ky-about-grid { grid-template-columns: 1fr; }
    body { padding-top: 60px; }
    .ky-header .container { height: 60px; }
    .ky-nav { top: 60px; }
    .ky-tabs { gap: 8px; }
    .ky-tab-btn { padding: 8px 18px; font-size: 14px; }
    .ky-tabs-icon { gap: 6px; }
    .ky-tab-icon-btn { padding: 8px 10px; min-width: 60px; font-size: 11px; }
    .ky-tab-icon-btn .tab-icon { width: 36px; height: 36px; }
}
