/**
 * theme-home-fag — SportHub homepage design (ported from xuandac/home-fag)
 */
:root {
  --ink-50: #f6f7f9;
  --ink-100: #eceef2;
  --ink-200: #d5d9e2;
  --ink-300: #b0b8c8;
  --ink-400: #848fa6;
  --ink-500: #65718a;
  --ink-600: #505a72;
  --ink-700: #42495d;
  --ink-800: #393e4e;
  --ink-900: #1f2330;
  --ink-950: #13161f;

  --brand-50: #fdf3f3;
  --brand-100: #fbe5e5;
  --brand-400: #e57171;
  --brand-500: #d23b3d;
  --brand-600: #b81e20;
  --brand-700: #9a181a;

  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --accent-700: #c2410c;

  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;

  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Sora', system-ui, sans-serif;
  --max: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.hf-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .hf-wrap { padding-left: 2rem; padding-right: 2rem; }
}

.hf-display { font-family: var(--font-display); }
.text-balance { text-wrap: balance; }

.hf-bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hf-mask-fade-b {
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

@keyframes hf-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hf-anim-up { animation: hf-fade-up 0.7s ease-out both; }
.hf-anim-in { animation: hf-fade-in 0.8s ease-out both; }

.hf-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.hf-icon-sm { width: 1rem; height: 1rem; }
.hf-icon-md { width: 1.5rem; height: 1.5rem; }
.hf-icon-lg { width: 1.75rem; height: 1.75rem; }

/* ── Buttons ─────────────────────────────────────────── */
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.hf-btn-brand {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 10px 25px rgba(210, 59, 61, 0.3);
}
.hf-btn-brand:hover { background: var(--brand-400); }
.hf-btn-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hf-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hf-btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.hf-btn-md { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ── Navbar ──────────────────────────────────────────── */
.hf-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all 0.3s ease;
}
.hf-header.is-scrolled {
  background: rgba(19, 22, 31, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
@media (min-width: 1024px) {
  .hf-nav { padding-left: 2rem; padding-right: 2rem; }
}
.hf-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.hf-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hf-footer .hf-logo-img {
  height: 48px;
}
.hf-logo-mark {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  box-shadow: 0 8px 20px rgba(210, 59, 61, 0.3);
  color: #fff;
  transition: transform 0.2s;
}
.hf-logo:hover .hf-logo-mark { transform: scale(1.05); }
.hf-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.hf-logo-text span { color: var(--brand-400); }

.hf-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.hf-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
  transition: color 0.2s;
}
.hf-nav-links a:hover { color: #fff; }
.hf-nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.hf-nav-actions .hf-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-200);
}
.hf-nav-actions .hf-login:hover { color: #fff; }
.hf-menu-btn {
  display: flex;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 0.875rem;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.hf-menu-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 28px;
  min-height: 28px;
  stroke-width: 2.5;
}
.hf-menu-btn:active {
  transform: scale(0.96);
  background: rgba(255,255,255,0.18);
}
.hf-menu-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}
@media (max-width: 767px) {
  .hf-menu-btn {
    width: 3.25rem;
    height: 3.25rem;
    min-width: 52px;
    min-height: 52px;
    border-radius: 1rem;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.14);
  }
  .hf-menu-btn svg {
    width: 1.875rem;
    height: 1.875rem;
    min-width: 30px;
    min-height: 30px;
    stroke-width: 2.75;
  }
}
@media (min-width: 768px) {
  .hf-nav-links, .hf-nav-actions { display: flex; }
  .hf-menu-btn { display: none; }
}

/* ── Mobile drawer ───────────────────────────────────── */
.hf-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(19, 22, 31, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.hf-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.hf-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(100%, 22rem);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(180deg, #1a1f2e 0%, var(--ink-950) 40%, #0f1118 100%);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -24px 0 48px rgba(0,0,0,0.35);
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.hf-mobile-drawer.is-open {
  transform: translateX(0);
}
.hf-mobile-drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}
.hf-mobile-drawer::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -30%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 59, 61, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hf-mobile-drawer-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hf-mobile-drawer-logo img {
  height: 38px;
  width: auto;
}
.hf-mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s;
}
.hf-mobile-drawer-close:hover {
  background: rgba(255,255,255,0.14);
}

.hf-mobile-user {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 1rem 0.5rem;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.hf-mobile-user-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.hf-mobile-user strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.hf-mobile-user span {
  font-size: 0.75rem;
  color: var(--ink-300);
}

.hf-mobile-nav {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}

.hf-mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.hf-mobile-nav-item:hover,
.hf-mobile-nav-item:focus-visible {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.14);
  transform: translateX(2px);
}
.hf-mobile-nav-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.hf-mobile-nav-icon svg {
  width: 22px;
  height: 22px;
}
.hf-mobile-nav-icon--brand {
  background: rgba(210, 59, 61, 0.15);
  color: var(--brand-400);
}
.hf-mobile-nav-icon--sky {
  background: rgba(14, 165, 233, 0.15);
  color: var(--sky-500);
}
.hf-mobile-nav-icon--accent {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-500);
}
.hf-mobile-nav-icon--ink {
  background: rgba(255,255,255,0.1);
  color: var(--ink-200);
}
.hf-mobile-nav-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hf-mobile-nav-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.hf-mobile-nav-text small {
  font-size: 0.75rem;
  color: var(--ink-400);
  line-height: 1.3;
}
.hf-mobile-nav-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--ink-500);
  transition: color 0.18s, transform 0.18s;
}
.hf-mobile-nav-item:hover .hf-mobile-nav-arrow {
  color: var(--brand-400);
  transform: translateX(2px);
}

.hf-mobile-drawer-foot {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hf-mobile-btn-primary {
  width: 100%;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  font-size: 0.9375rem;
}
.hf-mobile-btn-outline {
  width: 100%;
  justify-content: center;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.hf-mobile-login-link,
.hf-mobile-register-link {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-400);
}
.hf-mobile-login-link strong,
.hf-mobile-register-link strong {
  color: #fff;
  font-weight: 700;
}

body.hf-menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .hf-mobile-backdrop,
  .hf-mobile-drawer {
    display: none !important;
  }
}

/* ── Hero ────────────────────────────────────────────── */
.hf-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  padding: 8rem 0 6rem;
}
@media (min-width: 1024px) {
  .hf-hero { padding: 10rem 0 8rem; }
}
.hf-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}
.hf-hero-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(120px);
}
.hf-hero-glow--brand {
  top: -6rem;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(210, 59, 61, 0.2);
}
.hf-hero-glow--accent {
  top: 5rem;
  right: 2.5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(249, 115, 22, 0.15);
}
.hf-hero-inner { position: relative; max-width: 48rem; margin: 0 auto; text-align: center; }
.hf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--ink-200);
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
}
.hf-pill svg { color: var(--brand-400); }
.hf-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.hf-hero h1 .hf-grad {
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hf-hero-lead {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-300);
}
.hf-hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hf-hero-ctas { flex-direction: row; }
}
.hf-preview-grid {
  margin-top: 5rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .hf-preview-grid { grid-template-columns: repeat(3, 1fr); }
}
.hf-preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s;
}
.hf-preview-card:hover { transform: translateY(-4px); }
.hf-preview-card--brand { background: linear-gradient(135deg, rgba(210,59,61,0.2), rgba(154,24,26,0.05)); }
.hf-preview-card--accent { background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(194,65,12,0.05)); }
.hf-preview-card--sky { background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(3,105,161,0.05)); }
.hf-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hf-preview-top span { font-size: 0.875rem; font-weight: 500; color: var(--ink-200); }
.hf-preview-top strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.hf-preview-card p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-300);
}

/* ── Stats ───────────────────────────────────────────── */
.hf-stats {
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  background: #fff;
  padding: 3rem 0;
}
.hf-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .hf-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.hf-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink-900);
}
.hf-stat-num span { color: var(--brand-500); }
.hf-stat-lbl {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-500);
}

/* ── Section commons ─────────────────────────────────── */
.hf-section { padding: 6rem 0; }
@media (min-width: 1024px) {
  .hf-section { padding: 8rem 0; }
}
.hf-section--muted { background: var(--ink-50); }
.hf-section--dark {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
}
.hf-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hf-eyebrow--brand { color: var(--brand-600); }
.hf-eyebrow--accent { color: var(--accent-600); }
.hf-eyebrow--sky { color: var(--sky-600); }
.hf-eyebrow--light { color: var(--brand-400); }
.hf-h2 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.2;
}
.hf-section--dark .hf-h2 { color: #fff; }
.hf-lead {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  color: var(--ink-500);
  line-height: 1.6;
}
.hf-section--dark .hf-lead { color: var(--ink-300); }
.hf-center { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }

/* ── Systems ─────────────────────────────────────────── */
.hf-systems-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .hf-systems-grid { grid-template-columns: repeat(3, 1fr); }
}
.hf-sys-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 2rem;
  ring: 2px solid transparent;
  transition: all 0.3s ease;
}
.hf-sys-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(213, 217, 226, 0.5);
}
.hf-sys-card--brand:hover { box-shadow: 0 25px 50px rgba(210, 59, 61, 0.12); }
.hf-sys-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hf-sys-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.hf-sys-icon--brand { background: var(--brand-500); }
.hf-sys-icon--accent { background: var(--accent-500); }
.hf-sys-icon--sky { background: var(--sky-500); }
.hf-sys-arrow { color: var(--ink-300); transition: color 0.2s; }
.hf-sys-card:hover .hf-sys-arrow { color: var(--ink-700); }
.hf-sys-card h3 {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
}
.hf-sys-tag {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.hf-sys-tag--brand { color: var(--brand-600); }
.hf-sys-tag--accent { color: var(--accent-600); }
.hf-sys-tag--sky { color: var(--sky-600); }
.hf-sys-desc {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-500);
}
.hf-sys-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.hf-sys-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.hf-sys-dot {
  margin-top: 0.4rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  flex-shrink: 0;
}
.hf-sys-dot--brand { background: var(--brand-500); }
.hf-sys-dot--accent { background: var(--accent-500); }
.hf-sys-dot--sky { background: var(--sky-500); }
.hf-sys-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.hf-sys-link--brand { color: var(--brand-600); }
.hf-sys-link--accent { color: var(--accent-600); }
.hf-sys-link--sky { color: var(--sky-600); }

/* ── Feature split sections ──────────────────────────── */
.hf-split {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .hf-split { grid-template-columns: 1fr 1fr; }
}
.hf-feat-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hf-feat-grid { grid-template-columns: 1fr 1fr; }
}
.hf-feat {
  display: flex;
  gap: 0.875rem;
}
.hf-feat-icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
}
.hf-feat-icon--brand { background: var(--brand-50); color: var(--brand-600); }
.hf-feat-icon--accent { background: var(--accent-50); color: var(--accent-600); }
.hf-feat-icon--sky { background: var(--sky-50); color: var(--sky-600); }
.hf-feat h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
}
.hf-feat p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-500);
}

/* Mock cards */
.hf-mock-wrap { position: relative; }
.hf-mock-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  opacity: 0.6;
  filter: blur(40px);
  pointer-events: none;
}
.hf-mock-glow--brand { background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); }
.hf-mock-glow--accent { background: linear-gradient(135deg, var(--accent-100), var(--accent-50)); }
.hf-mock-glow--sky { background: linear-gradient(135deg, var(--sky-100), var(--sky-50)); }
.hf-mock {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--ink-100);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(213, 217, 226, 0.4);
}
.hf-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink-100);
}
.hf-mock-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.hf-mock-title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
}
.hf-chip {
  display: inline-flex;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.hf-chip--brand { background: var(--brand-50); color: var(--brand-700); }
.hf-chip--accent { background: var(--accent-50); color: var(--accent-700); }
.hf-chip--sky { background: var(--sky-50); color: var(--sky-700); }

.hf-match-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hf-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  background: var(--ink-50);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-800);
}
.hf-match-row > span:first-child,
.hf-match-row > span:last-child {
  flex: 1;
  min-width: 0;
}
.hf-match-row > span:last-child { text-align: right; }
.hf-match-score {
  margin: 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}
.hf-rank-box {
  margin-top: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--brand-100);
  background: rgba(253, 243, 243, 0.5);
  padding: 1rem;
}
.hf-rank-box > p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.hf-rank-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.hf-rank-num {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.75rem;
  background: var(--ink-100);
  color: var(--ink-600);
}
.hf-rank-num.is-first { background: var(--brand-500); color: #fff; }
.hf-rank-row .team { flex: 1; font-weight: 500; color: var(--ink-800); }
.hf-rank-row .pts { font-weight: 600; color: var(--ink-900); }

.hf-team-avatar {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.hf-wdl {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}
.hf-wdl-item {
  border-radius: 0.75rem;
  background: var(--ink-50);
  padding: 0.75rem;
}
.hf-wdl-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.hf-wdl-item span { font-size: 0.75rem; font-weight: 500; color: var(--ink-500); }
.hf-player-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.625rem; }
.hf-player-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: var(--ink-50);
  padding: 0.625rem 0.75rem;
}
.hf-player-rank {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--ink-200);
  color: var(--ink-700);
}
.hf-player-rank.is-top { background: var(--accent-500); color: #fff; }
.hf-player-row .name { flex: 1; font-size: 0.875rem; font-weight: 500; color: var(--ink-800); }
.hf-player-row .ga { font-size: 0.75rem; color: var(--ink-500); }
.hf-player-row .rating {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-600);
}

.hf-slot-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.hf-slot {
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  text-align: center;
}
.hf-slot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}
.hf-slot span { font-size: 0.6875rem; font-weight: 500; }
.hf-slot--booked { background: var(--ink-100); color: var(--ink-400); }
.hf-slot--free { background: var(--brand-50); color: var(--brand-700); }
.hf-slot--hold { background: var(--accent-50); color: var(--accent-700); }
.hf-slot--maint { background: #fef2f2; color: #dc2626; }
.hf-venue-kpi {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hf-venue-kpi-card {
  border-radius: 0.75rem;
  background: var(--ink-50);
  padding: 1rem;
}
.hf-venue-kpi-card p { margin: 0; font-size: 0.75rem; font-weight: 500; color: var(--ink-500); }
.hf-venue-kpi-card strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
}
.hf-venue-kpi-card .up { margin-top: 0.125rem; font-size: 0.75rem; color: var(--brand-600); }
.hf-bar {
  margin-top: 0.5rem;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--ink-200);
}
.hf-bar > span {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 9999px;
  background: var(--sky-500);
}

.hf-order-swap { }
@media (min-width: 1024px) {
  .hf-order-swap .hf-mock-col { order: 1; }
  .hf-order-swap .hf-copy-col { order: 2; }
}

/* ── How it works ────────────────────────────────────── */
.hf-how-grid {
  position: relative;
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hf-how-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hf-how-grid { grid-template-columns: repeat(4, 1fr); }
}
.hf-how-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.hf-how-card:hover {
  border-color: rgba(229, 113, 113, 0.4);
  background: rgba(255,255,255,0.07);
}
.hf-how-step {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  transition: color 0.2s;
}
.hf-how-card:hover .hf-how-step { color: rgba(229, 113, 113, 0.3); }
.hf-how-icon {
  margin-top: 1rem;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(210, 59, 61, 0.15);
  color: var(--brand-400);
  box-shadow: inset 0 0 0 1px rgba(229, 113, 113, 0.3);
}
.hf-how-card h3 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.hf-how-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-300);
}

/* ── CTA ─────────────────────────────────────────────── */
.hf-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-900));
  padding: 4rem 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .hf-cta-box { padding-left: 4rem; padding-right: 4rem; }
}
.hf-cta-glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  filter: blur(100px);
  pointer-events: none;
}
.hf-cta-glow--l { left: -5rem; top: -5rem; background: rgba(210, 59, 61, 0.2); }
.hf-cta-glow--r { right: -2.5rem; bottom: -5rem; background: rgba(249, 115, 22, 0.15); }
.hf-cta-inner { position: relative; max-width: 42rem; margin: 0 auto; }
.hf-cta-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hf-cta-inner > p {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  color: var(--ink-300);
  line-height: 1.6;
}
.hf-cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hf-cta-actions { flex-direction: row; }
}
.hf-perks {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
.hf-perks span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.hf-perks svg { color: var(--brand-400); }

/* ── Footer ──────────────────────────────────────────── */
.hf-footer {
  background: var(--ink-950);
  padding: 4rem 0 2rem;
}
.hf-footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hf-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.hf-footer-brand p,
.hf-footer-tagline {
  margin: 1rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-400);
}
.hf-footer-company {
  margin-top: 1rem;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-400);
}
.hf-footer-company strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-300);
}
.hf-footer-app {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hf-footer-app img {
  display: block;
  height: 36px;
  width: auto;
}
.hf-footer-col-contact .hf-social {
  margin-top: 1.25rem;
}
.hf-footer-contact {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hf-footer-contact a,
.hf-footer-contact-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-400);
  transition: color 0.2s;
}
.hf-footer-contact a:hover { color: #fff; }
.hf-footer-contact svg { flex-shrink: 0; color: var(--ink-500); }
.hf-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}
.hf-social a {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--ink-300);
  transition: all 0.2s;
}
.hf-social a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hf-footer-col h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}
.hf-footer-col ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hf-footer-col a {
  font-size: 0.875rem;
  color: var(--ink-400);
  transition: color 0.2s;
}
.hf-footer-col a:hover { color: #fff; }
.hf-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-400);
}
@media (min-width: 640px) {
  .hf-footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}
