File size: 4,948 Bytes
0b49cb3
 
 
559af80
 
 
0b49cb3
 
 
 
a432b46
 
0b49cb3
3e4b4c2
a432b46
3e4b4c2
a432b46
3e4b4c2
 
 
0b49cb3
 
 
 
 
 
 
 
 
 
 
a432b46
 
0b49cb3
 
a432b46
0b49cb3
a432b46
0b49cb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e4b4c2
0b49cb3
 
a432b46
 
0b49cb3
 
a432b46
 
0b49cb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e4b4c2
0b49cb3
3e4b4c2
0b49cb3
a432b46
 
0b49cb3
 
 
3e4b4c2
0b49cb3
 
 
 
 
3e4b4c2
 
0b49cb3
 
a432b46
 
0b49cb3
 
3e4b4c2
0b49cb3
3e4b4c2
 
a432b46
 
0b49cb3
 
 
 
 
 
3e4b4c2
0b49cb3
 
 
3e4b4c2
 
0b49cb3
 
 
a432b46
 
0b49cb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e4b4c2
0b49cb3
 
 
 
 
 
 
a432b46
 
0b49cb3
 
365e0b4
0b49cb3
 
 
 
 
 
365e0b4
0b49cb3
 
 
 
 
365e0b4
 
0b49cb3
 
 
 
 
 
 
 
 
 
 
 
 
3e4b4c2
0b49cb3
 
 
3e4b4c2
 
0b49cb3
 
 
3e4b4c2
 
0b49cb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e4b4c2
 
0b49cb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a432b46
 
0b49cb3
 
a432b46
 
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
/* Main container */
.equal-game {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Arial', sans-serif;
}

/* Loading state */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

/* Question title */
.question-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Comparison container */
.comparison-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Side container */
.side-container {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.side-container.clickable {
  cursor: pointer;
}

.side-container.clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* Emoji grid */
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: 8px;
  max-width: 300px;
  justify-items: center;
}

.emoji-item {
  font-size: 2rem;
  display: block;
  animation: popIn 0.3s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Count display */
.count-display {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  background: #f0f0f0;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ddd;
}

/* VS divider */
.vs-divider {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Answer buttons for step 1 */
.answer-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.answer-btn {
  padding: 1.5rem 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.equal-btn {
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
}

.equal-btn:hover {
  background: linear-gradient(45deg, #45a049, #4CAF50);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.not-equal-btn {
  background: linear-gradient(45deg, #f44336, #d32f2f);
  color: white;
}

.not-equal-btn:hover {
  background: linear-gradient(45deg, #d32f2f, #f44336);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Step 2 instruction */
.step2-instruction {
  font-size: 1.2rem;
  color: white;
  text-align: center;
  margin-top: 1rem;
  background: rgba(255,255,255,0.1);
  padding: 1rem 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Feedback message */
.feedback-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #333;
  font-size: 2rem;
  font-weight: bold;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: feedbackPop 0.5s ease-out;
}

@keyframes feedbackPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  80% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .question-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .comparison-container {
    gap: 2rem;
    flex-direction: column;
  }
  
  .side-container {
    min-width: 250px;
    max-width: 300px;
    padding: 1.5rem;
  }
  
  .vs-divider {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .emoji-item {
    font-size: 1.5rem;
  }
  
  .count-display {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .answer-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .answer-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    min-width: 200px;
  }
  
  .feedback-message {
    font-size: 1.5rem;
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .equal-game {
    padding: 1rem;
  }
  
  .question-title {
    font-size: 1.5rem;
  }
  
  .side-container {
    min-width: 200px;
    max-width: 250px;
    padding: 1rem;
  }
  
  .emoji-grid {
    max-width: 200px;
  }
  
  .emoji-item {
    font-size: 1.2rem;
  }
}