body {
  font-family: "PT Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

a {
  color: #58a6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Social Icons */
.social-icons {
  text-align: center;
  margin-top: 48px;
}

.social-icon {
  display: inline-block;
  margin: 0 8px;
  color: #8b949e;
  transition: color 0.2s;
}

.social-icon:hover {
  color: #c9d1d9;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.product-card:hover {
  border-color: #8b949e;
  background: #1c2128;
  text-decoration: none;
}

.product-logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  color: #f0f6fc;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.product-desc {
  color: #8b949e;
  font-size: 0.875rem;
  margin: 0 0 4px 0;
}

.product-role {
  display: inline-block;
  color: #8b949e;
  font-size: 0.75rem;
  padding: 2px 8px;
  background: #30363d;
  border-radius: 12px;
}

/* Chiku Animated Logo */
.chiku-logo {
  width: 48px;
  height: 48px;
  position: relative;
  flex-shrink: 0;
}

.chiku-bg-circle {
  position: absolute;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: chiku-bg-circle 4s ease-in-out infinite;
}

.chiku-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.chiku-eyes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: contain;
  z-index: 2;
  animation: chiku-eyes-animation 4s infinite;
}

@keyframes chiku-eyes-animation {
  0%, 25% { transform: scaleY(1); }
  28% { transform: scaleY(0); }
  31% { transform: scaleY(1); }
  34% { transform: scaleY(0); }
  37%, 75% { transform: scaleY(1); }
  78% { transform: scaleY(0); }
  81%, 100% { transform: scaleY(1); }
}

@keyframes chiku-bg-circle {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 1px solid #30363d;
}

.timeline-year {
  color: #8b949e;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 24px 0 12px -20px;
  padding-left: 20px;
  position: relative;
}

.timeline-year::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: #30363d;
  border-radius: 50%;
}

.timeline-item {
  position: relative;
  padding: 8px 0 8px 12px;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.timeline-dot.open {
  background: #238636;
}

.timeline-dot.closed {
  background: #da3633;
}

.timeline-dot.merged {
  background: #a371f7;
}

.timeline-content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.timeline-content a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.timeline-content a:hover .timeline-title {
  color: #58a6ff;
}

.timeline-repo {
  color: #58a6ff;
  font-size: 0.875rem;
  font-weight: 600;
}

.timeline-title {
  color: #c9d1d9;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.timeline-date {
  color: #6e7681;
  font-size: 0.75rem;
  margin-left: auto;
}

@media (max-width: 640px) {
  .timeline-content {
    flex-direction: column;
    gap: 4px;
  }

  .timeline-date {
    margin-left: 0;
  }
}
