/**
 * Genpro — Footer dark glass pass (site-wide)
 */

body.genpro-futuristic .site-footer.footer-enhanced {
  background: var(--fx-bg-glass-strong) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--fx-border-accent);
  margin-top: var(--fx-section-y);
  padding-top: 0 !important;
  position: relative;
  overflow: hidden;
}

body.genpro-futuristic .site-footer.footer-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 102, 0, 0.08), transparent 60%);
  pointer-events: none;
}

body.genpro-futuristic .site-footer.footer-enhanced > .container {
  position: relative;
  z-index: 1;
}

/* Newsletter band */
body.genpro-futuristic .footer-newsletter-enhanced {
  background: var(--fx-bg-glass) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-lg) !important;
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
  margin-bottom: 2rem !important;
  box-shadow: var(--fx-shadow-glass);
  text-align: center;
}

body.genpro-futuristic .newsletter-title-enhanced {
  color: var(--fx-text) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(1rem, 3vw, 1.25rem) !important;
}

body.genpro-futuristic .newsletter-subtitle-enhanced,
body.genpro-futuristic .newsletter-cta-enhanced,
body.genpro-futuristic .newsletter-privacy-enhanced {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .newsletter-input-group-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

body.genpro-futuristic .newsletter-input-enhanced {
  flex: 1 1 200px;
  min-width: 0;
  background: var(--fx-surface) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text) !important;
  border-radius: var(--fx-radius-sm) !important;
  min-height: 44px;
}

body.genpro-futuristic .newsletter-btn-enhanced {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 44px;
  padding: 0 1.25rem !important;
  font-weight: 600;
  white-space: nowrap;
}

body.genpro-futuristic .privacy-link-enhanced {
  color: var(--fx-accent-bright) !important;
}

/* Nav columns */
body.genpro-futuristic .footer-nav-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
}

body.genpro-futuristic .footer-nav-heading-enhanced {
  color: var(--fx-text) !important;
  font-size: var(--fx-text-xs) !important;
  letter-spacing: 0.1em;
  margin-bottom: 1rem !important;
}

body.genpro-futuristic .footer-nav-links-enhanced a {
  color: var(--fx-text-muted) !important;
  display: block;
  padding: 0.35rem 0;
  min-height: 32px;
  transition: color var(--fx-duration-fast);
}

body.genpro-futuristic .footer-nav-links-enhanced a:hover {
  color: var(--fx-accent-bright) !important;
}

body.genpro-futuristic .footer-club-description-enhanced {
  color: var(--fx-text-muted) !important;
  font-size: var(--fx-text-sm);
  line-height: 1.6;
}

/* Social icons */
body.genpro-futuristic .footer-social-enhanced {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

body.genpro-futuristic .social-link-enhanced {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--fx-radius-sm);
  background: var(--fx-surface) !important;
  border: 1px solid var(--fx-border) !important;
  color: var(--fx-text-muted) !important;
  font-size: 1rem;
  transition:
    border-color var(--fx-duration-fast),
    color var(--fx-duration-fast),
    background var(--fx-duration-fast);
}

body.genpro-futuristic .social-link-enhanced:hover {
  border-color: var(--fx-border-accent) !important;
  color: var(--fx-accent-bright) !important;
  background: rgba(255, 102, 0, 0.1) !important;
}

body.genpro-futuristic .social-link-enhanced i {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", sans-serif;
  font-weight: 400;
}

/* Bottom branding */
body.genpro-futuristic .footer-branding-enhanced {
  padding: 1.5rem 0 2rem !important;
  background: transparent !important;
}

body.genpro-futuristic .footer-logo-text-enhanced {
  color: var(--fx-text) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.1rem, 3vw, 1.5rem) !important;
}

body.genpro-futuristic .footer-copyright-enhanced,
body.genpro-futuristic .footer-address-enhanced,
body.genpro-futuristic .footer-powered-enhanced {
  color: var(--fx-text-dim) !important;
  font-size: var(--fx-text-sm);
}

body.genpro-futuristic .footer-powered-enhanced strong {
  color: var(--fx-text-muted);
}

body.genpro-futuristic .legal-link-enhanced {
  color: var(--fx-text-muted) !important;
  padding: 0.25rem 0.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.genpro-futuristic .legal-link-enhanced:hover {
  color: var(--fx-accent-bright) !important;
}

body.genpro-futuristic .footer-branding-content-enhanced {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

body.genpro-futuristic .footer-legal-links-enhanced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

@media (min-width: 768px) {
  body.genpro-futuristic .footer-branding-content-enhanced {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  body.genpro-futuristic .footer-legal-links-enhanced {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  body.genpro-futuristic .newsletter-input-group-enhanced {
    flex-direction: column;
  }

  body.genpro-futuristic .newsletter-btn-enhanced {
    width: 100%;
  }
}

/* ─── v3 minimalist footer compression ─── */
@media (max-width: 767px) {
  body.genpro-futuristic .footer-nav-enhanced {
    display: none !important;
  }

  body.genpro-futuristic .footer-newsletter-enhanced {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }

  body.genpro-futuristic .newsletter-subtitle-enhanced {
    display: none;
  }

  body.genpro-futuristic .footer-branding-enhanced {
    padding: 1rem 0 1.25rem !important;
  }

  body.genpro-futuristic .footer-logo-text-enhanced {
    font-size: 1rem !important;
  }

  body.genpro-futuristic .footer-address-enhanced,
  body.genpro-futuristic .footer-powered-enhanced {
    display: none;
  }

  body.genpro-futuristic .footer-copyright-enhanced {
    font-size: var(--fx-text-xs);
    margin: 0;
  }

  body.genpro-futuristic .footer-legal-links-enhanced {
    gap: 0.25rem 0.65rem;
  }

  body.genpro-futuristic .legal-link-enhanced {
    min-height: 36px;
    font-size: var(--fx-text-xs);
    padding: 0.15rem 0.35rem;
  }
}
