@font-face {
	font-family: 'zhengwen';
	src: url('../fonts/zhengwen.otf') format('opentype');
}

@font-face {
	font-family: 'PingFang';
	src: local('PingFang SC'), local('Microsoft YaHei');
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #000;
	color: #fff;
}

/* 横屏提示 */
.orientation-tip {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	padding: 20px;
}

.orientation-tip .tip-icon {
	font-size: 60px;
	margin-bottom: 20px;
	animation: rotate 1.5s infinite linear;
}

.orientation-tip .tip-text {
	font-size: 20px;
	line-height: 1.5;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(90deg);
	}
}

/* 主容器 */
.container {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

/* 画卷容器 - 横向超长画卷 */
.scroll-container {
	width: 100%;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

/* 画卷内容 */
.scroll-content {
	display: inline-block;
	height: 100%;
	white-space: nowrap;
}

/* 画卷页面 - 每个页面占满整个视口 */
.scroll-page {
	display: inline-block;
	width: 100vw;
	height: 100%;
	position: relative;
	vertical-align: top;
	white-space: normal;
}

/* 页面背景 */
.page-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background-size: cover; */
	background-size: 100% 100%;
	background-position: center;
	z-index: 1;
	opacity: 1;
}

.chapter-fixed-train {
	position: fixed;
	height: 65vh;
	/* width: 180vw; */
	/* height: auto; */
	bottom: 0px;
	left: 0px;
	z-index: 2;
	pointer-events: none;
	transition: opacity 0.5s ease;
	display: none;
}

.chapter-1 .chapter-fixed-train {
	width: 120px;
	height: auto;
}

.chapter-2 .chapter-fixed-train {
	width: 200px;
	height: auto;
}

.chapter-3 .chapter-fixed-train {
	width: 220px;
	height: auto;
}

.chapter-4 .chapter-fixed-train {
	width: 240px;
	height: auto;
}

.chapter-5 .chapter-fixed-train {
	width: 260px;
	height: auto;
}

.chapter-6 .chapter-fixed-train {
	width: 280px;
	height: auto;
}

/* 页面内容 */
.page-content {
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	padding: 30px 40px;
	/* display: flex;
	flex-direction: column; */
	justify-content: center;
	align-items: center;
	text-align: center;
	overflow-y: auto;
}
/* 标题站牌样式 */
.chapter-title {
	position: absolute;
	width: 60%;
	left: 50%;
	transform: translateX(-50%);
	max-width: 700px;
	top: 5%;
	font-family: 'PingFang';
	font-weight: bold;
	letter-spacing: 0.2rem;
	/* color: #f8b500; */
	text-align: center;
	padding: 15px 20px;
	border-radius: 5px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
	z-index: 10;
	&::before,
	&::after {
		content: '';
		position: absolute;
		top: -50px;
		width: 3px;
		height: 50%;
	}
	&::before {
		left: 30%;
	}
	&::after {
		right: 30%;
	}
	h2{
		font-size: 1.5rem;
		line-height: 1.2;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	}	
	h3{
		font-size: 1.3rem;
		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
		margin-top: 8px;
		padding-top: 8px;
	}
}
.metal-corner {
	position: absolute;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.5),
		0 0 3px rgba(248, 181, 0, 0.5) inset;
	z-index: 12;
}
.corner-tl {
	top: 8px;
	left: 8px;
}
.corner-tr {
	top: 8px;
	right: 8px;
}
.chapter-title.station-1{
	background: rgba(168, 83, 22, 1);
	border: 4px solid #8B4513;
	&::before,
	    &::after {
	        background: #8B4513;
	    }
	h2 {
		color: #f8b500;
	}
	h3 {
		color: #fff8dc;
		border-top: 1px solid rgba(248, 181, 0, 0.3);
	}
	.metal-corner{
		background: radial-gradient(circle at 30% 30%, #f8b500, #8B4513, #654321);
	}
}

.chapter-title.station-2,
.chapter-title.station-3
{
	background: rgba(55, 123, 35, 1);
    border: 5px solid #218b21;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(144, 238, 144, 0.3) inset;
    &::before,
    &::after {
        background: linear-gradient(to bottom, #32CD32, #006400);
    }
    .metal-corner {
        background: radial-gradient(circle at 30% 30%, #32CD32, #006400, #004d00);
    }
    h2 {
        color: #FFD700;
    }
    h3 {
        color: #fff;
        border-top: 1px solid rgba(144, 238, 144, 0.4);
    }
}

.chapter-title.station-4,
.chapter-title.station-5,
.chapter-title.station-6
{
    background: linear-gradient(135deg, rgba(0, 69, 139, 0.9), rgba(0, 102, 204, 0.85));
    border: 5px solid;
    border-image: linear-gradient(45deg, #0066CC, #3399FF, #0066CC) 1;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(51, 153, 255, 0.2) inset;
    &::before,
    &::after {
        background: linear-gradient(to bottom, #3399FF, #0066CC);
        box-shadow: 0 0 10px rgba(51, 153, 255, 0.5);
    }
    .metal-corner {
        background: radial-gradient(circle at 30% 30%, #3399FF, #0066CC, #004080);
    }
    h2 {
        color: #3399FF;
        /* text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 8px rgba(135, 206, 235, 0.5); */
    }
    h3 {
        color: #fff;
        border-top: 1px solid rgba(51, 153, 255, 0.4);
    }
}

/* 手绘风格文案容器 */
.handwritten-text-container {
    position: relative;
    /* max-width: 600px; */
    margin: 0 auto 30px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 3px solid #8B4513;
    border-radius: 15px 5px 15px 5px;
    box-shadow: 
        5px 5px 0 rgba(139, 69, 19, 0.2),
        inset 0 0 20px rgba(255, 248, 225, 0.5);
    font-family: 'PingFang', 'Microsoft YaHei', sans-serif;
    z-index: 5;
    
    /* 手绘边缘效果 */
    /* &::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 20px;
        right: 20px;
        height: 10px;
        background: repeating-linear-gradient(
            90deg,
            transparent,
            transparent 5px,
            #8B4513 5px,
            #8B4513 10px
        );
        border-radius: 3px;
    } */
    
    /* 手绘折角效果 */
    &::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 20px;
        width: 30px;
        height: 30px;
        background: linear-gradient(135deg, transparent 50%, #8B4513 50%);
        transform: rotate(45deg);
        z-index: -1;
    }
}

/* 手绘标题 */
.handwritten-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 
        2px 2px 0 rgba(255, 248, 225, 0.8),
        4px 4px 0 rgba(139, 69, 19, 0.2);
    position: relative;
    
    &::before,
    &::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 30%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #8B4513);
    }
    
    &::before {
        left: 0;
        transform: translateX(-100%);
    }
    
    &::after {
        right: 0;
        transform: translateX(100%);
    }
}

/* 手绘正文 */
.handwritten-body {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #654321;
    text-align: justify;
    margin-bottom: 20px;
    
    /* 模拟手写笔记的线条 */
    background: linear-gradient(180deg, 
        transparent 95%,
        rgba(139, 69, 19, 0.1) 95%
    );
    background-size: 100% 1.8em;
}

/* 文字手绘引用框 */
.handwritten-quote {
    /* position: relative; */
    padding: 20px;
    /* margin: 20px 0; */
    font-style: italic;
    color: #795548;
    background: rgba(255, 248, 225, 0.8);
    border-left: 5px solid #8B4513;
    border-radius: 0 10px 10px 0;
    
    &::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: -10px;
        font-size: 4rem;
        color: rgba(139, 69, 19, 0.3);
        font-family: 'zhengwen', serif;
    }
    
    &::after {
        content: '"';
        position: absolute;
        bottom: -20px;
        right: 10px;
        font-size: 4rem;
        color: rgba(139, 69, 19, 0.3);
        font-family: 'zhengwen', serif;
    }
}

/* 复古笔记本风格 */
.notebook-container {
    position: relative;
	/* width: 40vw;
	min-width: 300px;
	max-height: 400px;
    max-width: 600px; */
    margin: 0 auto 10px;
    padding: 15px;
    background: #fffef0;
    border: 1px solid #d4c4a8;
    border-left: 12px solid #8B4513;
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 50px rgba(210, 180, 140, 0.1);
    
    /* 笔记本装订线效果 */
    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 12px;
        background: repeating-linear-gradient(
            180deg,
            transparent,
            transparent 5px,
            rgba(255, 255, 255, 0.3) 5px,
            rgba(255, 255, 255, 0.3) 10px
        );
    }
    
    /* 笔记本内页横线 */
    background-image: linear-gradient(
        to bottom,
        transparent 95%,
        rgba(210, 180, 140, 0.2) 95%
    );
    background-size: 100% 1.2em;
}

.notebook-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #654321;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #d4c4a8;
    text-align: center;
    
    /* 下划线装饰 */
    &::after {
        content: '✎';
        display: block;
        margin-top: 5px;
        font-size: 1.5rem;
        color: #8B4513;
        opacity: 0.6;
    }
}

.notebook-content {
	font-family: 'zhengwen';
    font-size: 1rem;
    line-height: 1.5;
    color: #5d4037;
    text-align: justify;
    /* 首字母下沉效果 */
   &::first-letter {
        float: left;
        font-size: 1.5rem;
        line-height: 1;
        padding: 0 8px 0 0;
        margin: 4px 8px 0 0;
        color: #8B4513;
        font-weight: bold;
        border-right: 2px solid #d4c4a8;
        border-bottom: 2px solid #d4c4a8;
    }
}
.notebook-quote{
	position: relative;
	padding: 15px 50px 15px 50px;
	margin: 10px 0;
	font-size: 1rem;
	line-height: 1.5;
	font-style: italic;
	color: #795548;
	text-align: justify;
	background: rgba(255, 248, 225, 0.8);
	/* border-left: 5px solid #8B4513; */
	border-radius: 0 10px 10px 0;
	&::before {
	    content: '"';
	    position: absolute;
	    top: 0px;
	    left: 0px;
	    font-size: 4rem;
	    color: rgba(139, 69, 19, 0.3);
	    font-family: 'zhengwen', serif;
	}
	
	&::after {
	    content: '"';
	    position: absolute;
	    bottom: -30px;
	    right: 20px;
	    font-size: 4rem;
	    color: rgba(139, 69, 19, 0.3);
	    font-family: 'zhengwen', serif;
	}
}

/* 铁路文件风格 */
.railway-document {
    position: relative;
    max-width: 650px;
    margin: 0 auto 30px;
    padding: 25px;
    background: #f5f5f0;
    border: 3px double #8B4513;
    border-top: 10px solid #8B4513;
    font-family: 'Courier New', monospace;
    
    /* 文件顶部装饰线 */
    &::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
        background: repeating-linear-gradient(
            90deg,
            #8B4513,
            #8B4513 10px,
            transparent 10px,
            transparent 20px
        );
    }
}

.document-header {
    font-size: 1.4rem;
    font-weight: bold;
    color: #8B4513;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    
    /* 铁路徽章装饰 */
    &::before,
    &::after {
        content: '⏤';
        margin: 0 15px;
        color: #8B4513;
        font-size: 1.8rem;
    }
}

.document-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px dashed #8B4513;
    
    /* 铁路信号灯装饰 */
    &::before {
        content: '● ●';
        position: absolute;
        left: 15px;
        top: 15px;
        color: #8B4513;
        font-size: 0.8rem;
        letter-spacing: 5px;
    }
}

.document-footer {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #8B4513;
    
    &::before {
        content: '批准：__________    日期：____年__月__日';
        display: block;
        margin-bottom: 10px;
        font-style: italic;
    }
}

/* 黑板粉笔风格 */
.chalkboard-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 30px;
    background: #2c3e50;
    border: 10px solid #1a252f;
    border-radius: 5px;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    font-family: 'Chalkduster', 'Marker Felt', 'Comic Sans MS', cursive;
    color: #ecf0f1;
    
    /* 黑板边缘装饰 */
    &::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        border: 5px solid #7f8c8d;
        border-radius: 10px;
        z-index: -1;
    }
}

.chalkboard-title {
    font-size: 2rem;
    font-weight: bold;
    color: #f1c40f;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.8),
        0 4px 4px rgba(0, 0, 0, 0.5);
    
    /* 下划线装饰 */
    &::after {
        content: '';
        display: block;
        width: 60%;
        height: 3px;
        margin: 10px auto 0;
        background: repeating-linear-gradient(
            90deg,
            transparent,
            transparent 5px,
            #f1c40f 5px,
            #f1c40f 10px
        );
    }
}

.chalkboard-text {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 5px solid #3498db;
    
    /* 粉笔文字质感 */
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* 粉笔画图标装饰 */
.chalk-drawing {
    text-align: center;
    margin: 20px 0;
    font-size: 2rem;
    color: #e74c3c;
    opacity: 0.8;
}

/* 页面标题 */
/* .page-title {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 25px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	color: #f8b500;
	text-align: center;
} */

/* 文案样式 */
.page-text {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 25px;
	max-width: 800px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	text-align: center;
}

/* 视频容器 */
.video-container {
	width: 100%;
	max-width: 650px;
	margin: 25px auto;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.video-placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	/* background-color: rgba(0, 0, 0, 0.5); */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background-size: cover;
}
.video-placeholder::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色遮罩 */
	z-index: 1;
	/* transition: background-color 0.3s ease; /* 添加过渡效果 */ */
}
.video-play-btn {
	position: relative;
	z-index: 2;;
	font-size: 40px;
	color: #f8b500;
	margin-bottom: 10px;
}

.video-title {
	position: relative;
	z-index: 2;
	font-size: 16px;
	color: #fff;
	text-align: center;
	padding: 0 20px;
}

/* 卡片样式 */
.card {
	background-color: rgba(0, 0, 0, 0.7);
	border-left: 4px solid #f8b500;
	padding: 20px;
	margin: 25px 0;
	max-width: 800px;
	text-align: left;
	border-radius: 0 8px 8px 0;
}

.card-title {
	color: #f8b500;
	font-size: 20px;
	margin-bottom: 10px;
}

.card-content {
	font-size: 16px;
	line-height: 1.5;
}

/* 交互题目 */
/* .quiz-container {
	margin-top: 30px;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 20px;
	border-radius: 8px;
	max-width: 600px;
	border: 1px solid rgba(248, 181, 0, 0.3);
}

.quiz-question {
	font-size: 18px;
	margin-bottom: 20px;
	color: #f8b500;
}

.quiz-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.quiz-option {
	background-color: rgba(255, 255, 255, 0.1);
	padding: 12px 20px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
	text-align: left;
	border: 1px solid transparent;
}

.quiz-option:hover {
	background-color: rgba(248, 181, 0, 0.2);
	border-color: rgba(248, 181, 0, 0.3);
}

.quiz-option.correct {
	background-color: rgba(0, 200, 83, 0.3);
	border-left: 4px solid #00c853;
}

.quiz-option.wrong {
	background-color: rgba(255, 87, 34, 0.3);
	border-left: 4px solid #ff5722;
} */

/* 测验问答部分 - 复古笔记本风格 */
.quiz-container {
    position: relative;
    margin: 40px auto;
    padding: 25px 30px 25px 50px;
    background: #fffef0;
    border: 1px solid #d4c4a8;
    border-left: 12px solid #8B4513;
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 50px rgba(210, 180, 140, 0.1);
    
    /* 笔记本装订线效果 */
    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 12px;
        background: repeating-linear-gradient(
            180deg,
            transparent,
            transparent 5px,
            rgba(255, 255, 255, 0.3) 5px,
            rgba(255, 255, 255, 0.3) 10px
        );
    }
    
    /* 笔记本内页横线 */
    background-image: linear-gradient(
        to bottom,
        transparent 95%,
        rgba(210, 180, 140, 0.2) 95%
    );
    background-size: 100% 1.2em;
}

/* 问题标题样式 */
.quiz-question {
    font-family: 'zhengwen', serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #654321;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #d4c4a8;
    position: relative;
    
    /* 铅笔装饰 */
    &::before {
        content: '✎';
        position: absolute;
        left: -35px;
        top: 0;
        font-size: 1.5rem;
        color: #8B4513;
        opacity: 0.7;
    }
}

/* 选项容器 */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

/* 单个选项样式 */
.quiz-option {
    position: relative;
    padding: 15px 20px 15px 50px;
    background: #fffff8;
    border: 1px solid #e6d4b3;
    border-left: 4px solid #a1887f;
    border-radius: 4px;
    font-family: 'zhengwen', serif;
    font-size: 1rem;
    color: #5d4037;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* 选项字母标记 */
    &::before {
        content: attr(data-index);
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        background: #8B4513;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    /* 选项字母A/B/C/D */
    &[data-index="0"]::before { content: 'A'; }
    &[data-index="1"]::before { content: 'B'; }
    &[data-index="2"]::before { content: 'C'; }
    &[data-index="3"]::before { content: 'D'; }
    
    /* 悬停效果 */
    &:hover {
        background: #fff8e1;
        border-color: #8B4513;
        transform: translateY(-2px);
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
        
        &::before {
            background: #a0522d;
            transform: translateY(-50%) scale(1.1);
        }
    }
    
    /* 选中状态 */
    &.selected {
        background: rgba(139, 69, 19, 0.1);
        border-color: #8B4513;
        border-left-width: 6px;
        
        &::before {
            background: #654321;
            box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.3);
        }
    }
    
    /* 正确状态 */
    &.correct {
        background: rgba(76, 175, 80, 0.1);
        border-color: #4CAF50;
        color: #2e7d32;
        
        &::before {
            background: #4CAF50;
            content: '✓';
        }
    }
    
    /* 错误状态 */
    &.wrong {
        background: rgba(244, 67, 54, 0.1);
        border-color: #F44336;
        color: #c62828;
        
        &::before {
            background: #F44336;
            content: '✗';
        }
    }
}

/* 提交按钮区域 */
.quiz-submit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #d4c4a8;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 提交按钮样式 */
.quiz-submit-btn {
    padding: 10px 25px;
    font-family: 'zhengwen', serif;
    font-size: 1rem;
    font-weight: bold;
    color: #5d4037;
    background: #fff8e1;
    border: 2px solid #8B4513;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(139, 69, 19, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    &:hover {
        background: #8B4513;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
        
        &::before {
            transform: translateX(0);
        }
    }
    
    &:active {
        transform: translateY(0);
    }
    
    /* 重置按钮样式 */
    &.reset {
        background: #f5f5f5;
        border-color: #a1887f;
        color: #795548;
        
        &:hover {
            background: #a1887f;
            color: white;
        }
    }
}

/* 结果展示区域 */
.quiz-result {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 248, 225, 0.9);
    border-left: 5px solid #8B4513;
    border-radius: 0 8px 8px 0;
    display: none;
    
    /* 显示时动画 */
    &.show {
        display: block;
        animation: fadeInUp1 0.5s ease forwards;
    }
}

.quiz-result-title {
    font-family: 'zhengwen', serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #654321;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    
    &::before {
        content: '📘';
        font-size: 1.3rem;
    }
}

.quiz-result-content {
    font-family: 'zhengwen', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #5d4037;
    padding: 10px 0;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .quiz-container {
        padding: 20px 25px 20px 40px;
    }
    
    .quiz-question {
        font-size: 1.1rem;
        padding-left: 10px;
        
        &::before {
            left: -25px;
            font-size: 1.2rem;
        }
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quiz-option {
        padding: 12px 15px 12px 45px;
    }
}

/* 动画效果 */
@keyframes fadeInUp1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.quiz-option {
    animation: fadeInUp1 0.3s ease forwards;
    opacity: 0;
    
    &:nth-child(1) { animation-delay: 0.1s; }
    &:nth-child(2) { animation-delay: 0.2s; }
    &:nth-child(3) { animation-delay: 0.3s; }
    &:nth-child(4) { animation-delay: 0.4s; }
}


/* 结语页面特殊样式 */
/* .epilogue-content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding: 60px 40px 40px 40px;
}

.epilogue-title {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 30px;
	color: #f8b500;
	text-shadow: 0 2px 10px rgba(248, 181, 0, 0.5);
}

.epilogue-text {
	font-family: 'zhengwen';
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: 0.3rem;
	line-height: 1.4;
	color: #8B4513;
	text-align: center;
	margin-bottom: 20px;
	max-width: 800px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.poster-container {
	width: 300px;
	height: 400px;
	background: linear-gradient(135deg, #f8b500 0%, #ff9800 100%);
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 30px;
	margin: 30px 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	position: relative;
	overflow: hidden;
}

.poster-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
	background-size: 100px 100px;
}

.poster-title {
	font-size: 28px;
	font-weight: bold;
	color: #000;
	margin-bottom: 15px;
	text-align: center;
}

.poster-subtitle {
	font-size: 18px;
	color: #333;
	text-align: center;
	margin-bottom: 20px;
}

.poster-icon {
	font-size: 80px;
	margin-bottom: 20px;
}

.poster-text {
	font-size: 16px;
	color: #000;
	text-align: center;
	line-height: 1.5;
}

.epilogue-ending {
	font-size: 20px;
	color: #f8b500;
	margin-top: 40px;
	font-style: italic;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
} */

/* 结语页面特殊样式 - 融合复古与现代风格 */
.epilogue-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    z-index: 10;
	/* opacity: 0; */
    overflow-y: auto;
	/* animation: fadeInUp1 1s ease-out; */
}
@keyframes fadeInUp1 {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* 结语标题 - 复古铁路站牌风格 */
.epilogue-title {
    font-family: 'zhengwen', serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #f8b500;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 
        3px 3px 0 rgba(0, 0, 0, 0.7),
        0 0 20px rgba(248, 181, 0, 0.3);
    position: relative;
    padding: 15px 30px;
    background: rgba(26, 26, 46, 0.9);
    border: 5px solid #8B4513;
    border-image: linear-gradient(45deg, #f8b500, #ff9800, #f8b500) 1;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(248, 181, 0, 0.1);
    &::before,
    &::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background: radial-gradient(circle at 30% 30%, #f8b500, #8B4513);
        border-radius: 50%;
        box-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 3px rgba(248, 181, 0, 0.5) inset;
        top: 50%;
        transform: translateY(-50%);
    }
    &::before {
        left: -40px;
    }
    &::after {
        right: -40px;
    }
}

/* 结语正文 - 融合笔记本和铁路文件风格 */
.epilogue-text {
    font-family: 'zhengwen', serif;
    font-size: 1.4rem;
    line-height: 1.4;
    color:  #8B4513;
    max-width: 900px;
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(255, 254, 240, 0.3);
    border: 2px solid rgba(248, 181, 0, 0.3);
    border-left: 10px solid #8B4513;
    border-right: 10px solid #8B4513;
    box-shadow: 
        5px 5px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(248, 181, 0, 0.1);
    position: relative;
    /* 铁路信号灯装饰 */
    &::before,
    &::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #f8b500;
        animation: signal-light 2s infinite alternate;
        top: 20px;
    }
    &::before {
        left: 20px;
    }
    &::after {
        right: 20px;
    }
    /* 首行缩进和首字母下沉 */
}
@keyframes signal-light {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; box-shadow: 0 0 10px #f8b500; }
}
/* 海报容器 - 高铁车票风格 */
.poster-container {
    width: 600px;
    height: 300px;
	/* rgba(248, 181, 0, 0.1) 0%,
	rgba(255, 179, 1, 0.1) 100%); */
    background: linear-gradient(135deg,
       rgba(255, 254, 240, 0.3) 0%, 
        rgba(250, 255, 216, 0.3) 100%);
	/* backdrop-filter: blur(1px); */
    border: 3px solid #f8b500;
    border-left: 15px solid #f8b500;
    border-right: 15px solid #f8b500;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    margin: 20px 0 15px;
    position: relative;
	/* opacity: 0; */
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(255, 248, 225, 0.2);
	/* animation: ticketMove1 1s ease-out 0.5s forwards; */
    /* 车票撕孔效果 */
    &::before,
    &::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background: #000;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }
    &::before {
        left: -10px;
    }
    
    &::after {
        right: -10px;
    }
}
@keyframes ticketMove1 {
	0% {
		opacity: 0;
		transform: scale(0.9);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* 海报图标 - 动态高铁 */
.poster-icon {
    font-size: 50px;
    margin-bottom: 10px;
    animation: train-move 3s ease-in-out infinite;
}
@keyframes train-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* 海报标题 */
.poster-title {
    font-family: 'zhengwen', serif;
    font-size: 2rem;
    font-weight: bold;
    color: #f8b500;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(248, 181, 0, 0.3);
    width: 100%;
}

/* 海报副标题 */
.poster-subtitle {
    font-family: 'zhengwen', serif;
    font-size: 1.2rem;
    color: #8B4513;
    text-align: center;
    margin-bottom: 10px;
    font-style: italic;
    padding: 0 10px;
}

/* 海报正文 */
.poster-text {
    font-family: 'zhengwen', serif;
    font-size: 1rem;
    color: #8B4513;
    text-align: justify;
    line-height: 1.2;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(3px);
    border-radius: 5px;
    border-left: 3px solid #f8b500;
    
    
    /* 笔记本横线效果 */
    /* background-image: linear-gradient(
        to bottom,
        transparent 95%,
        rgba(248, 181, 0, 0.1) 95%
    );
    background-size: 100% 1.5em; */
}

/* 结束语 - 铁路终点站风格 */
.epilogue-ending {
    font-family: 'zhengwen', serif;
    font-size: 1rem;
    color: #f8b500;
    margin-top: 20px;
    text-align: center;
    position: relative;
    padding: 10px 40px 0px 40px;
    font-style: italic;
}

/* 彩虹轨道装饰线（可选） */
.railway-line {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(
        90deg,
        #f8b500 0%,
        #ff9800 20%,
        #8B4513 40%,
        #0066CC 60%,
        #32CD32 80%,
        #f8b500 100%
    );
    z-index: -1;
    opacity: 0.5;
    animation: railway-flow 10s linear infinite;
}

@keyframes railway-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .epilogue-title {
        font-size: 2.2rem;
        padding: 12px 20px;
        margin-bottom: 20px;
    }
    
    .epilogue-text {
        font-size: 1.2rem;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .poster-container {
        width: 300px;
        height: 400px;
        padding: 20px;
        margin: 20px 0 30px;
    }
    
    .poster-title {
        font-size: 1.8rem;
    }
    
    .poster-subtitle {
        font-size: 1rem;
    }
    
    .poster-text {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .epilogue-ending {
        font-size: 1.4rem;
        padding: 15px 20px;
        margin-top: 30px;
    }
}

@media (max-height: 600px) {
    .epilogue-content {
        padding: 20px;
    }
    
    .poster-container {
        width: 280px;
        height: 380px;
        padding: 15px;
        margin: 15px 0 20px;
    }
    
    .epilogue-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .epilogue-text {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding: 15px;
    }
}

/* 进度指示器 */
.progress-indicator {
	position: fixed;
	bottom: 20px;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	z-index: 100;
}

.progress-dots {
	display: flex;
	gap: 12px;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 10px 20px;
	border-radius: 30px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.progress-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.3);
	transition: all 0.3s;
	cursor: pointer;
}

.progress-dot.active {
	background-color: #f8b500;
	transform: scale(1.2);
}

/* 导航按钮 */
.nav-btn {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.7);
	border: none;
	border-radius: 50%;
	color: white;
	font-size: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 100;
	transition: all 0.3s;
	opacity: 0.5;
}

.nav-btn:hover {
	background-color: rgba(248, 181, 0, 0.8);
	opacity: 1;
}

.nav-btn.prev {
	left: 20px;
}

.nav-btn.next {
	right: 20px;
}

/* 开篇交互 */
.opening-container {
	position: relative;
	/* top: 0;
	left: 0; */
	width: 100%;
	height: 100%;
	z-index: 200;
	/* background-color: #000; */
	/* display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center; */
	transition: opacity 1s;
	padding: 20px;
	background-image: url(../img/s0/bg1.PNG)
}

.opening-title {
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	width: 85%;
	font-size: 3rem;
	font-family: 'zhengwen';
	font-weight: bold;
	margin-bottom: 30px;
	color: #f8b500;
	text-align: center;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.opening-subtitle {
	position: absolute;
	top: 25%;
	left: 50%;
	width: 90%;
	transform: translateX(-50%);
	font-size: 2.5rem;
	font-family: 'zhengwen';
	font-weight: 900;
	letter-spacing: 0.3rem;
	color: #8B4513;
	/* margin-bottom: 40px; */
	text-align: center;
	max-width: 800px;
	line-height: 1.4;
	padding: 15px 0;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	border-top: 3px solid rgba(210, 105, 30, 0.4);
	border-bottom: 3px solid rgba(210, 105, 30, 0.4);
	animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.train {
	position: absolute;
	bottom: 2%;
	width: 90vw;
	height: 15vw;
	min-width: 900px;
	min-height: 300px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 2;
	filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.3));
	transform-origin: bottom center;
}

.train.left {
	left: -50vw;
	background-image: url(../img/s0/green-train.PNG);
	/* background-image: url(../img/s0/speed-train.PNG); */
	animation: moveLeft 6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

.train.right {
	right: -50vw;
	background-image: url(../img/s0/speed-train.PNG);
	animation: moveRight 6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes moveLeft {
	to {
		left: 7vw;
		transform: translateY(-5px);
	}
}

@keyframes moveRight {
	to {
		right: 7vw;
		transform: translateY(-5px);
	}
}

.train-item {
	/* flex: 0 1 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center; */
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 25%;
	padding: 10px 15px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	border: 2px solid #D2691E;
	box-shadow:
		0 10px 30px rgba(139, 69, 19, 0.2),
		0 0 40px rgba(255, 255, 255, 0.5) inset;
}

.train-item.left-train {
	left: 8.5%;
}

.train-item.right-train {
	right: 8%;
}

.train-item.show {
	opacity: 1;
	transform: translateY(0);
}

/* .train-icon {
	font-size: 80px;
	margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
} */
.train-item h3 {
	font-size: 1.3rem;
	font-family: 'zhengwen';
	color: #8B4513;
	margin-bottom: 10px;
	text-align: center;
	border-bottom: 2px solid #D2691E;
	padding-bottom: 10px;
	/* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}

.train-item p {
	font-size: 1rem;
	font-family: 'zhengwen';
	color: #795548;
	line-height: 1.25;
	margin-bottom: 10px;
	text-align: justify;
}

/* 开篇第二段文字样式 - 复古铁路风格 */
.opening-text-second {
	font-size: 1.2rem;
	font-family: 'zhengwen';
	font-weight: 400;
	color: #8B4513;
	text-align: center;
	max-width: 800px;
	line-height: 1.2;
	/* margin-bottom: 25px; */
	padding: 15px 20px;
	background: linear-gradient(to right,
			rgba(255, 255, 255, 0.25) 0%,
			rgba(255, 248, 225, 0.3) 100%);
	;
	border: 3px double #8B4513;
	border-radius: 0;
	position: relative;
	animation: ticketMove 1s ease-out;
}

.opening-text-third {
	font-size: 1.2rem;
	font-family: 'zhengwen';
	font-weight: 400;
	color: #8B4513;
	text-align: center;
	max-width: 800px;
	line-height: 1.2;
	padding: 15px 20px;
	background: linear-gradient(to right,
			rgba(255, 255, 255, 0.25) 0%,
			rgba(255, 248, 225, 0.3) 100%);
	;
	border: 2px solid #8B4513;
	border-left: 10px solid #8B4513;
	/* 模仿车票撕孔 */
	border-right: 10px solid #8B4513;
	position: relative;
	animation: ticketMove 1s ease-out;
}

.opening-text-third::before,
.opening-text-third::after {
	content: "";
	position: absolute;
	width: 15px;
	height: 15px;
	background: #000;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
}

.opening-text-third::before {
	left: -7.5px;
}

.opening-text-third::after {
	right: -7.5px;
}

@keyframes ticketMove {
	0% {
		opacity: 0;
		transform: scale(0.9);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.click-hint {
	position: absolute;
	bottom: 2%;
	transform: translateX(-50%);
	left: 50%;
	width: 100%;
	font-size: 18px;
	color: #f8b500;
	text-align: center;
	animation: pulse 2s infinite;
	/* background-color: rgba(0, 0, 0, 0.7); */
	padding: 10px 20px;
	border-radius: 20px;
	font-family: 'zhengwen';
	font-style: italic
}

@keyframes pulse {
	0% {
		opacity: 0.5;
		transform: translateX(-50%) scale(1);
	}

	50% {
		opacity: 1;
		transform: translateX(-50%) scale(1.05);
	}

	100% {
		opacity: 0.5;
		transform: translateX(-50%) scale(1);
	}
}
/* 文案居中（有标题） */
.s1-1.notebook-container,
.s2-1.notebook-container{
	position: absolute;
	top: 40%;
	transform: translateX(-50%);
	left: 50%;
	width: 70%;
	min-width: 300px;
	/* max-height: 400px; */
	max-width: 950px;
	/* animation: fadeIn 1s ease-out 0.5s forwards; */
}
/* 文案居中(无标题) */
.s3-3.notebook-container,
.s4-3.notebook-container,
.s6-3.notebook-container{
	position: absolute;
	top: 20%;
	transform: translateX(-50%);
	left: 50%;
	width: 70%;
	min-width: 300px;
	/* max-height: 400px; */
	max-width: 950px;
	/* animation: fadeIn 1s ease-out 0.5s forwards; */
}
/* 左侧文案（无标题） */
.s1-2.notebook-container,
.s1-3.notebook-container,
.s2-2.notebook-container,
.s2-3.notebook-container,
.s3-2.notebook-container,
.s4-2.notebook-container,
.s5-3-1.notebook-container,
.s6-2.notebook-container{
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	left: 7%;
	/* opacity: 1; */
	width: 40vw;
	min-width: 300px;
	/* max-height: 400px; */
	max-width: 600px;
	/* animation: fadeIn 1s ease-out 0.5s forwards; */
}
/* 左侧文案(有标题) */
.s3-1.notebook-container,
.s4-1.notebook-container,
.s5-1.notebook-container,
.s6-1.notebook-container{
	position: absolute;
	top: 48%;
	transform: translateY(-50%);
	left: 7%;
	/* opacity: 1; */
	width: 40vw;
	min-width: 300px;
	/* max-height: 400px; */
	max-width: 600px;
	/* animation: fadeIn 1s ease-out 0.5s forwards; */
}
/* 右侧文案(无标题) */
.s5-3-2.notebook-container{
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	right: 7%;
	width: 40vw;
	min-width: 300px;
	/* max-height: 400px; */
	max-width: 600px;
}
/* 右侧视频(无标题) */
.s1-2.video-container,
.s1-3.video-container,
.s2-2.video-container,
.s2-3.video-container,
.s3-2.video-container,
.s4-2.video-container,
.s6-2.video-container{
	position: absolute;
	right: 7%;
	top: 40%;
	transform: translateY(-50%);
	height: 40vh;
}
/* 右侧视频(有标题) */
.s3-1.video-container,
.s4-1.video-container,
.s5-1.video-container,
.s6-1.video-container{
	position: absolute;
	right: 7%;
	top: 45%;
	transform: translateY(-50%);
	height: 40vh;
}
.s5-2-1.notebook-container{
	position: absolute;
	top: 12%;
	/* transform: translateY(-50%); */
	left: 3%;
	width: 30vw;
	/* min-width: 300px; */
	max-width: 600px;
}
.s5-2-2.notebook-container{
	position: absolute;
	top: 5%;
	/* transform: translateY(-50%); */
	left: 35%;
	width: 30vw;
	/* min-width: 300px; */
	max-width: 600px;
}
.s5-2-3.notebook-container{
	position: absolute;
	top: 12%;
	/* transform: translateY(-50%); */
	right: 3%;
	width: 30vw;
	/* min-width: 300px; */
	max-width: 600px;
}
/* 第五章三个视频 */
.s5-2-1.video-container{
	position: absolute;
	left: 3%;
	top: 50%;
	transform: translateY(-50%);
	height: 30vh;
	width: 30vw;
}
.s5-2-2.video-container{
	position: absolute;
	left: 35%;
	top: 50%;
	transform: translateY(-50%);
	height: 30vh;
	width: 30vw;
}
.s5-2-3.video-container{
	position: absolute;
	right: 3%;
	top: 50%;
	transform: translateY(-50%);
	height: 30vh;
	width: 30vw;
}
/* 左侧答题 */
.s1-4.quiz-container,
.s2-4.quiz-container,
.s3-4.quiz-container,
.s4-4.quiz-container,
.s5-4.quiz-container,
.s6-4.quiz-container{
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	left: 7%;
	width: 50%;
	min-width: 150px;
	max-width: 600px;
}
/* 右侧结语 */
.s1-4.notebook-container,
.s2-4.notebook-container,
.s3-4.notebook-container,
.s4-4.notebook-container,
.s5-4.notebook-container,
.s6-4.notebook-container{
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	right: 7%;
	width: 40vw;
	min-width: 300px;
	max-width: 600px;
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
/* 视频居中 */
/* .s1-2.video-container{
	position: absolute;
	text-align: center;
	top: 28%;
	transform: translateX(-50%);
	left: 50%;
	height: 40vh;
} */

/* 视频模态框 */
.video-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.video-modal-content {
	width: 90%;
	max-width: 900px;
	height: auto;
	max-height: 80%;
	background-color: #000;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

.video-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 1001;
}

.video-modal-close:hover {
	background-color: #f8b500;
	color: #000;
}

/* 滚动条样式 */
.scroll-container::-webkit-scrollbar {
	height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

.scroll-container::-webkit-scrollbar-thumb {
	background: #f8b500;
	border-radius: 3px;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.page-content {
		padding: 20px;
	}

	.chapter-title {
		font-size: 24px;
	}

	.page-title {
		font-size: 28px;
	}

	.page-text {
		font-size: 16px;
	}

	.nav-btn {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.opening-title {
		font-size: 32px;
	}

	.opening-subtitle {
		font-size: 18px;
	}

	.train-icon {
		font-size: 60px;
	}

	.video-placeholder {
		height: 150px;
	}

	/* 调整火车图片大小 */
	.chapter-0 .train-foreground {
		width: 150px;
	}

	.chapter-1 .train-foreground {
		width: 180px;
	}

	.chapter-2 .train-foreground {
		width: 200px;
	}

	.chapter-3 .train-foreground {
		width: 220px;
	}

	.chapter-4 .train-foreground {
		width: 240px;
	}

	.chapter-5 .train-foreground {
		width: 260px;
	}

	.chapter-6 .train-foreground {
		width: 280px;
	}

	.chapter-7 .train-foreground {
		width: 300px;
	}

	.epilogue-title {
		font-size: 30px;
	}

	.epilogue-text {
		font-size: 18px;
	}

	.poster-container {
		width: 250px;
		height: 350px;
		padding: 20px;
	}

	.poster-title {
		font-size: 24px;
	}

	.poster-subtitle {
		font-size: 16px;
	}

	.poster-icon {
		font-size: 60px;
	}

	.epilogue-ending {
		font-size: 18px;
	}
}

@media (max-height: 500px) {
	.chapter-title {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.page-title {
		font-size: 24px;
		margin-bottom: 15px;
	}

	.page-text {
		font-size: 14px;
		margin-bottom: 15px;
	}

	.card {
		padding: 12px;
		margin: 15px 0;
	}

	.video-placeholder {
		height: 120px;
	}

	/* 调整火车图片位置 */
	.train-foreground {
		bottom: 30px !important;
	}
}

/* 横屏检测 */
@media (orientation: portrait) {
	.orientation-tip {
		display: flex;
	}
}

@media (orientation: landscape) {
	.orientation-tip {
		display: none;
	}

}



