:root {
  --sx-bg-deep: #0B132B;
  --sx-bg-panel: #1C2541;
  --sx-accent: #FF9F1C;
  --sx-gold: #FFD700;
  --sx-purple: #8A2BE2;
  --sx-acid: #9D4EDD;
  --sx-light: #F8F9FA;
  --sx-dark: #333333;
  --sx-font-head: Impact, 'Noto Sans SC', sans-serif;
  --sx-font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --sx-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

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

body {
  margin: 0;
  background-color: var(--sx-bg-deep);
  background-image:
    radial-gradient(circle at 85% 8%, rgba(138, 43, 226, 0.13), transparent 30%),
    radial-gradient(circle at 10% 32%, rgba(255, 159, 28, 0.07), transparent 25%);
  background-attachment: fixed;
  color: rgba(248, 249, 250, 0.85);
  font-family: var(--sx-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--sx-accent);
  text-decoration: none;
}

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

::selection {
  background: var(--sx-accent);
  color: var(--sx-bg-deep);
}

:focus-visible {
  outline: 2px solid var(--sx-gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

[hidden] {
  display: none !important;
}

#main-content {
  scroll-margin-top: 130px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 3000;
  padding: 10px 18px;
  background: var(--sx-accent);
  color: var(--sx-bg-deep);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sxi-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sx-accent), var(--sx-gold), var(--sx-purple));
  z-index: 2500;
  pointer-events: none;
}

.sx-container {
  width: min(1220px, 100% - 48px);
  margin-inline: auto;
}

.sxi-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 159, 28, 0.22);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
}

.sxi-header__top {
  background: rgba(11, 19, 43, 0.45);
  border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
}

.sxi-header__top-inner,
.sxi-header__bottom-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sxi-header__top-inner {
  min-height: 52px;
  justify-content: space-between;
}

.sxi-header__bottom-inner {
  min-height: 64px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sxi-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.sxi-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--sx-font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--sx-bg-deep);
  background: var(--sx-accent);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.sxi-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sxi-brand__name {
  font-weight: 900;
  font-size: 1.12rem;
  color: var(--sx-light);
  letter-spacing: 0.04em;
}

.sxi-brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--sx-gold);
}

.sxi-brand__version {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  color: var(--sx-light);
  background: linear-gradient(135deg, var(--sx-purple), var(--sx-accent));
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.sxi-header__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.8rem;
  color: rgba(248, 249, 250, 0.58);
}

.sxi-header__icp {
  color: rgba(248, 249, 250, 0.45);
}

.sxi-header__support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sxi-header__support em {
  font-style: normal;
  font-weight: 900;
  color: var(--sx-gold);
}

.sxi-support-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sx-gold);
  box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
  animation: sxi-pulse 2s infinite;
}

@keyframes sxi-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.sxi-header__bottom {
  background: rgba(28, 37, 65, 0.55);
  border-top: 1px solid rgba(157, 78, 221, 0.18);
}

.sxi-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

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

.sxi-nav__item a {
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(248, 249, 250, 0.82);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.sxi-nav__item a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--sx-gold), var(--sx-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.sxi-nav__item a:hover {
  color: var(--sx-light);
}

.sxi-nav__item a:hover::after,
.sxi-nav__item a[aria-current="page"]::after {
  transform: scaleX(1);
}

.sxi-nav__item a[aria-current="page"] {
  color: var(--sx-gold);
}

.sxi-header__cta {
  flex-shrink: 0;
  margin-left: 4px;
}

.sxi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--sx-font-head);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--sx-light);
  background: linear-gradient(135deg, var(--sx-purple), var(--sx-accent));
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.sxi-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  transition: left 0.6s ease, opacity 0.2s ease;
}

.sxi-btn:hover::after,
.sxi-btn:focus-visible::after {
  left: 125%;
  opacity: 1;
}

.sxi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 159, 28, 0.25);
}

.sxi-btn--accent {
  background: var(--sx-accent);
  color: var(--sx-bg-deep);
}

.sxi-btn--outline {
  background: transparent;
  border: 1px solid var(--sx-accent);
  color: var(--sx-accent);
  clip-path: none;
}

.sxi-btn--sm {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-family: var(--sx-font-body);
}

.sxi-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 159, 28, 0.45);
  background: rgba(28, 37, 65, 0.6);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.sxi-nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sx-gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.sxi-section {
  padding: 96px 0;
}

.sxi-section--alt {
  background: linear-gradient(180deg, rgba(28, 37, 65, 0.5), rgba(11, 19, 43, 0.85));
}

.sxi-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sx-accent);
}

.sxi-section__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sx-accent);
}

.sxi-title {
  font-family: var(--sx-font-head);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--sx-light);
  margin-bottom: 20px;
  padding-bottom: 16px;
  position: relative;
}

.sxi-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--sx-gold), var(--sx-accent));
}

.sxi-title--display {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.sxi-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 249, 250, 0.42);
}

.sxi-panel {
  position: relative;
  padding: 32px;
  background: linear-gradient(150deg, rgba(28, 37, 65, 0.92), rgba(11, 19, 43, 0.88));
  border-left: 2px solid var(--sx-accent);
  border-bottom: 2px solid rgba(255, 215, 0, 0.65);
  box-shadow: var(--sx-shadow);
}

.sxi-panel::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--sx-gold);
  border-right: 2px solid var(--sx-gold);
}

.sxi-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sx-light);
  background: rgba(157, 78, 221, 0.18);
  border: 1px solid rgba(157, 78, 221, 0.5);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.sxi-tag--accent {
  background: var(--sx-accent);
  border-color: var(--sx-accent);
  color: var(--sx-bg-deep);
  font-weight: 900;
}

.sxi-breadcrumb {
  margin-bottom: 28px;
  font-size: 0.85rem;
}

.sxi-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sxi-breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sxi-breadcrumb__list li:not(:last-child)::after {
  content: "→";
  color: rgba(248, 249, 250, 0.3);
}

.sxi-breadcrumb__list a {
  color: rgba(248, 249, 250, 0.7);
  text-decoration: none;
}

.sxi-breadcrumb__list a:hover {
  color: var(--sx-gold);
}

.sxi-breadcrumb__list [aria-current="page"] {
  color: var(--sx-accent);
  font-weight: 700;
}

.sxi-grid {
  display: grid;
  gap: 28px;
}

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

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

.sxi-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.sxi-figure {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(11, 19, 43, 0.9));
}

.sxi-figure::before {
  content: "";
  display: block;
  padding-top: 66.66%;
  background:
    repeating-linear-gradient(135deg, rgba(157, 78, 221, 0.12) 0 1px, transparent 1px 10px),
    radial-gradient(circle at 60% 40%, rgba(255, 159, 28, 0.18), transparent 40%);
}

.sxi-figure::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sx-font-head);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 249, 250, 0.4);
}

.sxi-figure:has(img)::after {
  display: none;
}

.sxi-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sxi-figure--square::before {
  padding-top: 100%;
}

.sxi-figure--wide::before {
  padding-top: 56.25%;
}

.sxi-figure--tall::before {
  padding-top: 130%;
}

.sxi-trail {
  height: 4px;
  background: repeating-linear-gradient(-45deg, rgba(255, 215, 0, 0.35) 0 6px, transparent 6px 12px);
  border-left: 2px solid var(--sx-accent);
}

.sxi-footer {
  position: relative;
  margin-top: 40px;
  padding: 72px 0 0;
  background: linear-gradient(180deg, #0B132B 0%, #060B18 100%);
  color: rgba(248, 249, 250, 0.72);
  border-top: 1px solid rgba(157, 78, 221, 0.35);
}

.sxi-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sx-gold), var(--sx-accent), transparent);
  opacity: 0.6;
}

.sxi-footer a {
  color: rgba(248, 249, 250, 0.6);
  text-decoration: none;
}

.sxi-footer a:hover {
  color: var(--sx-gold);
}

.sxi-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr 0.9fr 1.4fr;
  gap: 44px;
  padding-bottom: 52px;
}

.sxi-footer__logo {
  font-family: var(--sx-font-head);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--sx-light);
}

.sxi-footer__version {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--sx-bg-deep);
  background: var(--sx-accent);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.sxi-footer__desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(248, 249, 250, 0.62);
}

.sxi-footer__trust {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 2px solid var(--sx-accent);
  background: rgba(157, 78, 221, 0.1);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(248, 249, 250, 0.55);
}

.sxi-footer__col {
  display: flex;
  flex-direction: column;
}

.sxi-footer__title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--sx-light);
}

.sxi-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--sx-gold), transparent);
}

.sxi-footer__list {
  display: grid;
  gap: 8px;
  list-style: none;
}

.sxi-footer__list a {
  display: inline-block;
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.sxi-footer__list a:hover {
  color: var(--sx-gold);
  padding-left: 12px;
}

.sxi-footer__list a::before {
  content: "›";
  position: absolute;
  left: -6px;
  opacity: 0;
  transition: opacity 0.3s ease, left 0.3s ease;
}

.sxi-footer__list a:hover::before {
  opacity: 1;
  left: 0;
}

.sxi-footer__contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(248, 249, 250, 0.68);
}

.sxi-footer__contact-item::before {
  content: "→";
  flex-shrink: 0;
  color: var(--sx-accent);
  font-weight: 700;
}

.sxi-footer__contact-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 159, 28, 0.25);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(248, 249, 250, 0.5);
}

.sxi-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(248, 249, 250, 0.5);
}

.sxi-footer__bottom a {
  color: rgba(248, 249, 250, 0.65);
}

.sxi-footer__bottom a:hover {
  color: var(--sx-gold);
}

button[data-filter-button] {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(157, 78, 221, 0.4);
  color: rgba(248, 249, 250, 0.7);
  font-family: var(--sx-font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

button[data-filter-button]:hover,
button[data-filter-button].is-active {
  background: var(--sx-accent);
  border-color: var(--sx-accent);
  color: var(--sx-bg-deep);
}

[data-filter-item].is-hidden {
  display: none !important;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .sxi-brand__sub {
    display: none;
  }

  .sxi-header__meta {
    display: none;
  }

  .sxi-header__cta {
    display: none;
  }

  .sxi-nav-toggle {
    display: inline-flex;
    order: 1;
    margin-left: auto;
  }

  .sxi-nav {
    display: none;
    order: 2;
    flex-basis: 100%;
  }

  .sxi-nav[data-open] {
    display: block;
  }

  .sxi-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .sxi-nav__item a {
    padding: 14px 4px;
    border-bottom: 1px dashed rgba(255, 159, 28, 0.16);
  }

  .sxi-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

@media (max-width: 768px) {
  .sx-container {
    width: min(1220px, 100% - 28px);
  }

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

  .sxi-title--display {
    font-size: 2.4rem;
  }

  .sxi-title {
    font-size: 1.7rem;
  }

  .sxi-panel {
    padding: 24px;
  }

  .sxi-brand__version {
    display: none;
  }

  .sxi-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .sxi-grid--2,
  .sxi-grid--3,
  .sxi-grid--4 {
    grid-template-columns: 1fr;
  }

  body {
    background-attachment: scroll;
  }

  .sxi-footer {
    padding-top: 48px;
  }

  .sxi-footer__bottom {
    justify-content: 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;
  }

  .sxi-support-dot {
    animation: none !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .sxi-btn::after {
    display: none !important;
  }

  .sxi-nav__item a::after {
    display: none !important;
  }
}
