/* ==========================================================================
   BLACK TREE HOSTING - TERMINAL (OPTICORE & DIGITALPRO THEME)
   Dark void background, neon prompt highlights, glowing scanlines, quick chips
   ========================================================================== */

.terminal-section {
  position: relative;
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15) 0%, rgba(4, 1, 10, 0.98) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.terminal-header-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.terminal-window {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(10, 5, 20, 0.92);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(168, 85, 247, 0.15);
  overflow: hidden;
  backdrop-filter: blur(24px);
  position: relative;
}

.terminal-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.3;
  z-index: 10;
}

.terminal-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ec4899; box-shadow: 0 0 6px #ec4899; }
.dot-yellow { background: #d946ef; box-shadow: 0 0 6px #d946ef; }
.dot-green { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

.terminal-title {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
}

.terminal-shell-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #64748b;
}

.terminal-screen {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #cbd5e1;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  cursor: text;
}

.terminal-output {
  margin-bottom: 0.5rem;
}

.terminal-line {
  margin-bottom: 0.25rem;
  word-break: break-all;
}

.prompt-prefix {
  color: var(--neon-pink);
  font-weight: 700;
}

.prompt-at {
  color: #64748b;
}

.prompt-host {
  color: #38bdf8;
  font-weight: 700;
}

.prompt-path {
  color: #ffffff;
}

.prompt-symbol {
  color: var(--neon-magenta);
  font-weight: 700;
  margin-right: 0.5rem;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.terminal-cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #ffffff;
  caret-color: var(--neon-pink);
  padding: 0;
  margin: 0;
}

.terminal-quick-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  position: relative;
  z-index: 12;
}

.quick-label {
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.cmd-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.cmd-chip:hover {
  background: rgba(236, 72, 153, 0.15);
  color: #ffffff;
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
  transform: translateY(-1px);
}

.cmd-chip .chip-symbol {
  color: var(--neon-pink);
  font-weight: 700;
}
