* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.container {
  width: 380px;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

button {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #2ea043;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #3fb950;
}

.profile-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: fadeIn 0.5s ease-in-out;
}

.hidden {
  display: none;
}

.profile-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #3fb950;
  margin-bottom: 10px;
}

.profile-card h2 {
  margin: 10px 0 5px;
}

.profile-card p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.stats div {
  text-align: center;
}

a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #58a6ff;
}

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