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

.portfolio-card {
  position: relative;
  padding-top: 60%;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(122, 92, 255, 0.4), rgba(0, 224, 255, 0.25));
  border: 1px solid var(--border);
}

.portfolio-card span {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  font-weight: 600;
}
