Spaces:
Paused
Paused
File size: 6,341 Bytes
a39ccf4 7d1d67d a39ccf4 7d1d67d a39ccf4 7d1d67d a39ccf4 7d1d67d a39ccf4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>الذئب الابيض · @j49_c</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
:root {
--bg: #000000;
--surface: rgba(28, 28, 30, 0.6);
--surface-border: rgba(255, 255, 255, 0.1);
--primary: #0A84FF;
--primary-hover: #0071E3;
--text: #F5F5F7;
--muted: #86868B;
--error: #FF453A;
}
* {
box-sizing: border-box;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
color: var(--text);
background-color: var(--bg);
background-image:
radial-gradient(circle at 85% 50%, rgba(10, 132, 255, 0.15), transparent 25%),
radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.05), transparent 25%);
overflow: hidden;
padding: 20px;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(10, 132, 255, 0.5), transparent);
}
.container {
position: relative;
z-index: 10;
width: 100%;
max-width: 440px;
animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
opacity: 0;
transform: translateY(20px);
}
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.card {
background: var(--surface);
border: 1px solid var(--surface-border);
border-radius: 24px;
backdrop-filter: blur(40px);
-webkit-backdrop-filter: blur(40px);
padding: 40px 32px;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.header {
text-align: center;
margin-bottom: 32px;
}
.logo {
font-size: 36px;
margin-bottom: 12px;
display: inline-block;
background: linear-gradient(135deg, #fff, #a1a1a6);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.title {
font-size: 22px;
font-weight: 700;
letter-spacing: -0.5px;
margin-bottom: 8px;
}
.sub {
color: var(--muted);
font-size: 13px;
font-weight: 400;
line-height: 1.5;
}
.input-group {
position: relative;
margin-bottom: 12px;
}
input {
width: 100%;
padding: 14px 16px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(0, 0, 0, 0.3);
color: var(--text);
font-size: 15px;
outline: none;
transition: all 0.2s ease;
}
input::placeholder {
color: #6e6e73;
}
input:focus {
border-color: var(--primary);
background: rgba(0, 0, 0, 0.5);
box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.15);
}
.actions {
display: flex;
gap: 12px;
margin-top: 24px;
flex-direction: column;
}
.btn {
width: 100%;
padding: 14px;
border-radius: 12px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
border: none;
outline: none;
text-align: center;
}
.btn-primary {
background: var(--primary);
color: white;
box-shadow: 0 4px 14px rgba(10, 132, 255, 0.3);
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-1px);
}
.btn-primary:active {
transform: translateY(1px);
}
.btn-secondary {
background: transparent;
color: var(--primary);
border: 1px solid transparent;
}
.btn-secondary:hover {
background: rgba(10, 132, 255, 0.1);
}
.msg {
margin-top: 16px;
color: var(--muted);
font-size: 13px;
text-align: center;
min-height: 20px;
}
.footer {
text-align: center;
margin-top: 24px;
font-size: 12px;
color: #424245;
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<div class="header">
<div class="logo">الذئب الابيض</div>
<div class="title">Clearance Request</div>
<div class="sub">Register your operative credentials.<br>System limited to isolated container environments.
</div>
</div>
<div class="input-group">
<input id="u" placeholder="Agent Designation (e.g., neo_01)">
</div>
<div class="input-group">
<input id="e" placeholder="Secure Comm (Email)">
</div>
<div class="input-group">
<input id="p" placeholder="Passcode (min 6 chars)" type="password">
</div>
<div class="actions">
<button class="btn btn-primary" onclick="doCreate()">Submit Request</button>
<button class="btn btn-secondary" onclick="location.href='/login'">Return to Authentication</button>
</div>
<div class="msg" id="m"></div>
</div>
<div class="footer">All rights reserved. الذئب الابيض - @j49_c</div>
</div>
<script>
async function doCreate() {
const m = document.getElementById('m');
m.style.color = "var(--muted)";
m.textContent = 'Processing clearance request...';
const username = document.getElementById('u').value.trim();
const email = document.getElementById('e').value.trim();
const password = document.getElementById('p').value;
const r = await fetch('/api/auth/register-otp', {
method: 'POST', headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ username, email, password })
});
const d = await r.json().catch(() => ({ success: false, message: 'Server transmission error' }));
if (!r.ok || !d.success) { m.style.color = "var(--error)"; m.textContent = d.message || 'Clearance denied'; return; }
m.style.color = "#32D74B";
m.textContent = d.message || 'Clearance granted. Redirecting...';
setTimeout(() => location.href = '/dashboard', 1200);
}
</script>
</body>
</html> |