body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: 'Courier New', monospace;
  overflow: hidden;
}

#terminal-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
  padding: 10px;
}

#terminal-output {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  line-height: 1.4;
}

#current-prompt-line {
  display: flex;
  align-items: center;
  margin: 2px 0;
}

#prompt-text {
  color: #0f0;
  font-weight: bold;
  white-space: nowrap;
}

#terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: #0f0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  caret-color: #0f0;
  flex-grow: 1;
  margin-left: 5px;
}

.terminal-line {
  margin: 2px 0;
}

/* ANSI Color Support */
.ansi-output {
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  line-height: 1.2;
}

.ansi-output span[style*="color: black"] { color: #000000 !important; }
.ansi-output span[style*="color: red"] { color: #ff0000 !important; }
.ansi-output span[style*="color: green"] { color: #00ff00 !important; }
.ansi-output span[style*="color: yellow"] { color: #ffff00 !important; }
.ansi-output span[style*="color: blue"] { color: #0000ff !important; }
.ansi-output span[style*="color: magenta"] { color: #ff00ff !important; }
.ansi-output span[style*="color: cyan"] { color: #00ffff !important; }
.ansi-output span[style*="color: white"] { color: #ffffff !important; }
.ansi-output span[style*="color: gray"] { color: #808080 !important; }
.ansi-output span[style*="color: lightred"] { color: #ff8080 !important; }
.ansi-output span[style*="color: lightgreen"] { color: #80ff80 !important; }
.ansi-output span[style*="color: lightyellow"] { color: #ffff80 !important; }
.ansi-output span[style*="color: lightblue"] { color: #8080ff !important; }
.ansi-output span[style*="color: lightmagenta"] { color: #ff80ff !important; }
.ansi-output span[style*="color: lightcyan"] { color: #80ffff !important; }
.ansi-output span[style*="color: lightwhite"] { color: #ffffff !important; }

/* Animation support */
.streaming-output {
  animation: none;
  white-space: pre;
}

/* Party parrot specific styling */
.ansi-output pre {
  margin: 0;
  font-family: inherit;
}

.prompt {
  color: #0f0;
  font-weight: bold;
}

.terminal-output {
  margin: 2px 0;
  white-space: pre-wrap;
}

.terminal-output.welcome {
  color: #00ff00;
  font-weight: bold;
}

.terminal-output.help {
  color: #ffffff;
}

.terminal-output.success {
  color: #00ff00;
}

.terminal-output.error {
  color: #ff0000;
}

.terminal-output.echo {
  color: #ffffff;
}

.terminal-output.cat {
  color: #ffffff;
  background: #1a1a1a;
  padding: 5px;
  border-radius: 3px;
}

.terminal-output.ls span {
  margin-right: 10px;
}

.terminal-output.ls span[style*='blue'] {
  color: #0088ff !important;
}

.terminal-output.ls span[style*='green'] {
  color: #00ff00 !important;
}

.terminal-output.cowsay {
  color: #ffffff;
  font-family: monospace;
}

.terminal-output.fortune {
  color: #ffff00;
  font-style: italic;
}

.terminal-output.neofetch {
  color: #00ffff;
}

.terminal-output.ping {
  color: #00ff00;
}

.terminal-output.top {
  color: #ffffff;
  font-family: monospace;
  font-size: 12px;
}

.terminal-output.ps {
  color: #ffffff;
  font-family: monospace;
  font-size: 12px;
}

.terminal-output.date {
  color: #ffff00;
}

.terminal-output.whoami {
  color: #00ff00;
}

.terminal-output.uname {
  color: #ffffff;
}

.terminal-output.history {
  color: #888888;
  font-family: monospace;
}

.terminal-output.autocomplete {
  color: #888888;
  font-style: italic;
}

.terminal-output.interrupt {
  color: #ff0000;
  font-weight: bold;
}

.terminal-output.exit {
  color: #ff0000;
  font-weight: bold;
}

.terminal-output.search {
  color: #ffff00;
  font-weight: bold;
}

.matrix-container {
  position: relative;
  margin: 10px 0;
}

.matrix-text {
  color: #0f0;
  font-weight: bold;
  text-align: center;
}

.matrix-rain {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #000;
  border: 1px solid #0f0;
  margin: 10px 0;
}

/* Blinking cursor effect */
.terminal-cursor::after {
  content: '█';
  animation: blink 1s infinite;
  color: #0f0;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Scrollbar styling */
#terminal-output::-webkit-scrollbar {
  width: 8px;
}

#terminal-output::-webkit-scrollbar-track {
  background: #1a1a1a;
}

#terminal-output::-webkit-scrollbar-thumb {
  background: #0f0;
  border-radius: 4px;
}

#terminal-output::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Animation for matrix effect */
@keyframes matrixRain {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100vh);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  #terminal-container {
    padding: 5px;
  }

  #terminal-input {
    font-size: 12px;
  }

  .terminal-output {
    font-size: 12px;
  }
}

.hollywood-container {
  margin: 10px 0;
  border: 2px solid #4ecdc4;
  background: #000;
  padding: 10px;
}

.hollywood-header {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #4ecdc4;
  padding-bottom: 5px;
}

.hollywood-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hollywood-panel {
  border: 1px solid #ff6b6b;
  background: #1a1a1a;
  padding: 8px;
  min-height: 120px;
}

.panel-title {
  color: #ff6b6b;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  border-bottom: 1px solid #ff6b6b;
  padding-bottom: 3px;
}

.panel-content {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.3;
}

.data-line {
  margin: 2px 0;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terminal-output.hollywood {
  color: #4ecdc4;
  font-weight: bold;
}

/* Matrix effect styles */
.matrix-container {
  margin: 10px 0;
}

.matrix-text {
  color: #00ff00;
  text-align: center;
  font-size: 18px;
  text-shadow: 0 0 10px #00ff00;
  animation: pulse 1s infinite;
}

.matrix-rain {
  position: relative;
  background: #000000;
  overflow: hidden;
  border: 1px solid #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
