/* The Basement — realgames-inspired night / lime */
:root {
  --bg: #07090f;
  --panel: #11161f;
  --ink: #f2f5f8;
  --mute: rgba(242, 245, 248, 0.64);
  --faint: rgba(242, 245, 248, 0.28);
  --line: rgba(242, 245, 248, 0.1);
  --accent: #c6f23a;
  --accent2: #dfff70;
  --good: #c6f23a;
  --warn: #ffb84d;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-line: rgba(255, 255, 255, 0.12);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.25rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section[id],
.block[id],
.hero[id] {
  scroll-margin-top: 5.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

/* —— Atmosphere —— */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 12% -5%, rgba(88, 120, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 15%, rgba(198, 242, 58, 0.1), transparent 52%),
    radial-gradient(ellipse 80% 45% at 55% 110%, rgba(30, 90, 120, 0.4), transparent 55%),
    #05070c;
}

.bg-aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    conic-gradient(from 210deg at 70% 20%, transparent 0deg, rgba(198, 242, 58, 0.08) 40deg, transparent 90deg, rgba(90, 140, 255, 0.1) 160deg, transparent 220deg),
    radial-gradient(ellipse 50% 35% at 30% 40%, rgba(120, 80, 255, 0.12), transparent 70%);
  filter: blur(40px);
  opacity: 0.9;
  animation: aurora-shift 22s ease-in-out infinite alternate;
}

.bg-mark {
  display: none;
}

.bg-grid {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}

.bg-glow-a {
  width: min(70vw, 680px);
  height: min(70vw, 680px);
  top: -22%;
  right: -8%;
  background: radial-gradient(circle, rgba(198, 242, 58, 0.22), transparent 68%);
  opacity: 0.75;
  animation: drift-a 20s ease-in-out infinite alternate;
}

.bg-glow-b {
  width: min(60vw, 540px);
  height: min(60vw, 540px);
  bottom: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(70, 110, 220, 0.28), transparent 70%);
  opacity: 0.85;
  animation: drift-b 24s ease-in-out infinite alternate;
}

.bg-glow-c {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  top: 48%;
  left: 35%;
  background: radial-gradient(circle, rgba(160, 90, 255, 0.14), transparent 70%);
  opacity: 0.7;
  animation: drift-c 28s ease-in-out infinite alternate;
}

.bg-deco {
  position: absolute;
  inset: 0;
}

.deco-ring {
  position: absolute;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  right: 8%;
  top: 18%;
  border: 1.5px solid rgba(198, 242, 58, 0.18);
  border-radius: 50%;
  animation: spin-slow 48s linear infinite;
}

.deco-ring-sm {
  width: min(22vw, 220px);
  height: min(22vw, 220px);
  right: 18%;
  top: 32%;
  border-color: rgba(255, 255, 255, 0.08);
  animation-duration: 32s;
  animation-direction: reverse;
}

.deco-plus {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--accent);
  opacity: 0.55;
}

.deco-plus::before,
.deco-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.deco-plus::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.deco-plus::after {
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  transform: translateY(-50%);
}

.deco-plus-a { top: 28%; left: 12%; }
.deco-plus-b { bottom: 22%; right: 18%; }

.deco-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.deco-dot-a { top: 36%; left: 48%; background: var(--accent); opacity: 0.7; }
.deco-dot-b { top: 58%; right: 28%; background: #ff5a5a; opacity: 0.55; }
.deco-dot-c { bottom: 30%; left: 22%; background: #5aa8ff; opacity: 0.5; }

.bg-beams,
.bg-video {
  display: none;
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

.bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.2) 0%, rgba(5, 7, 12, 0.35) 45%, rgba(5, 7, 12, 0.92) 100%);
}

@keyframes aurora-shift {
  from { transform: translate3d(-2%, 0, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(3%, 2%, 0) rotate(8deg) scale(1.05); }
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 5%) scale(1.06); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(5%, -4%) scale(1.08); }
}

@keyframes drift-c {
  from { transform: translate(0, 0); }
  to { transform: translate(4%, -3%); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 10000;
  background: var(--accent);
  pointer-events: none;
  transition: width 0.12s linear;
}

.topbar,
main,
.foot,
.drawer {
  position: relative;
  z-index: 1;
}

/* —— Topbar —— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  width: 100%;
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}

.topbar.scrolled {
  background: rgba(10, 14, 20, 0.9);
  border-bottom-color: var(--glass-line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: 1.12rem;
  margin-right: auto;
}

.logo-mark {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(198, 242, 58, 0.5);
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #0a0e14;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.5rem;
}

.nav a {
  position: relative;
  font-size: 0.88rem;
  color: var(--mute);
  font-weight: 500;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

.btn-nav {
  padding: 0.55rem 1.05rem !important;
  font-size: 0.82rem !important;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 49;
  background: rgba(10, 14, 20, 0.98);
  padding: 0.5rem var(--pad) 1.4rem;
  flex-direction: column;
  gap: 0.1rem;
  border-bottom: 1px solid var(--line);
}

.drawer a {
  padding: 0.85rem 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}

.drawer a:last-child,
.drawer .drawer-join {
  border-bottom: none;
}

.drawer a.is-active,
.drawer a:hover {
  color: var(--ink);
}

.drawer-join {
  margin-top: 0.5rem;
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.drawer.open {
  display: flex;
}

@media (max-width: 860px) {
  .nav,
  .btn-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.55rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: transform 0.22s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn.solid {
  background: var(--accent);
  color: #0a0e14;
  box-shadow: 0 8px 28px rgba(198, 242, 58, 0.22);
}

.btn.solid:hover {
  background: var(--accent2);
  color: #0a0e14;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(198, 242, 58, 0.3);
}

.btn.line {
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn.line:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198, 242, 58, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.5rem var(--pad) 3rem;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero-inner {
  max-width: 36rem;
  animation: hero-in 1s var(--ease) both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.15rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-presents {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.hero-presents span {
  color: var(--accent);
  font-weight: 500;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 242, 58, 0.45);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 242, 58, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(198, 242, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 242, 58, 0); }
}

.brand-mark {
  position: relative;
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #fff;
}

.brand-mark::before {
  content: "+";
  position: absolute;
  top: 0.12em;
  left: -0.55em;
  font-size: 0.22em;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.9;
}

.brand-mark em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(198, 242, 58, 0.18);
}

.lede {
  margin-top: 1.35rem;
  max-width: 28rem;
  color: var(--mute);
  line-height: 1.65;
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
}

.lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-card {
  position: relative;
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(160deg, rgba(198, 242, 58, 0.12), transparent 42%),
    rgba(18, 24, 32, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: hero-in 1s var(--ease) 0.12s both;
  overflow: hidden;
}

.hero-card__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 58, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-card__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.hero-card__badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0e14;
  background: var(--accent);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.hero-card__badge.soon {
  color: var(--accent);
  background: rgba(198, 242, 58, 0.12);
  border: 1px solid rgba(198, 242, 58, 0.45);
}

.hero-card__kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-card__title {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-card__title em {
  font-style: normal;
  color: var(--accent);
}

.hero-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--mute);
  font-size: 0.92rem;
}

.hero-card__list li span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-card__cta {
  width: 100%;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero {
    padding-top: 6rem;
    min-height: auto;
  }
  .hero-card {
    max-width: 26rem;
  }
}

/* —— Stats —— */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(198, 242, 58, 0.04);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: ticker 28s linear infinite;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.ticker-track i {
  font-style: normal;
  color: var(--accent);
  opacity: 0.8;
}

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

.stats {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem 0.25rem;
}

.stat strong {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: -0.04em;
  color: var(--accent);
}

.stat span {
  font-size: 0.82rem;
  color: var(--mute);
}

@media (max-width: 720px) {
  .brand-mark::before {
    left: 0;
    top: -0.55em;
  }
  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Sections —— */
.block {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.25rem, 10vw, 7rem) var(--pad);
}

.block + .block,
.features,
.join-band {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.block-head {
  margin-bottom: 2.85rem;
  max-width: 34rem;
}

.sec-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.block-head h1,
.block-head h2,
.basement-hero h1,
.legal-hero h1,
.join-inner h2,
.join-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.block-head em,
.basement-hero h1 em,
.legal-hero h1 em,
.join-inner h2 em,
.join-copy h2 em,
.basement-cta h2 em {
  font-style: normal;
  color: var(--accent);
}

.sub {
  margin-top: 0.9rem;
  color: var(--mute);
  max-width: 30rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* —— Flow steps —— */
.flow-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.flow-step {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}

.flow-step:hover {
  border-color: rgba(198, 242, 58, 0.35);
  background: rgba(198, 242, 58, 0.04);
  transform: translateY(-3px);
}

.flow-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
  background: rgba(198, 242, 58, 0.1);
  border: 1px solid rgba(198, 242, 58, 0.2);
}

.flow-icon svg {
  width: 22px;
  height: 22px;
}

.flow-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.flow-step h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.flow-step p {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .flow-track {
    grid-template-columns: 1fr;
  }
}

/* —— Features —— */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.feat-card {
  position: relative;
  padding: 1.7rem 1.45rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(165deg, rgba(198, 242, 58, 0.07), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 242, 58, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.feat-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.feat-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.feat-card p {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

.feat-actions {
  margin-top: 2.25rem;
}

@media (max-width: 800px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Join band —— */
.join-band {
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}

.join-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: 28px;
  border: 1px solid rgba(198, 242, 58, 0.22);
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(198, 242, 58, 0.18), transparent 52%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(80, 140, 180, 0.12), transparent 55%),
    rgba(18, 24, 32, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.join-inner .hero-actions,
.join-copy + .hero-actions {
  margin-top: 0;
}

.join-copy .sub {
  margin-bottom: 0;
}

/* —— About page —— */
.basement-page,
.contact-page,
.board-page,
.legal-page {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7.5rem var(--pad) 4.5rem;
  min-height: 70vh;
}

.basement-hero,
.legal-hero {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.basement-hero .sub,
.legal-hero .sub {
  margin-top: 1rem;
}

.basement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
  border: none;
  margin-bottom: clamp(3rem, 7vw, 4.5rem);
}

.b-card {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.b-card:hover {
  background: rgba(198, 242, 58, 0.04);
  border-color: rgba(198, 242, 58, 0.3);
  transform: translateY(-2px);
}

.panel-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.b-card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.b-card p {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.6;
}

.b-card p + p,
.b-card .b-list + p {
  margin-top: 0.75rem;
}

.b-card strong {
  color: var(--ink);
  font-weight: 600;
}

.b-list {
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.b-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.5;
}

.b-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.basement-legal {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.legal-block h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: var(--accent2);
}

.legal-block p {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 48rem;
}

.basement-cta {
  padding: 2.25rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

.basement-cta h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
}

.basement-cta .sub {
  margin-bottom: 0.25rem;
}

@media (max-width: 720px) {
  .basement-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Legal / disclaimer —— */
.legal-page {
  max-width: 760px;
}

.legal-doc {
  gap: 2rem;
}

.legal-doc .legal-block h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.legal-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.legal-doc .legal-block p + p {
  margin-top: 0.75rem;
}

.legal-related {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}

.legal-related a {
  color: var(--accent);
  font-weight: 600;
}

.legal-related a:hover {
  color: var(--accent2);
}

/* —— Contact / Board —— */
.contact-layout,
.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 0.5rem;
}

.board-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.msg-form,
.contact-side,
.board-list-wrap {
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
}

.msg-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.msg-form label > span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mute);
}

.msg-form label em {
  font-style: normal;
  opacity: 0.65;
  font-weight: 500;
}

.msg-form input,
.msg-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}

.msg-form input:focus,
.msg-form textarea:focus {
  outline: none;
  border-color: rgba(200, 245, 66, 0.55);
}

.msg-form .btn {
  align-self: flex-start;
  margin-top: 0.2rem;
}

.msg-form .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.msg-status {
  min-height: 1.25em;
  font-size: 0.88rem;
  color: var(--mute);
}

.msg-status.is-ok { color: var(--good); }
.msg-status.is-err { color: #cccccc; }

.contact-side__links {
  margin: 0.85rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.side-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.side-link:hover {
  border-color: rgba(200, 245, 66, 0.45);
  background: rgba(200, 245, 66, 0.06);
}

.side-link strong { font-size: 0.92rem; }

.side-link span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mute);
}

.contact-back { display: inline-flex; }

.board-list-wrap {
  min-height: 280px;
  padding-bottom: 0.5rem;
}

.board-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.board-refresh {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0a0e14;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.board-refresh:hover {
  background: var(--accent2);
}

.board-list {
  max-height: min(62vh, 560px);
  overflow: auto;
}

.board-item {
  margin: 0.55rem 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: var(--glass-strong);
}

.board-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
}

.board-item__name {
  font-weight: 700;
  color: var(--accent);
}

.board-item__time {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
}

.board-item__text {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.board-empty {
  padding: 1.5rem 0.25rem 2rem;
  color: var(--faint);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .contact-layout,
  .board-layout {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.82rem;
}

.foot-claim {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--mute);
  font-size: 1.1rem;
}

.foot-note {
  margin-top: 0.35rem;
  color: var(--faint);
  font-size: 0.78rem;
  max-width: 16rem;
  line-height: 1.4;
}

.foot-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot-links a {
  color: var(--accent);
  font-weight: 600;
}

.foot-links a:hover {
  color: var(--accent2);
}

.foot-socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.foot-social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mute);
  display: grid;
  place-items: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.foot-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.foot-social:hover {
  color: var(--accent);
  border-color: rgba(198, 242, 58, 0.4);
  background: rgba(198, 242, 58, 0.08);
  transform: translateY(-1px);
}

/* —— Reveal —— */
.r {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--sd, 0ms);
}

.r.vis {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .pulse,
  .scroll-cue span,
  .hero-inner,
  .bg-glow-a,
  .bg-glow-b,
  .bg-glow-c,
  .bg-beams,
  .bg-aurora,
  .deco-ring,
  .ticker-track {
    animation: none !important;
  }
  .r {
    opacity: 1;
    transform: none;
  }
  #cursor-trail {
    display: none;
  }
}

#cursor-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  pointer-events: none;
}

/* —— Music dock —— */
.music-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.65rem 0.85rem 0.65rem 0.65rem;
  background: rgba(12, 16, 22, 0.92);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.music-dock__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #0a0e14;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}

.music-dock__btn:hover {
  transform: scale(1.04);
  background: var(--accent2);
}

.music-dock__btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.music-dock__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-right: 0.25rem;
}

.music-dock__title {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-dock__sub {
  font-size: 0.68rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-dock.is-playing .music-dock__title {
  color: var(--accent);
}

@media (max-width: 520px) {
  .music-dock {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.cursor {
  color: var(--accent);
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}
