*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0f172a,#1e293b,#334155);
    padding:20px;
}

.container{
    width:100%;
    max-width:900px;
}

.search-box{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(15px);
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,0.3);
}

.search-box h1{
    color:white;
    margin-bottom:25px;
}

.search{
    display:flex;
    gap:10px;
}

.search input{
    flex:1;
    padding:15px;
    border:none;
    border-radius:12px;
    outline:none;
    font-size:16px;
}

.search button{
    padding:15px 30px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    cursor:pointer;
    font-weight:600;
}

.search button:hover{
    background:#1d4ed8;
}

.loading{
    text-align:center;
    margin-top:20px;
    color:white;
    font-size:18px;
}

.profile-card{
    margin-top:25px;
    background:white;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.profile{
    display:flex;
    gap:25px;
    align-items:center;
}

.profile img{
    width:150px;
    height:150px;
    border-radius:50%;
    border:5px solid #2563eb;
}

.profile-info h2{
    margin-bottom:10px;
}

.profile-info p{
    color:#555;
    margin-bottom:10px;
}

.stats{
    display:flex;
    gap:20px;
    margin-top:15px;
}

.stat{
    text-align:center;
    background:#f1f5f9;
    padding:12px;
    border-radius:10px;
    min-width:90px;
}

.profile-info a{
    display:inline-block;
    margin-top:15px;
    background:#2563eb;
    color:white;
    padding:10px 20px;
    border-radius:10px;
    text-decoration:none;
}

.error{
    margin-top:20px;
    background:#fee2e2;
    color:#dc2626;
    padding:15px;
    border-radius:12px;
    text-align:center;
}

@media(max-width:700px){

.profile{
    flex-direction:column;
    text-align:center;
}

.stats{
    justify-content:center;
    flex-wrap:wrap;
}

.search{
    flex-direction:column;
}
}