#hero {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(88, 166, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 900px;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #58a6ff 0%, #8ab4f8 50%, #ff7b72 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: titleGlow 3s ease-in-out infinite;
  background-size: 200% 200%;
  font-family: 'Courier New', monospace;
  letter-spacing: -2px;
}

/* Typing / reveal helpers for hero */
.typing::after {
  content: '|';
  margin-left: 6px;
  color: #58a6ff;
  animation: blink 1s steps(2) infinite;
}

.hero-subtitle,
.hero-description,
.social-links a {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@keyframes titleGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-title::before {
  content: '> ';
  color: #58a6ff;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 50% { visibility: hidden; }
  51%, 100% { visibility: visible; }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #8b949e;
  margin-bottom: 2rem;
  font-family: 'Courier New', monospace;
}

.hero-subtitle::before {
  content: '// ';
  color: #58a6ff;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #c9d1d9;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  opacity: 1;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b949e;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: rgba(48, 54, 61, 0.3);
  border: 2px solid rgba(88, 166, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
 backdrop-filter: blur(10px); 
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(88, 166, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.social-link:hover::before {
  width: 400px;
  height: 400px;
}

.social-link:hover {
  color: #58a6ff;
  border-color: #58a6ff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(88, 166, 255, 0.5);
}

.social-link span {
  position: relative;
  z-index: 1;
}

