:root{
  --bg:#0b0d14;
  --panel:rgba(20,23,34,.72);
  --panel2:rgba(26,30,44,.6);
  --line:rgba(255,255,255,.08);
  --txt:#e9edf7;
  --muted:#8b93a7;
  --ice:#7fd2ff;
  --ice2:#5b8cff;
  --pink:#ff7ac2;
  --glow:0 0 60px rgba(91,140,255,.25);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--txt);
  display:flex;align-items:center;justify-content:center;
  min-height:100vh;padding:24px;position:relative;overflow-x:hidden;
}
.bg{
  position:fixed;inset:0;z-index:-2;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(127,210,255,.16), transparent 60%),
    radial-gradient(ellipse 55% 55% at 80% 80%, rgba(255,122,194,.13), transparent 60%),
    radial-gradient(ellipse 50% 40% at 60% 10%, rgba(91,140,255,.14), transparent 55%);
  animation:drift 18s ease-in-out infinite alternate;
}
.grain{
  position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.35;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(4%,3%,0) scale(1.06)}}
.shell{width:100%;max-width:460px;display:flex;flex-direction:column;gap:20px;animation:rise .6s cubic-bezier(.2,.8,.2,1) both}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.brand{text-align:center}
.logo{
  width:56px;height:56px;margin:0 auto 12px;display:grid;place-items:center;
  font-size:26px;border-radius:18px;background:linear-gradient(135deg,var(--ice),var(--pink));
  box-shadow:var(--glow);animation:pulse 3s ease-in-out infinite;
}
@keyframes pulse{0%,100%{box-shadow:0 0 30px rgba(91,140,255,.25)}50%{box-shadow:0 0 60px rgba(255,122,194,.35)}}
.brand h1{font-size:30px;font-weight:600;letter-spacing:.5px;font-style:italic}
.brand h1::selection{background:var(--ice)}
.tag{color:var(--muted);font-size:13.5px;margin-top:4px;letter-spacing:.3px}
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:20px;
  padding:26px;backdrop-filter:blur(14px);
  display:flex;flex-direction:column;gap:16px;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}
.card h2{font-size:20px;font-weight:600}
.sub{color:var(--muted);font-size:14px;line-height:1.5}
.status-dot{
  width:10px;height:10px;border-radius:50%;background:#2ee6a8;align-self:flex-start;
  box-shadow:0 0 12px #2ee6a8;animation:blink 1.6s ease-in-out infinite;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.35}}
.btn-discord{
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:14px;border:none;border-radius:12px;cursor:pointer;
  background:#5865F2;color:#fff;font-size:15px;font-weight:600;
  transition:transform .12s ease, box-shadow .2s ease;
  box-shadow:0 8px 24px rgba(88,101,242,.35);
}
.btn-discord:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(88,101,242,.5)}
.btn-discord:active{transform:translateY(0)}
.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--line)}
textarea{
  width:100%;min-height:80px;resize:vertical;border-radius:12px;padding:12px;
  background:var(--panel2);border:1px solid var(--line);color:var(--txt);
  font-family:ui-monospace,Consolas,monospace;font-size:13px;line-height:1.4;
}
textarea:focus{outline:none;border-color:var(--ice);box-shadow:0 0 0 3px rgba(127,210,255,.15)}
.btn-ghost{
  padding:12px;border-radius:12px;cursor:pointer;border:1px solid var(--line);
  background:var(--panel2);color:var(--txt);font-size:14px;font-weight:600;transition:.15s;
}
.btn-ghost:hover{border-color:var(--ice);color:var(--ice)}
.progress{list-style:none;display:flex;flex-direction:column;gap:12px}
.progress li{
  color:var(--muted);font-size:14px;display:flex;align-items:center;gap:10px;
  transition:color .3s, opacity .3s;
}
.progress li::before{
  content:"";width:16px;height:16px;border-radius:50%;flex:none;
  border:2px solid var(--line);transition:.3s;
}
.progress li.act{color:var(--txt)}
.progress li.act::before{border-color:var(--ice);animation:spin 1s linear infinite;border-top-color:transparent}
.progress li.done{color:#2ee6a8}
.progress li.done::before{background:#2ee6a8;border-color:#2ee6a8;content:"✓";display:grid;place-items:center;font-size:10px;color:#05121a;animation:none}
@keyframes spin{to{transform:rotate(360deg)}}
.bar{height:6px;background:var(--panel2);border-radius:6px;overflow:hidden}
.bar-fill{height:100%;width:0;background:linear-gradient(90deg,var(--ice),var(--pink));transition:width .5s ease;border-radius:6px}
.stat{color:var(--muted);font-size:12.5px;text-align:center;min-height:16px}
.check{
  width:56px;height:56px;margin:0 auto;border-radius:50%;display:grid;place-items:center;
  font-size:26px;color:#05121a;background:linear-gradient(135deg,#2ee6a8,var(--ice));
  box-shadow:0 0 40px rgba(46,230,168,.4);
}
#step-done{text-align:center}
.join-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.btn-link{
  padding:11px 18px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:600;
  background:linear-gradient(135deg,var(--ice),var(--ice2));color:#05121a;transition:.15s;
}
.btn-link:hover{transform:translateY(-2px)}
.btn-link.alt{background:transparent;border:1px solid var(--line);color:var(--txt)}
.btn-link.alt:hover{border-color:var(--pink);color:var(--pink)}
.foot{text-align:center;color:var(--muted);font-size:12px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.foot a{color:var(--muted);text-decoration:none}
.foot a:hover{color:var(--ice)}
.hidden{display:none}
.topnav{display:flex;justify-content:flex-end;margin-bottom:4px}
.builder-link{
  display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;
  background:var(--panel);border:1px solid var(--line);color:var(--txt);
  font-size:13px;font-weight:600;text-decoration:none;transition:.15s;backdrop-filter:blur(10px);
}
.builder-link:hover{border-color:var(--pink);color:var(--pink);transform:translateY(-1px)}