*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.welcome-message {
    font-size: 24px; /* 可选 */
    font-weight: bold; /* 可选 */
    background-image: linear-gradient(90deg, #ffffff, #683ce1); /* 水平渐变：红 → 黄 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* 确保兼容性 */

    text-align: center;
    z-index: 2;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
}

h1 {
    font-size: 2em;
    margin-bottom: 0.2em;
}

p {
    font-size: 1.2em;
}

.buttons-sq {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

/* 基础按钮样式 */
.button-sq {
    width: 350px;
    height: 50px;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    clip-path: polygon(
            0% 0%,       /* 左上 */
            100% 0%,     /* 右上 */
            80% 100%,    /* 右下 */
            20% 100%     /* 左下 */
    );
}

.purple-sq {
    background: linear-gradient(to bottom, rgba(17, 1, 27, 0), rgba(115, 0, 202, 0.93));
}

.button-sq:hover {
    transform: scale(1.05);
}

.button-sq::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0.5;
    z-index: -1;
    clip-path: inherit;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(10px);
    }
}

.button-sq:active {
    transform: scale(0.98) !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}