.GoldBtn {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
    background-size: 150%;
    background-position: left;
    color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 1s;
    overflow: hidden;
}

.GoldBtn::before {
    position: absolute;
    content: attr(data-text);
    /* 使用 data 属性 */
    color: #ffd277;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 97%;
    height: 90%;
    border-radius: 8px;
    transition-duration: 1s;
    background-color: rgba(0, 0, 0, 0.842);
    background-size: 150%;
}

.GoldBtn:hover {
    background-position: right;
    transition-duration: 1s;
}

.GoldBtn:hover::before {
    background-position: right;
    transition-duration: 1s;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
}

.GoldBtn:active {
    transform: scale(0.95);
}

.GoldBtn2 {
    width: 200px;
    height: 40px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8em;
    color: #fcf6ba;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition-duration: 3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.144);
    background-size: 200% 200%;
    margin: 0 auto;
}

.logoIcon path {
    fill: rgb(121, 103, 3);
}

.GoldBtn2:hover {
    transform: scale(0.95);
    transition-duration: 3s;
    animation: gradient 5s ease infinite;
    background-position: right;
}
