.project-card {
  width: 90%;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin: 15px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
}
.project-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}
.project-description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3498db;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 8px;
  margin-top: 8px;
}
.project-link i {
  margin-right: 0.5rem;
}
.project-link.project-link-gitee {
  background: #c71d23;
}
.project-link.project-link-github {
  background: black;
}
.project-link.project-link-sourceforge {
  background: #ff6600;
}
/* 语言标签样式 */
.language-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px 4px 6px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}
.language-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  flex-shrink: 0;
}
/* 不同语言的圆点颜色 */
.python-dot {
  background-color: #3572a5;
}
.cpp-dot {
  background-color: #f62525ff;
}
.qt-dot {
  background-color: #41cd52;
}
.markdown-dot {
  background-color: #083fa1;
}
.csharp-dot {
  background-color: #42eb21ff;
}
/* 许可证标签基础样式 */
.license-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 6px 12px 6px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  z-index: 10;
  /* max-width: 140px; */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
  /* user-select: none; */
}

.license-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  border-color: rgba(0, 0, 0, 0.12);
}

.license-icon {
  color: #6c757d;
  font-size: 11px;
  opacity: 0.9;
  flex-shrink: 0;
}

.license-text {
  color: #495057;
  letter-spacing: -0.1px;
  font-weight: 600;
  flex-shrink: 0;
}

/* 不同许可证类型的颜色主题 */
.license-tag.gpl {
  background: linear-gradient(
    135deg,
    rgba(24, 100, 171, 0.1) 0%,
    rgba(24, 100, 171, 0.05) 100%
  );
  border-color: rgba(24, 100, 171, 0.15);
}

.license-tag.gpl .license-icon {
  color: #1864ab;
}

.license-tag.gpl .license-text {
  color: #1864ab;
}

.license-tag.mit {
  background: linear-gradient(
    135deg,
    rgba(64, 115, 67, 0.1) 0%,
    rgba(64, 115, 67, 0.05) 100%
  );
  border-color: rgba(64, 115, 67, 0.15);
}

.license-tag.mit .license-icon {
  color: #407343;
}

.license-tag.mit .license-text {
  color: #407343;
}

.license-tag.apache {
  background: linear-gradient(
    135deg,
    rgba(199, 69, 55, 0.1) 0%,
    rgba(199, 69, 55, 0.05) 100%
  );
  border-color: rgba(199, 69, 55, 0.15);
}

.license-tag.apache .license-icon {
  color: #c74537;
}

.license-tag.apache .license-text {
  color: #c74537;
}

.license-tag.bsd {
  background: linear-gradient(
    135deg,
    rgba(140, 86, 48, 0.1) 0%,
    rgba(140, 86, 48, 0.05) 100%
  );
  border-color: rgba(140, 86, 48, 0.15);
}

.license-tag.bsd .license-icon {
  color: #8c5630;
}

.license-tag.bsd .license-text {
  color: #8c5630;
}

.license-tag.cc {
  background: linear-gradient(
    135deg,
    rgba(176, 110, 31, 0.1) 0%,
    rgba(176, 110, 31, 0.05) 100%
  );
  border-color: rgba(176, 110, 31, 0.15);
}

.license-tag.cc .license-icon {
  color: #b06e1f;
}

.license-tag.cc .license-text {
  color: #b06e1f;
}

.license-tag.agpl {
  background: linear-gradient(
    135deg,
    rgba(154, 74, 146, 0.1) 0%,
    rgba(154, 74, 146, 0.05) 100%
  );
  border-color: rgba(154, 74, 146, 0.15);
}

.license-tag.agpl .license-icon {
  color: #9a4a92;
}

.license-tag.agpl .license-text {
  color: #9a4a92;
}
