/* ================================================================
   FANBROWSE — Homepage Hub CSS
   ================================================================ */

/* ── Hub Wrapper ─────────────────────────────────────────────── */
.fb-hub-wrapper {
  max-width: 1450px;
  margin: 0 auto;
  padding: 15px 16px 60px;
}

.fb-hero-text {
    align-items: center !important;
}

/* ── Stats Pills in Hero ─────────────────────────────────────── */
.fb-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.fb-hub-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

a.fb-hub-stat-pill {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
a.fb-hub-stat-pill:hover {
    color: inherit;
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* ── Section Headings ────────────────────────────────────────── */
.fb-hub-section {
  margin-bottom: 40px;
}

.fb-hub-section-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
}

.fb-hub-section-sub {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
}

/* ── Quick Access Grid (3×2) ─────────────────────────────────── */
.fb-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fb-hub-card {
  background: #0079C1;
  border: none;
  border-radius: 16px;
  padding: 22px 20px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,121,193,0.25);
}

.fb-hub-card:hover {
  box-shadow: 0 8px 28px rgba(0,121,193,0.4);
  transform: translateY(-2px);
}

.fb-hub-card-emoji {
  font-size: 28px;
  line-height: 1;
}

.fb-hub-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.fb-hub-card-desc {
  font-size: 12px;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.fb-hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.fb-hub-card-cta::after {
  content: '→';
  transition: transform 0.15s ease;
}

.fb-hub-card:hover .fb-hub-card-cta::after {
  transform: translateX(3px);
}

/* ── Search + Country Kacheln — Gradient als Abhebung ────────── */
.fb-hub-card-tool {
  background: #046198;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.fb-hub-card-tool:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}

/* ── Categories Horizontal Scroll ───────────────────────────── */
.fb-hub-cats-wrap {
  margin-bottom: 40px;
}

.fb-hub-cats {
  display: flex;
  flex-wrap: wrap;  /* umbrechen statt scrollen */
  gap: 8px;
  padding-bottom: 8px;
  /* overflow-x: auto; ← weg */
}

.fb-hub-cats::-webkit-scrollbar {
  display: none;
}

.fb-hub-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f0fb;
  border: 1px solid #e5daf7;
  color: #5b21b6;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 12px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.fb-hub-cat-pill:hover {
  background: #9127e9;
  color: #fff;
  border-color: #9127e9;
}

.fb-hub-cat-pill-label {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #9127e9;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 2px;
}

/* ── Featured Models — See All CTA ──────────────────────────── */
.fb-hub-featured-footer {
  text-align: center;
  margin-top: 24px;
}

/* ── USP Cards ───────────────────────────────────────────────── */
.fb-hub-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.fb-hub-usp-card {
  background: #f8f8fc;
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid #ececf5;
}

.fb-hub-usp-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.fb-hub-usp-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.fb-hub-usp-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ── Platform Cards ──────────────────────────────────────────── */
.fb-hub-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 52px;
}

.fb-hub-platform-card {
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.fb-hub-platform-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.fb-hub-platform-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.fb-hub-platform-name {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 6px;
}

.fb-hub-platform-desc {
  font-size: 12px;
  color: #595959;
  line-height: 1.5;
  margin: 0;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.fb-hub-faq {
  margin-bottom: 52px;
}

.fb-hub-faq > h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 20px;
}

/* ── Mobile ≤ 1024px ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fb-hub-stats {
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }

  .fb-hub-stat-pill {
    font-size: 11px;
    width: fit-content;
  }
}

/* ── Mobile ≤ 768px ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .fb-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .fb-hub-card {
    padding: 16px 14px 14px;
  }

  .fb-hub-card-emoji {
    font-size: 22px;
  }

  .fb-hub-usp-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fb-hub-platforms {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
