/* ==========================================================================
   LENNYCORP: THE SUPERBAD NET-ART NODE STYLESHEET
   Layer 4: The Metaphysical Substrate & Abstract Hyperlink Labyrinth
   ========================================================================== */

:root {
  --void-bg: #030408;
  --void-text: #a3e635;
  --void-accent: #f43f5e;
  --void-cyan: #22d3ee;
  --void-amber: #fbbf24;
  --void-mono: 'JetBrains Mono', 'Courier New', monospace;
}

body.superbad-node {
  background-color: var(--void-bg);
  color: var(--void-text);
  font-family: var(--void-mono);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
}

/* Labyrinth Node Layouts */
.node-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;
  position: relative;
}

.node-header {
  border-bottom: 1px dashed var(--void-text);
  padding-bottom: 12px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.node-header a {
  color: var(--void-amber);
  text-decoration: none;
}

.node-header a:hover {
  text-decoration: underline;
  color: #fff;
}

.node-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 10px rgba(163, 230, 53, 0.4);
}

.node-grid-cluster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.superbad-card {
  border: 1px solid #1e293b;
  background: rgba(15, 23, 42, 0.4);
  padding: 20px;
  text-align: center;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.superbad-card:hover {
  border-color: var(--void-text);
  background: rgba(163, 230, 53, 0.08);
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(163, 230, 53, 0.2);
}

.superbad-card .card-glyph {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.superbad-card .card-label {
  font-size: 0.85rem;
  color: #f1f5f9;
  display: block;
}

.superbad-card .card-subtext {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 6px;
  display: block;
}

/* Hyperlinked Stream of Consciousness (Superbad Style) */
.stream-text {
  font-size: 1rem;
  line-height: 2.2;
  color: #94a3b8;
  margin: 32px 0;
  text-align: justify;
}

.stream-text a {
  color: var(--void-cyan);
  padding: 2px 6px;
  border-bottom: 1px dotted var(--void-cyan);
  text-decoration: none;
  transition: all 0.1s;
}

.stream-text a:hover {
  background: var(--void-cyan);
  color: #000;
  border-bottom: none;
}

.stream-text a.warning-link {
  color: var(--void-accent);
  border-color: var(--void-accent);
}

.stream-text a.warning-link:hover {
  background: var(--void-accent);
  color: #fff;
}

/* ASCII Diagram / Sigil Box */
.ascii-box {
  background: #000;
  border: 1px solid #334155;
  padding: 24px;
  margin: 30px 0;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #38bdf8;
  overflow-x: auto;
  white-space: pre;
}

/* Terminal Look */
.terminal-window {
  background: #050811;
  border: 1px solid #1e3a8a;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(30, 58, 138, 0.3);
  margin: 30px 0;
  overflow: hidden;
}

.terminal-topbar {
  background: #0f172a;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #94a3b8;
  border-bottom: 1px solid #1e293b;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #eab308; }
.term-dot.green { background: #22c55e; }

.terminal-body {
  padding: 24px;
  font-family: var(--void-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #38bdf8;
  min-height: 380px;
  max-height: 520px;
  overflow-y: auto;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.terminal-prompt {
  color: var(--void-text);
  font-weight: 700;
}

.terminal-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--void-mono);
  font-size: 0.88rem;
  outline: none;
  flex: 1;
}

/* Blinking Cursor */
.blink-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--void-text);
  vertical-align: middle;
  animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Micro Nav Bar */
.micro-nav {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px dashed #334155;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}
