* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #888888;
  --accent: #ffffff;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.6;
  padding: 20px;
}

.terminal {
  max-width: 900px;
  margin: 0 auto;
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Header Section */
.header {
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.logo {
  color: var(--accent);
  font-size: 0.7rem;
  line-height: 0.9rem;
  margin-bottom: 10px;
}

.slogan {
  color: var(--muted);
  font-size: 14px;
}

/* Content Section */
.content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.prompt {
  font-size: 18px;
  color: var(--text);
  white-space: pre-line;
}

#type-target {
  min-height: 1.3em;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1em;
  background: var(--accent);
  animation: blink 1s steps(2) infinite;
  vertical-align: text-bottom;
}

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

/* Footer Section */
.footer {
  padding-top: 20px;
  margin-top: 20px;
}

.tools {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.tool {
  color: var(--accent);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.tool:hover {
  color: var(--text);
  filter: brightness(1.5);
}

.key {
  color: var(--muted);
  margin-right: 5px;
}

/* Status Bar */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #222222;
}

.status-item {
  display: inline-block;
}

.status-item.clickable {
  cursor: pointer;
  transition: color 0.2s;
}

.status-item.clickable:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  body {
    padding: 10px;
  }
  
  .terminal {
    padding: 15px;
    min-height: calc(100vh - 20px);
  }
  
  .logo {
    font-size: 0.55rem;
    line-height: 0.75rem;
  }
  
  .slogan {
    font-size: 12px;
  }
  
  .prompt {
    font-size: 16px;
  }
  
  .tool {
    font-size: 14px;
  }
  
  .status-bar {
    font-size: 9px;
    gap: 8px;
    margin-top: 20px;
    padding-top: 10px;
  }
}
