* 

{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html body {
    overflow-y: auto;  /* 垂直方向自动滚动 */
    /* 或者 */
    overflow-y: scroll;  /* 始终显示滚动条 */
}
.glass-text {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);

}


body {
    height: 100vh;
    margin: 0;
    position: relative;
    /* 关键 */
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url("/bg.png") no-repeat center center/cover;

    filter: blur(15px) brightness(0.8);
    /* 后面是暗化*/

    transform: scale(1.1);
    /* 防止模糊后边缘露白 */

    z-index: -1;
}

/* 毛玻璃卡片 */
.card_bg {
    position: absolute;
    width: 400px;
    padding: 40px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    color: white;
    text-align: center;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    transition: 0.4s ease;
}

@keyframes smoothIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);

    animation: smoothIn 0.8s ease 0.2s forwards;
    position: absolute;
    top: 25%;
    left: 3%;

}

/* 悬停动画 */
.card_bg:hover:not(:has(.avatar:hover)) {
    transform: scale(1) translateY(-10px);
}

.avatar:hover {
    transform: translateX(-50%)scale(1.1);
}

.avatar {
    left: 190px;

    transform: translateX(-50%);
    bottom: 200px;
    position: relative;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s ease;
    width: 170px;
    height: 170px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

h1 {
    margin-bottom: 20px;
    font-size: 28px;
}

p {
    font-size: 20px;
    opacity: 0.9;
}