* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #121722;
    color: #e9e9e9;
    line-height: 1.6;
    overflow-x: hidden;
}
/* 鼠标光晕 */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88,166,255,0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}
/* 顶部导航 */
nav {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    backdrop-filter: blur(10px);
    background: rgba(18,23,34,0.7);
    z-index: 100;
    padding:14px 24px;
    display:flex;
    justify-content: space-between;
    align-items:center;
    border-bottom:1px solid #333b4e;
}
.nav-title {
    font-size:20px;
    font-weight:bold;
}
.container {
    max-width:800px;
    margin:0 auto;
    padding:100px 20px 40px;
    position:relative;
    z-index:1;
}
/* Hero首页区域 */
.hero {
    text-align:center;
    padding:40px 0 30px;
    border-bottom:1px solid #333b4e;
}
.avatar {
    width:120px;
    height:120px;
    border-radius:50%;
    background-color:#58a6ff;
    margin:0 auto 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow: hidden;
}
.avatar img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.hero h1 {
    font-size:28px;
    margin-bottom:8px;
}
.hero p.desc {
    color:#9aa0b4;
    font-size:16px;
}
.type-text {
    font-size:18px;
    color:#888ca0;
    min-height:26px;
    margin:8px 0;
    border-right:2px solid #777;
    animation: blink 0.7s infinite;
}
@keyframes blink{
    0%,100%{border-color:#777;}
    50%{border-color:transparent;}
}
.btn-group {
    margin-top:24px;
    display:flex;
    gap:14px;
    justify-content:center;
    flex-wrap:wrap;
}
.btn {
    padding:10px 22px;
    border-radius:8px;
    text-decoration:none;
    transition:0.3s ease;
}
.btn-primary {
    background-color:#58a6ff;
    color:#fff;
}
.btn-outline {
    border:1px solid #58a6ff;
    color:#58a6ff;
    background:transparent;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow:0 4px 12px rgba(88,166,255,0.25);
}
/* 区块淡入动画 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
section {
    margin-top:36px;
    animation: fadeUp 0.6s ease-out both;
}
section:nth-of-type(1){animation-delay:0.1s;}
section:nth-of-type(2){animation-delay:0.2s;}
section:nth-of-type(3){animation-delay:0.3s;}
section:nth-of-type(4){animation-delay:0.4s;}
section:nth-of-type(5){animation-delay:0.5s;}
section:nth-of-type(6){animation-delay:0.6s;}

h2 {
    font-size:22px;
    margin-bottom:16px;
    color:#e9e9e9;
    border-left:4px solid #58a6ff;
    padding-left:10px;
}
.about-text {
    font-size:16px;
    color:#c8ccd8;
    margin-bottom:10px;
}
.skill-list {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.skill-tag {
    background:#253550;
    color:#84bfff;
    padding:6px 14px;
    border-radius:20px;
}
.project-item {
    background:#1e2636;
    padding:18px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
    margin-bottom:16px;
    transition:transform 0.3s;
}
.project-item:hover {
    transform:translateY(-4px);
}
.project-item h3 {
    margin-bottom:6px;
}
.project-item p {
    color:#c8ccd8;
    margin:4px 0;
}
.contact {
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid #333b4e;
}
.contact p {
    color:#9aa0b4;
    margin:4px 0;
}
.contact a {
    color:#58a6ff;
    text-decoration:none;
}
/* 备案信息 */
.beian{
    text-align:center;
    padding:20px 0 30px;
    font-size:13px;
    color:#6b6f82;
}
.beian a{
    color:#84bfff;
    text-decoration:none;
}
.beian a:hover{
    text-decoration:underline;
}
/*底部悬浮自定义播放器*/
.audio-float-player{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: rgba(22,26,38,0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding:14px 20px;
    transform: translateY(100%);
    transition: transform 0.32s ease-out;
    border-top:1px solid #333b4e;
}
.audio-float-player.open{
    transform: translateY(0);
}
.audio-float-player audio{
    display:none;
}
.audio-toggle-btn{
    position:fixed;
    bottom:14px;
    right:18px;
    z-index:1000;
    padding:8px 14px;
    border-radius:10px;
    border: 1px solid #444b66;
    background:#272c3f;
    color:#e6e8f0;
    cursor:pointer;
    transition: background 0.2s;
}
.audio-toggle-btn:hover{
    background:#333a52;
}
body.audio-open{
    padding-bottom:90px;
}
.audio-inner{
    display:flex;
    align-items:center;
    gap:14px;
}
.audio-btn{
    width:42px;
    height:42px;
    border-radius:50%;
    border:none;
    background:#404868;
    color:#fff;
    font-size:18px;
    cursor:pointer;
    flex-shrink:0;
    transition: background 0.2s;
}
.audio-btn:hover{
    background:#525c85;
}
.audio-progress-wrap{
    flex:1;
}
.audio-progress-bar{
    width:100%;
    height:6px;
    background:#2f354d;
    border-radius:3px;
    cursor:pointer;
}
.audio-progress-fill{
    height:100%;
    width:0%;
    background:#6378e8;
    border-radius:3px;
}
.audio-time{
    display:flex;
    justify-content:space-between;
    font-size:12px;
    color:#a8acc2;
    margin-top:4px;
}
