/* Figma navigation landing page: PC 46984:41699 / mobile 46984:7399 */

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.nav-page {
  --nav-gold: #e9b54b;
  --nav-card: rgba(255, 255, 255, 0.05);
  --nav-text: rgba(255, 255, 255, 0.9);
  --nav-muted: rgba(255, 255, 255, 0.55);
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  scrollbar-width: none;
  color: var(--nav-text);
  background:
    url("/static/images/nav-figma/glow-left.svg") no-repeat calc(50% - 820px) -1130px / 1290px 1262px,
    url("/static/images/nav-figma/glow-right.svg") no-repeat calc(50% + 840px) -1190px / 1344px 1362px,
    #010405;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.nav-page::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.nav-page__main {
  width: 680px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 40px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.nav-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.nav-hero__eyebrow img {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
}

.nav-brand {
  width: 146px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.nav-hero__desc {
  width: 100%;
  margin: 0;
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.nav-routes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-route {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid var(--nav-gold);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: inherit;
  text-align: center;
  transition: background-color 160ms ease, transform 160ms ease;
}

.nav-route[href]:hover,
.nav-route[href]:focus-visible {
  background: rgba(233, 181, 75, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.nav-route__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.nav-route__url {
  min-height: 20px;
  color: var(--nav-gold);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.is-disabled {
  cursor: default;
}

.nav-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.nav-section__title {
  margin: 0;
  color: var(--nav-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.nav-guide-grid,
.nav-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nav-info-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: var(--nav-card);
}

.nav-info-card h2,
.nav-info-card h3 {
  margin: 0 0 8px;
  color: var(--nav-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.nav-info-card p {
  margin: 0;
  color: var(--nav-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.nav-socials {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nav-social {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.nav-social__icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-social__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-social__icon--app {
  padding: 0;
  overflow: hidden;
  background: #f8c700;
}

.nav-social__icon--app img {
  width: 44px;
  height: 44px;
}

.nav-social[href]:hover .nav-social__icon,
.nav-social[href]:focus-visible .nav-social__icon {
  box-shadow: 0 0 0 2px var(--nav-gold);
}

.nav-social[href]:focus-visible {
  outline: none;
}

.nav-notes {
  margin: 0;
  padding-left: 21px;
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.nav-cta {
  position: relative;
  width: 100%;
  padding: 20px 12px;
  border-radius: 20px;
  background: linear-gradient(161deg, #fdb734 19%, #fde9af 26%, #fde9af 67%, #fdb734 125%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #000;
}

.nav-cta__decoration {
  position: absolute;
  z-index: 1;
  top: -47px;
  right: -17px;
  width: 107px;
  height: 107px;
  object-fit: contain;
  pointer-events: none;
}

.nav-cta__title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 64px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

.nav-cta__title span,
.nav-cta__title em {
  color: #f52c56;
  font-style: normal;
}

.nav-cta__title .nav-cta__mobile-break {
  color: #000;
}

.nav-email {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 44px;
  padding: 0 4px 0 12px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-email__value {
  min-width: 0;
  overflow: hidden;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-email__copy {
  min-width: 54px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: #fdf3de;
  color: #622000;
  font: 500 14px/20px "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.nav-email__copy:focus-visible {
  outline: 2px solid #622000;
  outline-offset: 1px;
}

.nav-cta__actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.nav-cta__button {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
}

.nav-cta__button--app {
  background: linear-gradient(173deg, #fa7315 0%, #eb5f07 52%, #fe770f 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.nav-cta__button img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  transform: rotate(180deg);
}

.nav-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 0 24px;
  color: var(--nav-muted);
  text-align: center;
}

.nav-footer img {
  width: 106px;
  height: 32px;
}

.nav-footer p,
.nav-footer strong {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.nav-footer strong {
  color: #f52c56;
}

@media (max-width: 768px) {
  .nav-page {
    background:
      url("/static/images/nav-figma/glow-left.svg") no-repeat -616px -536px / 790px 773px,
      url("/static/images/nav-figma/glow-right.svg") no-repeat 90px -592px / 824px 835px,
      #010405;
  }

  .nav-page__main {
    width: auto;
    max-width: none;
    margin: 0 24px;
    padding: 44px 0 40px;
  }

  .nav-route {
    min-height: 0;
  }

  .nav-route__url {
    font-size: 12px;
    line-height: 18px;
  }

  .nav-guide-grid,
  .nav-faq-grid {
    grid-template-columns: 1fr;
  }

  .nav-social {
    font-size: 12px;
    line-height: 18px;
  }

  .nav-notes {
    font-size: 12px;
    line-height: 18px;
  }

  .nav-cta {
    gap: 12px;
    padding: 20px 12px;
  }

  .nav-cta__decoration {
    top: -41px;
    right: -24px;
  }

  .nav-cta__title {
    padding-right: 36px;
    text-align: left;
  }

  .nav-cta__mobile-break {
    display: block;
  }

  .nav-cta__actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-email__value {
    font-size: 14px;
    line-height: 20px;
  }

  .nav-cta__button {
    font-size: 12px;
    line-height: 18px;
  }

  .nav-footer p,
  .nav-footer strong {
    max-width: 292px;
    font-size: 12px;
    line-height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-route {
    transition: none;
  }
}
