Bruhtm commited on
Commit
be64ed1
·
verified ·
1 Parent(s): 51a4792

Add games from Crazygames

Browse files
Files changed (3) hide show
  1. README.md +9 -5
  2. crazygames.html +201 -0
  3. index.html +319 -19
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Undefined
3
- emoji: 😻
4
- colorFrom: yellow
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: undefined
3
+ colorFrom: blue
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
crazygames.html ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>CrazyGames Collection | GameSphere Frenzy</title>
7
+ <meta name="description" content="Popular games from CrazyGames - play the best free online games">
8
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ </head>
12
+ <body class="bg-secondary-100 dark:bg-secondary-900 text-secondary-900 dark:text-white theme-transition">
13
+ <!-- Navigation -->
14
+ <nav class="bg-secondary-800 dark:bg-secondary-950 shadow-lg sticky top-0 z-50">
15
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
16
+ <div class="flex items-center space-x-2">
17
+ <i data-feather="gamepad" class="text-primary-500 w-8 h-8"></i>
18
+ <a href="index.html" class="text-2xl font-bold bg-gradient-to-r from-primary-500 to-purple-600 bg-clip-text text-transparent">GameSphere Frenzy</a>
19
+ </div>
20
+
21
+ <div class="hidden md:flex space-x-6">
22
+ <a href="index.html" class="hover:text-primary-400 font-medium">Home</a>
23
+ <a href="crazygames.html" class="text-primary-400 font-medium">CrazyGames</a>
24
+ <a href="#" class="hover:text-primary-400 font-medium">Categories</a>
25
+ <a href="#" class="hover:text-primary-400 font-medium">Leaderboards</a>
26
+ </div>
27
+
28
+ <div class="flex items-center space-x-4">
29
+ <button id="theme-toggle" class="p-2 rounded-full hover:bg-secondary-700 dark:hover:bg-secondary-700">
30
+ <i data-feather="moon" class="hidden dark:block"></i>
31
+ <i data-feather="sun" class="block dark:hidden"></i>
32
+ </button>
33
+ <div class="relative">
34
+ <input type="text" placeholder="Search games..." class="bg-secondary-700 dark:bg-secondary-800 rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500">
35
+ <i data-feather="search" class="absolute left-3 top-2.5 text-secondary-400"></i>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </nav>
40
+
41
+ <!-- CrazyGames Collection -->
42
+ <section class="py-16">
43
+ <div class="container mx-auto px-4">
44
+ <h1 class="text-4xl font-bold mb-10">Popular CrazyGames</h1>
45
+
46
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
47
+ <!-- 1v1.LOL -->
48
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
49
+ <div class="relative overflow-hidden">
50
+ <img src="http://static.photos/gaming/640x360/101" alt="1v1.LOL" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
51
+ <div class="absolute top-2 right-2 bg-red-500 text-white text-xs px-2 py-1 rounded">HOT</div>
52
+ </div>
53
+ <div class="p-4">
54
+ <h3 class="font-bold text-lg mb-2">1v1.LOL</h3>
55
+ <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Build, shoot, and outplay your opponent in this intense 1v1 battle game.</p>
56
+ <button onclick="playGame('1v1lol')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
57
+ </div>
58
+ </div>
59
+
60
+ <!-- Shell Shockers -->
61
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
62
+ <div class="relative overflow-hidden">
63
+ <img src="http://static.photos/gaming/640x360/102" alt="Shell Shockers" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
64
+ </div>
65
+ <div class="p-4">
66
+ <h3 class="font-bold text-lg mb-2">Shell Shockers</h3>
67
+ <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">A multiplayer egg-based shooter where you crack your opponents!</p>
68
+ <button onclick="playGame('shellshockers')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
69
+ </div>
70
+ </div>
71
+
72
+ <!-- Moto X3M -->
73
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
74
+ <div class="relative overflow-hidden">
75
+ <img src="http://static.photos/gaming/640x360/103" alt="Moto X3M" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
76
+ <div class="absolute top-2 right-2 bg-yellow-500 text-white text-xs px-2 py-1 rounded">POPULAR</div>
77
+ </div>
78
+ <div class="p-4">
79
+ <h3 class="font-bold text-lg mb-2">Moto X3M</h3>
80
+ <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Complete insane bike stunts through challenging obstacle courses.</p>
81
+ <button onclick="playGame('motox3m')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
82
+ </div>
83
+ </div>
84
+
85
+ <!-- Paper.io 2 -->
86
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
87
+ <div class="relative overflow-hidden">
88
+ <img src="http://static.photos/gaming/640x360/104" alt="Paper.io 2" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
89
+ </div>
90
+ <div class="p-4">
91
+ <h3 class="font-bold text-lg mb-2">Paper.io 2</h3>
92
+ <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Claim territory and eliminate opponents in this multiplayer strategy game.</p>
93
+ <button onclick="playGame('paperio2')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
94
+ </div>
95
+ </div>
96
+
97
+ <!-- Krunker.io -->
98
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
99
+ <div class="relative overflow-hidden">
100
+ <img src="http://static.photos/gaming/640x360/105" alt="Krunker.io" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
101
+ <div class="absolute top-2 right-2 bg-blue-500 text-white text-xs px-2 py-1 rounded">FPS</div>
102
+ </div>
103
+ <div class="p-4">
104
+ <h3 class="font-bold text-lg mb-2">Krunker.io</h3>
105
+ <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Fast-paced browser FPS with smooth movement and shooting mechanics.</p>
106
+ <button onclick="playGame('krunker')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
107
+ </div>
108
+ </div>
109
+
110
+ <!-- Slope -->
111
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
112
+ <div class="relative overflow-hidden">
113
+ <img src="http://static.photos/gaming/640x360/106" alt="Slope" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
114
+ </div>
115
+ <div class="p-4">
116
+ <h3 class="font-bold text-lg mb-2">Slope</h3>
117
+ <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Navigate a 3D ball through a neon slope with increasing difficulty.</p>
118
+ <button onclick="playGame('slope')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
119
+ </div>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ </section>
124
+
125
+ <!-- Game Player Modal -->
126
+ <div id="game-modal" class="fixed inset-0 bg-black bg-opacity-90 z-50 hidden flex items-center justify-center p-4">
127
+ <div class="relative w-full max-w-6xl">
128
+ <button onclick="closeModal()" class="absolute -top-12 right-0 text-white hover:text-primary-400">
129
+ <i data-feather="x" class="w-8 h-8"></i>
130
+ </button>
131
+ <div class="bg-secondary-800 rounded-xl overflow-hidden">
132
+ <div class="p-4 bg-secondary-900 flex justify-between items-center">
133
+ <h3 id="game-title" class="text-xl font-bold">Loading Game...</h3>
134
+ </div>
135
+ <div id="game-player" class="w-full bg-black" style="aspect-ratio: 16/9">
136
+ <!-- Game iframe will be injected here -->
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </div>
141
+
142
+ <script>
143
+ feather.replace();
144
+
145
+ // Theme toggle functionality
146
+ const themeToggle = document.getElementById('theme-toggle');
147
+ if (themeToggle) {
148
+ themeToggle.addEventListener('click', () => {
149
+ document.documentElement.classList.toggle('dark');
150
+ localStorage.setItem('theme', document.documentElement.classList.contains('dark') ? 'dark' : 'light');
151
+ });
152
+ }
153
+
154
+ // Game modal functionality
155
+ function playGame(gameName) {
156
+ const modal = document.getElementById('game-modal');
157
+ const gamePlayer = document.getElementById('game-player');
158
+ const gameTitle = document.getElementById('game-title');
159
+
160
+ // Set game title
161
+ gameTitle.textContent = document.querySelector(`button[onclick="playGame('${gameName}')"]`).parentElement.querySelector('h3').textContent;
162
+
163
+ // Set iframe based on game
164
+ let iframeSrc = '';
165
+ switch(gameName) {
166
+ case '1v1lol':
167
+ iframeSrc = 'https://1v1.lol/';
168
+ break;
169
+ case 'shellshockers':
170
+ iframeSrc = 'https://shellshock.io/';
171
+ break;
172
+ case 'motox3m':
173
+ iframeSrc = 'https://www.crazygames.com/game/moto-x3m';
174
+ break;
175
+ case 'paperio2':
176
+ iframeSrc = 'https://www.crazygames.com/game/paper-io-2';
177
+ break;
178
+ case 'krunker':
179
+ iframeSrc = 'https://krunker.io/';
180
+ break;
181
+ case 'slope':
182
+ iframeSrc = 'https://www.crazygames.com/game/slope';
183
+ break;
184
+ default:
185
+ return;
186
+ }
187
+
188
+ gamePlayer.innerHTML = `<iframe src="${iframeSrc}" frameborder="0" allowfullscreen class="w-full h-full"></iframe>`;
189
+ modal.classList.remove('hidden');
190
+ }
191
+
192
+ function closeModal() {
193
+ const modal = document.getElementById('game-modal');
194
+ const gamePlayer = document.getElementById('game-player');
195
+
196
+ gamePlayer.innerHTML = '';
197
+ modal.classList.add('hidden');
198
+ }
199
+ </script>
200
+ </body>
201
+ </html>
index.html CHANGED
@@ -1,19 +1,319 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PlayerB - Play Free Online Games</title>
7
+ <meta name="description" content="Play the best free online games at PlayerB. No downloads required - instant play in your browser!">
8
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
12
+ <script>
13
+ tailwind.config = {
14
+ darkMode: 'class',
15
+ theme: {
16
+ extend: {
17
+ colors: {
18
+ primary: '#6366f1',
19
+ secondary: '#1e293b',
20
+ }
21
+ }
22
+ }
23
+ }
24
+ </script>
25
+ <style>
26
+ .game-card:hover .game-thumbnail {
27
+ transform: scale(1.05);
28
+ }
29
+ .theme-transition {
30
+ transition: background-color 0.3s ease, color 0.3s ease;
31
+ }
32
+ #game-player {
33
+ aspect-ratio: 16/9;
34
+ }
35
+ </style>
36
+ </head>
37
+ <body class="bg-secondary-100 dark:bg-secondary-900 text-secondary-900 dark:text-white theme-transition">
38
+ <!-- Navigation -->
39
+ <nav class="bg-secondary-800 dark:bg-secondary-950 shadow-lg sticky top-0 z-50">
40
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
41
+ <div class="flex items-center space-x-2">
42
+ <i data-feather="gamepad" class="text-primary-500 w-8 h-8"></i>
43
+ <span class="text-2xl font-bold bg-gradient-to-r from-primary-500 to-purple-600 bg-clip-text text-transparent">PlayerB</span>
44
+ </div>
45
+ <div class="hidden md:flex space-x-6">
46
+ <a href="index.html" class="hover:text-primary-400 font-medium">Home</a>
47
+ <a href="crazygames.html" class="hover:text-primary-400 font-medium">CrazyGames</a>
48
+ <a href="#" class="hover:text-primary-400 font-medium">Categories</a>
49
+ <a href="#" class="hover:text-primary-400 font-medium">New Games</a>
50
+ <a href="#" class="hover:text-primary-400 font-medium">Leaderboards</a>
51
+ </div>
52
+ <div class="flex items-center space-x-4">
53
+ <button id="theme-toggle" class="p-2 rounded-full hover:bg-secondary-700 dark:hover:bg-secondary-700">
54
+ <i data-feather="moon" class="hidden dark:block"></i>
55
+ <i data-feather="sun" class="block dark:hidden"></i>
56
+ </button>
57
+ <div class="relative">
58
+ <input type="text" placeholder="Search games..." class="bg-secondary-700 dark:bg-secondary-800 rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500">
59
+ <i data-feather="search" class="absolute left-3 top-2.5 text-secondary-400"></i>
60
+ </div>
61
+ <a href="#" class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-full font-medium">Sign In</a>
62
+ </div>
63
+
64
+ <button id="mobile-menu-button" class="md:hidden p-2">
65
+ <i data-feather="menu"></i>
66
+ </button>
67
+ </div>
68
+ </nav>
69
+
70
+ <!-- Hero Section -->
71
+ <section class="relative overflow-hidden">
72
+ <div id="vanta-bg" class="absolute inset-0"></div>
73
+ <div class="container mx-auto px-4 py-20 relative z-10">
74
+ <div class="max-w-2xl">
75
+ <h1 class="text-5xl md:text-6xl font-bold mb-6">Play. Anywhere. Anytime.</h1>
76
+ <p class="text-xl mb-8">Discover thousands of free online games. No downloads, no installs - just instant fun!</p>
77
+ <div class="flex space-x-4">
78
+ <a href="#trending" class="bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-full font-medium">Explore Games</a>
79
+ <a href="#" class="border-2 border-white dark:border-secondary-300 text-white dark:text-secondary-300 hover:bg-white/10 px-6 py-3 rounded-full font-medium">How It Works</a>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </section>
84
+
85
+ <!-- Trending Games -->
86
+ <section id="trending" class="py-16 bg-secondary-200 dark:bg-secondary-800">
87
+ <div class="container mx-auto px-4">
88
+ <div class="flex justify-between items-center mb-10">
89
+ <h2 class="text-3xl font-bold">🔥 Trending Now</h2>
90
+ <a href="#" class="text-primary-600 dark:text-primary-400 hover:underline flex items-center">
91
+ View All <i data-feather="chevron-right" class="ml-1 w-5 h-5"></i>
92
+ </a>
93
+ </div>
94
+
95
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
96
+ <!-- Game Card 1 -->
97
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
98
+ <div class="relative overflow-hidden">
99
+ <img src="http://static.photos/gaming/640x360/1" alt="Space Adventure" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
100
+ <div class="absolute top-2 right-2 bg-primary-600 text-white text-xs px-2 py-1 rounded">NEW</div>
101
+ </div>
102
+ <div class="p-4">
103
+ <h3 class="font-bold text-lg mb-2">Space Adventure</h3>
104
+ <div class="flex justify-between items-center">
105
+ <span class="text-sm text-secondary-500 dark:text-secondary-400">Action</span>
106
+ <div class="flex items-center">
107
+ <i data-feather="users" class="w-4 h-4 mr-1"></i>
108
+ <span class="text-sm">12.4K</span>
109
+ </div>
110
+ </div>
111
+ <button class="mt-4 w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
112
+ </div>
113
+ </div>
114
+
115
+ <!-- Game Card 2 -->
116
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
117
+ <div class="relative overflow-hidden">
118
+ <img src="http://static.photos/gaming/640x360/2" alt="Puzzle Master" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
119
+ <div class="absolute top-2 right-2 bg-yellow-500 text-white text-xs px-2 py-1 rounded">POPULAR</div>
120
+ </div>
121
+ <div class="p-4">
122
+ <h3 class="font-bold text-lg mb-2">Puzzle Master</h3>
123
+ <div class="flex justify-between items-center">
124
+ <span class="text-sm text-secondary-500 dark:text-secondary-400">Puzzle</span>
125
+ <div class="flex items-center">
126
+ <i data-feather="users" class="w-4 h-4 mr-1"></i>
127
+ <span class="text-sm">24.7K</span>
128
+ </div>
129
+ </div>
130
+ <button class="mt-4 w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
131
+ </div>
132
+ </div>
133
+
134
+ <!-- Game Card 3 -->
135
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
136
+ <div class="relative overflow-hidden">
137
+ <img src="http://static.photos/gaming/640x360/3" alt="Soccer Stars" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
138
+ </div>
139
+ <div class="p-4">
140
+ <h3 class="font-bold text-lg mb-2">Soccer Stars</h3>
141
+ <div class="flex justify-between items-center">
142
+ <span class="text-sm text-secondary-500 dark:text-secondary-400">Sports</span>
143
+ <div class="flex items-center">
144
+ <i data-feather="users" class="w-4 h-4 mr-1"></i>
145
+ <span class="text-sm">8.9K</span>
146
+ </div>
147
+ </div>
148
+ <button class="mt-4 w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
149
+ </div>
150
+ </div>
151
+
152
+ <!-- Game Card 4 -->
153
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
154
+ <div class="relative overflow-hidden">
155
+ <img src="http://static.photos/gaming/640x360/4" alt="Zombie Survival" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
156
+ <div class="absolute top-2 right-2 bg-red-500 text-white text-xs px-2 py-1 rounded">HOT</div>
157
+ </div>
158
+ <div class="p-4">
159
+ <h3 class="font-bold text-lg mb-2">Zombie Survival</h3>
160
+ <div class="flex justify-between items-center">
161
+ <span class="text-sm text-secondary-500 dark:text-secondary-400">Adventure</span>
162
+ <div class="flex items-center">
163
+ <i data-feather="users" class="w-4 h-4 mr-1"></i>
164
+ <span class="text-sm">18.2K</span>
165
+ </div>
166
+ </div>
167
+ <button class="mt-4 w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </section>
173
+
174
+ <!-- Game Player Modal (hidden by default) -->
175
+ <div id="game-modal" class="fixed inset-0 bg-black bg-opacity-90 z-50 hidden flex items-center justify-center p-4">
176
+ <div class="relative w-full max-w-6xl">
177
+ <button id="close-modal" class="absolute -top-12 right-0 text-white hover:text-primary-400">
178
+ <i data-feather="x" class="w-8 h-8"></i>
179
+ </button>
180
+ <div class="bg-secondary-800 rounded-xl overflow-hidden">
181
+ <div class="p-4 bg-secondary-900 flex justify-between items-center">
182
+ <h3 id="game-title" class="text-xl font-bold">Game Title</h3>
183
+ <div class="flex space-x-4">
184
+ <button class="text-white hover:text-primary-400 flex items-center">
185
+ <i data-feather="heart" class="w-5 h-5 mr-1"></i> Favorite
186
+ </button>
187
+ <button class="text-white hover:text-primary-400 flex items-center">
188
+ <i data-feather="share-2" class="w-5 h-5 mr-1"></i> Share
189
+ </button>
190
+ </div>
191
+ </div>
192
+ <div id="game-player" class="w-full bg-black">
193
+ <!-- Game iframe will be injected here -->
194
+ <div class="flex items-center justify-center h-full">
195
+ <p class="text-white">Loading game...</p>
196
+ </div>
197
+ </div>
198
+ <div class="p-4 bg-secondary-900 flex justify-between items-center">
199
+ <div class="flex space-x-4">
200
+ <button class="text-white hover:text-primary-400 flex items-center">
201
+ <i data-feather="maximize-2" class="w-5 h-5 mr-1"></i> Fullscreen
202
+ </button>
203
+ </div>
204
+ <div class="flex space-x-2">
205
+ <div class="bg-secondary-700 text-white px-3 py-1 rounded-full text-sm">Action</div>
206
+ <div class="bg-secondary-700 text-white px-3 py-1 rounded-full text-sm">Adventure</div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </div>
212
+
213
+ <!-- Categories Section -->
214
+ <section class="py-16">
215
+ <div class="container mx-auto px-4">
216
+ <h2 class="text-3xl font-bold mb-10 text-center">Browse by Category</h2>
217
+
218
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
219
+ <a href="#" class="category-card bg-white dark:bg-secondary-700 rounded-lg p-6 text-center hover:shadow-lg transition-shadow duration-300">
220
+ <div class="bg-primary-100 dark:bg-primary-900/30 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
221
+ <i data-feather="sword" class="text-primary-600 dark:text-primary-400 w-8 h-8"></i>
222
+ </div>
223
+ <h3 class="font-medium">Action</h3>
224
+ </a>
225
+
226
+ <a href="#" class="category-card bg-white dark:bg-secondary-700 rounded-lg p-6 text-center hover:shadow-lg transition-shadow duration-300">
227
+ <div class="bg-primary-100 dark:bg-primary-900/30 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
228
+ <i data-feather="puzzle" class="text-primary-600 dark:text-primary-400 w-8 h-8"></i>
229
+ </div>
230
+ <h3 class="font-medium">Puzzle</h3>
231
+ </a>
232
+
233
+ <a href="#" class="category-card bg-white dark:bg-secondary-700 rounded-lg p-6 text-center hover:shadow-lg transition-shadow duration-300">
234
+ <div class="bg-primary-100 dark:bg-primary-900/30 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
235
+ <i data-feather="trophy" class="text-primary-600 dark:text-primary-400 w-8 h-8"></i>
236
+ </div>
237
+ <h3 class="font-medium">Sports</h3>
238
+ </a>
239
+
240
+ <a href="#" class="category-card bg-white dark:bg-secondary-700 rounded-lg p-6 text-center hover:shadow-lg transition-shadow duration-300">
241
+ <div class="bg-primary-100 dark:bg-primary-900/30 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
242
+ <i data-feather="zap" class="text-primary-600 dark:text-primary-400 w-8 h-8"></i>
243
+ </div>
244
+ <h3 class="font-medium">Adventure</h3>
245
+ </a>
246
+
247
+ <a href="#" class="category-card bg-white dark:bg-secondary-700 rounded-lg p-6 text-center hover:shadow-lg transition-shadow duration-300">
248
+ <div class="bg-primary-100 dark:bg-primary-900/30 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
249
+ <i data-feather="cpu" class="text-primary-600 dark:text-primary-400 w-8 h-8"></i>
250
+ </div>
251
+ <h3 class="font-medium">Strategy</h3>
252
+ </a>
253
+
254
+ <a href="#" class="category-card bg-white dark:bg-secondary-700 rounded-lg p-6 text-center hover:shadow-lg transition-shadow duration-300">
255
+ <div class="bg-primary-100 dark:bg-primary-900/30 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
256
+ <i data-feather="heart" class="text-primary-600 dark:text-primary-400 w-8 h-8"></i>
257
+ </div>
258
+ <h3 class="font-medium">Casual</h3>
259
+ </a>
260
+ </div>
261
+ </div>
262
+ </section>
263
+
264
+ <!-- New Releases -->
265
+ <section class="py-16 bg-secondary-200 dark:bg-secondary-800">
266
+ <div class="container mx-auto px-4">
267
+ <div class="flex justify-between items-center mb-10">
268
+ <h2 class="text-3xl font-bold">🆕 New Releases</h2>
269
+ <a href="#" class="text-primary-600 dark:text-primary-400 hover:underline flex items-center">
270
+ View All <i data-feather="chevron-right" class="ml-1 w-5 h-5"></i>
271
+ </a>
272
+ </div>
273
+
274
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
275
+ <!-- New Game 1 -->
276
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
277
+ <div class="relative overflow-hidden">
278
+ <img src="http://static.photos/gaming/640x360/5" alt="Racing Legends" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
279
+ <div class="absolute top-2 right-2 bg-green-500 text-white text-xs px-2 py-1 rounded">NEW</div>
280
+ </div>
281
+ <div class="p-4">
282
+ <h3 class="font-bold text-lg mb-2">Racing Legends</h3>
283
+ <div class="flex justify-between items-center">
284
+ <span class="text-sm text-secondary-500 dark:text-secondary-400">Racing</span>
285
+ <div class="flex items-center">
286
+ <i data-feather="star" class="w-4 h-4 mr-1 text-yellow-500"></i>
287
+ <span class="text-sm">4.8</span>
288
+ </div>
289
+ </div>
290
+ <button class="mt-4 w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
291
+ </div>
292
+ </div>
293
+
294
+ <!-- New Game 2 -->
295
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
296
+ <div class="relative overflow-hidden">
297
+ <img src="http://static.photos/gaming/640x360/6" alt="Tower Defense" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
298
+ <div class="absolute top-2 right-2 bg-green-500 text-white text-xs px-2 py-1 rounded">NEW</div>
299
+ </div>
300
+ <div class="p-4">
301
+ <h3 class="font-bold text-lg mb-2">Tower Defense</h3>
302
+ <div class="flex justify-between items-center">
303
+ <span class="text-sm text-secondary-500 dark:text-secondary-400">Strategy</span>
304
+ <div class="flex items-center">
305
+ <i data-feather="star" class="w-4 h-4 mr-1 text-yellow-500"></i>
306
+ <span class="text-sm">4.5</span>
307
+ </div>
308
+ </div>
309
+ <button class="mt-4 w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
310
+ </div>
311
+ </div>
312
+
313
+ <!-- New Game 3 -->
314
+ <div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
315
+ <div class="relative overflow-hidden">
316
+ <img src="http://static.photos/gaming/640x360/7" alt="Match Three" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
317
+ <div class="absolute top-2 right-2 bg-green-500 text-white text-xs px-2 py-1 rounded">
318
+ </body>
319
+ </html>