/* ---- Wrapper ---- */
.hub-hero__section {
  position: relative;
  overflow: hidden;
}

/* Background gradient overlay */
.hub-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--primary) 5%, transparent),
    transparent
  );
}

/* ---- Container ---- */
.logged-in.admin-bar .hub-hero__section .hub-hero__container.container {
  min-height: calc(100vh - 64px - 32px);
}
.hub-hero__section .hub-hero__container.container {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

/* ---- Content ---- */
.hub-hero__content {
  max-width: 768px;
  margin-inline: auto;
  text-align: center;
}

.hub-hero__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: 48px;
  text-wrap: balance;
}

.hub-hero__subtitle {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

/* ---- Actions ---- */
.hub-hero__actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Buttons ---- */
.hub-hero__btn {
  font-size: 16px;
}
.hub-hero__btn:has(svg) {
  padding: 0 16px;
}

.hub-hero__btn:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent);
}

.hub-hero__btn-icon {
  width: 18px;
  height: 18px;
  margin-left: 4px;
  flex: 0 0 auto;
}

/* ---- Stats ---- */
.hub-hero__stats {
  width: 100%;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.hub-hero__stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
}

.hub-hero__stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.hub-hero__stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
}

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .hub-hero__title {
    font-size: 60px;
  }

  .hub-hero__subtitle {
    margin-top: 24px;
    font-size: 20px;
  }

  .hub-hero__actions {
    margin-top: 40px;
    gap: 16px;
    flex-direction: row;
    justify-content: center;
  }

  .hub-hero__stats {
    margin: 60px auto 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .hub-hero__title {
    font-size: 72px;
  }
  .hub-hero__stats {
    width: 95%;
    margin: 80px auto 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
