:root {
	--primary: #60a5fa;
	--primary-dark: #3b82f6;
	--primary-light: rgba(96, 165, 250, 0.20);
	--accent: #22d3ee;
	--secondary: #6b7280;
	--success: #10b981;
	--info: #06b6d4;
	--warning: #f59e0b;
	--danger: #ef4444;
	--bg-primary: #f5f7fb;
	/* page bg */
	--bg-secondary: #ffffff;
	/* header bg */
	--bg-sidebar: #ffffff;
	--bg-card: #ffffff;
	--card-bg: #ffffff;
	--text-primary: #0b1220;
	--text-secondary: #6b7280;
	--border-color: rgba(15, 23, 42, 0.12);
	--neon-glow: 0 0 10px rgba(96, 165, 250, 0.35), 0 0 20px rgba(34, 211, 238, 0.25);
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: var(--bg-primary);
	color: var(--text-primary);
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
	background-image:
		radial-gradient(circle at 15% 50%, rgba(58, 134, 255, 0.1) 0%, transparent 25%),
		radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 25%);
}

/* 布局样式 */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 30px;
	background-color: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	height: 70px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: 700;
}

.logo-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(45deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-tabs {
	display: flex;
	gap: 30px;
}

.nav-tab {
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
}

.nav-tab.active {
	background: var(--primary-light);
	color: var(--primary);
}

.nav-tab:hover:not(.active) {
	background: rgba(255, 255, 255, 0.05);
}

.user-menu {
	display: flex;
	align-items: center;
	gap: 15px;
}

.user-balance {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 8px 15px;
	background: var(--primary-light);
	border-radius: 8px;
	color: var(--primary);
	font-weight: 500;
}

.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	cursor: pointer;
}

.main-container {
	display: flex;
	flex: 1;
	overflow: hidden;
}

.sidebar {
	width: 280px;
	background-color: var(--bg-sidebar);
	padding: 10px 0;
	overflow-y: auto;
	transition: transform 0.3s ease;
	border-right: 1px solid var(--border-color);
}

.sidebar-section {
	margin-bottom: 10px;
	font-size: 0.9rem;
}

.sidebar-title {
	padding: 5px 15px;
	color: var(--text-secondary);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.sidebar-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 10px 18px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: var(--text-secondary);
}

.sidebar-item:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
}

.sidebar-item.active {
	background: var(--primary-light);
	color: var(--primary);
	border-right: 3px solid var(--primary);
}

.content-area {
	flex: 1;
	overflow-y: auto;
	padding: 30px;
	margin-bottom: 100px;
}

.page-container {
	display: none;
}

.page-container.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

.page-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.3rem;
	margin-bottom: 30px;
}

.page-title i {
	color: var(--primary);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 1.2rem;
	cursor: pointer;
	margin-right: 15px;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

/* 模态框样式 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal.active {
	display: flex;
}

.modal-content {
	background-color: var(--bg-card);
	border-radius: 16px;
	width: 100%;
	max-width: 500px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 25px;
	border-bottom: 1px solid var(--border-color);
}

.modal-title {
	font-size: 1.3rem;
	font-weight: 600;
}

.modal-close {
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.3s ease;
}

.modal-close:hover {
	color: var(--text-primary);
}

.modal-body {
	padding: 25px;
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-input {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
	transition: border-color 0.3s ease;
}

.form-input:focus {
	border-color: var(--primary);
}

.btn-primary {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 20px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

/* 欢迎动画样式 */
.welcome-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg-primary);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	transition: opacity 0.5s ease;
}

.welcome-logo {
	font-size: 4rem;
	margin-bottom: 2rem;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

.welcome-text {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 2rem;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.loading-bar {
	width: 300px;
	height: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	overflow: hidden;
}

.loading-progress {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 3px;
	animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
	0% {
		width: 0%;
	}

	100% {
		width: 100%;
	}
}

/* 登录弹窗样式 */
.auth-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(10px);
}

.auth-modal.active {
	display: flex;
}

.auth-content {
	background-color: var(--bg-card);
	border-radius: 16px;
	width: 100%;
	max-width: 400px;
	padding: 30px;
	border: 1px solid var(--border-color);
	position: relative;
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.auth-header {
	text-align: center;
	margin-bottom: 25px;
}

.auth-title {
	font-size: 1.8rem;
	margin-bottom: 10px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.auth-subtitle {
	color: var(--text-secondary);
	font-size: 1rem;
}

.auth-divider {
	display: flex;
	align-items: center;
	margin: 20px 0;
	color: var(--text-secondary);
}

.auth-divider::before,
.auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background-color: var(--border-color);
}

.auth-divider span {
	padding: 0 15px;
	font-size: 0.9rem;
}

.google-auth-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px;
	background: white;
	color: #757575;
	border: none;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.google-auth-btn:hover {
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.phone-input {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 15px;
}

.phone-prefix {
	padding: 12px 15px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-primary);
	font-weight: 500;
}

.phone-input input {
	flex: 1;
	background: transparent;
	border: none;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
}

.verification-input {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.verification-input input {
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
}

.send-code-btn {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 0 15px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.send-code-btn:disabled {
	background: rgba(255, 255, 255, 0.1);
	cursor: not-allowed;
}

.auth-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.auth-checkbox input {
	width: 16px;
	height: 16px;
}

.auth-checkbox a {
	color: var(--primary);
	text-decoration: none;
}

.auth-submit-btn {
	width: 100%;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.auth-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.auth-footer {
	text-align: center;
	margin-top: 20px;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.auth-footer a {
	color: var(--primary);
	text-decoration: none;
}

.auth-tabs {
	display: flex;
	margin-bottom: 25px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	padding: 4px;
}

.auth-tab {
	flex: 1;
	text-align: center;
	padding: 10px;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.auth-tab.active {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
}

/* 提现模态框样式 */
.withdraw-process {
	text-align: center;
	padding: 30px 0;
}

.withdraw-process i {
	font-size: 3rem;
	color: var(--primary);
	margin-bottom: 15px;
	animation: pulse 2s infinite;
}

.withdraw-process p {
	font-size: 1.2rem;
	color: var(--text-primary);
}

/* 个人中心样式 */
.profile-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 600;
}

.profile-info h2 {
	font-size: 1.5rem;
	margin-bottom: 5px;
}

.profile-info p {
	color: var(--text-secondary);
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.profile-stat {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 20px;
	border: 1px solid var(--border-color);
	text-align: center;
}

.profile-stat-value {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 5px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.profile-stat-label {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.profile-history {
	margin-top: 30px;
}

.profile-history h3 {
	font-size: 1.2rem;
	margin-bottom: 15px;
	color: var(--text-primary);
}

.history-items {
	display: grid;
	gap: 15px;
}

.history-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background: var(--bg-card);
	borderRadius: 12px;
	border: 1px solid var(--border-color);
}

.history-item-info {
	flex: 1;
}

.history-item-title {
	font-weight: 600;
	margin-bottom: 5px;
}

.history-item-date {
	color: var(--text-secondary);
	font-size: 0.85rem;
}

.history-item-amount {
	font-weight: 600;
	color: var(--primary);
}

/* 邀请好友样式 */
.invite-container {
	background: var(--bg-card);
	border-radius: 16px;
	padding: 30px;
	border: 1px solid var(--border-color);
	margin-bottom: 30px;
}

.invite-header {
	text-align: center;
	margin-bottom: 30px;
	position: relative;
}

.invite-header::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 3px;
}

.invite-title {
	font-size: 1.8rem;
	margin-bottom: 15px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.invite-subtitle {
	color: var(--text-secondary);
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto;
}

.invite-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.invite-feature {
	text-align: center;
	padding: 20px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.invite-feature:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.invite-feature i {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: var(--primary);
}

.invite-feature h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.invite-feature p {
	color: var(--text-secondary);
	font-size: 0.95rem;
}

.invite-link-container {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 20px;
	border: 1px solid var(--border-color);
	margin-bottom: 20px;
}

.invite-link {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.invite-link input {
	flex: 1;
	background: transparent;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
}

.copy-link-btn {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.copy-link-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.invite-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
}

.invite-stat {
	text-align: center;
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px solid var(--border-color);
}

.invite-stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 5px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.invite-stat-label {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* 任务卡片样式 */
.task-card {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 20px;
	border: 1px solid var(--border-color);
	margin-bottom: 20px;
}

.task-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.task-title {
	font-size: 1.2rem;
	font-weight: 600;
}

.task-reward {
	background: var(--primary-light);
	color: var(--primary);
	padding: 5px 10px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.9rem;
}

.task-description {
	color: var(--text-secondary);
	margin-bottom: 15px;
	line-height: 1.6;
}

.task-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.task-difficulty {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.task-action {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 8px 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.task-action:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.task-action.completed {
	background: var(--success);
}

/* 空状态样式 */
.empty-state {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-secondary);
}

.empty-state i {
	font-size: 3rem;
	margin-bottom: 15px;
	opacity: 0.5;
}

.empty-state p {
	font-size: 1.1rem;
}

/* 聊天界面样式 */
.chat-container {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 240px);
	background: var(--bg-card);
	border-radius: 12px;
	border: 1px solid var(--border-color);
	overflow: hidden;
}

.chat-messages {
	flex: 1;
	padding: 20px;
	overflow-y: auto;
}

.message {
	max-width: 80%;
	margin-bottom: 20px;
	padding: 15px;
	border-radius: 12px;
	line-height: 1.6;
}

.message.user {
	background: var(--primary-light);
	margin-left: auto;
	border-bottom-right-radius: 4px;
}

.message.ai {
	background: rgba(255, 255, 255, 0.05);
	margin-right: auto;
	border-bottom-left-radius: 4px;
}

.chat-input-container {
	display: flex;
	padding: 15px;
	border-top: 1px solid var(--border-color);
	background: var(--bg-secondary);
}

.chat-input {
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
	resize: none;
	height: 50px;
	line-height: 1.5;
}

.chat-send-btn {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 0 20px;
	margin-left: 10px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.chat-send-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

/* AI答题任务样式 */
.ai-task-banner {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 16px;
	padding: 30px;
	margin-bottom: 30px;
	color: white;
	position: relative;
	overflow: hidden;
}

.ai-task-banner::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 200px;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="2" opacity="0.2"/><path d="M30,30 L70,70 M70,30 L30,70" stroke="white" stroke-width="2" opacity="0.2"/></svg>') no-repeat;
	background-size: contain;
	opacity: 0.1;
}

.ai-task-banner h2 {
	font-size: 2rem;
	margin-bottom: 15px;
}

.ai-task-banner p {
	font-size: 1.1rem;
	margin-bottom: 20px;
	max-width: 600px;
}

.ai-task-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.ai-task-info {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 20px;
	border: 1px solid var(--border-color);
}

.ai-task-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.ai-task-stat {
	text-align: center;
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
}

.ai-task-stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 5px;
	color: var(--primary);
}

.ai-task-stat-label {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* 新版AI答题对话框样式 */
.ai-question-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(10px);
}

.ai-question-modal.active {
	display: flex;
}

.ai-question-content {
	background-color: var(--bg-card);
	border-radius: 16px;
	width: 100%;
	max-width: 600px;
	padding: 30px;
	border: 1px solid var(--border-color);
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-question-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
}

.ai-question-title {
	font-size: 1.3rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ai-question-title i {
	color: var(--primary);
}

.ai-question-progress {
	color: var(--text-secondary);
	background: rgba(255, 255, 255, 0.1);
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.9rem;
}

.ai-question-body {
	margin-bottom: 25px;
}

.ai-question-text {
	font-size: 1.1rem;
	margin-bottom: 20px;
	line-height: 1.6;
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border-left: 4px solid var(--primary);
}

.ai-question-input {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
	resize: none;
	min-height: 100px;
	margin-bottom: 15px;
	transition: border-color 0.3s ease;
}

.ai-question-input:focus {
	border-color: var(--primary);
}

.ai-question-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ai-question-hint {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.ai-question-send {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ai-question-send:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.ai-question-send:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* 审核中动画样式 */
.verification-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(10px);
}

.verification-modal.active {
	display: flex;
}

.verification-content {
	background-color: var(--bg-card);
	border-radius: 16px;
	width: 100%;
	max-width: 400px;
	padding: 30px;
	border: 1px solid var(--border-color);
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.verification-icon {
	font-size: 3rem;
	color: var(--primary);
	margin-bottom: 20px;
	animation: pulse 1.5s infinite;
}

.verification-title {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.verification-text {
	color: var(--text-secondary);
	margin-bottom: 20px;
}

.verification-timer {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 20px;
}

.verification-progress {
	width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 20px;
}

.verification-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 3px;
	transition: width 0.5s ease;
}

/* 答题成功模态框 */
.answer-success-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(10px);
}

.answer-success-modal.active {
	display: flex;
}

.answer-success-content {
	background-color: var(--bg-card);
	border-radius: 16px;
	width: 100%;
	max-width: 400px;
	padding: 30px;
	border: 1px solid var(--border-color);
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.answer-success-icon {
	font-size: 3rem;
	color: var(--success);
	margin-bottom: 20px;
	animation: pulse 1.5s infinite;
}

.answer-success-title {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.answer-success-text {
	color: var(--text-secondary);
	margin-bottom: 20px;
}

.answer-success-points {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 20px;
}

/* 积分兑换样式 */
.points-exchange {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 20px;
	border: 1px solid var(--border-color);
	margin-bottom: 20px;
}

.points-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.points-balance {
	display: flex;
	align-items: center;
	gap: 10px;
}

.points-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
}

.exchange-rate {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.exchange-form {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.exchange-input {
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 12px 15px;
	color: var(--text-primary);
	outline: none;
}

/* 安全码按钮样式 */
.get-security-code-btn {
	background: linear-gradient(90deg, var(--info), var(--primary));
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.get-security-code-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.security-code-container {
	display: flex;
	gap: 10px;
	align-items: center;
}

.security-code-container .form-input {
	flex: 1;
}

/* 科技感按钮样式 */
.tech-button {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	color: white;
	border: none;
	border-radius: 12px;
	padding: 15px 30px;
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 15px rgba(58, 134, 255, 0.5);
}

.tech-button::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transform: rotate(45deg);
	animation: shine 3s infinite;
}

.tech-button:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 10px 25px rgba(58, 134, 255, 0.7), 0 0 30px rgba(139, 92, 246, 0.5);
}

.tech-button:active {
	transform: translateY(0) scale(1);
}

/* 加载动画 */
.tech-loading {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.9);
	z-index: 3000;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

.tech-loading.active {
	display: flex;
}

.tech-spinner {
	width: 80px;
	height: 80px;
	border: 5px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	border-top: 5px solid var(--primary);
	animation: spin 1s linear infinite;
	margin-bottom: 20px;
	box-shadow: 0 0 20px var(--primary);
}

.tech-loading-text {
	font-size: 1.5rem;
	font-weight: 600;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 10px rgba(58, 134, 255, 0.5);
}

/* 动画 */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0px);
	}
}

@keyframes shine {
	0% {
		transform: translateX(-100%) rotate(45deg);
	}

	100% {
		transform: translateX(100%) rotate(45deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}



@media (max-width: 768px) {
	.header {
		padding: 15px 20px;
	}

	.content-area {
		padding: 20px;
	}
	.chat-container {
		height: calc(100vh - 250px);
	}
	.message {
		max-width: 100%;
	}

	.profile-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.invite-features {
		grid-template-columns: 1fr;
	}

	.ai-task-stats {
		grid-template-columns: 1fr;
	}

	.security-code-container {
		flex-direction: column;
	}

	.get-security-code-btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.profile-stats {
		grid-template-columns: 1fr;
	}

	.auth-content {
		padding: 20px;
	}

	.verification-input {
		flex-direction: column;
	}

	.send-code-btn {
		width: 100%;
		padding: 12px;
	}

	.exchange-form {
		flex-direction: column;
	}

	.ai-question-footer {
		flex-direction: column;
		gap: 15px;
	}

	.ai-question-hint {
		order: 2;
	}

	.ai-question-send {
		order: 1;
		width: 100%;
	}
}


/* === Light Skin Overrides (Oracleon / DeepSeek palette) === */
body {
	background-color: var(--bg-primary) !important;
	color: var(--text-primary) !important;
	background-image:
		radial-gradient(circle at 15% 50%, rgba(96, 165, 250, 0.10) 0%, transparent 25%),
		radial-gradient(circle at 85% 30%, rgba(34, 211, 238, 0.10) 0%, transparent 25%);
}

.header {
	background-color: var(--bg-secondary) !important;
}

.sidebar {
	background-color: var(--bg-sidebar) !important;
}

/* .page-title i, */
.ai-task-banner,
.btn-primary,
.task-action,
.copy-link-btn,
.tech-button,
.ai-question-send {
	background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
}

.user-balance {
	background: var(--primary-light) !important;
	color: var(--primary) !important;
}

.task-card,
.invite-container,
.ai-task-info,
.points-exchange,
.profile-stat,
.invite-feature,
.chat-container {
	background: var(--bg-card) !important;
	border-color: var(--border-color) !important;
}

.message.ai {
	background: #f8fafc !important;
}

.message.user {
	background: var(--primary-light) !important;
}

.chat-input {
	background: #f8fafc !important;
	border-color: var(--border-color) !important;
	color: var(--text-primary) !important;
}

.chat-container {
	border: 1px solid var(--border-color) !important;
}

.nav-tab.active,
.sidebar-item.active {
	background: var(--primary-light) !important;
	color: var(--primary) !important;
}

.modal-content,
.auth-content,
.ai-question-content,
.verification-content,
.answer-success-content {
	background: var(--bg-card) !important;
	border-color: var(--border-color) !important;
}

.form-input,
.exchange-input,
.invite-link input {
	background: #f8fafc !important;
	border-color: var(--border-color) !important;
	color: var(--text-primary) !important;
}

.history-item {
	background: #fff !important;
	border-color: var(--border-color) !important;
	border-radius: 12px;
}

.profile-avatar,
.logo-icon {
	background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
}

.logo span,
.welcome-text,
.auth-title {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}