/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0d1117;
  --card-bg: #161b22;
  --border: #30363d;
  --text: #c9d1d9;
  --text-muted: #8b949e;
  --green: #00ff41;
  --green-soft: #b5e853;
  --link: #4af626;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 6vw, 3.25rem);
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 65, .35);
  letter-spacing: -0.02em;
}

.cursor {
  color: var(--green);
  font-weight: 400;
}

.hero-tagline {
  margin-top: .75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .95rem;
  color: var(--text-muted);
}

/* === Terminal Card === */
.terminal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1rem;
  background: #1c2129;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  color: var(--green-soft);
}

.terminal-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.terminal-body p {
  margin-bottom: .75rem;
  color: var(--text);
}

.terminal-body p:last-child { margin-bottom: 0; }

/* === Entries === */
.entry {
  padding: .75rem 0;
}

.entry + .entry {
  border-top: 1px solid var(--border);
}

.entry h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--green-soft);
  font-weight: 500;
}

.entry .meta {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin: .15rem 0 .35rem;
}

.entry p {
  font-size: .95rem;
}

/* === Links === */
a {
  color: var(--link);
  text-decoration: none;
  transition: color .15s;
}

a:hover {
  color: var(--green);
  text-decoration: underline;
}

.links-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.links-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: .9rem;
}

.muted { color: var(--text-muted); }

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem 0 1rem;
  font-size: .8rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* === Responsive === */
@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2rem; }
  .terminal-body { padding: 1rem; }
  .links-list { flex-direction: column; gap: .5rem; }
}
