/* ================================================================
   TOOLS INDEX - /tools/ card grid icon area
   ================================================================ */
.tools-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.tool-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 50%, var(--accent-dim) 100%);
  position: relative;
  overflow: hidden;
}

.tool-card-icon::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -15%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  border-radius: 50%;
  transition: opacity 0.4s ease;
  opacity: 0.6;
}

.tool-card:hover .tool-card-icon::before {
  opacity: 1;
}

.tool-card-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  transition: transform 0.45s var(--ease-smooth);
  position: relative;
  z-index: 1;
}

.tool-card:hover .tool-card-icon svg {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .tool-card-icon {
    height: 100px;
  }
  .tool-card-icon svg {
    width: 36px;
    height: 36px;
  }
}

