-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
992 lines (879 loc) Β· 29.6 KB
/
index.html
File metadata and controls
992 lines (879 loc) Β· 29.6 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
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>π A Very Suspicious Valentine π</title>
<link href="https://fonts.googleapis.com/css2?family=Boogaloo&family=Fredoka+One&family=Baloo+2:wght@400;700;900&display=swap" rel="stylesheet">
<style>
:root {
--hot-pink: #FF2D78;
--electric-yellow: #FFE600;
--wild-orange: #FF6B35;
--neon-green: #39FF14;
--sky-blue: #00C8FF;
--deep-red: #C0003C;
--cream: #FFF8E7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background-color: var(--hot-pink);
font-family: 'Baloo 2', cursive;
overflow-x: hidden;
cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><text y='28' font-size='28'>β€οΈ</text></svg>"), auto;
}
/* Animated background stripes */
body::before {
content: '';
position: fixed;
inset: 0;
background: repeating-linear-gradient(
45deg,
transparent,
transparent 40px,
rgba(255,255,255,0.08) 40px,
rgba(255,255,255,0.08) 80px
);
animation: stripeMove 4s linear infinite;
pointer-events: none;
z-index: 0;
}
@keyframes stripeMove {
0% { background-position: 0 0; }
100% { background-position: 113px 113px; }
}
.container {
position: relative;
z-index: 1;
max-width: 800px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
/* Floating hearts */
.heart-rain {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
pointer-events: none;
z-index: 0;
overflow: hidden;
}
.falling-heart {
position: absolute;
top: -50px;
font-size: 1.5rem;
animation: fall linear infinite;
opacity: 0.6;
}
@keyframes fall {
0% { transform: translateY(-50px) rotate(0deg); opacity: 0.8; }
100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}
/* HEADER */
.main-header {
margin: 30px 0 10px;
}
.header-label {
display: inline-block;
background: var(--electric-yellow);
color: #1a1a1a;
font-family: 'Fredoka One', cursive;
font-size: 0.95rem;
letter-spacing: 3px;
text-transform: uppercase;
padding: 6px 20px;
border-radius: 50px;
border: 3px solid #1a1a1a;
box-shadow: 3px 3px 0 #1a1a1a;
margin-bottom: 20px;
animation: wiggle 2s ease-in-out infinite;
}
@keyframes wiggle {
0%, 100% { transform: rotate(-2deg); }
50% { transform: rotate(2deg); }
}
.main-title {
font-family: 'Fredoka One', cursive;
font-size: clamp(3rem, 10vw, 6.5rem);
color: var(--cream);
text-shadow:
5px 5px 0 #1a1a1a,
-2px -2px 0 #1a1a1a,
2px -2px 0 #1a1a1a,
-2px 2px 0 #1a1a1a;
line-height: 1;
animation: titleBounce 1s ease-out forwards;
}
@keyframes titleBounce {
0% { transform: scale(0) rotate(-10deg); opacity: 0; }
60% { transform: scale(1.1) rotate(3deg); }
100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.title-sub {
font-family: 'Boogaloo', cursive;
font-size: clamp(1.1rem, 3vw, 1.6rem);
color: var(--electric-yellow);
text-shadow: 2px 2px 0 #1a1a1a;
margin-top: 8px;
animation: fadeSlideUp 0.8s 0.4s ease-out both;
}
@keyframes fadeSlideUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* CARD */
.card {
background: var(--cream);
border: 4px solid #1a1a1a;
border-radius: 20px;
box-shadow: 8px 8px 0 #1a1a1a;
padding: 30px 28px;
margin: 30px 0;
animation: fadeSlideUp 0.8s 0.6s ease-out both;
position: relative;
overflow: hidden;
}
.card::before {
content: 'π';
position: absolute;
font-size: 5rem;
opacity: 0.06;
top: -10px; right: -10px;
transform: rotate(15deg);
}
.card-title {
font-family: 'Fredoka One', cursive;
font-size: 1.8rem;
color: var(--hot-pink);
margin-bottom: 12px;
text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}
.card-body {
font-size: 1.1rem;
color: #333;
line-height: 1.7;
font-weight: 600;
}
.card-body span.highlight {
color: var(--hot-pink);
font-weight: 900;
}
.card-body span.green {
color: #1a8a00;
font-weight: 900;
}
/* ROAST SECTION */
.roast-section {
background: var(--electric-yellow);
border: 4px solid #1a1a1a;
border-radius: 20px;
box-shadow: 8px 8px 0 #1a1a1a;
padding: 28px;
margin: 25px 0;
animation: fadeSlideUp 0.8s 0.8s ease-out both;
}
.roast-section h2 {
font-family: 'Fredoka One', cursive;
font-size: 1.9rem;
color: #1a1a1a;
margin-bottom: 16px;
}
.roast-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
}
.roast-item {
background: white;
border: 3px solid #1a1a1a;
border-radius: 12px;
padding: 12px 16px;
font-size: 1rem;
font-weight: 700;
color: #1a1a1a;
text-align: left;
display: flex;
align-items: flex-start;
gap: 10px;
transition: transform 0.15s, box-shadow 0.15s;
cursor: default;
box-shadow: 3px 3px 0 #1a1a1a;
}
.roast-item:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0 #1a1a1a;
}
.roast-item .emoji {
font-size: 1.4rem;
flex-shrink: 0;
line-height: 1.3;
}
/* QUIZ SECTION */
.quiz-section {
background: var(--sky-blue);
border: 4px solid #1a1a1a;
border-radius: 20px;
box-shadow: 8px 8px 0 #1a1a1a;
padding: 28px;
margin: 25px 0;
animation: fadeSlideUp 0.8s 1s ease-out both;
}
.quiz-section h2 {
font-family: 'Fredoka One', cursive;
font-size: 1.9rem;
color: #1a1a1a;
margin-bottom: 6px;
}
.quiz-subtitle {
font-size: 0.95rem;
color: #1a1a1a;
margin-bottom: 18px;
font-weight: 600;
opacity: 0.75;
}
.quiz-question {
font-family: 'Fredoka One', cursive;
font-size: 1.4rem;
color: #1a1a1a;
margin-bottom: 16px;
min-height: 60px;
}
.quiz-options {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.quiz-btn {
background: white;
border: 3px solid #1a1a1a;
border-radius: 12px;
padding: 12px 10px;
font-family: 'Baloo 2', cursive;
font-size: 0.95rem;
font-weight: 700;
cursor: pointer;
transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
box-shadow: 3px 3px 0 #1a1a1a;
color: #1a1a1a;
}
.quiz-btn:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0 #1a1a1a;
background: var(--electric-yellow);
}
.quiz-btn:active {
transform: translate(2px, 2px);
box-shadow: 1px 1px 0 #1a1a1a;
}
.quiz-result {
margin-top: 16px;
font-size: 1.1rem;
font-weight: 800;
color: #1a1a1a;
background: white;
border: 3px solid #1a1a1a;
border-radius: 12px;
padding: 12px;
display: none;
box-shadow: 3px 3px 0 #1a1a1a;
}
/* CONFESSION SECTION */
.confession-section {
background: var(--wild-orange);
border: 4px solid #1a1a1a;
border-radius: 20px;
box-shadow: 8px 8px 0 #1a1a1a;
padding: 28px;
margin: 25px 0;
animation: fadeSlideUp 0.8s 1.2s ease-out both;
}
.confession-section h2 {
font-family: 'Fredoka One', cursive;
font-size: 1.9rem;
color: var(--cream);
text-shadow: 2px 2px 0 #1a1a1a;
margin-bottom: 16px;
}
.confess-display {
background: var(--cream);
border: 3px solid #1a1a1a;
border-radius: 12px;
padding: 16px;
font-size: 1.15rem;
font-weight: 700;
color: #1a1a1a;
min-height: 60px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
cursor: pointer;
transition: transform 0.1s, box-shadow 0.1s;
box-shadow: 4px 4px 0 #1a1a1a;
line-height: 1.5;
}
.confess-display:hover {
transform: translate(-2px, -2px);
box-shadow: 7px 7px 0 #1a1a1a;
}
.confess-btn {
background: var(--cream);
border: 3px solid #1a1a1a;
border-radius: 12px;
padding: 12px 26px;
font-family: 'Fredoka One', cursive;
font-size: 1.1rem;
cursor: pointer;
transition: transform 0.1s, box-shadow 0.1s;
box-shadow: 4px 4px 0 #1a1a1a;
color: #1a1a1a;
width: 100%;
}
.confess-btn:hover {
transform: translate(-2px, -2px);
box-shadow: 7px 7px 0 #1a1a1a;
background: var(--electric-yellow);
}
/* FINAL WISH */
.final-wish {
background: var(--deep-red);
border: 4px solid #1a1a1a;
border-radius: 20px;
box-shadow: 8px 8px 0 #1a1a1a;
padding: 36px 28px;
margin: 25px 0;
animation: fadeSlideUp 0.8s 1.4s ease-out both;
position: relative;
overflow: hidden;
}
.final-wish h2 {
font-family: 'Fredoka One', cursive;
font-size: clamp(2rem, 6vw, 3rem);
color: var(--electric-yellow);
text-shadow: 3px 3px 0 #1a1a1a;
margin-bottom: 14px;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.04); }
}
.final-wish p {
color: var(--cream);
font-size: 1.1rem;
font-weight: 700;
line-height: 1.8;
}
/* POPUP OVERLAY */
.popup-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(4px);
z-index: 9000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.4s ease;
}
.popup-overlay.active {
opacity: 1;
pointer-events: all;
}
.popup-box {
background: var(--cream);
border: 5px solid #1a1a1a;
border-radius: 24px;
box-shadow: 10px 10px 0 #1a1a1a;
padding: 40px 36px;
max-width: 420px;
width: 90%;
text-align: center;
animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
position: relative;
}
@keyframes popIn {
0% { transform: scale(0.3) rotate(-8deg); opacity: 0; }
100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.popup-emoji {
font-size: 3.5rem;
display: block;
margin-bottom: 10px;
animation: wiggle 1s ease-in-out infinite;
}
.popup-title {
font-family: 'Fredoka One', cursive;
font-size: 2rem;
color: var(--hot-pink);
text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
margin-bottom: 8px;
}
.popup-sub {
font-size: 0.95rem;
color: #666;
font-weight: 600;
margin-bottom: 28px;
}
.popup-btn-row {
display: flex;
gap: 14px;
justify-content: center;
flex-wrap: wrap;
}
.btn-yes {
background: var(--hot-pink);
color: white;
border: 4px solid #1a1a1a;
border-radius: 14px;
padding: 14px 36px;
font-family: 'Fredoka One', cursive;
font-size: 1.4rem;
cursor: pointer;
box-shadow: 5px 5px 0 #1a1a1a;
transition: transform 0.1s, box-shadow 0.1s;
animation: heartBeat 1.2s ease-in-out infinite;
}
.btn-yes:hover {
transform: translate(-2px,-2px) scale(1.05);
box-shadow: 8px 8px 0 #1a1a1a;
animation: none;
}
@keyframes heartBeat {
0%, 100% { transform: scale(1); }
14% { transform: scale(1.08); }
28% { transform: scale(1); }
42% { transform: scale(1.05); }
}
.btn-no {
background: #ddd;
color: #555;
border: 4px solid #1a1a1a;
border-radius: 14px;
padding: 14px 22px;
font-family: 'Fredoka One', cursive;
font-size: 1.1rem;
cursor: pointer;
box-shadow: 5px 5px 0 #1a1a1a;
position: fixed; /* will be repositioned by JS */
transition: background 0.15s;
z-index: 9999;
display: none;
}
.btn-no:hover { background: #ccc; }
/* JOKE SCREEN inside popup */
.popup-joke {
display: none;
}
.joke-emoji {
font-size: 4rem;
display: block;
margin-bottom: 10px;
animation: spin 0.6s ease-out;
}
@keyframes spin {
from { transform: rotate(-30deg) scale(0.5); }
to { transform: rotate(0deg) scale(1); }
}
.joke-title {
font-family: 'Fredoka One', cursive;
font-size: 2rem;
color: var(--deep-red);
margin-bottom: 10px;
}
.joke-body {
font-size: 1rem;
font-weight: 700;
color: #333;
line-height: 1.7;
margin-bottom: 20px;
}
.whatsapp-btn {
display: inline-flex;
align-items: center;
gap: 10px;
background: #25D366;
color: white;
border: 4px solid #1a1a1a;
border-radius: 14px;
padding: 14px 26px;
font-family: 'Fredoka One', cursive;
font-size: 1.2rem;
cursor: pointer;
box-shadow: 5px 5px 0 #1a1a1a;
text-decoration: none;
transition: transform 0.1s, box-shadow 0.1s;
animation: heartBeat 1.4s ease-in-out infinite;
}
.whatsapp-btn:hover {
transform: translate(-2px,-2px);
box-shadow: 8px 8px 0 #1a1a1a;
animation: none;
}
/* CONFETTI burst on click */
.confetti-piece {
position: fixed;
width: 10px;
height: 10px;
border-radius: 2px;
pointer-events: none;
z-index: 99999;
animation: confettiFall 1.2s ease-out forwards;
}
@keyframes confettiFall {
0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
100% { opacity: 0; transform: translateY(200px) rotate(720deg) scale(0.3); }
}
/* FOOTER */
footer {
font-size: 0.85rem;
color: rgba(255,255,255,0.6);
padding: 20px 0 30px;
font-weight: 600;
}
.disclaimer {
background: rgba(255,255,255,0.12);
border-radius: 12px;
padding: 12px 18px;
font-size: 0.8rem;
color: rgba(255,255,255,0.7);
margin-bottom: 10px;
font-weight: 600;
border: 2px dashed rgba(255,255,255,0.3);
}
/* Responsive */
@media (max-width: 500px) {
.quiz-options { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<!-- Floating hearts background -->
<div class="heart-rain" id="heartRain"></div>
<div class="container">
<!-- HEADER -->
<div class="main-header">
<div class="header-label">π¨ URGENT MESSAGE π¨</div>
<h1 class="main-title">Happy Valentine's Day!</h1>
<p class="title-sub">...from someone who definitely didn't Google "how to be romantic"</p>
</div>
<!-- INTRO CARD -->
<div class="card">
<div class="card-title">π¬ A Letter To You</div>
<p class="card-body">
Dear <span class="highlight">You, Yes You</span>,<br><br>
On this sacred day of overpriced chocolate and mysteriously red everything,
I wanted to reach out and let you know:
you are <span class="highlight">absolutely, completely, 100%</span> the reason
I have trust issues β in the <span class="green">best possible way</span>. πΉ<br><br>
You've stolen my heart. Please return it. I need it to survive.
</p>
</div>
<!-- ROAST SECTION -->
<div class="roast-section">
<h2>π
Why You're Annoyingly Great</h2>
<ul class="roast-list" id="roastList">
<li class="roast-item"><span class="emoji">π€</span><span>You're so kind it's honestly a little suspicious. What are you hiding?</span></li>
<li class="roast-item"><span class="emoji">π§ </span><span>You're smart enough to know exactly when I'm being dramatic. Rude, honestly.</span></li>
<li class="roast-item"><span class="emoji">π</span><span>Your laugh is so contagious it should require a health warning label.</span></li>
<li class="roast-item"><span class="emoji">β¨</span><span>You somehow make being yourself look effortless. Please share your secrets.</span></li>
<li class="roast-item"><span class="emoji">π</span><span>You have excellent taste. In food, at least. Your choice in people is... questionable. (You're reading this.)</span></li>
</ul>
</div>
<!-- QUIZ SECTION -->
<div class="quiz-section">
<h2>π§ͺ A Very Official Quiz</h2>
<p class="quiz-subtitle">We need to verify your Valentine credentials. This is legally binding.</p>
<div class="quiz-question" id="quizQuestion">Loading your fate...</div>
<div class="quiz-options" id="quizOptions"></div>
<div class="quiz-result" id="quizResult"></div>
</div>
<!-- CONFESSION GENERATOR -->
<div class="confession-section">
<h2>π Random Love Confession Generator</h2>
<div class="confess-display" id="confessDisplay" onclick="generateConfession()">
Click the button to reveal your personalized love confession! π
</div>
<button class="confess-btn" onclick="generateConfession()">π² Generate Another One!</button>
</div>
<!-- FINAL WISH -->
<div class="final-wish">
<h2>β€οΈ But Seriously Though...</h2>
<p>
All jokes aside β you genuinely deserve a Valentine's Day
that's as wonderful, warm, and completely over-the-top
as you are. π<br><br>
May your day be filled with joy, good food,
zero awkward small talk, and all the love in the world.
You deserve every single bit of it.<br><br>
π <strong>Happy Valentine's Day!</strong> π
</p>
</div>
<!-- FOOTER -->
<div class="disclaimer">
β οΈ DISCLAIMER: No hearts were broken in the making of this website.
Side effects include: uncontrollable smiling, the urge to hug someone,
and a strange craving for chocolate. Consult your feelings before proceeding.
</div>
<footer>Made with π, bad puns, and a dangerous amount of pink.<br>
<strong style="color:var(--electric-yellow); text-shadow: 1px 1px 0 #1a1a1a;">Created by: KAYSAM GROWTH</strong>
</footer>
<!-- SCROLL SENTINEL -->
<div id="scrollSentinel" style="height:1px;"></div>
</div>
<!-- VALENTINE POPUP -->
<div class="popup-overlay" id="valentinePopup">
<div class="popup-box" id="popupBox">
<!-- Question screen -->
<div id="popupQuestion">
<span class="popup-emoji">π</span>
<div class="popup-title">Will u be my Valentine? π₯Ί</div>
<p class="popup-sub">Choose wisely. The universe is watching. π</p>
<div class="popup-btn-row">
<button class="btn-yes" onclick="sayYes()">YES π</button>
<button class="btn-yes" style="background:var(--electric-yellow);color:#1a1a1a;font-size:1rem;padding:14px 18px;animation:none;" id="btnNoProxy" onclick="startRunning()">I'm still thinking about it π€</button>
</div>
</div>
<!-- Joke screen (shown after YES) -->
<div class="popup-joke" id="popupJoke">
<span class="joke-emoji">π</span>
<div class="joke-title">Haha, I KNEW IT!! π</div>
<p class="joke-body">
Let's be real β you were ALWAYS going to say yes!<br>
That little "I'm thinking about it" act? Adorable. Truly.<br>
But deep down your heart had already decided. β€οΈ<br><br>
Now go share some love β it's what Valentines do! π
</p>
<a class="whatsapp-btn" id="whatsappLink" href="#" target="_blank">
<svg width="24" height="24" viewBox="0 0 24 24" fill="white"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/></svg>
Send Love on WhatsApp π
</a>
</div>
</div>
</div>
<!-- Runaway NO button (lives outside popup so it can go anywhere) -->
<button class="btn-no" id="btnNo" onmouseenter="runAway()" ontouchstart="runAway()">I'm still thinking about it π€</button>
<script>
// ---- FLOATING HEARTS ----
const heartRain = document.getElementById('heartRain');
const heartEmojis = ['β€οΈ','π','π','π','π','π','π','πΉ','π','π«Ά'];
for (let i = 0; i < 25; i++) {
const heart = document.createElement('div');
heart.className = 'falling-heart';
heart.textContent = heartEmojis[Math.floor(Math.random() * heartEmojis.length)];
heart.style.left = Math.random() * 100 + 'vw';
heart.style.fontSize = (0.8 + Math.random() * 1.8) + 'rem';
const dur = 6 + Math.random() * 10;
heart.style.animationDuration = dur + 's';
heart.style.animationDelay = (Math.random() * 8) + 's';
heartRain.appendChild(heart);
}
// ---- QUIZ ----
const quizData = [
{
q: "π€ What is the most romantic thing you can do on Valentine's Day?",
options: ["Send a heartfelt message π", "Buy overpriced roses πΉ", "Pretend to forget it π", "Eat all the candy yourself π¬"],
correct: 3,
responses: [
"Correct! You're a natural. Have you considered being a romantic advisor? π",
"Classic move. The florist industry thanks you for your service. πΈ",
"Bold strategy. Very bold. Did it work? (It never works.) π¬",
"Honestly? Most honest answer. Respect. π«"
]
},
{
q: "π You receive a bouquet of flowers. What do you do?",
options: ["Cherish them forever π₯Ή", "Post it immediately πΈ", "Quietly check if they're fake π", "Sneeze because allergies π€§"],
correct: 2,
responses: [
"Sweet! You're made of sunshine and poor decision-making. We love it. βοΈ",
"0.3 seconds. That's our estimate. We see you. π±",
"THE CORRECT ANSWER. Never trust anything that perfect. π΅οΈ",
"Nature said no to romance. Nature wins again. πΏ"
]
},
{
q: "π· The perfect Valentine's dinner is...",
options: ["Fancy restaurant π―οΈ", "Home-cooked meal π¨βπ³", "Fast food, no judgment π", "Cereal because you're tired π₯£"],
correct: 3,
responses: [
"Elegant! You planned 6 weeks ahead, didn't you? Type A. We see you. π
",
"So romantic! (How many smoke alarms went off? Be honest.) π₯",
"Iconic. Nothing says love like splitting a large fries at 10pm. π―",
"WINNER. The most romantic answer. Love doesn't need a dress code. π"
]
},
{
q: "π¬ Someone says 'I love you' first. You say:",
options: ["I love you too! β€οΈ", "That's so sweet... π₯Ί", "Thank you π¬", "...can you repeat that?"],
correct: 0,
responses: [
"FLAWLESS. Emotionally available AND timely. You're a rare specimen. π¦",
"The ellipsis says it all. There was a 3-second pause, wasn't there? π
",
"You said THANK YOU. THANK YOU. We need to talk. π",
"One time is never enough with you, huh? Playing it cool. Very cool. π"
]
}
];
let currentQ = Math.floor(Math.random() * quizData.length);
function loadQuestion() {
const data = quizData[currentQ];
document.getElementById('quizQuestion').textContent = data.q;
const optionsDiv = document.getElementById('quizOptions');
optionsDiv.innerHTML = '';
document.getElementById('quizResult').style.display = 'none';
data.options.forEach((opt, i) => {
const btn = document.createElement('button');
btn.className = 'quiz-btn';
btn.textContent = opt;
btn.onclick = () => answerQuiz(i);
optionsDiv.appendChild(btn);
});
}
function answerQuiz(index) {
const data = quizData[currentQ];
const result = document.getElementById('quizResult');
result.textContent = data.responses[index];
result.style.display = 'block';
setTimeout(() => {
currentQ = (currentQ + 1) % quizData.length;
loadQuestion();
}, 2800);
}
loadQuestion();
// ---- CONFESSION GENERATOR ----
const confessionStarters = [
"You make me want to", "The moment I saw you, I knew", "I'd fight a bear for you, but also",
"Scientists can't explain why", "In a parallel universe,", "My heart does a little backflip when",
"I Googled 'how to tell someone' and ended up here β", "Without you,", "Studies show that"
];
const confessionMidlines = [
"my heart beats faster than my WiFi", "you're the reason I check my phone every 5 minutes",
"I became 47% more charming", "the void looks slightly less vague",
"my plants started thriving (correlation? maybe)", "I keep accidentally smiling at strangers",
"something in my brain says 'you're doing great'", "I believe in good things again",
"even Mondays feel survivable"
];
const confessionEnders = [
"...and that's your fault. Entirely your fault. β€οΈ",
"...so yeah. Happy Valentine's Day, I guess. π",
"...which is deeply embarrassing. But here we are. π",
"...don't let it go to your head. (Let it go to your heart.) π",
"...I'm not crying, you're crying. π₯Ή",
"...I'm filing a complaint. With my feelings. To you. π",
"...anyway. You're great. Please continue existing. πΉ"
];
function generateConfession() {
const s = confessionStarters[Math.floor(Math.random() * confessionStarters.length)];
const m = confessionMidlines[Math.floor(Math.random() * confessionMidlines.length)];
const e = confessionEnders[Math.floor(Math.random() * confessionEnders.length)];
document.getElementById('confessDisplay').textContent = `"${s} ${m} ${e}"`;
}
generateConfession();
// ---- SCROLL-TRIGGERED POPUP ----
let popupShown = false;
const sentinel = document.getElementById('scrollSentinel');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting && !popupShown) {
popupShown = true;
setTimeout(() => {
openPopup();
}, 600);
}
});
}, { threshold: 1.0 });
observer.observe(sentinel);
function openPopup() {
const popup = document.getElementById('valentinePopup');
popup.classList.add('active');
// Show the proxy "no" button inside popup, hide the flying one
document.getElementById('btnNoProxy').style.display = 'inline-flex';
document.getElementById('btnNo').style.display = 'none';
}
// ---- RUNAWAY "NO" BUTTON ----
let runInterval = null;
let runCount = 0;
const taunts = [
"Nope! Come back! π", "Too slow!! π", "Nice try!! π¨",
"Hehe, not today! π", "Catch me if u can! π€£", "Almost!! π"
];
function startRunning() {
// Hide the proxy button inside popup, show the flying one
document.getElementById('btnNoProxy').style.display = 'none';
const btnNo = document.getElementById('btnNo');
btnNo.style.display = 'block';
// Start it roughly where the proxy was
const proxy = document.getElementById('btnNoProxy');
const popupBox = document.getElementById('popupBox');
const rect = popupBox.getBoundingClientRect();
btnNo.style.left = (rect.left + rect.width / 2 - 100) + 'px';
btnNo.style.top = (rect.top + rect.height / 2) + 'px';
teleportAway();
}
function runAway() {
teleportAway();
}
function teleportAway() {
const btnNo = document.getElementById('btnNo');
const margin = 20;
const bw = btnNo.offsetWidth || 180;
const bh = btnNo.offsetHeight || 50;
const maxX = window.innerWidth - bw - margin;
const maxY = window.innerHeight - bh - margin;
const newX = margin + Math.random() * maxX;
const newY = margin + Math.random() * maxY;
btnNo.style.left = newX + 'px';
btnNo.style.top = newY + 'px';
runCount++;
// Update button text with taunts
if (runCount <= taunts.length) {
btnNo.textContent = taunts[runCount - 1];
} else {
btnNo.textContent = "Still can't catch me! π";
}
}
// ---- SAY YES ----
function sayYes() {
// Hide the runaway button
document.getElementById('btnNo').style.display = 'none';
// Launch confetti celebration
launchConfetti();
// Swap popup content
document.getElementById('popupQuestion').style.display = 'none';
document.getElementById('popupJoke').style.display = 'block';
// Set WhatsApp link
const phone = '233554222103'; // international format, Ghana
const message = encodeURIComponent("Happy Valentine's Day from KAYSAM GROWTH. Don't forget to Share some LOVE this festive season. Incase you need a custom website for your business, we are here for you ; Prices ranging from GHS 120 only for first 60 customers.");
document.getElementById('whatsappLink').href = `https://wa.me/${phone}?text=${message}`;
}
// ---- CONFETTI ----
const confettiColors = ['#FF2D78','#FFE600','#FF6B35','#39FF14','#00C8FF','#fff','#C0003C'];
function launchConfetti(fromEl) {
const cx = window.innerWidth / 2;
const cy = window.innerHeight / 2;
for (let i = 0; i < 80; i++) {
const piece = document.createElement('div');
piece.className = 'confetti-piece';
const color = confettiColors[Math.floor(Math.random() * confettiColors.length)];
piece.style.background = color;
piece.style.left = cx + 'px';
piece.style.top = cy + 'px';
const tx = (Math.random() - 0.5) * 500;
const ty = (Math.random() - 0.7) * 400;
piece.style.width = (6 + Math.random() * 12) + 'px';
piece.style.height = (6 + Math.random() * 12) + 'px';
piece.style.borderRadius = Math.random() > 0.5 ? '50%' : '2px';
piece.style.transform = `translate(${tx}px, ${ty}px)`;
piece.style.animationDuration = (0.9 + Math.random() * 0.9) + 's';
piece.style.animationDelay = (Math.random() * 0.3) + 's';
document.body.appendChild(piece);
setTimeout(() => piece.remove(), 2000);
}
}
</script>
</body>
</html>