File size: 3,551 Bytes
34df658
 
 
cd1634f
 
34df658
 
 
 
cd1634f
56de2a9
34df658
 
 
 
 
 
 
 
 
 
cd1634f
 
34df658
 
 
 
 
 
 
cd1634f
 
34df658
 
 
 
 
 
 
 
 
cd1634f
34df658
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a748f6
 
 
0e28617
 
2a748f6
 
 
0e28617
 
 
 
2a748f6
 
0e28617
 
 
 
 
 
 
 
2a748f6
 
 
 
 
0e28617
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a748f6
 
 
0e28617
 
2a748f6
0e28617
 
 
 
2a748f6
 
 
 
0e28617
2a748f6
0e28617
2a748f6
 
 
 
 
 
 
0e28617
2a748f6
0e28617
2a748f6
 
0e28617
 
 
 
 
 
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
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px currentColor; }
    50% { box-shadow: 0 0 25px currentColor; }
}

@keyframes open-box {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
    100% { transform: translateY(0) scale(1.1); }
}

@keyframes particle-burst {
    0% { 
        opacity: 0;
        transform: scale(0.5) translate(0, 0);
    }
    20% { opacity: 1; }
    100% { 
        opacity: 0;
        transform: scale(2) translate(var(--tx), var(--ty));
    }
}

.loot-box {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.loot-box::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    background: linear-gradient(45deg, currentColor, transparent);
    z-index: -1;
    opacity: 0.7;
    filter: blur(8px);
}

.loot-box.common { color: #00FFAA; }
.loot-box.rare { color: #00AAFF; }
.loot-box.epic { color: #AA00FF; }
.loot-box.legendary { color: #FF8C00; }

.loot-box.selected {
    animation: pulse-glow 1.5s infinite, open-box 0.8s forwards;
    z-index: 20;
}

.coin-particle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #FFD700 30%, #FF8C00 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 30;
    box-shadow: 0 0 8px #FF8C00;
}
.motion-blur.active {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.multiplier-pill {
    position: relative;
    min-width: 96px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10,10,10,0.7), rgba(30,30,30,0.7));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255,215,0,0.15);
    color: #FFD700;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
    box-shadow: 
        0 0 20px rgba(255,215,0,0.1),
        inset 0 1px 1px rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 500px;
}

.multiplier-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,215,0,0.05), transparent);
    pointer-events: none;
}

.multiplier-pill::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,215,0,0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiplier-pill:hover::after {
    opacity: 1;
}

.multiplier-pill.selected {
    transform: scale(1.15);
    background: linear-gradient(135deg, rgba(30,30,30,0.9), rgba(10,10,10,0.9));
    color: #FF8C00;
    border-color: rgba(255,140,0,0.5);
    box-shadow: 
        0 0 40px rgba(255,140,0,0.3),
        inset 0 0 10px rgba(255,215,0,0.2);
    z-index: 10;
}

.multiplier-pill.blurred {
    opacity: 0.4;
    filter: blur(2px);
    transform: scale(0.85);
}

.multiplier-track-bg {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
    z-index: -1;
}

@keyframes multiplier-glow {
    0% { box-shadow: 0 0 15px rgba(255,215,0,0.2); }
    50% { box-shadow: 0 0 30px rgba(255,215,0,0.4); }
    100% { box-shadow: 0 0 15px rgba(255,215,0,0.2); }
}