:root {
    --primary: #6366f1; --accent: #ec4899;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: #0f172a; color: #fff; min-height: 100vh; }
header { display: flex; justify-content: space-between; align-items: center; padding: 0 50px; height: 80px; border-bottom: 1px solid rgba(255,255,255,0.1); background: #0f172af2; }
.logo { font-size: 24px; font-weight: 800; }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pro-tag { font-size: 11px; color: #94a3b8; border: 1px solid #334155; padding: 4px 12px; border-radius: 20px; }
main { padding: 40px 20px; text-align: center; }
h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.card { background: rgba(30, 41, 59, 0.7); backdrop-filter: blur(20px); max-width: 600px; margin: 0 auto; padding: 30px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); }
.upload-zone { border: 2px dashed #6366f166; padding: 40px; border-radius: 15px; cursor: pointer; margin-bottom: 25px; transition: 0.3s; }
.upload-zone:hover { border-color: var(--accent); background: #ec48990d; }
.upload-zone i { font-size: 40px; color: var(--primary); margin-bottom: 10px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
@media (max-width: 500px) { .tool-grid { grid-template-columns: 1fr; } }
.control-group { background: #0000004d; padding: 15px; border-radius: 12px; text-align: left; }
.label { font-size: 11px; font-weight: bold; color: #94a3b8; margin-bottom: 10px; display: block; }
input, select { width: 100%; background: #0f172a; border: 1px solid #334155; color: white; padding: 12px; border-radius: 8px; }
.checkbox-label { font-size: 11px; color: #94a3b8; display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.btn-convert { width: 100%; background: var(--gradient); border: none; padding: 18px; border-radius: 12px; color: white; font-weight: bold; cursor: pointer; font-size: 16px; margin-top: 20px; }
.btn-reset { background: none; border: 1px solid #334155; color: #94a3b8; padding: 10px 20px; border-radius: 12px; cursor: pointer; margin-top: 15px; }
#pixel-info { font-size: 11px; color: #6366f1; margin-bottom: 5px; display: none; }
.footer-grid { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.footer-col h3 { font-size: 14px; color: var(--primary); }