Spaces:
Running

File size: 5,920 Bytes
cbfdfe9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Sortemax App - Carregando</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <style>
    @keyframes pulse {
      0% { opacity: 0.8; transform: scale(0.98); }
      50% { opacity: 1; transform: scale(1.03); }
      100% { opacity: 0.8; transform: scale(0.98); }
    }
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @keyframes textGlow {
      0% { text-shadow: 0 0 5px rgba(163, 255, 163, 0.5); }
      50% { text-shadow: 0 0 15px rgba(163, 255, 163, 0.8); }
      100% { text-shadow: 0 0 5px rgba(163, 255, 163, 0.5); }
    }
    .gradient-bg {
      background: linear-gradient(135deg, #000000 0%, #1a2a3a 100%);
    }
  </style>
</head>
<body class="gradient-bg h-screen w-full flex items-center justify-center overflow-hidden">
  <div class="container mx-auto px-4 text-center relative z-10">
    <!-- Animated Logo -->
    <div class="w-40 h-40 mx-auto mb-8 relative">
      <div class="absolute inset-0 rounded-full bg-green-400 opacity-20 animate-pulse"></div>
      <img src="https://via.placeholder.com/150/a3ffa3/000000?text=SM" alt="Logo Sortemax" 
           class="w-full h-full object-contain animate-pulse" style="animation: pulse 2s infinite;">
    </div>
    
    <!-- Loading Text -->
    <h1 class="text-3xl md:text-4xl font-bold text-green-300 mb-4" style="animation: textGlow 2s infinite;">
      Sortemax
    </h1>
    <p class="text-green-200 mb-8">Carregando sua experiência...</p>
    
    <!-- Animated Spinner -->
    <div class="w-12 h-12 mx-auto border-4 border-green-400 border-t-transparent rounded-full animate-spin" 
         style="animation: spin 1s linear infinite;"></div>
    
    <!-- Progress Bar -->
    <div class="w-full bg-gray-800 rounded-full h-2.5 mt-8 max-w-xs mx-auto">
      <div class="bg-green-400 h-2.5 rounded-full animate-progress" style="width: 0%; animation: progress 3s forwards;"></div>
    </div>
    
    <!-- Status Text -->
    <p class="text-gray-400 text-sm mt-4">
      <span class="status-text">Inicializando sistemas</span>
      <span class="loading-dots">.</span>
    </p>
    
    <!-- Footer -->
    <div class="absolute bottom-6 left-0 right-0 text-center">
      <p class="text-gray-500 text-xs">
        © 2023 Sortemax Technologies
      </p>
    </div>
  </div>
  
  <!-- Floating Particles -->
  <div class="particles absolute inset-0 overflow-hidden pointer-events-none">
    <div class="particle absolute rounded-full bg-green-400 opacity-20"></div>
    <div class="particle absolute rounded-full bg-green-400 opacity-20"></div>
    <div class="particle absolute rounded-full bg-green-400 opacity-20"></div>
    <div class="particle absolute rounded-full bg-green-400 opacity-20"></div>
    <div class="particle absolute rounded-full bg-green-400 opacity-20"></div>
  </div>

  <script>
    // Animate progress bar
    document.head.insertAdjacentHTML('beforeend', `
      <style>
        @keyframes progress {
          0% { width: 0%; }
          100% { width: 100%; }
        }
      </style>
    `);
    
    // Animate loading dots
    let dots = 0;
    const dotsElement = document.querySelector('.loading-dots');
    setInterval(() => {
      dots = (dots + 1) % 4;
      dotsElement.textContent = '.'.repeat(dots);
    }, 500);
    
    // Update status text
    const statusTexts = [
      "Inicializando sistemas",
      "Carregando módulos",
      "Otimizando desempenho",
      "Quase pronto..."
    ];
    let currentStatus = 0;
    const statusElement = document.querySelector('.status-text');
    setInterval(() => {
      currentStatus = (currentStatus + 1) % statusTexts.length;
      statusElement.textContent = statusTexts[currentStatus];
    }, 3000);
    
    // Create floating particles
    const particlesContainer = document.querySelector('.particles');
    for (let i = 0; i < 15; i++) {
      const particle = document.createElement('div');
      particle.className = 'particle absolute rounded-full bg-green-400 opacity-10';
      
      const size = Math.random() * 10 + 5;
      const posX = Math.random() * 100;
      const posY = Math.random() * 100;
      const duration = Math.random() * 20 + 10;
      const delay = Math.random() * 5;
      
      particle.style.width = `${size}px`;
      particle.style.height = `${size}px`;
      particle.style.left = `${posX}%`;
      particle.style.top = `${posY}%`;
      particle.style.animation = `float ${duration}s ease-in-out ${delay}s infinite`;
      
      particlesContainer.appendChild(particle);
    }
    
    // Add floating animation
    document.head.insertAdjacentHTML('beforeend', `
      <style>
        @keyframes float {
          0% { transform: translateY(0) translateX(0); opacity: 0.1; }
          50% { transform: translateY(-50px) translateX(20px); opacity: 0.3; }
          100% { transform: translateY(-100px) translateX(0); opacity: 0; }
        }
      </style>
    `);
  </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Reginaldo520/pera-loading" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>