/**
 * Lucki Studios — server hub pages (matches home inpvp theme)
 */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap');

body.hub-body.server-hub {
  background: #f5f5f7 !important;
}

body.server-hub--ztt,
body[data-site-context="ztt"] {
  --server-accent: #d97706;
  --server-accent-soft: rgba(217, 119, 6, 0.14);
  --server-card-bg: url('../assets/hub/card-bg-tier-testing.png?v=2');
  --server-stripe: linear-gradient(180deg, #f59e0b, #d97706);
}

body.server-hub--coaching,
body[data-site-context="coaching"] {
  --server-accent: #dc2626;
  --server-accent-soft: rgba(220, 38, 38, 0.14);
  --server-card-bg: url('../assets/hub/card-bg-coaching.png?v=2');
  --server-stripe: linear-gradient(180deg, #ef4444, #b91c1c);
}

/* —— Global Lucki hub theme —— */
body.hub-body:not(.hub-home) {
  background: #f5f5f7 !important;
  background-image: none !important;
  color: #0f172a;
}

body.hub-body:not(.hub-home) .hub-shell,
body.hub-body:not(.hub-home) .platform-page-shell,
body.hub-body:not(.hub-home) .hub-page {
  background: #f5f5f7;
}

/* White frosted nav on all hub pages (site-nav.css base) */
body.hub-body .site-nav.navbar,
body.hub-body .site-nav.navbar.scrolled,
body.hub-body .site-nav.navbar.is-scrolled,
body.hub-body.server-hub .site-nav.navbar,
body.hub-body.server-hub .site-nav.navbar.scrolled,
body.hub-body.server-hub .site-nav.navbar.is-scrolled,
body.hub-body.hub-subpage .site-nav.navbar,
body.hub-body.hub-subpage .site-nav.navbar.scrolled,
body.hub-body.hub-subpage .site-nav.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

body.hub-body .site-nav-link,
body.hub-body .site-nav-dropdown-toggle,
body.hub-body .site-nav-brand--studios .lucki-studios-wordmark--nav,
body.hub-body .site-nav-brand--studios .lucki-studios-wordmark__lucki,
body.hub-body .site-nav-brand--studios .lucki-studios-wordmark__studios,
body.hub-body.hub-subpage .site-nav-link,
body.hub-body.hub-subpage .site-nav-dropdown-toggle {
  color: #475569 !important;
}

body.hub-body .site-nav-link:hover,
body.hub-body .site-nav-dropdown-toggle:hover,
body.hub-body.hub-subpage .site-nav-link:hover,
body.hub-body.hub-subpage .site-nav-dropdown-toggle:hover {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.06) !important;
}

body.hub-body .site-nav-link--active,
body.hub-body.hub-subpage .site-nav-link--active {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.08) !important;
}

body.hub-body .site-nav-signin-btn {
  background: #5865f2 !important;
  color: #fff !important;
  border: none !important;
}

body.hub-body .site-nav-menu-btn,
body.hub-body .site-nav-lang-btn {
  color: #475569 !important;
}

body.hub-body .lucki-studios-logo--nav {
  filter: none;
}

@media (max-width: 1023px) {
  body.hub-body .site-nav-drawer .site-nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
  }

  body.hub-body .site-nav-drawer .site-nav-link,
  body.hub-body .site-nav-drawer .site-nav-dropdown-item {
    color: #334155 !important;
  }
}

body.hub-body .hub-card,
body.hub-body .platform-leaderboard.hub-card,
body.hub-body .staff-page-card,
body.hub-body .info-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

body.hub-body .platform-page-header h1,
body.hub-body .hub-page-hero h1 {
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
}

/* Page shell spacing — clear fixed 96px nav */
body.hub-body .platform-page-shell {
  padding-top: var(--shell-head-pad-top, 116px);
  padding-left: var(--shell-pad-x, clamp(16px, 4vw, 24px));
  padding-right: var(--shell-pad-x, clamp(16px, 4vw, 24px));
  padding-bottom: 64px;
  max-width: var(--shell-max, 1120px);
  margin: 0 auto;
  min-height: 50vh;
}

body.hub-body .platform-page {
  padding-top: 0;
  padding-bottom: 48px;
  max-width: 960px;
  margin: 0 auto;
}

body.hub-body .hub-page:not(:has(.hub-page-hero)),
body.hub-body .creator-program-page,
body.hub-body .tourney-inactive,
body.hub-body #newsRoot.platform-page-shell,
body.hub-body #hofRoot.platform-page-shell {
  padding-top: var(--shell-head-pad-top, 116px);
  padding-bottom: 64px;
}

body.hub-body .hub-page {
  padding-bottom: 64px;
}

body.hub-body .account-page {
  padding-top: var(--shell-head-pad-top, 116px);
  padding-bottom: 64px;
}

body.hub-body .info-page {
  padding-top: 0;
  padding-bottom: 64px;
}

/* —— Hero (home hub-home-hero + card media bg) —— */
.server-hub-hero {
  position: relative;
  min-height: min(88vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--shell-head-pad-top, 116px) + 12px) 1.25rem clamp(48px, 8vh, 64px);
  overflow: hidden;
  text-align: center;
}

.server-hub-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--server-card-bg) center / cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
}

.server-hub-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.55) 0%, rgba(6, 10, 18, 0.32) 42%, rgba(6, 10, 18, 0.78) 100%),
    radial-gradient(ellipse 70% 50% at 50% 32%, rgba(112, 168, 255, 0.12), transparent 60%);
}

.server-hub-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}

.server-hub-hero__logo-slot {
  width: min(94%, 320px);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-hub-hero--coaching .server-hub-hero__logo-slot {
  width: min(98%, 560px);
  height: clamp(360px, 55vh, 520px);
}

.server-hub-hero .server-hub-wordmark {
  max-width: min(92vw, 300px);
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.55));
}

.server-hub-hero--coaching .server-hub-wordmark {
  max-width: min(96vw, 560px);
  max-height: min(70vh, 520px);
  width: auto;
  height: auto;
}

.server-hub-hero .server-hub-tagline {
  margin: 0;
  max-width: 52ch;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.server-hub-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #eff6ff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(59, 130, 246, 0.22));
  border: 1px solid rgba(147, 197, 253, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.server-hub-hero__count i {
  color: #93c5fd;
}

.server-hub-hero .hub-hero-live-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.server-hub-hero .hero-live-stat {
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.server-hub-hero .hero-live-stat-val {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.server-hub-hero .hero-live-stat-lbl {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.server-hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.server-hub-hero-actions .mz-btn--ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

.server-hub-hero-actions .mz-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.server-hub-hero-actions .hub-home-hero__view-btn {
  margin-top: 0;
}

/* —— Hub menu (home gates section) —— */
.server-hub-menu {
  padding: clamp(48px, 8vw, 72px) 1.25rem clamp(56px, 8vw, 80px);
  background: #f5f5f7;
  scroll-margin-top: 100px;
}

.server-hub-menu .hub-home-gates__head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.hub-menu-grid {
  display: grid;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.hub-menu-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: #0f172a;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hub-menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--server-stripe);
}

.hub-menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.hub-menu-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--server-accent-soft);
  color: var(--server-accent);
  font-size: 1.05rem;
  margin-top: 4px;
}

.hub-menu-card__text strong {
  display: block;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.hub-menu-card__text span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}

.hub-menu-card--discord .hub-menu-card__icon {
  color: #5865f2;
  background: rgba(88, 101, 242, 0.12);
}

/* Spotlight / about blocks */
.server-hub-spotlight {
  padding: clamp(40px, 6vw, 56px) 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.server-hub-spotlight__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.server-hub-spotlight__inner h2 {
  margin: 0 0 12px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
}

.server-hub-spotlight__inner p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
}

.server-hub-spotlight__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--server-accent);
  text-decoration: none;
}

.server-hub-spotlight__link:hover {
  text-decoration: underline;
}

/* —— Content sections (about, features, steps) —— */
.server-hub-content {
  padding: clamp(40px, 6vw, 64px) 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.server-hub-content--alt {
  background: #f5f5f7;
}

.server-hub-content__inner {
  max-width: 960px;
  margin: 0 auto;
}

.server-hub-content__head {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.server-hub-content__eyebrow {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--server-accent);
}

.server-hub-content__head h2 {
  margin: 0 0 10px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
}

.server-hub-content__head p {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
}

.server-hub-content__body {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

.server-hub-content__body p {
  margin: 0 0 14px;
}

.server-hub-feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.server-hub-feature-card {
  padding: 20px 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.server-hub-content--alt .server-hub-feature-card {
  background: #fff;
}

.server-hub-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--server-stripe);
}

.server-hub-feature-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--server-accent-soft);
  color: var(--server-accent);
  font-size: 1rem;
}

.server-hub-feature-card h3 {
  margin: 0 0 6px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.server-hub-feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.server-hub-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.server-hub-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.server-hub-content--alt .server-hub-steps li {
  background: #fff;
}

.server-hub-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
  background: var(--server-stripe);
  border-radius: 10px;
}

.server-hub-steps h3 {
  margin: 0 0 4px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.server-hub-steps p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.server-hub-content__cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.server-hub-content__cta .hub-nav-cta,
.server-hub-content__cta .server-hub-spotlight__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 700;
  color: #fff;
  background: var(--server-accent);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
}

.server-hub-content__cta .hub-nav-cta:hover,
.server-hub-content__cta .server-hub-spotlight__link:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

/* Sub-pages banner */
.hub-page-hero {
  position: relative;
  padding: calc(var(--shell-head-pad-top, 116px) + 8px) 1.25rem clamp(32px, 5vh, 48px);
  overflow: hidden;
  text-align: center;
}

.hub-page-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--server-card-bg, url('../assets/hub/card-bg-tier-testing.png?v=2')) center / cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
}

body[data-site-context="coaching"] .hub-page-hero__bg {
  background-image: url('../assets/hub/card-bg-coaching.png?v=2');
}

.hub-page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.62) 0%, rgba(6, 10, 18, 0.82) 100%);
}

.hub-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hub-page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.hub-page-hero p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

body.hub-body .hub-container,
body.hub-body .knowledge-page-content,
body.hub-body .info-container {
  padding-left: var(--shell-pad-x, clamp(16px, 4vw, 24px));
  padding-right: var(--shell-pad-x, clamp(16px, 4vw, 24px));
  max-width: var(--shell-max, 1120px);
  margin: 0 auto;
}

body.hub-body .platform-page-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

body.hub-body .platform-page-footer-link a {
  color: var(--server-accent, #d97706);
  text-decoration: none;
}

body.hub-body .platform-page-footer-link a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .hub-menu-grid {
    grid-template-columns: 1fr;
  }

  .server-hub-hero {
    min-height: min(72vh, 520px);
  }

  .server-hub-hero--coaching .server-hub-hero__logo-slot {
    height: clamp(320px, 48vh, 440px);
  }
}

/* —— Remove legacy checkered orange/gold stripes —— */
body.hub-body .hub-card::before,
body.hub-body .info-card::before,
body.hub-body .live-sidebar-inner::before,
body.hub-body .platform-link-discord-card::before {
  display: none !important;
}

body.hub-body .hub-card,
body.hub-body .info-card {
  padding-top: 24px !important;
}

/* Hero logos centred */
.hub-page-hero__logo {
  display: block;
  max-width: min(280px, 72vw);
  max-height: 120px;
  width: auto;
  height: auto;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
}

body[data-site-context="coaching"] .hub-page-hero__logo {
  max-width: min(240px, 64vw);
  max-height: 160px;
}

.hub-page-hero .platform-season-badge,
.hub-page-hero .platform-season-badge--lg {
  display: inline-block;
  margin: 0 auto 12px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: none;
}

/* Leaderboard + platform pages */
body.hub-body .platform-lb-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

body.hub-body .platform-lb-tab {
  flex-shrink: 0;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.hub-body .platform-lb-tab--active {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}

body.hub-body .platform-leaderboard.hub-card {
  padding: 0;
  overflow: hidden;
}

body.hub-body .platform-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

body.hub-body .platform-leaderboard-table th,
body.hub-body .platform-leaderboard-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 640px) {
  body.hub-body .platform-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .platform-leaderboard-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .platform-leaderboard-table th,
  .platform-leaderboard-table td {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
}

/* Info / knowledge content cards */
body.hub-body .info-card,
body.hub-body .info-page .info-container {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body.hub-body .info-section h2 {
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 1.125rem;
  text-transform: none;
  text-shadow: none;
  color: #0f172a;
}

body.hub-body .knowledge-page-content {
  padding: 0 1.25rem 64px;
  max-width: 960px;
  margin: 0 auto;
}

body.hub-body .knowledge-page-content .platform-page-header {
  display: none;
}

body.hub-body .platform-page-footer-link {
  margin-top: 20px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}

body.hub-body .platform-page-footer-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}

body.hub-body .platform-page-footer-link a:hover {
  text-decoration: underline;
}

body.hub-body .platform-kb-card {
  padding: 20px;
}

body[data-site-context="coaching"] .hub-page-hero__logo {
  max-width: min(480px, 82vw);
  max-height: min(70vh, 520px);
}

body.server-hub--coaching .server-hub-hero--coaching .server-hub-wordmark--coaching {
  max-width: min(96vw, 560px) !important;
  max-height: min(70vh, 520px) !important;
}

/* Classic platform page headers (leaderboard, etc.) */
body.hub-body .platform-page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  gap: 8px;
}

body.hub-body .platform-page-header h1 {
  margin: 0 0 8px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

body.hub-body .platform-page-header p {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
}

body.hub-body .platform-season-badge--lg {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--lucki-wordmark, 'Fredoka', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
}
