/* xk06 - 琥珀金 */
:root {
  --xk-primary: #d97706;
  --xk-accent: #dc2626;
  --xk-bg-dark: #150c01;
  --xk-grad-start: #ffe8a8;
  --xk-grad-end: #ffd888;
}

/* Header */
.xk-header {
  position: sticky; top: 0; z-index: 999;
  background: linear-gradient(to right, #ffe8a8, #ffd888);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.xk-header .navbar { padding: 10px 0; }
.xk-header .nav-link {
  color: #333; font-weight: 500; transition: .3s; padding: 8px 14px;
}
.xk-header .nav-link.active,
.xk-header .nav-link:hover {
  color: #d97706; background: rgba(255,255,255,.5); border-radius: 4px;
}
.xk-header .btn-reg {
  background: #d97706; color: #fff; border: none; font-weight: 600;
  border-radius: 6px; padding: 6px 16px; transition: .3s;
}
.xk-header .btn-reg:hover { opacity: .85; transform: translateY(-1px); }

/* Hero */
.xk-hero {
  background: #150c01; padding: 100px 20px 80px; overflow: hidden; position: relative;
}
.xk-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, #d9770622 0%, transparent 60%);
}
.xk-hero h1 { color: #fff; font-size: 2.2rem; font-weight: 700; }
.xk-hero h1 strong { color: #d97706; }
.xk-hero .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.xk-btn-primary {
  background: #d97706; color: #fff; font-weight: 600; padding: 10px 24px;
  border-radius: 8px; text-decoration: none; display: inline-flex;
  box-shadow: 0 4px 14px #d9770666; transition: .3s;
}
.xk-btn-primary:hover { opacity: .9; transform: translateY(-2px); color: #fff; }
.xk-btn-secondary {
  background: rgba(255,255,255,.15); color: #fff; font-weight: 600;
  padding: 10px 24px; border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.4); transition: .3s;
}
.xk-btn-secondary:hover { background: rgba(255,255,255,.25); color: #fff; }

/* About */
.xk-about { padding: 4rem 0; background: #f8f9fa; }
.xk-about h2 { font-weight: 700; color: #212529; }
.xk-about-card {
  background: linear-gradient(135deg, #ffe8a844, #ffd88844);
  border: 1px solid #d9770622; border-radius: 16px; padding: 30px;
  transition: .3s; height: 100%;
}
.xk-about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #d9770622; }
.xk-about .card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #d97706; color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 16px;
}

/* Why Us */
.xk-why {
  background: linear-gradient(135deg, #150c01, #0a0a0a); padding: 4rem 0; overflow: hidden;
}
.xk-why h2 { color: #fff; font-weight: 700; }
.xk-why-slider {
  display: flex; flex-wrap: nowrap; gap: 1rem; padding: 0 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
}
.xk-why-slider::-webkit-scrollbar { display: none; }
.xk-why-card {
  flex: 0 0 260px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 28px 20px; text-align: center; color: #fff;
  scroll-snap-align: start; transition: .3s;
}
.xk-why-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.xk-why-card i { font-size: 2rem; color: #d97706; margin-bottom: 12px; }
.xk-why-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.xk-why-card p { font-size: .88rem; color: rgba(255,255,255,.7); }

/* Departments */
.xk-dept { background: #150c01; padding: 4rem 0; }
.xk-dept h2 { color: #fff; font-weight: 700; }
.xk-dept .subtitle { color: rgba(255,255,255,.7); }
.xk-dept-card {
  background: #1a1a1a; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(255,255,255,.05); transition: .3s; height: 100%;
}
.xk-dept-card:hover { transform: translateY(-6px); }
.xk-dept-card img { width: 100%; height: 180px; object-fit: cover; }
.xk-dept-card-body { padding: 20px; }
.xk-dept-card-body h3 { font-size: 1.1rem; color: #fff; font-weight: 600; }
.xk-dept-card-body p { font-size: .9rem; color: #aaa; }

/* Security */
.xk-security { background: #150c01; padding: 4rem 0; }
.xk-security h2 { color: #fff; font-weight: 700; }
.xk-sec-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px; padding: 30px 20px; text-align: center;
  transition: .3s; box-shadow: 0 0 15px rgba(0,0,0,.2); height: 100%;
}
.xk-sec-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.xk-sec-icon { font-size: 2rem; color: #fff; margin-bottom: 15px; }
.xk-sec-card h5 { color: #fff; margin-bottom: 10px; }
.xk-sec-card p { font-size: .95rem; color: #ddd; }

/* Update Timeline */
.xk-update { background: #150c01; padding: 4rem 0; }
.xk-update h2 { color: #fff; font-weight: 700; }
.xk-timeline { border-left: 3px solid rgba(255,255,255,.2); margin-left: 1.5rem; position: relative; }
.xk-tl-item { padding-left: 1.5rem; margin-bottom: 2rem; position: relative; }
.xk-tl-item::before {
  content: ''; position: absolute; left: -8px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #d97706; border: 2px solid #fff;
}
.xk-tl-date { color: #d97706; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.xk-tl-card {
  background: rgba(255,255,255,.06); border-radius: 12px; padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
}
.xk-tl-card h3 { color: #d97706; font-size: .95rem; font-weight: 700; }
.xk-tl-card ul { color: rgba(255,255,255,.6); font-size: .88rem; }

/* Judge */
.xk-judge { background: #000; padding: 4rem 0; }
.xk-judge h2 { color: #fff; font-weight: 700; }
.xk-comment {
  background: #fff; color: #212529; border-radius: 12px; padding: 24px;
  border-left: 4px solid #d97706; transition: .3s; height: 100%;
}
.xk-comment:hover {
  transform: translateY(-4px); box-shadow: 0 1rem 1.5rem rgba(0,0,0,.2);
}
.xk-comment blockquote { font-size: 1rem; margin-bottom: 12px; }
.xk-comment .blockquote-footer { font-size: .85rem; color: #666; }

/* News */
.xk-news { padding: 4rem 0; background: #f8f9fa; }
.xk-news h2 { color: #212529; font-weight: 700; }
.xk-news-tl { position: relative; padding-left: 1.5rem; border-left: 3px solid #dee2e6; }
.xk-news-item { position: relative; margin-bottom: 2.5rem; }
.xk-news-dot {
  position: absolute; left: -24px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #dc2626; border: 3px solid #fff;
  box-shadow: 0 0 0 3px #dc262633;
}
.xk-news-item:hover .xk-news-dot { background: #dc2626; box-shadow: 0 0 0 4px #dc262655; }
.xk-news-item h3 { font-size: 1rem; font-weight: 700; color: #212529; }
.xk-news-item time { font-size: .82rem; color: #888; }
.xk-news-item p { font-size: .9rem; color: #666; }
.xk-news-item .btn { color: #dc2626; border-color: #dc2626; font-size: .85rem; }
.xk-news-item .btn:hover { background: #dc2626; color: #fff; }

/* Footer */
.xk-footer { background: #150c01; position: relative; padding: 3rem 0 1.5rem; }
.xk-footer::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.xk-footer .container { position: relative; z-index: 2; }
.xk-footer h6 { color: #fff; font-weight: 700; text-transform: uppercase; }
.xk-footer a { color: rgba(255,255,255,.5); text-decoration: none; transition: .3s; }
.xk-footer a:hover { color: #d97706; }
.xk-footer .copyright { color: rgba(255,255,255,.4); font-size: .85rem; }

@media (max-width: 768px) {
  .xk-hero { padding: 60px 15px 50px; }
  .xk-hero h1 { font-size: 1.6rem; }
  .xk-why-card { flex: 0 0 80%; }
}
