.gfpt-page {
  background: #f5f5f5;
  color: #333333;
}

.gfpt-page:not(.gfpt-template-page) .jsy-header {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gfpt-page:not(.gfpt-template-page) .jsy-nav > ul > li > a,
.gfpt-page:not(.gfpt-template-page) .jsy-header__contact {
  color: #333333;
}

.gfpt-page:not(.gfpt-template-page) .jsy-nav i {
  color: #c9c9c9;
}

.gfpt-page:not(.gfpt-template-page) .jsy-nav > ul > li.is-current > a,
.gfpt-page:not(.gfpt-template-page) .jsy-nav > ul > li > a:hover {
  color: var(--jsy-gold);
}

.gfpt-page:not(.gfpt-template-page) .jsy-shop-menu button .fa-shopping-cart {
  color: var(--jsy-gold);
}

.gfpt-logo {
  min-width: 236px;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gfpt-logo .gfpt-logo__mark {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(228, 173, 47, 0.72);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jsy-gold);
  background: radial-gradient(circle, #fff9ea 0%, #ffffff 72%);
  font: 700 26px / 1 var(--jsy-font-kai);
}

.gfpt-logo .gfpt-logo__text {
  position: static;
  display: block;
  transform: none;
  color: var(--jsy-gold);
  font: 700 27px / 1.1 var(--jsy-font-kai);
  white-space: nowrap;
}

.gfpt-logo__text::after {
  content: "HUANGGUOSHU JIUYE";
  display: block;
  margin-top: 5px;
  color: rgba(228, 173, 47, 0.7);
  font: 700 8px / 1 var(--jsy-font-num);
  letter-spacing: 0.2em;
}

.gfpt-main {
  padding-top: 75px;
}

.gfpt-template-page .gfpt-main {
  padding-top: 0;
}

.gfpt-template-page .jsy-header {
  background: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.gfpt-template-page .jsy-header.is-red {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

.gfpt-template-page .jsy-header:not(.is-red) .jsy-nav > ul > li > a,
.gfpt-template-page .jsy-header:not(.is-red) .jsy-header__contact {
  color: #ffffff;
}

.gfpt-template-page .jsy-header:not(.is-red) .jsy-nav i {
  color: #ffffff;
}

.gfpt-template-page .jsy-header:not(.is-red) .jsy-shop-menu button .fa-shopping-cart {
  color: #ffffff;
}

.gfpt-template-page .jsy-header.is-red .jsy-nav > ul > li > a,
.gfpt-template-page .jsy-header.is-red .jsy-header__contact {
  color: #333333;
}

.gfpt-template-page .jsy-header.is-red .jsy-nav i {
  color: #c9c9c9;
}

.gfpt-template-page .jsy-nav > ul > li.is-current > a,
.gfpt-template-page .jsy-nav > ul > li > a:hover {
  color: var(--jsy-gold);
}

.gfpt-template-page .jsy-header.is-red .jsy-shop-menu button .fa-shopping-cart {
  color: #333333;
}

.gfpt-banner {
  position: relative;
  height: 230px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 clamp(28px, 4.6vw, 90px) 34px;
  color: #fff7e7;
  background:
    linear-gradient(90deg, #b10000 0%, #8e0000 42%, #720000 100%),
    radial-gradient(circle at 80% 4%, rgba(255, 218, 133, 0.2), transparent 32%);
}

.gfpt-banner::before,
.gfpt-banner::after,
.gfpt-banner__ribbon {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  pointer-events: none;
}

.gfpt-banner::before {
  top: 70px;
  height: 92px;
  transform: rotate(-2.4deg);
  background: repeating-linear-gradient(
    0deg,
    #ffe0a3 0,
    #ffe0a3 5px,
    #b80c04 5px,
    #b80c04 11px,
    #fff0c2 11px,
    #fff0c2 17px,
    #e58a3c 17px,
    #e58a3c 22px
  );
  box-shadow: 0 16px 28px rgba(83, 0, 0, 0.22);
}

.gfpt-banner::after {
  top: 106px;
  height: 64px;
  transform: rotate(1.7deg);
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 231, 171, 0.98) 0,
    rgba(255, 231, 171, 0.98) 4px,
    rgba(196, 28, 10, 0.84) 4px,
    rgba(196, 28, 10, 0.84) 9px,
    rgba(247, 169, 88, 0.92) 9px,
    rgba(247, 169, 88, 0.92) 14px
  );
  opacity: 0.95;
}

.gfpt-banner__ribbon {
  top: 58px;
  height: 1px;
  background: rgba(255, 232, 180, 0.55);
}

.gfpt-banner__text {
  position: relative;
  z-index: 2;
  text-align: right;
  text-shadow: 0 3px 8px rgba(68, 0, 0, 0.48);
}

.gfpt-banner__text span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 244, 214, 0.86);
  font: 700 12px / 1 var(--jsy-font-num);
  letter-spacing: 0.22em;
}

.gfpt-banner__text strong {
  display: block;
  font: 700 clamp(24px, 2.1vw, 36px) / 1.2 var(--jsy-font-song);
}

.gfpt-shell {
  padding: 38px clamp(22px, 2.1vw, 44px) 40px;
  background: #f5f5f5;
}

.gfpt-navbox {
  width: 100%;
  min-height: 74px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  background: #ffffff;
}

.gfpt-breadcrumb {
  min-width: 0;
  padding: 0 clamp(28px, 3.4vw, 62px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #8c8c8c;
  font-size: 16px;
}

.gfpt-breadcrumb a {
  color: var(--jsy-gold);
}

.gfpt-breadcrumb em {
  color: #8c8c8c;
  font-style: normal;
}

.gfpt-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 164px));
  align-items: stretch;
  justify-content: end;
}

.gfpt-tabs a {
  min-height: 74px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  background: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: color 160ms ease, background 160ms ease;
}

.gfpt-tabs a:hover,
.gfpt-tabs a.is-active {
  color: #ffffff;
  background: var(--jsy-gold);
}

.gfpt-panel {
  width: 100%;
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(34px, 3.6vw, 58px) clamp(28px, 3.6vw, 58px) 58px;
  background: #ffffff;
}

.gfpt-panel__head {
  min-height: 82px;
  margin-bottom: 38px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gfpt-panel__head h1 {
  margin: 0;
  color: #333333;
  font: 700 clamp(26px, 2vw, 34px) / 1.35 var(--jsy-font-song);
}

.gfpt-panel__head span {
  color: rgba(90, 90, 90, 0.2);
  font: 700 clamp(26px, 2.4vw, 42px) / 1 var(--jsy-font-kai);
  white-space: nowrap;
}

.gfpt-platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 26px;
}

.gfpt-card {
  position: relative;
  min-width: 0;
  min-height: 356px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #555555;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.gfpt-card.is-hidden {
  display: none;
}

.gfpt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.11);
}

.gfpt-card__visual {
  height: clamp(250px, 18.4vw, 316px);
  padding: 24px 18px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 78%, #fafafa 100%);
}

.gfpt-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.gfpt-card__label {
  min-height: 64px;
  width: min(78%, 260px);
  margin: -16px auto 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  background: #f9f9f9;
  border: 1px solid #f1f1f1;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font: 700 18px / 1.45 var(--jsy-font-song);
  text-align: center;
}

.gfpt-qr {
  position: relative;
  width: min(88%, 300px);
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, #111111 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(#111111 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(90deg, transparent 14px, #111111 14px 20px, transparent 20px) 0 0 / 34px 34px,
    #ffffff;
  box-shadow: inset 0 0 0 12px #ffffff;
}

.gfpt-qr--dense {
  background:
    linear-gradient(90deg, #111111 7px, transparent 7px) 0 0 / 19px 19px,
    linear-gradient(#111111 7px, transparent 7px) 0 0 / 19px 19px,
    linear-gradient(45deg, transparent 47%, #111111 47% 55%, transparent 55%) 0 0 / 17px 17px,
    #ffffff;
}

.gfpt-qr--classic {
  background:
    linear-gradient(90deg, #111111 12px, transparent 12px) 0 0 / 32px 32px,
    linear-gradient(#111111 12px, transparent 12px) 0 0 / 32px 32px,
    linear-gradient(135deg, transparent 45%, #111111 45% 54%, transparent 54%) 0 0 / 28px 28px,
    #ffffff;
}

.gfpt-qr--dark {
  background:
    linear-gradient(90deg, #0b1024 9px, transparent 9px) 0 0 / 24px 24px,
    linear-gradient(#0b1024 9px, transparent 9px) 0 0 / 24px 24px,
    radial-gradient(circle, #0b1024 28%, transparent 29%) 0 0 / 26px 26px,
    #ffffff;
}

.gfpt-qr--large {
  width: min(88%, 300px);
  background:
    linear-gradient(90deg, #111111 13px, transparent 13px) 0 0 / 34px 34px,
    linear-gradient(#111111 13px, transparent 13px) 0 0 / 34px 34px,
    radial-gradient(circle, #111111 30%, transparent 31%) 0 0 / 31px 31px,
    #ffffff;
}

.gfpt-qr__eye {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 9px solid #111111;
  background: #ffffff;
  box-shadow: inset 0 0 0 10px #ffffff, inset 0 0 0 20px #111111;
}

.gfpt-qr__eye--tl {
  left: 18px;
  top: 18px;
}

.gfpt-qr__eye--tr {
  right: 18px;
  top: 18px;
}

.gfpt-qr__eye--bl {
  left: 18px;
  bottom: 18px;
}

.gfpt-qr__seal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 4px solid #e4ad2f;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: #7e0000;
  background: #fff9ea;
  font: 700 30px / 1 var(--jsy-font-kai);
}

.gfpt-mini {
  position: relative;
  width: min(76%, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 30%, transparent 31%),
    repeating-conic-gradient(from 2deg, #101010 0 5deg, transparent 5deg 10deg);
}

.gfpt-mini::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 3px solid #111111;
}

.gfpt-mini span {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f0000;
  background: #fff9ea;
  border: 4px solid var(--jsy-gold);
  font: 700 34px / 1 var(--jsy-font-kai);
}

.gfpt-mini i {
  position: absolute;
  right: 28px;
  bottom: 38px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #20bf60;
}

.gfpt-mini i::before,
.gfpt-mini i::after {
  content: "";
  position: absolute;
  background: #ffffff;
}

.gfpt-mini i::before {
  left: 11px;
  top: 12px;
  width: 18px;
  height: 6px;
  border-radius: 8px;
  transform: rotate(-38deg);
}

.gfpt-mini i::after {
  left: 18px;
  top: 12px;
  width: 6px;
  height: 18px;
  border-radius: 8px;
  transform: rotate(42deg);
}

.gfpt-mini--video {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 30%, transparent 31%),
    repeating-conic-gradient(from 0deg, #0d1536 0 4deg, transparent 4deg 9deg);
}

.gfpt-mini--video span {
  color: #0d1536;
}

.gfpt-mini--member {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 30%, transparent 31%),
    repeating-conic-gradient(from 1deg, #1b1b1b 0 6deg, transparent 6deg 12deg);
}

.gfpt-note {
  margin-top: 34px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #777777;
  background: #fbfbfb;
  border-left: 4px solid var(--jsy-gold);
}

.gfpt-note i {
  color: var(--jsy-gold);
  font-size: 22px;
}

.gfpt-note p {
  margin: 0;
  font-size: 15px;
}

.gfpt-pages {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gfpt-pages a {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7d7d7d;
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gfpt-pages a:hover,
.gfpt-pages a.is-current {
  color: #ffffff;
  background: var(--jsy-gold);
  border-color: var(--jsy-gold);
}

.gfpt-pages a.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.gfpt-service {
  display: flex;
  flex-direction: column;
}

.gfpt-backtop {
  width: 74px;
  height: 50px;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(90, 90, 90, 0.75);
  font-size: 20px;
}

.gfpt-backtop.is-visible {
  display: flex;
}

.gfpt-footer-code {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, #111111 6px, transparent 6px) 0 0 / 15px 15px,
    linear-gradient(#111111 6px, transparent 6px) 0 0 / 15px 15px,
    #ffffff;
  box-shadow: inset 0 0 0 8px #ffffff;
}

.gfpt-footer-brand {
  display: block;
  color: var(--jsy-gold);
  font: 700 24px / 58px var(--jsy-font-kai);
  text-align: right;
}

@media (max-width: 1199px) {
  .gfpt-navbox {
    grid-template-columns: 1fr;
  }

  .gfpt-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfpt-platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .gfpt-main,
  .gfpt-page:not(.gfpt-template-page) .gfpt-main {
    padding-top: 57px;
  }

  .gfpt-logo {
    min-width: 190px;
    flex-basis: 190px;
  }

  .gfpt-logo .gfpt-logo__mark {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .gfpt-logo .gfpt-logo__text {
    font-size: 22px;
  }

  .gfpt-page .jsy-nav > ul > li > a {
    color: #ffffff;
  }

  .gfpt-template-page .jsy-header:not(.is-red) .jsy-nav > ul > li > a {
    color: #ffffff;
  }

  .gfpt-banner {
    height: 170px;
  }

  .gfpt-breadcrumb {
    min-height: 62px;
  }

  .gfpt-tabs a {
    min-height: 62px;
    font-size: 16px;
  }

  .gfpt-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfpt-card {
    min-height: 330px;
  }

  .gfpt-panel__head span {
    display: none;
  }
}

@media (max-width: 767px) {
  .gfpt-shell {
    padding: 24px 16px 48px;
  }

  .gfpt-banner {
    height: 140px;
    padding-right: 20px;
    padding-bottom: 24px;
  }

  .gfpt-banner::before {
    top: 54px;
    height: 52px;
  }

  .gfpt-banner::after {
    top: 80px;
    height: 34px;
  }

  .gfpt-banner__text span {
    display: none;
  }

  .gfpt-banner__text strong {
    font-size: 22px;
    line-height: 1.2;
    text-shadow: 0 3px 10px rgba(68, 0, 0, 0.72), 0 0 1px rgba(255, 255, 255, 0.6);
  }

  .gfpt-panel {
    padding: 28px 14px 34px;
  }

  .gfpt-panel__head {
    min-height: 64px;
    margin-bottom: 24px;
  }

  .gfpt-platforms {
    gap: 14px;
  }

  .gfpt-card__visual {
    height: 260px;
  }

  .gfpt-card__label {
    min-height: 58px;
    font-size: 15px;
  }

  .gfpt-backtop {
    width: 56px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .gfpt-logo {
    min-width: 158px;
    flex-basis: 158px;
    gap: 8px;
  }

  .gfpt-logo .gfpt-logo__mark {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .gfpt-logo .gfpt-logo__text {
    font-size: 18px;
  }

  .gfpt-logo__text::after {
    display: none;
  }

  .gfpt-tabs {
    grid-template-columns: 1fr;
  }

  .gfpt-platforms {
    grid-template-columns: 1fr;
  }

  .gfpt-card__visual {
    height: 300px;
  }

  .gfpt-note {
    align-items: flex-start;
  }

  .gfpt-footer-brand {
    text-align: left;
  }
}

.gfpt-navbox,
.gfpt-breadcrumb {
  min-height: 60px;
}

.gfpt-breadcrumb {
  font-size: 14px;
}

.gfpt-breadcrumb .is-active {
  color: var(--jsy-gold);
  font-weight: 400;
}

.gfpt-tabs a {
  min-height: 60px;
  font-size: 16px;
  font-weight: 400;
}

.gfpt-navbox {
  margin-bottom: 34px;
  padding: 0 clamp(62px, 3.9vw, 80px);
  display: flex;
  gap: 36px;
  justify-content: space-between;
  align-items: stretch;
}

.gfpt-breadcrumb {
  padding: 0;
  gap: 8px;
  color: #8e8e8e;
}

.gfpt-breadcrumb a {
  transition: color 160ms ease;
}

.gfpt-breadcrumb a:hover {
  color: var(--jsy-gold-600);
}

.gfpt-breadcrumb em {
  color: #8e8e8e;
}

.gfpt-tabs {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  color: #333333;
  white-space: nowrap;
}

.gfpt-tabs a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 60px;
  min-height: 0;
  padding: 0 34px;
  background: #ffffff;
  transition: color 160ms ease;
}

.gfpt-tabs a.is-active {
  background: var(--jsy-gold);
}

.gfpt-tabs a:hover:not(.is-active) {
  background: #ffffff;
}

.gfpt-tabs a.is-hovering {
  color: #ffffff;
}

.gfpt-tabs a:focus-visible {
  outline: 2px solid var(--jsy-gold);
  outline-offset: -2px;
}

.gfpt-tab__label {
  position: relative;
  z-index: 1;
}

.gfpt-tab__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--jsy-gold);
  opacity: 0;
  visibility: hidden;
  transform: scaleX(0);
  transform-origin: center center;
  will-change: transform;
}

.gfpt-tabs a.is-active .gfpt-tab__fill {
  opacity: 1;
  visibility: visible;
  transform: scaleX(1);
}

@media (max-width: 1199px) {
  .gfpt-navbox {
    padding: 0 22px;
    flex-direction: column;
    gap: 0;
  }

  .gfpt-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gfpt-tabs a,
  .gfpt-tab__fill,
  .gfpt-breadcrumb a {
    transition: none;
  }
}
