-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtv.html
More file actions
1175 lines (1083 loc) · 38.3 KB
/
Copy pathtv.html
File metadata and controls
1175 lines (1083 loc) · 38.3 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
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Download PluginStream - Free Premium APK</title>
<meta name="description" content="Download the latest PluginStream APK or TV build. Your download starts automatically after a short loading screen.">
<!-- Ads optimized for lazy loading -->
<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=Inter:wght@400;500;600&family=Unbounded:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="icon" href="./assets/pluginstream.png">
<style>
:root {
--canvas: #fffaf0;
--surface-soft: #faf5e8;
--surface-card: #f5f0e0;
--surface-dark: #0a1a1a;
--ink: #0a0a0a;
--body: #3a3a3a;
--muted: #6a6a6a;
--hairline: #e5e5e5;
--accent-violet: #b8a4ed;
--accent-pink: #ff4d8b;
--accent-sky: #a7c7e7;
--accent-peach: #ffb084;
--accent-ochre: #e8b94a;
--accent-mint: #a4d4c5;
--space-xxs: 4px;
--space-xs: 8px;
--space-sm: 12px;
--space-md: 16px;
--space-lg: 24px;
--space-xl: 32px;
--space-xxl: 48px;
--space-section: 96px;
--radius-xs: 6px;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
--radius-pill: 9999px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--canvas);
color: var(--body);
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
line-height: 1.55;
overflow-x: hidden;
}
h1, h2, h3, .display-font {
font-family: 'Unbounded', sans-serif;
color: var(--ink);
}
.display-md { font-size: 40px; font-weight: 500; letter-spacing: -1px; line-height: 1.1; }
.display-sm { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.15; }
.title-lg { font-size: 24px; font-weight: 600; line-height: 1.3; }
.title-md { font-size: 18px; font-weight: 600; line-height: 1.4; }
.title-sm { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.body-md { font-size: 16px; font-weight: 400; line-height: 1.55; }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.55; }
.caption { font-size: 13px; font-weight: 500; line-height: 1.4; }
.caption-uppercase { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
a { text-decoration: none; color: inherit; }
.container {
max-width: 1280px;
margin: 0 auto;
padding: 0 var(--space-xl);
}
/* ── RIPPLE ── */
.ripple { position: relative; overflow: hidden; }
.ripple-span {
position: absolute;
border-radius: 50%;
transform: scale(0);
animation: ripple 0.6s linear;
background-color: rgba(255, 255, 255, 0.3);
pointer-events: none;
}
.btn-secondary .ripple-span { background-color: rgba(0, 0, 0, 0.1); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
/* ── BUTTONS ── */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
font-family: 'Inter', sans-serif;
font-size: 14px;
font-weight: 600;
line-height: 1.0;
border-radius: var(--radius-pill);
height: 48px;
padding: 0 28px;
cursor: pointer;
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
text-decoration: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
background-color: var(--surface-dark);
color: #fff;
}
.btn-secondary {
background-color: var(--canvas);
color: var(--ink);
border: 1px solid var(--hairline);
}
.btn-accent {
background-color: var(--accent-violet);
color: var(--ink);
}
.btn[aria-disabled="true"] {
opacity: 0.5;
pointer-events: none;
}
/* ── NAV ── */
nav {
position: fixed;
top: 0; left: 0;
width: 100%;
background-color: rgba(255, 250, 240, 0.9);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
z-index: 100;
transform: translateY(-100%);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-bottom 0.3s ease;
border-bottom: 1px solid transparent;
}
nav.visible {
transform: translateY(0);
border-bottom: 1px solid var(--hairline);
}
.nav-inner {
display: flex;
justify-content: space-between;
align-items: center;
height: 72px;
}
.nav-logo {
display: flex;
align-items: center;
gap: 12px;
font-size: 20px;
font-weight: 600;
color: var(--ink);
font-family: 'Unbounded', sans-serif;
}
.nav-logo-img {
width: 32px;
height: 32px;
border-radius: 8px;
}
/* ── PAGE WRAPPER ── */
.page-wrapper {
padding-top: 48px;
padding-bottom: var(--space-section);
}
/* ── TOP BANNER (Sponsored) ── */
.top-banner {
background-color: var(--surface-card);
border: 1px solid var(--hairline);
border-radius: var(--radius-xl);
padding: var(--space-md) var(--space-lg);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-md);
margin-bottom: var(--space-xl);
}
.top-banner-copy strong {
font-family: 'Unbounded', sans-serif;
font-size: 14px;
color: var(--ink);
}
.top-banner-copy span {
display: block;
font-size: 13px;
color: var(--muted);
margin-top: 2px;
}
/* ── HERO ── */
.hero {
position: relative;
padding-top: 80px;
padding-bottom: 64px;
text-align: center;
overflow: hidden;
z-index: 1;
}
.hero::before {
content: '';
position: absolute;
top: -50%; left: -50%;
width: 200%; height: 200%;
background: radial-gradient(circle at 50% 50%, rgba(184, 164, 237, 0.15) 0%, rgba(255, 77, 139, 0.05) 25%, transparent 50%);
z-index: -1;
animation: rotate-gradient 20s linear infinite;
pointer-events: none;
}
@keyframes rotate-gradient {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.hero-logo {
width: 48px;
height: 48px;
margin: 0 auto var(--space-xl);
border-radius: 28px;
box-shadow: 0 12px 32px rgba(0,0,0,0.1);
animation: float 6s ease-in-out infinite;
display: block;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: var(--space-xs);
padding: var(--space-xs) var(--space-md);
border-radius: var(--radius-pill);
background-color: var(--surface-card);
border: 1px solid var(--hairline);
font-size: 12px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--muted);
margin-bottom: var(--space-lg);
}
.hero h1 {
margin-bottom: var(--space-md);
}
.hero-sub {
color: var(--muted);
max-width: 520px;
margin: 0 auto var(--space-xxl);
}
/* ── DOWNLOAD GRID ── */
.download-grid {
display: grid;
grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
gap: var(--space-lg);
margin-top: var(--space-xl);
}
/* ── STATUS CARD ── */
.status-card {
background-color: var(--accent-violet);
border-radius: var(--radius-xl);
padding: var(--space-xl);
text-align: left;
}
.status-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: var(--space-lg);
margin-bottom: var(--space-lg);
}
.status-title {
font-family: 'Unbounded', sans-serif;
font-size: 18px;
font-weight: 500;
color: var(--ink);
margin-bottom: var(--space-xs);
}
.status-copy {
font-size: 14px;
color: rgba(10,10,10,0.75);
line-height: 1.6;
}
.countdown-box {
min-width: 80px;
background-color: rgba(10,10,10,0.12);
border-radius: var(--radius-md);
padding: var(--space-sm);
text-align: center;
flex-shrink: 0;
}
.countdown-box strong {
display: block;
font-family: 'Unbounded', sans-serif;
font-size: 2rem;
line-height: 1;
color: var(--ink);
}
.countdown-box span {
font-size: 11px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
color: rgba(10,10,10,0.65);
}
/* ── PLATFORM SWITCHER ── */
.platform-switcher {
display: flex;
flex-wrap: wrap;
gap: var(--space-xs);
margin-bottom: var(--space-md);
}
.platform-switcher button {
font-family: 'Inter', sans-serif;
font-size: 13px;
font-weight: 600;
background-color: rgba(10,10,10,0.08);
color: var(--ink);
border: 1px solid rgba(10,10,10,0.12);
border-radius: var(--radius-pill);
padding: 10px 18px;
cursor: pointer;
transition: background-color 0.2s ease;
}
.platform-switcher button.active {
background-color: var(--surface-dark);
color: #fff;
border-color: transparent;
}
/* ── ACTIONS — FIXED: column layout, full width buttons ── */
.actions {
display: flex;
flex-direction: column;
gap: var(--space-sm);
margin-top: var(--space-md);
}
.actions .btn {
width: 100%;
}
.download-hint {
font-size: 13px;
color: rgba(10,10,10,0.65);
margin-top: var(--space-md);
line-height: 1.6;
}
/* ── SUPPORT CARD ── */
.support-card {
background-color: var(--accent-peach);
border-radius: var(--radius-xl);
padding: var(--space-xl);
text-align: left;
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.support-card .eyebrow {
font-size: 11px;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
color: rgba(10,10,10,0.6);
}
.support-card h2 {
font-family: 'Unbounded', sans-serif;
font-size: 18px;
font-weight: 500;
color: var(--ink);
}
.support-card p {
font-size: 14px;
color: rgba(10,10,10,0.75);
line-height: 1.6;
flex: 1;
}
.support-card .btn {
width: 100%;
margin-top: auto;
}
/* ── ADS SECTION ── */
.ads-section {
margin-top: var(--space-xl);
width: 100%;
overflow: hidden;
}
.ads-section-label {
font-size: 12px;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
color: var(--muted);
margin-bottom: var(--space-lg);
text-align: center;
}
.ads-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--space-lg);
width: 100%;
}
.ad-card {
background-color: var(--surface-card);
border: 1px solid var(--hairline);
border-radius: var(--radius-xl);
padding: var(--space-lg);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
min-width: 0;
overflow: hidden;
}
.ad-card h3 {
font-family: 'Unbounded', sans-serif;
font-size: 16px;
font-weight: 500;
color: var(--ink);
margin-bottom: var(--space-xs);
width: 100%;
}
.ad-card p {
font-size: 13px;
color: var(--muted);
line-height: 1.6;
margin-bottom: var(--space-md);
width: 100%;
}
.ad-slot {
min-height: 100px;
width: 100%;
max-width: 320px;
border-radius: var(--radius-md);
border: 2px dashed var(--hairline);
background-color: var(--surface-soft);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--muted);
font-size: 13px;
padding: var(--space-md);
overflow: hidden;
margin: 0 auto;
}
.ad-slot.banner-slot { min-height: 70px; }
/* Force dynamic ad iframes to respect container bounds */
.ad-slot iframe,
.ad-slot ins,
.ad-slot div {
max-width: 100% !important;
height: auto !important;
}
/* ── FOOTER NOTE ── */
.footer-note {
text-align: center;
color: var(--muted);
font-size: 13px;
line-height: 1.6;
margin-top: var(--space-xl);
padding: var(--space-lg);
background-color: var(--surface-soft);
border: 1px solid var(--hairline);
border-radius: var(--radius-lg);
}
/* ── FOOTER ── */
footer {
background-color: var(--surface-soft);
border-top: 1px solid var(--hairline);
padding: 48px 0;
padding-bottom: 80px;
margin-top: var(--space-section);
}
.footer-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-xl);
align-items: flex-start;
}
.footer-col-right {
display: flex;
flex-direction: column;
align-items: flex-end;
}
.footer-nav {
display: flex;
gap: 24px;
flex-wrap: wrap;
justify-content: flex-end;
}
.footer-logo {
display: flex;
align-items: center;
font-size: 28px;
color: var(--ink);
font-family: 'Unbounded', sans-serif;
font-weight: 500;
margin-bottom: var(--space-xs);
}
.footer-logo img {
width: 32px;
height: 32px;
border-radius: 8px;
margin-right: 12px;
}
.footer-tagline { color: var(--muted); font-size: 16px; }
.footer-link {
color: var(--muted);
text-decoration: none;
font-size: 16px;
font-weight: 500;
transition: color 0.2s ease;
}
.footer-link:hover { color: var(--ink); }
.social-links { display: flex; gap: 28px; }
.social-icon-link {
display: inline-block;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.social-icon-link:hover { transform: scale(1.1); }
.social-icon-link img {
width: 64px;
height: 64px;
object-fit: contain;
display: block;
}
/* ── SUPPORT FAB — set display:none to hide, restore to "flex" to show ── */
.support-fab {
position: fixed;
bottom: 32px;
right: 32px;
z-index: 1000;
display: none;
flex-direction: column;
align-items: flex-end;
gap: 16px;
text-decoration: none;
}
.support-msg-bubble {
background-color: var(--canvas);
color: var(--ink);
border: 2px solid var(--ink);
box-shadow: 4px 4px 0px var(--ink);
padding: 16px 24px;
border-radius: 20px 20px 0 20px;
font-size: 15px;
font-weight: 600;
max-width: 260px;
opacity: 0;
transform: translateY(10px) scale(0.9);
transition: opacity 0.4s ease, transform 0.4s ease;
pointer-events: none;
line-height: 1.5;
}
.support-msg-bubble.show {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: auto;
}
.cursor {
display: inline-block;
width: 2px;
background-color: var(--ink);
margin-left: 2px;
animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.support-btn {
width: 64px;
height: 64px;
border-radius: 50%;
border: 3px solid var(--ink);
box-shadow: 4px 4px 0px var(--ink);
transition: transform 0.2s ease, box-shadow 0.2s ease;
overflow: hidden;
background: var(--surface-card);
display: flex;
align-items: center;
justify-content: center;
}
.support-btn img {
width: 100%;
height: 100%;
object-fit: cover;
}
.support-fab:hover .support-btn {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0px var(--ink);
}
/* ── DOWNLOAD POPUP ── */
.download-popup {
position: fixed;
inset: 0;
display: none;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(10, 10, 10, 0.6);
backdrop-filter: blur(8px);
z-index: 9999;
}
.download-popup.show { display: flex; }
.download-popup-card {
width: min(460px, 100%);
padding: var(--space-xl);
border-radius: var(--radius-xl);
border: 1px solid var(--hairline);
background: var(--canvas);
box-shadow: 0 32px 80px rgba(0,0,0,0.15);
}
.download-popup-card h3 {
font-family: 'Unbounded', sans-serif;
font-size: 22px;
font-weight: 500;
color: var(--ink);
margin-bottom: var(--space-sm);
}
.download-popup-card p {
font-size: 14px;
color: var(--muted);
line-height: 1.6;
margin-bottom: var(--space-lg);
}
/* Popup buttons bhi column mein */
.download-popup-actions {
display: flex;
flex-direction: column;
gap: var(--space-sm);
}
.download-popup-actions .btn {
width: 100%;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
.download-grid, .ads-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; }
.footer-col-right { align-items: flex-start; }
.footer-nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
.page-wrapper { padding-top: 24px; }
.hero { padding-top: 56px; padding-bottom: 40px; }
.display-md { font-size: 28px; }
.status-top { flex-direction: column; }
.countdown-box { min-width: 100%; }
.container { padding: 0 var(--space-md); }
.support-fab { bottom: 20px; right: 16px; }
.support-msg-bubble { font-size: 13px; padding: 12px 16px; max-width: 220px; }
.top-banner { flex-direction: column; align-items: flex-start; }
.top-banner .btn { width: 100%; }
}
</style>
</head>
<body>
<!-- NAV -->
<nav id="navbar">
<div class="container">
<div class="nav-inner">
<a href="index.html" class="nav-logo">
<img src="./assets/pluginstream.png" alt="PluginStream" class="nav-logo-img">
PluginStream
</a>
<a href="index.html" class="btn btn-secondary ripple" style="height:40px; font-size:13px;">← Back</a>
</div>
</div>
</nav>
<!-- PAGE -->
<div class="page-wrapper">
<div class="container">
<!-- SPONSORED BANNER -->
<div class="top-banner">
<div class="top-banner-copy">
<strong>Sponsored Access</strong>
<span>Support free downloads and unlock partner offers without blocking your APK flow.</span>
</div>
<a class="btn btn-primary ripple"
href="https://omg10.com/4/11143240"
target="_blank" rel="noopener noreferrer sponsored nofollow">Open offer</a>
</div>
<!-- HERO -->
<section class="hero">
<img src="./assets/pluginstream.png" alt="PluginStream" class="hero-logo">
<div class="hero-badge">PluginStream Download Gateway</div>
<h1 class="display-md" id="hero-title">Preparing your download</h1>
<p class="body-md hero-sub" id="hero-description">We are fetching the latest release and your download will begin automatically after a short countdown.</p>
<!-- DOWNLOAD GRID -->
<div class="download-grid">
<!-- STATUS CARD -->
<section class="status-card" aria-labelledby="status-heading">
<div class="status-top">
<div>
<div class="status-title" id="status-heading">Latest build loading</div>
<p class="status-copy" id="status-copy">Checking the newest stable APK from GitHub.</p>
</div>
<div class="countdown-box" aria-live="polite">
<strong id="countdown">4</strong>
<span>seconds</span>
</div>
</div>
<div class="platform-switcher" aria-label="Choose build">
<button type="button" data-platform="phone" id="phone-switch">📺 TV APK</button>
</div>
<div class="actions">
<a id="direct-download" class="btn btn-primary ripple" href="#" aria-disabled="true">Fetching latest release...</a>
<a class="btn btn-secondary ripple"
href="https://omg10.com/4/11143240"
target="_blank" rel="noopener noreferrer sponsored nofollow">Open sponsor link</a>
</div>
<p class="download-hint" id="download-hint">Download should begin automatically. If it does not, use the direct download button above.</p>
</section>
<!-- SUPPORT CARD -->
<aside class="support-card">
<span class="eyebrow">Monetized Soft Touch</span>
<h2>Ads stay off the main CTA flow</h2>
<p>Visible ad units live below the fold, while more aggressive formats only load with delay or intent signals. This keeps the download journey fast and cleaner for users.</p>
<a class="btn btn-primary ripple" href="index.html">← Backpage</a>
</aside>
</div>
</section>
<!-- ADS SECTION -->
<section class="ads-section" aria-label="Sponsored placements" id="ads-section">
<div class="ads-section-label">Sponsored Placements</div>
<div class="ads-grid">
<article class="ad-card">
<h3>Recommended Offers</h3>
<p>Native placement stays inside the content column so it feels less disruptive than forcing users away before the APK starts.</p>
<div class="ad-slot" id="ad-slot-1">
<!-- Ad will load lazily -->
</div>
</article>
<article class="ad-card">
<h3>Compact Banner</h3>
<p>This smaller banner keeps monetization visible without blocking the primary download call to action.</p>
<div class="ad-slot banner-slot" id="ad-slot-2">
<!-- Ad will load lazily -->
</div>
</article>
</div>
</section>
<!-- FOOTER NOTE -->
<p class="footer-note">Sponsored placements help keep PluginStream downloads free. Popunder and social bar are session-limited and do not block the initial auto-download.</p>
</div>
</div>
<!-- FOOTER -->
<footer>
<div class="container">
<div class="footer-grid">
<div>
<div class="footer-logo">
<img src="./assets/pluginstream.png" alt="PluginStream Logo">
PluginStream
</div>
<div class="footer-tagline body-sm">Free Premium Movies & OTT Plugins</div>
<div class="caption" style="margin-top: 16px; color: var(--muted); max-width: 280px; line-height: 1.4;">
The ultimate free streaming app with ad-free experience, 100+ OTT plugins, and seamless access to Netflix, Prime, HBO, Disney+ and YouTube.
</div>
</div>
<div class="footer-col-right">
<div>
<div class="title-sm" style="margin-bottom: 16px; color: var(--ink); font-size: 20px;">Join the community</div>
<div class="social-links">
<a href="github.html" target="_blank" rel="noopener noreferrer" class="social-icon-link">
<img src="./assets/github.svg" alt="GitHub">
</a>
<a href="telegram.html" target="_blank" rel="noopener noreferrer" class="social-icon-link">
<img src="./assets/telegram.svg" alt="Telegram">
</a>
<a href="contact.html" target="_blank" rel="noopener noreferrer" class="social-icon-link">
<img src="./assets/email.svg" alt="Email">
</a>
</div>
</div>
<div class="footer-nav" style="margin-top: 32px;">
<a href="portfolio.html" class="footer-link" target="_blank" rel="noopener noreferrer">PortFolio</a>
<a href="privacy.html" class="footer-link">Privacy Policy</a>
<a href="terms.html" class="footer-link">Terms & Conditions</a>
</div>
</div>
</div>
</div>
</footer>
<!-- SUPPORT FAB -->
<a href="https://omg10.com/4/11143190" target="_blank" rel="noopener noreferrer" class="support-fab" id="support-fab">
<div class="support-msg-bubble">
<span id="typewriter-text"></span><span class="cursor">|</span>
</div>
<div class="support-btn">
<img src="https://github.com/am-abdulmueed.png" alt="Support" class="support-avatar">
</div>
</a>
<!-- DOWNLOAD POPUP -->
<div class="download-popup" id="download-popup" aria-hidden="true">
<div class="download-popup-card">
<h3>APK download has started!</h3>
<p>While the file is downloading, you can view the installation guide or check out the optional sponsor offer.</p>
<div class="download-popup-actions">
<a class="btn btn-primary ripple" href="how-to-install.html">Open install guide</a>
<a class="btn btn-secondary ripple"
href="https://omg10.com/4/11143240"
target="_blank" rel="noopener noreferrer sponsored nofollow">View sponsor</a>
<button class="btn btn-secondary ripple" type="button" id="close-download-popup">Close</button>
</div>
</div>
</div>
<script>
const DOWNLOAD_CONFIG = {
phone: {
label: 'TV APK',
repo: 'am-abdulmueed/pluginstream',
fallbackUrl: 'https://github.com/am-abdulmueed/pluginstream/releases/latest',
title: 'Preparing your TV download',
description: 'The latest Android TV build is loading now. Your APK starts automatically after the countdown.'
}
};
let autoDownloadTimer = null;
let countdownTimer = null;
let currentPlatform = 'Android TV';
let downloadPopupTimer = null;
// ── Navbar scroll ──
const navbar = document.getElementById('navbar');
window.addEventListener('scroll', () => {
const currentScrollY = window.scrollY;
if (currentScrollY > 50) {
navbar.classList.add('visible');
} else {
navbar.classList.remove('visible');
}
const fabBubble = document.querySelector('.support-msg-bubble');
if (currentScrollY > 50) {
if (fabBubble) fabBubble.classList.add('show');
if (typeof startTypeWriter === 'function') startTypeWriter();
} else {
if (fabBubble) fabBubble.classList.remove('show');
}
}, { passive: true });
function getPlatformFromUrl() {
return 'phone';
}
function showDownloadPopup() {
const popup = document.getElementById('download-popup');
if (!popup) return;
popup.classList.add('show');
popup.setAttribute('aria-hidden', 'false');
}
function hideDownloadPopup() {
const popup = document.getElementById('download-popup');
if (!popup) return;
popup.classList.remove('show');
popup.setAttribute('aria-hidden', 'true');
}
function updateActivePlatformButtons(platform) {
document.querySelectorAll('.platform-switcher button').forEach((btn) => {
btn.classList.toggle('active', btn.dataset.platform === platform);
});
}
function startCountdown(downloadUrl) {
const countdownEl = document.getElementById('countdown');
const directDownload = document.getElementById('direct-download');
const statusCopy = document.getElementById('status-copy');
const downloadHint = document.getElementById('download-hint');
clearInterval(countdownTimer);
clearTimeout(autoDownloadTimer);
let seconds = 10;
countdownEl.textContent = String(seconds);
directDownload.href = downloadUrl;
directDownload.removeAttribute('aria-disabled');
directDownload.textContent = 'Download now';
statusCopy.textContent = 'Latest build found. Your direct download link is ready.';
downloadHint.textContent = 'Auto-download starts shortly. If needed, tap "Download now" to continue immediately.';
countdownTimer = setInterval(() => {
seconds -= 1;
countdownEl.textContent = String(Math.max(seconds, 0));
if (seconds <= 0) clearInterval(countdownTimer);
}, 1000);
autoDownloadTimer = setTimeout(() => {
clearTimeout(downloadPopupTimer);
downloadPopupTimer = setTimeout(showDownloadPopup, 1200);
window.location.assign(downloadUrl);
}, 10000);
}
async function loadRelease(platform) {
const config = DOWNLOAD_CONFIG[platform];
const heroTitle = document.getElementById('hero-title');
const heroDescription = document.getElementById('hero-description');
const statusCopy = document.getElementById('status-copy');
const directDownload = document.getElementById('direct-download');
const downloadHint = document.getElementById('download-hint');
currentPlatform = platform;
updateActivePlatformButtons(platform);
heroTitle.textContent = config.title;
heroDescription.textContent = config.description;
statusCopy.textContent = 'Checking the newest stable APK from GitHub.';
downloadHint.textContent = 'Download should begin automatically. If it does not, use the direct download button above.';
directDownload.textContent = 'Fetching latest release...';
directDownload.href = '#';
directDownload.setAttribute('aria-disabled', 'true');
try {
const response = await fetch(`https://api.github.com/repos/${config.repo}/releases/latest`);
if (!response.ok) throw new Error('Failed to fetch latest release');
const release = await response.json();
const asset = Array.isArray(release.assets)
? release.assets.find((item) => /\.apk$/i.test(item.name)) || release.assets[0]
: null;
if (!asset || !asset.browser_download_url) throw new Error('No downloadable asset found');
startCountdown(asset.browser_download_url);
} catch (error) {
console.error(error);
clearInterval(countdownTimer);
clearTimeout(autoDownloadTimer);
document.getElementById('countdown').textContent = '0';
statusCopy.textContent = 'Latest build could not be loaded automatically.';
downloadHint.textContent = 'Use the fallback release page below if GitHub rate-limits the request.';
directDownload.textContent = 'Open fallback release page';
directDownload.href = config.fallbackUrl;
directDownload.removeAttribute('aria-disabled');
}
}
// ── Ripple effect ──
function createRipple(event) {
const button = event.currentTarget;
const circle = document.createElement("span");
const diameter = Math.max(button.clientWidth, button.clientHeight);
const radius = diameter / 2;
let x, y;
if (event.touches && event.touches.length > 0) {
x = event.touches[0].clientX - button.getBoundingClientRect().left;
y = event.touches[0].clientY - button.getBoundingClientRect().top;
} else {
x = event.clientX - button.getBoundingClientRect().left;
y = event.clientY - button.getBoundingClientRect().top;
}
circle.style.width = circle.style.height = `${diameter}px`;
circle.style.left = `${x - radius}px`;