/* ============================================
   全局重置和基础样式
   ============================================ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
	font-size: 16px;
	color: #000;
	background: #0a0e27;
	min-height: 100vh;
	overflow-x: hidden;
	line-height: 1.6;
	position: relative;
}

a {
	text-decoration: none;
}

a img {
	border: 0;
}

/* ============================================
   股票动态背景
   ============================================ */
#stockBackground {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1529 100%);
}

/* ============================================
   主容器
   ============================================ */
#root {
	z-index: 2;
	position: relative;
}

.xe-main {
	width: 600px;
	max-width: 100%;
	margin: 0 auto;
	padding: 30px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	border-radius: 25px;
	border: 1px solid rgba(34, 197, 94, 0.2);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
	            0 0 0 1px rgba(34, 197, 94, 0.1),
	            inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ============================================
   头部和Logo
   ============================================ */
.xe-header {
	width: 100%;
	height: auto;
	overflow: hidden;
	text-align: center;
	margin: 0 0 30px 0;
}

.xe-logo {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	box-shadow: 0 8px 32px rgba(34, 197, 94, 0.2);
}

/* ============================================
   标题和文本
   ============================================ */
.xe-title-h1 {
	font-size: 32px;
	color: #22c55e;
	line-height: 1.2;
	font-weight: 800;
	text-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
	margin-bottom: 15px;
	text-align: center;
	letter-spacing: -0.5px;
}

.xe-text {
	font-size: 18px;
	color: #fbbf24;
	line-height: 1.4;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 25px;
	text-align: center;
	font-weight: 500;
}

/* ============================================
   卡片样式
   ============================================ */
.xe-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 25px;
	margin-bottom: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(34, 197, 94, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xe-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(34, 197, 94, 0.2);
}

/* ============================================
   进度条
   ============================================ */
.xe-progress-bar {
	background: #e5e7eb;
	height: 10px;
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 15px;
	border: 1px solid #d1d5db;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.xe-progress {
	height: 100%;
	background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
	width: 2%;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 5px;
	min-width: 2%;
	box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.progress-text {
	font-size: 16px;
	color: #4b5563;
	text-align: center;
	font-weight: 600;
	margin-bottom: 15px;
}

/* ============================================
   问题部分
   ============================================ */
.xe-question-section {
	display: block;
}

.xe-question-title {
	text-align: center;
	font-size: 18px;
	color: #1f2937;
	font-weight: 700;
	margin-bottom: 25px;
	line-height: 1.5;
}

.xe-options-list {
	list-style: none;
}

.xe-option-item {
	display: flex;
	align-items: center;
	padding: 15px;
	background: #f9fafb;
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-weight: 600;
	font-size: 16px;
	color: #374151;
	margin-bottom: 12px;
}

.xe-option-item:hover {
	background: rgba(34, 197, 94, 0.08);
	border-color: #22c55e;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.xe-option-item:active {
	transform: translateY(0);
}

.xe-option-item label {
	display: flex;
	align-items: center;
	width: 100%;
	cursor: pointer;
}

.xe-option-item label input {
	margin-right: 15px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: #22c55e;
}

/* ============================================
   完成部分
   ============================================ */
.xe-completion-section {
	display: block;
	text-align: center;
}

.xe-completion-title {
	font-size: 20px;
	color: #22c55e;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.xe-completion-text {
	font-size: 16px;
	color: #6b7280;
	text-align: center;
	font-weight: 500;
	margin-bottom: 25px;
	line-height: 1.6;
}

.xe-button {
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
	color: #fff;
	border: none;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
	text-transform: uppercase;
	letter-spacing: 1px;
	width: 100%;
}

.xe-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
	background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
}

.xe-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

/* ============================================
   警告部分
   ============================================ */
.xe-warning-title {
	font-size: 18px;
	color: #ef4444;
	font-weight: 700;
	margin-bottom: 20px;
	text-align: center;
}

.xe-warning-text {
	overflow: hidden;
}

.xe-warning-text p {
	color: #4b5563;
	line-height: 1.7;
	font-size: 14px;
	margin-bottom: 12px;
}

.xe-warning-text p:last-child {
	margin-bottom: 0;
}

/* ============================================
   链接部分
   ============================================ */
.xe-links {
	text-align: center;
	border-top: 1px solid rgba(107, 114, 128, 0.2);
	margin-top: 20px;
	padding-top: 20px;
}

.xe-links a {
	display: inline-block;
	margin: 0 8px;
	color: #6b7280;
	text-decoration: none;
	font-size: 13px;
	transition: color 0.3s ease;
	padding: 5px 10px;
	border-radius: 6px;
}

.xe-links a:hover {
	color: #22c55e;
	background: rgba(34, 197, 94, 0.1);
}

/* ============================================
   弹窗样式
   ============================================ */
.xe-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.xe-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
}

.xe-modal-content {
	position: relative;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 30px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
	            0 0 0 1px rgba(34, 197, 94, 0.2);
	animation: slideUp 0.3s ease;
	z-index: 10001;
}

.xe-modal-title {
	font-size: 24px;
	color: #22c55e;
	font-weight: 700;
	margin-bottom: 20px;
	text-align: center;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.xe-modal-body {
	font-size: 16px;
	color: #4b5563;
	line-height: 1.6;
	margin-bottom: 25px;
	text-align: center;
}

.xe-modal-button {
	width: 100%;
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
	color: #fff;
	border: none;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.xe-modal-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
	background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
}

.xe-modal-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
	.xe-main {
		padding: 15px;
	}

	.xe-title-h1 {
		font-size: 24px;
	}

	.xe-text {
		font-size: 16px;
	}

	.xe-card {
		padding: 20px;
		border-radius: 15px;
	}

	.xe-question-title {
		font-size: 16px;
	}

	.xe-button {
		font-size: 16px;
		padding: 14px 20px;
	}

	.xe-modal-content {
		padding: 25px;
		max-width: 90%;
	}

	.xe-modal-title {
		font-size: 20px;
	}

	.xe-modal-body {
		font-size: 14px;
	}

	.xe-modal-button {
		font-size: 16px;
		padding: 14px 20px;
	}
}
