:root{
  --bg:#090b12;
  --panel:#111522;
  --panel2:#161b2b;
  --text:#f5f7ff;
  --muted:#959db2;
  --violet:#7868ff;
  --violet2:#a05cff;
  --green:#56db8f;
  --red:#ff667a;
  --line:rgba(255,255,255,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 50% -20%,rgba(120,104,255,.13),transparent 42%),
    var(--bg);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
.glow{position:fixed;border-radius:999px;filter:blur(120px);opacity:.16;pointer-events:none}
.glow-a{width:500px;height:500px;background:#765cff;top:-250px;left:-120px}
.glow-b{width:440px;height:440px;background:#b84cff;right:-250px;top:220px}

.nav{
  height:84px;
  max-width:1180px;
  margin:auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.brand{font-size:22px;font-weight:900;letter-spacing:.16em}
nav{display:flex;gap:30px;color:var(--muted);font-size:14px}
nav a:hover{color:white}

main{max-width:1180px;margin:auto;padding:0 28px}
.hero{padding:110px 0 95px;max-width:820px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.22em;color:#9c92ff;margin-bottom:20px}
h1{font-size:clamp(58px,9vw,108px);line-height:.88;letter-spacing:-.065em;margin:0 0 30px}
h1 span{
  background:linear-gradient(100deg,#fff 15%,#9588ff 58%,#c676ff);
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.lead{font-size:18px;color:var(--muted);margin:0 0 35px}
.status-card{
  display:inline-flex;align-items:center;gap:14px;padding:13px 17px;
  background:rgba(17,21,34,.82);border:1px solid var(--line);border-radius:12px
}
.status-card strong{display:block;font-size:14px}
.status-card small{display:block;color:var(--muted);margin-top:3px}
.status-dot{width:11px;height:11px;border-radius:50%;box-shadow:0 0 16px currentColor}
.status-dot.pending{background:#8c94a8;color:#8c94a8}
.status-dot.online{background:var(--green);color:var(--green)}
.status-dot.offline{background:var(--red);color:var(--red)}
.actions{display:flex;gap:13px;margin-top:32px;flex-wrap:wrap}
.btn{
  min-width:200px;height:54px;padding:0 24px;border-radius:10px;display:inline-flex;align-items:center;
  justify-content:center;font-weight:900;font-size:13px;letter-spacing:.05em;border:1px solid var(--line)
}
.btn.primary{background:linear-gradient(135deg,var(--violet),var(--violet2));box-shadow:0 14px 40px rgba(120,104,255,.25)}
.btn.secondary{background:#141827}
.btn.disabled{opacity:.45;cursor:not-allowed}

.features{
  display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);
  border-radius:16px;overflow:hidden;background:rgba(14,17,27,.68)
}
.features article{padding:34px;min-height:205px;border-right:1px solid var(--line)}
.features article:last-child{border-right:0}
.features span{color:#7169a9;font-weight:900;font-size:12px}
.features h3{font-size:25px;margin:24px 0 12px}
.features p{color:var(--muted);line-height:1.65;margin:0}

/* ===== REJESTRACJA ===== */
.register-section{
  margin:110px 0 120px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(380px,470px);
  gap:70px;
  align-items:start;
}
.register-copy{padding-top:16px}
.register-copy h2{
  font-size:48px;
  line-height:1.05;
  letter-spacing:-.04em;
  margin:0 0 18px;
}
.register-copy p{
  max-width:580px;
  margin:0;
  color:var(--muted);
  line-height:1.75;
  font-size:16px;
}
.rules{
  display:grid;
  gap:10px;
  margin-top:28px;
  max-width:520px;
}
.rules div{
  min-height:46px;
  padding:0 15px;
  display:flex;
  align-items:center;
  gap:14px;
  border:1px solid var(--line);
  border-radius:9px;
  background:rgba(17,21,34,.55);
  color:#c9cfde;
}
.rules b{
  color:#9288ff;
  font-size:11px;
  letter-spacing:.08em;
}
.rules span{font-size:14px}

.register-wrap{width:100%}
.register-card{
  display:block;
  width:100%;
  margin:0;
  padding:30px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(23,28,44,.98),rgba(14,17,27,.98));
  box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.form-head{margin-bottom:24px}
.form-kicker{
  display:block;
  margin-bottom:7px;
  color:#9c92ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
}
.form-head h3{
  margin:0;
  font-size:27px;
  letter-spacing:-.03em;
}
.field{
  display:block;
  width:100%;
  margin:0 0 17px;
}
.field label{
  display:block;
  width:100%;
  margin:0 0 8px;
  color:#a4acc0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}
.field input{
  display:block;
  width:100%;
  height:52px;
  margin:0;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:9px;
  outline:none;
  background:#0c0f18;
  color:#fff;
  font-family:inherit;
  font-size:15px;
  line-height:52px;
  appearance:none;
}
.field input::placeholder{color:#5f6678}
.field input:focus{
  border-color:#756cff;
  box-shadow:0 0 0 3px rgba(117,108,255,.11)
}
.check-row{
  display:flex;
  width:max-content;
  align-items:center;
  gap:9px;
  margin:3px 0 18px;
  color:#9ba3b8;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.check-row input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:#7868ff;
}
.register-card button{
  display:block;
  width:100%;
  height:55px;
  margin:0;
  padding:0 18px;
  border:0;
  border-radius:10px;
  cursor:pointer;
  color:white;
  background:linear-gradient(135deg,var(--violet),var(--violet2));
  box-shadow:0 12px 30px rgba(120,104,255,.18);
  font-family:inherit;
  font-size:13px;
  font-weight:900;
  letter-spacing:.06em;
}
.register-card button:hover{filter:brightness(1.08)}
.register-card button:disabled{opacity:.55;cursor:not-allowed}
.message{
  display:block;
  width:100%;
  min-height:22px;
  margin-top:15px;
  text-align:center;
  font-size:13px;
  line-height:1.5;
}
.message.success{color:var(--green)}
.message.error{color:var(--red)}

footer{
  max-width:1180px;margin:auto;padding:30px 28px 50px;border-top:1px solid var(--line);
  color:#697087;font-size:12px;display:flex;justify-content:space-between;gap:20px
}

@media(max-width:900px){
  .register-section{
    grid-template-columns:1fr;
    gap:35px;
  }
  .register-wrap{max-width:580px}
}
@media(max-width:760px){
  nav{display:none}
  .hero{padding-top:75px}
  .features{grid-template-columns:1fr}
  .features article{border-right:0;border-bottom:1px solid var(--line)}
  .features article:last-child{border-bottom:0}
  .register-section{margin-top:75px}
  .register-copy h2{font-size:39px}
  .register-card{padding:24px}
  footer{flex-direction:column}
}
