@font-face {
  font-family: "Xasia YH";
  src: url("/fonts/yahei-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Xasia YH";
  src: url("/fonts/yahei-700.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.site-nav {
  position: fixed;
  top: 10px;
  left: 32px;
  right: 32px;
  z-index: 50;
  color: rgba(32, 36, 42, 0.82);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-nav:hover,
.site-nav:focus-within,
.site-nav.is-open {
  opacity: 1;
}

.site-nav.is-hidden:not(.is-open) {
  opacity: 0.48;
  transform: translate3d(0, -4px, 0);
}

.site-nav-inner {
  min-height: 38px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 3px 10px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  font-family: SimHei, "Microsoft YaHei", "Xasia YH", "PingFang SC", sans-serif;
  transition: background 0.24s ease, box-shadow 0.24s ease;
}

.site-nav:hover .site-nav-inner,
.site-nav:focus-within .site-nav-inner,
.site-nav.is-open .site-nav-inner {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.site-nav a,
.site-nav button {
  font: inherit;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  line-height: 1;
  font-weight: 400;
  color: rgba(32, 36, 42, 0.82);
  text-decoration: none;
}

.site-brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-brand-copy {
  height: 42px;
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

.site-brand-name {
  color: rgba(14, 16, 20, 0.92);
  font-family: "Arial", "Helvetica Neue", SimHei, "Microsoft YaHei", "Xasia YH", sans-serif;
  font-size: 20px;
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  font-stretch: normal;
}

.site-brand-subtitle {
  color: rgba(32, 36, 42, 0.74);
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

.site-nav-links,
.site-nav-actions {
  display: flex;
  align-items: center;
}

.site-nav-links {
  justify-content: flex-end;
  gap: 22px;
}

.site-nav-links a,
.site-mobile-panel a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: rgba(32, 36, 42, 0.82);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  font-synthesis: none;
  background: transparent;
  opacity: 1;
  box-shadow: none;
  transition: color 0.18s ease, text-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}



.site-nav-links a {
  width: 92px;
}

.site-nav-links .nav-token-link {
  width: 128px;
}

.site-nav-links .nav-auth-link {
  width: 46px;
}
.site-nav-link-icon {
  width: 15px;
  height: 15px;
  display: block;
  margin-right: 5px;
  color: currentColor;
  opacity: 0.72;
}
.site-nav-links a:hover,
.site-mobile-panel a:hover {
  background: transparent;
  color: rgba(20, 24, 30, 0.92);
  opacity: 1;
}

.site-nav-links a[aria-current="page"],
.site-mobile-panel a[aria-current="page"] {
  background: transparent;
  color: rgba(32, 36, 42, 0.82);
  opacity: 1;
}

.site-nav-actions {
  justify-content: flex-end;
  gap: 0;
}

.nav-token-link,
.nav-auth-link {
  order: 0;
  white-space: nowrap;
}


.site-nav-links .nav-token-link,
.site-mobile-panel .nav-token-link {
  color: rgba(56, 169, 244, 0.92);
}

.site-nav-links .nav-token-link:hover,
.site-mobile-panel .nav-token-link:hover {
  color: rgba(24, 150, 226, 0.98);
}
.nav-auth-link {
  margin-left: 6px;
  order: 10;
}

.nav-menu-button {
  width: 34px;
  height: 34px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(247, 247, 245, 0.28);
  color: rgba(32, 36, 42, 0.82);
  cursor: pointer;
  opacity: 1;
}

.nav-menu-button span {
  grid-area: 1 / 1;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.nav-menu-button span:first-child {
  transform: translateY(-4px);
}

.nav-menu-button span:last-child {
  transform: translateY(4px);
}

.site-nav.is-open .nav-menu-button span:first-child {
  transform: rotate(45deg);
}

.site-nav.is-open .nav-menu-button span:last-child {
  transform: rotate(-45deg);
}

.site-mobile-panel {
  max-width: 1280px;
  margin: 8px auto 0;
  display: none;
  padding: 10px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.10);
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 24px max(24px, calc((100vw - 1280px) / 2)) 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  background: #000000;
  font-family: SimHei, "Microsoft YaHei", "Xasia YH", "PingFang SC", sans-serif;
}

.footer-brand {
  display: grid;
  gap: 0;
  align-content: start;
}

.footer-brand-lockup {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.footer-brand-mark {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand-copy {
  height: 52px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.footer-brand strong {
  font-family: "Arial", "Helvetica Neue", SimHei, "Microsoft YaHei", "Xasia YH", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.footer-brand-copy span {
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
}

.footer-primary {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links span {
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.footer-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 960px) {
  .site-nav {
    top: 12px;
    left: 14px;
    right: 14px;
  }

  .site-nav-inner {
    grid-template-columns: auto auto;
    gap: 12px;
    padding-left: 10px;
  }

  .site-nav-links {
    display: none;
  }

  .nav-menu-button {
    display: grid;
  }

  .site-mobile-panel {
    grid-template-columns: 1fr;
  }

  .site-nav.is-open .site-mobile-panel {
    display: grid;
  }

  .site-mobile-panel a {
    justify-content: flex-start;
    min-height: 38px;
    min-width: 0;
    padding: 0 6px;
    font-size: 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-brand-mark {
    width: 48px;
    height: 48px;
  }

  .footer-brand-copy {
    height: 48px;
  }

  .footer-brand strong {
    font-size: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-brand-copy {
    height: 34px;
  }

  .site-brand-name {
    font-size: 16px;
  }

  .site-brand-subtitle {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
  }

  .footer-brand strong {
    font-size: 22px;
  }
}
