:root {
  --xk-primary: #0ea5e9;
  --xk-primary-dark: #0284c7;
  --xk-accent: #38bdf8;
  --xk-navy: #0f172a;
  --xk-navy-light: #1e293b;
  --xk-surface: #f8fafc;
  --xk-white: #ffffff;
  --xk-text: #1e293b;
  --xk-text-muted: #64748b;
  --xk-border: #e2e8f0;
  --xk-radius: 12px;
  --xk-shadow: 0 4px 16px rgba(15,23,42,.08);
  --xk-shadow-lg: 0 8px 32px rgba(15,23,42,.12);
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--xk-text); line-height: 1.6; margin: 0; background: var(--xk-white); }
img { max-width: 100%; height: auto; }
a { color: var(--xk-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--xk-primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===== 公告条 ===== */
.xk-notice-bar { background: linear-gradient(135deg, #fbbf24, #f59e0b); padding: .6rem 0; color: #1e293b; font-size: .88rem; font-weight: 500; }
.xk-notice-btn { display: inline-block; padding: .25rem .85rem; background: var(--xk-navy); color: #fff; border-radius: 20px; font-size: .8rem; }
.xk-notice-btn:hover { color: #fff; background: var(--xk-navy-light); }

/* ===== 导航 ===== */
.xk-header { background: var(--xk-navy); border-bottom: 2px solid var(--xk-primary); position: sticky; top: 0; z-index: 1050; padding: .75rem 0; }
.xk-nav-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.xk-logo { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; font-size: 1.15rem; }
.xk-logo-letter { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--xk-primary); color: #fff; border-radius: 8px; font-size: 1rem; font-weight: 800; }
.xk-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; align-items: center; }
.xk-nav-list > li { position: relative; }
.xk-nav-list > li > a { color: #f1f5f9; font-size: .88rem; font-weight: 500; padding: .25rem 0; }
.xk-nav-list > li > a:hover, .xk-nav-list > li.active > a { color: var(--xk-accent); }
.xk-nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ===== Hero ===== */
.xk-hero { position: relative; padding: 5rem 0; background: url('../images/hero_bg_v2.png') center/cover no-repeat; min-height: 420px; display: flex; align-items: center; }
.xk-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.85) 0%, rgba(15,23,42,.5) 60%, transparent 100%); }
.xk-hero-inner { position: relative; z-index: 2; }
.xk-hero-badge { display: inline-block; background: rgba(14,165,233,.2); color: var(--xk-accent); font-size: .75rem; padding: .3rem .8rem; border-radius: 20px; margin-bottom: .8rem; letter-spacing: .5px; }
.xk-hero h1 { color: #fff; font-size: 2.4rem; font-weight: 800; margin-bottom: .8rem; }
.xk-hero-desc { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 480px; margin-bottom: 1.5rem; }
.xk-hero-btns { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ===== 通用板块标题 ===== */
.xk-sec-title { text-align: center; margin-bottom: 2.5rem; }
.xk-sec-title h2 { font-size: 1.7rem; font-weight: 700; color: var(--xk-navy); margin-bottom: .4rem; }
.xk-sec-title p { color: var(--xk-text-muted); font-size: .95rem; margin: 0; }

/* ===== 数据看板 ===== */
.xk-stats { padding: 4rem 0; background: var(--xk-white); }
.xk-stat-card { text-align: center; padding: 1.5rem 1rem; background: var(--xk-surface); border: 2px solid var(--xk-border); border-radius: var(--xk-radius); transition: transform .2s; }
.xk-stat-card:hover { transform: translateY(-4px); }
.xk-stat-num { font-size: 2rem; font-weight: 800; color: var(--xk-primary); }
.xk-stat-label { color: var(--xk-text-muted); font-size: .88rem; margin-top: .25rem; }

/* ===== Features ===== */
.xk-features { padding: 4rem 0; background: var(--xk-surface); }
.xk-feature-card { background: var(--xk-white); border: 1px solid var(--xk-border); border-radius: var(--xk-radius); padding: 1.5rem; height: 100%; transition: box-shadow .2s, transform .2s; }
.xk-feature-card:hover { box-shadow: var(--xk-shadow-lg); transform: translateY(-3px); }
.xk-feature-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--xk-primary); color: #fff; border-radius: 12px; font-size: 1.3rem; margin-bottom: 1rem; }
.xk-feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; }
.xk-feature-card p { color: var(--xk-text-muted); font-size: .88rem; margin: 0; }

/* ===== Gallery ===== */
.xk-gallery { padding: 4rem 0; background: var(--xk-white); }
.xk-gallery-item { overflow: hidden; border-radius: var(--xk-radius); box-shadow: var(--xk-shadow); }
.xk-gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s; }
.xk-gallery-item:hover img { transform: scale(1.05); }

/* ===== About ===== */
.xk-about { padding: 4rem 0; background: var(--xk-navy); color: #fff; }
.xk-about-badge { display: inline-block; background: rgba(14,165,233,.2); color: var(--xk-accent); font-size: .72rem; padding: .25rem .7rem; border-radius: 12px; margin-bottom: .8rem; letter-spacing: 1px; }
.xk-about h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 1rem; }
.xk-about-lead { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 1.5rem; }
.xk-about-list { list-style: none; padding: 0; margin: 0; }
.xk-about-list li { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; }
.xk-about-list small { color: rgba(255,255,255,.6); }
.xk-about-num { width: 32px; height: 32px; min-width: 32px; display: flex; align-items: center; justify-content: center; background: var(--xk-primary); color: #fff; border-radius: 50%; font-weight: 700; font-size: .85rem; }
.xk-about-imgwrap { border-radius: 16px; overflow: hidden; box-shadow: var(--xk-shadow-lg); }
.xk-about-imgwrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 里程碑 ===== */
.xk-honor { padding: 4rem 0; background: var(--xk-surface); }
.xk-honor-card { background: var(--xk-white); border: 1px solid var(--xk-border); border-radius: var(--xk-radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.xk-honor-card:hover { transform: translateY(-3px); box-shadow: var(--xk-shadow-lg); }
.xk-honor-card img { width: 100%; height: 140px; object-fit: cover; }
.xk-honor-body { padding: 1rem; }
.xk-honor-body h5 { font-size: .92rem; font-weight: 600; color: var(--xk-primary-dark); margin-bottom: .3rem; }
.xk-honor-body p { font-size: .82rem; color: var(--xk-text-muted); margin: 0; }

/* ===== 功能入口 ===== */
.xk-departments { padding: 4rem 0; background: var(--xk-navy-light); }
.xk-departments .xk-sec-title h2 { color: #fff; }
.xk-departments .xk-sec-title p { color: rgba(255,255,255,.65); }
.xk-dept-item { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--xk-radius); padding: 1.2rem; backdrop-filter: blur(10px); transition: background .2s; }
.xk-dept-item:hover { background: rgba(255,255,255,.12); }
.xk-dept-num { font-size: 1.5rem; font-weight: 800; color: var(--xk-accent); }
.xk-dept-body h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: .2rem; }
.xk-dept-body p { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }
.xk-dept-img { max-height: 200px; border-radius: 12px; }

/* ===== 比赛表 ===== */
.xk-match { padding: 4rem 0; background: var(--xk-white); }
.xk-match-wrap { background: var(--xk-white); border: 1px solid var(--xk-border); border-radius: var(--xk-radius); overflow: hidden; box-shadow: var(--xk-shadow); }
.xk-match .table { font-size: .9rem; }
.xk-match .table thead th { background: var(--xk-surface); font-weight: 600; border-bottom: 2px solid var(--xk-border); }
.xk-match .table td { vertical-align: middle; }
.xk-match-score { font-weight: 700; color: var(--xk-primary); }
.xk-match-badge { display: inline-block; padding: .2rem .6rem; border-radius: 12px; font-size: .75rem; font-weight: 600; }
.xk-match-badge-live { background: #dcfce7; color: #166534; }
.xk-match-badge-end { background: #f1f5f9; color: #475569; }

/* ===== 领域深入探索 ===== */
.xk-deep { padding: 4rem 0; background: var(--xk-surface); }
.xk-deep-card { background: var(--xk-white); border-radius: var(--xk-radius); padding: 1.5rem; border-top: 4px solid var(--xk-primary); box-shadow: var(--xk-shadow); height: 100%; }
.xk-deep-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .8rem; color: var(--xk-navy); }
.xk-deep-card p { font-size: .88rem; color: var(--xk-text-muted); margin-bottom: .5rem; }
.xk-deep-check { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--xk-text); padding: .5rem 0; }
.xk-deep-check i { color: #10b981; }

/* ===== FAQ ===== */
.xk-faq { padding: 4rem 0; background: var(--xk-white); }
.xk-faq-guide { background: var(--xk-primary); color: #fff; border-radius: var(--xk-radius); padding: 2rem; position: sticky; top: 80px; }
.xk-faq-guide h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.xk-faq-guide p { opacity: .9; font-size: .9rem; }
.xk-faq-guide small { opacity: .7; font-size: .8rem; }
.accordion-item { border: 1px solid var(--xk-border); border-radius: var(--xk-radius) !important; margin-bottom: .5rem; overflow: hidden; }
.accordion-link { display: block; width: 100%; text-align: left; padding: 1rem 1.2rem; font-weight: 600; font-size: .92rem; background: var(--xk-white); border: none; cursor: pointer; color: var(--xk-text); }
.accordion-link:hover { background: var(--xk-surface); }
.accordion-link::after { content: '+'; float: right; font-size: 1.2rem; color: var(--xk-primary); }
.accordion-link:not(.collapsed)::after { content: '−'; }
.accordion-body { padding: 0 1.2rem 1rem; font-size: .88rem; color: var(--xk-text-muted); }

/* ===== 星空的方向 ===== */
.xk-mission { padding: 4rem 0; background: linear-gradient(135deg, #1e3a8a, #312e81); color: #fff; }
.xk-mission .xk-sec-title h2 { color: #fff; }
.xk-mission .xk-sec-title p { color: rgba(255,255,255,.7); }
.xk-mission-lead { font-size: 1.05rem; }
.xk-mission-img { width: 100%; border-radius: 16px; box-shadow: var(--xk-shadow-lg); }
.xk-mission-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--xk-radius); padding: 1.2rem; backdrop-filter: blur(6px); }
.xk-mission-icon { font-size: 2rem; margin-bottom: .5rem; }
.xk-mission-card strong { display: block; font-size: .95rem; margin-bottom: .3rem; }
.xk-mission-card small { color: rgba(255,255,255,.65); font-size: .82rem; }

/* ===== 用户评价 ===== */
.xk-testimonials { padding: 4rem 0; background: var(--xk-surface); }
.xk-testimonial-card { background: var(--xk-white); border: 1px solid var(--xk-border); border-radius: var(--xk-radius); padding: 1.5rem; height: 100%; transition: transform .2s; }
.xk-testimonial-card:hover { transform: translateY(-4px); }
.xk-testimonial-stars { color: #f59e0b; margin-bottom: .8rem; font-size: .9rem; }
.xk-testimonial-card > p { font-size: .88rem; color: var(--xk-text-muted); margin-bottom: 1rem; font-style: italic; }
.xk-testimonial-user { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--xk-text); }
.xk-testimonial-user i { font-size: 1.3rem; color: var(--xk-primary); }

/* ===== 合作伙伴 ===== */
.xk-partners { padding: 2.5rem 0; background: var(--xk-white); border-top: 1px solid var(--xk-border); border-bottom: 1px solid var(--xk-border); }
.xk-partner-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; }
.xk-partner-strip span { font-size: .85rem; color: var(--xk-text-muted); font-weight: 500; padding: .4rem .8rem; border: 1px solid var(--xk-border); border-radius: 6px; }

/* ===== 热门资讯（时间轴） ===== */
.xk-news-section { padding: 4rem 0; background: var(--xk-surface); }
.xk-news-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: .5rem; }
.xk-news-head h2 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.xk-news-more .xk-btn-ghost { font-size: .85rem; padding: .4rem 1rem; border: 1px solid var(--xk-primary); border-radius: 20px; color: var(--xk-primary); }
.xk-news-more .xk-btn-ghost:hover { background: var(--xk-primary); color: #fff; }
.xk-timeline { position: relative; padding-left: 2.2rem; }
.xk-timeline-line { position: absolute; left: 10px; top: 4px; bottom: 4px; width: 2px; background: var(--xk-border); }
.xk-timeline-item { position: relative; margin-bottom: 1.5rem; }
.xk-timeline-dot { position: absolute; left: -2.2rem; top: .6rem; width: 20px; height: 20px; background: var(--xk-primary); border-radius: 50%; border: 3px solid var(--xk-white); box-shadow: 0 0 0 2px var(--xk-primary); }
.xk-timeline-card { background: var(--xk-white); border: 1px solid var(--xk-border); border-radius: var(--xk-radius); padding: 1rem; display: flex; gap: 1rem; align-items: flex-start; transition: box-shadow .2s; }
.xk-timeline-card:hover { box-shadow: var(--xk-shadow); }
.xk-timeline-card img { width: 100px; height: 75px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.xk-timeline-body { flex: 1; }
.xk-timeline-title { font-weight: 600; font-size: .95rem; color: var(--xk-text); display: block; margin-bottom: .3rem; }
.xk-timeline-title:hover { color: var(--xk-primary); }
.xk-timeline-body p { font-size: .82rem; color: var(--xk-text-muted); margin: 0 0 .4rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.xk-timeline-meta { font-size: .78rem; color: var(--xk-text-muted); }
.xk-news-empty { text-align: center; padding: 3rem; color: var(--xk-text-muted); }

/* ===== CTA ===== */
.xk-cta { padding: 4rem 0; background: linear-gradient(135deg, #1e3a8a, var(--xk-primary)); text-align: center; color: #fff; }
.xk-cta-inner { max-width: 700px; margin: 0 auto; }
.xk-cta-badge { display: inline-block; background: #f59e0b; color: #1e293b; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 20px; margin-bottom: .8rem; }
.xk-cta h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .6rem; }
.xk-cta p { font-size: 1rem; opacity: .85; margin-bottom: 1.5rem; }
.xk-cta-btns { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.xk-footer { background: var(--xk-navy); color: #cbd5e1; padding: 3rem 0 1.5rem; font-size: .88rem; }
.xk-footer h4 { color: #fff; font-size: .92rem; margin-bottom: .8rem; font-weight: 600; }
.xk-footer ul { list-style: none; padding: 0; margin: 0; }
.xk-footer ul li { margin-bottom: .4rem; }
.xk-footer ul a { color: #94a3b8; font-size: .85rem; }
.xk-footer ul a:hover { color: var(--xk-accent); }
.xk-foot-brand .xk-foot-logo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .6rem; }
.xk-foot-desc { font-size: .82rem; color: #94a3b8; line-height: 1.5; }
.xk-foot-contact li { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .85rem; }
.xk-foot-contact i { color: var(--xk-primary); }
.xk-foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.xk-foot-links a { color: #94a3b8; margin-left: 1rem; font-size: .82rem; }
.xk-foot-links a:hover { color: var(--xk-accent); }
.xk-foot-icp { text-align: center; margin-top: .8rem; font-size: .78rem; color: #64748b; }

/* ===== 内页通用 ===== */
.xk-page-header { padding: 3rem 0; background: var(--xk-surface); border-bottom: 1px solid var(--xk-border); }
.xk-page-header h1 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.xk-breadcrumb { font-size: .82rem; color: var(--xk-text-muted); margin-bottom: .5rem; }
.xk-breadcrumb a { color: var(--xk-primary); }
.xk-detail-body { padding: 3rem 0; }
.xk-detail-content { font-size: .95rem; line-height: 1.8; }
.xk-detail-content img { border-radius: 8px; margin: 1rem 0; }
.xk-sidebar { padding: 2rem 0; }
.xk-widget { margin-bottom: 2rem; }
.xk-widget h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--xk-primary); }
.xk-tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.xk-tag-list a { display: inline-block; padding: .3rem .7rem; background: var(--xk-surface); border: 1px solid var(--xk-border); border-radius: 6px; font-size: .82rem; color: var(--xk-text-muted); }
.xk-tag-list a:hover { border-color: var(--xk-primary); color: var(--xk-primary); }

/* ===== 分页 ===== */
.xk-pagination { display: flex; justify-content: center; gap: .3rem; margin-top: 2rem; flex-wrap: wrap; }
.xk-pagination a, .xk-pagination span { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--xk-border); border-radius: 6px; font-size: .85rem; }
.xk-pagination .current { background: var(--xk-primary); color: #fff; border-color: var(--xk-primary); }

/* ===== 搜索 ===== */
.xk-search-box { max-width: 600px; margin: 0 auto 2rem; }
.xk-search-box input { border-radius: 24px 0 0 24px; border: 2px solid var(--xk-primary); padding: .7rem 1.2rem; flex: 1; }
.xk-search-box button { border-radius: 0 24px 24px 0; background: var(--xk-primary); color: #fff; border: 2px solid var(--xk-primary); padding: .7rem 1.2rem; }

/* ===== 404 ===== */
.xk-404 { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.xk-404 h1 { font-size: 5rem; color: var(--xk-primary); }

/* ===== 返回顶部 ===== */
.xk-back-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--xk-primary); color: #fff; border-radius: 50%; box-shadow: var(--xk-shadow); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 999; font-size: 1.1rem; }
.xk-back-top.show { opacity: 1; visibility: visible; }

/* ===== 响应式 ===== */
@media (max-width: 991px) {
  .xk-hero h1 { font-size: 1.8rem; }
  .xk-hero { padding: 3.5rem 0; min-height: 320px; }
  .xk-nav-list { display: none; }
  .xk-nav-toggle { display: block; }
  .xk-nav-list.open { display: flex; flex-direction: column; width: 100%; order: 3; padding-top: 1rem; gap: .8rem; }
}
@media (max-width: 767px) {
  section { padding: 2.5rem 0 !important; }
  .xk-sec-title { margin-bottom: 1.5rem; }
  .xk-sec-title h2 { font-size: 1.4rem; }
  .xk-hero h1 { font-size: 1.5rem; }
  .xk-timeline-card { flex-direction: column; }
  .xk-timeline-card img { width: 100%; height: 160px; }
  .xk-faq .row { flex-direction: column; }
  .xk-faq-guide { position: static; margin-bottom: 1rem; }
  .xk-foot-bottom { flex-direction: column; text-align: center; }
  .xk-about .row { flex-direction: column-reverse; }
}
@media (max-width: 479px) {
  .xk-stat-num { font-size: 1.5rem; }
  .xk-cta h2 { font-size: 1.4rem; }
}
