@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap');

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

body {
  background: #0a0a0a;
  color: #b0b0b0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.terminal-bar {
  background: #111;
  padding: 6px 16px;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 10;
}

.terminal-title {
  color: #666;
  font-size: 13px;
}

.terminal-body {
  padding: 24px;
  flex: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project {
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.project:hover {
  border-color: #28c840;
}

.project img {
  width: 100%;
  object-fit: contain;
  background: #0a0a0a;
  display: block;
  filter: brightness(0.8) saturate(0.85);
  transition: filter 0.3s;
}

.project:hover img {
  filter: brightness(1) saturate(1);
}

.project-info {
  padding: 12px 14px 4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.link {
  color: #5fa8d3;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.link:hover {
  color: #28c840;
}

.output {
  color: #888;
  font-size: 13px;
  padding: 0 14px 14px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .grid { grid-template-columns: 1fr; }
  .terminal-body { padding: 16px; }
}
