AnesKAM commited on
Commit
ecfd363
·
verified ·
1 Parent(s): 577965a

Update results.html

Browse files
Files changed (1) hide show
  1. results.html +237 -241
results.html CHANGED
@@ -1,266 +1,262 @@
1
  <!DOCTYPE html>
2
 
3
- <html class="dark" dir="rtl" lang="ar"><head>
4
  <meta charset="utf-8"/>
5
- <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
6
- <title>SurfGO - Modern Search</title>
7
- <script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
8
- <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&amp;display=swap" rel="stylesheet"/>
9
- <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
10
- <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
11
- <script id="tailwind-config">
12
- tailwind.config = {
13
- darkMode: "class",
14
- theme: {
15
- extend: {
16
- "colors": {
17
- "tertiary": "#ffb783",
18
- "surface-container-highest": "#34343d",
19
- "background": "#13131b",
20
- "secondary-fixed": "#ffd9e4",
21
- "outline-variant": "#464554",
22
- "on-tertiary-fixed-variant": "#703700",
23
- "on-primary-fixed": "#07006c",
24
- "secondary-container": "#aa0266",
25
- "primary-fixed": "#e1e0ff",
26
- "on-error": "#690005",
27
- "on-background": "#e4e1ed",
28
- "tertiary-container": "#d97721",
29
- "surface-container": "#1f1f27",
30
- "primary": "#c0c1ff",
31
- "on-tertiary-container": "#452000",
32
- "tertiary-fixed-dim": "#ffb783",
33
- "surface-variant": "#34343d",
34
- "on-surface": "#e4e1ed",
35
- "error": "#ffb4ab",
36
- "tertiary-fixed": "#ffdcc5",
37
- "surface-container-low": "#1b1b23",
38
- "secondary-fixed-dim": "#ffb0cd",
39
- "secondary": "#ffb0cd",
40
- "on-surface-variant": "#c7c4d7",
41
- "error-container": "#93000a",
42
- "surface-bright": "#393841",
43
- "primary-container": "#8083ff",
44
- "on-primary": "#1000a9",
45
- "inverse-on-surface": "#303038",
46
- "on-primary-fixed-variant": "#2f2ebe",
47
- "on-secondary-container": "#ffbad3",
48
- "on-tertiary-fixed": "#301400",
49
- "surface-tint": "#c0c1ff",
50
- "surface-dim": "#13131b",
51
- "outline": "#908fa0",
52
- "surface-container-lowest": "#0d0d15",
53
- "on-tertiary": "#4f2500",
54
- "on-primary-container": "#0d0096",
55
- "on-secondary-fixed-variant": "#8c0053",
56
- "inverse-primary": "#494bd6",
57
- "primary-fixed-dim": "#c0c1ff",
58
- "surface": "#13131b",
59
- "surface-container-high": "#292932",
60
- "on-secondary-fixed": "#3e0022",
61
- "inverse-surface": "#e4e1ed",
62
- "on-error-container": "#ffdad6",
63
- "on-secondary": "#640039"
64
- },
65
- "borderRadius": {
66
- "DEFAULT": "0.25rem",
67
- "lg": "0.5rem",
68
- "xl": "0.75rem",
69
- "full": "9999px"
70
- },
71
- "spacing": {
72
- "margin-desktop": "40px",
73
- "gutter": "24px",
74
- "base": "8px",
75
- "margin-mobile": "16px",
76
- "container-max": "1280px"
77
- },
78
- "fontFamily": {
79
- "headline-lg": ["Plus Jakarta Sans"],
80
- "display-xl": ["Plus Jakarta Sans"],
81
- "label-sm": ["Plus Jakarta Sans"],
82
- "body-md": ["Plus Jakarta Sans"]
83
- },
84
- "fontSize": {
85
- "headline-lg": ["32px", {"lineHeight": "1.2", "fontWeight": "700"}],
86
- "display-xl": ["48px", {"lineHeight": "1.1", "letterSpacing": "-0.02em", "fontWeight": "800"}],
87
- "label-sm": ["13px", {"lineHeight": "1", "letterSpacing": "0.05em", "fontWeight": "600"}],
88
- "body-md": ["16px", {"lineHeight": "1.6", "fontWeight": "400"}]
89
- }
90
- }
91
- }
92
- }
93
- </script>
94
  <style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  body {
96
- background-color: #05050a;
97
- position: relative;
 
 
98
  overflow-x: hidden;
99
  }
100
-
101
- /* Deep Space Glowing Orbs */
102
- body::before {
103
- content: '';
104
- position: fixed;
105
- top: -20%;
106
- left: -10%;
107
- width: 50vw;
108
- height: 50vw;
109
- background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(99,102,241,0) 70%);
110
- border-radius: 50%;
111
- z-index: -1;
112
- pointer-events: none;
113
  }
114
-
115
- body::after {
116
- content: '';
117
- position: fixed;
118
- bottom: -20%;
119
- right: -10%;
120
- width: 40vw;
121
- height: 40vw;
122
- background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, rgba(236,72,153,0) 70%);
123
- border-radius: 50%;
124
- z-index: -1;
125
- pointer-events: none;
126
  }
127
-
128
- /* Glassmorphism Utilities */
129
- .glass-panel {
130
- background: rgba(19, 19, 27, 0.4);
131
- backdrop-filter: blur(24px);
132
- -webkit-backdrop-filter: blur(24px);
133
- border: 1px solid rgba(255, 255, 255, 0.1);
134
  }
135
-
136
- .search-glow:focus-within {
137
- box-shadow: 0 0 30px rgba(192, 193, 255, 0.2), inset 0 0 20px rgba(192, 193, 255, 0.1);
138
- border-image: linear-gradient(to right, #c0c1ff, #ffb0cd) 1;
139
- border-image-slice: 1;
140
- border-radius: 0; /* Reset border radius when using border-image */
 
 
 
 
 
 
141
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  </style>
143
  </head>
144
- <body class="text-on-background min-h-screen flex antialiased selection:bg-primary-container selection:text-on-primary-container">
145
- <!-- SideNavBar Component -->
146
- <nav class="hidden md:flex flex-col h-screen left-0 border-l w-64 bg-slate-950/40 backdrop-blur-2xl border-white/10 shrink-0 py-8 z-20">
147
- <div class="px-6 mb-10">
148
- <h2 class="text-indigo-400 font-['Plus_Jakarta_Sans'] text-xs font-semibold uppercase tracking-widest mb-1">ACTIVE ENGINES</h2>
149
- <p class="text-slate-500 font-label-sm text-label-sm">4 sources connected</p>
150
- </div>
151
- <ul class="flex flex-col gap-1 flex-grow">
152
- <li>
153
- <a class="bg-indigo-500/10 text-indigo-400 border-r-4 border-indigo-500 py-3 px-4 flex items-center gap-4 transition-colors duration-200" href="#">
154
- <span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 0;">search</span>
155
- <span class="font-label-sm text-label-sm flex-grow">Google</span>
156
- <span class="w-2 h-2 rounded-full bg-primary animate-pulse"></span>
157
- </a>
158
- </li>
159
- <li>
160
- <a class="text-slate-500 py-3 px-4 flex items-center gap-4 hover:bg-white/5 hover:text-slate-200 transition-colors duration-200" href="#">
161
- <span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 0;">shield</span>
162
- <span class="font-label-sm text-label-sm flex-grow">DuckDuckGo</span>
163
- <span class="w-2 h-2 rounded-full bg-surface-variant"></span>
164
- </a>
165
- </li>
166
- <li>
167
- <a class="text-slate-500 py-3 px-4 flex items-center gap-4 hover:bg-white/5 hover:text-slate-200 transition-colors duration-200" href="#">
168
- <span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 0;">bolt</span>
169
- <span class="font-label-sm text-label-sm flex-grow">Brave</span>
170
- <span class="w-2 h-2 rounded-full bg-surface-variant"></span>
171
- </a>
172
- </li>
173
- <li>
174
- <a class="text-slate-500 py-3 px-4 flex items-center gap-4 hover:bg-white/5 hover:text-slate-200 transition-colors duration-200" href="#">
175
- <span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 0;">language</span>
176
- <span class="font-label-sm text-label-sm flex-grow">Bing</span>
177
- <span class="w-2 h-2 rounded-full bg-surface-variant"></span>
178
- </a>
179
- </li>
180
- </ul>
181
- <div class="mt-auto px-4 border-t border-white/10 pt-6">
182
- <ul class="flex flex-col gap-1">
183
- <li>
184
- <a class="text-slate-500 py-3 px-4 flex items-center gap-4 hover:bg-white/5 hover:text-slate-200 transition-colors duration-200" href="#">
185
- <span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 0;">tune</span>
186
- <span class="font-label-sm text-label-sm">Settings</span>
187
  </a>
188
- </li>
189
- <li>
190
- <a class="text-slate-500 py-3 px-4 flex items-center gap-4 hover:bg-white/5 hover:text-slate-200 transition-colors duration-200" href="#">
191
- <span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 0;">policy</span>
192
- <span class="font-label-sm text-label-sm">Privacy</span>
193
- </a>
194
- </li>
195
- </ul>
196
- </div>
197
- </nav>
198
- <!-- Main Content Area -->
199
- <main class="flex-grow flex flex-col relative w-full h-screen overflow-hidden">
200
- <!-- TopNavBar Component -->
201
- <header class="flex justify-between items-center w-full px-6 py-3 bg-slate-950/50 backdrop-blur-3xl border-b border-white/10 shadow-[0_0_20px_rgba(99,102,241,0.1)] z-10 docked full-width top-0">
202
- <!-- Brand Logo -->
203
- <div class="flex items-center gap-2">
204
- <span class="text-2xl font-black tracking-tighter text-indigo-500 font-['Plus_Jakarta_Sans']">NEBULA</span>
205
  </div>
206
- <!-- Navigation Links -->
207
- <nav class="hidden md:flex gap-8">
208
- <a class="font-['Plus_Jakarta_Sans'] text-sm tracking-wide text-indigo-400 border-b-2 border-indigo-500 pb-1 duration-300 ease-in-out" href="#">Web</a>
209
- <a class="font-['Plus_Jakarta_Sans'] text-sm tracking-wide text-slate-400 hover:text-white hover:bg-white/5 transition-all duration-300 ease-in-out px-2 rounded-lg py-1" href="#">Images</a>
210
- <a class="font-['Plus_Jakarta_Sans'] text-sm tracking-wide text-slate-400 hover:text-white hover:bg-white/5 transition-all duration-300 ease-in-out px-2 rounded-lg py-1" href="#">Videos</a>
211
- <a class="font-['Plus_Jakarta_Sans'] text-sm tracking-wide text-slate-400 hover:text-white hover:bg-white/5 transition-all duration-300 ease-in-out px-2 rounded-lg py-1" href="#">News</a>
212
  </nav>
213
- <!-- Trailing Icons -->
214
- <div class="flex items-center gap-4">
215
- <button class="text-slate-400 hover:text-white hover:bg-white/5 transition-all p-2 rounded-full duration-300 ease-in-out flex items-center justify-center">
216
- <span class="material-symbols-outlined">settings</span>
217
- </button>
218
- <button class="text-slate-400 hover:text-white hover:bg-white/5 transition-all p-2 rounded-full duration-300 ease-in-out flex items-center justify-center">
219
- <span class="material-symbols-outlined">account_circle</span>
220
- </button>
221
  </div>
222
- </header>
223
- <!-- Central Search Area -->
224
- <div class="flex-grow flex flex-col items-center justify-center px-4 md:px-0 relative z-0">
225
- <div class="w-full max-w-2xl flex flex-col items-center gap-10">
226
- <!-- SurfGO Logo -->
227
- <div class="text-center">
228
- <h1 class="font-display-xl text-display-xl text-primary bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">
229
- SurfGO
230
- </h1>
231
- <p class="font-body-md text-body-md text-on-surface-variant mt-2">البحث الحديث</p>
 
 
 
 
 
 
232
  </div>
233
- <!-- Glassmorphism Search Bar -->
234
- <div class="w-full relative group">
235
- <div class="absolute inset-0 bg-primary/20 rounded-full blur-xl group-hover:bg-primary/30 transition-all duration-500 pointer-events-none"></div>
236
- <div class="glass-panel search-glow rounded-full flex items-center px-6 py-4 relative transition-all duration-300 w-full bg-surface-container/60">
237
- <button class="text-on-surface-variant hover:text-primary transition-colors pl-4">
238
- <span class="material-symbols-outlined text-2xl">search</span>
239
- </button>
240
- <input class="flex-grow bg-transparent border-none outline-none text-on-surface font-body-md text-body-md placeholder-on-surface-variant/50 pr-4 text-right rtl" dir="rtl" placeholder="ابحث في الفضاء الرقمي..." type="text"/>
241
- <div class="flex items-center gap-3 border-r border-outline-variant pr-4">
242
- <button class="text-on-surface-variant hover:text-secondary transition-colors" title="البحث الصوتي">
243
- <span class="material-symbols-outlined">mic</span>
244
- </button>
245
- <button class="text-on-surface-variant hover:text-primary transition-colors" title="البحث بالصور">
246
- <span class="material-symbols-outlined">image</span>
247
- </button>
248
  </div>
 
 
 
 
 
 
249
  </div>
 
 
 
 
 
 
250
  </div>
251
- <!-- Quick Action Chips -->
252
- <div class="flex flex-wrap justify-center gap-3 mt-4">
253
- <button class="glass-panel px-6 py-2 rounded-full font-label-sm text-label-sm text-on-surface hover:bg-primary/10 hover:border-primary/30 transition-all duration-300">
254
- الذكاء الاصطناعي
255
- </button>
256
- <button class="glass-panel px-6 py-2 rounded-full font-label-sm text-label-sm text-on-surface hover:bg-primary/10 hover:border-primary/30 transition-all duration-300">
257
- الأخبار العاجلة
258
- </button>
259
- <button class="glass-panel px-6 py-2 rounded-full font-label-sm text-label-sm text-on-surface hover:bg-primary/10 hover:border-primary/30 transition-all duration-300">
260
- الطقس المحلي
261
- </button>
262
  </div>
 
263
  </div>
 
264
  </div>
265
- </main>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  </body></html>
 
1
  <!DOCTYPE html>
2
 
3
+ <html data-theme="light" dir="rtl" lang="ar"><head>
4
  <meta charset="utf-8"/>
5
+ <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0" name="viewport"/>
6
+ <title>SurfGO | نتائج البحث</title>
7
+ <link href="https://fonts.googleapis.com" rel="preconnect"/>
8
+ <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&amp;family=Tajawal:wght@300;400;500;700&amp;display=swap" rel="stylesheet"/>
9
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" rel="stylesheet"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  <style>
11
+ /* =========================================
12
+ 1. نظام الألوان المتطور (SurfGO Theme)
13
+ ========================================= */
14
+ :root {
15
+ --bg-base: #f8fafc;
16
+ --bg-nav: rgba(255, 255, 255, 0.85);
17
+ --bg-card: #ffffff;
18
+ --border: #e2e8f0;
19
+ --accent: #6366f1;
20
+ --accent-2: #ec4899;
21
+ --text-main: #0f172a;
22
+ --text-sub: #64748b;
23
+ --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
24
+ }
25
+ * { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
26
  body {
27
+ font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
28
+ background: var(--bg-base);
29
+ color: var(--text-main);
30
+ min-height: 100vh;
31
  overflow-x: hidden;
32
  }
33
+ .orb {
34
+ position: fixed; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none; opacity: 0.15;
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
+ .orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent); }
37
+ .orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--accent-2); }
38
+ .navbar {
39
+ position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
40
+ width: 95%; max-width: 1300px; height: 72px;
41
+ background: var(--bg-nav); backdrop-filter: blur(24px);
42
+ border: 1px solid var(--border); border-radius: 20px;
43
+ display: flex; align-items: center; justify-content: space-between;
44
+ padding: 0 20px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
 
 
 
45
  }
46
+ .brand { font-weight: 700; font-size: 22px; text-decoration: none; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
47
+ .brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; }
48
+ .search-container { flex: 1; max-width: 600px; margin: 0 24px; }
49
+ .search-bar {
50
+ display: flex; align-items: center; background: #f1f5f9;
51
+ border: 1px solid var(--border); border-radius: 100px; padding: 4px; transition: var(--transition);
 
52
  }
53
+ .search-bar:focus-within { border-color: var(--accent); background: #ffffff; box-shadow: 0 0 15px rgba(99,102,241,0.1); }
54
+ .search-bar input { flex: 1; background: transparent; border: none; padding: 10px 18px; color: var(--text-main); font-size: 15px; }
55
+ .search-bar input::placeholder { color: var(--text-sub); }
56
+ .tabs-bar {
57
+ position: fixed; top: 105px; left: 50%; transform: translateX(-50%);
58
+ width: 95%; max-width: 1300px; display: flex; gap: 8px; z-index: 999;
59
+ }
60
+ .tab-pill {
61
+ padding: 8px 20px; border-radius: 100px; background: var(--bg-card);
62
+ border: 1px solid var(--border); color: var(--text-sub); font-size: 13px;
63
+ cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 8px;
64
+ box-shadow: 0 2px 10px rgba(0,0,0,0.02);
65
  }
66
+ .tab-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
67
+ .page-wrapper { max-width: 1300px; margin: 180px auto 50px; padding: 0 16px; display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
68
+ .results-area { min-width: 0; }
69
+ /* =========================================
70
+ 2. إخفاء آثار GOOGLE CSE بشكل جذري
71
+ ========================================= */
72
+ .gsc-control-cse { background: transparent !important; border: none !important; padding: 0 !important; }
73
+
74
+ .gsc-result {
75
+ background: var(--bg-card) !important; border: 1px solid var(--border) !important;
76
+ border-radius: 16px !important; padding: 22px !important; margin-bottom: 15px !important;
77
+ transition: var(--transition) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.02) !important;
78
+ }
79
+ .gsc-result:hover { border-color: var(--accent) !important; transform: translateX(-5px) !important; background: #f8fafc !important; box-shadow: 0 8px 30px rgba(99,102,241,0.08) !important; }
80
+ .gs-title, .gs-title * { color: var(--accent) !important; text-decoration: none !important; font-size: 18px !important; }
81
+ .gs-snippet { color: var(--text-sub) !important; line-height: 1.6 !important; }
82
+
83
+ /* الخيار النووي: إخفاء كل ما يمت لجوجل بصلة بما في ذلك تابات (الكل / صور) */
84
+ .gsc-adBlock,
85
+ .gsc-branding,
86
+ .gsc-search-box,
87
+ .gcsc-branding,
88
+ .gsc-branding-text,
89
+ .gsc-branding-img,
90
+ .gsc-branding-img-noclear,
91
+ .gs-watermark,
92
+ .gsc-results-branding,
93
+ .gcsc-find-more-on-google,
94
+ .gcsc-find-more-on-google-root,
95
+ .gsc-result-info,
96
+ .gsc-orderby,
97
+ .gsc-selected-option-container,
98
+ .gsc-thumbnail-inside,
99
+ .gsc-tabsArea, /* يخفي شريط تبويبات جوجل (الكل / صور) */
100
+ .gsc-tabsAreaInvisible, /* يخفي المساحة الفارغة للتبويبات */
101
+ .gsc-refinementHeader, /* يخفي أدوات التصفية المتقدمة */
102
+ .gsc-refinementBlock {
103
+ display: none !important;
104
+ visibility: hidden !important;
105
+ opacity: 0 !important;
106
+ height: 0 !important;
107
+ width: 0 !important;
108
+ margin: 0 !important;
109
+ padding: 0 !important;
110
+ pointer-events: none !important;
111
+ }
112
+ .gsc-above-wrapper-area { border: none !important; padding: 0 !important; margin: 0 !important; height: 0 !important; }
113
+ .widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 25px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
114
+ .ai-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-base); border: 2px solid var(--accent); padding: 5px; margin-bottom: 15px; }
115
+ .btn-ai { display: block; margin-top: 15px; padding: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; }
116
+ @media (max-width: 1000px) { .page-wrapper { grid-template-columns: 1fr; } .sidebar { display: none; } }
117
  </style>
118
  </head>
119
+ <body>
120
+ <div class="orb orb-1"></div>
121
+ <div class="orb orb-2"></div>
122
+ <nav class="navbar">
123
+ <a class="brand" href="index.html">
124
+ <div class="brand-icon"><i class="fa-solid fa-bolt"></i></div>
125
+ <span>SurfGO</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  </a>
127
+ <div class="search-container">
128
+ <form class="search-bar" id="search-form">
129
+ <input id="main-input" placeholder="ابحث في الويب..." type="text"/>
130
+ <button style="background:none; border:none; color:var(--accent); cursor:pointer; padding:0 15px;" type="submit">
131
+ <i class="fa-solid fa-search"></i>
132
+ </button>
133
+ </form>
 
 
 
 
 
 
 
 
 
 
134
  </div>
135
+ <div style="width: 40px;"></div>
 
 
 
 
 
136
  </nav>
137
+ <div class="tabs-bar">
138
+ <button class="tab-pill active" data-tab="all"><i class="fa-solid fa-globe"></i> الويب</button>
139
+ <button class="tab-pill" data-tab="news"><i class="fa-solid fa-newspaper"></i> أخبار</button>
140
+ <button class="tab-pill" data-tab="images"><i class="fa-solid fa-image"></i> صور</button>
141
+ <button class="tab-pill" data-tab="videos"><i class="fa-solid fa-play"></i> فيديو</button>
 
 
 
142
  </div>
143
+ <div class="page-wrapper">
144
+ <main class="results-area">
145
+ <div id="loading-text" style="color:var(--text-sub); margin-bottom:20px;">جاري استدعاء البيانات من SurfGO...</div>
146
+ <div id="results-container"></div>
147
+ </main>
148
+ <aside class="sidebar">
149
+ <div class="widget">
150
+ <div class="brand-icon" style="margin: 0 auto 15px auto;"><i class="fa-solid fa-server"></i></div>
151
+ <h3 style="font-size: 16px; margin-bottom: 15px;">المحركات النشطة</h3>
152
+ <div style="display: flex; flex-direction: column; gap: 10px; text-align: right;">
153
+ <div style="display: flex; align-items: center; justify-content: space-between; background: var(--bg-base); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);">
154
+ <span style="font-size: 13px;">SurfGO Index</span>
155
+ <div style="display: flex; align-items: center; gap: 5px; color: #10b981; font-size: 11px;">
156
+ <span style="width: 6px; height: 6px; background: #10b981; border-radius: 50%;"></span>
157
+ نشط
158
+ </div>
159
  </div>
160
+ <div style="display: flex; align-items: center; justify-content: space-between; background: var(--bg-base); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);">
161
+ <span style="font-size: 13px;">الأخبار العالمية</span>
162
+ <div style="display: flex; align-items: center; gap: 5px; color: #10b981; font-size: 11px;">
163
+ <span style="width: 6px; height: 6px; background: #10b981; border-radius: 50%;"></span>
164
+ نشط
165
+ </div>
 
 
 
 
 
 
 
 
 
166
  </div>
167
+ <div style="display: flex; align-items: center; justify-content: space-between; background: var(--bg-base); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);">
168
+ <span style="font-size: 13px;">الوسائط المرئية</span>
169
+ <div style="display: flex; align-items: center; gap: 5px; color: #10b981; font-size: 11px;">
170
+ <span style="width: 6px; height: 6px; background: #10b981; border-radius: 50%;"></span>
171
+ نشط
172
+ </div>
173
  </div>
174
+ <div style="display: flex; align-items: center; justify-content: space-between; background: var(--bg-base); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);">
175
+ <span style="font-size: 13px;">خدمة الفيديو</span>
176
+ <div style="display: flex; align-items: center; gap: 5px; color: #10b981; font-size: 11px;">
177
+ <span style="width: 6px; height: 6px; background: #10b981; border-radius: 50%;"></span>
178
+ نشط
179
+ </div>
180
  </div>
 
 
 
 
 
 
 
 
 
 
 
181
  </div>
182
+ <p style="font-size: 11px; color: var(--text-sub); margin-top: 15px;">مدعوم بواسطة AnesNT Core</p>
183
  </div>
184
+ </aside>
185
  </div>
186
+ <script>
187
+ const ENGINES = {
188
+ all: '75aa960081baa4f0c',
189
+ news: '35b0f5b6012e94f78',
190
+ images: '23c7fd94975714dd8',
191
+ videos: 'b11f5dceb04784b9f'
192
+ };
193
+ const params = new URLSearchParams(window.location.search);
194
+ let query = params.get('q');
195
+ let currentTab = params.get('tab') || 'all';
196
+ const inputField = document.getElementById('main-input');
197
+ const resultsContainer = document.getElementById('results-container');
198
+ const loadingText = document.getElementById('loading-text');
199
+
200
+ // Initial set active tab based on URL
201
+ document.querySelectorAll('.tab-pill').forEach(btn => {
202
+ btn.classList.toggle('active', btn.dataset.tab === currentTab);
203
+ });
204
+
205
+ if (query) {
206
+ inputField.value = query;
207
+ document.title = `${query} - SurfGO`;
208
+ loadSurfEngine(currentTab);
209
+ } else {
210
+ loadingText.textContent = "يرجى إدخال كلمة بحث للبدء.";
211
+ }
212
+ function loadSurfEngine(tab) {
213
+ const cx = ENGINES[tab];
214
+ resultsContainer.innerHTML = '';
215
+ loadingText.style.display = 'block';
216
+ document.querySelectorAll('.tab-pill').forEach(btn => {
217
+ btn.classList.toggle('active', btn.dataset.tab === tab);
218
+ });
219
+ const oldScript = document.getElementById('cse-logic');
220
+ if (oldScript) oldScript.remove();
221
+ const script = document.createElement('script');
222
+ script.id = 'cse-logic';
223
+ script.src = `https://cse.google.com/cse.js?cx=${cx}`;
224
+ script.async = true;
225
+ script.onload = () => {
226
+ const gcseDiv = document.createElement('div');
227
+ gcseDiv.className = 'gcse-searchresults-only';
228
+ gcseDiv.setAttribute('data-query', query);
229
+ resultsContainer.appendChild(gcseDiv);
230
+
231
+ setTimeout(() => { loadingText.style.display = 'none'; }, 1000);
232
+ };
233
+ document.head.appendChild(script);
234
+ }
235
+ document.querySelectorAll('.tab-pill').forEach(btn => {
236
+ btn.addEventListener('click', () => {
237
+ currentTab = btn.dataset.tab;
238
+ const newUrl = `${window.location.pathname}?q=${encodeURIComponent(query || '')}&tab=${currentTab}`;
239
+ window.history.pushState({ path: newUrl }, '', newUrl);
240
+ if(query) loadSurfEngine(currentTab);
241
+ else {
242
+ document.querySelectorAll('.tab-pill').forEach(b => b.classList.toggle('active', b.dataset.tab === currentTab));
243
+ }
244
+ });
245
+ });
246
+ document.getElementById('search-form').addEventListener('submit', (e) => {
247
+ e.preventDefault();
248
+ query = inputField.value;
249
+ if (query) {
250
+ const newUrl = `${window.location.pathname}?q=${encodeURIComponent(query)}&tab=${currentTab}`;
251
+ window.history.pushState({ path: newUrl }, '', newUrl);
252
+ loadSurfEngine(currentTab);
253
+ }
254
+ });
255
+
256
+ // مراقب إضافي للتأكد من حذف أي كلاسات تظهر متأخرة
257
+ const observer = new MutationObserver((mutations) => {
258
+ document.querySelectorAll('.gsc-adBlock, .gcsc-branding, .gsc-result-info, .gsc-tabsArea, .gsc-refinementHeader').forEach(el => el.remove());
259
+ });
260
+ observer.observe(document.body, { childList: true, subtree: true });
261
+ </script>
262
  </body></html>