File size: 5,048 Bytes
d01ea29
680c92c
 
53392ac
 
76c9a94
5ed246b
45171f0
 
 
 
 
 
 
 
 
 
 
 
680c92c
45171f0
 
909bb91
53392ac
45171f0
53392ac
 
5c45f54
d01ea29
99493ab
45171f0
53392ac
 
 
84f8acb
53392ac
 
909bb91
 
99493ab
53392ac
45171f0
84f8acb
 
53392ac
 
 
 
8ca7de2
 
99493ab
 
 
 
ebf27b4
99493ab
45171f0
7d7b6b6
5f30335
53392ac
8b3e82a
5c45f54
 
99493ab
680c92c
 
53392ac
 
5f30335
53392ac
8b3e82a
53392ac
45171f0
909bb91
 
53392ac
680c92c
 
5f30335
 
 
 
53392ac
680c92c
53392ac
 
 
45171f0
53392ac
5f30335
 
53392ac
 
909bb91
 
53392ac
 
45171f0
909bb91
 
53392ac
 
45171f0
909bb91
 
53392ac
 
 
5f30335
 
53392ac
 
 
 
 
 
45171f0
909bb91
 
53392ac
 
 
45171f0
8b3e82a
45171f0
8b3e82a
53392ac
5f30335
 
53392ac
45171f0
909bb91
 
53392ac
45171f0
5f30335
 
53392ac
45171f0
 
53392ac
 
5f30335
53392ac
680c92c
5f30335
 
680c92c
53392ac
909bb91
 
53392ac
 
 
45171f0
53392ac
 
45171f0
8b3e82a
 
53392ac
 
 
 
 
 
 
 
909bb91
53392ac
 
45171f0
5f30335
 
53392ac
 
 
909bb91
53392ac
45171f0
53392ac
 
 
45171f0
53392ac
5f30335
53392ac
5f30335
53392ac
 
5f30335
 
53392ac
45171f0
53392ac
 
5f30335
 
53392ac
45171f0
5f30335
 
53392ac
 
 
45171f0
53392ac
 
8b3e82a
 
53392ac
 
 
 
45171f0
53392ac
 
 
 
 
 
 
 
680c92c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53392ac
 
 
 
 
680c92c
 
53392ac
 
 
 
 
 
 
 
 
cd5f08e
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
body {
    background: url('/images/starry-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    animation: twinkle 10s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.cosmic-gradient {
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.function-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25% 10% 40% 10% / 20% 40% 20% 40%;
    padding: 30px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s, filter 0.3s;
    min-height: 280px;
}

.function-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.function-box.shadowed {
    opacity: 0.3;
    filter: blur(2px);
    transition: opacity 0.3s, filter 0.3s;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: url('/images/starry-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    border-radius: 0;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.chatbot-modal {
    max-width: 400px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.chatbot-conversation {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25% 10% 40% 10% / 20% 40% 20% 40%;
}

.chatbot-conversation p {
    margin: 5px 0;
}

.chatbot-conversation .user-message {
    text-align: right;
    color: #ff6ec4;
}

.chatbot-conversation .bot-message {
    text-align: left;
    color: #7873f5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.3);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cosmic-btn {
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.cosmic-btn:hover {
    transform: scale(1.05);
}

.response-card {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25% 10% 40% 10% / 20% 40% 20% 40%;
    color: #fff;
}

.chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.hidden {
    display: none;
}

.drop-area {
    border: 2px dashed #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.drop-area p {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.drop-area:hover {
    background: rgba(255, 255, 255, 0.2);
}

.input-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
}

.input-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    padding: 8px;
}

.input-bar .cosmic-btn {
    padding: 8px 16px;
}

.loading-spinner {
    margin-top: 10px;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    display: none;
}

.loading-spinner::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    .chatbot-modal {
        max-width: 90%;
        max-height: 80vh;
    }
    .input-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .input-bar .cosmic-btn {
        margin-top: 10px;
        margin-left: 0;
    }
}