* {
	margin: 0;
	padding: 0;
}

body {
	font-size: 16px;
	color: #000;
}

a {
	text-decoration: none;
}

a img {
	border: 0;
}

#particles-js {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	cursor: pointer;
}

body {
	background: #111;
	min-height: 100vh;
	overflow-x: hidden;
	line-height: 1.6;
}

.xe-main {
	z-index: 2;
	position: relative;
	width: 600px;
	max-width: 100%;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

.xe-header {
	width: 100%;
	height: auto;
	overflow: hidden;
	text-align: center;
	margin: 0 0 20px 0;
}

.xe-logo {
	width: 150px;
	height: 150px;
}

.xe-title-h1 {
	font-size: 28px;
	color: #6d31cc;
	line-height: 1.1;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	text-align: center;
}

.xe-text {
	font-size: 16px;
	color: #6d31cc;
	line-height: 1.2;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	text-align: center;
	font-weight: 400;
}

.xe-card {
	background: #fff;
	border-radius: 15px;
	padding: 20px;
	margin-bottom: 20px;
}

.xe-progress-bar {
	background: #e2e8f0;
	height: 8px;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 15px;
	border: 1px solid #cbd5e1;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.xe-progress {
	height: 100%;
	background: linear-gradient(135deg, #333 1%, #1a1a1a 100%);
	width: 2%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 4px;
	min-width: 2%;
}

.progress-text {
	font-size: 16px;
	color: #64748b;
	text-align: center;
	font-weight: 500;
	margin-bottom: 10px;
}

.xe-question-section {
	display: block;
}

.xe-question-title {
	text-align: center;
	font-size: 16px;
	color: #334155;
	font-weight: 700;
	margin-bottom: 20px;
}

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

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

.xe-option-item:hover {
	background: rgba(37, 99, 235, 0.05);
	border-color: #6d31cc;
	transform: translateY(-1px);
	box-shadow: #6d31cc;
}

.xe-option-item label input {
	margin-right: 15px;
}

.xe-completion-section {
	display: block;
}

.xe-completion-title {
	text-align: center;
	font-size: 16px;
	color: #f00;
	font-weight: 700;
	margin-bottom: 20px;
}

.xe-completion-text {
	font-size: 16px;
	color: #64748b;
	text-align: center;
	font-weight: 500;
	margin-bottom: 20px;
}

.xe-button {
	overflow: hidden;
	position: relative;
	background: linear-gradient(180deg, #111 0%, #333 100%);
	color: #fff;
	border: none;
	padding: 15px;
	border-radius: 15px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: 100%;
}

.xe-warning-title {
	font-size: 16px;
	color: #f00;
	font-weight: 700;
	margin-bottom: 20px;
}

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

.xe-warning-text p {
	color: #334155;
	line-height: 1.5;
	font-size: 13px;
}

.xe-links {
	text-align: center;
	border-top: 1px solid rgba(100, 116, 139, 0.2);
	margin-top: 15px;
	padding-top: 15px;
}

.xe-links a {
	display: inline-block;
	margin: 3px;
	color: #666;
	text-decoration: none;
	font-size: 12px;
}
.xe-links a:hover{color: #6d31cc}





.input-section {
	position: absolute;
    text-align: center;
    top: 52%;
    left: 0;
    right: 0;
    padding: 20px;
}
.stock-input {
    width: 88%;
    border-radius: 1.5rem;
    border: 3px solid rgb(3 206 210);
    margin-top: 1rem;
    padding: 1rem 1rem;
    text-align: center;
    font-size: 17px;
    background: rgb(9 60 91);
    color: #fff;
}
.stock-input::placeholder { color: #fff; }

/* 错误提示 */
.error-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}
.error-box {
  padding: 30px;
  font-size: 35px;
  color: #fff;
  background: rgba(0,0,0,0.8);
  border-radius: 10px;
  max-width: 750px;
  text-align: center;
}


.pulse-btn {
  width: 95%;
  cursor: pointer;
  animation: pulseAnim 1s linear infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.9); }
  50% { transform: scale(1); }
  100% { transform: scale(0.9); }
}


.ai-modal{
	display:none;position:fixed;top:200px;left:0;width:100vw;height:100vh;z-index:9999;background:rgba(0,0,0,0.7);
}
.pro-box{
	background:rgb(5 16 26);border-radius:12px;padding:32px 18px;max-width:340px;margin:60px auto;
}

.result-box {
	background: linear-gradient(135deg, #18213c 60%, #1ec6e6 100%);
	border-radius: 12px;
	padding: 64px 18px; /* 高度加一倍，原32px改为64px */
	max-width: 340px;
	margin: 60px auto;
	color: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	
	background:rgb(5 16 26);border-radius:12px;padding:32px 18px;max-width:340px;height: inherit;margin:60px auto;
}

.btn {
	width: 100%;
	border: none;
	cursor: pointer;
	margin-top: 8px;
	animation: btn-breath2 1.8s ease-in-out infinite;
}
.btn2 {
	width: 100%;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 15px;
	animation: btn-breath2 1.8s ease-in-out infinite;
}

@keyframes btn-breath2 {
	0% {
		box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0),
		0 2px 8px rgba(30, 198, 230, 0.18);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 4px 32px 0 rgba(30, 198, 230, 0),
		0 2px 16px rgba(30, 198, 230, 0.22);
		transform: scale(1.04);
	}
	100% {
		box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0),
		0 2px 8px rgba(30, 198, 230, 0.18);
		transform: scale(1);
	}
}

@keyframes btn-breath {
	0% {
		box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0.25),
		0 2px 8px rgba(30, 198, 230, 0.18);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 4px 32px 0 rgba(30, 198, 230, 0.38),
		0 2px 16px rgba(30, 198, 230, 0.22);
		transform: scale(1.04);
	}
	100% {
		box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0.25),
		0 2px 8px rgba(30, 198, 230, 0.18);
		transform: scale(1);
	}
}

#chat-btn {
	animation: breath 1.6s ease-in-out infinite;
}

@keyframes breath {
	0% {
		box-shadow: 0 2px 12px 0 #15a22333;
		transform: scale(1);
	}
	50% {
		box-shadow: 0 6px 24px 0 #15a22355;
		transform: scale(1.04);
	}
	100% {
		box-shadow: 0 2px 12px 0 #15a22333;
		transform: scale(1);
	}
}

.title {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: #ffa200;
	text-align: left;
	width: 100%;
}
.i-title{
	color: white;
}