:root {
  --space-deep: #0A0E1A;
  --space-navy: #101A33;
  --galaxy-purple: #7C5CBF;
  --star-gold: #E8B96A;
  --electric-cyan: #22D3EE;
  --data-blue: #3B82F6;
  --text-bright: #EDF2FF;
  --text-dim: #94A3B8;
  --line-faint: #2D3A5F;
  --bg-card: #16203A;
  --font-display: 'Rajdhani', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --container-width: 1280px;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --header-h: 76px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-bright);
  background-color: var(--space-deep);
  background-image:
    radial-gradient(ellipse 80% 60% at 75% 10%, rgba(124, 92, 191, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(34, 211, 238, 0.08) 0%, transparent 60%),
    linear-gradient(var(--line-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-faint) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 42px 42px, 42px 42px;
  background-attachment: fixed;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--electric-cyan);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: var(--star-gold);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.xk-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1200;
  padding: 12px 24px;
  background: var(--galaxy-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.25s ease;
}

.xk-skip:focus {
  top: 16px;
  outline: 2px solid var(--electric-cyan);
  outline-offset: 2px;
}

.xk-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.xk-section {
  padding: 64px 0;
}

.xk-section-head {
  position: relative;
  padding-left: 20px;
  margin-bottom: 40px;
}

.xk-section-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--electric-cyan), var(--galaxy-purple));
}

.xk-section-head__index {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-cyan);
}

.xk-section-head__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bright);
  margin-top: 6px;
}

.xk-section-head__desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 8px;
  max-width: 520px;
}

.xk-grid {
  display: grid;
  gap: 24px;
}

.xk-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.xk-card {
  background: linear-gradient(180deg, rgba(22, 32, 58, 0.92), rgba(16, 26, 51, 0.78));
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.xk-card:hover {
  border-color: rgba(124, 92, 191, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.xk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.xk-btn--primary {
  background: linear-gradient(135deg, var(--galaxy-purple), #6A4CB8);
  color: #fff;
  border-color: rgba(124, 92, 191, 0.5);
  box-shadow: 0 4px 20px rgba(124, 92, 191, 0.35);
}

.xk-btn--primary:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 92, 191, 0.45);
}

.xk-btn--ghost {
  background: transparent;
  color: var(--text-bright);
  border-color: var(--line-faint);
}

.xk-btn--ghost:hover {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.xk-btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

.xk-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.05em;
  border: 1px solid var(--line-faint);
  color: var(--text-dim);
  background: transparent;
}

.xk-tag--gold {
  border-color: rgba(232, 185, 106, 0.4);
  color: var(--star-gold);
  background: rgba(232, 185, 106, 0.08);
}

.xk-tag--purple {
  border-color: rgba(124, 92, 191, 0.4);
  color: #B19CD9;
  background: rgba(124, 92, 191, 0.08);
}

.xk-tag--cyan {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--electric-cyan);
  background: rgba(34, 211, 238, 0.08);
}

.xk-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.xk-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.xk-breadcrumb__link {
  color: var(--text-dim);
  text-decoration: none;
}

.xk-breadcrumb__link:hover {
  color: var(--electric-cyan);
}

.xk-breadcrumb__sep {
  color: var(--line-faint);
}

.xk-breadcrumb__current {
  color: var(--text-bright);
}

.xk-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-faint);
  background:
    radial-gradient(circle at 25% 35%, rgba(124, 92, 191, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(34, 211, 238, 0.2) 0%, transparent 40%),
    linear-gradient(160deg, #111D3C 0%, #0B1226 100%);
}

.xk-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 58, 95, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 58, 95, 0.45) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.xk-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.xk-visual__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 16px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  background: linear-gradient(180deg, transparent, rgba(10, 14, 26, 0.85));
  z-index: 3;
}

.xk-visual--wide {
  aspect-ratio: 21 / 9;
}

.xk-visual--square {
  aspect-ratio: 1 / 1;
}

.xk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xk-list__item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
}

.xk-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--electric-cyan);
  border-radius: 2px;
}

.xk-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.xk-filter__btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--line-faint);
  cursor: pointer;
  transition: all var(--transition);
}

.xk-filter__btn:hover {
  color: var(--text-bright);
  border-color: var(--electric-cyan);
}

.xk-filter__btn[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--galaxy-purple), rgba(124, 92, 191, 0.7));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(124, 92, 191, 0.35);
}

.xk-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 1100;
  background: linear-gradient(90deg, var(--galaxy-purple), var(--electric-cyan), var(--star-gold));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
  transition: width 0.1s linear;
}

.xk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.88) 0%, rgba(10, 14, 26, 0.4) 80%, transparent 100%);
  pointer-events: none;
}

.xk-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 18px;
  background: rgba(22, 32, 58, 0.72);
  border: 1px solid rgba(45, 58, 95, 0.6);
  border-radius: 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
}

.xk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-bright);
  border-radius: 40px;
  transition: opacity var(--transition);
}

.xk-brand:hover {
  opacity: 0.88;
  color: var(--text-bright);
}

.xk-brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--galaxy-purple), var(--space-navy));
  border: 1px solid rgba(124, 92, 191, 0.5);
  box-shadow: 0 0 16px rgba(124, 92, 191, 0.35);
}

.xk-brand__mark::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-cyan);
  border: 2px solid var(--space-deep);
  box-shadow: 0 0 8px var(--electric-cyan);
  animation: xk-pulse 3s ease-in-out infinite;
}

@keyframes xk-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.xk-brand__star {
  width: 12px;
  height: 12px;
  display: block;
  background: var(--star-gold);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}

.xk-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.xk-brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.xk-brand__tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  white-space: nowrap;
}

.xk-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line-faint);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.xk-nav-toggle:hover {
  border-color: var(--galaxy-purple);
}

.xk-nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.xk-nav-toggle.is-active .xk-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.xk-nav-toggle.is-active .xk-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.xk-nav-toggle.is-active .xk-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.xk-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.xk-nav__link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-bright);
  text-decoration: none;
  border-radius: 30px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.xk-nav__link:hover {
  background: rgba(124, 92, 191, 0.22);
  color: #fff;
}

.xk-nav__link[aria-current="page"] {
  background: linear-gradient(135deg, var(--galaxy-purple), rgba(124, 92, 191, 0.7));
  color: #fff;
  box-shadow: 0 0 16px rgba(124, 92, 191, 0.4);
}

.xk-footer {
  position: relative;
  background: var(--space-deep);
  border-top: 1px solid var(--line-faint);
}

.xk-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--galaxy-purple), var(--electric-cyan), var(--star-gold), transparent);
}

.xk-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.xk-footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.xk-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-bright);
  text-decoration: none;
}

.xk-footer__brand:hover {
  color: var(--text-bright);
}

.xk-footer__mark {
  display: flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--galaxy-purple), var(--space-navy));
  border: 2px solid var(--star-gold);
  position: relative;
}

.xk-footer__mark::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-cyan);
  margin: auto;
  box-shadow: 0 0 8px var(--electric-cyan);
}

.xk-footer__name {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.xk-footer__tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.xk-footer__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 300px;
}

.xk-footer__trust {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-dim);
  opacity: 0.85;
  max-width: 320px;
  border-left: 2px solid var(--line-faint);
  padding-left: 12px;
}

.xk-footer__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.xk-footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--galaxy-purple), var(--electric-cyan));
  border-radius: 2px;
}

.xk-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xk-footer__list--contact {
  gap: 12px;
}

.xk-footer__link {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.xk-footer__link:hover {
  color: var(--electric-cyan);
  padding-left: 4px;
}

.xk-footer__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.75;
  margin-bottom: 2px;
}

.xk-footer__text {
  font-size: 14px;
  color: var(--text-bright);
  line-height: 1.5;
  display: block;
}

.xk-footer__coords {
  border-top: 1px solid rgba(45, 58, 95, 0.5);
  border-bottom: 1px solid rgba(45, 58, 95, 0.5);
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-align: center;
  background: rgba(16, 26, 51, 0.4);
}

.xk-footer__bottom {
  background: rgba(10, 14, 26, 0.6);
}

.xk-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.xk-footer__icp,
.xk-footer__copy {
  font-size: 13px;
  color: var(--text-dim);
}

.xk-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  color: var(--text-bright);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.xk-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.xk-scroll-top:hover {
  border-color: var(--galaxy-purple);
  color: var(--star-gold);
}

.xk-scroll-top:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .xk-container {
    padding: 0 20px;
  }

  .xk-section {
    padding: 48px 0;
  }

  .xk-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .xk-header__inner {
    padding-left: 12px;
  }

  .xk-brand__name {
    font-size: 16px;
  }

  .xk-brand__tag {
    font-size: 10px;
  }

  .xk-nav__link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .xk-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .xk-container {
    padding: 0 16px;
  }

  .xk-section {
    padding: 40px 0;
  }

  .xk-section-head__title {
    font-size: 28px;
  }

  .xk-grid--3 {
    grid-template-columns: 1fr;
  }

  .xk-header {
    padding: 10px 0;
  }

  .xk-header__inner {
    padding: 6px 6px 6px 12px;
  }

  .xk-brand__text {
    display: none;
  }

  .xk-nav-toggle {
    display: flex;
  }

  .xk-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 8px;
    right: 8px;
    z-index: 50;
    background: var(--bg-card);
    border: 1px solid var(--line-faint);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .xk-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .xk-nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .xk-nav__link {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .xk-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 36px;
  }

  .xk-footer__desc,
  .xk-footer__trust {
    max-width: 100%;
  }

  .xk-visual {
    aspect-ratio: 4 / 3;
  }

  .xk-visual--wide {
    aspect-ratio: 16 / 9;
  }

  .xk-scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .xk-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
