﻿:root {
  --bg: #0d1117;
  --bg-soft: #131923;
  --surface: #171f2b;
  --surface-hover: #1c2736;
  --border: #283446;
  --text: #e6ebf2;
  --muted: #9aa7b8;
  --accent: #8bb8ff;
  --accent-strong: #aacbff;
  --live-bg: #183a2d;
  --live-text: #79d2a8;
  --progress-bg: #3c2f1d;
  --progress-text: #e8be7a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 50% -160px, #1a2330 0%, transparent 70%),
    var(--bg);
}

.hub {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 64px 0 72px;
}

.hero {
  margin-bottom: 28px;
}

.domain {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 620;
  letter-spacing: -0.02em;
}

.intro {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.5;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)) , var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: #34465f;
  background: var(--surface-hover);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 580;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.status {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.status.live {
  background: var(--live-bg);
  color: var(--live-text);
}

.status.progress {
  background: var(--progress-bg);
  color: var(--progress-text);
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #3a4f6d;
  color: var(--accent);
  background: #172130;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 550;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.action:hover,
.action:focus-visible {
  color: var(--accent-strong);
  border-color: #4d6c95;
  background: #1b2940;
}

@media (max-width: 860px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .hub {
    padding-top: 52px;
  }
}

@media (max-width: 520px) {
  .project-card {
    padding: 16px;
    gap: 12px;
  }

  .card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
