

/* 定义模块 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: sans-serif;
    height: 100%;
    width: 100%;
}

/* 背景模糊效果 */
.background {
    background-image: url('image/background.webp');
    background-size: cover;
    background-position: center center;
    filter: blur(12px);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1); /* 通过透明背景颜色遮盖边缘 */
    z-index: -2; /* 放在背景层之下 */
}


/* 右侧内容区 */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

/* 内容区域的卡片效果 */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 玻璃卡片效果 */
.card {
    background: rgba(255, 255, 255, 0.2); /* 半透明背景 */
    backdrop-filter: blur(12px); /* 模糊背景 */
    border-radius: 15px;
    padding: 40px;
    max-width: 720px;
    width: 100%;
    //width: 640px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-out;
}

.card h1 {
    margin: 20px 0;
    font-size: 32px;
    color: #fff;
}

.card p {
    font-size: 16px;
    color: #fff;
}

.card .index_nav {
    list-style: none;
    margin-top: 20px;
}

.card .index_nav li {
    display: inline-block;
    margin: 6px;
}

.card .index_nav a {
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card .index_nav a:hover {
    background-color: #cb3737;
    color: white;
}

/* 头像旋转效果 */
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    transition: transform 0.8s cubic-bezier(0.42, 0, 0.58, 1);
}

.avatar.rotate {
    transform: rotate(360deg);
}

/* 版权信息 */
.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

/* 媒体查询：对于小屏幕进行优化 */
@media (max-width: 768px) {
    .card {
        padding: 30px;
    }

    .card h1 {
        font-size: 28px;
    }

    .card p {
        font-size: 14px;
    }
}
