:root {
  /* Bash-specific color variants */
  --bash-green: #66d18f;
  --bash-green-2: #2f9b5e;
  --bash-ink: rgba(15, 23, 42, 0.92);

  /* One-knob overlay tuning */
  --hero-blur: 3px;
  --hero-dim: 0.58;
  --glass-blur: 0px;
  --glass-white: 0.12;
  --cloud-opacity: 0.78;
}

/* Bash-specific background */
body {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(102, 209, 143, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at 80% 28%, rgba(41, 98, 255, 0.1), transparent 62%),
    radial-gradient(
      circle at 55% 92%,
      rgba(102, 209, 143, 0.12),
      transparent 65%
    ),
    #ffffff;
}

/* Bash-specific button variant */
.btn--green {
  background: linear-gradient(
    135deg,
    rgba(102, 209, 143, 0.96),
    rgba(47, 155, 94, 0.92)
  );
  color: #fff;
  box-shadow: 0 14px 34px rgba(102, 209, 143, 0.25);
}
.btn--green:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
}

/* =========================================================
         Bash page layout
      ========================================================= */
.bash-hero {
  padding: 0.1% 0;
}

.soon {
  border-radius: 22px;
  border: 1px solid rgba(102, 209, 143, 0.2);
  background: linear-gradient(
    135deg,
    rgba(102, 209, 143, 0.1),
    rgba(2, 6, 23, 0.01)
  );
  box-shadow:
    0 18px 55px rgba(102, 209, 143, 0.1),
    0 10px 26px rgba(2, 6, 23, 0.06);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 22px;
}
.soon strong {
  font-weight: 950;
  letter-spacing: -0.02em;
}
.soon span {
  color: rgba(15, 23, 42, 0.65);
  font-weight: 650;
}

.bash-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  border-radius: 26px;
}

.bash-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
}

.bash-title {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: rgba(15, 23, 42, 0.92);
}

.bash-sub {
  margin: 0;
  color: rgba(15, 23, 42, 0.66);
  font-weight: 650;
  max-width: 62ch;
  line-height: 1.55;
}

.bash-pillrow {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bash-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
  color: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}
.bash-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(102, 209, 143, 0.95);
  box-shadow: 0 14px 22px rgba(102, 209, 143, 0.22);
}

/* =========================================================
         “Network board” mock (marketplace vibe)
      ========================================================= */
.board {
  border-radius: 22px;
  border: 1px solid rgba(102, 209, 143, 0.22);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 22px 70px rgba(102, 209, 143, 0.12),
    0 16px 44px rgba(2, 6, 23, 0.08);
  overflow: hidden;
  position: relative;
  min-height: 460px;
  isolation: isolate;
}

.board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(2, 6, 23, 0.01);
}

.board__badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  color: rgba(47, 155, 94, 0.98);
  background: rgba(102, 209, 143, 0.12);
  border: 1px solid rgba(102, 209, 143, 0.22);
}
.board__sub {
  color: rgba(15, 23, 42, 0.6);
  font-weight: 700;
  font-size: 0.92rem;
}

.board__grid {
  position: absolute;
  inset: 56px 14px 14px 14px;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(102, 209, 143, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 55%,
      rgba(41, 98, 255, 0.08),
      transparent 45%
    ),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.7;
}

/* Connection lines */
.board__lines {
  position: absolute;
  inset: 56px 14px 14px 14px;
  pointer-events: none;
  z-index: 2;
}
.board__lines path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3.6;
  stroke: rgba(102, 209, 143, 0.55);
  stroke-dasharray: 9 10;
  animation: dash 6s linear infinite;
  filter: drop-shadow(0 10px 18px rgba(102, 209, 143, 0.18));
}
@keyframes dash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 160;
  }
}

/* Marketplace cards */
.card {
  position: absolute;
  width: 220px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.12);
  padding: 14px;
  z-index: 4;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: -40% -40%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(102, 209, 143, 0.16),
    transparent 60%
  );
  opacity: 0.9;
  pointer-events: none;
}

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

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(102, 209, 143, 0.55),
    rgba(41, 98, 255, 0.35)
  );
  box-shadow: 0 12px 22px rgba(102, 209, 143, 0.14);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.82rem;
  color: rgba(47, 155, 94, 0.98);
  background: rgba(102, 209, 143, 0.12);
  border: 1px solid rgba(102, 209, 143, 0.22);
}

.card__title {
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, 0.88);
}
.card__desc {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.66);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* card positions */
.m1 {
  left: 18px;
  top: 110px;
}
.m2 {
  right: 18px;
  top: 130px;
}
.m3 {
  left: 90px;
  bottom: 26px;
  width: 280px;
}

/* floating chips */
.chip {
  position: absolute;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.74);
  display: inline-flex;
  align-items: center;
  z-index: 5;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.1);
  backdrop-filter: blur(10px);
}
.chip i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(102, 209, 143, 0.95);
  box-shadow: 0 14px 22px rgba(102, 209, 143, 0.2);
  margin-right: 8px;
  display: inline-block;
}
.c1 {
  left: 22px;
  top: 78px;
  animation: float1 4.6s ease-in-out infinite;
}
.c2 {
  right: 22px;
  top: 92px;
  animation: float2 5.2s ease-in-out infinite;
}
.c3 {
  right: 26%;
  bottom: 24px;
  animation: float1 4.8s ease-in-out infinite;
}
@keyframes float1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================================================
         Frost Overlay (ONLY inside bash-wrap)
      ========================================================= */
.bash-wrap .bash-grid {
  filter: blur(var(--hero-blur));
  opacity: var(--hero-dim);
  transform: scale(0.99);
  transition:
    filter 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  pointer-events: auto;
  border-radius: 26px;
  overflow: hidden;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, var(--glass-white));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 28px 120px rgba(2, 6, 23, 0.08);
  z-index: 1;
}

.hero-overlay__clouds {
  position: absolute;
  inset: -40%;
  z-index: 2;
  pointer-events: none;
  opacity: var(--cloud-opacity);
  filter: blur(26px);
  background:
    radial-gradient(
      circle at 45% 45%,
      rgba(102, 209, 143, 0.22),
      transparent 60%
    ),
    radial-gradient(
      circle at 55% 60%,
      rgba(41, 98, 255, 0.14),
      transparent 62%
    ),
    radial-gradient(
      circle at 35% 60%,
      rgba(102, 209, 143, 0.14),
      transparent 60%
    ),
    radial-gradient(
      circle at 65% 35%,
      rgba(102, 209, 143, 0.12),
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.3),
      transparent 62%
    );
  animation: heroCloudDrift 10s ease-in-out infinite;
}
@keyframes heroCloudDrift {
  0%,
  100% {
    transform: translate3d(-2%, -2%, 0) scale(1.02);
  }
  50% {
    transform: translate3d(2%, 2%, 0) scale(1.05);
  }
}

.hero-overlay__card {
  position: relative;
  z-index: 3;
  width: 230px;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(102, 209, 143, 0.92),
    rgba(47, 155, 94, 0.86)
  );
  color: #fff;
  box-shadow:
    0 22px 70px rgba(102, 209, 143, 0.28),
    0 12px 40px rgba(2, 6, 23, 0.12);
  transition:
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms ease;
  overflow: hidden;
}

.hero-overlay__card::after {
  content: "";
  position: absolute;
  inset: -40% -40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: translateX(-40%);
  transition: transform 700ms ease;
  opacity: 0.8;
}

.hero-overlay__card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 90px rgba(102, 209, 143, 0.35),
    0 14px 50px rgba(2, 6, 23, 0.14);
}
.hero-overlay__card:hover::after {
  transform: translateX(40%);
}

.hero-overlay__pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 900;
  font-size: 0.85rem;
}

.hero-overlay__title {
  display: block;
  margin-top: 10px;
  font-weight: 950;
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-overlay__sub {
  display: block;
  margin-top: 8px;
  font-weight: 650;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
         Waitlist modal (same as playground)
      ========================================================= */
.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}
.waitlist-modal.is-open {
  display: block;
}

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(8px);
}

.waitlist-card {
  position: relative;
  max-width: 420px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow:
    0 40px 100px rgba(2, 6, 23, 0.35),
    0 20px 60px rgba(102, 209, 143, 0.18);
}

.waitlist-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: rgba(15, 23, 42, 0.55);
}

.waitlist-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  color: rgba(47, 155, 94, 0.98);
  background: rgba(102, 209, 143, 0.12);
  border: 1px solid rgba(102, 209, 143, 0.22);
  margin-bottom: 10px;
}

.waitlist-card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.waitlist-card p {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, 0.66);
  font-weight: 650;
  line-height: 1.5;
}

.waitlist-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.waitlist-form input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  font-size: 1rem;
  outline: none;
}
.waitlist-form input:focus {
  border-color: rgba(102, 209, 143, 0.55);
}

.waitlist-footnote {
  margin-top: 10px;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 650;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .bash-hero {
    padding: 0;
  }
  .soon {
    margin: 12px auto 18px;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .bash-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 12px 0;
  }
  .bash-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.15;
  }
  .bash-sub {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    line-height: 1.5;
  }
  .bash-pillrow {
    margin-top: 14px;
    gap: 8px;
  }
  .bash-pill {
    font-size: 0.9rem;
    padding: 8px 10px;
  }
  .board {
    min-height: 380px;
  }
  .card {
    width: 210px;
  }
  .m3 {
    width: 260px;
    left: 14px;
    right: 14px;
  }
  .bash-wrap {
    border-radius: 20px;
  }
  .hero-overlay {
    border-radius: 20px;
  }
  .hero-overlay::before {
    border-radius: 20px;
  }
}
@media (max-width: 520px) {
  .soon {
    margin: 8px auto 14px;
    padding: 12px 14px;
  }
  .soon strong {
    font-size: 1.1rem;
  }
  .soon span {
    font-size: 0.9rem;
  }
  .bash-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 12px;
  }
  .bash-sub {
    font-size: 0.95rem;
  }
  .bash-pillrow {
    flex-direction: column;
    gap: 8px;
  }
  .bash-pill {
    width: 100%;
    justify-content: flex-start;
  }
  .board {
    min-height: 360px;
    border-radius: 18px;
  }
  .card {
    width: calc(100% - 32px);
    max-width: 200px;
    padding: 12px;
  }
  .m1 {
    left: 14px;
    top: 20%;
    max-width: calc(100% - 28px);
  }
  .m2 {
    right: 14px;
    top: 38%;
    max-width: calc(100% - 28px);
  }
  .m3 {
    left: 14px;
    bottom: 18px;
    width: calc(100% - 28px);
    max-width: none;
  }
  .chip {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
  .hero-overlay__card {
    width: calc(100% - 32px);
    max-width: 220px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay__clouds {
    animation: none !important;
  }
  .board__lines path {
    animation: none !important;
  }
  .hero-overlay__card,
  .hero-overlay__card::after {
    transition: none !important;
  }
}
