/* ===================== 全局 ===================== */
* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

body {
    overflow-x: hidden;
}

/* ===================== 容器 ===================== */
#box {
    width: 1200px;
    height: 100px;
    margin: 0 auto;
    padding-top: 5%;
}

/* ===================== 个人资料卡 ===================== */
.meBox {
    float: left;
    width: 20rem;
    height: 25rem;
    background-color: rgba(255, 255, 255, 0.7); /* 调低透明度，更淡 */
    margin-top: 100px;
    border-radius: 2%;
    transition: all 0.3s;
    text-align: center;
    backdrop-filter: blur(6px); /* 可选，增强文字可读性 */
}



.meBox:hover {
    width: 21rem;
    height: 26rem;
    margin: 95px 0 0 -5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* ===================== 视频头像 ===================== */
.headPhoto {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    top: -15%;
    left: 50%;
    margin-left: -4rem;
    transition: all 0.3s ease;
    z-index: 2;
}

/* 光环效果 */
.headPhoto::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f0ff, #ff00c8, #11ff00, #ff0000);
    background-size: 300% 300%;
    filter: blur(5px);
    animation: neonPulse 4s ease-in-out infinite;
    z-index: -1;
    transition: all 0.3s ease;
}

@keyframes neonPulse {
    0% {
        background-position: 0% 50%;
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 247, 255, 0.5), 0 0 20px rgba(255, 0, 149, 0.4);
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
        box-shadow: 0 0 25px rgba(0, 247, 255, 0.9), 0 0 45px rgba(255, 0, 149, 0.8);
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 247, 255, 0.5), 0 0 20px rgba(255, 0, 149, 0.4);
    }
}

/* hover 光环强化 */
.headPhoto:hover::before {
    filter: blur(10px);
    opacity: 1;
    box-shadow: 0 0 35px rgba(0, 247, 255, 1), 0 0 60px rgba(255, 0, 149, 1);
    transform: scale(1.1);
}

/* 视频头像本体 */
.headVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.headPhoto:hover .headVideo {
    transform: scale(1.05);
}

/* ===================== 标题 ===================== */
.meBox-title {
    width: auto;
    margin: 0 auto;
}

@keyframes typing {
    from { width: 0; }
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

.meBox-title p {
    font-size: 1.2rem;
    border-right: .1em solid;
    width: 12ch;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(20, end), blink-caret .3s step-end infinite alternate;
    margin: -30px 0 0 90px;
    transition: all 0.3s;
}

.meBox:hover .meBox-title p {
    font-size: 1.3rem;
}

.meBox-title .fg {
    width: 80%;
    height: 2px;
    background-image: linear-gradient(to left, #731dc1, rgba(104, 94, 94, 0.42), #ff00cf, #ffffff);
    margin: 5% 0 0 10%;
}

/* ===================== 文本 ===================== */
.meBox-text {
    width: 80%;
    height: 45%;
    overflow: hidden;
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    animation-name: meBox-text;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    margin: 5% 0 0 10%;
    transition: all 0.3s;
}

.meBox-text p { margin-top: 5px; }

.meBox:hover .meBox-text { font-size: 1.05rem; }

@keyframes meBox-text {
    0% { transform: translateY(50px); color: #ffffff; }
    100% { transform: translateY(0); color: rgba(48, 44, 44, 0.42); }
}

/* ===================== 音乐播放器 ===================== */
.meBox-Player {
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

.meBox-Player audio {
    width: 80%;
    outline: none;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
}


/* ===================== 伪终端 ===================== */
#cmdBox { width: 710px; height: 550px; float: right; }

.cmd {
    width: 600px;
    height: 400px;
    border-radius: 10px 10px 5px 5px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7); /* 更淡透明 */
    backdrop-filter: blur(6px); /* 背景视频轻微模糊 */
    transition: all 0.3s;
    font-size: 14px;
    color: rgb(88, 89, 92);
    position: relative;
    top: 0;
    left: 0;
}


.cmd:hover { width: 610px; height: 410px; box-shadow: 0 0 10px rgba(0,0,0,0.4); margin:-5px 0 0 -5px; z-index:1; }

.cmd .title { width:100%; height:25px; background-image: linear-gradient(to top, rgba(255, 255, 255, 0.53), rgba(0, 0, 0, 0.09)); font-size:14px; line-height:25px; }

.cmd .title span { display:inline-block; width:70%; text-align:center; }

.cmd .click { margin-left:10px; float:left; }

.cmd .click div { width:10px; height:10px; border-radius:50%; margin:8px 0 0 10px; float:left; }

.cmd .click .red { background-color:#ff1b22; box-shadow:0 0 1px #ff1b22; }
.cmd .click .red:hover { background-color:#ff6268; box-shadow:0 0 3px #ff1b22; }

.cmd .click .yellow { background-color:#ffaf00; box-shadow:0 0 1px #ffaf00; }
.cmd .click .yellow:hover { background-color:#ffd373; box-shadow:0 0 3px #ffaf00; }

.cmd .click .green { background-color:#00931a; box-shadow:0 0 1px #00931a; }
.cmd .click .green:hover { background-color:rgb(0,196,36); box-shadow:0 0 3px #00931a; }

.cmdText { padding-top:10px; padding-left:15px; }
/* ===================== 页脚 ===================== */
#footer {
    width:100%;
    color: rgba(255, 255, 255, 0.35);
    float:left;
    text-align:center;
    position:fixed;
    bottom:0;
    margin-bottom:30px;
}
#footer a { text-decoration:none; color: rgba(255, 255, 255, 0.32); }
#footer a:hover { color: rgba(218, 6, 6, 0.18); }

/* ===================== 响应式 ===================== */
@media screen and (max-width:1250px) {
    #box { width:100%; }
    .meBox { margin-left:3%; }
    .meBox:hover { width:21rem; height:26rem; margin:95px 0 0 2.5%; }
    #cmdBox { margin-right:3%; }
}

@media screen and (max-width:1120px) {
    .meBox { float:none; margin:100px auto 100px; }
    .meBox:hover { width:20rem; height:25rem; margin:105px auto 100px; }
    .meBox:hover .meBox-Button a { width:158px; height:50px; margin-top:13px; }
    .meBox:hover .meBox-title p { font-size:1.2rem; }
    .meBox:hover .headPhoto { width:8rem; height:8rem; margin:-0.5rem 0 0 -4rem; }
    #cmdBox { float:none; margin:0 auto 100px; }
}

@media screen and (max-width:768px) {
    .meBox { width:300px; }
    .meBox:hover { width:300px; height:25rem; margin:100px auto 100px; }
    .meBox:hover .meBox-Button a { width:150px; margin-top:13px; }
    .meBox:hover .meBox-title p { font-size:1.2rem; }
    .meBox:hover .headPhoto { width:8rem; height:8rem; margin:-0.5rem 0 0 -4rem; }
    .meBox:hover .meBox-text { font-size:1rem; }
    .meBox-Button a { width:150px; }
    #cmdBox { width:100%; height:850px; }
    .cmd { width:90%; margin:0 auto; }
    .cmd:hover {
        width: 610px;
        height: 410px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 4);
        margin: -5px 0 0 -5px;
        z-index: 1;
        background-color: rgba(255, 255, 255, 0.9); /* hover 时稍微增强透明度 */
    }

