:root {
  --space-blue: #0B1F3A;
  --space-deep: #081425;
  --star-gold: #FFD700;
  --arena-red: #E63946;
  --nebula-indigo: #3A2E6E;
  --cosmos-teal: #0A7D7B;
  --orbit-silver: #C0D0E0;
  --star-white: #F5F8FC;
  --dim-star: #A0B0C0;
  --deep-fog: #122A4A;
  --signal-orange: #FF7F50;
  --font-heading: "Orbitron", "Bahnschrift", "DIN Alternate", "Franklin Gothic Medium", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Roboto", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-w: 300px;
  --header-h-mobile: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--space-blue);
  color: var(--star-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-left: 0;
  padding-top: var(--header-h-mobile);
}

@media (min-width: 1025px) {
  body {
    padding-left: var(--header-w);
    padding-top: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--star-white);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; }
ul, ol { list-style: none; }
a { color: var(--star-gold); text-decoration: none; }
a:hover { color: var(--star-white); }
img { display: block; max-width: 100%; }

::selection {
  background: var(--star-gold);
  color: var(--space-blue);
}

[id] {
  scroll-margin-top: calc(var(--header-h-mobile) + 16px);
}

@media (min-width: 1025px) {
  [id] { scroll-margin-top: 24px; }
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.main-content {
  min-height: 60vh;
}

#main-content:focus-visible {
  outline: 2px solid var(--star-gold);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(192, 208, 224, 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--orbit-silver);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.2s var(--ease);
}

.btn:hover {
  color: var(--star-gold);
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.12);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--star-gold) 0%, #F2B900 100%);
  border-color: transparent;
  color: var(--space-blue);
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.22);
}

.btn-gold:hover {
  color: var(--space-blue);
  background: linear-gradient(135deg, #FFE14D 0%, var(--star-gold) 100%);
  border-color: transparent;
  box-shadow: 0 6px 28px rgba(255, 215, 0, 0.34);
}

.btn-ghost {
  border-color: rgba(192, 208, 224, 0.28);
  color: var(--orbit-silver);
}

.btn-ghost:hover {
  border-color: var(--star-gold);
  color: var(--star-gold);
}

.btn-block {
  display: flex;
  width: 100%;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--star-gold);
  color: var(--space-blue);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:hover { color: var(--space-blue); }

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h-mobile);
  z-index: 100;
  background: rgba(11, 31, 58, 0.96);
  border-bottom: 1px solid rgba(192, 208, 224, 0.14);
}

@media (min-width: 1025px) {
  .site-header {
    inset: 0 auto 0 0;
    width: var(--header-w);
    height: auto;
    background: linear-gradient(180deg, #0D2444 0%, var(--space-blue) 55%, #0A1A32 100%);
    border-bottom: none;
    border-right: 1px solid rgba(192, 208, 224, 0.16);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 0 16px;
}

@media (min-width: 1025px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    height: 100%;
    padding: 36px 30px 28px;
  }
}

.header-brand {
  flex: 1;
  min-width: 0;
}

@media (min-width: 1025px) {
  .header-brand {
    flex: none;
  }
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--star-gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--star-white);
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .brand-name {
    font-size: 21px;
  }
}

.header-tagline {
  display: none;
}

@media (min-width: 1025px) {
  .header-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--dim-star);
    letter-spacing: 0.32em;
    text-transform: uppercase;
  }

  .header-tagline::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--star-gold);
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(192, 208, 224, 0.2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--star-gold);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--star-white);
  border-radius: 1px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1025px) {
  .nav-toggle {
    display: none;
  }
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 10, 20, 0.65);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s;
}

.site-nav[data-open] {
  visibility: visible;
  opacity: 1;
}

.nav-track {
  position: absolute;
  top: var(--header-h-mobile);
  bottom: 0;
  left: 0;
  width: min(86vw, 340px);
  margin: 0;
  padding: 28px 24px 48px 24px;
  background: linear-gradient(180deg, #0D2444 0%, var(--space-blue) 60%, #0A1A32 100%);
  border-right: 1px solid rgba(192, 208, 224, 0.16);
  overflow-y: auto;
  transform: translateX(-102%);
  transition: transform 0.32s var(--ease);
}

.site-nav[data-open] .nav-track {
  transform: translateX(0);
}

.nav-track::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 215, 0, 0),
    rgba(255, 215, 0, 0.35) 12%,
    rgba(192, 208, 224, 0.45) 48%,
    rgba(255, 215, 0, 0.25) 88%,
    rgba(255, 215, 0, 0)
  );
}

@media (min-width: 1025px) {
  .site-nav {
    position: static;
    inset: auto;
    z-index: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    margin-top: 12px;
    padding: 20px 0;
    background: transparent;
    visibility: visible;
    opacity: 1;
    overflow-y: auto;
  }

  .nav-track {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 6px 0 6px 24px;
    background: transparent;
    border-right: none;
    overflow: visible;
    transform: none;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 12px 24px;
  color: var(--orbit-silver);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim-star);
  border: 1px solid rgba(192, 208, 224, 0.3);
  transform: translateY(-50%);
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--star-white);
}

.nav-link:hover::before {
  background: var(--star-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  transform: translateY(-50%) scale(1.2);
}

.nav-link[aria-current="page"] {
  color: var(--star-gold);
  font-weight: 700;
}

.nav-link[aria-current="page"]::before {
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--star-gold);
  box-shadow:
    0 0 12px rgba(255, 215, 0, 0.9),
    0 0 26px rgba(255, 215, 0, 0.3);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--star-gold);
  transform: translateY(-50%) rotate(45deg);
}

.nav-index {
  width: 20px;
  flex: none;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dim-star);
  transition: color 0.25s var(--ease);
}

.nav-link:hover .nav-index,
.nav-link[aria-current="page"] .nav-index {
  color: var(--star-gold);
}

.header-meta {
  display: none;
}

@media (min-width: 1025px) {
  .header-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
  }
}

.header-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(192, 208, 224, 0.14);
  border-radius: var(--radius);
  background: rgba(18, 42, 74, 0.55);
  font-size: 12px;
  color: var(--dim-star);
  letter-spacing: 0.04em;
}

.notice-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--signal-orange);
  box-shadow: 0 0 0 0 rgba(255, 127, 80, 0.55);
  animation: signal-pulse 2.2s infinite;
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 127, 80, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 127, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 127, 80, 0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--star-gold);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--signal-orange);
  text-transform: uppercase;
}

.status-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-orange);
  box-shadow: 0 0 0 0 rgba(255, 127, 80, 0.55);
  animation: signal-pulse 2.2s infinite;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--dim-star);
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(160, 176, 192, 0.4);
}

.breadcrumb a {
  color: var(--dim-star);
  transition: color 0.2s;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--star-gold);
}

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

.grid-cols-2,
.grid-cols-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 641px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1025px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-band {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-band-indigo {
  background: linear-gradient(135deg, var(--nebula-indigo) 0%, var(--space-blue) 70%);
}

.section-band-teal {
  background: linear-gradient(135deg, var(--cosmos-teal) 0%, var(--space-blue) 70%);
}

.section-band-deep {
  background: var(--deep-fog);
}

.img-shell {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(140deg, var(--deep-fog) 0%, var(--nebula-indigo) 100%);
  border: 1px solid rgba(192, 208, 224, 0.1);
}

.img-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192, 208, 224, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 208, 224, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
}

.img-shell::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  background: var(--star-gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0.35;
  transform: translate(-50%, -50%);
}

.img-shell img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-ratio-16x9 { aspect-ratio: 16 / 9; }
.img-ratio-4x3 { aspect-ratio: 4 / 3; }
.img-ratio-3x2 { aspect-ratio: 3 / 2; }
.img-ratio-1x1 { aspect-ratio: 1 / 1; }

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

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

.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, var(--space-blue) 0%, var(--space-deep) 100%);
  border-top: 1px solid rgba(192, 208, 224, 0.12);
}

.footer-orbit {
  position: relative;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.65) 30%,
    rgba(255, 215, 0, 0.65) 70%,
    transparent
  );
}

.footer-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--star-gold);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.7);
  transform: translate(-50%, -50%) rotate(45deg);
}

.footer-top,
.footer-strip,
.footer-bottom {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

@media (min-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 72px 0 56px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--star-white);
}

.footer-brand-en {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--dim-star);
}

.footer-desc {
  margin-top: 16px;
  max-width: 42ch;
  font-weight: 300;
  color: var(--orbit-silver);
  font-size: 15px;
}

.footer-trust {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--star-gold);
  background: rgba(255, 215, 0, 0.05);
  color: var(--dim-star);
  font-size: 13px;
  line-height: 1.6;
}

.footer-column {
  min-width: 0;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star-white);
}

.col-title-star {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--arena-red);
  transform: rotate(45deg);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--orbit-silver);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--star-gold);
  padding-left: 6px;
}

.footer-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(192, 208, 224, 0.12);
}

@media (min-width: 700px) {
  .footer-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .footer-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim-star);
}

.contact-value {
  font-size: 14px;
  word-break: break-all;
  color: var(--star-white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(192, 208, 224, 0.1);
}

.footer-copy,
.footer-icp {
  font-size: 13px;
  color: var(--dim-star);
}

.footer-icp {
  letter-spacing: 0.1em;
}

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

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

  .js [data-reveal],
  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
