/* 模式选择：1280×720 舞台内居中构图，卡片不拉满高度 */

.hub-body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  color: #ebe4d4;
  background: #0a0908;
  font-family: var(--font-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif);
}

.hub-screen {
  display: grid;
  place-items: center;
  height: 100%;
  width: 100%;
  padding: 2rem 2.25rem 1.75rem;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 70% 48% at 50% 8%, rgba(48, 110, 70, 0.32), transparent 62%),
    radial-gradient(ellipse 42% 36% at 88% 92%, rgba(90, 55, 18, 0.22), transparent 55%),
    linear-gradient(180deg, #16130f 0%, #0e0c0a 100%);
  overflow: hidden;
}

.hub-shell {
  width: min(58rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.35rem;
  box-sizing: border-box;
}

.hub-hero {
  flex-shrink: 0;
  text-align: center;
  padding: 0 0.5rem;
}

.hub-logo {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.65rem;
  border-radius: 1.05rem;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(240, 192, 64, 0.28),
    0 0.55rem 1.4rem rgba(0, 0, 0, 0.45);
}

.hub-brand {
  margin: 0;
  font-family: var(--font-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif);
  font-size: 2.45rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: #f3ead7;
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 0 1.2rem rgba(212, 160, 23, 0.22);
}

.hub-sub {
  margin: 0.55rem auto 0;
  max-width: 34rem;
  color: rgba(220, 210, 190, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  /* 不占满剩余高度 */
  flex: 0 0 auto;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: auto;
  min-height: 11.5rem;
  max-height: none;
  padding: 1.25rem 1.2rem 1.3rem;
  text-decoration: none;
  color: inherit;
  border-radius: 0.65rem;
  border: 1px solid rgba(212, 160, 23, 0.28);
  background:
    linear-gradient(165deg, rgba(48, 54, 42, 0.94), rgba(14, 12, 10, 0.96) 70%);
  box-shadow:
    0 0.55rem 1.4rem rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 236, 190, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hub-card:hover {
  transform: translateY(-0.22rem);
  border-color: rgba(226, 197, 122, 0.58);
  box-shadow:
    0 0.9rem 1.8rem rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 236, 190, 0.1);
}

.hub-card:active {
  transform: translateY(-0.06rem);
}

.hub-card-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(196, 163, 90, 0.92);
}

.hub-card-name {
  font-family: var(--font-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: #f3ead7;
  font-weight: 700;
  line-height: 1.2;
}

.hub-card-desc {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(220, 210, 190, 0.76);
}

.hub-card-casual {
  border-color: rgba(90, 160, 120, 0.38);
}

.hub-card-casual:hover {
  border-color: rgba(120, 200, 150, 0.55);
}

.hub-card-coach {
  border-color: rgba(110, 150, 210, 0.42);
}

.hub-card-coach:hover {
  border-color: rgba(140, 180, 230, 0.58);
}

.hub-card-leisure {
  border-color: rgba(212, 160, 23, 0.38);
}

.hub-card-formal {
  border-color: rgba(200, 110, 70, 0.42);
}

.hub-card-formal:hover {
  border-color: rgba(230, 140, 90, 0.58);
}

.hub-note {
  flex-shrink: 0;
  margin: 0.15rem 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(200, 190, 170, 0.5);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
