:root{--fundo:#170821;--cartao:#22102f;--linha:#3b2350;--texto:#f6f1fa;--suave:#bfb1cc;--ouro:#f4b63f;--ouro2:#ffcf6b;--erro:#ff8a80}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--fundo);color:var(--texto);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;padding:24px 16px;background:radial-gradient(120% 70% at 50% 0%,#3a1450 0%,var(--fundo) 60%)}
main{flex:1;display:flex;align-items:center;justify-content:center}
.cartao{width:100%;max-width:380px;background:var(--cartao);border:1px solid var(--linha);border-radius:18px;padding:28px 22px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.marca{font-weight:800;font-size:30px;letter-spacing:-.5px;margin:0}.marca span{color:var(--ouro)}
.sub{margin:4px 0 22px;color:var(--suave);font-size:15px}
label{display:block;font-size:14px;font-weight:600;margin:14px 0 6px}
input{width:100%;font:inherit;font-size:17px;color:var(--texto);background:#170a22;border:1px solid var(--linha);border-radius:12px;padding:13px 14px;outline:none}
input:focus{border-color:var(--ouro);box-shadow:0 0 0 3px rgba(244,182,63,.25)}
button{width:100%;margin-top:22px;font:inherit;font-weight:700;font-size:17px;color:#1d0b26;background:linear-gradient(180deg,var(--ouro2),var(--ouro));border:0;border-radius:12px;padding:14px;cursor:pointer}
button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.erro{margin:16px 0 0;padding:10px 12px;border-radius:10px;background:rgba(255,138,128,.12);color:var(--erro);font-size:14px}
footer{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--suave);font-size:12px;padding-top:24px}
footer img{height:16px;width:auto;opacity:.85}
