/* 基本样式重置 */
video {
    opacity: 1;

    margin-top: 20px;
    width: 100%;
    height: auto;
    border-radius: 35px;
    /* 或者使用具体的像素值，如 56.25% (如果视频原始比例是16:9) */
    object-fit: cover;
    /* 让视频填满容器，可能会裁剪视频的一部分 */
    /* 或者使用 object-fit: contain; 来保持视频的宽高比，可能会有黑边 */
    position: relative;
    z-index: 9999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 背景渐变动画 */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #3498db, #9b59b6, #3498db);
    background-size: 400% 400%;
    animation: gradientBG 150s ease infinite;
    height: 100vh;
    color: white;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

canvas#liquid-glass {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

/* 容器布局 */
.container {

    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 10vh;

}

.ab {
    display: flex;
    justify-content: center;
    align-items: center;
     border-radius: 20px;
}

.box {
    position: relative;
    width: 80vw;
    height: 120px;
    background: rgba(0, 0, 0, 0.8);

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 20px;
    z-index: 1;
}

.box h2 {
    color: white;
    font-size: 25px;
    text-shadow: 1px 1px pink;
    z-index: 1;
}

.box::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 220%;
    background: linear-gradient(#00ccff, #d500f9);
     border-radius: 20px;
}

.box::after {
    content: "";
    position: absolute;
    background: #0e1538;
    inset: 5px;
    border-radius: 20px;
}

.box::before {
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: :rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Canvas元素样式 */