AnesKAM commited on
Commit
de09a79
·
verified ·
1 Parent(s): 2fc37e6

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +285 -174
style.css CHANGED
@@ -1,177 +1,288 @@
1
- :root {
2
- --accent: #00d2ff;
3
- --accent-deep: #3a7bd5;
4
- --bg-dark: #0f172a;
5
- --glass: rgba(255, 255, 255, 0.05);
6
- --glass-border: rgba(255, 255, 255, 0.1);
7
- --text-light: #f8fafc;
8
- --text-dim: #94a3b8;
9
- --shadow-lux: 0 20px 50px rgba(0,0,0,0.3);
10
  }
11
 
12
  body {
13
- font-family: 'Poppins', sans-serif;
14
- margin: 0;
15
- background: var(--bg-dark);
16
- background-image: radial-gradient(circle at top right, #1e293b, #0f172a);
17
- color: var(--text-light);
18
- min-height: 100vh;
19
- overflow-x: hidden;
20
- }
21
-
22
- .hidden { display: none !important; }
23
-
24
- /* --- Home View --- */
25
- .view { transition: all 0.5s ease; width: 100%; }
26
- .hero-section {
27
- height: 100vh;
28
- display: flex;
29
- flex-direction: column;
30
- align-items: center;
31
- justify-content: center;
32
- text-align: center;
33
- }
34
-
35
- .main-logo {
36
- font-size: 100px;
37
- font-weight: 800;
38
- margin: 0;
39
- filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3));
40
- }
41
- .main-logo span { color: var(--accent); text-shadow: 0 0 30px var(--accent); }
42
- .slogan { color: var(--text-dim); font-size: 20px; margin-bottom: 40px; }
43
-
44
- .search-container {
45
- display: flex;
46
- background: var(--glass);
47
- backdrop-filter: blur(20px);
48
- padding: 10px;
49
- border-radius: 100px;
50
- border: 1px solid var(--glass-border);
51
- box-shadow: var(--shadow-lux);
52
- width: 90%;
53
- max-width: 650px;
54
- transition: 0.3s;
55
- }
56
- .search-container:focus-within { border-color: var(--accent); box-shadow: 0 0 30px rgba(0, 210, 255, 0.2); }
57
- .luxury-input {
58
- flex: 1;
59
- background: transparent;
60
- border: none;
61
- outline: none;
62
- color: white;
63
- padding: 0 25px;
64
- font-size: 18px;
65
- }
66
- .luxury-btn {
67
- background: linear-gradient(45deg, var(--accent), var(--accent-deep));
68
- border: none;
69
- width: 55px;
70
- height: 55px;
71
- border-radius: 50%;
72
- color: white;
73
- cursor: pointer;
74
- display: flex;
75
- align-items: center;
76
- justify-content: center;
77
- transition: 0.3s;
78
- }
79
- .luxury-btn:hover { transform: rotate(90deg) scale(1.1); }
80
-
81
- .quick-links { margin-top: 30px; display: flex; gap: 15px; }
82
- .q-link {
83
- background: var(--glass);
84
- padding: 8px 20px;
85
- border-radius: 20px;
86
- font-size: 14px;
87
- cursor: pointer;
88
- border: 1px solid var(--glass-border);
89
- transition: 0.3s;
90
- display: flex;
91
- align-items: center;
92
- gap: 8px;
93
- }
94
- .q-link:hover { background: var(--glass-border); color: var(--accent); }
95
-
96
- /* --- Results View --- */
97
- .results-header {
98
- display: flex;
99
- justify-content: space-between;
100
- align-items: center;
101
- padding: 15px 30px;
102
- background: rgba(15, 23, 42, 0.8);
103
- backdrop-filter: blur(15px);
104
- border-bottom: 1px solid var(--glass-border);
105
- position: sticky;
106
- top: 0;
107
- z-index: 100;
108
- }
109
- .header-left { display: flex; align-items: center; gap: 30px; }
110
- .small-logo { font-size: 28px; cursor: pointer; margin: 0; }
111
- .small-logo span { color: var(--accent); }
112
-
113
- .header-search-box {
114
- display: flex;
115
- background: var(--glass);
116
- border-radius: 50px;
117
- padding: 5px;
118
- border: 1px solid var(--glass-border);
119
- }
120
- .res-input { background: transparent; border: none; outline: none; color: white; padding: 8px 20px; width: 300px; }
121
- .res-btn { background: var(--accent); border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; }
122
-
123
- .results-nav { display: flex; justify-content: center; gap: 10px; padding: 20px 0; }
124
- .nav-item {
125
- padding: 10px 20px;
126
- border-radius: 12px;
127
- cursor: pointer;
128
- color: var(--text-dim);
129
- transition: 0.3s;
130
- display: flex;
131
- align-items: center;
132
- gap: 8px;
133
- }
134
- .nav-item.active { background: var(--accent); color: white; box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4); }
135
-
136
- .results-container { max-width: 1000px; margin: 0 auto 50px auto; padding: 0 20px; }
137
- .engine-bubble {
138
- background: var(--glass);
139
- border-radius: 40px;
140
- padding: 20px;
141
- border: 1px solid var(--glass-border);
142
- backdrop-filter: blur(10px);
143
- min-height: 600px;
144
- }
145
-
146
- /* --- GENISI IFRAME STYLE --- */
147
- .genisi-iframe {
148
- width: 100%;
149
- height: 700px;
150
- border: none;
151
- border-radius: 30px;
152
- background: white;
153
- }
154
-
155
- /* --- GOOGLE IMAGES GRID OVERRIDE (Force Order) --- */
156
- .gsc-control-cse { background: transparent !important; border: none !important; }
157
-
158
- /* This targets the image results to force them into a grid */
159
- .gsc-results-wrapper-visible {
160
- display: grid !important;
161
- grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
162
- gap: 20px !important;
163
- padding: 10px !important;
164
- }
165
-
166
- .gsc-webResult {
167
- background: rgba(255, 255, 255, 0.03) !important;
168
- border: 1px solid var(--glass-border) !important;
169
- border-radius: 20px !important;
170
- padding: 15px !important;
171
- transition: 0.3s !important;
172
- display: flex !important;
173
- flex-direction: column !important;
174
- }
175
- .gsc-webResult:hover { transform: translateY(-5px) !important; border-color: var(--accent) !important; }
176
- .gs-title, .gs-title b { color: var(--accent) !important; }
177
- .gs-snippet { color: var(--text-dim) !important; font-size: 13px !important; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
 
 
 
 
 
5
  }
6
 
7
  body {
8
+ font-family: 'Inter', system-ui, -apple-system, sans-serif;
9
+ background: linear-gradient(145deg, #f5f7fe 0%, #eef2fa 100%);
10
+ min-height: 100vh;
11
+ color: #121826;
12
+ }
13
+
14
+ /* premium glass header */
15
+ .header {
16
+ background: rgba(255, 255, 255, 0.94);
17
+ backdrop-filter: blur(20px);
18
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
19
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
20
+ position: sticky;
21
+ top: 0;
22
+ z-index: 100;
23
+ }
24
+
25
+ .container {
26
+ max-width: 1280px;
27
+ margin: 0 auto;
28
+ padding: 1.25rem 2rem;
29
+ }
30
+
31
+ .logo-area {
32
+ display: flex;
33
+ align-items: baseline;
34
+ justify-content: space-between;
35
+ flex-wrap: wrap;
36
+ gap: 1rem;
37
+ margin-bottom: 1rem;
38
+ }
39
+
40
+ .brand {
41
+ display: flex;
42
+ align-items: center;
43
+ gap: 12px;
44
+ }
45
+
46
+ .brand h1 {
47
+ font-size: 2.1rem;
48
+ font-weight: 800;
49
+ letter-spacing: -0.5px;
50
+ background: linear-gradient(135deg, #1A2A6C, #b21f1f, #fdbb4d);
51
+ background-clip: text;
52
+ -webkit-background-clip: text;
53
+ color: transparent;
54
+ }
55
+
56
+ .brand .badge {
57
+ background: rgba(0, 0, 0, 0.05);
58
+ padding: 4px 10px;
59
+ border-radius: 40px;
60
+ font-size: 0.7rem;
61
+ font-weight: 600;
62
+ color: #2c3e66;
63
+ }
64
+
65
+ .creator {
66
+ font-size: 0.85rem;
67
+ font-weight: 500;
68
+ color: #4a5b7a;
69
+ background: #ffffffcc;
70
+ padding: 5px 12px;
71
+ border-radius: 30px;
72
+ }
73
+
74
+ .creator i {
75
+ margin-right: 6px;
76
+ color: #fdbb4d;
77
+ }
78
+
79
+ /* search bar */
80
+ .search-section {
81
+ margin: 1.5rem 0 0.5rem;
82
+ }
83
+
84
+ .search-wrapper {
85
+ background: white;
86
+ border-radius: 60px;
87
+ box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.02);
88
+ display: flex;
89
+ align-items: center;
90
+ padding: 0.35rem 0.35rem 0.35rem 1.8rem;
91
+ transition: all 0.25s ease;
92
+ }
93
+
94
+ .search-wrapper:focus-within {
95
+ box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 0 2px #fdbb4d80;
96
+ transform: scale(1.01);
97
+ }
98
+
99
+ .search-wrapper input {
100
+ flex: 1;
101
+ border: none;
102
+ padding: 1rem 0;
103
+ font-size: 1.1rem;
104
+ font-weight: 500;
105
+ background: transparent;
106
+ outline: none;
107
+ font-family: 'Inter', monospace;
108
+ color: #111827;
109
+ }
110
+
111
+ .search-wrapper input::placeholder {
112
+ color: #9ca3af;
113
+ font-weight: 400;
114
+ }
115
+
116
+ .search-actions {
117
+ display: flex;
118
+ gap: 8px;
119
+ align-items: center;
120
+ }
121
+
122
+ .voice-btn, .search-submit {
123
+ background: transparent;
124
+ border: none;
125
+ width: 48px;
126
+ height: 48px;
127
+ border-radius: 50%;
128
+ font-size: 1.3rem;
129
+ cursor: pointer;
130
+ transition: 0.2s;
131
+ color: #4b5563;
132
+ display: inline-flex;
133
+ align-items: center;
134
+ justify-content: center;
135
+ }
136
+
137
+ .voice-btn:hover, .search-submit:hover {
138
+ background: #f3f4f6;
139
+ color: #fdbb4d;
140
+ }
141
+
142
+ .search-submit {
143
+ background: #1e293b;
144
+ color: white;
145
+ width: auto;
146
+ padding: 0 1.6rem;
147
+ border-radius: 50px;
148
+ font-weight: 600;
149
+ gap: 8px;
150
+ font-size: 0.95rem;
151
+ }
152
+
153
+ .search-submit:hover {
154
+ background: #fdbb4d;
155
+ color: #1e293b;
156
+ }
157
+
158
+ /* TABS */
159
+ .tabs {
160
+ display: flex;
161
+ gap: 0.25rem;
162
+ background: #ffffffcc;
163
+ backdrop-filter: blur(8px);
164
+ padding: 0.5rem;
165
+ border-radius: 60px;
166
+ margin: 1.8rem 0 1.2rem;
167
+ border: 1px solid rgba(0,0,0,0.03);
168
+ width: fit-content;
169
+ }
170
+
171
+ .tab-btn {
172
+ padding: 0.6rem 1.8rem;
173
+ border-radius: 40px;
174
+ font-weight: 600;
175
+ font-size: 0.9rem;
176
+ background: transparent;
177
+ border: none;
178
+ cursor: pointer;
179
+ transition: all 0.2s;
180
+ color: #334155;
181
+ display: flex;
182
+ align-items: center;
183
+ gap: 8px;
184
+ font-family: 'Inter', sans-serif;
185
+ }
186
+
187
+ .tab-btn i {
188
+ font-size: 1rem;
189
+ }
190
+
191
+ .tab-btn.active {
192
+ background: #1e293b;
193
+ color: white;
194
+ box-shadow: 0 6px 12px -8px rgba(0,0,0,0.2);
195
+ }
196
+
197
+ .tab-btn:not(.active):hover {
198
+ background: #eef2ff;
199
+ color: #1e293b;
200
+ }
201
+
202
+ /* results container */
203
+ .results-container {
204
+ margin-top: 1.5rem;
205
+ background: rgba(255,255,255,0.6);
206
+ backdrop-filter: blur(2px);
207
+ border-radius: 32px;
208
+ padding: 0.2rem;
209
+ min-height: 55vh;
210
+ }
211
+
212
+ .cse-wrapper {
213
+ display: none;
214
+ }
215
+
216
+ .cse-wrapper.active {
217
+ display: block;
218
+ }
219
+
220
+ /* style Google results */
221
+ .gsc-control-cse, .gsc-control-wrapper-cse {
222
+ background: transparent !important;
223
+ border: none !important;
224
+ padding: 0 !important;
225
+ }
226
+ .gsc-result-info, .gsc-orderby {
227
+ font-family: 'Inter', sans-serif !important;
228
+ color: #334155 !important;
229
+ }
230
+ .gsc-webResult .gsc-result {
231
+ background: white !important;
232
+ border-radius: 20px !important;
233
+ padding: 0.8rem 1.2rem !important;
234
+ margin-bottom: 1rem !important;
235
+ box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
236
+ border: 1px solid rgba(0,0,0,0.03) !important;
237
+ }
238
+
239
+ .footer {
240
+ text-align: center;
241
+ margin-top: 3rem;
242
+ padding: 1.5rem;
243
+ color: #6c757d;
244
+ font-size: 0.75rem;
245
+ border-top: 1px solid rgba(0,0,0,0.05);
246
+ }
247
+
248
+ .toast-msg {
249
+ position: fixed;
250
+ bottom: 25px;
251
+ left: 50%;
252
+ transform: translateX(-50%);
253
+ background: #1e293be6;
254
+ backdrop-filter: blur(12px);
255
+ color: #fef9e6;
256
+ padding: 12px 24px;
257
+ border-radius: 50px;
258
+ font-size: 0.85rem;
259
+ font-weight: 500;
260
+ z-index: 999;
261
+ border-left: 4px solid #fdbb4d;
262
+ pointer-events: none;
263
+ opacity: 0;
264
+ transition: opacity 0.2s;
265
+ white-space: nowrap;
266
+ }
267
+
268
+ @media (max-width: 700px) {
269
+ .container { padding: 1rem; }
270
+ .brand h1 { font-size: 1.7rem; }
271
+ .search-wrapper { padding-left: 1rem; }
272
+ .search-wrapper input { font-size: 0.95rem; }
273
+ .tab-btn { padding: 0.4rem 1rem; font-size: 0.8rem; }
274
+ .search-submit span { display: none; }
275
+ .search-submit { width: 48px; padding: 0; }
276
+ .toast-msg { white-space: nowrap; font-size: 0.75rem; }
277
+ }
278
+
279
+ @keyframes pulseMic {
280
+ 0% { box-shadow: 0 0 0 0 rgba(253, 187, 77, 0.6); }
281
+ 70% { box-shadow: 0 0 0 12px rgba(253, 187, 77, 0); }
282
+ 100% { box-shadow: 0 0 0 0 rgba(253, 187, 77, 0); }
283
+ }
284
+ .listening-active {
285
+ animation: pulseMic 1.2s infinite;
286
+ background: #fdbb4d !important;
287
+ color: #121826 !important;
288
+ }