File size: 4,940 Bytes
01c0a69
 
 
80e9b16
 
01c0a69
 
 
80e9b16
 
01c0a69
 
 
 
 
 
 
80e9b16
 
01c0a69
 
 
 
 
 
80e9b16
 
01c0a69
 
80e9b16
01c0a69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0a557cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@keyframes pulse-glow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.loot-box {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 1000px;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
}

.loot-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.loot-box:hover .loot-box-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

.loot-box-front, .loot-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 2px solid;
}

.loot-box-front {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.loot-box-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
}

.common { border-color: rgba(0, 255, 0, 0.3); box-shadow: 0 0 20px rgba(0, 255, 0, 0.1); }
.rare { border-color: rgba(0, 100, 255, 0.3); box-shadow: 0 0 20px rgba(0, 100, 255, 0.1); }
.epic { border-color: rgba(150, 0, 255, 0.3); box-shadow: 0 0 20px rgba(150, 0, 255, 0.1); }
.legendary { border-color: rgba(255, 140, 0, 0.5); box-shadow: 0 0 30px rgba(255, 140, 0, 0.2); }

.loot-box.selected {
    animation: pulse-glow 1.5s infinite;
    transform: scale(1.15);
    z-index: 10;
}

.loot-box.selected.legendary {
    box-shadow: 0 0 50px rgba(255, 140, 0, 0.5);
}

.loot-box-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: inherit;
    border-radius: 8px 8px 0 0;
    transform-origin: bottom;
    transition: transform 0.5s;
}

.particles {
    background-image: radial-gradient(ellipse at center, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    background-size: 600px 600px;
    background-position: 0 0;
    animation: particle-move 20s infinite linear;
}

@keyframes particle-move {
    100% { background-position: 600px 600px; }
}

.light-beam {
    animation: beam-pulse 8s infinite alternate;
}

.light-beam-2 {
    animation: beam-pulse 12s infinite alternate-reverse;
}

@keyframes beam-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

.prize-reveal {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.8);
    animation: prize-float 3s ease-in-out infinite;
}

@keyframes prize-float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

.motion-blur {
    filter: blur(3px);
    opacity: 0.7;
}

.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
    opacity: 0;
}
.energy-burst {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.8), transparent 70%);
    transform: scale(0);
    opacity: 0;
}

/* Multiplier Track Styles */
.multiplier-track {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: 40px;
}

.multiplier-slider {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.multiplier-pill {
    min-width: 80px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 
                inset 0 0 10px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(-5px);
}

.multiplier-pill:hover {
    background: rgba(255, 140, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.multiplier-selection-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 50px;
    border: 2px solid #FF8C00;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5),
                inset 0 0 10px rgba(255, 140, 0, 0.3);
    pointer-events: none;
}

.multiplier-slider.blurred .multiplier-pill:not(.selected) {
    filter: blur(1.5px);
    opacity: 0.7;
}

.multiplier-pill.selected {
    background: rgba(255, 140, 0, 0.15);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
    transform: scale(1.1) translateY(-5px);
    z-index: 10;
}