/* =========================================================
   TECH STACK SECTION
   ========================================================= */

#stack { 
  background: var(--bg2); 
}

.stack-category { 
  margin-bottom: 2rem; 
}

.stack-cat-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stack-cat-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

/* =========================================================
   TECH CARDS
   ========================================================= */

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}

.tech-card:hover {
  border-color: rgba(201, 168, 106, 0.2);
  background: var(--surface2);
}

.tech-icon {
  width: 40px; 
  height: 40px;
  object-fit: contain;
  filter: brightness(0.9) saturate(0.8);
  transition: filter 0.2s;
}

.tech-card:hover .tech-icon {
  filter: brightness(1) saturate(1);
}

.tech-name {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text2);
  letter-spacing: 0.05em;
}