-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
681 lines (623 loc) · 25.2 KB
/
index.html
File metadata and controls
681 lines (623 loc) · 25.2 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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
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
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yehor Niestierov - Frontend Developer Portfolio</title>
<meta name="description" content="Portfolio of Yehor Niestierov, a creative Frontend Developer specialising in Angular, Vue.js and TypeScript.">
<meta name="author" content="Yehor Niestierov">
<meta property="og:title" content="Yehor Niestierov - Frontend Developer Portfolio">
<meta property="og:description" content="Portfolio of Yehor Niestierov, a creative Frontend Developer specialising in Angular, Vue.js and TypeScript.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://hardsoncore.github.io">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet" />
<style>
/* ─── RESET & VARIABLES ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--yellow: #FFE000;
--black: #0A0A0A;
--white: #F5F5F5;
--red: #FF2D55;
--cyan: #00E5FF;
--pink: #FF6EC7;
--blue: #1A1AFF;
--ghost-bg: #111111;
--dot: rgba(255, 224, 0, 0.15);
--font: 'Press Start 2P', monospace;
--border: 3px dashed var(--yellow);
--border-solid: 3px solid var(--yellow);
--gap: clamp(16px, 4vw, 48px);
--text-white: rgba(245, 245, 245, 0.9);
}
html { scroll-behavior: smooth; }
body {
font-family: var(--font);
background-color: var(--black);
color: var(--white);
overflow-x: hidden;
}
/* ─── DOT GRID BACKGROUND ───────────────────────────────── */
body::before {
content: '';
position: fixed;
inset: 0;
background-image: radial-gradient(var(--dot) 1px, transparent 1px);
background-size: 36px 36px;
pointer-events: none;
z-index: 0;
}
/* ─── SCROLL BAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); }
/* ─── UTILITIES ─────────────────────────────────────────── */
section { position: relative; z-index: 1; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--gap); }
.tag {
display: inline-block;
font-size: 0.5rem;
padding: 4px 10px;
border: 2px solid currentColor;
line-height: 1.8;
text-transform: uppercase;
letter-spacing: 1px;
}
.tag--yellow { color: var(--yellow); }
.tag--cyan { color: var(--cyan); }
.tag--pink { color: var(--pink); }
.tag--red { color: var(--red); }
/* ─── PIXEL BLINK CURSOR ────────────────────────────────── */
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
/* ─── NAVBAR ────────────────────────────────────────────── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: var(--black);
border-bottom: var(--border);
padding: 16px var(--gap);
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-logo {
color: var(--yellow);
text-decoration: none;
letter-spacing: 2px;
}
.nav-links {
display: flex;
gap: 32px;
list-style: none;
}
.nav-links a {
font-size: 0.75rem;
color: var(--white);
text-decoration: none;
transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow); }
.nav-cta {
font-family: var(--font);
font-size: 0.5rem;
background: var(--yellow);
color: var(--black);
border: none;
padding: 10px 20px;
cursor: pointer;
text-decoration: none;
transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--white); }
/* ─── HERO ──────────────────────────────────────────────── */
#hero {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
padding: 80px var(--gap) 60px;
position: relative;
overflow: hidden;
}
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-score-bar {
display: flex;
gap: 40px;
margin-bottom: 40px;
font-size: 0.65rem;
color: var(--yellow);
opacity: 0.8;
}
.hero-score-bar span strong { color: var(--white); }
.hero-title {
font-size: clamp(1.4rem, 10vw, 5rem);
line-height: 1.4;
color: var(--yellow);
text-shadow: 4px 4px 0 var(--red), 8px 8px 0 rgba(255,45,85,0.3);
margin-bottom: 24px;
max-width: 900px;
}
.hero-title em {
font-style: normal;
color: var(--white);
text-shadow: 4px 4px 0 var(--blue);
}
.hero-sub {
font-size: 0.9rem;
color: rgba(245,245,245,0.65);
line-height: 2.2;
margin-bottom: 48px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
font-family: var(--font);
background: var(--yellow);
color: var(--black);
border: none;
padding: 16px 32px;
cursor: pointer;
text-decoration: none;
transition: transform 0.1s, box-shadow 0.1s;
box-shadow: 4px 4px 0 var(--red);
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--red); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--red); }
.btn-ghost {
font-family: var(--font);
font-size: clamp(15px, 2vw, 1.5rem);
background: transparent;
color: var(--white);
border: var(--border);
padding: 16px 32px;
cursor: pointer;
text-decoration: none;
transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--yellow); color: var(--black); }
/* Pac-Man animation */
.pacman-hero {
position: absolute;
right: clamp(2rem, 24%, 6vw);
top: 35%;
transform: translateY(-50%);
opacity: 0.2;
font-size: clamp(1.4rem, 14vw, 15rem);
animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 20px))} }
/* ─── GHOST CARDS (SKILLS) ──────────────────────────────── */
#skills {
padding: 80px var(--gap);
position: relative;
}
.section-label {
font-size: 1.5rem;
color: var(--yellow);
letter-spacing: 2px;
margin-bottom: 40px;
display: flex;
align-items: center;
gap: 16px;
border-bottom: 3px solid rgba(255,224,0,0.3);
padding-bottom: .5rem;
padding-left: .5rem;
}
/* ─── PROJECTS ──────────────────────────────────────────── */
#projects { padding: 80px var(--gap); }
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
gap: 24px;
}
.project-card {
border: 3px solid rgba(255,224,0,0.2);
background: var(--ghost-bg);
padding: 32px;
position: relative;
transition: border-color 0.25s, transform 0.25s;
cursor: pointer;
text-decoration: none;
color: inherit;
display: block;
}
.project-card:hover {
border-color: var(--yellow);
transform: translate(-3px, -3px);
box-shadow: 6px 6px 0 var(--yellow);
}
.project-number {
font-size: 0.5rem;
color: var(--yellow);
opacity: 0.4;
margin-bottom: 16px;
}
.project-title {
font-size: 0.75rem;
color: var(--white);
line-height: 1.8;
margin-bottom: 16px;
}
.project-desc {
color: rgba(245,245,245,0.65);
font-family: monospace;
line-height: 2.2;
margin-bottom: 24px;
}
.project-footer {
display: flex;
gap: 8px;
flex-wrap: wrap;
border-top: 1px solid rgba(255,224,0,0.15);
padding-top: 20px;
}
/* ─── ABOUT / TERMINAL ──────────────────────────────────── */
#about { padding: 80px var(--gap); }
.about-grid {}
.about-text h2 {
font-size: clamp(1rem, 3vw, 1.8rem);
color: var(--yellow);
line-height: 1.6;
margin-bottom: 24px;
text-shadow: 3px 3px 0 var(--red);
}
.about-text p {
font-family: monospace;
font-size: 1rem;
color: var(--text-white);
line-height: 2.5;
margin-bottom: 16px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.terminal {
background: #0D0D0D;
border: 3px solid rgba(255,224,0,0.35);
padding: 24px;
font-family: monospace;
line-height: 2.5;
}
.t-line { color: rgba(245,245,245,0.45); }
.t-cmd { color: var(--yellow); }
.t-out { color: var(--cyan); }
.t-out2 { color: var(--pink); }
.t-cursor { display: inline-block; width: 8px; height: 14px; background: var(--yellow); vertical-align: middle; }
/* ─── CONTACT ───────────────────────────────────────────── */
#contact {
padding: 80px var(--gap);
text-align: center;
}
.contact-title {
font-size: clamp(1rem, 4vw, 2.5rem);
color: var(--yellow);
line-height: 1.6;
margin-bottom: 16px;
text-shadow: 4px 4px 0 var(--red);
}
.contact-sub {
font-family: monospace;
font-size: .9rem;
color: var(--text-white);
line-height: 2.5;
margin-bottom: 48px;
text-align: left;
}
/* ─── FOOTER ────────────────────────────────────────────── */
footer {
border-top: var(--border);
padding: 32px var(--gap);
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
position: relative;
z-index: 1;
font-size: 0.6rem;
color: var(--yellow);
}
.link-github {
color: var(--yellow);
text-decoration: none;
}
/* ─── PIXEL PELLETS ─────────────────────────────────────── */
.pellets {
display: flex;
align-items: center;
gap: 8px;
overflow: hidden;
padding: 16px 10px;
opacity: 0.3;
}
.pellets span {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--yellow);
flex-shrink: 0;
}
.pellets span.big {
width: 14px; height: 14px;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }
/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
.nav-links { display: none; }
.about-grid { grid-template-columns: 1fr; }
.pacman-hero { display: none; }
.projects-grid {
grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
}
#hero { padding: 10px var(--gap) 40px; }
.hero-btns {
justify-content: center;
}
.container { padding: 0; }
.btn-ghost {
display: block;
}
}
/* ─── ENTRANCE ANIMATIONS ───────────────────────────────── */
[data-reveal] {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body>
<!-- ── NAV ───────────────────────────────────────────────── -->
<nav>
<a href="#hero" class="nav-logo">DEV<span class="blink">_</span></a>
<ul class="nav-links">
<li><a href="#about">ABOUT</a></li>
<li><a href="#projects">PROJECTS</a></li>
<li><a href="#skills">SKILLS</a></li>
<li><a href="#contact">CONTACT</a></li>
</ul>
<!-- <a href="#contact" class="nav-cta">HIRE ME</a> -->
</nav>
<!-- ── HERO ───────────────────────────────────────────────── -->
<section id="hero">
<div class="pacman-hero">JS</div>
<div class="hero-inner">
<div class="hero-score-bar">
<span>PLAYER <strong>Y.NIESTIEROV</strong></span>
<span>HI-SCORE <strong id="score">000000</strong></span>
</div>
<div class="pellets">
<span class="big"></span>
<span></span><span></span><span></span><span></span><span></span>
<span></span><span></span><span></span><span></span><span></span>
<span class="big"></span>
<span></span><span></span><span></span><span></span><span></span>
<span></span><span></span><span></span><span></span><span></span>
<span class="big"></span>
</div>
<h1 class="hero-title" data-reveal>
SOFTWEAR<br/>
<em>DEVELOPER</em>
</h1>
<p class="hero-sub" data-reveal>
[ ANGULAR, VUE.JS, JAVASCRIPT, TYPESCRIPT ]
</p>
<div class="hero-btns" data-reveal>
<a href="#projects" class="btn-primary">VIEW PROJECTS</a>
</div>
</div>
</section>
<!-- ── ABOUT ──────────────────────────────────────────────── -->
<section id="about">
<div class="container">
<!-- <div class="section-label">PLAYER PROFILE</div> -->
<div class="about-grid">
<div class="about-text" data-reveal>
<h2>HI THERE, <br>MY NAME IS YEHOR NIESTIEROV.</h2>
<p>
Skilled Frontend Developer with significent experience building high-performance, user-centric interfaces. I specialize in the Angular and Vue.js ecosystems, translating complex business requirements into scalable web solutions.
</p>
<p>
What I bring to the table:
</p>
<p>
Industry Expertise: Proven track record in demanding sectors like Telecommunications (engineering systems for mobile networks at ALTRON) and Pharma (optimizing data management and operational efficiency at Viseven).
</p>
<p>
Versatility: Comfortable in both large-scale Scrum/Agile teams and small, fast-paced environments. I know how to navigate 2-week sprints and how to wear multiple hats when a project needs a quick win.
</p>
<p>
Code Quality: I focus on maintainable code and reliability. I have hands-on experience supporting legacy systems and ensuring logic correctness through unit testing (Jest).
</p>
<p>
Full-stack Perspective: Beyond the frontend, I have a strong interest in "under-the-hood" mechanics and non-commercial experience with Node.js/Express.
</p>
<p>
Logistics:
Based in Poland (Full EU work authorization).
Seamless collaboration across EU and US time zones.
</p>
</div>
</div>
</div>
</section>
<!-- ── PROJECTS ───────────────────────────────────────────── -->
<section id="projects">
<div class="container">
<div class="section-label">LEVELS COMPLETED</div>
<div class="projects-grid">
<a class="project-card" data-reveal>
<div class="project-number">LEVEL 01</div>
<div class="project-title">AI CHAT ASSISTANT</div>
<div class="project-desc">
Developed a chatbot interface for seamless user interactions with AI models. The assistant provides
real-time responses, context-aware suggestions, and a user-friendly experience, enhancing engagement
and accessibility to AI-powered insights.
</div>
<div class="project-footer">
<span class="tag tag--cyan">LANGCHAIN</span>
<span class="tag tag--yellow">VUE.JS 3</span>
<span class="tag tag--pink">NODE.JS</span>
<span class="tag tag--green">EXPRESS</span>
<span class="tag tag--red">TYPESCRIPT</span>
</div>
</a>
<a class="project-card" data-reveal>
<div class="project-number">LEVEL 02</div>
<div class="project-title">CONTENT COMPLIANCE PLATFORM</div>
<div class="project-desc">
A secure web application designed to streamline content creation and multi-level verification.
It enforces strict compliance with standards and regulatory guidelines, reducing approval times and
eliminating compliance risks.
</div>
<div class="project-footer">
<span class="tag tag--yellow">PUG</span>
<span class="tag tag--cyan">VUE.JS 2</span>
<span class="tag tag--pink">TYPESCRIPT</span>
<span class="tag tag--red">MICROSERVICES</span>
<span class="tag tag--green">Storybook</span>
</div>
</a>
<a class="project-card" data-reveal>
<div class="project-number">LEVEL 03</div>
<div class="project-title">WORKFLOW SCHEDULLING PORTAL</div>
<div class="project-desc">
Engineered a time management web application to optimize routine workflows. The platform provides a
structured approach to meeting scheduling and task organization, resulting in seamless collaboration
and increased team efficiency.
</div>
<div class="project-footer">
<span class="tag tag--pink">ANGULAR</span>
<span class="tag tag--red">TYPESCRIPT</span>
<span class="tag tag--yellow">FIREBASE</span>
</div>
</a>
<a class="project-card" data-reveal>
<div class="project-number">LEVEL 04</div>
<div class="project-title">NETWORK MONITOR</div>
<div class="project-desc">
A dynamic web application that visualizes mobile network data in real time. It transforms complex metrics
into clear, actionable insights, empowering engineers to instantly detect issues, optimize network
performance, and make data-driven decisions.
</div>
<div class="project-footer">
<span class="tag tag--pink">ANGULAR</span>
<span class="tag tag--red">TYPESCRIPT</span>
<span class="tag tag--green">D3.JS</span>
<span class="tag tag--cyan">IONIC</span>
</div>
</a>
<a href="https://github.com/hardsoncore/js-interviewer" class="project-card" data-reveal>
<div class="project-number">LEVEL 05</div>
<div class="project-title">JS INTERVIEWER</div>
<div class="project-desc">
Pet-project - an interactive web application that helps to prepare for JavaScript interviews.
Cross-platform Ionic app for iOS and Android.
</div>
<div class="project-footer">
<span class="tag tag--cyan">IONIC</span>
<span class="tag tag--yellow">Angular</span>
<span class="tag tag--red">TYPESCRIPT</span>
</div>
</a>
<a class="project-card" data-reveal style="border-style:dashed; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:220px;">
<div style="font-size:2rem; margin-bottom:16px; opacity:0.7;">+</div>
<div class="project-title" style="opacity:0.7;">COMING SOON...</div>
</a>
</div>
</div>
</section>
<!-- ── SKILLS ─────────────────────────────────────────────── -->
<section id="skills">
<div class="container">
<div class="section-label">SKILL SET</div>
<div class="skills-grid">
<div class="terminal" data-reveal>
<p class="t-line">$ WEB</p>
<p class="t-out">→ HTML5/CSS3</p>
<p class="t-out">→ PUG</p>
<p class="t-out">→ LESS/SCSS</p>
<p class="t-out">→ JavaScript (ES6+)</p>
<p class="t-out">→ TypeScript</p>
<p class="t-out">→ Angular</p>
<p class="t-out">→ Vue.js</p>
<p class="t-out">→ Ionic</p>
<p class="t-out">→ Angular Material</p>
<p class="t-out">→ Bootstrap</p>
<br/>
<p class="t-line">$ BACKEND</p>
<p class="t-out2">→ Firebase</p>
<p class="t-out2">→ Node / Express / SQL</p>
<br/>
<p class="t-line">$ TOOLS</p>
<p class="t-out">→ CI/CD / Git / Vite / Webpack</p>
<br/>
<p class="t-line">$ STATUS</p>
<p class="t-out" style="color:#00CC44;">● OPEN TO WORK</p>
<br/>
<div class="t-line">$ <span class="t-cursor blink"></span></div>
</div>
</div>
</div>
</section>
<!-- ── CONTACT ────────────────────────────────────────────── -->
<section id="contact">
<div class="container">
<div class="section-label" style="justify-content:center; text-align:center;">INSERT COIN</div>
<h2 class="contact-title" data-reveal>START NEW LEVEL TOGETHER?</h2>
<p class="contact-sub" data-reveal>
If you need a reliable co-op partner for challenging frontend quests — I'd be glad to party up!
<br>
My Angular and Vue skill trees are well-upgraded, my TypeScript stats are solid, and I've completed plenty of high-difficulty campaigns involving complex UI systems, API integrations, and performance optimization dungeons. Whether it's a long-running guild project or a quick side quest, I come prepared with clean code, sharp eyes for detail, and enough patience to debug even the most cryptic error logs.
<br>
My social links and inventory are listed below — feel free to send a message, and let's see if we can conquer some frontend challenges together!
</p>
</div>
<a href="https://www.linkedin.com/in/niestierov-yehor/" class="btn-ghost">CONTACT ME ON LINKEDIN</a>
</section>
<p style="text-align:center; font-family: monospace; color: transparent;">
Easter egg: Konami Code (↑↑↓↓←→←→BA) invert colors
</p>
<!-- ── FOOTER ─────────────────────────────────────────────── -->
<footer>
<span class="logo">2026 ALL RIGHTS RESERVED</span>
<a class="link-github" href="https://github.com/hardsoncore">MY_GITHUB</a>
</footer>
<!-- ── SCRIPTS ────────────────────────────────────────────── -->
<script>
// ── Intersection Observer для reveal-анимаций ──
const revealEls = document.querySelectorAll('[data-reveal]');
const observer = new IntersectionObserver((entries) => {
entries.forEach((e, i) => {
if (e.isIntersecting) {
setTimeout(() => e.target.classList.add('visible'), i * 80);
observer.unobserve(e.target);
}
});
}, { threshold: 0.1 });
revealEls.forEach(el => observer.observe(el));
// ── Score incrementer on scroll ──
let scoreVal = 0;
window.addEventListener('scroll', () => {
scoreVal = Math.min(999999, scoreVal + Math.floor(window.scrollY / 10));
document.getElementById('score').textContent = String(scoreVal).padStart(6, '0');
});
// ── Keyboard nav Easter egg ──
let konamiBuffer = [];
const konamiCode = [38,38,40,40,37,39,37,39,66,65];
document.addEventListener('keydown', (e) => {
konamiBuffer.push(e.keyCode);
if (konamiBuffer.length > 10) konamiBuffer.shift();
if (JSON.stringify(konamiBuffer) === JSON.stringify(konamiCode)) {
document.body.style.filter = 'hue-rotate(180deg)';
setTimeout(() => document.body.style.filter = '', 3000);
}
});
</script>
</body>
</html>