* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: white;
}

.container {
  width: 100%;
  max-width: 500px;
}

.card {
  background: #111827;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
  text-align: center;
}

h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.subtitle {
  color: #cbd5e1;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.search-box input {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 12px;
  outline: none;
  font-size: 16px;
}

.search-box button {
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: #22c55e;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: #16a34a;
}

.status {
  min-height: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #facc15;
}

.result {
  margin-top: 15px;
  animation: aparecer 0.4s ease;
}

.hidden {
  display: none;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #22c55e;
}

#name {
  font-size: 24px;
  margin-bottom: 6px;
}

.login {
  color: #93c5fd;
  margin-bottom: 12px;
}

.bio {
  color: #d1d5db;
  margin-bottom: 20px;
  line-height: 1.5;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.stat {
  background: #1f2937;
  padding: 14px 18px;
  border-radius: 14px;
  min-width: 100px;
}

.stat span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #22c55e;
  margin-bottom: 5px;
}

.stat small {
  color: #cbd5e1;
}

#profileLink {
  display: inline-block;
  text-decoration: none;
  background: #2563eb;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  transition: 0.3s;
}

#profileLink:hover {
  background: #1d4ed8;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .search-box {
    flex-direction: column;
  }

  .search-box button {
    width: 100%;
  }

  .card {
    padding: 22px;
  }

  h1 {
    font-size: 25px;
  }
}
