@font-face {
  font-family: "MontDemo";
  src: url("../mont-heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DingTalk JinBuTi";
  src: url("../DingTalk-JinBuTi.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #604ac5;
  --mint: #45d689;
  --white: #fff;
  --page-max: 960px;
  --radius: 16px;
  --font-main: "DingTalk JinBuTi", "钉钉进步体", "DingTalk JinBuTi Regular", Arial, "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--purple);
}

body {
  margin: 0;
  min-width: 1425px;
  min-height: 100vh;
  color: var(--white);
  font-family: var(--font-main);
  background: var(--purple);
  overflow-x: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  z-index: 0;
  top: -100px;
  width: 1425px;
  margin: 0 auto;
  padding: 0;
  background: var(--purple);
}

.page::before {
  content: "";
  position: absolute;
  left: 64px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.side-word {
  position: absolute;
  left: 0;
  top: 640px;
  z-index: 2;
  width: 116px;
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-main);
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  pointer-events: none;
}

.side-word::before {
  content: "";
  position: absolute;
  left: 64px;
  top: -40px;
  bottom: -760px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(180deg);
}

.side-word::after {
  content: "";
  position: absolute;
  right: 21px;
  top: 68px;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 999px;
  transform: rotate(180deg);
}

.layout-container,
.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  min-height: 586px;
  align-items: start;
}

.hero-copy {
  padding-top: 76px;
}

.kicker {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(58px, 6vw, 94px);
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.kicker .green {
  color: #45d689;
}

.hero h1 {
  margin: 18px 0 52px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

.hero p:not(.kicker) {
  width: min(575px, 100%);
  margin: 0 0 44px;
  font-size: 14px;
  line-height: 1.55;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 109px;
  height: 46px;
  border: 2px solid var(--mint);
  border-radius: 999px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.hero-art img {
  width: min(575px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 30px rgba(21, 16, 63, 0.28));
}

.home-content {
  display: block;
  clear: both;
  margin-top: 20px;
}

.category-grid {
  display: grid;
  gap: 10px;
}

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

.ranking-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  margin-bottom: 10px;
}

.equipment-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.explore-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.category-card {
  display: block;
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 32px 30px;
  color: var(--white);
  transform: translateY(0);
  box-shadow: 0 0 0 rgba(28, 17, 82, 0);
  transition:
    transform 420ms cubic-bezier(.2,.8,.2,1),
    box-shadow 420ms ease,
    filter 420ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(0);
  box-shadow: 0 24px 42px rgba(28, 17, 82, 0.24);
  filter: saturate(1.06);
  outline: none;
}

.category-card:hover .category-visual,
.category-card:focus-visible .category-visual {
  transform: rotate(-2deg) scale(1.04);
}

.category-card:hover .category-index,
.category-card:focus-visible .category-index {
  background: #fff;
  color: var(--purple);
  border-color: #fff;
}

.category-card::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  right: -28px;
  bottom: -36px;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.18);
}

.category-card.rubber {
  background: #f78697;
}

.category-card.blade {
  background: #eaad67;
}

.category-card.gear {
  background: #55adff;
}

.category-card.ranking-men {
  min-height: 255px;
  background: #6b72ff;
}

.category-card.ranking-women {
  min-height: 255px;
  background: #ff7f9a;
}

.category-card.ranking-doubles {
  min-height: 255px;
  background: #6a62de;
}

.category-card.venue {
  min-height: 350px;
  background: #55d390;
}

.category-card.activity {
  min-height: 350px;
  background: #ff8f62;
}

.category-card.materials {
  min-height: 205px;
  background: #7357d7;
}

.category-card.materials::before {
  right: -24px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.16);
}

.category-card.rubber-code {
  min-height: 205px;
  background: #2f286d;
}

.category-card.materials h3,
.category-card.rubber-code h3 {
  max-width: 360px;
  font-size: 28px;
}

.category-card.materials p,
.category-card.rubber-code p {
  max-width: 345px;
}

.material-visual {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  width: 118px;
  height: 76px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  box-shadow: 0 18px 28px rgba(28, 17, 82, 0.22);
  transform: rotate(-6deg);
  pointer-events: none;
}

.material-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card:hover .material-visual,
.category-card:focus-visible .material-visual {
  transform: rotate(-4deg) scale(1.04);
}

.category-card.rubber-code {
  min-height: 205px;
  background: #2f286d;
}

.category-card.rubber-code::before {
  right: 32px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  background: rgba(69, 214, 137, 0.22);
}

.rubber-code-mark {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.18);
  font-size: 62px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
}

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 64px auto 0;
  padding: 28px 0 50px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.8;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.76);
}

.category-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.category-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  max-width: 240px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.18;
}

.category-card p {
  position: relative;
  z-index: 2;
  max-width: 245px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.category-visual {
  position: absolute;
  right: -12px;
  bottom: -16px;
  z-index: 1;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(28, 17, 82, 0.18));
  transition: transform 460ms cubic-bezier(.2,.8,.2,1);
}

.category-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.rubber .category-visual {
  width: 235px;
}

.blade .category-visual {
  right: -6px;
  bottom: -6px;
  width: 205px;
}

.gear .category-visual {
  right: -24px;
  bottom: -18px;
  width: 250px;
}

.ranking-men .category-visual,
.ranking-women .category-visual,
.ranking-doubles .category-visual {
  right: -46px;
  bottom: -44px;
  width: 265px;
}

.venue .category-visual {
  right: -34px;
  bottom: -30px;
  width: 360px;
}

.activity .category-visual {
  right: -10px;
  bottom: -34px;
  width: 330px;
}

.xpq-floating-tools {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.xpq-float-button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  box-shadow: 0 14px 34px rgba(28, 17, 82, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.xpq-float-button:hover,
.xpq-float-button:focus-visible {
  background: var(--mint);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.xpq-float-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

body.xpq-modal-open {
  overflow: hidden;
}

.xpq-home-modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.xpq-home-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.xpq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 20, 87, 0.68);
  backdrop-filter: blur(10px);
}

.xpq-modal-panel {
  position: relative;
  z-index: 1;
  width: 920px;
  height: min(720px, calc(100vh - 84px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  color: #2e245f;
  box-shadow: 0 34px 90px rgba(25, 14, 72, 0.34);
}

.xpq-modal-head {
  position: relative;
  display: block;
  padding: 30px 34px 22px;
  border-bottom: 1px solid #eeeaf8;
}

.xpq-modal-kicker {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(96, 74, 197, 0.09);
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.xpq-modal-head h2 {
  margin: 0;
  color: #2e245f;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 900;
}

.xpq-modal-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #756f91;
  font-size: 14px;
  line-height: 1.7;
}

.xpq-search-form {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
  padding: 6px;
  border-radius: 999px;
  background: #f4f1ff;
  border: 1px solid #eeeaf8;
}

.xpq-search-form input {
  width: 100%;
  height: 42px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 16px;
  color: #2e245f;
  font: inherit;
  font-size: 15px;
}

.xpq-search-form button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.xpq-modal-close {
  position: absolute;
  right: 34px;
  top: 30px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f4f1ff;
  color: var(--purple);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.xpq-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 24px 34px 34px;
}

.xpq-modal-list {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  padding: 0 4px 18px 0;
  scroll-padding-bottom: 18px;
}

.xpq-modal-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  height: 92px;
  padding: 10px;
  border: 1px solid #eeeaf8;
  border-radius: 15px;
  background: #faf9ff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.xpq-modal-item:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 74, 197, 0.25);
  box-shadow: 0 14px 28px rgba(45, 34, 105, 0.1);
}

.xpq-modal-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xpq-modal-thumb img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  display: block;
}

.xpq-modal-title {
  color: #2e245f;
  font-size: 14px;
  line-height: 1.32;
  font-weight: 900;
  display: -webkit-box;
  min-height: 37px;
  max-height: 37px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xpq-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #756f91;
  font-size: 12px;
  line-height: 1.2;
}

.xpq-modal-empty {
  grid-column: 1 / -1;
  min-height: 120px;
  border-radius: 16px;
  background: #faf9ff;
  color: #756f91;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.xpq-modal-item.is-hidden,
.xpq-modal-empty.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    min-height: auto;
    padding: 0 20px;
    background: var(--purple);
  }

  .page::before {
    left: 20px;
  }

  .side-word {
    display: none;
  }

  .layout-container,
  .wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .kicker {
    white-space: normal;
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero h1 {
    margin: 16px 0 32px;
    font-size: 24px;
  }

  .hero p:not(.kicker) {
    margin-bottom: 28px;
  }

  .hero-art {
    padding-top: 0;
  }

  .equipment-grid,
  .equipment-tool-grid,
  .ranking-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card.venue,
  .category-card.activity {
    min-height: 286px;
    padding: 30px;
  }

  .category-index {
    margin-bottom: 32px;
  }

  .category-card h3 {
    font-size: 24px;
  }

  .category-card p {
    max-width: 250px;
  }

  .rubber .category-visual {
    width: 210px;
  }

  .blade .category-visual {
    width: 190px;
  }

  .gear .category-visual {
    width: 220px;
  }

  .venue .category-visual {
    width: 280px;
  }

  .activity .category-visual {
    width: 260px;
  }

  .site-footer {
    max-width: 640px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

}
