:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --panel2:#0f0f0f;
  --text:#f5f5f5;
  --muted:#b9b9b9;
  --muted2:#8a8a8a;
  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.16);
  --focus:rgba(255,255,255,.35);
  --danger:#ff5c5c;
  --ok:#7CFFB2;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 50% 0%, #111 0%, var(--bg) 55%) fixed;
  color:var(--text);
}

.shell{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:48px 18px;
  gap:22px;
}

.card{
  width: min(720px, 100%);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.60);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.brand__dot{
  width:10px;height:10px;border-radius:50%;
  background: rgba(255,255,255,.75);
  box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}

.brand__name{
  font-weight:600;
  letter-spacing:.4px;
}

.brand__tag{
  color:var(--muted2);
  font-size:12px;
  margin-top:2px;
  letter-spacing:.6px;
  text-transform:uppercase;
}

.headline{
  margin:6px 0 6px;
  font-size:28px;
  letter-spacing:.2px;
}

.subhead{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.5;
}

.form{margin-top:6px}
.label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}

.row{
  display:flex;
  gap:10px;
  align-items:stretch;
}

.input{
  flex:1;
  background: rgba(0,0,0,.35);
  border:1px solid var(--border2);
  border-radius:12px;
  color:var(--text);
  padding:14px 14px;
  font-size:16px;
  outline:none;
  letter-spacing:.8px;
}

.input:focus{
  border-color:var(--focus);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.button{
  background: rgba(255,255,255,.92);
  color:#0a0a0a;
  border:0;
  border-radius:12px;
  padding:0 18px;
  font-weight:600;
  cursor:pointer;
  transition: transform .06s ease, opacity .2s ease;
  min-width: 120px;
}

.button:active{transform: translateY(1px)}
.button[disabled]{opacity:.5; cursor:not-allowed}

.status{
  margin-top:14px;
  min-height:20px;
  font-size:14px;
  color:var(--muted);
}

.status--error{color:var(--danger)}
.status--ok{color:var(--ok)}

.fineprint{
  margin-top:18px;
  color:var(--muted2);
  font-size:12px;
  line-height:1.45;
}

.footer{
  color:rgba(255,255,255,.45);
  font-size:12px;
  letter-spacing:.4px;
}

.hr{
  height:1px;
  background:var(--border);
  margin:18px 0;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 720px){
  .row{flex-direction:column}
  .button{min-height:46px}
  .grid{grid-template-columns:1fr}
}

.textarea{
  width:100%;
  min-height:120px;
  resize:vertical;
  background: rgba(0,0,0,.35);
  border:1px solid var(--border2);
  border-radius:12px;
  color:var(--text);
  padding:12px 14px;
  font-size:15px;
  outline:none;
}
.textarea:focus{
  border-color:var(--focus);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.smallnote{
  color:var(--muted2);
  font-size:12px;
  margin-top:6px;
}

.gateOverlay{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1200px 800px at 50% 0%, #111 0%, var(--bg) 55%) fixed;
  z-index: 9999;
}

.gateOverlay__box{
  width: min(560px, 92vw);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.60);
}

.gateOverlay__title{
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}

.gateOverlay__msg{
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

body.gate--unlocked #gateOverlay { display:none; }