File size: 2,910 Bytes
933256c
 
 
 
 
 
 
 
ffceea7
 
 
697e0da
ffceea7
 
 
933256c
697e0da
933256c
 
 
 
 
 
697e0da
 
933256c
 
 
 
697e0da
 
 
 
 
 
 
933256c
 
 
 
ffceea7
 
697e0da
 
933256c
 
 
697e0da
 
933256c
 
 
 
 
697e0da
 
933256c
697e0da
ffceea7
 
 
697e0da
 
 
 
933256c
 
697e0da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ffceea7
697e0da
 
 
933256c
 
 
697e0da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
933256c
ffceea7
 
697e0da
 
ffceea7
 
 
 
 
697e0da
ffceea7
 
 
 
 
 
 
 
 
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
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
}

#game-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

#info {
    font-size: 18px;
    margin-bottom: 20px;
}

#coin {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 72px;
    color: #333;
    background-color: #ffd700;
    transition: transform 0.3s ease;
}

#coin:hover {
    transform: scale(1.05);
}

#shop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.shop-item {
    position: relative;
    width: 80px;
    text-align: center;
    cursor: pointer;
}

.shop-coin {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.coin-name {
    font-size: 12px;
    margin-top: 5px;
}

.coin-tooltip {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
    width: 150px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    font-size: 12px;
    text-align: left;
}

.shop-item:hover .coin-tooltip {
    display: block;
}

#generate-coin {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

#leaderboard {
    margin-top: 20px;
}

#leaderboard table {
    width: 100%;
    border-collapse: collapse;
}

#leaderboard th, #leaderboard td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#leaderboard th {
    background-color: #f2f2f2;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
}

#initials {
    margin: 10px 0;
    padding: 5px;
    width: 50px;
    text-align: center;
    font-size: 18px;
}

#submit-score, #play-again {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
}

#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.loading-message {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}