Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
246 lines (227 loc) · 14.8 KB
/
Copy pathstyle.css
File metadata and controls
246 lines (227 loc) · 14.8 KB
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
:root {
--bg: #05070d;
--bg2: #0a0f1c;
--cyan: #00f0ff;
--magenta: #ff2bd6;
--violet: #7b5cff;
--lime: #9dff5c;
--text: #dbe7ff;
--muted: #8a98b8;
--glass: rgba(14, 22, 40, 0.55);
--border: rgba(0, 240, 255, 0.18);
--radius: 16px;
--mono: 'JetBrains Mono', monospace;
--display: 'Orbitron', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
background: var(--bg);
color: var(--text);
font-family: 'Inter', system-ui, sans-serif;
line-height: 1.6;
overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--magenta); color: #fff; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.scanlines {
position: fixed; inset: 0; z-index: 1; pointer-events: none;
background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
mix-blend-mode: overlay;
}
.vignette {
position: fixed; inset: 0; z-index: 1; pointer-events: none;
background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%);
}
main, footer, .nav { position: relative; z-index: 2; }
/* Loader */
#loader {
position: fixed; inset: 0; z-index: 100; background: var(--bg);
display: grid; place-items: center; transition: opacity .7s ease, visibility .7s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-hex {
width: 70px; height: 70px; border: 2px solid var(--cyan);
clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
animation: spin 1.4s linear infinite; box-shadow: 0 0 30px var(--cyan) inset;
}
#boot-log { font-family: var(--mono); font-size: 12px; color: var(--cyan); min-height: 90px; width: 300px; white-space: pre-wrap; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Nav */
.nav {
position: fixed; top: 0; left: 0; right: 0;
display: flex; justify-content: space-between; align-items: center;
padding: 16px 5vw; z-index: 50;
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
background: linear-gradient(180deg, rgba(5,7,13,.85), rgba(5,7,13,.35));
border-bottom: 1px solid rgba(0,240,255,.08);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; }
.hex {
display: grid; place-items: center; width: 38px; height: 38px;
font-family: var(--display); font-size: 13px; color: var(--bg); background: var(--cyan);
clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.accent { color: var(--cyan); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.nav-cta { border: 1px solid var(--cyan); padding: 6px 14px; border-radius: 8px; color: var(--cyan) !important; }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--cyan); font-size: 20px; padding: 4px 10px; border-radius: 8px; cursor: pointer; }
/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 5vw 80px; position: relative; }
.hero-content { max-width: 820px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; color: var(--lime); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.glitch {
font-family: var(--display); font-weight: 900;
font-size: clamp(2.1rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: .02em;
position: relative; color: #fff; text-shadow: 0 0 30px rgba(0,240,255,.35);
}
.glitch::before, .glitch::after {
content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
}
.glitch::before { color: var(--magenta); animation: glitch 3.2s infinite steps(1); clip-path: inset(0 0 60% 0); transform: translate(-2px, 0); opacity: .8; }
.glitch::after { color: var(--cyan); animation: glitch 2.6s infinite reverse steps(1); clip-path: inset(55% 0 0 0); transform: translate(2px, 0); opacity: .8; }
@keyframes glitch {
0%, 92%, 100% { transform: translate(0); opacity: 0; }
93% { transform: translate(-4px, 1px); opacity: .9; }
95% { transform: translate(4px, -1px); opacity: .9; }
97% { transform: translate(-2px, 2px); opacity: .9; }
}
.role { font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 2.6vw, 1.8rem); margin: 14px 0 30px; color: var(--text); }
.grad { background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.terminal { max-width: 620px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: rgba(5,10,20,.75); box-shadow: 0 0 40px rgba(0,240,255,.08); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.term-body { padding: 16px; font-family: var(--mono); font-size: 14px; min-height: 54px; color: var(--text); }
.prompt { color: var(--lime); }
.caret { color: var(--cyan); animation: pulse 1s infinite; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.btn { font-family: var(--mono); font-size: 14px; padding: 13px 26px; border-radius: 10px; transition: all .25s; display: inline-block; }
.btn.primary { background: linear-gradient(90deg, var(--cyan), var(--violet)); color: var(--bg); font-weight: 600; box-shadow: 0 0 25px rgba(0,240,255,.35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,240,255,.6); }
.btn.ghost { border: 1px solid var(--border); color: var(--cyan); }
.btn.ghost:hover { background: rgba(0,240,255,.08); border-color: var(--cyan); }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* Sections */
.section { padding: 110px 5vw; max-width: 1240px; margin: 0 auto; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 46px; }
.idx { font-family: var(--display); font-size: 14px; color: var(--magenta); }
.section-head h3 { font-family: var(--mono); font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; color: #fff; }
.section-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.lead { color: var(--muted); max-width: 640px; margin: -20px 0 40px; }
.glass {
background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.tilt { transform-style: preserve-3d; will-change: transform; }
/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.about-text { padding: 34px; font-size: 1.04rem; }
.about-text p + p { margin-top: 16px; }
.about-text strong { color: var(--cyan); font-weight: 600; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.stat b { font-family: var(--display); font-size: 2.4rem; color: #fff; text-shadow: 0 0 20px var(--cyan); display: inline; }
.stat .plus { font-family: var(--display); font-size: 1.6rem; color: var(--cyan); }
.stat small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.skill-card { padding: 26px; transition: border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.skill-card::before {
content: ''; position: absolute; inset: 0; pointer-events: none;
background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0,240,255,.12), transparent 40%);
opacity: 0; transition: opacity .3s;
}
.skill-card:hover::before { opacity: 1; }
.skill-card:hover { border-color: rgba(0,240,255,.5); box-shadow: 0 0 35px rgba(0,240,255,.15); }
.sc-icon { font-size: 26px; color: var(--cyan); font-family: var(--mono); margin-bottom: 12px; text-shadow: 0 0 14px var(--cyan); transform: translateZ(30px); }
.skill-card h4 { font-family: var(--display); font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #fff; transform: translateZ(20px); }
.skill-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips span { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 6px; border: 1px solid rgba(123,92,255,.4); color: #c9bcff; background: rgba(123,92,255,.08); }
/* Pipeline */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 30px 0; }
.stage { text-align: center; position: relative; z-index: 2; }
.node {
width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center;
font-family: var(--display); font-weight: 700; color: var(--cyan);
background: rgba(5,10,20,.9); border: 2px solid var(--cyan);
clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
box-shadow: 0 0 25px rgba(0,240,255,.4) inset; transition: transform .3s;
}
.node.sec { color: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 25px rgba(255,43,214,.45) inset; }
.stage:hover .node { transform: scale(1.12) rotate(30deg); }
.stage h5 { font-family: var(--display); font-size: 14px; color: #fff; }
.stage p { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.flow { position: absolute; top: 66px; left: 8%; right: 8%; height: 2px; background: rgba(0,240,255,.15); z-index: 1; overflow: hidden; }
.flow span { position: absolute; top: 0; left: -20%; width: 20%; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent); animation: flow 2.8s linear infinite; }
@keyframes flow { to { left: 100%; } }
/* Timeline */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--cyan), var(--magenta), transparent); }
.t-item { position: relative; margin-bottom: 32px; }
.t-dot { position: absolute; left: -36px; top: 26px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.t-card { padding: 28px 30px; }
.t-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.t-head h4 { font-family: var(--display); font-size: 18px; color: #fff; }
.company { font-family: var(--mono); color: var(--cyan); font-size: 13px; }
.badge { font-family: var(--mono); font-size: 12px; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.badge.live { color: var(--lime); border-color: rgba(157,255,92,.45); box-shadow: 0 0 14px rgba(157,255,92,.18); }
.t-card ul { list-style: none; margin-bottom: 18px; }
.t-card li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 14.5px; color: #c3cfe8; }
.t-card li::before { content: '▸'; position: absolute; left: 0; color: var(--cyan); }
.t-card li b { color: #fff; font-weight: 600; }
/* Education */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.edu { padding: 30px; position: relative; overflow: hidden; }
.edu .year { position: absolute; right: 18px; top: 6px; font-family: var(--display); font-size: 4rem; font-weight: 900; color: rgba(0,240,255,.07); }
.edu h4 { font-family: var(--display); font-size: 17px; color: #fff; margin-bottom: 6px; }
.edu p { color: var(--muted); font-family: var(--mono); font-size: 13px; }
/* Contact */
.contact-card { padding: 50px 40px; text-align: center; }
.contact-title { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.3rem); margin-bottom: 14px; color: #fff; }
.contact-card > p { color: var(--muted); margin-bottom: 30px; }
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-links a { font-family: var(--mono); font-size: 14px; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--border); color: var(--cyan); transition: all .25s; }
.contact-links a:hover { background: rgba(0,240,255,.1); border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,240,255,.25); transform: translateY(-2px); }
footer { text-align: center; padding: 40px 5vw; font-family: var(--mono); font-size: 12px; color: var(--muted); border-top: 1px solid rgba(0,240,255,.08); }
/* Responsive */
@media (max-width: 900px) {
.about-grid { grid-template-columns: 1fr; }
.pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
.flow { display: none; }
}
@media (max-width: 760px) {
.menu-btn { display: block; }
.nav-links {
position: absolute; top: 100%; right: 16px; left: 16px; flex-direction: column; gap: 18px;
padding: 24px; background: rgba(5,7,13,.96); border: 1px solid var(--border); border-radius: 12px;
display: none;
}
.nav-links.open { display: flex; }
.logo-text { display: none; }
.section { padding: 80px 16px; }
.hero { padding: 110px 16px 80px; }
.pipeline { grid-template-columns: repeat(2, 1fr); }
.t-card { padding: 22px 18px; }
.timeline { padding-left: 28px; }
.t-dot { left: -28px; }
.contact-card { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
.reveal { opacity: 1; transform: none; }
}