/* public/styles.css */
/* ---- Gruvbox palette ---- */
:root{
  --bg:#282828; --bg-hard:#1d2021; --bg-soft:#3c3836;
  --fg:#ebdbb2; --muted:#bdae93; --gold:#fabd2f; --green:#b8bb26;
  --blue:#83a598; --border:#504945; --danger:#fb4934;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:'Fira Sans',system-ui,Segoe UI,Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
}

.card{
  width:100%;
  max-width:900px;
  background:var(--bg-hard);
  border:1px solid var(--bg-soft);
  border-radius:20px;
  padding:40px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

h1{
  margin:0 0 28px;
  text-align:center;
  font-weight:800;
  font-size:40px;
  letter-spacing:.4px;
  color:var(--gold);
  text-shadow:0 2px 0 rgba(0,0,0,.25);
}


.label{
  display:block;
  margin:0 0 14px;
  color:var(--muted);
  font-weight:800;
  letter-spacing:.35px;
  text-transform:uppercase;
  font-size:18px;
}

.row{
  display:flex;
  gap:16px;
  align-items:center;
}

.input{
  flex:1;
  padding:20px 22px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--bg-soft);
  color:var(--fg);
  font:700 22px 'Fira Mono', ui-monospace, Menlo, Consolas, monospace;
  outline:none;
  transition:border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder{ color:#a89984; font-weight:400; }
.input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(250,189,47,.18);
  background:#34302e;
}

.btn{
  flex:0 0 auto;
  padding:20px 26px;
  min-width:200px;
  min-height:64px;
  border:0;
  border-radius:16px;
  font-weight:800;
  font-size:22px;
  letter-spacing:.3px;
  background:var(--green);
  color:#1d2021;
  cursor:pointer;
  box-shadow:0 6px 0 rgba(0,0,0,.25), 0 10px 24px rgba(184,187,38,.25) inset;
  transition:transform .04s ease, filter .15s ease;
}
.btn:hover{ filter:brightness(1.06); }
.btn:active{ transform:translateY(1px); }

.error{
  margin-top:14px;
  color:var(--danger);
  font-size:18px;
  font-weight:700;
}

.help{
  margin-top:10px;
  color:var(--muted);
  font-size:16px;
}

.link{ color:var(--blue); text-decoration:none; }
.link:hover{ text-decoration:underline; }

.footer{
  margin-top:24px;
  text-align:center;
  color:#7c6f64;
  font-size:14px;
}
h1{
  font-size: 40spx !important;
}
