:root {
  --bg-night: #050812;
  --bg-deep: #08111f;
  --panel: rgba(10, 18, 32, 0.72);
  --panel-strong: rgba(12, 20, 36, 0.9);
  --line: rgba(170, 218, 255, 0.2);
  --line-bright: rgba(208, 237, 255, 0.62);
  --text: #edf5ff;
  --text-dim: #a1b5ca;
  --teal: #77f0dc;
  --amber: #ffcf6f;
  --rose: #ff7ba6;
}

* {
  box-sizing: border-box;
}

body.hub-body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(119, 240, 220, 0.1), transparent 22%),
    radial-gradient(circle at 82% 8%, rgba(255, 123, 166, 0.14), transparent 22%),
    linear-gradient(180deg, #09111d 0%, #050812 42%, #02040a 100%);
  overflow-x: hidden;
}

.hub-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 4px
    );
}

.station-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.station-vault,
.station-floor,
.station-light,
.station-figure {
  position: absolute;
}

.station-vault {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(197, 228, 255, 0.08), transparent 35%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 8.5%,
      rgba(205, 228, 255, 0.04) 8.5%,
      rgba(205, 228, 255, 0.04) 9.2%
    );
  transform: perspective(900px) rotateX(68deg) scale(1.65);
  transform-origin: top center;
  top: -26%;
  height: 70%;
}

.station-floor {
  left: -12%;
  right: -12%;
  bottom: -20%;
  height: 58%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 2px,
      transparent 2px,
      transparent 88px
    ),
    linear-gradient(180deg, rgba(11, 26, 44, 0), rgba(11, 26, 44, 0.75) 50%, rgba(5, 8, 18, 0.96) 100%);
  transform: perspective(900px) rotateX(78deg);
  transform-origin: top center;
}

.station-light {
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.station-light-a {
  background: rgba(119, 240, 220, 0.42);
  top: -10vw;
  left: -6vw;
}

.station-light-b {
  background: rgba(255, 123, 166, 0.28);
  top: 12vw;
  right: -12vw;
}

.station-figure {
  bottom: 12%;
  width: 34px;
  height: 132px;
  border-radius: 22px 22px 10px 10px;
  background: linear-gradient(180deg, rgba(223, 235, 248, 0.18), rgba(124, 145, 162, 0.05));
  filter: blur(2px);
  opacity: 0;
}

.station-figure::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  top: -18px;
  left: 2px;
  background: rgba(223, 235, 248, 0.18);
}

.figure-a {
  left: -10%;
  animation: commuter-right 10s linear infinite;
}

.figure-b {
  left: -20%;
  height: 150px;
  bottom: 11%;
  animation: commuter-right 13s linear infinite;
  animation-delay: -7s;
}

.figure-c {
  right: -12%;
  width: 28px;
  height: 120px;
  bottom: 14%;
  animation: commuter-left 11s linear infinite;
  animation-delay: -3s;
}

.figure-d {
  right: -20%;
  width: 40px;
  height: 160px;
  bottom: 9%;
  animation: commuter-left 15s linear infinite;
  animation-delay: -8s;
}

@keyframes commuter-right {
  0% { opacity: 0; transform: translateX(0) scale(0.85); }
  10% { opacity: 0.22; }
  50% { opacity: 0.16; transform: translateX(62vw) scale(1.08); }
  100% { opacity: 0; transform: translateX(124vw) scale(1.26); }
}

@keyframes commuter-left {
  0% { opacity: 0; transform: translateX(0) scale(1.2); }
  10% { opacity: 0.18; }
  50% { opacity: 0.14; transform: translateX(-54vw) scale(1); }
  100% { opacity: 0; transform: translateX(-118vw) scale(0.78); }
}

.hub-header,
.hub-rail-wrap,
.hub-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0 10px;
}

.hub-brand {
  color: var(--amber);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-rail-wrap {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0 0;
}

.hub-rail-label {
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-rail-mask {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(9, 15, 28, 0.68);
  backdrop-filter: blur(12px);
}

.hub-rail-track {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  width: max-content;
  animation: rail-scroll 58s linear infinite;
}

.hub-rail-mask:hover .hub-rail-track {
  animation-play-state: paused;
}

.hub-rail-item {
  display: grid;
  gap: 4px;
  min-width: 240px;
  max-width: 240px;
  padding: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hub-rail-item small,
.hub-rail-item .mohitSpeakerLP__clipTag,
.mohitSpeakerLP__clipTag {
  color: var(--rose);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hub-rail-item strong,
.hub-rail-item .mohitSpeakerLP__clipTitle,
.mohitSpeakerLP__clipTitle {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.hub-rail-item .mohitSpeakerLP__clipMeta,
.mohitSpeakerLP__clipMeta {
  color: var(--text-dim);
  font-size: 12px;
}

.mohitSpeakerLP__clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mohitSpeakerLP__clip {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
}

.mohitSpeakerLP__clipTitle {
  font-size: 1rem;
}

.mohitSpeakerLP__clipMeta {
  line-height: 1.55;
}

@keyframes rail-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hub-shell {
  padding: 36px 0 38px;
}

.hub-hero {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.hub-kicker {
  margin: 0;
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.hub-lede {
  margin: 0 auto;
  max-width: 64ch;
  color: var(--text-dim);
  line-height: 1.75;
}

.hub-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hub-stat {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 25, 0.56);
  backdrop-filter: blur(10px);
}

.hub-stat strong,
.hub-stat span {
  display: block;
}

.hub-stat strong {
  font-size: 1.7rem;
}

.hub-stat span {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.hub-section {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(9, 15, 28, 0.62);
  backdrop-filter: blur(12px);
}

.hub-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.hub-section-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.hub-section-head p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.6;
}

.hub-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-track {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hub-track h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.hub-track p {
  margin: 10px 0 0;
  color: var(--text-dim);
  line-height: 1.65;
}

.hub-track-deck {
  margin-top: 0;
  color: var(--text);
  font-weight: 600;
}

.hub-track small {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-track-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-dim);
}

.hub-track-list li {
  margin: 0 0 8px;
  line-height: 1.55;
}

.hub-archive {
  display: grid;
  gap: 12px;
}

.hub-item {
  display: grid;
  grid-template-columns: 130px 1fr 170px;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hub-item time,
.hub-item .hub-meta {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.hub-item h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.hub-item p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.6;
}

.hub-item a {
  color: var(--text);
  text-decoration: none;
}

.hub-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.hub-theme {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hub-theme h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.hub-theme p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .hub-stats,
  .hub-track-grid,
  .mohitSpeakerLP__clips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .hub-header,
  .hub-rail-wrap,
  .hub-shell {
    width: min(100%, calc(100% - 16px));
  }

  .hub-header,
  .hub-rail-wrap,
  .hub-section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .hub-stats,
  .hub-track-grid,
  .mohitSpeakerLP__clips {
    grid-template-columns: 1fr;
  }

  .hub-hero h1 {
    font-size: 2.8rem;
  }

  .hub-rail-wrap {
    display: block;
  }

  .hub-rail-label {
    margin-bottom: 8px;
  }
}
