Spaces:
Running

File size: 16,447 Bytes
613de73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
686844e
44570ba
686844e
613de73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fa56a88
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DroidBazaar - Premium Android Devices</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
        }
        .phone-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }
        .hero-text {
            text-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .glow {
            animation: glow 2s ease-in-out infinite alternate;
        }
        @keyframes glow {
            from {
                box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
            }
            to {
                box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
            }
        }
        .float {
            animation: float 6s ease-in-out infinite;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
    </style>
</head>
<body class="bg-gray-900 text-white">
    <!-- Animated Background -->
    <div id="vanta-bg" class="fixed top-0 left-0 w-full h-full z-0"></div>
    
    <!-- Header -->
    <header class="relative z-10">
        <nav class="container mx-auto px-6 py-4">
            <div class="flex items-center justify-between">
                <div class="flex items-center space-x-2">
                    <i data-feather="smartphone" class="text-blue-400 w-8 h-8"></i>
                    <span class="text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-500 bg-clip-text text-transparent">DroidBazaar</span>
                </div>
                <div class="hidden md:flex space-x-8">
                    <a href="#" class="hover:text-blue-400 transition">Home</a>
                    <a href="#" class="hover:text-blue-400 transition">Shop</a>
                    <a href="#" class="hover:text-blue-400 transition">Deals</a>
                    <a href="#" class="hover:text-blue-400 transition">About</a>
                    <a href="#" class="hover:text-blue-400 transition">Contact</a>
                    <a href="tictactoe.html" class="hover:text-blue-400 transition">Play Tic Tac Toe</a>
                    <a href="gpus.html" class="hover:text-blue-400 transition">Shop GPUs</a>
</div>
                <div class="flex items-center space-x-4">
                    <button class="p-2 rounded-full hover:bg-gray-800 transition">
                        <i data-feather="search"></i>
                    </button>
                    <button class="p-2 rounded-full hover:bg-gray-800 transition">
                        <i data-feather="shopping-cart"></i>
                    </button>
                    <button class="md:hidden p-2 rounded-full hover:bg-gray-800 transition">
                        <i data-feather="menu"></i>
                    </button>
                </div>
            </div>
        </nav>
    </header>

    <!-- Hero Section -->
    <section class="relative z-10 py-20 md:py-32 px-6">
        <div class="container mx-auto flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 mb-12 md:mb-0">
                <h1 class="hero-text text-4xl md:text-6xl font-bold mb-6 leading-tight">
                    <span class="text-blue-400">Next-Gen</span> Android<br>Devices Await
                </h1>
                <p class="text-lg md:text-xl text-gray-300 mb-8 max-w-lg">
                    Discover cutting-edge smartphones with premium features at unbeatable prices. Experience the future today!
                </p>
                <div class="flex space-x-4">
                    <button class="bg-blue-500 hover:bg-blue-600 text-white px-8 py-3 rounded-full font-medium transition transform hover:scale-105 glow">
                        Shop Now
                    </button>
                    <button class="border border-blue-400 text-blue-400 hover:bg-blue-400 hover:text-white px-8 py-3 rounded-full font-medium transition transform hover:scale-105">
                        Learn More
                    </button>
                </div>
            </div>
            <div class="md:w-1/2 flex justify-center">
                <img src="http://static.photos/technology/640x360/1" alt="Premium Android Phone" class="w-full max-w-md float">
            </div>
        </div>
    </section>

    <!-- Featured Products -->
    <section class="relative z-10 py-16 px-6 bg-gradient-to-b from-transparent to-gray-900/80">
        <div class="container mx-auto">
            <h2 class="text-3xl font-bold mb-12 text-center">Featured Devices</h2>
            <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- Product Card 1 -->
                <div class="phone-card bg-gray-800 rounded-xl p-6 transition duration-500 ease-in-out transform hover:-translate-y-2">
                    <div class="badge bg-blue-500 text-xs text-white px-2 py-1 rounded-full mb-4 inline-block">NEW</div>
                    <img src="http://static.photos/technology/320x240/3" alt="Smartphone" class="w-full h-48 object-contain mb-6">
                    <h3 class="text-xl font-semibold mb-2">Quantum X Pro</h3>
                    <p class="text-gray-400 text-sm mb-4">6.7" AMOLED, 144Hz, 12GB RAM</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xl font-bold">$899</span>
                        <button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm transition">
                            Add to Cart
                        </button>
                    </div>
                </div>
                
                <!-- Product Card 2 -->
                <div class="phone-card bg-gray-800 rounded-xl p-6 transition duration-500 ease-in-out transform hover:-translate-y-2">
                    <div class="badge bg-green-500 text-xs text-white px-2 py-1 rounded-full mb-4 inline-block">BESTSELLER</div>
                    <img src="http://static.photos/technology/320x240/5" alt="Smartphone" class="w-full h-48 object-contain mb-6">
                    <h3 class="text-xl font-semibold mb-2">Nebula Z2</h3>
                    <p class="text-gray-400 text-sm mb-4">6.5" Dynamic AMOLED, 120Hz, 8GB RAM</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xl font-bold">$749</span>
                        <button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm transition">
                            Add to Cart
                        </button>
                    </div>
                </div>
                
                <!-- Product Card 3 -->
                <div class="phone-card bg-gray-800 rounded-xl p-6 transition duration-500 ease-in-out transform hover:-translate-y-2">
                    <div class="badge bg-purple-500 text-xs text-white px-2 py-1 rounded-full mb-4 inline-block">DEAL</div>
                    <img src="http://static.photos/technology/320x240/7" alt="Smartphone" class="w-full h-48 object-contain mb-6">
                    <h3 class="text-xl font-semibold mb-2">Pulse 5G</h3>
                    <p class="text-gray-400 text-sm mb-4">6.4" Super AMOLED, 90Hz, 6GB RAM</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xl font-bold">$599</span>
                        <button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm transition">
                            Add to Cart
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="relative z-10 py-20 px-6">
        <div class="container mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4">Why Choose DroidBazaar?</h2>
                <p class="text-gray-400 max-w-2xl mx-auto">We bring you the best Android devices with exclusive benefits</p>
            </div>
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-gray-800 rounded-xl p-8 text-center hover:bg-gradient-to-br from-gray-800 to-gray-900 transition">
                    <div class="w-16 h-16 bg-blue-500 rounded-full flex items-center justify-center mx-auto mb-6">
                        <i data-feather="shield" class="w-8 h-8 text-white"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">2-Year Warranty</h3>
                    <p class="text-gray-400">All our devices come with extended warranty for peace of mind.</p>
                </div>
                <div class="bg-gray-800 rounded-xl p-8 text-center hover:bg-gradient-to-br from-gray-800 to-gray-900 transition">
                    <div class="w-16 h-16 bg-purple-500 rounded-full flex items-center justify-center mx-auto mb-6">
                        <i data-feather="truck" class="w-8 h-8 text-white"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">Free Shipping</h3>
                    <p class="text-gray-400">Fast and free delivery on all orders above $200.</p>
                </div>
                <div class="bg-gray-800 rounded-xl p-8 text-center hover:bg-gradient-to-br from-gray-800 to-gray-900 transition">
                    <div class="w-16 h-16 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-6">
                        <i data-feather="refresh-cw" class="w-8 h-8 text-white"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">30-Day Returns</h3>
                    <p class="text-gray-400">Not satisfied? Return within 30 days for a full refund.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Newsletter -->
    <section class="relative z-10 py-16 px-6 bg-gradient-to-r from-blue-600 to-purple-600">
        <div class="container mx-auto text-center">
            <h2 class="text-2xl md:text-3xl font-bold mb-4">Stay Updated</h2>
            <p class="text-blue-100 mb-8 max-w-2xl mx-auto">Subscribe to our newsletter for exclusive deals and the latest tech updates</p>
            <div class="flex flex-col sm:flex-row justify-center max-w-xl mx-auto">
                <input type="email" placeholder="Your email address" class="px-4 py-3 rounded-l-full sm:rounded-r-none rounded-r-full w-full mb-2 sm:mb-0 text-gray-900 focus:outline-none">
                <button class="bg-black text-white px-6 py-3 rounded-r-full sm:rounded-l-none rounded-l-full font-medium hover:bg-gray-900 transition">
                    Subscribe
                </button>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="relative z-10 bg-gray-900/80 backdrop-blur-sm py-12 px-6">
        <div class="container mx-auto">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <i data-feather="smartphone" class="text-blue-400 w-6 h-6"></i>
                        <span class="text-lg font-bold">DroidBazaar</span>
                    </div>
                    <p class="text-gray-400 text-sm">Your one-stop shop for premium Android devices and accessories.</p>
                    <div class="flex space-x-4 mt-6">
                        <a href="#" class="text-gray-400 hover:text-blue-400 transition"><i data-feather="facebook"></i></a>
                        <a href="#" class="text-gray-400 hover:text-blue-400 transition"><i data-feather="twitter"></i></a>
                        <a href="#" class="text-gray-400 hover:text-blue-400 transition"><i data-feather="instagram"></i></a>
                        <a href="#" class="text-gray-400 hover:text-blue-400 transition"><i data-feather="youtube"></i></a>
                    </div>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Shop</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Smartphones</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Tablets</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Accessories</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Deals</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Support</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Contact Us</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">FAQs</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Shipping</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Returns</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Company</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">About Us</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Blog</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Careers</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Privacy Policy</a></li>
                    </ul>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500 text-sm">
                <p>© 2023 DroidBazaar. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Initialize Vanta.js background
        VANTA.NET({
            el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x3b82f6,
            backgroundColor: 0x111827,
            points: 12.00,
            maxDistance: 22.00,
            spacing: 18.00
        });

        // Initialize animations
        document.addEventListener('DOMContentLoaded', () => {
            // Animate hero section on load
            anime({
                targets: '.hero-text span',
                translateY: [-30, 0],
                opacity: [0, 1],
                duration: 1000,
                delay: 300,
                easing: 'easeOutExpo'
            });

            // Animate phone cards on scroll
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        anime({
                            targets: entry.target,
                            translateY: [50, 0],
                            opacity: [0, 1],
                            duration: 800,
                            easing: 'easeOutExpo'
                        });
                    }
                });
            }, { threshold: 0.1 });

            document.querySelectorAll('.phone-card').forEach(card => {
                observer.observe(card);
            });

            // Initialize feather icons
            feather.replace();
        });
    </script>
</body>
</html>