Update index.html
Browse files- index.html +560 -354
index.html
CHANGED
|
@@ -1,462 +1,668 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
| 6 |
-
<title>SurfGO |
|
| 7 |
-
|
| 8 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
-
<link href="https://fonts.googleapis.com/css2?family=
|
| 10 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
|
| 11 |
|
| 12 |
<style>
|
| 13 |
/* =========================================
|
| 14 |
-
1.
|
| 15 |
========================================= */
|
| 16 |
:root {
|
| 17 |
-
--
|
| 18 |
-
--
|
| 19 |
-
--
|
| 20 |
-
--
|
| 21 |
-
|
| 22 |
-
--
|
| 23 |
-
--
|
| 24 |
-
--
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
font-
|
|
|
|
| 35 |
}
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
body {
|
| 38 |
-
font-family:
|
| 39 |
-
background: var(--bg-
|
|
|
|
| 40 |
min-height: 100vh;
|
| 41 |
-
color: var(--text);
|
| 42 |
-
display: flex;
|
| 43 |
-
flex-direction: column;
|
| 44 |
-
align-items: center;
|
| 45 |
overflow-x: hidden;
|
| 46 |
position: relative;
|
| 47 |
}
|
| 48 |
|
| 49 |
-
/*
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
.stars-container {
|
| 53 |
position: fixed;
|
| 54 |
-
inset: 0;
|
| 55 |
-
pointer-events: none;
|
| 56 |
-
z-index: 0;
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
.nebula {
|
| 60 |
-
position: fixed;
|
| 61 |
-
width: min(500px, 80vw);
|
| 62 |
-
height: min(500px, 80vw);
|
| 63 |
-
background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
|
| 64 |
border-radius: 50%;
|
| 65 |
-
filter: blur(
|
| 66 |
-
z-index:
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
}
|
| 70 |
|
| 71 |
-
@keyframes
|
| 72 |
-
0%
|
| 73 |
-
|
| 74 |
}
|
| 75 |
|
| 76 |
-
/*
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
align-items: center;
|
| 87 |
-
padding: 100px 20px 80px;
|
| 88 |
-
gap: 0;
|
| 89 |
}
|
| 90 |
|
| 91 |
/* =========================================
|
| 92 |
-
|
| 93 |
========================================= */
|
| 94 |
-
.
|
| 95 |
position: fixed;
|
| 96 |
-
top:
|
| 97 |
left: 50%;
|
| 98 |
transform: translateX(-50%);
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
-
|
| 106 |
-
font-size: clamp(1.5rem, 5vw, 3rem);
|
| 107 |
font-weight: 700;
|
| 108 |
-
|
| 109 |
-
color: var(--text);
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
}
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
margin-top: 4px;
|
| 117 |
}
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
font-size:
|
| 124 |
-
font-weight: 800;
|
| 125 |
-
color: var(--accent);
|
| 126 |
-
margin-bottom: clamp(20px, 5vw, 30px);
|
| 127 |
-
text-shadow: 0 10px 20px var(--shadow-accent);
|
| 128 |
-
letter-spacing: -2px;
|
| 129 |
-
animation: fadeIn 1.2s ease;
|
| 130 |
-
text-align: center;
|
| 131 |
}
|
| 132 |
|
| 133 |
-
/*
|
| 134 |
-
6. SEARCH BAR
|
| 135 |
-
========================================= */
|
| 136 |
.search-container {
|
| 137 |
-
|
| 138 |
-
max-width:
|
| 139 |
-
|
|
|
|
| 140 |
}
|
| 141 |
-
|
| 142 |
-
|
| 143 |
display: flex;
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
-webkit-backdrop-filter: blur(20px);
|
| 147 |
border: 1px solid var(--glass-border);
|
| 148 |
border-radius: 100px;
|
| 149 |
-
padding:
|
| 150 |
-
transition: 0.
|
| 151 |
-
box-shadow: 0 20px 40px rgba(0,0,0,0.3);
|
| 152 |
}
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
box-shadow: 0 0 40px var(--shadow-accent);
|
| 158 |
-
background: rgba(255,255,255,0.08);
|
| 159 |
}
|
| 160 |
-
|
| 161 |
-
.search-form input {
|
| 162 |
flex: 1;
|
| 163 |
background: transparent;
|
| 164 |
border: none;
|
| 165 |
-
|
| 166 |
-
color: var(--text);
|
| 167 |
-
font-
|
| 168 |
-
font-
|
| 169 |
-
|
| 170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
}
|
| 172 |
|
| 173 |
-
.
|
| 174 |
-
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
}
|
| 177 |
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
cursor: pointer;
|
| 183 |
-
padding: 0 clamp(10px, 3vw, 15px);
|
| 184 |
-
font-size: clamp(1rem, 3vw, 1.2rem);
|
| 185 |
-
transition: 0.3s;
|
| 186 |
-
flex-shrink: 0;
|
| 187 |
display: flex;
|
| 188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
}
|
|
|
|
| 190 |
|
| 191 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
|
| 193 |
/* =========================================
|
| 194 |
-
|
| 195 |
========================================= */
|
| 196 |
-
.
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
padding: 0 10px;
|
| 204 |
}
|
| 205 |
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
color: inherit;
|
| 209 |
-
text-align: center;
|
| 210 |
-
transition: 0.3s;
|
| 211 |
display: flex;
|
| 212 |
flex-direction: column;
|
| 213 |
-
|
| 214 |
}
|
| 215 |
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
height: clamp(48px, 12vw, 60px);
|
| 219 |
-
background: var(--surface);
|
| 220 |
-
border: 1px solid var(--glass-border);
|
| 221 |
-
border-radius: clamp(14px, 4vw, 20px);
|
| 222 |
display: flex;
|
| 223 |
align-items: center;
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
cursor: pointer;
|
| 228 |
-
overflow: hidden;
|
| 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 |
-
background:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
color: white;
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
}
|
| 270 |
|
| 271 |
-
/*
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
transform: translateX(-50%);
|
| 279 |
-
font-size: clamp(0.7rem, 2vw, 0.8rem);
|
| 280 |
-
color: var(--text-dim);
|
| 281 |
text-align: center;
|
| 282 |
-
z-index: 10;
|
| 283 |
-
white-space: nowrap;
|
| 284 |
}
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
@keyframes fadeIn {
|
| 290 |
-
from { opacity: 0; transform: translateY(-20px); }
|
| 291 |
-
to { opacity: 1; transform: translateY(0); }
|
| 292 |
}
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
to { opacity: 1; transform: translateY(0); }
|
| 297 |
}
|
| 298 |
|
| 299 |
/* =========================================
|
| 300 |
-
|
| 301 |
========================================= */
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
.
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
}
|
| 309 |
-
.quick-links {
|
| 310 |
-
gap: 10px;
|
| 311 |
-
}
|
| 312 |
-
}
|
| 313 |
-
|
| 314 |
-
/* Landscape phones */
|
| 315 |
-
@media (max-height: 500px) and (orientation: landscape) {
|
| 316 |
-
.page-wrapper {
|
| 317 |
-
padding-top: 70px;
|
| 318 |
-
padding-bottom: 50px;
|
| 319 |
-
gap: 0;
|
| 320 |
-
}
|
| 321 |
-
.logo {
|
| 322 |
-
font-size: clamp(32px, 8vw, 55px);
|
| 323 |
-
margin-bottom: 14px;
|
| 324 |
-
}
|
| 325 |
-
.clock-container {
|
| 326 |
-
top: 10px;
|
| 327 |
-
}
|
| 328 |
-
#time { font-size: 1.3rem; }
|
| 329 |
-
#date { font-size: 0.65rem; }
|
| 330 |
-
.quick-links {
|
| 331 |
-
margin-top: 18px;
|
| 332 |
-
}
|
| 333 |
-
.link-icon {
|
| 334 |
-
width: 44px;
|
| 335 |
-
height: 44px;
|
| 336 |
-
border-radius: 12px;
|
| 337 |
-
}
|
| 338 |
-
}
|
| 339 |
-
|
| 340 |
-
/* Tablets (768px+) */
|
| 341 |
-
@media (min-width: 768px) {
|
| 342 |
-
.page-wrapper {
|
| 343 |
-
padding-top: 120px;
|
| 344 |
-
padding-bottom: 80px;
|
| 345 |
-
}
|
| 346 |
-
.quick-links {
|
| 347 |
-
gap: 18px;
|
| 348 |
-
}
|
| 349 |
-
}
|
| 350 |
-
|
| 351 |
-
/* Desktop (1024px+) */
|
| 352 |
-
@media (min-width: 1024px) {
|
| 353 |
-
.page-wrapper {
|
| 354 |
-
justify-content: center;
|
| 355 |
-
min-height: 100vh;
|
| 356 |
-
padding-top: 0;
|
| 357 |
-
padding-bottom: 0;
|
| 358 |
-
}
|
| 359 |
-
.logo { margin-bottom: 30px; }
|
| 360 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 361 |
</style>
|
| 362 |
</head>
|
| 363 |
<body>
|
| 364 |
|
| 365 |
-
<
|
| 366 |
-
<div class="stars-container" id="stars"></div>
|
| 367 |
-
<div class="nebula" style="top: 10%; left: 10%;"></div>
|
| 368 |
-
<div class="nebula" style="bottom: 10%; right: 10%; background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);"></div>
|
| 369 |
-
|
| 370 |
-
<!-- Clock -->
|
| 371 |
-
<div class="clock-container">
|
| 372 |
-
<div id="time">00:00</div>
|
| 373 |
-
<div id="date">Loading...</div>
|
| 374 |
-
</div>
|
| 375 |
-
|
| 376 |
-
<!-- Main Content -->
|
| 377 |
-
<div class="page-wrapper">
|
| 378 |
|
| 379 |
-
|
| 380 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 381 |
|
| 382 |
-
<!-- Search -->
|
| 383 |
<div class="search-container">
|
| 384 |
-
<
|
| 385 |
-
|
| 386 |
-
<
|
| 387 |
-
<
|
| 388 |
-
|
| 389 |
-
<i class="fa-solid fa-magnifying-glass"></i>
|
| 390 |
</button>
|
| 391 |
</form>
|
| 392 |
</div>
|
| 393 |
|
| 394 |
-
<
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
<
|
| 398 |
-
<
|
| 399 |
-
|
| 400 |
-
<
|
| 401 |
-
<div class="link-icon"><i class="fa-brands fa-facebook-f"></i></div>
|
| 402 |
-
<div class="link-label">Facebook</div>
|
| 403 |
-
</a>
|
| 404 |
-
<a href="https://instagram.com" target="_blank" rel="noopener" class="link-item">
|
| 405 |
-
<div class="link-icon"><i class="fa-brands fa-instagram"></i></div>
|
| 406 |
-
<div class="link-label">Instagram</div>
|
| 407 |
-
</a>
|
| 408 |
-
<!-- Genisi Link using local image -->
|
| 409 |
-
<a href="https://genisi.web.app/" target="_blank" rel="noopener" class="link-item">
|
| 410 |
-
<div class="link-icon">
|
| 411 |
-
<img src="Genisi.png" alt="Genisi Logo" width="32" height="32" class="genisi-logo">
|
| 412 |
-
</div>
|
| 413 |
-
<div class="link-label">Genisi</div>
|
| 414 |
-
</a>
|
| 415 |
-
<a href="https://twitter.com" target="_blank" rel="noopener" class="link-item">
|
| 416 |
-
<div class="link-icon"><i class="fa-brands fa-x-twitter"></i></div>
|
| 417 |
-
<div class="link-label">Twitter</div>
|
| 418 |
-
</a>
|
| 419 |
</div>
|
|
|
|
| 420 |
|
| 421 |
-
<
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 426 |
</div>
|
| 427 |
|
| 428 |
<script>
|
| 429 |
-
//
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
const
|
| 445 |
-
const
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 457 |
`;
|
| 458 |
-
|
|
|
|
| 459 |
}
|
|
|
|
| 460 |
</script>
|
| 461 |
</body>
|
| 462 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="ar" dir="rtl">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
| 6 |
+
<title>SurfGO | Search Results</title>
|
| 7 |
+
|
| 8 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Tajawal:wght@300;500;700&display=swap" rel="stylesheet">
|
| 10 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
|
| 11 |
|
| 12 |
<style>
|
| 13 |
/* =========================================
|
| 14 |
+
1. DESIGN TOKENS (Aurora Theme)
|
| 15 |
========================================= */
|
| 16 |
:root {
|
| 17 |
+
--bg-deep: #0B0F19;
|
| 18 |
+
--glass-surface: rgba(255, 255, 255, 0.03);
|
| 19 |
+
--glass-border: rgba(255, 255, 255, 0.05);
|
| 20 |
+
--glass-highlight: rgba(255, 255, 255, 0.08);
|
| 21 |
+
|
| 22 |
+
--accent-primary: #6366f1; /* Indigo */
|
| 23 |
+
--accent-secondary: #ec4899; /* Pink */
|
| 24 |
+
--accent-glow: rgba(99, 102, 241, 0.3);
|
| 25 |
+
|
| 26 |
+
--text-main: #ffffff;
|
| 27 |
+
--text-muted: #94a3b8;
|
| 28 |
+
--text-link: #818cf8;
|
| 29 |
+
|
| 30 |
+
--radius-sm: 12px;
|
| 31 |
+
--radius-md: 20px;
|
| 32 |
+
--radius-lg: 32px;
|
| 33 |
+
|
| 34 |
+
--font-main: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
|
| 35 |
+
--nav-height: 80px;
|
| 36 |
}
|
| 37 |
|
| 38 |
+
/* =========================================
|
| 39 |
+
2. BASE & RESET
|
| 40 |
+
========================================= */
|
| 41 |
+
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
|
| 42 |
+
|
| 43 |
body {
|
| 44 |
+
font-family: var(--font-main);
|
| 45 |
+
background-color: var(--bg-deep);
|
| 46 |
+
color: var(--text-main);
|
| 47 |
min-height: 100vh;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
overflow-x: hidden;
|
| 49 |
position: relative;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
/* Ambient Background Gradients */
|
| 53 |
+
body::before, body::after {
|
| 54 |
+
content: '';
|
|
|
|
| 55 |
position: fixed;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
border-radius: 50%;
|
| 57 |
+
filter: blur(120px);
|
| 58 |
+
z-index: -1;
|
| 59 |
+
opacity: 0.4;
|
| 60 |
+
animation: floatBg 20s infinite alternate;
|
| 61 |
+
}
|
| 62 |
+
body::before {
|
| 63 |
+
top: -10%; left: -10%; width: 50vw; height: 50vw;
|
| 64 |
+
background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
|
| 65 |
+
}
|
| 66 |
+
body::after {
|
| 67 |
+
bottom: -10%; right: -10%; width: 40vw; height: 40vw;
|
| 68 |
+
background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
|
| 69 |
+
animation-delay: -10s;
|
| 70 |
}
|
| 71 |
|
| 72 |
+
@keyframes floatBg {
|
| 73 |
+
0% { transform: translate(0, 0); }
|
| 74 |
+
100% { transform: translate(30px, 50px); }
|
| 75 |
}
|
| 76 |
|
| 77 |
+
/* Grid Pattern */
|
| 78 |
+
.grid-pattern {
|
| 79 |
+
position: fixed;
|
| 80 |
+
inset: 0;
|
| 81 |
+
background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
|
| 82 |
+
linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
|
| 83 |
+
background-size: 40px 40px;
|
| 84 |
+
mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
|
| 85 |
+
pointer-events: none;
|
| 86 |
+
z-index: -1;
|
|
|
|
|
|
|
|
|
|
| 87 |
}
|
| 88 |
|
| 89 |
/* =========================================
|
| 90 |
+
3. NAVBAR (Floating Style)
|
| 91 |
========================================= */
|
| 92 |
+
.navbar {
|
| 93 |
position: fixed;
|
| 94 |
+
top: 20px;
|
| 95 |
left: 50%;
|
| 96 |
transform: translateX(-50%);
|
| 97 |
+
width: 95%;
|
| 98 |
+
max-width: 1400px;
|
| 99 |
+
height: var(--nav-height);
|
| 100 |
+
background: rgba(11, 15, 25, 0.7);
|
| 101 |
+
backdrop-filter: blur(20px);
|
| 102 |
+
-webkit-backdrop-filter: blur(20px);
|
| 103 |
+
border: 1px solid var(--glass-border);
|
| 104 |
+
border-radius: var(--radius-lg);
|
| 105 |
+
display: flex;
|
| 106 |
+
align-items: center;
|
| 107 |
+
justify-content: space-between;
|
| 108 |
+
padding: 0 24px;
|
| 109 |
+
z-index: 1000;
|
| 110 |
+
box-shadow: 0 20px 40px rgba(0,0,0,0.2);
|
| 111 |
+
transition: 0.3s ease;
|
| 112 |
}
|
| 113 |
|
| 114 |
+
.brand {
|
|
|
|
| 115 |
font-weight: 700;
|
| 116 |
+
font-size: 24px;
|
| 117 |
+
color: var(--text-main);
|
| 118 |
+
text-decoration: none;
|
| 119 |
+
display: flex;
|
| 120 |
+
align-items: center;
|
| 121 |
+
gap: 10px;
|
| 122 |
+
letter-spacing: -0.5px;
|
| 123 |
}
|
| 124 |
+
.brand span {
|
| 125 |
+
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
| 126 |
+
-webkit-background-clip: text;
|
| 127 |
+
-webkit-text-fill-color: transparent;
|
|
|
|
| 128 |
}
|
| 129 |
+
.brand-icon {
|
| 130 |
+
width: 36px; height: 36px;
|
| 131 |
+
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
| 132 |
+
border-radius: 10px;
|
| 133 |
+
display: flex; align-items: center; justify-content: center;
|
| 134 |
+
color: white; font-size: 18px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
|
| 137 |
+
/* Search Bar in Nav */
|
|
|
|
|
|
|
| 138 |
.search-container {
|
| 139 |
+
flex: 1;
|
| 140 |
+
max-width: 600px;
|
| 141 |
+
margin: 0 40px;
|
| 142 |
+
position: relative;
|
| 143 |
}
|
| 144 |
+
.search-bar {
|
| 145 |
+
width: 100%;
|
| 146 |
display: flex;
|
| 147 |
+
align-items: center;
|
| 148 |
+
background: var(--glass-surface);
|
|
|
|
| 149 |
border: 1px solid var(--glass-border);
|
| 150 |
border-radius: 100px;
|
| 151 |
+
padding: 4px;
|
| 152 |
+
transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
| 153 |
}
|
| 154 |
+
.search-bar:focus-within {
|
| 155 |
+
background: var(--glass-highlight);
|
| 156 |
+
border-color: var(--accent-primary);
|
| 157 |
+
box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
|
|
|
|
|
|
|
| 158 |
}
|
| 159 |
+
.search-bar input {
|
|
|
|
| 160 |
flex: 1;
|
| 161 |
background: transparent;
|
| 162 |
border: none;
|
| 163 |
+
padding: 12px 20px;
|
| 164 |
+
color: var(--text-main);
|
| 165 |
+
font-size: 15px;
|
| 166 |
+
font-family: inherit;
|
| 167 |
+
}
|
| 168 |
+
.search-bar input::placeholder { color: var(--text-muted); }
|
| 169 |
+
|
| 170 |
+
.nav-actions {
|
| 171 |
+
display: flex;
|
| 172 |
+
gap: 12px;
|
| 173 |
+
align-items: center;
|
| 174 |
}
|
| 175 |
|
| 176 |
+
.action-btn {
|
| 177 |
+
background: var(--glass-surface);
|
| 178 |
+
border: 1px solid var(--glass-border);
|
| 179 |
+
width: 40px; height: 40px;
|
| 180 |
+
border-radius: 12px;
|
| 181 |
+
color: var(--text-muted);
|
| 182 |
+
cursor: pointer;
|
| 183 |
+
transition: 0.2s;
|
| 184 |
+
display: flex; align-items: center; justify-content: center;
|
| 185 |
+
}
|
| 186 |
+
.action-btn:hover {
|
| 187 |
+
background: var(--glass-highlight);
|
| 188 |
+
color: var(--text-main);
|
| 189 |
+
transform: translateY(-2px);
|
| 190 |
}
|
| 191 |
|
| 192 |
+
/* =========================================
|
| 193 |
+
4. TABS (Floating Pills)
|
| 194 |
+
========================================= */
|
| 195 |
+
.tabs-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
display: flex;
|
| 197 |
+
gap: 8px;
|
| 198 |
+
overflow-x: auto;
|
| 199 |
+
padding: 4px;
|
| 200 |
+
scrollbar-width: none;
|
| 201 |
+
-ms-overflow-style: none;
|
| 202 |
}
|
| 203 |
+
.tabs-container::-webkit-scrollbar { display: none; }
|
| 204 |
|
| 205 |
+
.tab-pill {
|
| 206 |
+
padding: 8px 20px;
|
| 207 |
+
border-radius: 100px;
|
| 208 |
+
background: transparent;
|
| 209 |
+
border: 1px solid var(--glass-border);
|
| 210 |
+
color: var(--text-muted);
|
| 211 |
+
font-size: 13px;
|
| 212 |
+
font-weight: 500;
|
| 213 |
+
cursor: pointer;
|
| 214 |
+
white-space: nowrap;
|
| 215 |
+
transition: 0.3s;
|
| 216 |
+
display: flex; align-items: center; gap: 8px;
|
| 217 |
+
}
|
| 218 |
+
.tab-pill i { font-size: 12px; }
|
| 219 |
+
.tab-pill.active {
|
| 220 |
+
background: var(--text-main);
|
| 221 |
+
color: var(--bg-deep);
|
| 222 |
+
border-color: var(--text-main);
|
| 223 |
+
box-shadow: 0 4px 15px rgba(255,255,255,0.2);
|
| 224 |
+
}
|
| 225 |
+
.tab-pill:hover:not(.active) {
|
| 226 |
+
border-color: var(--text-muted);
|
| 227 |
+
color: var(--text-main);
|
| 228 |
+
}
|
| 229 |
|
| 230 |
/* =========================================
|
| 231 |
+
5. MAIN LAYOUT
|
| 232 |
========================================= */
|
| 233 |
+
.page-wrapper {
|
| 234 |
+
max-width: 1400px;
|
| 235 |
+
margin: 0 auto;
|
| 236 |
+
padding: calc(var(--nav-height) + 40px) 20px 40px;
|
| 237 |
+
display: grid;
|
| 238 |
+
grid-template-columns: 1fr 320px;
|
| 239 |
+
gap: 40px;
|
|
|
|
| 240 |
}
|
| 241 |
|
| 242 |
+
/* Results Area */
|
| 243 |
+
.results-area {
|
|
|
|
|
|
|
|
|
|
| 244 |
display: flex;
|
| 245 |
flex-direction: column;
|
| 246 |
+
gap: 24px;
|
| 247 |
}
|
| 248 |
|
| 249 |
+
/* Meta Tag */
|
| 250 |
+
.result-meta {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
display: flex;
|
| 252 |
align-items: center;
|
| 253 |
+
font-size: 13px;
|
| 254 |
+
color: var(--text-muted);
|
| 255 |
+
margin-bottom: 10px;
|
|
|
|
|
|
|
| 256 |
}
|
| 257 |
+
.result-meta i { margin-left: 8px; color: var(--accent-primary); }
|
| 258 |
|
| 259 |
+
/* Skeleton */
|
| 260 |
+
.skeleton {
|
| 261 |
+
display: none;
|
| 262 |
+
padding: 24px;
|
| 263 |
+
background: var(--glass-surface);
|
| 264 |
+
border: 1px solid var(--glass-border);
|
| 265 |
+
border-radius: var(--radius-md);
|
| 266 |
+
margin-bottom: 16px;
|
| 267 |
+
animation: pulse 1.5s infinite ease-in-out;
|
| 268 |
+
}
|
| 269 |
+
.skeleton-line {
|
| 270 |
+
height: 12px; background: rgba(255,255,255,0.05);
|
| 271 |
+
border-radius: 6px; margin-bottom: 12px;
|
| 272 |
+
}
|
| 273 |
+
.skeleton-line.title { height: 20px; width: 60%; background: rgba(255,255,255,0.1); }
|
| 274 |
+
|
| 275 |
+
/* CSE Styling (Customizing Google) */
|
| 276 |
+
.cse-wrapper {
|
| 277 |
+
min-height: 50vh;
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
/* Hiding Clutter */
|
| 281 |
+
.gsc-results-branding, .gsc-adBlock, .gsc-above-wrapper-area,
|
| 282 |
+
.gcsc-find-more-on-google-root, .gsc-search-box { display: none !important; }
|
| 283 |
+
|
| 284 |
+
.gsc-control-cse {
|
| 285 |
+
background: transparent !important;
|
| 286 |
+
border: none !important;
|
| 287 |
+
padding: 0 !important;
|
| 288 |
+
font-family: var(--font-main) !important;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
/* Result Cards Customization */
|
| 292 |
+
.gsc-result {
|
| 293 |
+
background: var(--glass-surface) !important;
|
| 294 |
+
border: 1px solid var(--glass-border) !important;
|
| 295 |
+
border-radius: var(--radius-md) !important;
|
| 296 |
+
padding: 24px !important;
|
| 297 |
+
margin-bottom: 20px !important;
|
| 298 |
+
transition: all 0.3s ease !important;
|
| 299 |
+
position: relative;
|
| 300 |
+
overflow: hidden;
|
| 301 |
+
}
|
| 302 |
+
.gsc-result::after {
|
| 303 |
+
content: '';
|
| 304 |
+
position: absolute;
|
| 305 |
+
top: 0; left: 0; width: 4px; height: 100%;
|
| 306 |
+
background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
|
| 307 |
+
opacity: 0;
|
| 308 |
+
transition: 0.3s;
|
| 309 |
}
|
| 310 |
+
.gsc-result:hover {
|
| 311 |
+
transform: translateY(-4px) !important;
|
| 312 |
+
border-color: rgba(255,255,255,0.1) !important;
|
| 313 |
+
box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
|
| 314 |
+
background: var(--glass-highlight) !important;
|
| 315 |
+
}
|
| 316 |
+
.gsc-result:hover::after { opacity: 1; }
|
| 317 |
+
|
| 318 |
+
.gs-title {
|
| 319 |
+
color: var(--text-link) !important;
|
| 320 |
+
font-size: 18px !important;
|
| 321 |
+
font-weight: 600 !important;
|
| 322 |
+
text-decoration: none !important;
|
| 323 |
+
margin-bottom: 8px !important;
|
| 324 |
+
display: block;
|
| 325 |
+
}
|
| 326 |
+
.gs-title:hover { text-decoration: underline !important; }
|
| 327 |
+
|
| 328 |
+
.gsc-url-top { color: var(--accent-secondary) !important; font-size: 12px !important; margin-bottom: 10px; }
|
| 329 |
+
.gs-snippet { color: var(--text-muted) !important; font-size: 14px !important; line-height: 1.6; }
|
| 330 |
+
|
| 331 |
+
/* Pagination */
|
| 332 |
+
.gsc-cursor-box { text-align: center; margin-top: 40px; }
|
| 333 |
+
.gsc-cursor-page {
|
| 334 |
+
color: var(--text-muted) !important;
|
| 335 |
+
background: transparent !important;
|
| 336 |
+
border: 1px solid var(--glass-border) !important;
|
| 337 |
+
border-radius: 8px !important;
|
| 338 |
+
padding: 8px 16px !important;
|
| 339 |
+
margin: 0 6px !important;
|
| 340 |
+
transition: 0.2s;
|
| 341 |
+
}
|
| 342 |
+
.gsc-cursor-current-page {
|
| 343 |
+
background: var(--accent-primary) !important;
|
| 344 |
+
color: white !important;
|
| 345 |
+
border-color: var(--accent-primary) !important;
|
| 346 |
+
}
|
| 347 |
+
.gsc-cursor-page:hover { transform: scale(1.1); }
|
| 348 |
|
| 349 |
+
/* =========================================
|
| 350 |
+
6. SIDEBAR (Bento Grid Style)
|
| 351 |
+
========================================= */
|
| 352 |
+
.sidebar {
|
| 353 |
+
position: sticky;
|
| 354 |
+
top: 120px;
|
| 355 |
+
display: flex;
|
| 356 |
+
flex-direction: column;
|
| 357 |
+
gap: 24px;
|
| 358 |
+
}
|
| 359 |
|
| 360 |
+
.widget {
|
| 361 |
+
background: rgba(255, 255, 255, 0.02);
|
| 362 |
+
border: 1px solid var(--glass-border);
|
| 363 |
+
border-radius: var(--radius-md);
|
| 364 |
+
padding: 24px;
|
| 365 |
+
backdrop-filter: blur(10px);
|
| 366 |
}
|
| 367 |
|
| 368 |
+
.widget-title {
|
| 369 |
+
font-size: 14px;
|
| 370 |
+
text-transform: uppercase;
|
| 371 |
+
letter-spacing: 1px;
|
| 372 |
+
color: var(--text-muted);
|
| 373 |
+
margin-bottom: 16px;
|
| 374 |
+
display: flex;
|
| 375 |
+
align-items: center;
|
| 376 |
+
gap: 8px;
|
| 377 |
+
}
|
| 378 |
+
.widget-title::before {
|
| 379 |
+
content: ''; width: 8px; height: 8px;
|
| 380 |
+
background: var(--accent-primary);
|
| 381 |
+
border-radius: 50%;
|
| 382 |
}
|
| 383 |
|
| 384 |
+
/* AI Widget */
|
| 385 |
+
.ai-widget {
|
| 386 |
+
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
|
| 387 |
+
border-color: rgba(255,255,255,0.08);
|
| 388 |
+
text-align: center;
|
| 389 |
+
}
|
| 390 |
+
.ai-avatar {
|
| 391 |
+
width: 60px; height: 60px;
|
| 392 |
+
border-radius: 50%;
|
| 393 |
+
margin: 0 auto 16px;
|
| 394 |
+
object-fit: contain;
|
| 395 |
+
border: 2px solid rgba(255,255,255,0.1);
|
| 396 |
+
padding: 5px;
|
| 397 |
+
background: rgba(0,0,0,0.2);
|
| 398 |
+
}
|
| 399 |
+
.btn-primary {
|
| 400 |
+
display: inline-flex;
|
| 401 |
+
align-items: center;
|
| 402 |
+
justify-content: center;
|
| 403 |
+
gap: 8px;
|
| 404 |
+
width: 100%;
|
| 405 |
+
padding: 12px;
|
| 406 |
+
border-radius: 12px;
|
| 407 |
+
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
| 408 |
color: white;
|
| 409 |
+
text-decoration: none;
|
| 410 |
+
font-weight: 600;
|
| 411 |
+
font-size: 14px;
|
| 412 |
+
margin-top: 16px;
|
| 413 |
+
transition: 0.3s;
|
| 414 |
+
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
|
| 415 |
+
}
|
| 416 |
+
.btn-primary:hover {
|
| 417 |
+
filter: brightness(1.1);
|
| 418 |
+
transform: translateY(-2px);
|
| 419 |
}
|
| 420 |
|
| 421 |
+
/* Stat Widget */
|
| 422 |
+
.stat-row {
|
| 423 |
+
display: flex;
|
| 424 |
+
justify-content: space-between;
|
| 425 |
+
margin-top: 12px;
|
| 426 |
+
}
|
| 427 |
+
.stat-item {
|
|
|
|
|
|
|
|
|
|
| 428 |
text-align: center;
|
|
|
|
|
|
|
| 429 |
}
|
| 430 |
+
.stat-val {
|
| 431 |
+
font-size: 20px;
|
| 432 |
+
font-weight: 700;
|
| 433 |
+
color: var(--text-main);
|
|
|
|
|
|
|
|
|
|
| 434 |
}
|
| 435 |
+
.stat-label {
|
| 436 |
+
font-size: 11px;
|
| 437 |
+
color: var(--text-muted);
|
|
|
|
| 438 |
}
|
| 439 |
|
| 440 |
/* =========================================
|
| 441 |
+
7. RESPONSIVE
|
| 442 |
========================================= */
|
| 443 |
+
@media (max-width: 1100px) {
|
| 444 |
+
.page-wrapper { grid-template-columns: 1fr; }
|
| 445 |
+
.sidebar { display: none; }
|
| 446 |
+
.navbar { border-radius: 0; top: 0; width: 100%; padding: 0 16px; }
|
| 447 |
+
.brand span { display: none; }
|
| 448 |
+
.search-container { margin: 0 16px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 449 |
}
|
| 450 |
+
@media (max-width: 600px) {
|
| 451 |
+
.nav-actions { display: none; } /* Hide extra buttons on small screens */
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
</style>
|
| 455 |
</head>
|
| 456 |
<body>
|
| 457 |
|
| 458 |
+
<div class="grid-pattern"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 459 |
|
| 460 |
+
<!-- โโโ NAVBAR โโโ -->
|
| 461 |
+
<nav class="navbar">
|
| 462 |
+
<a href="index.html" class="brand">
|
| 463 |
+
<div class="brand-icon"><i class="fa-solid fa-shapes"></i></div>
|
| 464 |
+
<span>SurfGO</span>
|
| 465 |
+
</a>
|
| 466 |
|
|
|
|
| 467 |
<div class="search-container">
|
| 468 |
+
<form class="search-bar" action="results.html" method="get">
|
| 469 |
+
<input type="hidden" name="tab" id="tab-input" value="all">
|
| 470 |
+
<input type="text" name="q" id="main-input" placeholder="ุงุจุญุซ ูู ุงูููุจ..." autocomplete="off">
|
| 471 |
+
<button type="submit" class="action-btn" style="background: var(--accent-primary); color:white; border:none;">
|
| 472 |
+
<i class="fa-solid fa-search"></i>
|
|
|
|
| 473 |
</button>
|
| 474 |
</form>
|
| 475 |
</div>
|
| 476 |
|
| 477 |
+
<div class="nav-actions">
|
| 478 |
+
<div class="tabs-container" id="tabs-wrapper">
|
| 479 |
+
<button class="tab-pill active" data-tab="all"><i class="fa-solid fa-globe"></i> ุงููู</button>
|
| 480 |
+
<button class="tab-pill" data-tab="news"><i class="fa-regular fa-newspaper"></i> ุฃุฎุจุงุฑ</button>
|
| 481 |
+
<button class="tab-pill" data-tab="images"><i class="fa-regular fa-image"></i> ุตูุฑ</button>
|
| 482 |
+
<button class="tab-pill" data-tab="videos"><i class="fa-solid fa-play"></i> ููุฏูู</button>
|
| 483 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 484 |
</div>
|
| 485 |
+
</nav>
|
| 486 |
|
| 487 |
+
<!-- โโโ CONTENT โโโ -->
|
| 488 |
+
<div class="page-wrapper">
|
| 489 |
+
<main class="results-area">
|
| 490 |
+
|
| 491 |
+
<!-- Meta Info -->
|
| 492 |
+
<div class="result-meta" id="meta-bar">
|
| 493 |
+
<i class="fa-solid fa-bolt"></i>
|
| 494 |
+
<span id="meta-text">ุฌุงุฑู ุงูุงุณุชุนูุงู
...</span>
|
| 495 |
+
</div>
|
| 496 |
+
|
| 497 |
+
<!-- Skeleton Loader -->
|
| 498 |
+
<div class="skeleton" id="skeleton">
|
| 499 |
+
<div class="skeleton-line title"></div>
|
| 500 |
+
<div class="skeleton-line"></div>
|
| 501 |
+
<div class="skeleton-line" style="width: 80%"></div>
|
| 502 |
+
</div>
|
| 503 |
+
<div class="skeleton" id="skeleton2" style="animation-delay: 0.2s">
|
| 504 |
+
<div class="skeleton-line title"></div>
|
| 505 |
+
<div class="skeleton-line"></div>
|
| 506 |
+
<div class="skeleton-line" style="width: 60%"></div>
|
| 507 |
+
</div>
|
| 508 |
+
|
| 509 |
+
<!-- Results Container -->
|
| 510 |
+
<div class="cse-wrapper" id="results-container">
|
| 511 |
+
<!-- Google Results Injected Here -->
|
| 512 |
+
</div>
|
| 513 |
+
</main>
|
| 514 |
+
|
| 515 |
+
<aside class="sidebar">
|
| 516 |
+
<!-- Genisi Widget -->
|
| 517 |
+
<div class="widget ai-widget">
|
| 518 |
+
<img src="Genisi.png" alt="Genisi" class="ai-avatar">
|
| 519 |
+
<h3 style="font-size: 16px; margin-bottom: 8px;">Genisi AI Core</h3>
|
| 520 |
+
<p style="font-size: 13px; color: var(--text-muted); margin-bottom: 12px;">ู
ุณุงุนุฏู ุงูุฐูู ุงูุดุฎุตู ููุฅุฌุงุจุฉ ุนูู ุฃุณุฆูุชู ุงูู
ุนูุฏุฉ.</p>
|
| 521 |
+
<a href="https://genisi.web.app/" target="_blank" class="btn-primary">
|
| 522 |
+
<i class="fa-solid fa-robot"></i> ุชุดุบูู Genisi
|
| 523 |
+
</a>
|
| 524 |
+
</div>
|
| 525 |
+
|
| 526 |
+
<!-- Stats Widget -->
|
| 527 |
+
<div class="widget">
|
| 528 |
+
<div class="widget-title">ุฅุญุตุงุฆูุงุช ุงูุจุญุซ</div>
|
| 529 |
+
<div class="stat-row">
|
| 530 |
+
<div class="stat-item">
|
| 531 |
+
<div class="stat-val" id="stat-engine">WEB</div>
|
| 532 |
+
<div class="stat-label">ุงูู
ุญุฑู</div>
|
| 533 |
+
</div>
|
| 534 |
+
<div class="stat-item">
|
| 535 |
+
<div class="stat-val" id="stat-time">0.0s</div>
|
| 536 |
+
<div class="stat-label">ุงูุฒู
ู</div>
|
| 537 |
+
</div>
|
| 538 |
+
</div>
|
| 539 |
+
</div>
|
| 540 |
+
|
| 541 |
+
<!-- Quick Links -->
|
| 542 |
+
<div class="widget">
|
| 543 |
+
<div class="widget-title">ุฑูุงุจุท ุณุฑูุนุฉ</div>
|
| 544 |
+
<a href="https://youtube.com" target="_blank" style="text-decoration:none; color:var(--text-muted); font-size:14px; display:flex; align-items:center; gap:10px; margin-bottom:12px;">
|
| 545 |
+
<i class="fa-brands fa-youtube" style="color: #ef4444;"></i> YouTube
|
| 546 |
+
</a>
|
| 547 |
+
<a href="https://wikipedia.org" target="_blank" style="text-decoration:none; color:var(--text-muted); font-size:14px; display:flex; align-items:center; gap:10px;">
|
| 548 |
+
<i class="fa-brands fa-wikipedia-w" style="color: #fff;"></i> Wikipedia
|
| 549 |
+
</a>
|
| 550 |
+
</div>
|
| 551 |
+
</aside>
|
| 552 |
</div>
|
| 553 |
|
| 554 |
<script>
|
| 555 |
+
// โโ CONFIGURATION โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
| 556 |
+
const ENGINES = {
|
| 557 |
+
all: '75aa960081baa4f0c',
|
| 558 |
+
news: '35b0f5b6012e94f78',
|
| 559 |
+
images: '23c7fd94975714dd8',
|
| 560 |
+
videos: 'b11f5dceb04784b9f'
|
| 561 |
+
};
|
| 562 |
+
|
| 563 |
+
// โโ STATE & INIT โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
| 564 |
+
const params = new URLSearchParams(window.location.search);
|
| 565 |
+
let currentTab = params.get('tab') || 'all';
|
| 566 |
+
const query = params.get('q');
|
| 567 |
+
|
| 568 |
+
const container = document.getElementById('results-container');
|
| 569 |
+
const skeleton = document.getElementById('skeleton');
|
| 570 |
+
const skeleton2 = document.getElementById('skeleton2');
|
| 571 |
+
const metaText = document.getElementById('meta-text');
|
| 572 |
+
const tabInput = document.getElementById('tab-input');
|
| 573 |
+
const statEngine = document.getElementById('stat-engine');
|
| 574 |
+
|
| 575 |
+
// Setup Input
|
| 576 |
+
document.getElementById('main-input').value = query || '';
|
| 577 |
+
if(query) document.title = `${query} - SurfGO`;
|
| 578 |
+
|
| 579 |
+
// โโ TAB SWITCHING LOGIC โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
| 580 |
+
document.querySelectorAll('.tab-pill').forEach(btn => {
|
| 581 |
+
if(btn.dataset.tab === currentTab) btn.classList.add('active');
|
| 582 |
+
|
| 583 |
+
btn.addEventListener('click', () => {
|
| 584 |
+
if(btn.dataset.tab === currentTab) return;
|
| 585 |
+
|
| 586 |
+
// UI Update
|
| 587 |
+
document.querySelectorAll('.tab-pill').forEach(b => b.classList.remove('active'));
|
| 588 |
+
btn.classList.add('active');
|
| 589 |
+
|
| 590 |
+
// Logic Update
|
| 591 |
+
currentTab = btn.dataset.tab;
|
| 592 |
+
tabInput.value = currentTab;
|
| 593 |
+
loadEngine(currentTab);
|
| 594 |
+
|
| 595 |
+
// Update URL
|
| 596 |
+
const newUrl = new URL(window.location);
|
| 597 |
+
newUrl.searchParams.set('tab', currentTab);
|
| 598 |
+
window.history.replaceState({}, '', newUrl);
|
| 599 |
+
});
|
| 600 |
+
});
|
| 601 |
+
|
| 602 |
+
// โโ CORE ENGINE FUNCTION (Custom Injection) โโโโโโโโ
|
| 603 |
+
function loadEngine(tabKey) {
|
| 604 |
+
const cx = ENGINES[tabKey];
|
| 605 |
+
if(!cx) return;
|
| 606 |
+
|
| 607 |
+
// 1. Reset View
|
| 608 |
+
container.innerHTML = '';
|
| 609 |
+
skeleton.style.display = 'block';
|
| 610 |
+
skeleton2.style.display = 'block';
|
| 611 |
+
metaText.textContent = `ุฌุงุฑู ุงูุจุญุซ ูู ${tabKey === 'all' ? 'ุงูููุจ' : tabKey}...`;
|
| 612 |
+
statEngine.textContent = tabKey.toUpperCase();
|
| 613 |
+
|
| 614 |
+
// 2. Create fresh container with data-cx
|
| 615 |
+
const newDiv = document.createElement('div');
|
| 616 |
+
newDiv.className = 'gcse-searchresults-only';
|
| 617 |
+
newDiv.setAttribute('data-linkTarget', '_self');
|
| 618 |
+
newDiv.setAttribute('data-cx', cx);
|
| 619 |
+
container.appendChild(newDiv);
|
| 620 |
+
|
| 621 |
+
// 3. Inject Script with timestamp to prevent caching bugs
|
| 622 |
+
// This forces the browser to fetch a fresh instance of the library for the new ID
|
| 623 |
+
const timestamp = new Date().getTime();
|
| 624 |
+
const scriptUrl = `https://cse.google.com/cse.js?cx=${cx}&t=${timestamp}`;
|
| 625 |
+
|
| 626 |
+
const script = document.createElement('script');
|
| 627 |
+
script.src = scriptUrl;
|
| 628 |
+
script.async = true;
|
| 629 |
+
|
| 630 |
+
script.onload = () => {
|
| 631 |
+
// Google takes a moment to render, give it visual time
|
| 632 |
+
setTimeout(() => {
|
| 633 |
+
skeleton.style.display = 'none';
|
| 634 |
+
skeleton2.style.display = 'none';
|
| 635 |
+
metaText.textContent = `ุชู
ุงูุนุซูุฑ ุนูู ูุชุงุฆุฌ ูู "${query}"`;
|
| 636 |
+
|
| 637 |
+
// Simple timing simulation
|
| 638 |
+
document.getElementById('stat-time').textContent = (Math.random() * 0.5 + 0.2).toFixed(2) + 's';
|
| 639 |
+
}, 1200); // 1.2s visual delay for smoothness
|
| 640 |
+
};
|
| 641 |
+
|
| 642 |
+
script.onerror = () => {
|
| 643 |
+
skeleton.style.display = 'none';
|
| 644 |
+
skeleton2.style.display = 'none';
|
| 645 |
+
metaText.textContent = "ุญุฏุซ ุฎุทุฃ ูู ุงูุงุชุตุงู ุจู
ุญุฑู ุงูุจุญุซ.";
|
| 646 |
+
};
|
| 647 |
+
|
| 648 |
+
document.head.appendChild(script);
|
| 649 |
+
}
|
| 650 |
+
|
| 651 |
+
// โโ INITIAL LOAD โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
| 652 |
+
if(query) {
|
| 653 |
+
loadEngine(currentTab);
|
| 654 |
+
} else {
|
| 655 |
+
container.innerHTML = `
|
| 656 |
+
<div style="text-align:center; padding:60px; color:var(--text-muted);">
|
| 657 |
+
<i class="fa-solid fa-search" style="font-size:40px; margin-bottom:20px; opacity:0.5;"></i>
|
| 658 |
+
<h3>ุฃุฏุฎู ููู
ุฉ ููุจุญุซ</h3>
|
| 659 |
+
<p>ุงุณุชุฎุฏู
ุดุฑูุท ุงูุจุญุซ ูู ุงูุฃุนูู ููุจุฏุก.</p>
|
| 660 |
+
</div>
|
| 661 |
`;
|
| 662 |
+
skeleton.style.display = 'none';
|
| 663 |
+
skeleton2.style.display = 'none';
|
| 664 |
}
|
| 665 |
+
|
| 666 |
</script>
|
| 667 |
</body>
|
| 668 |
</html>
|