*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{

    min-height:100vh;

    background:linear-gradient(135deg,#0f172a,#111827,#1e293b);

    color:white;

    overflow-x:hidden;
}

.background{

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle at top left,#3b82f644,transparent 40%),

    radial-gradient(circle at bottom right,#8b5cf644,transparent 35%);

    z-index:-1;
}

.container{

    max-width:1100px;

    margin:auto;

    padding:60px 20px;
}

.hero{

    text-align:center;

    margin-bottom:45px;
}

.hero h1{

    font-size:55px;

    font-weight:700;
}

.hero p{

    color:#cbd5e1;

    margin-top:15px;

    font-size:18px;
}

.search-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:22px;

    padding:25px;

    display:flex;

    gap:15px;

    box-shadow:0 20px 45px rgba(0,0,0,.3);
}

input{

    flex:1;

    padding:18px;

    border:none;

    border-radius:15px;

    font-size:16px;

    outline:none;
}

button{

    border:none;

    border-radius:15px;

    padding:18px 28px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    color:white;

    background:linear-gradient(135deg,#2563eb,#7c3aed);

    transition:.25s;
}

button:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 25px rgba(37,99,235,.45);
}

.results{

    margin-top:45px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:20px;
}

.card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border-radius:18px;

    padding:25px;

    transition:.3s;

    border:1px solid rgba(255,255,255,.08);
}

.card:hover{

    transform:translateY(-7px);

    box-shadow:0 15px 35px rgba(0,0,0,.35);
}

.card h3{

    color:#60a5fa;

    margin-bottom:10px;

    font-size:18px;
}

.card p{

    color:white;

    word-break:break-word;

    line-height:1.5;
}

.loader{

    margin-top:35px;

    text-align:center;
}

.spinner{

    width:55px;

    height:55px;

    border:5px solid rgba(255,255,255,.25);

    border-top:5px solid #3b82f6;

    border-radius:50%;

    margin:auto;

    animation:spin 1s linear infinite;
}

@keyframes spin{

    to{

        transform:rotate(360deg);
    }
}

.error{

    margin-top:25px;

    background:#ef4444;

    padding:18px;

    border-radius:14px;

    text-align:center;
}

.hidden{

    display:none;
}

footer{

    text-align:center;

    padding:30px;

    color:#cbd5e1;
}

footer a{

    color:#60a5fa;

    text-decoration:none;

    margin-left:6px;
}

@media(max-width:700px){

.search-card{

flex-direction:column;
}

.hero h1{

font-size:38px;
}

}