/* PixaDojo gate overlay */
#gate{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#0b0f16,#090b10);
  z-index:9999;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#EAF2FF;
  padding:20px;
}

#gate-inner{
  width:100%;
  max-width:400px;
  text-align:center;
  background:linear-gradient(180deg,#0f141c,#0b0f16);
  border-radius:16px;
  padding:24px;
  box-shadow:0 22px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
}

#gate img.gate-main{
  width:100%;
  max-width:260px;
  height:auto;
  margin:0 auto 20px;
  display:block;
}

#gate h2{
  margin:0 0 10px;
  font-size:clamp(22px, 5vw, 28px);
  font-weight:800;
}

#gate p{
  color:#9db0c9;
  font-size:clamp(14px, 4vw, 16px);
  margin:8px 0;
}

.gate-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin-top:10px;
}

#gate input{
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:#0f141c;
  color:#EAF2FF;
  font-size:16px;
  outline:none;
}

#gate input::placeholder{
  color:#aab7cb;
}

#gate button{
  padding:12px 16px;
  border-radius:10px;
  border:0;
  background:linear-gradient(180deg,#E2572F,#ff7a45);
  color:#fff;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
}

#gate-msg{
  color:#ffb3a1;
  font-size:14px;
  min-height:20px;
  margin-top:8px;
}

/* Education link block */
.gate-sep{
  border:0;
  border-top:1px solid rgba(255,255,255,.08);
  margin:18px 0;
}

.gate-edu-label{
  font-size:13px;
  color:#9db0c9;
  margin:0 0 10px;
}

.gate-edu{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
  font-weight:800;
  color:#07261d;
  background:linear-gradient(180deg,#6ff0d5,#25caa4);
  text-decoration:none;
  box-shadow:0 10px 28px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.14);
  transition:transform .15s ease, filter .15s ease;
}

.gate-edu:hover{
  filter:saturate(1.05);
  transform:translateY(-1px);
}

.gate-edu:active{
  transform:translateY(0);
}

@media (max-width:480px){
  .gate-row{
    grid-template-columns:1fr;
  }

  #gate button{
    width:100%;
  }

  .gate-edu{
    width:100%;
  }
}