.btn-no-wrap {
    white-space: nowrap;
    min-width: fit-content;
}

.hover-firework {
    position: relative;
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

.hover-firework::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 0, 0.8);
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
}

.hover-firework:hover::before {
    animation: firework 1s ease-out forwards;
}

@keyframes firework {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(20);
    }
}

.hover-firework .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
}

.hover-firework:hover .particle {
    animation: particle 1.5s ease-out forwards;
}

@keyframes particle {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
    }
}

/* 生成多个粒子并设置不同的颜色、位置和动画延迟 */
.hover-firework .particle:nth-child(1) {
    background-color: #ff0000;
    top: 50%;
    left: 50%;
    animation-delay: 0.1s;
    transform-origin: 50% 50%;
    animation-name: particle-move-1;
}

.hover-firework .particle:nth-child(2) {
    background-color: #00ff00;
    top: 50%;
    left: 50%;
    animation-delay: 0.2s;
    transform-origin: 50% 50%;
    animation-name: particle-move-2;
}

.hover-firework .particle:nth-child(3) {
    background-color: #0000ff;
    top: 50%;
    left: 50%;
    animation-delay: 0.3s;
    transform-origin: 50% 50%;
    animation-name: particle-move-3;
}

/* 可以继续添加更多的粒子 */

@keyframes particle-move-1 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(20) rotate(30deg) translate(100px, 0);
    }
}

@keyframes particle-move-2 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(20) rotate(60deg) translate(100px, 0);
    }
}

@keyframes particle-move-3 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(20) rotate(90deg) translate(100px, 0);
    }
}

.collaboration-button_highlightBackground__kh_oj {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    background: inherit;
    border-radius: 6px;
    background: linear-gradient(-90deg,#007cf0,#00dfd8,#ff0080,#007cf0);
    background-size: 400% 100%;
    border: none;
    padding: 0;
    margin: 0;
    animation: collaboration-button_backgroundAnim__BC9W2 8s ease-in-out infinite
}

@keyframes collaboration-button_backgroundAnim__BC9W2 {
    50% {
        background-position: 140% 50%;
        transform: skew(-2deg)
    }
}

.collaboration-button_highlightBackground__kh_oj:after {
    content: "";
    position: absolute;
    background-size: inherit;
    background-image: inherit;
    animation: inherit;
    left: 0;
    right: 0;
    top: 2px;
    height: 100%;
    filter: blur(.5rem)
}


body {
    margin: 0;
}

#container {
    position: absolute;
    right: 11%;
    top: 38%;
    display: none;
}

@media (min-width: 1615px) {
    #container {
        position: absolute;
        right: 11%;
        top: 38%;
        display:block;
    }
}
  

canvas {
    position: absolute;
    background-color: #ffffff00;
}