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

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

body {
  background: #0a0a0a;
  color: #00ff88;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #ff3333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #cc0000; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.terminal {
  border: 1px solid #00ff88;
  border-radius: 6px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 0 20px rgba(0,255,136,0.05);
}

.terminal-header {
  background: #1a1a1a;
  padding: 10px 16px;
  border-bottom: 1px solid #00ff88;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.r { background: #ff3333; }
.terminal-dot.y { background: #ffaa00; }
.terminal-dot.g { background: #00ff88; }

.terminal-title {
  color: #888;
  font-size: 12px;
  letter-spacing: 1px;
  flex: 1;
}

.terminal-body {
  padding: 24px;
  min-height: 400px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.lang-switch button {
  background: transparent;
  border: 1px solid #333;
  color: #666;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
  letter-spacing: 1px;
}

.lang-switch button.active {
  border-color: #00ccff;
  color: #00ccff;
  background: rgba(0,204,255,0.1);
}

.lang-switch button:hover {
  border-color: #555;
  color: #aaa;
}

.lang-switch button.active:hover {
  border-color: #00ccff;
  color: #00ccff;
}

.lang-sep {
  color: #333;
  font-size: 11px;
}

.prompt { color: #ff3333; font-weight: 700; }
.prompt-cyan { color: #00ccff; }
.prompt-green { color: #00ff88; }

.line { margin-bottom: 4px; word-break: break-word; }

.blink { animation: blink 1s step-end infinite; }

@keyframes blink { 50% { opacity: 0; } }

.cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #00ff88;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

.ascii-box {
  color: #00ccff;
  line-height: 1.2;
  white-space: pre;
  font-size: 11px;
  margin: 12px 0;
  overflow-x: auto;
}

.ascii-box.red { color: #ff3333; }
.ascii-box.green { color: #00ff88; }

.divider {
  border: none;
  border-top: 1px solid #ff3333;
  margin: 20px 0;
  opacity: 0.3;
}

.section-title {
  color: #ff3333;
  font-weight: 700;
  font-size: 16px;
  margin: 24px 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::before {
  content: '# ';
  color: #00ccff;
}

.sub-title {
  color: #00ccff;
  font-weight: 700;
  margin: 16px 0 8px 0;
}

.sub-title::before {
  content: '> ';
  color: #ff3333;
}

.key { color: #ff3333; font-weight: 700; }
.val { color: #00ff88; }
.val-cyan { color: #00ccff; }

.indent { padding-left: 24px; }
.indent-2 { padding-left: 48px; }

code {
  background: #1a1a1a;
  color: #00ccff;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  border: 1px solid #2a2a2a;
}

pre.code-block {
  background: #111;
  border: 1px solid #2a2a2a;
  border-left: 3px solid #ff3333;
  padding: 12px 16px;
  margin: 8px 0;
  overflow-x: auto;
  color: #00ff88;
  font-size: 12px;
  line-height: 1.5;
}

.release-card {
  border: 1px solid #2a2a2a;
  border-left: 3px solid #00ccff;
  padding: 16px;
  margin: 12px 0;
  transition: border-color 0.2s;
}

.release-card:hover { border-color: #00ff88; }

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.release-version { color: #ff3333; font-weight: 700; font-size: 16px; }
.release-date { color: #666; font-size: 12px; }
.release-notes { color: #aaa; font-size: 13px; margin-bottom: 12px; }

.download-btn {
  display: inline-block;
  padding: 6px 16px;
  background: transparent;
  color: #00ff88;
  border: 1px solid #00ff88;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.download-btn:hover {
  background: #00ff88;
  color: #0a0a0a;
}

.download-btn:focus {
  outline: none;
  box-shadow: 0 0 6px rgba(0,255,136,0.4);
}

.empty-state {
  color: #555;
  font-style: italic;
  padding: 20px 0;
}

.footer {
  text-align: center;
  padding: 20px;
  color: #444;
  font-size: 12px;
  border-top: 1px solid #1a1a1a;
  margin-top: 30px;
}

.footer a {
  color: #00ccff;
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .terminal-body { padding: 16px; }
  .ascii-box { font-size: 9px; }
  .container { padding: 10px; }
  .terminal-title { font-size: 10px; }
}
