/* Terminal-style site styles */
:root{
  --bg:#0b1220;
  --panel:#07101a;
  --muted:#9aa6b2;
  --accent:#38c172;
  --glass: rgba(255,255,255,0.03);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', monospace;
  background: linear-gradient(180deg,#071020 0%, #05060a 100%);
  color:var(--muted);
  line-height:1.5;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
}

.terminal-wrap{width:100%;max-width:820px}
.terminal{background:var(--panel);border-radius:10px;box-shadow:0 8px 24px rgba(2,6,23,0.6);overflow:hidden;border:1px solid rgba(255,255,255,0.03)}
.terminal-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent)}
.dots{display:flex;gap:8px}
.dot{width:12px;height:12px;border-radius:50%;display:inline-block}
.dot.red{background:#ff5f56}
.dot.yellow{background:#ffbd2e}
.dot.green{background:#28c840}
.term-title{color:var(--muted);font-size:0.9rem}

.terminal-body{padding:18px;background:linear-gradient(180deg,transparent,rgba(0,0,0,0.02));height:400px;overflow-y:auto}
.output{white-space:pre-wrap;margin:0;color:#9fe6a0;font-size:15px}
.output a{color:var(--accent);text-decoration:underline}
.prompt{color:#a8ff9a}

/* input prompt styles */
.input-line{display:flex;align-items:center;gap:6px;white-space:pre-wrap}
.prompt-symbol{color:var(--muted)}
.cmd{outline:none;min-width:60px;color:var(--muted);caret-color:var(--muted)}
.cmd:empty:before{content:''}

.dim{color:rgba(158,193,152,0.6)}

.terminal-controls{display:flex;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid rgba(255,255,255,0.02);background:var(--glass)}
.terminal-controls button{background:#0b1220;border:1px solid rgba(255,255,255,0.04);color:var(--muted);padding:8px 12px;border-radius:6px;cursor:pointer}
.terminal-controls .contact-link{color:var(--accent);text-decoration:none;font-size:0.95rem}

.cursor{display:inline-block;width:10px;height:18px;background:var(--muted);margin-left:2px;vertical-align:bottom;animation:blink 1s steps(2,start) infinite}

@keyframes blink{50%{opacity:0}}

@media (max-width:640px){
  .terminal-body{min-height:200px;padding:12px}
  .terminal-wrap{padding:0 8px}
}

.cursor {
  display: inline-block;
  width: 0.6ch;
  background: currentColor;
  margin-left: 2px;
}

.cursor.idle {
  animation: blink 1.2s step-start infinite;
}

.cursor.typing {
  animation: none;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}