/* ============================================================
   BODY PRISON — Vault Section
   The page-wide #rain-canvas (fixed, full-page) already provides
   the ambient code rain — no separate canvas needed here.
   ============================================================ */

#vault-journey {
  position: relative;
  padding: 180px 0 96px;
  /* Blend into the page — same tonal range as surrounding sections */
  background: linear-gradient(to bottom, var(--bg), var(--bg2), var(--bg));
}

/* Top + bottom fade so section dissolves into adjacent sections */
#vault-journey::before,
#vault-journey::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 80px;
  pointer-events: none;
  z-index: 1;
}
#vault-journey::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
}
#vault-journey::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* Accent line — thin cyan rule to visually anchor the section top */
.vj-rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0 auto 32px;
}

/* ── Content ───────────────────────────────────────────────── */
.vj-container {
  position: relative;
  z-index: 2;
}

.vj-sub {
  font-size: 15px;
  color: rgba(240,248,255,0.5);
  max-width: 500px;
  margin: 12px auto 48px;
  line-height: 1.7;
}

/* ── Transmission cards grid ───────────────────────────────── */
.vj-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.vj-card {
  background: rgba(5,14,24,0.7);
  border: 1px solid rgba(0,200,224,0.12);
  border-left: 2px solid rgba(0,200,224,0.5);
  border-radius: 10px;
  padding: 20px 22px 18px;
  backdrop-filter: blur(4px);
  /* fade-in */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.vj-card.visible {
  opacity: 1;
  transform: none;
}
.vj-card-text {
  font-size: 14px; line-height: 1.65;
  color: rgba(240,248,255,0.85);
  font-style: italic;
  margin-bottom: 14px;
}
.vj-card-meta {
  display: flex; align-items: center; gap: 8px;
}
.vj-card-av {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700;
  background: rgba(0,200,224,0.08);
  border: 1px solid rgba(0,200,224,0.28);
  color: var(--cyan);
  background-size: cover; background-position: center;
}
.vj-card-alias {
  font-size: 11px; font-weight: 700;
  color: rgba(240,248,255,0.88); letter-spacing: 0.4px;
}
.vj-card-rank {
  font-size: 7.5px; letter-spacing: 1px;
  padding: 1px 5px; border-radius: 2px;
  border: 1px solid currentColor;
  margin-left: auto;
}

/* ── Gate card ─────────────────────────────────────────────── */
.vj-gate {
  display: flex;
  justify-content: center;
}
.vj-gate-card {
  background: rgba(2,8,12,0.85);
  border: 1px solid rgba(0,200,224,0.2);
  border-radius: 16px;
  padding: 44px 40px;
  max-width: 540px; width: 100%;
  text-align: center;
  box-shadow: 0 0 50px rgba(0,200,224,0.06), inset 0 1px 0 rgba(0,200,224,0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}
.vj-gate-card.visible { opacity: 1; transform: none; }
.vj-gate-lock { font-size: 26px; margin-bottom: 14px; }
.vj-gate-sub  {
  font-size: 14px; color: rgba(240,248,255,0.55);
  line-height: 1.7; max-width: 400px;
  margin: 12px auto 26px;
}

/* ── Vault hero (top block, centered) ────────────────────── */
.vj-vault-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 72px;
}

/* ── Connecting lines SVG ─────────────────────────────────── */
.vj-lines-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* ── Floating transmission bubbles ───────────────────────── */
.vj-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.vj-bubble {
  position: absolute;
  max-width: 195px;
  background: rgba(4,12,20,0.82);
  border: 1px solid rgba(0,200,224,0.13);
  border-left: 2px solid rgba(0,200,224,0.45);
  border-radius: 8px;
  padding: 12px 14px 10px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.vj-bubble.show {
  opacity: 1;
  transform: translateY(0);
}
.vj-bubble-text {
  font-size: 11.5px;
  color: rgba(240,248,255,0.72);
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 8px;
}
.vj-bubble-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.vj-bubble-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  opacity: 0.6;
}
.vj-bubble-alias {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px; letter-spacing: 1.5px;
  color: rgba(0,200,224,0.5);
  text-transform: uppercase;
}

/* Hide bubbles on small screens — no room */
@media (max-width: 900px) { .vj-bubbles { display: none; } }

/* ── Animated eye ─────────────────────────────────────────── */
.vj-eye-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 380px; width: 100%;
  margin-bottom: 110px;
}
.vj-eye-svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 24px rgba(0,200,224,0.25));
}
.vj-eye-glow {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 110px;
  background: radial-gradient(ellipse, rgba(0,200,224,0.08) 0%, transparent 70%);
  pointer-events: none; border-radius: 50%;
  animation: eyePulse 3s ease-in-out infinite;
}
@keyframes eyePulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.2); }
}
.vj-eye-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(0,200,224,0.35);
  animation: labelFlicker 5s ease-in-out infinite;
}
@keyframes labelFlicker {
  0%, 88%, 100% { opacity: 1; }
  90%  { opacity: 0.1; }
  92%  { opacity: 1; }
  94%  { opacity: 0.2; }
  96%  { opacity: 1; }
}

/* ── 3-step horizontal row ────────────────────────────────── */
.vj-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 32px 0 40px;
  max-width: 680px;
  width: 100%;
}
.vj-step-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  flex: 1;
  padding: 20px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid transparent;
  border-radius: 8px;
  background: rgba(5,14,24,0.5);
}
.vj-step-cyan   { border-top-color: rgba(0,200,224,0.7);  background: rgba(0,200,224,0.04); }
.vj-step-yellow { border-top-color: rgba(255,214,10,0.7); background: rgba(255,214,10,0.03); }
.vj-step-red    { border-top-color: rgba(230,57,70,0.7);  background: rgba(230,57,70,0.04); }
.vj-step-cyan   .vj-step-num { color: rgba(0,200,224,0.6); }
.vj-step-yellow .vj-step-num { color: rgba(255,214,10,0.65); }
.vj-step-red    .vj-step-num { color: rgba(230,57,70,0.65); }
.vj-step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,200,224,0.25);
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 8px;
  margin-top: 20px;
}
.vj-step-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 3px;
  color: rgba(0,200,224,0.4);
  margin-bottom: 8px;
}
.vj-step-title {
  display: block;
  font-size: 13px; font-weight: 600;
  color: rgba(240,248,255,0.88);
  margin-bottom: 6px;
}
.vj-step-text {
  font-size: 11px; color: rgba(240,248,255,0.35); line-height: 1.6; margin: 0;
}

/* ── Hero CTA buttons ─────────────────────────────────────── */
.vj-hero-cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.vj-book-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(240,248,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.vj-book-link:hover { color: rgba(0,200,224,0.7); }

/* Thin rule between vault hero and transmissions */
.vj-section-rule {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,224,0.15), transparent);
  margin: 0 0 56px;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .vj-steps-row { flex-direction: column; align-items: center; gap: 8px; }
  .vj-step-arrow { transform: rotate(90deg); margin: 0; padding: 4px 0; }
  .vj-eye-wrap { max-width: 260px; }
  .vj-cards { grid-template-columns: 1fr; }
  .vj-gate-card { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .vj-card, .vj-gate-card { opacity: 1; transform: none; transition: none; }
  .vj-eye-glow, .vj-eye-label { animation: none; }
}
