:root{
  --bg:#050505;
  --ink:#f2f2f0;
  --ink-dim:#9a9a96;
  --yellow:#f5ec4b;
  --yellow-hot:#fff27a;
  --cyan:#6fe9e0;
  --line:rgba(255,255,255,.14);
}
*,*::before,*::after{ box-sizing:border-box; }

body{
  margin:0; min-height:100svh;
  display:grid; place-items:center;
  padding:40px 20px;
  background:
    radial-gradient(760px 420px at 50% 34%, rgba(245,236,75,.13), transparent 70%),
    radial-gradient(900px 600px at 50% 120%, rgba(111,233,224,.07), transparent 70%),
    var(--bg);
  color:var(--ink);
  font-family:'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow:hidden;
}

/* 稲妻のフラッシュ */
.bolt{
  position:fixed; inset:0; pointer-events:none;
  background:radial-gradient(620px 420px at 50% 20%, rgba(255,255,255,.085), transparent 70%);
  opacity:0; animation:strike 7s ease-in-out infinite;
}
@keyframes strike{
  0%,88%,100%{ opacity:0; }
  89%{ opacity:1; } 90.5%{ opacity:.12; }
  92%{ opacity:.85; } 93.5%{ opacity:0; }
}
@media (prefers-reduced-motion: reduce){ .bolt{ animation:none; } }

.gate{ width:min(100%, 420px); text-align:center; position:relative; }

.gate__logo{
  width:96px; height:96px; border-radius:50%; margin:0 auto 22px;
  box-shadow:0 0 54px rgba(245,236,75,.28);
}

.gate__h{
  font-family:'Dancing Script', cursive; font-weight:700;
  font-size:clamp(40px,11vw,60px); line-height:1; margin:0 0 18px;
  color:var(--yellow-hot);
  text-shadow:0 0 10px rgba(245,236,75,.9), 0 0 36px rgba(245,236,75,.55), 0 0 76px rgba(245,236,75,.3);
}
.gate__h em{
  display:block; font-family:'Orbitron',sans-serif; font-style:normal; font-weight:900;
  font-size:.42em; letter-spacing:.1em; transform:skewX(-8deg); margin-top:6px;
}

.gate__p{ color:var(--ink-dim); font-size:13.5px; line-height:1.9; margin:0 0 30px; }

.gate__form{ display:grid; gap:12px; }

.gate__form input{
  width:100%; padding:16px 18px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line); border-radius:3px;
  color:var(--ink); font-size:15px; letter-spacing:.18em;
  font-family:'Orbitron','Noto Sans JP',sans-serif;
  transition:border-color .2s, box-shadow .25s, background .2s;
}
.gate__form input::placeholder{ color:#5e5e5a; letter-spacing:.24em; }
.gate__form input:focus{
  outline:none; background:rgba(255,255,255,.08);
  border-color:var(--yellow);
  box-shadow:0 0 0 3px rgba(245,236,75,.16);
}

.gate__form button{
  padding:16px 20px; cursor:pointer;
  background:var(--yellow); color:#000;
  border:1px solid var(--yellow); border-radius:3px;
  font-family:'Orbitron',sans-serif; font-weight:800; font-size:13px; letter-spacing:.2em;
  transition:transform .18s, box-shadow .25s, background .2s;
}
.gate__form button:hover{
  transform:translateY(-2px); background:var(--yellow-hot);
  box-shadow:0 10px 34px rgba(245,236,75,.34);
}
.gate__form button:active{ transform:none; }

.gate__err{
  margin:18px 0 0; font-size:13px; color:#ff8f8f;
  border:1px solid rgba(255,143,143,.3); background:rgba(255,143,143,.08);
  border-radius:3px; padding:11px 14px;
}

.gate__foot{
  margin:34px 0 0; font-family:'Orbitron',sans-serif;
  font-size:10px; letter-spacing:.2em; color:#5e5e5a;
}

.sr{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

:focus-visible{ outline:2px solid var(--yellow); outline-offset:3px; }
