/* Custom styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

/* Snowflake noise effect */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
}

.snowflake {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
  will-change: transform, opacity;
}

/* Preserve the canvas animation from the original site */
canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Particles.js container */
#particles-js {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
}

/* Repository card hover effect */
.repo-card {
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid #1a1a1a;
  background-color: #111111;
}

.repo-card:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.repo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  transition: 0.5s;
}

.repo-card:hover::before {
  left: 100%;
}

.repo-card .repo-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.1rem;
}

.repo-card .repo-description {
  color: #a0a0a0;
  margin-bottom: 16px;
}

.repo-card .repo-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #777777;
}

.repo-card .language-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

/* Repository placeholder styling */
.repo-placeholder {
  background-color: #111111;
  border: 1px solid #1a1a1a;
}

/* Description line clamp for 2 lines */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.6em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #111111;
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #888888;
} 