/* ===== 原有样式（完全保留） ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/bg.png') center/cover;
    z-index: -2;
    animation: zoom 20s infinite alternate;
}

@keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

h1 {
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 20px;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

p {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-element {
    transition: transform 0.2s ease;
}

/* ===== 新增样式（启动页底部提示、进入后布局、背景变淡） ===== */

/* 底部浮动提示 */
#splash-footer {
    position: fixed;
    bottom: 10%;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 1.3em;
    letter-spacing: 4px;
    z-index: 20;
    animation: blink 1.5s infinite;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* 进入后布局 */
#app {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    z-index: 100;
    color: white;
    padding: 40px;
    box-sizing: border-box;
    pointer-events: none;
}

#app.hidden {
    display: none;
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    pointer-events: auto;
}

/* 头像 */
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 头像备用样式（无图片时显示首字母） */
.avatar.avatar-fallback {
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.avatar.avatar-fallback::after {
    content: "DX";
}

/* 侧边栏名字 */
.sidebar .name {
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* 简介 */
.bio {
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

/* 主内容区 */
.main-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow-y: auto;
    pointer-events: auto;
}

.main-content article {
    max-width: 800px;
    margin: 0 auto;
}

.main-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.main-content p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

/* 背景变淡效果（进入后应用） */
.bg-image.faded {
    opacity: 0.4;  /* 可调整数值改变淡度 */
    /* 如果希望停止缩放动画，可以取消下面这行的注释 */
    /* animation: none; */
}
