.hub-hero,
.channel-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 92px;
  border-bottom: 1px solid var(--line);
  background: #060a0e;
}

.hub-hero::before,
.channel-hero::before,
.channel-hero-image {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hub-hero::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(168, 216, 230, 0.16), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(224, 160, 103, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(8, 13, 18, 0.24), var(--bg) 88%);
}

.channel-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.98) 0%, rgba(8, 13, 18, 0.78) 36%, rgba(8, 13, 18, 0.08) 70%, rgba(8, 13, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 13, 18, 0) 0%, rgba(8, 13, 18, 0.08) 58%, var(--bg) 100%);
}

.channel-hero.animals::before {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.99) 0%, rgba(8, 13, 18, 0.72) 32%, rgba(8, 13, 18, 0.02) 70%, rgba(8, 13, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 13, 18, 0) 0%, rgba(8, 13, 18, 0.04) 58%, var(--bg) 100%);
}

.channel-hero.space::before {
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.99) 0%, rgba(5, 10, 18, 0.7) 32%, rgba(5, 10, 18, 0.02) 70%, rgba(5, 10, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0) 0%, rgba(5, 10, 18, 0.04) 58%, var(--bg) 100%);
}

.channel-hero-image {
  z-index: 0;
  opacity: 1;
  transform: scale(1.015);
}

.channel-hero-image.ambient {
  background:
    url("../images/hero.webp") center / cover no-repeat,
    url("../images/hero.png") center / cover no-repeat,
    linear-gradient(135deg, #071019, #123040 55%, #05090d);
}

.channel-hero-image.animals {
  background:
    url("../images/animals-hero.png") center right / cover no-repeat,
    url("../images/animals-hero.svg") center right / cover no-repeat,
    linear-gradient(135deg, #090704, #1d1306 48%, #050403);
}

.channel-hero-image.space {
  background:
    url("../images/space-hero.png") center right / cover no-repeat,
    url("../images/space-hero.svg") center right / cover no-repeat,
    linear-gradient(135deg, #030712, #071a35 48%, #02040a);
}

.hub-hero .section-shell,
.channel-hero .section-shell {
  position: relative;
  z-index: 2;
}

.hub-copy,
.channel-copy {
  max-width: 740px;
}

.hub-copy h1,
.channel-copy h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.92;
}

.channel-copy h1 {
  max-width: 720px;
  font-size: clamp(56px, 7.2vw, 98px);
}

.hub-copy p,
.channel-copy p {
  max-width: 680px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.82;
}

.hub-worlds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.kiberno-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(118, 175, 194, 0.18);
  border-radius: var(--radius);
  background: var(--surface-3);
  padding: 24px;
}

.kiberno-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
  transition: transform 240ms ease, opacity 240ms ease;
}

.kiberno-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 8%, rgba(6, 10, 14, 0.9) 86%);
}

.kiberno-card:hover::before {
  transform: scale(1.035);
  opacity: 1;
}

.kiberno-card > * {
  position: relative;
  z-index: 1;
}

.kiberno-card h2,
.channel-feature h2 {
  margin-bottom: 10px;
  color: #ffffff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.kiberno-card p,
.channel-feature p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.7;
}

.kiberno-card .card-label {
  margin-bottom: 14px;
}

.kiberno-card > p:not(.card-label) {
  min-height: 72px;
}

.kiberno-card.ambient::before {
  background:
    linear-gradient(135deg, rgba(118, 175, 194, 0.4), transparent 58%),
    url("../images/hero.webp") center / cover no-repeat,
    url("../images/hero.png") center / cover no-repeat,
    linear-gradient(135deg, #071019, #123040 55%, #05090d);
}

.kiberno-card.animals::before {
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0), rgba(6, 10, 14, 0.62)),
    url("../images/animals-hero.png") center / cover no-repeat,
    url("../images/animals-hero.svg") center / cover no-repeat,
    linear-gradient(135deg, #090704, #1d1306 48%, #050403);
}

.kiberno-card.space::before {
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0), rgba(2, 4, 10, 0.62)),
    url("../images/space-hero.png") center / cover no-repeat,
    url("../images/space-hero.svg") center / cover no-repeat,
    linear-gradient(135deg, #030712, #071a35 48%, #02040a);
}

.channel-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-feature {
  border-top: 1px solid rgba(118, 175, 194, 0.2);
  padding-top: 24px;
}

@media (max-width: 920px) {
  .hub-worlds,
  .channel-feature-grid {
    grid-template-columns: 1fr;
  }

  .hub-hero,
  .channel-hero {
    min-height: auto;
    padding-top: 130px;
  }

  .channel-hero::before,
  .channel-hero.animals::before,
  .channel-hero.space::before {
    background:
      linear-gradient(180deg, rgba(8, 13, 18, 0.9) 0%, rgba(8, 13, 18, 0.72) 42%, var(--bg) 100%);
  }

  .channel-hero-image.animals,
  .channel-hero-image.space {
    background-position: center;
  }

  .kiberno-card {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .hub-copy p,
  .channel-copy p {
    font-size: 15px;
  }

  .hub-copy h1,
  .channel-copy h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .kiberno-card {
    min-height: 300px;
  }

  .kiberno-card > p:not(.card-label) {
    min-height: 0;
  }
}
