File size: 5,880 Bytes
2b7f304
3d65585
 
 
 
 
41cb253
 
2b7f304
 
3d65585
 
 
 
99d5ce1
3d65585
2b7f304
 
3d65585
41cb253
3d65585
2b7f304
 
3d65585
41cb253
3d65585
2b7f304
 
3d65585
4edec4b
3d65585
41cb253
3d65585
 
41cb253
 
15a0714
 
 
 
4edec4b
97a3bc4
 
41cb253
4c30921
41cb253
4c30921
41cb253
4c30921
 
 
 
41cb253
4c30921
 
41cb253
4c30921
 
 
 
41cb253
4c30921
7c399f8
 
41cb253
 
610f895
 
41cb253
 
 
 
 
7c399f8
 
41cb253
 
 
 
 
7c399f8
41cb253
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70bee5b
 
 
 
 
 
 
 
 
 
41cb253
 
 
610f895
 
 
 
 
 
 
 
 
41cb253
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178937b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2d6c64c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610f895
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
body {
    margin: 0;
    padding: 30px;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    text-align: center;
    min-height: 100vh;
    box-sizing: border-box;
}

main {
    max-width: 650px;
    margin: 50px auto;
    padding: 40px;
    background: transparent;
    border-radius: 16px;
}

h1 {
    font-family: "Fredoka", sans-serif;
    font-size: 36px;
}

p {
    font-family: "Nunito", sans-serif;
    font-size: 20px;
}

button {
    border: 2px solid transparent;
    padding: 12px 22px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
}

button:active {
    cursor: grabbing;
    border-color: black;
}

input {
    width: 250px;
    max-width: calc(100vw - 80px);
    padding: 12px;
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    border: 2px solid #999;
    border-radius: 10px;
    background: white;
    box-sizing: border-box;
}

input:focus {
    border-color: blue;
    outline: none;
}

input::placeholder {
    color: gray;
}

#logoutButton {
    position: fixed;
    top: 38px;
    right: 15px;
    z-index: 1000;
    padding: 7px 12px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

#welcomeUser {
    position: fixed;
    top: 12px;
    right: 15px;
    z-index: 1000;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.menuButtons,
.clickerButtons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

#counter.flashing {
    color: red;
    font-weight: bold;
    animation: flash 0.4s infinite;
}

@keyframes flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#pressButton {
    cursor: grab;
    touch-action: none;
}

#pressButton.dragging {
    cursor: grabbing;
    z-index: 2000;
}

#backButton {
    position: fixed;
    top: 12px;
    left: 15px;
    z-index: 1000;
    margin: 0;
    padding: 7px 12px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 600px) {
    body {
        padding: 20px;
    }

    main {
        margin: 55px auto 20px;
        padding: 20px 10px;
    }

    h1 {
        font-size: 30px;
    }

    #welcomeUser {
        max-width: 55vw;
        text-align: right;
    }

    .gameCardGrid {
        grid-template-columns: 1fr;
    }

    .gameCard {
        padding: 18px;
    }

    .gameCardText h2 {
        font-size: 24px;
    }

    .gameCardText p {
        font-size: 16px;
    }
}



.menuSubtitle {
    margin-top: -6px;
    margin-bottom: 28px;
    color: #5e6280;
}

.gameCardGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gameCard {
    text-align: left;
    padding: 22px;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 26px rgba(35, 40, 80, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
    background: white;
}

.gameCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(35, 40, 80, 0.18);
}

.gameCard:active {
    cursor: pointer;
    transform: translateY(0);
}

.clickerCard {
    background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
    border-color: #b9ddff;
}

.rabbiCard {
    background: linear-gradient(180deg, #fffdf8 0%, #fff1dc 100%);
    border-color: #f1d39d;
}

.gameCardTop {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.gameCardIcon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.gameCardText h2 {
    margin: 2px 0 8px;
    font-family: "Fredoka", sans-serif;
    font-size: 28px;
}

.gameCardText p {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    color: #41455e;
}

.gameCardTags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.gameCardTags span {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #37405c;
    border: 1px solid rgba(55, 64, 92, 0.12);
}

.gameCardFooter {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #25345c;
}

.playLabel {
    font-size: 16px;
}

.arrowLabel {
    font-size: 24px;
    line-height: 1;
}


/* CUSTOM RIGHT-CLICK MENU */
.customContextMenu {
    position: fixed;
    z-index: 5000;
    display: none;
    min-width: 220px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(35, 40, 80, 0.16);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(35, 40, 80, 0.22);
    backdrop-filter: blur(10px);
    text-align: left;
}

.customContextMenu.show {
    display: block;
}

.customContextMenu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #2f344d;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.customContextMenu button:hover,
.customContextMenu button:focus-visible {
    background: #eef3ff;
    outline: none;
}

.customContextMenu button:active {
    border-color: transparent;
    cursor: pointer;
}

.contextIcon {
    width: 24px;
    text-align: center;
    font-size: 17px;
}

.contextDivider {
    height: 1px;
    margin: 6px 4px;
    background: rgba(35, 40, 80, 0.12);
}