Files changed (1) hide show
  1. index.html +52 -50
index.html CHANGED
@@ -8,77 +8,79 @@
8
  <style>
9
  * { margin: 0; padding: 0; box-sizing: border-box; }
10
  html, body { width: 100%; min-height: 100%; }
11
- body { background: #0a0a0f; color: #f5f0e8; font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
12
  body::before {
13
  content: ''; position: fixed; inset: 0;
14
- background: radial-gradient(ellipse 80% 50% at 20% 20%, rgba(201,168,76,0.06) 0%, transparent 60%),
15
- radial-gradient(ellipse 60% 80% at 80% 80%, rgba(100,60,140,0.08) 0%, transparent 60%);
16
  pointer-events: none; z-index: 0;
17
  }
18
  .screen { display: none; position: relative; z-index: 1; min-height: 100vh; padding: 40px 20px; }
19
  .screen.active { display: flex; flex-direction: column; align-items: center; justify-content: center; }
20
  #screen-intro { text-align: center; gap: 32px; }
21
- .logo-ring { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #c9a84c; display: flex; align-items: center; justify-content: center; margin: 0 auto; position: relative; animation: pulse 3s ease-in-out infinite; }
22
- .logo-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.3); }
23
  .logo-icon { font-size: 38px; }
24
- @keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(201,168,76,0.3)}50%{box-shadow:0 0 0 20px rgba(201,168,76,0)} }
25
- h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem,6vw,3.5rem); font-weight: 900; line-height: 1.1; color: #f5f0e8; }
26
- h1 span { color: #c9a84c; }
27
- .tagline { font-size: 1.1rem; color: #6b6478; max-width: 420px; line-height: 1.7; font-weight: 300; }
28
  .pills { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
29
- .pill { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.25); border-radius: 100px; padding: 8px 20px; font-size: 0.85rem; color: #e8d5a0; }
30
  #screen-form { gap: 24px; max-width: 480px; width: 100%; }
31
- .form-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; text-align: center; color: #f5f0e8; }
32
  .fg { display: flex; flex-direction: column; gap: 8px; width: 100%; }
33
- .fg label { font-size: 0.9rem; color: #e8d5a0; font-weight: 500; }
34
- .fg input, .fg select { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.25); border-radius: 12px; padding: 14px 18px; color: #f5f0e8; font-family: 'DM Sans', sans-serif; font-size: 1rem; outline: none; transition: border-color 0.2s; width: 100%; }
35
- .fg input:focus, .fg select:focus { border-color: #c9a84c; }
36
- .fg select option { background: #1a1520; color: #f5f0e8; }
37
- .btn { background: #c9a84c; color: #0a0a0f; border: none; border-radius: 12px; padding: 16px 40px; font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
38
- .btn:hover { background: #e8d5a0; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.3); }
39
- .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
40
  #screen-quiz { gap: 32px; max-width: 600px; width: 100%; }
41
- .prog-wrap { width: 100%; background: rgba(255,255,255,0.06); border-radius: 100px; height: 4px; overflow: hidden; }
42
- .prog-fill { height: 100%; background: linear-gradient(90deg,#c9a84c,#e8d5a0); border-radius: 100px; transition: width 0.5s ease; }
43
- .qmeta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #6b6478; }
44
- .qcat { background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25); color: #c9a84c; padding: 4px 14px; border-radius: 100px; font-size: 0.8rem; }
45
- .qcard { background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.25); border-radius: 20px; padding: 32px; width: 100%; }
46
- .qtext { font-size: 1.15rem; font-weight: 500; line-height: 1.7; margin-bottom: 24px; color: #f5f0e8; }
47
  .opts { display: flex; flex-direction: column; gap: 12px; }
48
- .opt { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 20px; color: #f5f0e8; font-family: 'DM Sans', sans-serif; font-size: 0.97rem; cursor: pointer; text-align: left; transition: all 0.2s; line-height: 1.5; }
49
- .opt:hover { border-color: #c9a84c; background: rgba(201,168,76,0.08); }
50
- .opt.selected { border-color: #c9a84c; background: rgba(201,168,76,0.15); color: #e8d5a0; }
51
  #screen-loading { gap: 28px; text-align: center; }
52
- .orb { width: 80px; height: 80px; border-radius: 50%; border: 2px solid transparent; border-top-color: #c9a84c; border-left-color: rgba(201,168,76,0.3); animation: spin 1.2s linear infinite; margin: 0 auto; }
 
 
53
  @keyframes spin { to { transform: rotate(360deg); } }
54
  .steps { display: flex; flex-direction: column; gap: 10px; }
55
- .step { font-size: 0.9rem; color: #6b6478; display: flex; align-items: center; gap: 10px; justify-content: center; transition: color 0.4s; }
56
- .step.done { color: #e8d5a0; }
57
- .dot { width: 6px; height: 6px; border-radius: 50%; background: #6b6478; transition: background 0.4s; flex-shrink: 0; }
58
- .step.done .dot { background: #c9a84c; }
59
  #screen-result { gap: 28px; max-width: 640px; width: 100%; animation: fadeup 0.7s ease; padding-top: 60px; padding-bottom: 60px; }
60
  @keyframes fadeup { from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)} }
61
  .rhead { text-align: center; }
62
- .rhead h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #c9a84c; margin-bottom: 8px; }
63
- .rhead p { color: #6b6478; font-size: 0.95rem; }
64
- .rcard { background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.25); border-radius: 20px; padding: 28px 32px; width: 100%; }
65
- .rcard h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: #c9a84c; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
66
- .rcard h3::after { content: ''; flex: 1; height: 1px; background: rgba(201,168,76,0.25); }
67
- .rcontent { font-size: 1rem; line-height: 1.85; color: rgba(245,240,232,0.85); font-weight: 300; }
68
- .sci-badge { display: flex; align-items: center; gap: 18px; background: rgba(201,168,76,0.07); border: 1px solid rgba(201,168,76,0.2); border-radius: 16px; padding: 16px 20px; margin-bottom: 14px; }
69
  .sci-icon { font-size: 2.4rem; }
70
- .sci-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #c9a84c; }
71
- .sci-title { font-size: 0.85rem; color: #6b6478; margin-top: 4px; }
72
  .jobs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
73
- .job { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.25); border-radius: 100px; padding: 6px 16px; font-size: 0.88rem; color: #f5f0e8; }
74
  .score-bars { display: flex; flex-direction: column; gap: 12px; }
75
  .score-row { display: flex; align-items: center; gap: 12px; }
76
- .score-label { font-size: 0.85rem; color: #e8d5a0; width: 80px; flex-shrink: 0; }
77
- .score-bar-wrap { flex: 1; background: rgba(255,255,255,0.06); border-radius: 100px; height: 8px; overflow: hidden; }
78
- .score-bar-fill { height: 100%; background: linear-gradient(90deg,#c9a84c,#e8d5a0); border-radius: 100px; transition: width 1s ease; }
79
- .score-val { font-size: 0.82rem; color: #6b6478; width: 28px; text-align: right; flex-shrink: 0; }
80
- .btn-out { background: transparent; border: 1px solid rgba(201,168,76,0.25); border-radius: 12px; padding: 12px 32px; color: #e8d5a0; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; }
81
- .btn-out:hover { border-color: #c9a84c; background: rgba(201,168,76,0.08); }
82
  </style>
83
  </head>
84
  <body>
@@ -131,8 +133,8 @@
131
  <div id="screen-loading" class="screen">
132
  <div class="orb"></div>
133
  <div>
134
- <h2 style="font-family:'Playfair Display',serif;font-size:1.5rem;text-align:center;margin-bottom:8px;color:#f5f0e8">Analysing your mind...</h2>
135
- <p style="color:#6b6478;text-align:center;font-size:0.9rem">Processing your answers</p>
136
  </div>
137
  <div class="steps">
138
  <div class="step" id="s1"><div class="dot"></div>Detecting patterns</div>
 
8
  <style>
9
  * { margin: 0; padding: 0; box-sizing: border-box; }
10
  html, body { width: 100%; min-height: 100%; }
11
+ body { background: #f8fafc; color: #1e293b; font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
12
  body::before {
13
  content: ''; position: fixed; inset: 0;
14
+ background: radial-gradient(ellipse 80% 50% at 20% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
15
+ radial-gradient(ellipse 60% 80% at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
16
  pointer-events: none; z-index: 0;
17
  }
18
  .screen { display: none; position: relative; z-index: 1; min-height: 100vh; padding: 40px 20px; }
19
  .screen.active { display: flex; flex-direction: column; align-items: center; justify-content: center; }
20
  #screen-intro { text-align: center; gap: 32px; }
21
+ .logo-ring { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #6366f1; display: flex; align-items: center; justify-content: center; margin: 0 auto; position: relative; animation: pulse 3s ease-in-out infinite; background: #ffffff; }
22
+ .logo-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(99, 102, 241, 0.2); }
23
  .logo-icon { font-size: 38px; }
24
+ @keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(99, 102, 241, 0.2)}50%{box-shadow:0 0 0 20px rgba(99, 102, 241, 0)} }
25
+ h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem,6vw,3.5rem); font-weight: 900; line-height: 1.1; color: #0f172a; }
26
+ h1 span { color: #6366f1; }
27
+ .tagline { font-size: 1.1rem; color: #64748b; max-width: 420px; line-height: 1.7; font-weight: 300; }
28
  .pills { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
29
+ .pill { background: #ffffff; border: 1px solid rgba(99, 102, 241, 0.15); border-radius: 100px; padding: 8px 20px; font-size: 0.85rem; color: #4f46e5; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
30
  #screen-form { gap: 24px; max-width: 480px; width: 100%; }
31
+ .form-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; text-align: center; color: #0f172a; }
32
  .fg { display: flex; flex-direction: column; gap: 8px; width: 100%; }
33
+ .fg label { font-size: 0.9rem; color: #475569; font-weight: 500; }
34
+ .fg input, .fg select { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 14px 18px; color: #0f172a; font-family: 'DM Sans', sans-serif; font-size: 1rem; outline: none; transition: all 0.2s; width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
35
+ .fg input:focus, .fg select:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
36
+ .fg select option { background: #ffffff; color: #0f172a; }
37
+ .btn { background: #6366f1; color: #ffffff; border: none; border-radius: 12px; padding: 16px 40px; font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2); }
38
+ .btn:hover { background: #4f46e5; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); }
39
+ .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
40
  #screen-quiz { gap: 32px; max-width: 600px; width: 100%; }
41
+ .prog-wrap { width: 100%; background: #e2e8f0; border-radius: 100px; height: 6px; overflow: hidden; }
42
+ .prog-fill { height: 100%; background: linear-gradient(90deg,#6366f1,#8b5cf6); border-radius: 100px; transition: width 0.5s ease; }
43
+ .qmeta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #64748b; }
44
+ .qcat { background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(99, 102, 241, 0.15); color: #4f46e5; padding: 4px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 500; }
45
+ .qcard { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 32px; width: 100%; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -1px rgba(0,0,0,0.02); }
46
+ .qtext { font-size: 1.15rem; font-weight: 500; line-height: 1.7; margin-bottom: 24px; color: #0f172a; }
47
  .opts { display: flex; flex-direction: column; gap: 12px; }
48
+ .opt { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 20px; color: #334155; font-family: 'DM Sans', sans-serif; font-size: 0.97rem; cursor: pointer; text-align: left; transition: all 0.2s; line-height: 1.5; }
49
+ .opt:hover { border-color: #6366f1; background: rgba(99, 102, 241, 0.03); color: #0f172a; }
50
+ .opt.selected { border-color: #6366f1; background: rgba(99, 102, 241, 0.08); color: #4f46e5; font-weight: 500; }
51
  #screen-loading { gap: 28px; text-align: center; }
52
+ .loading-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; text-align: center; margin-bottom: 8px; color: #0f172a; }
53
+ .loading-subtitle { color: #64748b; text-align: center; font-size: 0.9rem; }
54
+ .orb { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #e2e8f0; border-top-color: #6366f1; border-left-color: #6366f1; animation: spin 1s linear infinite; margin: 0 auto; }
55
  @keyframes spin { to { transform: rotate(360deg); } }
56
  .steps { display: flex; flex-direction: column; gap: 10px; }
57
+ .step { font-size: 0.9rem; color: #94a3b8; display: flex; align-items: center; gap: 10px; justify-content: center; transition: color 0.4s; }
58
+ .step.done { color: #334155; font-weight: 500; }
59
+ .dot { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; transition: background 0.4s; flex-shrink: 0; }
60
+ .step.done .dot { background: #6366f1; }
61
  #screen-result { gap: 28px; max-width: 640px; width: 100%; animation: fadeup 0.7s ease; padding-top: 60px; padding-bottom: 60px; }
62
  @keyframes fadeup { from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)} }
63
  .rhead { text-align: center; }
64
+ .rhead h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #6366f1; margin-bottom: 8px; }
65
+ .rhead p { color: #64748b; font-size: 0.95rem; }
66
+ .rcard { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px 32px; width: 100%; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); }
67
+ .rcard h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: #4f46e5; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
68
+ .rcard h3::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
69
+ .rcontent { font-size: 1rem; line-height: 1.85; color: #334155; font-weight: 400; }
70
+ .sci-badge { display: flex; align-items: center; gap: 18px; background: rgba(99, 102, 241, 0.04); border: 1px solid rgba(99, 102, 241, 0.1); border-radius: 16px; padding: 16px 20px; margin-bottom: 14px; }
71
  .sci-icon { font-size: 2.4rem; }
72
+ .sci-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #0f172a; }
73
+ .sci-title { font-size: 0.85rem; color: #64748b; margin-top: 4px; }
74
  .jobs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
75
+ .job { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 100px; padding: 6px 16px; font-size: 0.88rem; color: #334155; font-weight: 500; }
76
  .score-bars { display: flex; flex-direction: column; gap: 12px; }
77
  .score-row { display: flex; align-items: center; gap: 12px; }
78
+ .score-label { font-size: 0.85rem; color: #475569; width: 80px; flex-shrink: 0; font-weight: 500; }
79
+ .score-bar-wrap { flex: 1; background: #f1f5f9; border-radius: 100px; height: 10px; overflow: hidden; border: 1px solid #e2e8f0; }
80
+ .score-bar-fill { height: 100%; background: linear-gradient(90deg,#6366f1,#8b5cf6); border-radius: 100px; transition: width 1s ease; }
81
+ .score-val { font-size: 0.82rem; color: #64748b; width: 28px; text-align: right; flex-shrink: 0; font-weight: 500; }
82
+ .btn-out { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 32px; color: #475569; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
83
+ .btn-out:hover { border-color: #6366f1; background: #f8fafc; color: #6366f1; }
84
  </style>
85
  </head>
86
  <body>
 
133
  <div id="screen-loading" class="screen">
134
  <div class="orb"></div>
135
  <div>
136
+ <h2 class="loading-title">Analysing your mind...</h2>
137
+ <p class="loading-subtitle">Processing your answers</p>
138
  </div>
139
  <div class="steps">
140
  <div class="step" id="s1"><div class="dot"></div>Detecting patterns</div>