-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfire-gem-orb.css
More file actions
167 lines (139 loc) · 4.55 KB
/
Copy pathfire-gem-orb.css
File metadata and controls
167 lines (139 loc) · 4.55 KB
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
/*
avis fire-gem-orb.css
*/
/* FIXED → RELATIVE (iframe-safe) */
/* flex → block (prevents viewport centering override) */
.scene {
position: relative;
width: 100%;
height: 100%;
transform-style: preserve-3d;
display: block;
}
/* ============================================================
ATOMIC NUCLEUS (FIREBALL CORE)
============================================================ */
.fireball {
position: absolute;
left: 118px;
top: 10px;
width: 45px;
height: 45px;
border-radius: 50%;
opacity: .45;
background: radial-gradient(circle, #ffffff 0%, #ff9800 40%, #ff5722 70%, #7a1b00 100%);
box-shadow:
0 0 20px #ff9800,
0 0 40px #ff5722,
0 0 80px rgba(255,180,0,0.6);
transform-style: preserve-3d;
animation: nucleusVibration 0.3s ease-in-out infinite alternate;
}
/* ============================================================
ATOM ORBITS — FIXED ALIGNMENT (NO VIEWPORT CALC)
============================================================ */
.atom-orbit {
position: absolute;
/* PERFECT CENTER ALIGNMENT WITH FIREBALL */
left: 55px;
top: -61px;
opacity: .45;
width: 170px;
height: 170px;
border-radius: 50%;
pointer-events: none;
transform-style: preserve-3d;
border: 1px solid rgba(0, 243, 255, 0.08);
}
@keyframes nucleusVibration {
0% { transform: scale(0.96) translate(0.5px, -0.5px); }
100% { transform: scale(1.04) translate(-0.5px, 0.5px); }
}
/* ============================================================
QUANTUM ATOMIC TRACKS & RIG MECHANICAL ENGINE
============================================================ */
.orbit-1 { transform: rotateX(75deg) rotateY(25deg); }
.orbit-1 .spin-rig { animation: atomicSpin 1.4s linear infinite; }
.orbit-2 { transform: rotateX(60deg) rotateY(-40deg); border-color: rgba(189, 0, 255, 0.08); }
.orbit-2 .spin-rig { animation: atomicSpinReverse 2.0s linear infinite; }
.orbit-3 { transform: rotateX(20deg) rotateY(70deg); border-color: rgba(0, 255, 102, 0.08); }
.orbit-3 .spin-rig { animation: atomicSpin 1.7s linear infinite; }
.spin-rig {
width: 100%;
height: 100%;
transform-style: preserve-3d;
}
@keyframes atomicSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes atomicSpinReverse {
0% { transform: rotate(360deg); }
100% { transform: rotate(0deg); }
}
/* ============================================================
ELECTRON PARTICLE ASSETS
============================================================ */
.electron {
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
transform: translate(-50%, -50%);
}
.pos-top { top: 0; left: 50%; }
.pos-bottom { bottom: 0; left: 50%; }
.pos-left { left: 0; top: 50%; }
.pos-right { right: 0; top: 50%; }
.orbit-1 .electron {
background: #ffff00;
box-shadow: 0 0 12px #00f3ff, 0 0 20px #ffffff;
}
.orbit-2 .electron {
background: #ffff00;
box-shadow: 0 0 12px #bd00ff, 0 0 20px #ffffff;
}
.orbit-3 .electron {
background: #ffff00;
box-shadow: 0 0 12px #00ff66, 0 0 20px #ffffff;
}
/* ============================================================
RK‑RING ENGINE
============================================================ */
.fireball::before,
.fireball::after,
.fireball .rk-ring3 {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
border-radius: 50%;
pointer-events: none;
opacity: 0;
}
.fireball::before {
animation: rkRing1 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.fireball::after {
animation: rkRing2 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
animation-delay: 0.6s;
}
.fireball .rk-ring3 {
animation: rkRing3 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
animation-delay: 1.2s;
}
@keyframes rkRing1 {
0% { transform: scale(1); opacity: 0.9; box-shadow: 0 0 6px #ffffff; }
100% { transform: scale(2.5); opacity: 0; box-shadow: 0 0 25px #ff9800; }
}
@keyframes rkRing2 {
0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 6px #ff9800; }
100% { transform: scale(3.3); opacity: 0; box-shadow: 0 0 30px #ff5722; }
}
@keyframes rkRing3 {
0% { transform: scale(1); opacity: 0.7; box-shadow: 0 0 6px #ff5722; }
100% { transform: scale(4.2); opacity: 0; box-shadow: 0 0 40px #7a1b00; }
}