*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu;
}

body{
background:#0b1220;
color:#e6edf7;
min-height:100vh;
display:flex;
flex-direction:column;
}

header{
text-align:center;
padding:40px 20px;
}

h1{
font-size:2.4rem;
background:linear-gradient(135deg,#4da3ff,#00d4ff);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.tool-container{
max-width:900px;
margin:auto;
width:100%;
padding:20px;
}

.tool-box{
background:#111a2f;
padding:40px;
border-radius:14px;
border:1px solid rgba(255,255,255,0.05);
text-align:center;
}

.tool-box input{
margin-top:20px;
}

button{
margin-top:20px;
padding:12px 24px;
border-radius:8px;
border:none;
background:#4da3ff;
color:white;
font-weight:600;
cursor:pointer;
}

button:hover{
opacity:0.9;
}

.related-tools{
max-width:900px;
margin:40px auto;
padding:20px;
}

footer{
text-align:center;
padding:30px;
opacity:0.6;
}

.resize-controls{
display:flex;
gap:20px;
margin-top:20px;
flex-wrap:wrap;
justify-content:center;
}

.resize-controls label{
display:flex;
flex-direction:column;
font-size:14px;
color:#cbd5e1;
}

.resize-controls input,
.resize-controls select{
margin-top:5px;
padding:6px;
border-radius:6px;
border:none;
}

#preview img{
max-width:100%;
border-radius:8px;
margin-top:10px;
}