* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  background: radial-gradient(ellipse at center, #001a00 0%, #000000 50%, #000000 100%);
  color: #0f0;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 255, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 0, 0.03) 0px,
    transparent 1px,
    transparent 2px,
    rgba(0, 255, 0, 0.03) 3px
  );
  pointer-events: none;
  z-index: 3;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.25;
  filter: blur(0.5px);
}

.container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 
    0 0 40px rgba(0, 255, 0, 0.1),
    inset 0 0 60px rgba(0, 255, 0, 0.02);
  animation: fadeInUp 1s ease-out;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.avatar-frame {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.4), rgba(0, 255, 0, 0.05));
  box-shadow: 0 0 18px rgba(0, 255, 0, 0.2), inset 0 0 14px rgba(0, 255, 0, 0.1);
  display: grid;
  place-items: center;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(0.1) contrast(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.profile-name {
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: 0.16em;
  color: #0f0;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-container {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin: 2rem 0;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0f0;
}

.typing-prefix {
  color: #0f0;
  margin-right: 0.5rem;
}

.typing-text {
  color: #0f0;
}

.cursor {
  animation: blink 1s infinite;
  color: #0f0;
  margin-left: 2px;
}

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

.info {
  margin: 2rem 0;
}

.subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: #0f0;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

.links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.link-btn {
  position: relative;
  padding: 1rem;
  background: transparent;
  border: 2px solid #0f0;
  color: #0f0;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0f0;
  transition: left 0.3s ease;
  z-index: -1;
}

.link-btn:hover::before {
  left: 0;
}

.link-btn svg {
  transition: transform 0.3s ease;
}

.link-btn:hover {
  color: #000;
  box-shadow: 
    0 0 10px #0f0,
    0 0 20px #0f0,
    0 0 30px #0f0,
    0 5px 15px rgba(0, 255, 0, 0.3);
  transform: translateY(-5px) perspective(500px) rotateX(10deg);
}

.link-btn:hover svg {
  transform: scale(1.2) rotate(5deg);
}

.link-btn:active {
  transform: translateY(-2px);
}

.footer {
  margin-top: 4rem;
  opacity: 0.5;
  font-size: 0.9rem;
  color: #0f0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .links {
    gap: 1rem;
  }
  
  .link-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .links {
    flex-direction: column;
    align-items: center;
  }
  
  .link-btn {
    width: 80%;
    max-width: 250px;
  }
}
