Elias207 commited on
Commit
809d71e
·
verified ·
1 Parent(s): bf74cf7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +19 -52
index.html CHANGED
@@ -171,58 +171,25 @@
171
  #loading-placeholder { display: none; }
172
  #result-container.loading #loading-placeholder { display: flex; animation: fadeIn 0.5s; justify-content: center; align-items: center; width: 100%; }
173
 
174
- /* --- START: MODIFIED LOADING ANIMATION --- */
175
- @keyframes simple-pulse {
176
- 0%, 100% { box-shadow: 0 0 20px rgba(74, 108, 250, 0.2); border-color: var(--accent-primary-glow); }
177
- 50% { box-shadow: 0 0 35px rgba(74, 108, 250, 0.4); border-color: var(--accent-primary); }
178
- }
179
-
180
- @keyframes loading-progress {
181
- 0% { background-position: 100% 0; }
182
- 100% { background-position: -100% 0; }
183
- }
184
-
185
- .generator-container {
186
- position: relative;
187
- width: 400px;
188
- max-width: 100%;
189
- height: 300px;
190
- border: 2px solid var(--accent-primary-glow);
191
- border-radius: 20px;
192
- overflow: hidden;
193
- background-color: #161b22;
194
- color: #f0f6fc;
195
- display: flex;
196
- justify-content: center;
197
- align-items: center;
198
- animation: simple-pulse 2.5s infinite ease-in-out;
199
- transition: all 0.3s ease;
200
- }
201
-
202
- /* Hide complex layers as they are not part of the simple animation */
203
- .noise-layer, .sketch-layer, .building-layer, .pixel-grid, .particles {
204
- display: none;
205
- }
206
-
207
- .text-overlay {
208
- position: relative;
209
- font-size: 22px;
210
- font-weight: 600;
211
- text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
212
- font-family: var(--app-font);
213
- }
214
-
215
- .progress-bar {
216
- position: absolute;
217
- bottom: 0;
218
- left: 0;
219
- width: 100%;
220
- height: 5px;
221
- background: linear-gradient(90deg, var(--accent-primary) 25%, var(--accent-secondary) 50%, var(--accent-primary) 75%);
222
- background-size: 200% 100%;
223
- animation: loading-progress 1.5s linear infinite;
224
- }
225
- /* --- END: MODIFIED LOADING ANIMATION --- */
226
 
227
  #result-grid { display: none; grid-template-columns: 1fr; gap: 1.5rem; width: 100%; justify-items: center; }
228
  #result-container.has-content #result-grid { display: grid; }
 
171
  #loading-placeholder { display: none; }
172
  #result-container.loading #loading-placeholder { display: flex; animation: fadeIn 0.5s; justify-content: center; align-items: center; width: 100%; }
173
 
174
+ /* --- START: ORIGINAL COMPLEX LOADING ANIMATION (RESTORED) --- */
175
+ .generator-container { position: relative; width: 400px; max-width: 100%; height: 300px; border: 2px solid #38bdf8; border-radius: 20px; overflow: hidden; box-shadow: 0 0 40px rgba(56, 189, 248, 0.3); animation: pulse 5s infinite cubic-bezier(0.4, 0, 0.6, 1); background-color: #161b22; color: #f0f6fc; }
176
+ @keyframes pulse { 0% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.3); } 50% { box-shadow: 0 0 60px rgba(56, 189, 248, 0.7); } 100% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.3); } }
177
+ .noise-layer, .sketch-layer, .building-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
178
+ .noise-layer { background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="none"/><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.5" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.6"/></svg>') repeat; opacity: 1; animation: fade-noise 7s infinite ease-in-out; }
179
+ @keyframes fade-noise { 0% { opacity: 1; filter: blur(5px); } 30% { opacity: 0.8; filter: blur(2px); } 100% { opacity: 0; filter: blur(0px); } }
180
+ .sketch-layer { filter: grayscale(1) contrast(1.5) blur(3px); opacity: 0; animation: reveal-sketch 7s infinite ease-in-out; }
181
+ @keyframes reveal-sketch { 0% { opacity: 0; filter: grayscale(1) contrast(1.5) blur(3px); } 20% { opacity: 1; filter: grayscale(1) contrast(1.2) blur(1px); } 60% { opacity: 0.5; filter: grayscale(0.5) contrast(1) blur(0px); } 100% { opacity: 0; } }
182
+ .building-layer { filter: blur(15px) saturate(0.5) brightness(0.7); opacity: 0; animation: denoise-color 7s infinite ease-in-out; }
183
+ @keyframes denoise-color { 0% { opacity: 0; filter: blur(15px) saturate(0.5) brightness(0.7); } 40% { opacity: 0.6; filter: blur(5px) saturate(1) brightness(1); } 100% { opacity: 1; filter: blur(0px) saturate(1.5) brightness(1.1); } }
184
+ .pixel-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, transparent 0 1px, rgba(255,255,255,0.1) 1px 2px), repeating-linear-gradient(90deg, transparent 0 1px, rgba(255,255,255,0.1) 1px 2px); opacity: 1; animation: dissolve-grid 7s infinite ease-in-out; }
185
+ @keyframes dissolve-grid { 0% { opacity: 1; } 70% { opacity: 0.5; } 100% { opacity: 0; } }
186
+ .particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 50%), radial-gradient(circle at 30% 70%, rgba(187, 134, 252, 0.2) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(250, 204, 21, 0.2) 0%, transparent 50%); animation: flow-particles 7s infinite cubic-bezier(0.4, 0, 0.6, 1); }
187
+ @keyframes flow-particles { 0% { transform: translate(0, 0) scale(1); opacity: 0.5; } 50% { transform: translate(10px, -15px) scale(1.05); opacity: 0.8; } 100% { transform: translate(0, 0) scale(1); opacity: 0.5; } }
188
+ .text-overlay { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); font-size: 24px; font-weight: 700; text-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 30px rgba(187, 134, 252, 0.5); animation: glow-text 7s infinite ease-in-out; font-family: var(--app-font); }
189
+ @keyframes glow-text { 0% { opacity: 0.7; text-shadow: 0 0 20px rgba(56, 189, 248, 0.8); } 50% { opacity: 1; text-shadow: 0 0 30px rgba(56, 189, 248, 1), 0 0 40px rgba(187, 134, 252, 0.7); } 100% { opacity: 0.7; text-shadow: 0 0 20px rgba(56, 189, 248, 0.8); } }
190
+ .progress-bar { position: absolute; bottom: 0; left: 0; width: 0%; height: 6px; background: linear-gradient(to right, #38bdf8, #bb86fc, #facc15); animation: progress 7s infinite linear; }
191
+ @keyframes progress { 0% { width: 0%; } 100% { width: 100%; } }
192
+ /* --- END: ORIGINAL COMPLEX LOADING ANIMATION (RESTORED) --- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
 
194
  #result-grid { display: none; grid-template-columns: 1fr; gap: 1.5rem; width: 100%; justify-items: center; }
195
  #result-container.has-content #result-grid { display: grid; }