/* 会员权益介绍 membership.php — 精致、克制、高级感 */

.page.mship-page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: min(1100px, calc(100% - 32px));
  margin-top: 36px;
  margin-bottom: 48px;
  padding: 8px 0 40px;
}

.mship-hero {
  text-align: center;
  padding: 48px 20px 40px;
  margin-bottom: 8px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 252, 0.4) 100%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.06);
}

.mship-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #64748b;
}

.mship-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.2;
}

.mship-lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}

.mship-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.mship-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 22px 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.mship-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.mship-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 11px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mship-card--normal .mship-card-badge {
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.mship-card--vip .mship-card-badge {
  color: #92400e;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.mship-card--svip .mship-card-badge {
  color: #312e81;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 55%, #ddd6fe 100%);
  border: 1px solid rgba(129, 140, 248, 0.45);
}

.mship-card--vip {
  border-color: rgba(251, 191, 36, 0.35);
  background:
    linear-gradient(165deg, rgba(255, 251, 235, 0.5) 0%, rgba(255, 255, 255, 0.95) 38%, rgba(248, 250, 252, 0.98) 100%);
}

.mship-card--svip {
  border-color: rgba(129, 140, 248, 0.4);
  background:
    linear-gradient(165deg, rgba(238, 242, 255, 0.55) 0%, rgba(255, 255, 255, 0.96) 40%, rgba(248, 250, 252, 0.99) 100%);
}

.mship-card-name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.mship-card-tagline {
  margin: 0 0 18px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.mship-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mship-metric {
  flex: 1 1 auto;
  min-width: calc(50% - 6px);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.mship-metric-val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e293b;
}

.mship-metric-label {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.mship-features {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 13px;
  line-height: 1.65;
  color: #334155;
  flex: 1;
}

.mship-features li {
  margin-bottom: 8px;
}

.mship-features li:last-child {
  margin-bottom: 0;
}

.mship-features a {
  color: #4338ca;
  font-weight: 600;
  text-decoration: none;
}

.mship-features a:hover {
  text-decoration: underline;
}

.mship-intro {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

.mship-intro p {
  margin: 0 0 8px;
}

.mship-intro p:last-child {
  margin-bottom: 0;
}

.mship-intro-muted {
  margin: 0;
  font-style: italic;
  color: #94a3b8;
}

.mship-intro-body {
  margin: 0;
}

.mship-foot {
  margin-top: 36px;
  padding: 22px 20px;
  text-align: center;
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.mship-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
}

.mship-foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 4px 14px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

.mship-foot-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 28px rgba(15, 23, 42, 0.1);
}

.mship-foot-btn:active {
  transform: translateY(0);
}

.mship-foot-btn:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}

.mship-foot-btn--home {
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(226, 232, 240, 0.95);
}

.mship-foot-btn--home:hover {
  border-color: #cbd5e1;
}

.mship-foot-btn--theme {
  color: #4c1d95;
  background: linear-gradient(165deg, #faf5ff 0%, #f3e8ff 55%, #ede9fe 100%);
  border-color: rgba(196, 181, 253, 0.65);
}

.mship-foot-btn--theme:hover {
  filter: brightness(1.02);
  border-color: rgba(139, 92, 246, 0.45);
}

.mship-foot-btn--manage {
  color: #78350f;
  background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%);
  border-color: rgba(251, 191, 36, 0.55);
}

.mship-foot-btn--manage:hover {
  filter: brightness(1.03);
  border-color: rgba(217, 119, 6, 0.45);
}

.mship-foot-btn--sun {
  color: #b45309;
  background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border-color: rgba(245, 158, 11, 0.45);
}

.mship-foot-btn--sun:hover {
  filter: brightness(1.03);
  border-color: rgba(217, 119, 6, 0.5);
}

@media (max-width: 480px) {
  .mship-foot-links {
    flex-direction: column;
    align-items: stretch;
  }

  .mship-foot-btn {
    width: 100%;
  }
}

.mship-crumb {
  margin: 0 0 20px;
  font-size: 13px;
}

.mship-crumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.mship-crumb a:hover {
  color: #334155;
}

.mship-crumb-sep {
  margin: 0 8px;
  color: #cbd5e1;
  font-weight: 400;
}

@media (max-width: 900px) {
  .mship-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mship-card {
    transition: none;
  }

  .mship-card:hover {
    transform: none;
  }

  .mship-foot-btn {
    transition: none;
  }

  .mship-foot-btn:hover {
    transform: none;
  }
}
