* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #fff;
    padding: 70px 16px 30px;
    overflow-x: hidden;
}

/* 模糊背景 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("images/bj.png") center / cover no-repeat;
    filter: blur(6px) brightness(0.75);
    transform: scale(1.04);
    z-index: -1;
}

/* 左上角时钟 */
.clock-box {
    position: fixed;
    top: 14px;
    left: 14px;
    background: rgba(15, 25, 45, 0.75);
    border: 1px solid rgba(80, 160, 255, 0.6);
    border-radius: 14px;
    padding: 10px 14px;
    text-align: center;
    z-index: 999;
    box-shadow:
        0 0 12px rgba(80, 160, 255, 0.4),
        0 0 26px rgba(255, 210, 60, 0.2);
    backdrop-filter: blur(6px);
}

.clock-time {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e6f2ff;
    text-shadow: 0 0 8px rgba(80, 160, 255, 0.8);
    font-variant-numeric: tabular-nums;
}

.clock-date {
    font-size: 12px;
    color: #b4d8ff;
    margin-top: 2px;
    letter-spacing: 1px;
}

.clock-timezone {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 11px;
    color: #cce0ff;
    background: rgba(80, 160, 255, 0.18);
    border: 1px solid rgba(80, 160, 255, 0.45);
    border-radius: 999px;
}

/* 主体容器 */
.container {
    display: flex;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 680px;
    background: rgba(0, 12, 30, 0.62);
    backdrop-filter: blur(9px);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 220, 80, 0.25);
}

/* 头像 */
.avatar {
    text-align: center;
    margin-bottom: 14px;
}

.avatar img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 215, 70, 0.45);
}

/* 名字 */
h1 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 18px;
    color: #ffe270;
}

/* 社交按钮组 */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.btn {
    padding: 9px 18px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.22s;
    border: none;
}

.btn:hover {
    transform: scale(1.04);
    opacity: 0.92;
}

.wechat {
    background: #07c160;
}

.qq {
    background: #12b7f5;
}

.furchannel {
    background: #ffc820;
    color: #111;
}

.rongshou {
    background: #ff8822;
}

/* 简介 */
.intro {
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 28px;
}

.intro p {
    margin-bottom: 8px;
}

/* 图片展示 */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.gallery-img:hover {
    opacity: 0.85;
}

/* 灯箱放大 */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top:16px;
    right:24px;
    font-size:36px;
    color:#fff;
    cursor:pointer;
}

/* 页脚 */
.footer {
    text-align: center;
    font-size: 13px;
    color: #cccccc;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 220, 80, 0.15);
}

/* 手机适配 */
@media (max-width: 480px) {
    .clock-box {
        padding: 8px 12px;
    }

    .clock-time {
        font-size: 18px;
    }

    .clock-date {
        font-size: 11px;
    }

    .card {
        padding: 18px;
    }

    .avatar img {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 22px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 14px;
    }

    .footer {
        font-size: 12px;
    }
}
