body{
margin:0;
font-family:Inter,Arial;
background:#0b1220;
color:white;
text-align:center;
}

header{
padding:25px;
font-size:26px;
font-weight:600;
background:#050a16;
box-shadow:0 5px 20px rgba(0,0,0,0.5);
}

.search{
margin:30px;
}

.search input{
padding:14px;
width:280px;
border-radius:10px;
border:none;
outline:none;
font-size:16px;
background:#1f2a3c;
color:white;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
padding:25px;
}

.card{
background:#162033;
border-radius:18px;
padding:25px;
transition:0.3s;
box-shadow:0 10px 30px rgba(0,0,0,0.6);
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,0,0,0.8);
}

.clock{
width:150px;
height:150px;
border-radius:50%;
margin:auto;
position:relative;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.5);
}

.clock img{
width:100%;
height:100%;
object-fit:cover;
}

.hand{
position:absolute;
bottom:50%;
left:50%;
transform-origin:bottom;
transform:translateX(-50%);
}

.hour{
width:6px;
height:40px;
background:#111;
border-radius:4px;
}

.minute{
width:4px;
height:60px;
background:#111;
border-radius:4px;
}

.second{
width:2px;
height:70px;
background:#ff3b3b;
}

.center{
width:12px;
height:12px;
background:#111;
border-radius:50%;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
}

h3{
margin-top:15px;
font-weight:500;
}

.time{
font-size:18px;
margin-top:6px;
color:#9fb3c8;
}
