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
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GPUPowerShop - Premium Graphics Cards</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/animejs@3.2.1/lib/anime.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.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;
        }
        .gpu-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); }
        }
        .specs-bar {
            transition: width 1.5s ease-out;
        }
    </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="cpu" 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">GPUPowerShop</span>
                </div>
                <div class="hidden md:flex space-x-8">
                    <a href="index.html" class="hover:text-blue-400 transition">Home</a>
                    <a href="gpus.html" class="text-blue-400 font-medium transition">Shop GPUs</a>
                    <a href="#" class="hover:text-blue-400 transition">Deals</a>
                    <a href="#" class="hover:text-blue-400 transition">Benchmarks</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>
                </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> Graphics<br>Power Unleashed
                </h1>
                <p class="text-lg md:text-xl text-gray-300 mb-8 max-w-lg">
                    Experience cutting-edge performance with our premium selection of GPUs from top manufacturers.
                </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">
                        View Benchmarks
                    </button>
                </div>
            </div>
            <div class="md:w-1/2 flex justify-center">
                <img src="http://static.photos/technology/640x360/2" alt="Premium GPU" class="w-full max-w-md float">
            </div>
        </div>
    </section>

    <!-- GPU Comparison -->
    <section class="relative z-10 py-16 px-6">
        <div class="container mx-auto">
            <h2 class="text-3xl font-bold mb-12 text-center">Performance Comparison</h2>
            <div class="bg-gray-800 rounded-xl p-6 mb-12">
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <div class="text-center">
                        <h3 class="text-xl font-semibold mb-4">RTX 4090</h3>
                        <div class="bg-gray-700 h-4 rounded-full mb-2 overflow-hidden">
                            <div class="bg-blue-500 h-full specs-bar" style="width: 100%"></div>
                        </div>
                        <p class="text-sm text-gray-300">Performance: 100%</p>
                    </div>
                    <div class="text-center">
                        <h3 class="text-xl font-semibold mb-4">RTX 4080</h3>
                        <div class="bg-gray-700 h-4 rounded-full mb-2 overflow-hidden">
                            <div class="bg-purple-500 h-full specs-bar" style="width: 80%"></div>
                        </div>
                        <p class="text-sm text-gray-300">Performance: 80%</p>
                    </div>
                    <div class="text-center">
                        <h3 class="text-xl font-semibold mb-4">RTX 4070</h3>
                        <div class="bg-gray-700 h-4 rounded-full mb-2 overflow-hidden">
                            <div class="bg-green-500 h-full specs-bar" style="width: 65%"></div>
                        </div>
                        <p class="text-sm text-gray-300">Performance: 65%</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Featured GPUs -->
    <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 Graphics Cards</h2>
            <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- GPU Card 1 -->
                <div class="gpu-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">BEST SELLER</div>
                    <img src="http://static.photos/technology/320x240/10" alt="RTX 4090" class="w-full h-48 object-contain mb-6">
                    <h3 class="text-xl font-semibold mb-2">NVIDIA RTX 4090</h3>
                    <div class="flex justify-between text-sm text-gray-400 mb-4">
                        <span>24GB GDDR6X</span>
                        <span>16,384 CUDA</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <span class="text-xl font-bold">$1,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>
                
                <!-- GPU Card 2 -->
                <div class="gpu-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">LIMITED STOCK</div>
                    <img src="http://static.photos/technology/320x240/12" alt="RTX 4080" class="w-full h-48 object-contain mb-6">
                    <h3 class="text-xl font-semibold mb-2">NVIDIA RTX 4080</h3>
                    <div class="flex justify-between text-sm text-gray-400 mb-4">
                        <span>16GB GDDR6X</span>
                        <span>9,728 CUDA</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <span class="text-xl font-bold">$1,199</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>
                
                <!-- GPU Card 3 -->
                <div class="gpu-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">BEST VALUE</div>
                    <img src="http://static.photos/technology/320x240/14" alt="RTX 4070" class="w-full h-48 object-contain mb-6">
                    <h3 class="text-xl font-semibold mb-2">NVIDIA RTX 4070 Ti</h3>
                    <div class="flex justify-between text-sm text-gray-400 mb-4">
                        <span>12GB GDDR6X</span>
                        <span>7,680 CUDA</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <span class="text-xl font-bold">$799</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>

    <!-- Interactive GPU Builder -->
    <section class="relative z-10 py-20 px-6">
        <div class="container mx-auto bg-gray-800 rounded-xl p-8">
            <h2 class="text-3xl font-bold mb-8 text-center">Build Your Dream PC</h2>
            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h3 class="text-xl font-semibold mb-4">Select Components</h3>
                    <div class="space-y-4">
                        <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition cursor-pointer">
                            <div class="flex items-center">
                                <img src="http://static.photos/technology/120x120/101" alt="GPU" class="w-16 h-16 object-contain mr-4">
                                <div>
                                    <h4 class="font-medium">NVIDIA RTX 4090</h4>
                                    <p class="text-sm text-gray-400">$1,599</p>
                                </div>
                            </div>
                        </div>
                        <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition cursor-pointer">
                            <div class="flex items-center">
                                <img src="http://static.photos/technology/120x120/102" alt="GPU" class="w-16 h-16 object-contain mr-4">
                                <div>
                                    <h4 class="font-medium">NVIDIA RTX 4080</h4>
                                    <p class="text-sm text-gray-400">$1,199</p>
                                </div>
                            </div>
                        </div>
                        <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition cursor-pointer">
                            <div class="flex items-center">
                                <img src="http://static.photos/technology/120x120/103" alt="GPU" class="w-16 h-16 object-contain mr-4">
                                <div>
                                    <h4 class="font-medium">NVIDIA RTX 4070 Ti</h4>
                                    <p class="text-sm text-gray-400">$799</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <h3 class="text-xl font-semibold mb-4">Your Build</h3>
                    <div class="bg-gray-900 p-6 rounded-lg h-full">
                        <div class="flex flex-col justify-between h-full">
                            <div>
                                <div class="flex items-center mb-6">
                                    <img src="http://static.photos/technology/120x120/104" alt="PC Case" class="w-24 h-24 object-contain mr-4">
                                    <div>
                                        <h4 class="font-medium">Custom Gaming PC</h4>
                                        <p class="text-sm text-gray-400">Starting at $2,499</p>
                                    </div>
                                </div>
                                <div id="selected-components" class="space-y-3">
                                    <!-- Components will be added here -->
                                </div>
                            </div>
                            <button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-3 rounded-lg font-medium mt-6 w-full transition">
                                Complete Build ($2,499)
                            </button>
                        </div>
                    </div>
                </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 on GPU Releases</h2>
            <p class="text-blue-100 mb-8 max-w-2xl mx-auto">Subscribe for alerts on new GPU drops, price changes, and exclusive deals</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="cpu" class="text-blue-400 w-6 h-6"></i>
                        <span class="text-lg font-bold">GPUPowerShop</span>
                    </div>
                    <p class="text-gray-400 text-sm">Your trusted source for high-performance graphics cards and PC components.</p>
                    <div class="flex space-x-4 mt-6">
                        <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="youtube"></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="github"></i></a>
                    </div>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Shop</h3>
                    <ul class="space-y-2">
                        <li><a href="gpus.html" class="text-gray-400 hover:text-blue-400 transition">Graphics Cards</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-blue-400 transition">Prebuilt PCs</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">Warranty</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 GPUPowerShop. 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 performance bars
            anime({
                targets: '.specs-bar',
                width: ['0%', '100%', '80%', '65%'],
                duration: 1500,
                delay: anime.stagger(200),
                easing: 'easeOutExpo'
            });

            // GPU card hover animations
            const gpuCards = document.querySelectorAll('.gpu-card');
            gpuCards.forEach(card => {
                card.addEventListener('mouseenter', () => {
                    anime({
                        targets: card,
                        scale: 1.02,
                        duration: 300,
                        easing: 'easeOutExpo'
                    });
                });
                card.addEventListener('mouseleave', () => {
                    anime({
                        targets: card,
                        scale: 1,
                        duration: 300,
                        easing: 'easeOutExpo'
                    });
                });
            });

            // Component selection functionality
            const components = document.querySelectorAll('.bg-gray-700');
            const selectedComponents = document.getElementById('selected-components');
            
            components.forEach(component => {
                component.addEventListener('click', () => {
                    const componentName = component.querySelector('h4').textContent;
                    const componentPrice = component.querySelector('p').textContent;
                    
                    // Create selected component element
                    const selectedComponent = document.createElement('div');
                    selectedComponent.className = 'flex justify-between items-center bg-gray-800 p-3 rounded-lg';
                    selectedComponent.innerHTML = `
                        <span class="text-sm">${componentName}</span>
                        <span class="text-sm text-blue-400">${componentPrice}</span>
                    `;
                    
                    // Add to selected components
                    selectedComponents.appendChild(selectedComponent);
                    
                    // Pulse animation
                    anime({
                        targets: selectedComponent,
                        scale: [0.9, 1],
                        opacity: [0, 1],
                        duration: 500,
                        easing: 'easeOutExpo'
                    });
                });
            });

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