/* Landing page header: solid dark bar overlaying the hero image */
.clubhub-unified:not(.dashboard-view) {
  padding-top: 0 !important;
}

.clubhub-unified:not(.dashboard-view) header.header,
.clubhub-unified:not(.dashboard-view) .pro-header {
  background: rgba(10, 10, 12, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4) !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;
}
/* Mobile Hero Spacing */
@media (max-width: 991px) {
  .landing-hero {
    padding: 8rem 0 4rem !important;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 3rem !important;
  }
}
