/* vego.dev — portfolio */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #08080c;
  --text: #c8c8d4;
  --text-dim: #606070;
  --text-bright: #f0f0f8;
  --accent: #7c5cfc;
  --accent-glow: rgba(124, 92, 252, 0.25);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ---- hero ---- */
.hero {
  padding-top: 100px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ---- donut ---- */
.donut-pre {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  line-height: 1.0;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 12px 0;
  margin: 0;
  white-space: pre;
  overflow: visible;
  user-select: none;
}

/* ---- projects ---- */
.projects {
  max-width: 680px;
  margin: 60px auto 60px;
  padding: 0 24px;
}

.section-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.project-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

.project-icon { font-size: 1.3rem; }

.project-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
}

.project-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.project-url {
  font-size: 0.65rem;
  color: var(--accent);
  font-family: monospace;
  margin-top: 2px;
}

/* ---- footer ---- */
footer {
  text-align: center;
  padding: 12px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: var(--text-dim);
  font-size: 0.75rem;
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover { color: var(--text); }

/* ---- responsive ---- */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.4rem; }
  .donut-pre { font-size: 0.7rem; }
}
