/* Landing page header override: transparent header and show background under it */
.clubhub-unified:not(.dashboard-view) header.header,
.clubhub-unified:not(.dashboard-view) .pro-header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Ensure hero sits under header and remains visible */
.landing-hero {
  min-height: 100vh;
  padding-top: 100px; /* account for header height */
}

/* Keep floating PWA button but hide header-specific install button behavior on landing */
.clubhub-unified:not(.dashboard-view) .pwa-install-btn {
  display: none !important;
}

/* Landing hero background moved to CSS (removed inline styles) */
.landing-hero {
  background-image: url('images/players-hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 10rem 0 6rem; /* preserved spacing */
  position: relative;
}


/* Landing hero overlay: stronger but transparent top so header shows clearly */
.clubhub-unified:not(.dashboard-view) .landing-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  /* stronger overlay while preserving clear header area */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.30) 12%,
    rgba(0,0,0,0.50) 35%,
    rgba(0,0,0,0.70) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 6 !important;
}

.landing-hero .container { position: relative; z-index: 10; }

/* Remove the global header offset on the landing page so the header overlays the hero */
.clubhub-unified:not(.dashboard-view) .main {
  padding-top: 0 !important;
}

/* Hide the desktop PWA install wrapper injected into the header on the landing page */
.clubhub-unified:not(.dashboard-view) .pwa-install-wrapper.desktop-only {
  display: none !important;
}
