/* Site footer */
.site-footer__inner { display: contents; }
.site-footer__rule { display: none; }

.site-footer {
  width: 100%;
  padding: 36px var(--layout-padding-x);
  min-height: 237px;
  background: #0e1012;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  display: flex;
  margin-top: auto;
}

@media (min-width: 1480px) {
  .site-footer {
    padding-left: 100px;
    padding-right: 100px;
  }
}

.site-footer__brand-row {
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  display: inline-flex;
}

.site-footer__logo-wrap {
  justify-content: flex-start;
  align-items: flex-end;
  display: flex;
}

.site-footer__logo,
.site-footer .brand-logo {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: var(--color-primary-500);
  font-size: 24px;
  font-family: PingFang SC, sans-serif;
  font-weight: 500;
  line-height: 32px;
  word-wrap: break-word;
}

img.site-footer__logo {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.site-footer__brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer__brand-logo img {
  display: block;
  width: 106px;
  height: 32px;
  object-fit: contain;
}

.site-footer__text {
  opacity: 0.80;
  justify-content: center;
  display: flex;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-family: PingFang SC, sans-serif;
  font-weight: 400;
  line-height: 20px;
}
.site-footer__text a {
  color: rgba(255, 255, 255, 0.9);
}
.site-footer__text:hover a {
  text-decoration: underline;
}

.site-footer__nav {
  min-height: 27px;
  padding-top: 2px;
  padding-bottom: 2px;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  display: inline-flex;
  flex-wrap: wrap;
}

.site-footer__nav-link {
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-family: PingFang SC, sans-serif;
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
  cursor: pointer;
}

a.site-footer__nav-link {
  text-decoration: none;
}

.site-footer__divider {
  flex-shrink: 0;
  width: 1px;
  height: 23px;
  background: rgba(255, 255, 255, 0.2);
}

.site-footer__age {
  display: inline-flex;
  min-height: 32px;
  padding: 5px 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ff817f;
  border: 1px solid rgba(255, 102, 100, 0.45);
  border-radius: 999px;
  background: rgba(255, 86, 83, 0.1);
  font-size: 12px;
  line-height: 20px;
}

.site-footer__age img {
  width: 20px;
  height: 20px;
}

.site-footer__contact-row {
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: inline-flex;
  flex-wrap: wrap;
}

.site-footer__divider--sm {
  flex-shrink: 0;
  width: 1px;
  height: 15px;
  background: var(--color-black-alpha-20);
}

.site-footer__social-row {
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  display: inline-flex;
}

.site-footer__social-icon {
  width: 24px;
  height: 24px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.site-footer__social-img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

@media (min-width: 769px) {
  .site-footer {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #080b0d;
    border-top-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.55);
  }

  .site-footer__text,
  .site-footer__text a,
  .site-footer__nav-link {
    color: rgba(255, 255, 255, 0.55);
  }

  .site-footer__divider {
    background: rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 768px) {
  .site-footer__social-icon--desktop,
  .site-footer__social-icon[aria-disabled="true"] {
    display: none;
  }

  .site-footer {
    padding: 12px var(--layout-padding-x);
    gap: 18px;
    border-top: 1px solid var(--color-black-alpha-10);
  }

  .site-footer__brand-row {
    display: contents;
  }

  .site-footer__logo-wrap {
    justify-content: center;
    align-items: flex-end;
  }

  .site-footer__logo,
  .site-footer .brand-logo {
    width: 98px;
    height: 32px;
    font-size: 18px;
    line-height: 32px;
  }

  .site-footer__brand-logo {
    color: rgba(255, 255, 255, 0.92);
  }

  .site-footer__brand-logo img {
    width: auto;
    height: 27px;
  }

  .site-footer__text {
    font-size: 14px;
    line-height: 20px;
  }

  .site-footer__brand-row > .site-footer__text {
    display: block;
    width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .site-footer__nav {
    min-height: 59px;
    align-self: stretch;
    justify-content: center;
    gap: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .site-footer__nav-link {
    font-size: 14px;
    line-height: 20px;
  }

  .site-footer__divider {
    height: 20px;
  }

  .site-footer__contact-row {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: none;
    text-align: center;
  }

  .site-footer__contact-row .site-footer__text {
    display: block;
    max-width: 100%;
    font-size: 12px;
    line-height: 18px;
    overflow-wrap: anywhere;
  }

  .site-footer__divider--sm {
    display: none;
  }

  .site-footer__social-row {
    gap: 24px;
  }
}

/* Shared desktop footer layout: Figma 51052:447065. */
@media (min-width: 769px) {
  .site-footer { padding: 36px 24px; background: #0d0f10; border-top: 1px solid rgba(255,255,255,.1); }
  .site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: min(1200px, 100%); gap: 12px 24px; align-items: center; }
  .site-footer__brand-row { display: contents; }
  .site-footer__logo-wrap { grid-area: 1 / 1; }
  .site-footer__brand-logo img { width: 109px; height: 40px; }
  .site-footer__age { grid-area: 2 / 1; justify-self: start; height: 32px; color: #ef4444; border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.1); font-size: 14px; }
  .site-footer__contact-row { grid-area: 3 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer__contact-row .site-footer__text { display: block; opacity: 1; max-width: 100%; overflow-wrap: anywhere; font-size: 14px; line-height: 20px; }
  .site-footer__divider--sm { display: none; }
  .site-footer__nav { grid-area: 3 / 2; align-self: end; justify-self: end; justify-content: flex-end; max-width: 560px; }
  .site-footer__rule { display: block; grid-area: 4 / 1 / 5 / 3; height: 1px; margin: 6px 0; background: rgba(255,255,255,.1); }
  .site-footer__brand-row > .site-footer__text { grid-area: 5 / 1; justify-content: flex-start; opacity: 1; min-height: 38px; align-items: center; }
  .site-footer__social-row { grid-area: 5 / 2; justify-self: end; gap: 16px; }
  .site-footer__social-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 19px; background: #292929; }
  .site-footer__social-img { width: 20px; height: 20px; }
  .site-footer__social-img--contact { width: 24px; height: 24px; }
}
@media (min-width: 769px) and (max-width: 1050px) {
  .site-footer__nav { max-width: 380px; gap: 10px; }
}
