.tech-tree-node-active {
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.55), 0 0 18px rgba(34, 211, 238, 0.35);
  border-color: rgba(34, 211, 238, 0.65) !important;
}

.promo-carousel-track {
  transition: transform 0.6s ease;
}

section[aria-label="Featured"] {
  overflow: hidden;
}

/* ── Header / Nav ── */
.bs-site-header .bs-main-nav {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bs-site-header .bs-main-nav::-webkit-scrollbar {
  display: none;
}
.bs-nav-link.is-active {
  color: rgb(167, 139, 250);
}

/* ── Mystery Box hero ── */
.mystery-box-stage {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(109, 40, 217, 0.25), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(34, 211, 238, 0.35);
  overflow: hidden;
}
.mystery-box-cube {
  position: relative;
  width: 120px;
  height: 120px;
  transform-style: preserve-3d;
  animation: mystery-float 3s ease-in-out infinite;
}
.mystery-box-cube-inner {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 35%, #a855f7 100%);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.65), 0 0 80px rgba(168, 85, 247, 0.35),
    inset 0 2px 12px rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.mystery-box-cube-inner::before {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.mystery-box-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.45), transparent 70%);
  animation: mystery-pulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mystery-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes mystery-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.mystery-box-stage.is-spinning .mystery-box-cube {
  animation: mystery-spin 0.8s ease-in-out infinite;
}
@keyframes mystery-spin {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.08); }
  100% { transform: rotateY(360deg) scale(1); }
}

/* ── Invite locked state ── */
.invite-locked {
  border: 1px dashed rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.invite-link-box {
  display: none;
}
.invite-link-box.is-ready {
  display: block;
}

/* ── Dashboard stat cards ── */
.bs-stat-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.65));
  padding: 1.25rem;
}
.bs-stat-card strong {
  font-size: 1.5rem;
  line-height: 1.2;
  color: rgb(34, 211, 238);
}

/* ── Savings page (ref alignment) ── */
.bs-savings-tabs .bs-tab-btn {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.65);
  color: rgb(148, 163, 184);
}
.bs-savings-tabs .bs-tab-btn:last-child { border-right: 0; }
.bs-savings-tabs .bs-tab-btn.is-active {
  background: rgb(255, 255, 255);
  color: rgb(15, 23, 42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.bs-subtabs button {
  background: transparent;
  border: none;
  color: rgb(148, 163, 184);
  font-size: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.bs-subtabs button.is-active {
  color: rgb(34, 211, 238);
  border-bottom-color: rgb(34, 211, 238);
  font-weight: 600;
}
.bs-vip-card {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.55), rgba(15, 23, 42, 0.95));
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.15);
}
.bs-vip-hero {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.95));
}
.bs-vip-hero-img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}
.bs-vip-hero-1 { background: radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.35), transparent 55%), linear-gradient(135deg, #1e1b4b, #0f172a); }
.bs-vip-hero-2 { background: radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.4), transparent 50%), linear-gradient(135deg, #312e81, #0f172a); }
.bs-vip-hero-3 { background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.35), transparent 55%), linear-gradient(135deg, #1e3a5f, #0f172a); }
.bs-vip-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border: 1px solid rgba(34, 197, 94, 0.65);
  color: #4ade80;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.bs-vip-vault {
  display: none;
}
.bs-vip-title {
  background: linear-gradient(90deg, #c084fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.bs-vip-rate {
  font-size: 2rem;
  font-weight: 800;
  color: rgb(34, 211, 238);
  line-height: 1.1;
}
.bs-vip-stat p {
  letter-spacing: 0.01em;
}
.bs-vip-cta {
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.bs-acc-action {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.65rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(226, 232, 240);
  cursor: pointer;
}
.bs-loan-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45), rgba(34, 211, 238, 0.05));
  border: 2px solid rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
  position: relative;
}
.bs-loan-icon::before {
  content: "◎";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: rgb(34, 211, 238);
}
.bs-dep-section {
  border-color: rgba(34, 211, 238, 0.2);
}
.bs-loan-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.55));
}
.price-up { color: rgb(34, 197, 94); }
.price-down { color: rgb(239, 68, 68); }

