        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            height: 100vh;
            font-family: -apple-system, BlinkMacSystemFont, sans-serif;
            /* background: url('https://picsum.photos/1920/1080') no-repeat center/cover; */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* 容器 */
        .container {
            width: 90%;
            max-width: 1100px;
        }

        /* 通用玻璃卡片 */
        .glass {
            position: relative;
            border-radius: 20px;
            padding: 20px;
            color: #fff;

            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(8px);

            border: 1px solid rgba(255, 255, 255, 0.25);

            box-shadow:
                0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.4),
                inset 0 -1px 1px rgba(255, 255, 255, 0.1);

            overflow: hidden;
        }

        /* 高光层 */
        .glass::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(130deg,
                    rgba(255, 255, 255, 0.35),
                    transparent 40%);
            opacity: 0.5;
            pointer-events: none;
        }

/* ===== 公告卡片 ===== */
.notice-box {
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

/* 文本 */
.notice-text {
    white-space: nowrap;
    display: inline-block;

    font-size: 14px;
    opacity: 0.9;
}

/* 滚动动画 */
@keyframes noticeScroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

        /* 顶部个人卡片 */
        .profile {
            display: flex;
            flex-direction: column; /* 纵向 */
            gap: 20px;
            margin-bottom: 30px;
        }

        .profile-top {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            /* background: url('https://picsum.photos/100') center/cover; */
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .name {
            font-size: 22px;
            font-weight: bold;
        }

        .desc {
            font-size: 14px;
            opacity: 0.8;
        }

        /* 卡片网格 */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        /* 网站卡片 */
.card {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

        .card:hover {
            transform: translateY(-5px) scale(1.02);
        }

.card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* 图标 */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0; /* 防止被压缩 */
    border: 1px solid rgba(255,255,255,0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px; /* 小一点更紧凑 */
}

.card-desc {
    font-size: 13px;
    opacity: 0.8;
}


/* ========= 通用弹窗 ========= */
/* 弹窗背景 */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: rgba(0,0,0,0.4); */
    /* background: rgba(0,0,0,0.0); */
    background: none;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
}

/* 弹窗背景打开状态 */
.modal.show {
    visibility: visible;
    pointer-events: auto;
    background: rgba(0,0,0,0.4);
}

.modal-box {
    width: 320px;
    position: relative;
    transform: scale(0.85);
    opacity: 0;
    transition:
        transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28),
        opacity 0.2s ease;
}

/* 打开状态 */
.modal.show .modal-box {
    transform: scale(1);
    opacity: 1;
}

#modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.8;
}

#modal-close:hover {
    opacity: 1;
}


/* 音乐按钮 */
#musicBtn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    border-radius: 50%;
}

/* 播放时旋转 */
#musicBtn.playing {
    animation: rotate 6s linear infinite;
}

/* 旋转动画 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========= 音乐播放器 ========= */
/* 封面 */
.music-cover {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255,255,255,0.3);
    animation: rotate 10s linear infinite;
    animation-play-state: paused; /* 默认暂停 */
}

/* 封面旋转动画 */
.music-cover.playing {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

        /* 头部 */
        .music-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        /* 时间 */
        .music-time {
            font-size: 12px;
            opacity: 0.8;
            margin-bottom: 10px;
        }

/* 进度条容器 */
.progress {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

/* 已播放进度 */
.progress-bar {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 10px;
    transition: width 0.2s linear;
}

/* 圆形拖点 */
.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
    pointer-events: none;
}

        /* 控制 */
        .controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 10px;
        }

        .controls button {
            background: rgba(255,255,255,0.2);
            border: none;
            color: #fff;
            padding: 6px 10px;
            border-radius: 10px;
            cursor: pointer;
        }

        /* 播放列表最多8条高度（超出滚动） */
        .playlist { 
            max-height: 260px;
            overflow-y: auto;
        }

        .playlist div {
            padding: 5px;
            cursor: pointer;
        }

        .playlist .active {
            color: #00eaff;
        }

/* ========= 联系方式容器 ========= */
.contacts {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;

    /* margin-top: 15px; */
}

/* 单个按钮 */
.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;
    border-radius: 12px;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);

    cursor: pointer;
    transition: 0.3s;
}

/* hover效果 */
.contact-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* 图标 */
.contact-icon {
    width: 16px;
    height: 16px;

    background-size: cover;
    background-position: center;
}

/* ========= 底部信息 ========= */
.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    /* opacity: 0.8; */
    color: rgba(255, 255, 255, 0.8);
}

/* 每一行 */
.footer-line {
    margin: 5px 0;
}

.icp-link {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
}

.icp-link:hover {
    color: #00eaff !important;
    text-decoration: underline;
}


