/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BASE ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu;
  background: #0d1117;
  color: #c9d1d9;
  line-height: 1.6;
  padding: 40px;
}

/* ===== HEADER ===== */
h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.4rem;
  color: #58a6ff;
  letter-spacing: 0.5px;
}

/* ===== GRID ===== */
#projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ===== CARD ===== */
.project {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* ===== TITLES ===== */
.project h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #e6edf3;
}

/* ===== TAGS ===== */
.project p strong {
  color: #8b949e;
}

.project p {
  margin-bottom: 10px;
}

/* ===== QUICKSTART ===== */
.project ol {
  margin-left: 18px;
  margin-bottom: 12px;
}

.project ol li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* ===== LINKS ===== */
.project a {
  color: #58a6ff;
  text-decoration: none;
  font-weight: 500;
}

.project a:hover {
  text-decoration: underline;
}

/* ===== FOOTER LINKS ===== */
.project p:last-child {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  body {
    padding: 20px;
  }

  h1 {
    font-size: 1.8rem;
  }
}
