File size: 15,249 Bytes
2f90f3e
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a3d6c5c
9989e30
7233388
 
 
 
 
 
 
c88e277
7233388
a136939
7233388
 
 
 
a136939
 
 
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a136939
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a3d6c5c
a136939
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a136939
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a3d6c5c
a078337
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94270cf
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94270cf
7233388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>SurfGO | Discover the Universe</title>
    
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
    <style>
        /* =========================================
           1. VARIABLES & RESET
           ========================================= */
        :root {
            --accent: #3B82F6;
            --accent-light: #60A5FA;
            --shadow-accent: rgba(59, 130, 246, 0.35);
            --bg-gradient: radial-gradient(circle at center, #0e1219 0%, #020304 100%);
            --surface: rgba(255, 255, 255, 0.05);
            --text: #F0EDE6;
            --text-dim: #9CA3AF;
            --glass-border: rgba(255, 255, 255, 0.1);
        }
        *, *::before, *::after { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
        }
        html {
            font-size: 16px;
        }
        body {
            font-family: 'Tajawal', sans-serif;
            background: var(--bg-gradient);
            min-height: 100vh;
            color: var(--text);
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-x: hidden;
            position: relative;
        }
        /* =========================================
           2. SPACE BACKGROUND
           ========================================= */
        .stars-container {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }
        .nebula {
            position: fixed;
            width: min(500px, 80vw);
            height: min(500px, 80vw);
            background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(60px);
            z-index: 0;
            animation: float 20s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes float {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(60px, 30px); }
        }
        /* =========================================
           3. MAIN LAYOUT
           ========================================= */
        .page-wrapper {
            position: relative;
            z-index: 10;
            width: 100%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 100px 20px 80px;
            gap: 0;
        }
        /* =========================================
           4. CLOCK WIDGET
           ========================================= */
        .clock-container {
            position: fixed;
            top: clamp(16px, 4vw, 40px);
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            z-index: 20;
            animation: fadeIn 1s ease;
            white-space: nowrap;
        }
        #time {
            font-size: clamp(1.5rem, 5vw, 3rem);
            font-weight: 700;
            letter-spacing: 2px;
            color: var(--text);
            line-height: 1;
        }
        #date {
            font-size: clamp(0.7rem, 2vw, 1rem);
            color: var(--text-dim);
            margin-top: 4px;
        }
        /* =========================================
           5. LOGO
           ========================================= */
        .logo {
            font-size: clamp(42px, 12vw, 85px);
            font-weight: 800;
            color: var(--accent);
            margin-bottom: clamp(20px, 5vw, 30px);
            text-shadow: 0 10px 20px var(--shadow-accent);
            letter-spacing: -2px;
            animation: fadeIn 1.2s ease;
            text-align: center;
        }
        /* =========================================
           6. SEARCH BAR
           ========================================= */
        .search-container {
            width: 100%;
            max-width: 680px;
            padding: 0 4px;
        }
        .search-form {
            display: flex;
            background: var(--surface);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 100px;
            padding: clamp(4px, 1.5vw, 8px) clamp(8px, 2vw, 12px);
            transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        .search-form:focus-within {
            transform: scale(1.02);
            border-color: var(--accent);
            box-shadow: 0 0 40px var(--shadow-accent);
            background: rgba(255,255,255,0.08);
        }
        .search-form input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: var(--text);
            font-family: 'Tajawal', sans-serif;
            font-size: clamp(0.95rem, 3vw, 1.1rem);
            padding: clamp(8px, 2.5vw, 12px) clamp(10px, 3vw, 20px);
            min-width: 0;
        }
        .search-form input::placeholder {
            color: var(--text-dim);
            opacity: 0.6;
        }
        .search-btn {
            background: none;
            border: none;
            color: var(--accent);
            cursor: pointer;
            padding: 0 clamp(10px, 3vw, 15px);
            font-size: clamp(1rem, 3vw, 1.2rem);
            transition: 0.3s;
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }
        .search-btn:hover { color: var(--accent-light); }
        /* =========================================
           7. QUICK LINKS
           ========================================= */
        .quick-links {
            margin-top: clamp(28px, 6vw, 45px);
            display: flex;
            gap: clamp(12px, 3vw, 20px);
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 1s ease;
            padding: 0 10px;
        }
        .link-item {
            text-decoration: none;
            color: inherit;
            text-align: center;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .link-icon {
            width: clamp(48px, 12vw, 60px);
            height: clamp(48px, 12vw, 60px);
            background: var(--surface);
            border: 1px solid var(--glass-border);
            border-radius: clamp(14px, 4vw, 20px);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(18px, 5vw, 24px);
            transition: all 0.3s ease;
            cursor: pointer;
            overflow: hidden;
        }
        .genisi-logo {
            width: 70%;
            height: 70%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        .fa-youtube   { color: #FF0000; }
        .fa-facebook-f { color: #1877F2; }
        .fa-instagram { color: #E4405F; }
        .fa-x-twitter { color: #FFFFFF; }
        .link-label {
            margin-top: 8px;
            font-size: clamp(0.68rem, 2vw, 0.8rem);
            color: var(--text-dim);
            transition: 0.3s;
        }
        /* Hover — desktop only (no transform on mobile touch) */
        @media (hover: hover) {
            .link-item:hover .link-icon {
                background: var(--accent);
                color: white;
                border-color: transparent;
                box-shadow: 0 15px 30px var(--shadow-accent);
            }
            .link-item:hover .link-label { color: var(--text); }
            .link-item:hover .genisi-logo { transform: scale(1.1); }
        }
        /* Active state for mobile tap feedback */
        .link-item:active .link-icon {
            background: var(--accent);
            color: white;
            border-color: transparent;
            box-shadow: 0 8px 20px var(--shadow-accent);
            transform: scale(0.95);
        }
        /* =========================================
           8. FOOTER
           ========================================= */
        .footer {
            position: fixed;
            bottom: clamp(12px, 3vw, 20px);
            left: 50%;
            transform: translateX(-50%);
            font-size: clamp(0.7rem, 2vw, 0.8rem);
            color: var(--text-dim);
            text-align: center;
            z-index: 10;
            white-space: nowrap;
        }
        /* =========================================
           9. ANIMATIONS
           ========================================= */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        /* =========================================
           10. RESPONSIVE BREAKPOINTS
           ========================================= */
        /* Small phones (≤360px) */
        @media (max-width: 360px) {
            .page-wrapper {
                padding-top: 90px;
                padding-bottom: 70px;
            }
            .quick-links {
                gap: 10px;
            }
        }
        /* Landscape phones */
        @media (max-height: 500px) and (orientation: landscape) {
            .page-wrapper {
                padding-top: 70px;
                padding-bottom: 50px;
                gap: 0;
            }
            .logo {
                font-size: clamp(32px, 8vw, 55px);
                margin-bottom: 14px;
            }
            .clock-container {
                top: 10px;
            }
            #time { font-size: 1.3rem; }
            #date { font-size: 0.65rem; }
            .quick-links {
                margin-top: 18px;
            }
            .link-icon {
                width: 44px;
                height: 44px;
                border-radius: 12px;
            }
        }
        /* Tablets (768px+) */
        @media (min-width: 768px) {
            .page-wrapper {
                padding-top: 120px;
                padding-bottom: 80px;
            }
            .quick-links {
                gap: 18px;
            }
        }
        /* Desktop (1024px+) */
        @media (min-width: 1024px) {
            .page-wrapper {
                justify-content: center;
                min-height: 100vh;
                padding-top: 0;
                padding-bottom: 0;
            }
            .logo { margin-bottom: 30px; }
        }
    </style>
</head>
<body>
    <!-- Background -->
    <div class="stars-container" id="stars"></div>
    <div class="nebula" style="top: 10%; left: 10%;"></div>
    <div class="nebula" style="bottom: 10%; right: 10%; background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);"></div>
    <!-- Clock -->
    <div class="clock-container">
        <div id="time">00:00</div>
        <div id="date">Loading...</div>
    </div>
    <!-- Main Content -->
    <div class="page-wrapper">
        <!-- Logo -->
        <div class="logo">SurfGO</div>
        <!-- Search -->
        <div class="search-container">
            <!-- تم إزالة target="_blank" ليعمل البحث في نفس التبويب -->
            <form action="results.html" method="get" class="search-form">
                <!-- Added aria-label for accessibility -->
                <input type="text" name="q" placeholder="Explore the universe..." autocomplete="off" aria-label="Search Web">
                <button type="submit" class="search-btn" aria-label="Search">
                    <i class="fa-solid fa-magnifying-glass"></i>
                </button>
            </form>
        </div>
        <!-- Quick Links -->
        <div class="quick-links">
            <a href="https://youtube.com" target="_blank" rel="noopener" class="link-item">
                <div class="link-icon"><i class="fa-brands fa-youtube"></i></div>
                <div class="link-label">YouTube</div>
            </a>
            <a href="https://facebook.com" target="_blank" rel="noopener" class="link-item">
                <div class="link-icon"><i class="fa-brands fa-facebook-f"></i></div>
                <div class="link-label">Facebook</div>
            </a>
            <a href="https://instagram.com" target="_blank" rel="noopener" class="link-item">
                <div class="link-icon"><i class="fa-brands fa-instagram"></i></div>
                <div class="link-label">Instagram</div>
            </a>
            <!-- Genisi Link using local image -->
            <a href="https://genisi.web.app/" target="_blank" rel="noopener" class="link-item">
                <div class="link-icon">
                    <img src="Genisi.png" alt="Genisi Logo" width="32" height="32" class="genisi-logo">
                </div>
                <div class="link-label">Genisi</div>
            </a>
            <a href="https://twitter.com" target="_blank" rel="noopener" class="link-item">
                <div class="link-icon"><i class="fa-brands fa-x-twitter"></i></div>
                <div class="link-label">Twitter</div>
            </a>
        </div>
    </div>
    <!-- Footer -->
    <div class="footer">
        Crafted by <strong>AnesNT</strong> · 2026
    </div>
    <script>
        // Clock Function
        function updateClock() {
            const now = new Date();
            const timeStr = now.toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit' });
            const dateStr = now.toLocaleDateString('en-US', { weekday: 'long', month: 'long', day: 'numeric' });
            document.getElementById('time').textContent = timeStr;
            document.getElementById('date').textContent = dateStr;
        }
        setInterval(updateClock, 1000);
        updateClock();
        // Auto-focus Search Input
        document.querySelector('input[name="q"]').focus();
        // Stars Background
        const starsContainer = document.getElementById('stars');
        const starCount = window.innerWidth < 480 ? 80 : 150;
        for (let i = 0; i < starCount; i++) {
            const star = document.createElement('div');
            star.style.cssText = `
                position: absolute;
                left: ${Math.random() * 100}%;
                top: ${Math.random() * 100}%;
                width: ${Math.random() * 2 + 0.5}px;
                height: ${Math.random() * 2 + 0.5}px;
                background: #fff;
                border-radius: 50%;
                opacity: ${Math.random() * 0.8 + 0.1};
            `;
            starsContainer.appendChild(star);
        }
    </script>
</body>
</html>