File size: 4,706 Bytes
cbd2f7a
9a0ea9d
6a073e2
 
 
 
 
cbd2f7a
 
 
9a0ea9d
 
e92b0de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a073e2
cbd2f7a
6a073e2
cbd2f7a
b7bb800
cbd2f7a
dc42002
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b109e1f
dc42002
 
 
 
 
 
b109e1f
 
 
 
dc42002
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a0ea9d
cbd2f7a
6a073e2
 
 
 
9a0ea9d
 
6a073e2
 
 
 
 
 
9a0ea9d
 
6a073e2
 
 
 
 
9a0ea9d
6a073e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e92b0de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a073e2
 
 
2ec36d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6a073e2
2ec36d9
 
6a073e2
2ec36d9
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

body {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    background-color: #0f0f1a;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    flex: 1;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
}

.about-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.game-instructions {
    padding-left: 1.5rem;
}

.game-instructions li {
    margin-bottom: 0.8rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
    color: #69f0ae;
    margin-bottom: 0.5rem;
}

.about-section img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid #ff6b6b;
}
#game-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #1a1a2e;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

#game-ui {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    pointer-events: none;
    z-index: 10;
}
#score-display, #time-display {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#time-display.warning {
    color: #ff0000;
    animation: pulse 0.5s infinite;
}
#leaderboard {
    background: rgba(26, 26, 46, 0.8);
    padding: 1rem;
    border-radius: 5px;
    max-width: 200px;
    font-size: 0.8rem;
}

#leaderboard h3 {
    margin: 0 0 0.5rem 0;
    color: #ff6b6b;
    font-size: 0.9rem;
}

.player-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.player-row.you {
    color: #69f0ae;
    font-weight: bold;
}

.wormate-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 20;
}

.wormate-btn:hover {
    background: #ff5252;
    transform: translate(-50%, -50%) scale(1.05);
}
=======
#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

#game-ui {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    pointer-events: none;
}

#score-display {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#leaderboard {
    background: rgba(26, 26, 46, 0.8);
    padding: 1rem;
    border-radius: 5px;
    max-width: 200px;
}

#leaderboard h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    color: #ff6b6b;
}

.player-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
}

.player-row.you {
    color: #69f0ae;
}

.wormate-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.wormate-btn:hover {
    background: #ff5252;
    transform: translate(-50%, -50%) scale(1.05);
}
/* Info Sections */
.info-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.info-section h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.info-link {
    display: inline-block;
    margin-top: 1rem;
    color: #69f0ae;
    text-decoration: none;
    transition: all 0.3s;
}

.info-link:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

/* Animations */
@keyframes pulse {
    0% { 
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
    50% { 
        transform: scale(1.2);
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }
    100% { 
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}
.time-critical {
    color: #ff0000 !important;
    animation: pulse 0.5s infinite;
}
.time-warning {
    color: #ff6b6b;
    animation: pulse 1s infinite;
}