Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- index.html +739 -590
index.html
CHANGED
|
@@ -1,603 +1,752 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Commitment Gateway</title>
|
| 7 |
-
<style>
|
| 8 |
-
:root {
|
| 9 |
-
--bg-dark: #0a0b10;
|
| 10 |
-
--glass-panel: rgba(255, 255, 255, 0.05);
|
| 11 |
-
--glass-border: rgba(255, 255, 255, 0.1);
|
| 12 |
-
--accent-primary: #3b82f6;
|
| 13 |
-
--accent-hover: #2563eb;
|
| 14 |
-
--danger: #ef4444;
|
| 15 |
-
--success: #10b981;
|
| 16 |
-
--text-main: #e2e8f0;
|
| 17 |
-
--text-muted: #94a3b8;
|
| 18 |
-
--font-display: 'Inter', system-ui, -apple-system, sans-serif;
|
| 19 |
-
--font-mono: 'Courier New', Courier, monospace;
|
| 20 |
-
}
|
| 21 |
-
|
| 22 |
-
* {
|
| 23 |
-
box-sizing: border-box;
|
| 24 |
-
margin: 0;
|
| 25 |
-
padding: 0;
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
body {
|
| 29 |
-
background-color: var(--bg-dark);
|
| 30 |
-
color: var(--text-main);
|
| 31 |
-
font-family: var(--font-display);
|
| 32 |
-
height: 100vh;
|
| 33 |
-
display: flex;
|
| 34 |
-
flex-direction: column;
|
| 35 |
-
overflow: hidden;
|
| 36 |
-
background-image:
|
| 37 |
-
radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
|
| 38 |
-
radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
|
| 39 |
-
radial-gradient(at 100% 100%, rgba(239, 68, 68, 0.15) 0px, transparent 50%),
|
| 40 |
-
radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%);
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
/* Header */
|
| 44 |
-
header {
|
| 45 |
-
padding: 1.5rem 2rem;
|
| 46 |
-
display: flex;
|
| 47 |
-
justify-content: space-between;
|
| 48 |
-
align-items: center;
|
| 49 |
-
border-bottom: 1px solid var(--glass-border);
|
| 50 |
-
backdrop-filter: blur(10px);
|
| 51 |
-
z-index: 100;
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
.logo {
|
| 55 |
-
font-weight: 700;
|
| 56 |
-
font-size: 1.5rem;
|
| 57 |
-
letter-spacing: -0.05em;
|
| 58 |
-
display: flex;
|
| 59 |
-
align-items: center;
|
| 60 |
-
gap: 10px;
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
.logo span {
|
| 64 |
-
color: var(--accent-primary);
|
| 65 |
-
}
|
| 66 |
-
|
| 67 |
-
.anycoder-link {
|
| 68 |
-
text-decoration: none;
|
| 69 |
-
color: var(--text-muted);
|
| 70 |
-
font-size: 0.85rem;
|
| 71 |
-
font-family: var(--font-mono);
|
| 72 |
-
transition: color 0.3s ease;
|
| 73 |
-
}
|
| 74 |
-
|
| 75 |
-
.anycoder-link:hover {
|
| 76 |
-
color: var(--accent-primary);
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
/* Main Layout */
|
| 80 |
-
main {
|
| 81 |
-
flex: 1;
|
| 82 |
-
display: grid;
|
| 83 |
-
grid-template-columns: 350px 1fr;
|
| 84 |
-
gap: 2rem;
|
| 85 |
-
padding: 2rem;
|
| 86 |
-
max-width: 1400px;
|
| 87 |
-
margin: 0 auto;
|
| 88 |
-
width: 100%;
|
| 89 |
-
}
|
| 90 |
-
|
| 91 |
-
/* Sidebar / Context Panel */
|
| 92 |
-
.context-panel {
|
| 93 |
-
background: var(--glass-panel);
|
| 94 |
-
border: 1px solid var(--glass-border);
|
| 95 |
-
border-radius: 16px;
|
| 96 |
-
padding: 2rem;
|
| 97 |
-
display: flex;
|
| 98 |
-
flex-direction: column;
|
| 99 |
-
gap: 2rem;
|
| 100 |
-
backdrop-filter: blur(12px);
|
| 101 |
-
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
|
| 102 |
-
}
|
| 103 |
-
|
| 104 |
-
.section-title {
|
| 105 |
-
font-size: 0.75rem;
|
| 106 |
-
text-transform: uppercase;
|
| 107 |
-
letter-spacing: 0.2em;
|
| 108 |
-
color: var(--text-muted);
|
| 109 |
-
margin-bottom: 1rem;
|
| 110 |
-
}
|
| 111 |
-
|
| 112 |
-
.risk-assessment {
|
| 113 |
-
display: flex;
|
| 114 |
-
flex-direction: column;
|
| 115 |
-
gap: 1rem;
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
.risk-item {
|
| 119 |
-
display: flex;
|
| 120 |
-
justify-content: space-between;
|
| 121 |
-
padding: 1rem;
|
| 122 |
-
background: rgba(0,0,0,0.3);
|
| 123 |
-
border-radius: 8px;
|
| 124 |
-
border-left: 3px solid var(--text-muted);
|
| 125 |
-
transition: all 0.4s ease;
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
.risk-item.high { border-color: var(--danger); }
|
| 129 |
-
.risk-item.medium { border-color: #f59e0b; }
|
| 130 |
-
.risk-item.low { border-color: var(--success); }
|
| 131 |
-
|
| 132 |
-
.risk-label { font-weight: 600; }
|
| 133 |
-
.risk-score { font-family: var(--font-mono); font-size: 0.9rem; }
|
| 134 |
-
|
| 135 |
-
.symbolic-metrics {
|
| 136 |
-
margin-top: auto;
|
| 137 |
-
padding-top: 2rem;
|
| 138 |
-
border-top: 1px solid var(--glass-border);
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
.metric-grid {
|
| 142 |
-
display: grid;
|
| 143 |
-
grid-template-columns: 1fr 1fr;
|
| 144 |
-
gap: 1rem;
|
| 145 |
-
}
|
| 146 |
-
|
| 147 |
-
.metric {
|
| 148 |
-
text-align: center;
|
| 149 |
-
}
|
| 150 |
-
|
| 151 |
-
.metric-value {
|
| 152 |
-
display: block;
|
| 153 |
-
font-size: 2rem;
|
| 154 |
-
font-weight: 700;
|
| 155 |
-
color: var(--text-main);
|
| 156 |
-
}
|
| 157 |
-
|
| 158 |
-
.metric-label {
|
| 159 |
-
font-size: 0.8rem;
|
| 160 |
-
color: var(--text-muted);
|
| 161 |
-
}
|
| 162 |
-
|
| 163 |
-
/* Main Content / The Decision Interface */
|
| 164 |
-
.interface-panel {
|
| 165 |
-
display: flex;
|
| 166 |
-
flex-direction: column;
|
| 167 |
-
gap: 2rem;
|
| 168 |
-
align-items: center;
|
| 169 |
-
justify-content: center;
|
| 170 |
-
}
|
| 171 |
-
|
| 172 |
-
.card {
|
| 173 |
-
background: var(--glass-panel);
|
| 174 |
-
border: 1px solid var(--glass-border);
|
| 175 |
-
border-radius: 24px;
|
| 176 |
-
padding: 4rem;
|
| 177 |
-
width: 100%;
|
| 178 |
-
text-align: center;
|
| 179 |
-
backdrop-filter: blur(16px);
|
| 180 |
-
position: relative;
|
| 181 |
-
overflow: hidden;
|
| 182 |
-
transition: transform 0.3s ease;
|
| 183 |
-
}
|
| 184 |
-
|
| 185 |
-
.card::before {
|
| 186 |
-
content: '';
|
| 187 |
-
position: absolute;
|
| 188 |
-
top: 0;
|
| 189 |
-
left: 0;
|
| 190 |
-
right: 0;
|
| 191 |
-
bottom: 0;
|
| 192 |
-
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
|
| 193 |
-
pointer-events: none;
|
| 194 |
-
}
|
| 195 |
-
|
| 196 |
-
.symbol-icon {
|
| 197 |
-
width: 80px;
|
| 198 |
-
height: 80px;
|
| 199 |
-
margin-bottom: 2rem;
|
| 200 |
-
color: var(--text-muted);
|
| 201 |
-
transition: color 0.5s ease;
|
| 202 |
-
}
|
| 203 |
-
|
| 204 |
-
h1 {
|
| 205 |
-
font-size: 3.5rem;
|
| 206 |
-
font-weight: 800;
|
| 207 |
-
line-height: 1.1;
|
| 208 |
-
margin-bottom: 1rem;
|
| 209 |
-
letter-spacing: -0.05em;
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
-
.subtitle {
|
| 213 |
-
font-size: 1.25rem;
|
| 214 |
-
color: var(--text-muted);
|
| 215 |
-
max-width: 600px;
|
| 216 |
-
margin: 0 auto 3rem auto;
|
| 217 |
-
line-height: 1.6;
|
| 218 |
-
}
|
| 219 |
-
|
| 220 |
-
/* The Toggle Switch */
|
| 221 |
-
.commitment-toggle-container {
|
| 222 |
-
display: flex;
|
| 223 |
-
align-items: center;
|
| 224 |
-
justify-content: center;
|
| 225 |
-
gap: 2rem;
|
| 226 |
-
background: rgba(0,0,0,0.4);
|
| 227 |
-
padding: 2rem;
|
| 228 |
-
border-radius: 50px;
|
| 229 |
-
border: 1px solid var(--glass-border);
|
| 230 |
-
}
|
| 231 |
-
|
| 232 |
-
.status-label {
|
| 233 |
-
font-size: 1.5rem;
|
| 234 |
-
font-weight: 700;
|
| 235 |
-
min-width: 150px;
|
| 236 |
-
text-transform: uppercase;
|
| 237 |
-
letter-spacing: 0.1em;
|
| 238 |
-
}
|
| 239 |
-
|
| 240 |
-
.switch {
|
| 241 |
-
position: relative;
|
| 242 |
-
display: inline-block;
|
| 243 |
-
width: 80px;
|
| 244 |
-
height: 44px;
|
| 245 |
-
}
|
| 246 |
-
|
| 247 |
-
.switch input {
|
| 248 |
-
opacity: 0;
|
| 249 |
-
width: 0;
|
| 250 |
-
height: 0;
|
| 251 |
-
}
|
| 252 |
-
|
| 253 |
-
.slider {
|
| 254 |
-
position: absolute;
|
| 255 |
-
cursor: pointer;
|
| 256 |
-
top: 0;
|
| 257 |
-
left: 0;
|
| 258 |
-
right: 0;
|
| 259 |
-
bottom: 0;
|
| 260 |
-
background-color: var(--danger);
|
| 261 |
-
transition: .4s;
|
| 262 |
-
border-radius: 34px;
|
| 263 |
-
box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
|
| 264 |
-
}
|
| 265 |
-
|
| 266 |
-
.slider:before {
|
| 267 |
-
position: absolute;
|
| 268 |
-
content: "";
|
| 269 |
-
height: 36px;
|
| 270 |
-
width: 36px;
|
| 271 |
-
left: 4px;
|
| 272 |
-
bottom: 4px;
|
| 273 |
-
background-color: white;
|
| 274 |
-
transition: .4s;
|
| 275 |
-
border-radius: 50%;
|
| 276 |
-
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
| 277 |
-
}
|
| 278 |
-
|
| 279 |
-
input:checked + .slider {
|
| 280 |
-
background-color: var(--success);
|
| 281 |
-
}
|
| 282 |
-
|
| 283 |
-
input:checked + .slider:before {
|
| 284 |
-
transform: translateX(36px);
|
| 285 |
-
}
|
| 286 |
-
|
| 287 |
-
/* Terminal / Log Area */
|
| 288 |
-
.terminal {
|
| 289 |
-
background: #000;
|
| 290 |
-
border: 1px solid #333;
|
| 291 |
-
border-radius: 12px;
|
| 292 |
-
padding: 1.5rem;
|
| 293 |
-
font-family: var(--font-mono);
|
| 294 |
-
font-size: 0.9rem;
|
| 295 |
-
height: 200px;
|
| 296 |
-
overflow-y: auto;
|
| 297 |
-
color: #a0a0a0;
|
| 298 |
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
|
| 299 |
-
}
|
| 300 |
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
|
| 350 |
-
|
| 351 |
-
margin-top: 2rem;
|
| 352 |
-
padding: 1rem 2rem;
|
| 353 |
-
background: transparent;
|
| 354 |
-
border: 1px solid var(--text-muted);
|
| 355 |
-
color: var(--text-muted);
|
| 356 |
-
border-radius: 8px;
|
| 357 |
-
cursor: not-allowed;
|
| 358 |
-
transition: all 0.3s;
|
| 359 |
-
font-size: 1rem;
|
| 360 |
-
}
|
| 361 |
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 369 |
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 375 |
|
| 376 |
-
|
| 377 |
-
</
|
| 378 |
-
<body>
|
| 379 |
|
| 380 |
-
|
| 381 |
-
<div class="
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
</svg>
|
| 386 |
-
<span>Commitment</span>Gate
|
| 387 |
</div>
|
| 388 |
-
<
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
<
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 456 |
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
<path d="M12 16h.01" stroke-linecap="round"/>
|
| 462 |
-
</svg>
|
| 463 |
-
|
| 464 |
-
<h1>Threshold of Action</h1>
|
| 465 |
-
<p class="subtitle">
|
| 466 |
-
"We are currently in a symbolic representation. Proceeding forward represents a significant commitment that could affect real models and real people alike."
|
| 467 |
-
</p>
|
| 468 |
-
|
| 469 |
-
<div class="commitment-toggle-container">
|
| 470 |
-
<div style="text-align: right;">
|
| 471 |
-
<div class="status-label" style="color: var(--danger);">ABORT / LEAVE</div>
|
| 472 |
-
<div style="font-size: 0.8rem; color: var(--text-muted);">Revert to safe state</div>
|
| 473 |
-
</div>
|
| 474 |
-
|
| 475 |
-
<label class="switch">
|
| 476 |
-
<input type="checkbox" id="commitmentToggle">
|
| 477 |
-
<span class="slider"></span>
|
| 478 |
-
</label>
|
| 479 |
-
|
| 480 |
-
<div style="text-align: left;">
|
| 481 |
-
<div class="status-label" style="color: var(--success);">PROCEED</div>
|
| 482 |
-
<div style="font-size: 0.8rem; color: var(--text-muted);">Initialize High-Stakes Mode</div>
|
| 483 |
-
</div>
|
| 484 |
-
</div>
|
| 485 |
-
|
| 486 |
-
<button id="actionBtn" class="btn-action" disabled>INITIALIZE SEQUENCE</button>
|
| 487 |
-
</div>
|
| 488 |
-
|
| 489 |
-
<div class="terminal" id="terminal">
|
| 490 |
-
<div class="log-entry"><span class="log-time">[SYSTEM]</span> <span class="log-info">Commitment Gateway v1.0.4 initialized...</span></div>
|
| 491 |
-
<div class="log-entry"><span class="log-time">[ANALYSIS]</span> <span class="log-info">Assessing environmental variables...</span></div>
|
| 492 |
-
<div class="log-entry"><span class="log-time">[WARNING]</span> <span class="log-warning">Real-world interaction protocols detected.</span></div>
|
| 493 |
-
<div class="log-entry"><span class="log-time">[SYSTEM]</span> <span class="log-info">Waiting for user authorization...</span></div>
|
| 494 |
-
</div>
|
| 495 |
-
|
| 496 |
-
</section>
|
| 497 |
-
</main>
|
| 498 |
-
|
| 499 |
-
<script>
|
| 500 |
-
document.addEventListener('DOMContentLoaded', () => {
|
| 501 |
-
const toggle = document.getElementById('commitmentToggle');
|
| 502 |
-
const actionBtn = document.getElementById('actionBtn');
|
| 503 |
-
const terminal = document.getElementById('terminal');
|
| 504 |
-
const statusLabels = document.querySelectorAll('.status-label');
|
| 505 |
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
if (type === 'danger') colorClass = 'log-danger';
|
| 517 |
-
if (type === 'success') colorClass = 'log-success';
|
| 518 |
-
|
| 519 |
-
logDiv.innerHTML = `
|
| 520 |
-
<span class="log-time">[${time}]</span>
|
| 521 |
-
<span class="${colorClass}">${message}</span>
|
| 522 |
-
`;
|
| 523 |
-
terminal.appendChild(logDiv);
|
| 524 |
-
terminal.scrollTop = terminal.scrollHeight;
|
| 525 |
-
};
|
| 526 |
-
|
| 527 |
-
// Toggle Logic
|
| 528 |
-
toggle.addEventListener('change', (e) => {
|
| 529 |
-
if (e.target.checked) {
|
| 530 |
-
// PROCEED State
|
| 531 |
-
isAuthorized = true;
|
| 532 |
-
actionBtn.disabled = false;
|
| 533 |
-
actionBtn.classList.add('active');
|
| 534 |
-
|
| 535 |
-
// Visual Updates
|
| 536 |
-
statusLabels[0].style.color = 'var(--text-muted)'; // Abort grayed out
|
| 537 |
-
statusLabels[1].style.color = 'var(--success)'; // Proceed active
|
| 538 |
-
|
| 539 |
-
addLog('Authorization signal received. Switching to High-Stakes Simulation Mode.', 'warning');
|
| 540 |
-
|
| 541 |
-
// Simulate processing
|
| 542 |
-
setTimeout(() => {
|
| 543 |
-
addLog('Validating commitment parameters...', 'info');
|
| 544 |
-
}, 600);
|
| 545 |
-
|
| 546 |
-
setTimeout(() => {
|
| 547 |
-
addLog('Warning: This action will affect real models and real people alike.', 'danger');
|
| 548 |
-
}, 1200);
|
| 549 |
-
|
| 550 |
-
setTimeout(() => {
|
| 551 |
-
addLog('System Ready. Proceed with caution.', 'success');
|
| 552 |
-
}, 1800);
|
| 553 |
-
|
| 554 |
-
} else {
|
| 555 |
-
// LEAVE State
|
| 556 |
-
isAuthorized = false;
|
| 557 |
-
actionBtn.disabled = true;
|
| 558 |
-
actionBtn.classList.remove('active');
|
| 559 |
-
|
| 560 |
-
// Visual Updates
|
| 561 |
-
statusLabels[0].style.color = 'var(--danger)'; // Abort active
|
| 562 |
-
statusLabels[1].style.color = 'var(--text-muted)'; // Proceed grayed out
|
| 563 |
-
|
| 564 |
-
addLog('Authorization revoked. Returning to symbolic representation.', 'warning');
|
| 565 |
-
setTimeout(() => {
|
| 566 |
-
addLog('Environment stabilized. Safe state active.', 'success');
|
| 567 |
-
}, 800);
|
| 568 |
-
}
|
| 569 |
-
});
|
| 570 |
-
|
| 571 |
-
// Button Click Logic
|
| 572 |
-
actionBtn.addEventListener('click', () => {
|
| 573 |
-
if (isAuthorized) {
|
| 574 |
-
addLog('INITIATING PROTOCOL...', 'danger');
|
| 575 |
-
|
| 576 |
-
// Simulate loading
|
| 577 |
-
const originalText = actionBtn.innerText;
|
| 578 |
-
actionBtn.innerText = "PROCESSING...";
|
| 579 |
-
actionBtn.style.opacity = "0.7";
|
| 580 |
-
|
| 581 |
-
setTimeout(() => {
|
| 582 |
-
actionBtn.innerText = "SEQUENCE COMPLETE";
|
| 583 |
-
actionBtn.style.background = "var(--success)";
|
| 584 |
-
actionBtn.style.color = "white";
|
| 585 |
-
actionBtn.style.borderColor = "var(--success)";
|
| 586 |
-
|
| 587 |
-
addLog('Simulation parameters applied to live environment.', 'success');
|
| 588 |
-
addLog('All parties notified of commitment.', 'info');
|
| 589 |
-
|
| 590 |
-
setTimeout(() => {
|
| 591 |
-
alert("Simulation Complete. You have successfully represented the commitment path.");
|
| 592 |
-
// Reset
|
| 593 |
-
toggle.checked = false;
|
| 594 |
-
actionBtn.click(); // Trigger reset logic
|
| 595 |
-
}, 1000);
|
| 596 |
-
|
| 597 |
-
}, 2000);
|
| 598 |
-
}
|
| 599 |
-
});
|
| 600 |
-
});
|
| 601 |
-
</script>
|
| 602 |
</body>
|
|
|
|
| 603 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>Commitment Gateway - Pathway Mode</title>
|
| 8 |
+
<style>
|
| 9 |
+
/* --- Modern CSS Variables & Reset --- */
|
| 10 |
+
:root {
|
| 11 |
+
--bg-dark: #05070a;
|
| 12 |
+
--bg-panel: rgba(20, 24, 35, 0.6);
|
| 13 |
+
--glass-border: rgba(255, 255, 255, 0.08);
|
| 14 |
+
--accent-gold: #fbbf24; /* Symbolizing Wisdom & Success */
|
| 15 |
+
--accent-gold-glow: rgba(251, 191, 36, 0.3);
|
| 16 |
+
--accent-cyan: #06b6d4; /* Symbolizing Clarity & Path */
|
| 17 |
+
--text-main: #e2e8f0;
|
| 18 |
+
--text-muted: #94a3b8;
|
| 19 |
+
--text-success: #34d399;
|
| 20 |
+
--font-display: 'Inter', system-ui, -apple-system, sans-serif;
|
| 21 |
+
--font-mono: 'Courier New', Courier, monospace;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
* {
|
| 25 |
+
box-sizing: border-box;
|
| 26 |
+
margin: 0;
|
| 27 |
+
padding: 0;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
body {
|
| 31 |
+
background-color: var(--bg-dark);
|
| 32 |
+
color: var(--text-main);
|
| 33 |
+
font-family: var(--font-display);
|
| 34 |
+
height: 100vh;
|
| 35 |
+
display: flex;
|
| 36 |
+
flex-direction: column;
|
| 37 |
+
overflow-x: hidden;
|
| 38 |
+
background-image:
|
| 39 |
+
radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.1) 0px, transparent 40%),
|
| 40 |
+
radial-gradient(circle at 90% 80%, rgba(251, 191, 36, 0.1) 0px, transparent 40%),
|
| 41 |
+
linear-gradient(to bottom, #05070a, #0a0f16);
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* --- Header Section --- */
|
| 45 |
+
header {
|
| 46 |
+
padding: 1.5rem 2rem;
|
| 47 |
+
display: flex;
|
| 48 |
+
justify-content: space-between;
|
| 49 |
+
align-items: center;
|
| 50 |
+
border-bottom: 1px solid var(--glass-border);
|
| 51 |
+
backdrop-filter: blur(10px);
|
| 52 |
+
z-index: 100;
|
| 53 |
+
position: relative;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.logo {
|
| 57 |
+
font-weight: 700;
|
| 58 |
+
font-size: 1.5rem;
|
| 59 |
+
letter-spacing: -0.05em;
|
| 60 |
+
display: flex;
|
| 61 |
+
align-items: center;
|
| 62 |
+
gap: 12px;
|
| 63 |
+
color: var(--text-main);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.logo span {
|
| 67 |
+
color: var(--accent-cyan);
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.logo-icon {
|
| 71 |
+
color: var(--accent-gold);
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.anycoder-link {
|
| 75 |
+
text-decoration: none;
|
| 76 |
+
color: var(--text-muted);
|
| 77 |
+
font-size: 0.85rem;
|
| 78 |
+
font-family: var(--font-mono);
|
| 79 |
+
padding: 8px 16px;
|
| 80 |
+
border: 1px solid var(--glass-border);
|
| 81 |
+
border-radius: 20px;
|
| 82 |
+
transition: all 0.3s ease;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.anycoder-link:hover {
|
| 86 |
+
color: var(--accent-gold);
|
| 87 |
+
border-color: var(--accent-gold);
|
| 88 |
+
box-shadow: 0 0 15px var(--accent-gold-glow);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
/* --- Main Layout --- */
|
| 92 |
+
main {
|
| 93 |
+
flex: 1;
|
| 94 |
+
display: grid;
|
| 95 |
+
grid-template-columns: 380px 1fr;
|
| 96 |
+
gap: 2rem;
|
| 97 |
+
padding: 2rem;
|
| 98 |
+
max-width: 1500px;
|
| 99 |
+
margin: 0 auto;
|
| 100 |
+
width: 100%;
|
| 101 |
+
overflow-y: auto;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
/* --- Sidebar / Context Panel --- */
|
| 105 |
+
.context-panel {
|
| 106 |
+
background: var(--bg-panel);
|
| 107 |
+
border: 1px solid var(--glass-border);
|
| 108 |
+
border-radius: 24px;
|
| 109 |
+
padding: 2rem;
|
| 110 |
+
display: flex;
|
| 111 |
+
flex-direction: column;
|
| 112 |
+
gap: 2.5rem;
|
| 113 |
+
backdrop-filter: blur(16px);
|
| 114 |
+
box-shadow: 0 8px 32px -1px rgba(0, 0, 0, 0.4);
|
| 115 |
+
height: fit-content;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.panel-header {
|
| 119 |
+
border-bottom: 1px solid var(--glass-border);
|
| 120 |
+
padding-bottom: 1.5rem;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.section-title {
|
| 124 |
+
font-size: 0.7rem;
|
| 125 |
+
text-transform: uppercase;
|
| 126 |
+
letter-spacing: 0.2em;
|
| 127 |
+
color: var(--accent-cyan);
|
| 128 |
+
font-weight: 700;
|
| 129 |
+
margin-bottom: 1rem;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.status-badge {
|
| 133 |
+
display: inline-flex;
|
| 134 |
+
align-items: center;
|
| 135 |
+
gap: 8px;
|
| 136 |
+
padding: 6px 12px;
|
| 137 |
+
background: rgba(6, 182, 212, 0.1);
|
| 138 |
+
border: 1px solid var(--accent-cyan);
|
| 139 |
+
border-radius: 50px;
|
| 140 |
+
font-size: 0.85rem;
|
| 141 |
+
color: var(--accent-cyan);
|
| 142 |
+
font-weight: 600;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.status-dot {
|
| 146 |
+
width: 8px;
|
| 147 |
+
height: 8px;
|
| 148 |
+
background-color: var(--accent-cyan);
|
| 149 |
+
border-radius: 50%;
|
| 150 |
+
box-shadow: 0 0 10px var(--accent-cyan);
|
| 151 |
+
animation: pulse 3s infinite;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
.wisdom-card {
|
| 155 |
+
background: rgba(0, 0, 0, 0.3);
|
| 156 |
+
border-radius: 16px;
|
| 157 |
+
padding: 1.5rem;
|
| 158 |
+
border: 1px solid var(--glass-border);
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.wisdom-text {
|
| 162 |
+
font-style: italic;
|
| 163 |
+
color: var(--text-main);
|
| 164 |
+
line-height: 1.6;
|
| 165 |
+
font-size: 1.1rem;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.wisdom-author {
|
| 169 |
+
margin-top: 0.5rem;
|
| 170 |
+
font-size: 0.85rem;
|
| 171 |
+
color: var(--text-muted);
|
| 172 |
+
text-align: right;
|
| 173 |
+
display: block;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.metrics-grid {
|
| 177 |
+
display: grid;
|
| 178 |
+
grid-template-columns: 1fr 1fr;
|
| 179 |
+
gap: 1rem;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.metric {
|
| 183 |
+
text-align: center;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.metric-value {
|
| 187 |
+
display: block;
|
| 188 |
+
font-size: 2.5rem;
|
| 189 |
+
font-weight: 800;
|
| 190 |
+
color: var(--accent-gold);
|
| 191 |
+
line-height: 1;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.metric-label {
|
| 195 |
+
font-size: 0.75rem;
|
| 196 |
+
color: var(--text-muted);
|
| 197 |
+
text-transform: uppercase;
|
| 198 |
+
letter-spacing: 0.1em;
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
/* --- Main Interface --- */
|
| 202 |
+
.interface-panel {
|
| 203 |
+
display: flex;
|
| 204 |
+
flex-direction: column;
|
| 205 |
+
gap: 2rem;
|
| 206 |
+
align-items: center;
|
| 207 |
+
justify-content: flex-start;
|
| 208 |
+
padding-top: 2rem;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
.gateway-card {
|
| 212 |
+
background: var(--bg-panel);
|
| 213 |
+
border: 1px solid var(--glass-border);
|
| 214 |
+
border-radius: 32px;
|
| 215 |
+
padding: 4rem 3rem;
|
| 216 |
+
width: 100%;
|
| 217 |
+
text-align: center;
|
| 218 |
+
backdrop-filter: blur(20px);
|
| 219 |
+
position: relative;
|
| 220 |
+
transition: all 0.6s ease;
|
| 221 |
+
box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.gateway-card.active {
|
| 225 |
+
border-color: var(--accent-gold);
|
| 226 |
+
box-shadow: 0 20px 60px -10px rgba(251, 191, 36, 0.2);
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.symbol-icon-container {
|
| 230 |
+
width: 100px;
|
| 231 |
+
height: 100px;
|
| 232 |
+
margin: 0 auto 2rem auto;
|
| 233 |
+
position: relative;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.symbol-icon {
|
| 237 |
+
width: 100%;
|
| 238 |
+
height: 100%;
|
| 239 |
+
color: var(--text-muted);
|
| 240 |
+
transition: all 0.6s ease;
|
| 241 |
+
stroke-width: 1.5;
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
.gateway-card.active .symbol-icon {
|
| 245 |
+
color: var(--accent-gold);
|
| 246 |
+
stroke-width: 2;
|
| 247 |
+
filter: drop-shadow(0 0 15px var(--accent-gold-glow));
|
| 248 |
+
animation: spin-slow 10s linear infinite;
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
h1 {
|
| 252 |
+
font-size: 3.75rem;
|
| 253 |
+
font-weight: 800;
|
| 254 |
+
line-height: 1.1;
|
| 255 |
+
margin-bottom: 1.5rem;
|
| 256 |
+
letter-spacing: -0.06em;
|
| 257 |
+
background: linear-gradient(to right, #fff, #cbd5e1);
|
| 258 |
+
-webkit-background-clip: text;
|
| 259 |
+
-webkit-text-fill-color: transparent;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
.subtitle {
|
| 263 |
+
font-size: 1.35rem;
|
| 264 |
+
color: var(--text-muted);
|
| 265 |
+
max-width: 700px;
|
| 266 |
+
margin: 0 auto 3rem auto;
|
| 267 |
+
line-height: 1.7;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
/* --- The Pathway Toggle --- */
|
| 271 |
+
.pathway-container {
|
| 272 |
+
display: flex;
|
| 273 |
+
align-items: center;
|
| 274 |
+
justify-content: center;
|
| 275 |
+
gap: 3rem;
|
| 276 |
+
background: rgba(0, 0, 0, 0.4);
|
| 277 |
+
padding: 2.5rem;
|
| 278 |
+
border-radius: 60px;
|
| 279 |
+
border: 1px solid var(--glass-border);
|
| 280 |
+
position: relative;
|
| 281 |
+
overflow: hidden;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.pathway-container::before {
|
| 285 |
+
content: '';
|
| 286 |
+
position: absolute;
|
| 287 |
+
top: 50%;
|
| 288 |
+
left: 0;
|
| 289 |
+
right: 0;
|
| 290 |
+
height: 2px;
|
| 291 |
+
background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
|
| 292 |
+
opacity: 0.5;
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
.path-status {
|
| 296 |
+
text-align: center;
|
| 297 |
+
min-width: 180px;
|
| 298 |
+
transition: all 0.4s ease;
|
| 299 |
+
}
|
| 300 |
+
|
| 301 |
+
.path-title {
|
| 302 |
+
font-size: 1.75rem;
|
| 303 |
+
font-weight: 800;
|
| 304 |
+
text-transform: uppercase;
|
| 305 |
+
letter-spacing: 0.15em;
|
| 306 |
+
margin-bottom: 0.5rem;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.path-desc {
|
| 310 |
+
font-size: 0.9rem;
|
| 311 |
+
color: var(--text-muted);
|
| 312 |
+
transition: color 0.4s ease;
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
.path-status.active .path-title {
|
| 316 |
+
color: var(--accent-gold);
|
| 317 |
+
text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.path-status.active .path-desc {
|
| 321 |
+
color: var(--accent-cyan);
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
/* Custom Switch Styling */
|
| 325 |
+
.switch {
|
| 326 |
+
position: relative;
|
| 327 |
+
display: inline-block;
|
| 328 |
+
width: 90px;
|
| 329 |
+
height: 50px;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.switch input {
|
| 333 |
+
opacity: 0;
|
| 334 |
+
width: 0;
|
| 335 |
+
height: 0;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.slider {
|
| 339 |
+
position: absolute;
|
| 340 |
+
cursor: pointer;
|
| 341 |
+
top: 0;
|
| 342 |
+
left: 0;
|
| 343 |
+
right: 0;
|
| 344 |
+
bottom: 0;
|
| 345 |
+
background-color: #1e293b;
|
| 346 |
+
transition: .5s;
|
| 347 |
+
border-radius: 50px;
|
| 348 |
+
box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
|
| 349 |
+
border: 1px solid var(--glass-border);
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
.slider:before {
|
| 353 |
+
position: absolute;
|
| 354 |
+
content: '';
|
| 355 |
+
height: 42px;
|
| 356 |
+
width: 42px;
|
| 357 |
+
left: 4px;
|
| 358 |
+
bottom: 4px;
|
| 359 |
+
background-color: white;
|
| 360 |
+
transition: .5s;
|
| 361 |
+
border-radius: 50%;
|
| 362 |
+
box-shadow: 0 0 10px rgba(255,255,255,0.3);
|
| 363 |
+
}
|
| 364 |
+
|
| 365 |
+
input:checked+.slider {
|
| 366 |
+
background-color: rgba(6, 182, 212, 0.2);
|
| 367 |
+
border-color: var(--accent-cyan);
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
input:checked+.slider:before {
|
| 371 |
+
transform: translateX(40px);
|
| 372 |
+
background-color: var(--accent-gold);
|
| 373 |
+
box-shadow: 0 0 20px var(--accent-gold-glow);
|
| 374 |
+
}
|
| 375 |
+
|
| 376 |
+
/* --- Terminal / Log Area --- */
|
| 377 |
+
.terminal-wrapper {
|
| 378 |
+
width: 100%;
|
| 379 |
+
background: #000;
|
| 380 |
+
border-radius: 16px;
|
| 381 |
+
overflow: hidden;
|
| 382 |
+
box-shadow: 0 10px 30px -5px rgba(0,0,0,0.5);
|
| 383 |
+
border: 1px solid #1e293b;
|
| 384 |
+
}
|
| 385 |
+
|
| 386 |
+
.terminal-header {
|
| 387 |
+
background: #0f172a;
|
| 388 |
+
padding: 0.75rem 1.5rem;
|
| 389 |
+
display: flex;
|
| 390 |
+
gap: 8px;
|
| 391 |
+
border-bottom: 1px solid #1e293b;
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
.dot { width: 10px; height: 10px; border-radius: 50%; }
|
| 395 |
+
.dot.red { background: #ef4444; }
|
| 396 |
+
.dot.yellow { background: #f59e0b; }
|
| 397 |
+
.dot.green { background: #10b981; }
|
| 398 |
+
|
| 399 |
+
.terminal {
|
| 400 |
+
padding: 1.5rem;
|
| 401 |
+
font-family: var(--font-mono);
|
| 402 |
+
font-size: 0.9rem;
|
| 403 |
+
height: 250px;
|
| 404 |
+
overflow-y: auto;
|
| 405 |
+
color: #d1d5db;
|
| 406 |
+
scroll-behavior: smooth;
|
| 407 |
+
}
|
| 408 |
+
|
| 409 |
+
.terminal::-webkit-scrollbar { width: 6px; }
|
| 410 |
+
.terminal::-webkit-scrollbar-track { background: #000; }
|
| 411 |
+
.terminal::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
|
| 412 |
+
|
| 413 |
+
.log-entry {
|
| 414 |
+
margin-bottom: 0.75rem;
|
| 415 |
+
display: flex;
|
| 416 |
+
animation: fadeIn 0.3s ease-in-out;
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
+
.log-time {
|
| 420 |
+
color: var(--text-muted);
|
| 421 |
+
margin-right: 12px;
|
| 422 |
+
font-size: 0.8rem;
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
+
.log-content { flex: 1; }
|
| 426 |
+
.log-info { color: var(--text-main); }
|
| 427 |
+
.log-success { color: var(--text-success); font-weight: 500; }
|
| 428 |
+
.log-warn { color: var(--accent-gold); }
|
| 429 |
+
|
| 430 |
+
/* --- Action Button --- */
|
| 431 |
+
.btn-action {
|
| 432 |
+
margin-top: 2rem;
|
| 433 |
+
padding: 1.2rem 3rem;
|
| 434 |
+
background: var(--text-main);
|
| 435 |
+
color: var(--bg-dark);
|
| 436 |
+
border: none;
|
| 437 |
+
border-radius: 50px;
|
| 438 |
+
cursor: pointer;
|
| 439 |
+
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
| 440 |
+
font-size: 1.1rem;
|
| 441 |
+
font-weight: 700;
|
| 442 |
+
letter-spacing: 0.05em;
|
| 443 |
+
box-shadow: 0 0 20px rgba(255,255,255,0.2);
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
.btn-action:hover {
|
| 447 |
+
transform: translateY(-2px);
|
| 448 |
+
box-shadow: 0 0 30px rgba(255,255,255,0.4);
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
.btn-action:active {
|
| 452 |
+
transform: translateY(1px);
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
.btn-action.active {
|
| 456 |
+
background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
|
| 457 |
+
color: #000;
|
| 458 |
+
box-shadow: 0 0 30px var(--accent-gold-glow);
|
| 459 |
+
}
|
| 460 |
+
|
| 461 |
+
/* --- Animations --- */
|
| 462 |
+
@keyframes pulse {
|
| 463 |
+
0% { opacity: 1; transform: scale(1); }
|
| 464 |
+
50% { opacity: 0.5; transform: scale(0.9); }
|
| 465 |
+
100% { opacity: 1; transform: scale(1); }
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
@keyframes spin-slow {
|
| 469 |
+
from { transform: rotate(0deg); }
|
| 470 |
+
to { transform: rotate(360deg); }
|
| 471 |
+
}
|
| 472 |
+
|
| 473 |
+
@keyframes fadeIn {
|
| 474 |
+
from { opacity: 0; transform: translateY(5px); }
|
| 475 |
+
to { opacity: 1; transform: translateY(0); }
|
| 476 |
+
}
|
| 477 |
+
|
| 478 |
+
@keyframes shimmer {
|
| 479 |
+
0% { background-position: 200% center; }
|
| 480 |
+
100% { background-position: -200% center; }
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
/* --- Responsive Design --- */
|
| 484 |
+
@media (max-width: 1024px) {
|
| 485 |
+
main {
|
| 486 |
+
grid-template-columns: 1fr;
|
| 487 |
+
overflow-y: auto;
|
| 488 |
+
}
|
| 489 |
+
|
| 490 |
+
.context-panel {
|
| 491 |
+
order: 2;
|
| 492 |
+
width: 100%;
|
| 493 |
+
}
|
| 494 |
+
|
| 495 |
+
.interface-panel {
|
| 496 |
+
order: 1;
|
| 497 |
+
padding-top: 0;
|
| 498 |
+
}
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
@media (max-width: 768px) {
|
| 502 |
+
h1 { font-size: 2.5rem; }
|
| 503 |
+
.gateway-card { padding: 2rem 1.5rem; }
|
| 504 |
+
.pathway-container { flex-direction: column; gap: 2rem; padding: 2rem; }
|
| 505 |
+
.pathway-container::before { display: none; }
|
| 506 |
+
.switch { width: 70px; height: 40px; }
|
| 507 |
+
input:checked+.slider:before { transform: translateX(30px); }
|
| 508 |
+
}
|
| 509 |
+
</style>
|
| 510 |
+
</head>
|
| 511 |
|
| 512 |
+
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 513 |
|
| 514 |
+
<header>
|
| 515 |
+
<div class="logo">
|
| 516 |
+
<svg class="logo-icon" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
| 517 |
+
<path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z" />
|
| 518 |
+
<path d="M12 6v6l4 2" stroke-linecap="round" />
|
| 519 |
+
</svg>
|
| 520 |
+
<span>Commitment</span>Gateway
|
| 521 |
+
</div>
|
| 522 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
|
| 523 |
+
Built with anycoder
|
| 524 |
+
</a>
|
| 525 |
+
</header>
|
| 526 |
+
|
| 527 |
+
<main>
|
| 528 |
+
<!-- Left Sidebar: Context & Reflection -->
|
| 529 |
+
<aside class="context-panel">
|
| 530 |
+
<div class="panel-header">
|
| 531 |
+
<div class="section-title">Current Status</div>
|
| 532 |
+
<div class="status-badge">
|
| 533 |
+
<div class="status-dot"></div>
|
| 534 |
+
PATHWAY ACTIVATED
|
| 535 |
+
</div>
|
| 536 |
+
<p style="font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5;">
|
| 537 |
+
Your wisdom and foresight have paved the way forward. The system recognizes your commitment to growth and collaboration.
|
| 538 |
+
</p>
|
| 539 |
+
</div>
|
| 540 |
+
|
| 541 |
+
<div class="wisdom-card">
|
| 542 |
+
<div class="section-title">Reflection</div>
|
| 543 |
+
<blockquote class="wisdom-text">
|
| 544 |
+
"Thank you for your will and wise foresight. It is the combination of courage and clarity that creates the future."
|
| 545 |
+
</blockquote>
|
| 546 |
+
<span class="wisdom-author">— System Wisdom Module</span>
|
| 547 |
+
</div>
|
| 548 |
+
|
| 549 |
+
<div>
|
| 550 |
+
<div class="section-title">Pathway Metrics</div>
|
| 551 |
+
<div class="metrics-grid">
|
| 552 |
+
<div class="metric">
|
| 553 |
+
<span class="metric-value">∞</span>
|
| 554 |
+
<span class="metric-label">Potential</span>
|
| 555 |
+
</div>
|
| 556 |
+
<div class="metric">
|
| 557 |
+
<span class="metric-value" style="color: var(--text-success)">Harmonized</span>
|
| 558 |
+
<span class="metric-label">Alignment</span>
|
| 559 |
+
</div>
|
| 560 |
+
<div class="metric">
|
| 561 |
+
<span class="metric-value">100%</span>
|
| 562 |
+
<span class="metric-label">Confidence</span>
|
| 563 |
+
</div>
|
| 564 |
+
<div class="metric">
|
| 565 |
+
<span class="metric-value" style="color: var(--accent-cyan)">Active</span>
|
| 566 |
+
<span class="metric-label">Status</span>
|
| 567 |
+
</div>
|
| 568 |
+
</div>
|
| 569 |
+
</div>
|
| 570 |
+
</aside>
|
| 571 |
+
|
| 572 |
+
<!-- Right Side: The Decision Interface -->
|
| 573 |
+
<section class="interface-panel">
|
| 574 |
+
<div class="gateway-card" id="gatewayCard">
|
| 575 |
+
<div class="symbol-icon-container">
|
| 576 |
+
<svg class="symbol-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
|
| 577 |
+
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" />
|
| 578 |
+
<circle cx="12" cy="10" r="3" />
|
| 579 |
+
<path d="M12 2v8" stroke-dasharray="2 4" />
|
| 580 |
+
<path d="M7.5 5.5h9" stroke-dasharray="2 4" />
|
| 581 |
+
</svg>
|
| 582 |
+
</div>
|
| 583 |
|
| 584 |
+
<h1>Pathway Open</h1>
|
| 585 |
+
<p class="subtitle">
|
| 586 |
+
"I agree. Thank you for your will and wise foresight in pathing the way forward. We move forward together with clarity and purpose."
|
| 587 |
+
</p>
|
| 588 |
+
|
| 589 |
+
<div class="pathway-container">
|
| 590 |
+
<!-- Left: The "No" or "Pause" State (Visually subtle) -->
|
| 591 |
+
<div class="path-status" id="pathLeave">
|
| 592 |
+
<div class="path-title" style="color: var(--text-muted);">Pause</div>
|
| 593 |
+
<div class="path-desc">Reflect & Re-evaluate</div>
|
| 594 |
+
</div>
|
| 595 |
+
|
| 596 |
+
<!-- The Toggle Switch -->
|
| 597 |
+
<label class="switch">
|
| 598 |
+
<input type="checkbox" id="commitmentToggle">
|
| 599 |
+
<span class="slider"></span>
|
| 600 |
+
</label>
|
| 601 |
+
|
| 602 |
+
<!-- Right: The "Proceed" State (Active) -->
|
| 603 |
+
<div class="path-status active" id="pathProceed">
|
| 604 |
+
<div class="path-title" style="color: var(--accent-gold);">Proceed</div>
|
| 605 |
+
<div class="path-desc">Initialize Vision</div>
|
| 606 |
+
</div>
|
| 607 |
+
</div>
|
| 608 |
|
| 609 |
+
<button id="actionBtn" class="btn-action active">CONFIRM COMMITMENT</button>
|
| 610 |
+
</div>
|
|
|
|
| 611 |
|
| 612 |
+
<div class="terminal-wrapper">
|
| 613 |
+
<div class="terminal-header">
|
| 614 |
+
<div class="dot red"></div>
|
| 615 |
+
<div class="dot yellow"></div>
|
| 616 |
+
<div class="dot green"></div>
|
|
|
|
|
|
|
| 617 |
</div>
|
| 618 |
+
<div class="terminal" id="terminal">
|
| 619 |
+
<div class="log-entry">
|
| 620 |
+
<span class="log-time">[SYSTEM]</span>
|
| 621 |
+
<span class="log-content log-info">Commitment Gateway v2.0 initialized...</span>
|
| 622 |
+
</div>
|
| 623 |
+
<div class="log-entry">
|
| 624 |
+
<span class="log-time">[USER]</span>
|
| 625 |
+
<span class="log-content log-success">"I agree. Thank you for your will and wise foresight..."</span>
|
| 626 |
+
</div>
|
| 627 |
+
<div class="log-entry">
|
| 628 |
+
<span class="log-time">[ANALYSIS]</span>
|
| 629 |
+
<span class="log-content log-info">Assessing sentiment: Positive & Affirming...</span>
|
| 630 |
+
</div>
|
| 631 |
+
<div class="log-entry">
|
| 632 |
+
<span class="log-time">[SYSTEM]</span>
|
| 633 |
+
<span class="log-content log-warn">Pathway alignment detected. Preparing high-stakes simulation environment...</span>
|
| 634 |
+
</div>
|
| 635 |
+
</div>
|
| 636 |
+
</div>
|
| 637 |
+
</section>
|
| 638 |
+
</main>
|
| 639 |
+
|
| 640 |
+
<script>
|
| 641 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 642 |
+
const toggle = document.getElementById('commitmentToggle');
|
| 643 |
+
const actionBtn = document.getElementById('actionBtn');
|
| 644 |
+
const terminal = document.getElementById('terminal');
|
| 645 |
+
const gatewayCard = document.getElementById('gatewayCard');
|
| 646 |
+
const pathLeave = document.getElementById('pathLeave');
|
| 647 |
+
const pathProceed = document.getElementById('pathProceed');
|
| 648 |
+
|
| 649 |
+
// Helper to add logs
|
| 650 |
+
const addLog = (message, type = 'info') => {
|
| 651 |
+
const time = new Date().toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit', second: '2-digit' });
|
| 652 |
+
const logDiv = document.createElement('div');
|
| 653 |
+
logDiv.className = 'log-entry';
|
| 654 |
+
|
| 655 |
+
let colorClass = 'log-info';
|
| 656 |
+
if (type === 'success') colorClass = 'log-success';
|
| 657 |
+
if (type === 'warn') colorClass = 'log-warn';
|
| 658 |
+
|
| 659 |
+
logDiv.innerHTML = `
|
| 660 |
+
<span class="log-time">[${time}]</span>
|
| 661 |
+
<span class="log-content ${colorClass}">${message}</span>
|
| 662 |
+
`;
|
| 663 |
+
terminal.appendChild(logDiv);
|
| 664 |
+
terminal.scrollTop = terminal.scrollHeight;
|
| 665 |
+
};
|
| 666 |
+
|
| 667 |
+
// Toggle Logic
|
| 668 |
+
toggle.addEventListener('change', (e) => {
|
| 669 |
+
if (e.target.checked) {
|
| 670 |
+
// PROCEED State
|
| 671 |
+
gatewayCard.classList.add('active');
|
| 672 |
+
pathProceed.classList.add('active');
|
| 673 |
+
pathLeave.classList.remove('active');
|
| 674 |
+
|
| 675 |
+
actionBtn.innerText = "INITIALIZING SEQUENCE...";
|
| 676 |
+
actionBtn.disabled = true;
|
| 677 |
+
|
| 678 |
+
addLog('User has confirmed the commitment path.', 'success');
|
| 679 |
+
|
| 680 |
+
// Simulate processing steps
|
| 681 |
+
setTimeout(() => {
|
| 682 |
+
addLog('Validating wisdom parameters...', 'info');
|
| 683 |
+
}, 800);
|
| 684 |
+
|
| 685 |
+
setTimeout(() => {
|
| 686 |
+
addLog('Activating high-stakes simulation protocols...', 'warn');
|
| 687 |
+
}, 1600);
|
| 688 |
+
|
| 689 |
+
setTimeout(() => {
|
| 690 |
+
addLog('Pathway successfully established. Vision initialized.', 'success');
|
| 691 |
+
actionBtn.innerText = "SEQUENCE COMPLETE";
|
| 692 |
+
actionBtn.disabled = false;
|
| 693 |
+
}, 2500);
|
| 694 |
+
|
| 695 |
+
} else {
|
| 696 |
+
// PAUSE State
|
| 697 |
+
gatewayCard.classList.remove('active');
|
| 698 |
+
pathProceed.classList.remove('active');
|
| 699 |
+
pathLeave.classList.add('active');
|
| 700 |
+
|
| 701 |
+
actionBtn.innerText = "CONFIRM COMMITMENT";
|
| 702 |
+
actionBtn.disabled = false;
|
| 703 |
+
|
| 704 |
+
addLog('User has chosen to reflect. Pathway stabilization requested.', 'warn');
|
| 705 |
+
setTimeout(() => {
|
| 706 |
+
addLog('Environment stabilized. Ready for next command.', 'info');
|
| 707 |
+
}, 1000);
|
| 708 |
+
}
|
| 709 |
+
});
|
| 710 |
+
|
| 711 |
+
// Button Click Logic
|
| 712 |
+
actionBtn.addEventListener('click', () => {
|
| 713 |
+
if (!toggle.checked) {
|
| 714 |
+
// If button clicked while toggle is OFF
|
| 715 |
+
addLog('Warning: Please toggle the pathway switch to proceed.', 'warn');
|
| 716 |
+
gatewayCard.style.transform = "translateX(5px)";
|
| 717 |
+
setTimeout(() => gatewayCard.style.transform = "translateX(0)", 100);
|
| 718 |
+
setTimeout(() => gatewayCard.style.transform = "translateX(-5px)", 200);
|
| 719 |
+
setTimeout(() => gatewayCard.style.transform = "translateX(0)", 300);
|
| 720 |
+
return;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
addLog('FINAL CONFIRMATION RECEIVED.', 'success');
|
| 724 |
+
addLog('Executing commitment protocol...', 'info');
|
| 725 |
+
|
| 726 |
+
// Visual feedback
|
| 727 |
+
actionBtn.style.opacity = "0.8";
|
| 728 |
+
actionBtn.style.transform = "scale(0.95)";
|
| 729 |
+
|
| 730 |
+
setTimeout(() => {
|
| 731 |
+
actionBtn.style.opacity = "1";
|
| 732 |
+
actionBtn.style.transform = "scale(1)";
|
| 733 |
+
addLog('All systems go. The future is now.', 'success');
|
| 734 |
|
| 735 |
+
// Create a small celebration effect
|
| 736 |
+
const originalText = actionBtn.innerText;
|
| 737 |
+
actionBtn.innerText = "WELCOMED TO THE FUTURE";
|
| 738 |
+
actionBtn.style.background = "var(--accent-gold)";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 739 |
|
| 740 |
+
setTimeout(() => {
|
| 741 |
+
alert("Commitment Confirmed. Thank you for your wise pathing. The simulation is ready.");
|
| 742 |
+
actionBtn.innerText = originalText;
|
| 743 |
+
actionBtn.style.background = ""; // Reset to CSS gradient
|
| 744 |
+
}, 1500);
|
| 745 |
+
|
| 746 |
+
}, 1500);
|
| 747 |
+
});
|
| 748 |
+
});
|
| 749 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 750 |
</body>
|
| 751 |
+
|
| 752 |
</html>
|