/* RGB Neon Animation */
@keyframes neon-rainbow {
  0%   { color: #ff00cc; text-shadow: 0 0 8px #ff00cc,0 0 20px #ff00cc,0 0 40px #ff00cc;}
  20%  { color: #00ffe7; text-shadow: 0 0 8px #00ffe7,0 0 20px #00ffe7,0 0 40px #00ffe7;}
  40%  { color: #00ff22; text-shadow: 0 0 8px #00ff22,0 0 20px #00ff22,0 0 40px #00ff22;}
  60%  { color: #ffea00; text-shadow: 0 0 8px #ffea00,0 0 20px #ffea00,0 0 40px #ffea00;}
  80%  { color: #00c6ff; text-shadow: 0 0 8px #00c6ff,0 0 20px #00c6ff,0 0 40px #00c6ff;}
  100% { color: #ff00cc; text-shadow: 0 0 8px #ff00cc,0 0 20px #ff00cc,0 0 40px #ff00cc;}
}

.neon-rainbow {
  animation: neon-rainbow 2.5s linear infinite;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #181818;
  color: #fff;
}

#animated-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
}
#anime-dots {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}
.bg-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
}
header {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 0;
}
header img#avatar {
  width: 120px; height: 120px;
  border-radius: 50%; border: 3px solid #fff;
  margin-bottom: 1rem;
}
header h1 {
  font-size: 2.8rem;
  margin: 0.3em 0;
}
header nav a {
  margin: 0 1em;
  text-decoration: none;
  font-weight: bold;
}
main, section {
  position: relative;
  z-index: 0;
}
section {
  max-width: 900px;
  margin: 3rem auto;
  background: rgba(30, 30, 30, 0.9);
  border-radius: 18px;
  padding: 2rem;
}
section h2 {
  font-size: 2rem;
}
#about-text, #bio, #form-status {
  font-size: 1.2em;
}
#repo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.repo-card {
  background: #222;
  padding: 1rem;
  border-radius: 14px;
  flex: 1 1 250px;
  min-width: 220px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px #fff4, 0 0 20px #fff2;
  transition: transform 0.2s;
}
.repo-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: #2b2b2b;
}
.repo-card h3 a {
  text-decoration: none;
}
.repo-card p {
  color: #fff;
  text-shadow: 0 0 6px #00fff7;
}
#blog-posts {
  margin-top: 1em;
}
.blog-post {
  background: #222;
  border-radius: 14px;
  margin-bottom: 1.5em;
  padding: 1em 1.5em;
  box-shadow: 0 2px 12px #fff2;
}
.blog-post h3 {
  margin-top: 0;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1.5em;
}
#contact-form input, #contact-form textarea {
  padding: 0.7em;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: #111;
  color: #fff;
  box-shadow: 0 0 8px #fff;
}
#contact-form input, #contact-form textarea, #contact-form button {
  animation: neon-rainbow 2.5s linear infinite;
}
#contact-form button {
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 0.7em;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 0 10px #fff;
}
ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (max-width: 700px) {
  section { padding: 1rem; }
  #repo-list { flex-direction: column; }
}
