:root {
  color-scheme: dark;
  --bg: #061025;
  --bg-deep: #030713;
  --panel: rgba(9, 22, 47, 0.80);
  --panel-strong: rgba(12, 30, 61, 0.94);
  --line: rgba(109, 220, 255, 0.22);
  --text: #f4f8ff;
  --muted: #aebbd7;
  --cyan: #20e8ff;
  --blue: #3074ff;
  --magenta: #ff4ed2;
  --gold: #f6c757;
  --green: #6fffa7;
  --red: #ff6478;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 78, 210, 0.16), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(32, 232, 255, 0.16), transparent 32%),
    linear-gradient(135deg, var(--bg-deep), var(--bg) 46%, #050816);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(109, 220, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 220, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  color: #061025;
  background: var(--gold);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  width: min(1220px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #061025;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 0 30px rgba(32, 232, 255, 0.35);
}

.nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 11px;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero,
.dashboard,
.directory-section,
.live-section,
.builders-section,
.soundtrack-section,
.activity-section,
.about-section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 48px 0 82px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 6.25vw, 5.8rem);
  line-height: 0.92;
  text-shadow: 0 0 36px rgba(32, 232, 255, 0.28);
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: var(--cyan);
  font-size: 0.72em;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 18px;
}

.hero-metrics span,
.stat-card,
.project-card,
.builder-card,
.audio-card,
.activity-item,
.about-section,
.asset-callout {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-metrics span {
  min-height: 86px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 14px;
  color: var(--muted);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  line-height: 1;
}

.asset-line {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.12rem, 2.4vw, 1.55rem);
  font-weight: 900;
}

.lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: #061025;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 18px 36px rgba(32, 232, 255, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual-link {
  display: block;
  border-radius: 24px;
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(109, 220, 255, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 70px rgba(32, 232, 255, 0.13);
}

.hero-pulse {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(32, 232, 255, 0.32);
  box-shadow: 0 0 30px rgba(32, 232, 255, 0.18);
  animation: pulseRing 4.8s ease-in-out infinite;
}

.external-challenge-link {
  width: min(960px, calc(100% - 32px));
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.external-challenge-link a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 203, 88, 0.44);
}

.external-challenge-link a:hover,
.external-challenge-link a:focus-visible {
  color: var(--text);
}

.pulse-one {
  width: 34%;
  aspect-ratio: 1;
  left: 38%;
  bottom: 12%;
}

.pulse-two {
  width: 18%;
  aspect-ratio: 1;
  right: 6%;
  top: 16%;
  animation-delay: 1.2s;
}

.dashboard,
.directory-section,
.live-section,
.builders-section,
.soundtrack-section,
.activity-section,
.about-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 26px;
}

.directory-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.directory-note {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  position: relative;
  min-height: 160px;
  padding: 24px;
  border-radius: 18px;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--gold));
  box-shadow: 0 0 20px rgba(32, 232, 255, 0.34);
}

.stat-card strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.9;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.asset-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 50%, rgba(246, 199, 87, 0.18), transparent 30%),
    var(--panel-strong);
}

.momentum-callout {
  margin-top: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(246, 199, 87, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(246, 199, 87, 0.13), rgba(32, 232, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.momentum-callout span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.momentum-callout strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.asset-callout > span {
  color: var(--gold);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  font-weight: 900;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.asset-callout h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
}

.asset-callout p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#projectSearch {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

#projectSearch:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(32, 232, 255, 0.10);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-buttons button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 800;
}

.filter-buttons button.active,
.filter-buttons button:hover,
.filter-buttons button:focus-visible {
  color: #061025;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.count-pill {
  color: var(--gold);
  border: 1px solid rgba(246, 199, 87, 0.24);
  background: rgba(246, 199, 87, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
  font-weight: 900;
}

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

.project-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  position: relative;
  min-height: 210px;
  padding: 20px;
  border-radius: 18px;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: 0.72;
}

.project-card.live::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.project-card.available::before {
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px currentColor;
}

.status.live::before {
  background: var(--green);
}

.status.available::before {
  background: var(--gold);
}

.status.tba::before {
  background: var(--magenta);
}

.project-card h3,
.builder-card h3,
.audio-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.project-card p,
.builder-card p,
.audio-card p {
  color: var(--muted);
  line-height: 1.55;
}

.project-card .visit {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.beanstalk-moment {
  width: min(960px, calc(100% - 32px));
  margin: 20px auto;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}

.beanstalk-moment p {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 6vw, 4.8rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vine {
  position: relative;
  width: 86px;
  height: 120px;
  border-left: 4px solid var(--green);
  border-radius: 80% 0 0 0;
  filter: drop-shadow(0 0 18px rgba(111, 255, 167, 0.5));
  animation: vineRise 4s ease-in-out infinite;
}

.vine i {
  position: absolute;
  width: 24px;
  height: 14px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.vine i:nth-child(1) { left: -28px; top: 22px; transform: rotate(-28deg); }
.vine i:nth-child(2) { left: 8px; top: 44px; transform: rotate(32deg); }
.vine i:nth-child(3) { left: -25px; top: 68px; transform: rotate(-22deg); }
.vine i:nth-child(4) { left: 12px; top: 91px; transform: rotate(22deg); }

.builder-card {
  min-height: 220px;
  border-radius: 18px;
  padding: 20px;
}

.builder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.builder-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
}

.domain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.soundtrack-section {
  position: relative;
}

.audio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audio-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 20px;
  padding: 20px;
}

.audio-card.wide {
  grid-column: 1 / -1;
}

.cover-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, var(--cyan), var(--blue), var(--magenta));
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.12), 0 0 28px rgba(32, 232, 255, 0.18);
}

.cover-placeholder.alt {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--gold), var(--magenta), var(--blue));
}

.cover-placeholder.sunday {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, var(--green), var(--cyan), var(--gold));
}

.cover-placeholder span {
  color: #061025;
  font-size: 2rem;
  font-weight: 900;
}

.audio-card audio {
  width: 100%;
  margin-top: 8px;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-radius: 16px;
  padding: 16px;
}

.activity-item time {
  color: var(--gold);
  font-weight: 900;
}

.activity-item h3 {
  margin: 0;
}

.activity-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 64px;
  border-radius: 22px;
  padding: 28px;
}

.about-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1;
}

.about-section p {
  color: var(--muted);
  line-height: 1.7;
}

.creator-credit a,
.site-footer a {
  color: var(--cyan);
}

.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer > p {
  text-align: right;
}

@keyframes pulseRing {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}

@keyframes vineRise {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1040px) {
  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stat-grid,
  .project-grid,
  .builder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer > p {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-metrics,
  .stat-grid,
  .project-grid,
  .project-grid.compact,
  .builder-grid,
  .audio-grid,
  .toolbar,
  .asset-callout,
  .audio-card,
  .activity-item {
    grid-template-columns: 1fr;
  }

  .directory-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .asset-callout {
    padding: 22px;
  }

  .audio-card {
    align-items: start;
  }

  .cover-placeholder {
    width: 132px;
  }
}
