.terminal-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  width: 100%;
  max-width: 580px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(12px);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: auto;
}

.terminal-body {
  padding: 30px;
  font-family: var(--font-mono);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.term-line {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(5px);
  animation: lineFadeIn 0.4s forwards;
}

.term-line.highlight {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-shadow: 0 0 10px var(--accent-cyan);
}

.term-line.sub-highlight {
  color: var(--accent-purple);
  font-size: 1.05rem;
}

@keyframes lineFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.action-wrapper {
  padding: 0 30px 30px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.action-wrapper.visible {
  opacity: 1;
  pointer-events: all;
}