* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #282828;
  color: #ebdbb2;
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", Monaco, monospace;
  font-size: 14px;
  line-height: 1.4;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.window {
  border: 1px solid #a89984;
  background: rgba(60, 56, 54, 0.9);
  backdrop-filter: blur(10px);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(168, 153, 132, 0.1);
}

.header {
  padding: 16px 20px;
  border-bottom: 1px solid #504945;
  text-align: center;
  background: rgba(251, 241, 199, 0.03);
}

.ascii-banner {
  font-family: monospace;
  white-space: pre;
  line-height: 1;
  margin-bottom: 8px;
  font-size: 8px;
  opacity: 0.9;
}

@media (max-width: 480px) {
  .ascii-banner {
    font-size: 14px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .ascii-banner {
    font-size: 7px;
  }
}

@media (min-width: 769px) {
  .ascii-banner {
    font-size: 9px;
  }
}

.simple-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  display: none;
}

#terminal {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: transparent;
}

#terminal::-webkit-scrollbar {
  width: 8px;
}

#terminal::-webkit-scrollbar-track {
  background: transparent;
}

#terminal::-webkit-scrollbar-thumb {
  background: #a89984;
  border-radius: 4px;
  opacity: 0.3;
}

.output {
  white-space: pre-wrap;
  margin-bottom: 12px;
  opacity: 0.9;
}

.line {
  display: flex;
  margin-bottom: 8px;
}

.prompt {
  color: #b8bb26;
  margin-right: 8px;
  opacity: 0.8;
  user-select: none;
}

input {
  background: transparent;
  border: none;
  color: #ebdbb2;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  width: 100%;
  caret-color: #b8bb26;
}

input::placeholder {
  color: rgba(235, 219, 178, 0.3);
}

a {
  color: #83a598;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: #83a598;
}

.boot-text {
  opacity: 0.7;
}

.success {
  color: #b8bb26;
}

.error {
  color: #fb4934;
}

.muted {
  opacity: 0.6;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  
  .window {
    max-height: 95vh;
  }
  
  .header h1 {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  #terminal {
    padding: 16px;
  }
  
  html, body {
    font-size: 13px;
  }
}

.cursor {
  animation: blink 1s infinite;
}

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