Jobanjps commited on
Commit
fa35245
·
verified ·
1 Parent(s): 0bb2ef2

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +244 -1
templates/index.html CHANGED
@@ -36,7 +36,7 @@
36
  radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08) 0%, transparent 70%),
37
  radial-gradient(circle at 50% 50%, rgba(102,126,234,0.1) 0%, transparent 60%);
38
  animation: backgroundPulse 8s ease-in-out infinite;
39
- z-index: -1;
40
  }
41
 
42
  @keyframes backgroundPulse {
@@ -54,6 +54,217 @@
54
  }
55
  }
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  /* Floating decorative elements */
58
  .floating-elements {
59
  position: fixed;
@@ -261,6 +472,7 @@
261
  transform: translateY(0);
262
  position: relative;
263
  overflow: hidden;
 
264
  }
265
 
266
  .container::before {
@@ -649,6 +861,22 @@
649
  .floating-shape {
650
  font-size: 30px !important;
651
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
652
  }
653
 
654
  @media (max-width: 768px) {
@@ -798,6 +1026,21 @@
798
  </style>
799
  </head>
800
  <body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
801
  <!-- Floating decorative elements -->
802
  <div class="floating-elements">
803
  <div class="floating-shape shape-1">🧠</div>
 
36
  radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08) 0%, transparent 70%),
37
  radial-gradient(circle at 50% 50%, rgba(102,126,234,0.1) 0%, transparent 60%);
38
  animation: backgroundPulse 8s ease-in-out infinite;
39
+ z-index: -2;
40
  }
41
 
42
  @keyframes backgroundPulse {
 
54
  }
55
  }
56
 
57
+ /* Animated character backgrounds */
58
+ .character-animations {
59
+ position: fixed;
60
+ top: 0;
61
+ left: 0;
62
+ width: 100%;
63
+ height: 100%;
64
+ pointer-events: none;
65
+ z-index: -1;
66
+ overflow: hidden;
67
+ }
68
+
69
+ /* Boy using mobile animation */
70
+ .mobile-boy {
71
+ position: absolute;
72
+ top: 15%;
73
+ left: 8%;
74
+ font-size: 80px;
75
+ animation: mobileUsage 4s ease-in-out infinite;
76
+ opacity: 0.4;
77
+ filter: blur(1px);
78
+ }
79
+
80
+ .mobile-boy::before {
81
+ content: '🧑‍💻📱';
82
+ display: block;
83
+ animation: phoneGlow 2s ease-in-out infinite alternate;
84
+ }
85
+
86
+ .mobile-boy::after {
87
+ content: '💭📲';
88
+ position: absolute;
89
+ top: -20px;
90
+ right: -30px;
91
+ font-size: 30px;
92
+ animation: thoughtBubble 3s ease-in-out infinite;
93
+ }
94
+
95
+ @keyframes mobileUsage {
96
+ 0%, 100% {
97
+ transform: translateY(0px) rotate(-2deg);
98
+ opacity: 0.4;
99
+ }
100
+ 25% {
101
+ transform: translateY(-5px) rotate(1deg);
102
+ opacity: 0.6;
103
+ }
104
+ 50% {
105
+ transform: translateY(-8px) rotate(-1deg);
106
+ opacity: 0.5;
107
+ }
108
+ 75% {
109
+ transform: translateY(-3px) rotate(2deg);
110
+ opacity: 0.6;
111
+ }
112
+ }
113
+
114
+ @keyframes phoneGlow {
115
+ 0% { filter: brightness(1) drop-shadow(0 0 5px rgba(102, 126, 234, 0.3)); }
116
+ 100% { filter: brightness(1.2) drop-shadow(0 0 15px rgba(102, 126, 234, 0.6)); }
117
+ }
118
+
119
+ @keyframes thoughtBubble {
120
+ 0%, 100% {
121
+ opacity: 0.3;
122
+ transform: translateY(0px) scale(0.8);
123
+ }
124
+ 50% {
125
+ opacity: 0.7;
126
+ transform: translateY(-10px) scale(1.1);
127
+ }
128
+ }
129
+
130
+ /* Boy sleeping animation */
131
+ .sleeping-boy {
132
+ position: absolute;
133
+ bottom: 20%;
134
+ right: 10%;
135
+ font-size: 70px;
136
+ animation: sleepingMotion 5s ease-in-out infinite;
137
+ opacity: 0.4;
138
+ filter: blur(1px);
139
+ }
140
+
141
+ .sleeping-boy::before {
142
+ content: '😴🛏️';
143
+ display: block;
144
+ animation: sleepBreathing 3s ease-in-out infinite;
145
+ }
146
+
147
+ .sleeping-boy::after {
148
+ content: '💤zzZ';
149
+ position: absolute;
150
+ top: -25px;
151
+ left: 40px;
152
+ font-size: 35px;
153
+ animation: sleepZzz 2s ease-in-out infinite;
154
+ color: rgba(255, 255, 255, 0.8);
155
+ }
156
+
157
+ @keyframes sleepingMotion {
158
+ 0%, 100% {
159
+ transform: translateY(0px) rotate(0deg);
160
+ opacity: 0.4;
161
+ }
162
+ 50% {
163
+ transform: translateY(-3px) rotate(-1deg);
164
+ opacity: 0.6;
165
+ }
166
+ }
167
+
168
+ @keyframes sleepBreathing {
169
+ 0%, 100% {
170
+ transform: scale(1);
171
+ filter: brightness(0.9);
172
+ }
173
+ 50% {
174
+ transform: scale(1.05);
175
+ filter: brightness(1.1);
176
+ }
177
+ }
178
+
179
+ @keyframes sleepZzz {
180
+ 0% {
181
+ opacity: 0;
182
+ transform: translateY(0px) scale(0.8);
183
+ }
184
+ 25% {
185
+ opacity: 0.8;
186
+ transform: translateY(-10px) scale(1);
187
+ }
188
+ 50% {
189
+ opacity: 0.6;
190
+ transform: translateY(-20px) scale(1.1);
191
+ }
192
+ 75% {
193
+ opacity: 0.4;
194
+ transform: translateY(-30px) scale(0.9);
195
+ }
196
+ 100% {
197
+ opacity: 0;
198
+ transform: translateY(-40px) scale(0.7);
199
+ }
200
+ }
201
+
202
+ /* Additional mobile addiction scene */
203
+ .addiction-scene {
204
+ position: absolute;
205
+ top: 60%;
206
+ left: 5%;
207
+ font-size: 45px;
208
+ animation: addictionWarning 6s ease-in-out infinite;
209
+ opacity: 0.3;
210
+ filter: blur(0.5px);
211
+ }
212
+
213
+ .addiction-scene::before {
214
+ content: '😰📱⚠️';
215
+ display: block;
216
+ animation: warningPulse 1.5s ease-in-out infinite;
217
+ }
218
+
219
+ @keyframes addictionWarning {
220
+ 0%, 100% {
221
+ transform: translateX(0px) scale(1);
222
+ opacity: 0.3;
223
+ }
224
+ 50% {
225
+ transform: translateX(10px) scale(1.1);
226
+ opacity: 0.5;
227
+ }
228
+ }
229
+
230
+ @keyframes warningPulse {
231
+ 0%, 100% { filter: brightness(1) hue-rotate(0deg); }
232
+ 50% { filter: brightness(1.3) hue-rotate(30deg); }
233
+ }
234
+
235
+ /* Good sleep scene */
236
+ .good-sleep-scene {
237
+ position: absolute;
238
+ bottom: 10%;
239
+ left: 15%;
240
+ font-size: 50px;
241
+ animation: peacefulSleep 7s ease-in-out infinite;
242
+ opacity: 0.35;
243
+ filter: blur(0.5px);
244
+ }
245
+
246
+ .good-sleep-scene::before {
247
+ content: '😇🌙✨';
248
+ display: block;
249
+ animation: peacefulGlow 3s ease-in-out infinite;
250
+ }
251
+
252
+ @keyframes peacefulSleep {
253
+ 0%, 100% {
254
+ transform: translateY(0px) rotate(0deg);
255
+ opacity: 0.35;
256
+ }
257
+ 50% {
258
+ transform: translateY(-5px) rotate(1deg);
259
+ opacity: 0.5;
260
+ }
261
+ }
262
+
263
+ @keyframes peacefulGlow {
264
+ 0%, 100% { filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); }
265
+ 50% { filter: brightness(1.4) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)); }
266
+ }
267
+
268
  /* Floating decorative elements */
269
  .floating-elements {
270
  position: fixed;
 
472
  transform: translateY(0);
473
  position: relative;
474
  overflow: hidden;
475
+ z-index: 10;
476
  }
477
 
478
  .container::before {
 
861
  .floating-shape {
862
  font-size: 30px !important;
863
  }
864
+
865
+ .mobile-boy {
866
+ font-size: 50px;
867
+ }
868
+
869
+ .sleeping-boy {
870
+ font-size: 45px;
871
+ }
872
+
873
+ .addiction-scene {
874
+ font-size: 30px;
875
+ }
876
+
877
+ .good-sleep-scene {
878
+ font-size: 35px;
879
+ }
880
  }
881
 
882
  @media (max-width: 768px) {
 
1026
  </style>
1027
  </head>
1028
  <body>
1029
+ <!-- Character Animations -->
1030
+ <div class="character-animations">
1031
+ <!-- Boy using mobile -->
1032
+ <div class="mobile-boy"></div>
1033
+
1034
+ <!-- Boy sleeping -->
1035
+ <div class="sleeping-boy"></div>
1036
+
1037
+ <!-- Mobile addiction scene -->
1038
+ <div class="addiction-scene"></div>
1039
+
1040
+ <!-- Good sleep scene -->
1041
+ <div class="good-sleep-scene"></div>
1042
+ </div>
1043
+
1044
  <!-- Floating decorative elements -->
1045
  <div class="floating-elements">
1046
  <div class="floating-shape shape-1">🧠</div>