body {
  margin: 0;
  padding: 0;
  font-family: "Courier New", monospace;
  font-size: 18px;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.terminal {
  position: relative;
  z-index: 10;
  width: 700px;
  max-width: 95%;
  height: 450px;
  background: rgba(30,30,30,0.6);
  border: 4px solid #444;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,255,0,0.2);
}

.terminal-header {
  background: rgba(43,43,43,0.85);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #444;
  height: 28px;
}

.terminal-header span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.close { background: #ff5f56; }
.min   { background: #ffbd2e; }
.max   { background: #27c93f; }

.terminal-header .title {
  flex: 1;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  font-weight: bold;
  margin-right: 25px;
}

.terminal-body {
  flex: 1;
  padding: 15px;
  color: #dcdcdc;
  overflow-y: auto;
  white-space: pre-wrap;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.command {
  color: #19e0d6;
}
.response {
  color: #aaaaaa;
  margin-left: 2ch;
}
a {
  color: #aaaaaa;
  text-decoration: none;
}
a:hover {
  color: #00ff00;
}

.cursor {
  display: inline-block;
  width: 10px;
  background: #00ff00;
  margin-left: 2px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.terminal-body::-webkit-scrollbar {
  width: 5px;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}
