/* ═══════════════════════════════════════════════════════════════
   HuduKey® — Clubs marketing page
   Page-specific layout on top of style.css tokens
   ═══════════════════════════════════════════════════════════════ */

.nav-links li a.nav-active {
  color: var(--theme);
}

/* ── Clubs hero: single-column, brand-first, full-bleed ───────── */
.clubs-hero .hero-container {
  grid-template-columns: 1fr;
  max-width: 720px;
  text-align: center;
  justify-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.clubs-hero-brand {
  display: block;
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin: 0 auto 28px;
}

.clubs-hero .hero-title {
  margin-bottom: 18px;
}

.clubs-hero .hero-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
}

.clubs-hero .hero-actions {
  justify-content: center;
}

.clubs-hero .hero-note {
  text-align: center;
}

/* Soft gold wash rising from the road plane */
.clubs-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(var(--theme-rgb), 0.08), transparent);
  pointer-events: none;
}

/* ── Why clubs ───────────────────────────────────────────────── */
.clubs-why {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.clubs-why-copy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.clubs-why-copy strong {
  color: var(--text);
  font-weight: var(--weight-bold);
}

/* ── What you get — stacked feature rows ─────────────────────── */
.clubs-features {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.clubs-feature-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.clubs-feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}

.clubs-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme);
  background: var(--theme-faint);
  border: 1px solid rgba(var(--theme-rgb), 0.22);
  border-radius: 14px;
  flex-shrink: 0;
}

.clubs-feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: 8px;
}

.clubs-feature p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ── How it works (reuse .how-it-works / .step from style.css) ─ */
.clubs-how {
  border-top: 1px solid var(--border);
}

/* ── Public club preview (?urn=) ─────────────────────────────── */
.club-preview {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.club-preview-brand {
  color: var(--theme);
  font-size: var(--type-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.club-preview-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 1px solid var(--stroke-medium);
  background: var(--surface-card);
}

.club-preview-logo--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  line-height: 1;
}

.club-preview-name {
  margin-bottom: 12px;
}

.club-preview-tagline {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin: 0 0 14px;
}

.club-preview-meta {
  color: var(--text-caption);
  font-size: var(--type-label);
  margin: 0 0 16px;
}

.club-preview-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 18px;
}

.club-preview-types span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--theme-rgb), 0.28);
  background: var(--theme-faint);
  color: var(--theme);
  font-size: var(--type-caption);
  font-weight: var(--weight-bold);
}

.club-preview-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 20px;
}

.club-preview-cta-note {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0 0 8px;
}

.club-preview-actions {
  justify-content: center;
  margin-top: 28px;
}

.club-preview-note {
  text-align: center;
  margin-top: 8px;
}

.club-preview-status {
  padding: 24px 0;
  color: var(--text-muted);
}

.club-preview-status--error {
  color: var(--text-secondary);
}

.club-preview-status-hint {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 13px;
}

body.club-preview-mode .clubs-hero .hero-container {
  padding-bottom: 80px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .clubs-hero-brand {
    height: 44px;
  }

  .clubs-feature {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .club-preview-logo {
    width: 80px;
    height: 80px;
  }
}
