body {
	font-family: "Microsoft YaHei", sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f0f0f0;
	width: 375px;
	margin: 0 auto;
	position: relative;
}

.step {
	display: none;
	padding: 20px;
	background: white;
	min-height: 100vh;
	box-sizing: border-box;
}

.ad-banner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 300px; /* 增加高度 */
	padding: 20px; /* 增加内边距 */
}

.ad-banner h3 {
	margin-bottom: 15px; /* 增加标题和描述间距 */
}

.ad-banner p {
	margin-bottom: 25px; /* 增加描述和按钮间距 */
}

.ad-banner::after {
	content: "广告";
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
}

.animated-fade-in {
	animation: fadeIn 1s ease-in;
}

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

.free-label {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #ff4d4f;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	animation: blink 1s steps(5, start) infinite;
}

@keyframes blink {
	to {
		visibility: hidden;
	}
}

.countdown {
	margin-bottom: 20px;
	font-size: 18px;
	color: #ff4d4f;
}

.chat-container {
	background: #ededed;
	padding: 10px;
	height: calc(100vh - 20px * 2 - 40.8px - 15px * 2 - 38.4px - 15px * 2);
	border-radius: 5px;
	overflow: auto;
}

.message {
	margin: 8px 0;
	padding: 10px;
	border-radius: 5px;
	position: relative;
	max-width: 80%;
}

.message p {
	margin: 0;
}

.received {
	width: fit-content;
	background: white;
	align-self: flex-start;
	margin-right: auto;
}

.sent {
	background: #9eea6a;
	margin-left: auto;
}

.wechat-header {
	background: #2c2c2c;
	color: white;
	padding: 15px;
	display: flex;
	align-items: center;
}

.wechat-avatar {
	width: 40px;
	height: 40px;
	border-radius: 5px;
	margin-right: 10px;
}

.fake-input {
	background: #f8f8f8;
	border: 1px solid #ddd;
	padding: 12px;
	border-radius: 20px;
	margin: 10px 0;
	transition: all 0.2s ease;
	cursor: pointer;
}

.fake-input:hover {
	background: #f0f0f0;
	transform: translateY(-1px);
}

.time-stamp {
	text-align: center;
	color: #666;
	font-size: 12px;
	margin: 10px 0;
}

.red-flag {
	position: sticky;
	left: 0px;
	bottom: 20px;
	z-index: 10;
	background: #fff3f3;
	border-left: 4px solid red;
	padding: 15px;
	font-size: 14px;
}

/* 新增通知栏样式 */
.sms-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #fff3cd;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

.user-input {
	width: fit-content;
	background: #9eea6a;
	margin-left: auto; /* 让元素靠右显示 */
	border-radius: 5px;
	padding: 10px;
}

.warning {
	color: red;
	border: 1px solid red;
	padding: 10px;
	margin: 20px 0;
	border-radius: 5px;
}

button {
	background: #06ae56;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 5px;
	width: 100%;
	margin: 10px 0;
	transition: all 0.3s ease;
}

button:hover {
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

button:active {
	transform: scale(0.98);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.group-link {
	color: #06ae56;
	text-decoration: underline;
}

.video-player {
	background: black;
	width: 100%;
	border-radius: 10px;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#videoPlayer {
	border-radius: 10px;
}

/* 视频进度条样式 */
.video-progress {
	width: 77%;
	height: 5px;
	background-color: #ddd;
}

.video-progress-bar {
	width: 0%;
	height: 100%;
	background-color: #06ae56;
	transition: width 0.3s ease;
}

/* 时间显示样式 */
.video-time {
	text-align: center;
	color: #666;
	font-size: 12px;
}

.video-title {
	margin: 15px 0;
	color: #2c2c2c;
	font-size: 1.2em;
}

.quiz-container {
	margin: 20px 0;
	padding: 15px;
	background: #f8f8f8;
	border-radius: 8px;
}

.quiz-question {
	margin-bottom: 18px;
}

.quiz-question p {
	margin: 0;
	margin-bottom: 16px;
}

.quiz-option {
	padding: 8px 16px;
	margin: 5px 0;
	background: white;
	color: #333;
	text-align: left;
	border: 1px solid #ddd;
	cursor: pointer;
}

.quiz-option.selected {
	background: #06ae56;
	color: white;
	border-color: #06ae56;
}

#submitQuiz.disabled {
	background: #ddd;
	color: #666;
	cursor: not-allowed;
}

/* 答题结果模态弹窗样式 */
.result-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.result-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	border-radius: 10px;
	width: 90%;
	max-width: 320px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.modal-results {
	margin: 15px 0;
	line-height: 1.5;
}

.modal-bonus {
	color: #ff4d4f;
	font-weight: bold;
	margin: 10px 0;
}

.modal-close {
	margin-top: 15px;
	background: #06ae56;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	width: 100%;
	cursor: pointer;
}

input {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-sizing: border-box;
}

.alert-box {
	position: fixed;
	bottom: 20px;
	left: 10%;
	width: 80%;
	padding: 15px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 新增高风险提示样式 */
.high-risk {
	color: #ff0000;
	font-weight: bold;
	border-left: 4px solid #ff0000;
	padding-left: 10px;
	margin: 10px 0;
}

.security-warning {
	width: 90%;
	max-width: 350px;
	background: #fff8f8;
	border: 2px solid #ff4d4f;
}

.security-warning h4 {
	color: #ff4d4f;
	margin-top: 0;
}
