/* TOC目录样式已移至ios-book-theme.css */

/* 首页标题样式 */
.home-logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #242424;
  margin: 20px 0;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 打字机光标样式 */
.cursor {
  animation: blink 1s infinite;
  color: #242424 !important;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* 项目卡片样式 */
.repo-card {
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}

.repo-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.repo-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.2em;
}

.repo-card h3 a {
  color: #0366d6;
  text-decoration: none;
}

.repo-card h3 a:hover {
  text-decoration: none;
}

.repo-description {
  color: #586069;
  margin-bottom: 12px;
  font-size: 0.9em;
}

.repo-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85em;
  color: #586069;
  margin-bottom: 12px;
}

.lang-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 4px;
}

.repo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.topic-tag {
  background-color: #f1f3f4;
  color: #3c4043;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
}

#projects {
  padding-top: 80px;
  margin-top: -80px;
}

@media (max-width: 768px) {
  .repo-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
}