/* 基础样式设置 */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* background-size: 400% 400%; */
    animation: bgFlow 20s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 使用小米Sans字体 */
    font-family: 'MiSans', sans-serif;
}

/* 抽象流动背景效果 */
/* body::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.7) 0%, transparent 30%),
                radial-gradient(circle at 70% 80%, rgba(240,240,240,0.6) 0%, transparent 25%);
    animation: bgWave 25s linear infinite;
    opacity: 0.6;
    pointer-events: none;
} */

/* 背景动画 */
@keyframes bgFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bgWave {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20%, -20%) scale(1.1); }
    100% { transform: translate(-40%, -40%) scale(1); }
}

/* 主文字样式 - 调整为更小尺寸 */
.main-text {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 6vw, 2.5rem); /* 显著减小字体大小 */
    color: #333333;
    line-height: 1.4;
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

/* 英文翻译 - 调整为更小尺寸 */
.english-text {
    font-family: 'MiSans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 3vw, 1.2rem); /* 减小字体大小 */
    color: #666666;
    line-height: 1.6;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* 装饰元素 */
.decor {
    width: 60px;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 2;
}

/* 页脚信息 */
.footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    font-family: 'MiSans', sans-serif;
}

.record-number {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #999999;
    margin: 0 0 6px 0;
    font-weight: 400;
}

.author {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #888888;
    margin: 0;
    font-weight: 400;
}

/* 图片容器 */
.image-container {
    width: 100%; 
    max-height: 300px;
    overflow: hidden; 
    position: relative; 
    margin: 20px 0; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    position: relative;
    z-index: 2;
}

.image-container img {
    width: 100%; 
    height: auto; 
    object-fit: cover;
}

/* 新增：滑动页面容器 */
.slide-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

/* 隐藏滚动条 */
.slide-container::-webkit-scrollbar {
    display: none;
}

/* 新增：单页样式 */
.slide {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}



/* 新增：第二页标题样式 */
.skills-title {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    color: #333333;
    margin: 0 0 10px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.skills-subtitle {
    font-family: 'MiSans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #666666;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* 新增：图片展示区样式 */
.image-gallery {
    width: 100%;
    height: 70vh;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 2;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 隐藏图片画廊滚动条 */
.image-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.gallery-item {
    height: 80%;
    flex-shrink: 0;
    scroll-snap-align: center;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

