:root{
  --bg:#0f0f0f; --card:#12171f; --accent:#00ffe7; --accent2:#00cfc0;
  --text:#ffffff; --muted:#b3b3b3; --border:#1f2a36;
}

html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font-family:'Orbitron', sans-serif; }
body { min-height:100vh; overflow-x:hidden; overflow-y:auto; position:relative; }

/* Fondo */
canvas { position:fixed; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none; }

.wrap { max-width:1100px; margin:0 auto; padding:32px 16px 24px; }

/* Hero */
.hero { text-align:center; margin-bottom:18px; }
h1 { font-size:3.2rem; color:var(--accent); text-shadow:0 0 15px var(--accent); margin:0 0 6px; }
.tagline { color:#aaa; margin:0; font-size:1rem; letter-spacing:.5px; }

/* Social icons */
.social-links { margin:18px 0 10px; display:flex; gap:14px; justify-content:center; align-items:center; }
.icon-btn {
  width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
  border:1px solid var(--border); background:#0b1118; cursor:pointer;
  transition: transform .12s ease, box-shadow .2s ease, border-color .12s; color: var(--accent);
}
.icon-btn:hover { transform: translateY(-2px); border-color:#264358; box-shadow:0 8px 20px rgba(0,0,0,.4); }
.icon-btn svg { width:24px; height:24px; }

/* Auth panel */
.auth-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:18px auto 0; max-width:900px; }
.card {
  background: linear-gradient(180deg, #121924 0%, #0e141d 100%);
  border:1px solid var(--border); border-radius:16px; padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
.card h2 { margin:0 0 12px; font-size:1.2rem; letter-spacing:.5px; }
.hint { color:var(--muted); font-size:.8rem; margin-top:4px; }

.form-row { display:grid; gap:10px; margin-top:8px; }
.input {
  width:100%; padding:12px 12px; border-radius:10px; border:1px solid var(--border);
  background:#0b1118; color:var(--text); font-family:inherit; font-size:14px; outline:none;
}
.input::placeholder { color:#6b7280; }

.actions { display:flex; gap:10px; margin-top:12px; }
.btn {
  appearance:none; border:1px solid var(--border); border-radius:10px;
  padding:10px 14px; background:#0b1118; color:var(--text); cursor:pointer;
  font-weight:700; letter-spacing:.3px;
}
.btn:hover { border-color:#2a4a60; box-shadow: inset 0 0 0 2px #00ffe71a; }
.btn-primary { background:var(--accent); color:#001013; border-color:#0ea5a3; }
.btn-primary:hover { filter:brightness(.92); }

.optin { display:flex; align-items:center; gap:10px; margin-top:6px; color:#c7c7c7; font-size:.85rem; }
.optin input { width:18px; height:18px; }

/* Footer */
footer { position:relative; margin-top:18px; text-align:center; color:#555; font-size:.9rem; }

@media (max-width: 900px){
  .auth-grid { grid-template-columns:1fr; }
  .wrap { padding-top:22px; }
  h1 { font-size:2.4rem; }
}
