/* === removing default button style ===*/
.logobutton {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
}

/* button styling */
.logobutton {
    --border-right: 6px;
    --text-stroke-color: rgba(255, 255, 255, 0.3);
    --animation-color: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Arial";
    position: relative;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
    background: linear-gradient(45deg,
            rgba(255, 0, 255, 0.3) 0%,
            rgba(0, 255, 255, 0.3) 25%,
            rgba(255, 255, 0, 0.3) 50%,
            rgba(255, 0, 255, 0.3) 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-shift 3s ease infinite, glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.logobutton::before {
    background: linear-gradient(45deg,
            rgba(255, 0, 255, 0.4) 0%,
            rgba(0, 255, 255, 0.4) 50%,
            rgba(255, 255, 0, 0.4) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-shift 4s ease infinite reverse;
    filter: blur(3px);
}

.logobutton::after {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 2.5s ease-in-out infinite;
}

/* this is the text, when you hover on button */
.hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 0.5s;
    -webkit-text-stroke: 1px var(--animation-color);
}

/* hover */
.logobutton:hover .hover-text {
    width: 100%;
    /* 雾状发散效果 */
    background: linear-gradient(to right,
            rgba(119, 83, 10, 0.7),
            rgba(255, 210, 119, 0.7),
            rgba(119, 83, 10, 0.7),
            rgba(119, 83, 10, 0.7),
            rgba(255, 210, 119, 0.7),
            rgba(119, 83, 10, 0.7));

    /* 添加半透明遮罩 */
    --text-stroke-color: rgba(255, 255, 255, 0.5);
    animation-duration: 1.5s, 1s;
}

/* 如果需要更强的雾状效果，可以添加伪元素 */
.logobutton:hover .hover-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(15px);
    z-index: -1;
    border-radius: inherit;
    opacity: 0.7;
    animation: fogPulse 2s infinite alternate;
}
