game/2d/gameplay/milestoneoverlay.razor.scss
root {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
pointer-events: none;
z-index: 200;
overflow: hidden;
pointer-events: all;
}
.ms-backdrop {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-color: rgba(4, 1, 13, 0.80);
display: flex;
align-items: center;
justify-content: center;
pointer-events: all;
z-index: 200;
animation: ms-bg-in 0.4s ease-out both;
}
@keyframes ms-bg-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
.ms-box {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
padding: 48px 64px;
background-color: rgba(12, 5, 32, 0.97);
border: 1.5px solid rgba(167,139,250,0.25);
border-radius: 24px;
width: 600px;
pointer-events: all;
animation: ms-box-in 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes ms-box-in {
0% { opacity: 0; transform: scale(0.88) translateY(20px); }
100% { opacity: 1; transform: scale(1.0) translateY(0px); }
}
.ms-icon {
font-size: 64px;
animation: ms-icon-pulse 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes ms-icon-pulse {
0% { transform: scale(0.3); opacity: 0; }
60% { transform: scale(1.2); opacity: 1; }
100% { transform: scale(1.0); opacity: 1; }
}
.ms-subtitle {
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
text-align: center;
justify-content: center;
}
.ms-title {
font-size: 42px;
font-weight: 900;
color: white;
justify-content: center;
text-align: center;
}
.ms-desc {
font-size: 16px;
font-weight: 600;
color: rgba(255,255,255,0.60);
width: 440px;
justify-content: center;
text-align: center;
}
.ms-progress-track {
width: 100%;
height: 3px;
background-color: rgba(255,255,255,0.08);
border-radius: 2px;
overflow: hidden;
margin-top: 8px;
}
.ms-progress-fill {
width: 100%;
height: 100%;
background-color: rgba(167,139,250,0.60);
border-radius: 2px;
transform-origin: left center;
animation: ms-progress linear forwards;
}
@keyframes ms-progress {
0% { transform: scaleX(1); }
100% { transform: scaleX(0); }
}
.ms-hint {
font-size: 14px;
font-weight: 700;
color: rgba(255, 255, 255, 0.74);
text-transform: uppercase;
animation: ms-hint-blink 1.2s ease-in-out infinite alternate;
}
@keyframes ms-hint-blink {
0% { opacity: 0.15; }
100% { opacity: 0.45; }
}