/**
 * Network home — Lucki Studios landing
 */

.hub-home .hub-shell {
  background: var(--hub-bg);
}

.hub-home .hub-bg-deco {
  opacity: 0.14;
}

.hub-home .hub-z-float {
  opacity: 0.12 !important;
}

/* —— Hero —— */
.hub-home-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(88px, 12vh, 120px) 1.25rem clamp(48px, 8vh, 72px);
  overflow: hidden;
}

.hub-home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244, 114, 182, 0.12), transparent 58%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(167, 139, 250, 0.08), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--hub-bg) 100%);
}

.hub-home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hub-home-hero__logo {
  width: min(360px, 82vw);
  height: auto;
  margin: 0 auto 20px;
  display: block;
  filter: none;
  background: transparent;
}

.hub-home-hero__title {
  margin: 0 0 12px;
  font-family: var(--hub-display);
  font-size: clamp(1.375rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hub-text);
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.hub-home-hero__lede {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hub-text-muted);
}

.hub-home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hub-home-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hub-text);
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: 999px;
}

.hub-home-stat--live {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.06);
}

.hub-home-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hub-home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #18181b;
  border-radius: 12px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 18px rgba(24, 24, 27, 0.18);
}

.hub-home-hero__cta:hover {
  background: #27272a;
  color: #fff;
  transform: translateY(-1px);
}

.hub-home-hero__cta--accent {
  background: linear-gradient(135deg, #f472b6, #ec4899);
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.28);
}

.hub-home-hero__cta--accent:hover {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

/* —— Hub gates —— */
.hub-home-gates {
  padding: 64px 1.25rem 72px;
}

.hub-home-gates__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.hub-home-gates__head {
  max-width: 36rem;
  margin: 0 auto 36px;
  text-align: center;
}

.hub-home-gates__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hub-text-muted);
}

.hub-home-gates__title {
  margin: 0 0 10px;
  font-family: var(--hub-display);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--hub-text);
}

.hub-home-gates__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hub-text-muted);
}

.hub-home-gates__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .hub-home-gates__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Horizontal gate card */
.hub-gate {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

@media (min-width: 640px) {
  .hub-gate {
    grid-template-columns: 42% 1fr;
    min-height: 280px;
  }
}

.hub-gate:hover {
  border-color: #b8b8cc;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.hub-gate__visual {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.hub-gate__visual-bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
}

.hub-gate--ztt .hub-gate__visual-bg {
  background-image: url('../assets/hub/card-ztt-bg.png');
}

.hub-gate--coaching .hub-gate__visual-bg {
  background-image: url('../assets/hub/card-coaching-bg.png');
}

.hub-gate__visual::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hub-gate--ztt .hub-gate__visual::after {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.55), rgba(24, 24, 27, 0.75));
}

.hub-gate--coaching .hub-gate__visual::after {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.5), rgba(24, 24, 27, 0.78));
}

.hub-gate__visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.hub-gate__wordmark {
  display: block;
  height: auto;
  width: auto;
  max-width: min(200px, 78%);
  max-height: 72px;
  object-fit: contain;
  margin: 0 auto;
}

.hub-gate--ztt .hub-gate__wordmark {
  max-height: 80px;
}

.hub-gate__online {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
}

.hub-gate__body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.hub-gate__label {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-gate--ztt .hub-gate__label {
  color: #dc2626;
}

.hub-gate--coaching .hub-gate__label {
  color: #d97706;
}

.hub-gate__heading {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hub-text);
}

.hub-gate__text {
  margin: 0 0 20px;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hub-text-muted);
}

.hub-gate__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
}

.hub-gate--ztt .hub-gate__action {
  color: #dc2626;
}

.hub-gate--coaching .hub-gate__action {
  color: #d97706;
}

.hub-gate:hover .hub-gate__action i {
  transform: translateX(3px);
}

.hub-gate__action i {
  transition: transform 0.15s ease;
}

/* —— Spotlight —— */
.hub-home-spotlight {
  padding: 56px 1.25rem 64px;
  background: var(--hub-surface);
}

.hub-home-spotlight__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.hub-home-spotlight__head {
  max-width: 36rem;
  margin: 0 auto 32px;
  text-align: center;
}

.hub-home-spotlight__title {
  margin: 0 0 10px;
  font-family: var(--hub-display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--hub-text);
}

.hub-home-spotlight__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hub-text-muted);
}

.hub-home-spotlight__grid {
  display: grid;
  gap: 16px;
}

.hub-home-spotlight__grid--showcase {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .hub-home-spotlight__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hub-home-spotlight__card {
  padding: 22px 20px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hub-home-spotlight__card--showcase:hover {
  border-color: #d4d4d8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.hub-home-spotlight__card--showcase {
  cursor: default;
  user-select: none;
}

.hub-home-spotlight__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 1.125rem;
  color: var(--hub-text);
  background: rgba(0, 0, 0, 0.05);
}

.hub-home-spotlight__icon--ztt {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.1);
}

.hub-home-spotlight__icon--coach {
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
}

.hub-home-spotlight__card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hub-text);
}

.hub-home-spotlight__card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--hub-text-muted);
}

/* —— About —— */
.hub-home-about {
  padding: 56px 1.25rem 0;
  background: var(--hub-surface);
}

.hub-home-about__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 0;
}

.hub-home-divider {
  display: block;
  width: 100%;
  max-width: 72rem;
  margin: 40px auto 0;
  border: 0;
  border-top: 1px solid var(--hub-border);
}

.hub-home-about__title {
  margin: 0 0 12px;
  font-family: var(--hub-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--hub-text);
}

.hub-home-about__text {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hub-text-muted);
}

.hub-home-about__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hub-text);
  text-decoration: none;
}

.hub-home-about__link:hover {
  color: #db2777;
}

@media (max-width: 640px) {
  .hub-home-hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hub-home-gates {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hub-home-spotlight {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .hub-home-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .hub-gate__body {
    padding: 20px;
  }
}
