@charset "utf-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 1px;
    height: 1px
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #0a1116;
    border-radius: 4px
}

[v-cloak]{
	display:none;
}

:root {
	--primary-color: #00f5ff;
	--secondary-color: #ff00ff;
	--accent-color: #00ff88;
	--bg-primary: #0a0a0f;
	--bg-secondary: #1a1a2e;
	--bg-card: #16213e;
	--text-primary: #ffffff;
	--text-secondary: #b8c5d1;
	--border-color: #2a3b5c;
	--glow-color: #00f5ff;
}

a {
	text-decoration: none;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	background-image: 
		radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
	min-height: 100vh;
}

.page {
	display: none;
	min-height: 100vh;
	padding-top: 70px;
	padding-bottom: 85px;
}

.page.active {
	display: block;
}

/* 科幻风格头部 */
.header {
	background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 20px rgba(0, 245, 255, 0.1);
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-icon {
	width: 35px;
	height: 35px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { box-shadow: 0 0 15px rgba(0, 245, 255, 0.5); }
	50% { box-shadow: 0 0 25px rgba(0, 245, 255, 0.8); }
}

.logo-text {
	font-size: 18px;
	font-weight: 700;
	background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.back-btn {
	background: transparent;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	padding: 8px 15px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 14px;
}

.back-btn:hover {
	background: var(--primary-color);
	color: var(--bg-primary);
	box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

/* PC端顶部导航 */
.top-nav {
	display: none;
	align-items: center;
	gap: 20px;
}

.top-nav-item {
	text-decoration: none;
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 20px;
	border: 1px solid transparent;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.top-nav-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.2), transparent);
	transition: left 0.5s;
}

.top-nav-item:hover::before {
	left: 100%;
}

.top-nav-item:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
	box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.top-nav-item.active {
	color: var(--primary-color);
	border-color: var(--primary-color);
	background: rgba(0, 245, 255, 0.1);
}

/* 科幻风格卡片 */
.cyber-card {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 20px;
	margin: 15px;
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
	transition: all 0.3s;
}

.cyber-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.cyber-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
	border-color: var(--primary-color);
}

/* 输入框样式 */
.cyber-input {
	width: 100%;
	padding: 15px 20px;
	background: rgba(26, 26, 46, 0.5);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	color: var(--text-primary);
	font-size: 16px;
	transition: all 0.3s;
	backdrop-filter: blur(5px);
}

.cyber-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
	background: rgba(26, 26, 46, 0.8);
}

.cyber-input::placeholder {
	color: var(--text-secondary);
}

/* 按钮样式 */
.cyber-btn {
	width: 100%;
	padding: 15px;
	background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
	border: none;
	border-radius: 10px;
	color: var(--bg-primary);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.cyber-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s;
}

.cyber-btn:hover::before {
	left: 100%;
}

.cyber-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

.cyber-btn.secondary {
	background: linear-gradient(45deg, var(--secondary-color), #ff6b6b);
}

.cyber-btn.accent {
	background: linear-gradient(45deg, #ffd700, #ff8c00);
}

/* 标签页样式 */
.tab-container {
	display: flex;
	background: rgba(26, 26, 46, 0.5);
	border-radius: 15px;
	padding: 5px;
	margin: 15px;
	backdrop-filter: blur(10px);
}

.tab-item {
	flex: 1;
	padding: 12px;
	text-align: center;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 500;
	color: var(--text-secondary);
}

.tab-item.active {
	background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
	color: var(--bg-primary);
	box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

/* 标签页样式 */
.tab-container-scroll {
	display: flex;
	background: rgba(26, 26, 46, 0.5);
	border-radius: 15px;
	padding: 5px;
	margin: 15px 0;
	backdrop-filter: blur(10px);
	gap: 16px;
	overflow-x: scroll;
}

.tab-container-scroll .tab-scroll-item {
	padding: 10px 16px;
	text-align: center;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 500;
	white-space: nowrap;
	color: var(--text-secondary);
}

.tab-container-scroll .tab-scroll-item.active {
	background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
	color: var(--bg-primary);
	box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

/* 商品卡片 */
.product-card {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 15px;
	transition: all 0.3s;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	transform: scaleX(0);
	transition: transform 0.3s;
}

.product-card:hover::before {
	transform: scaleX(1);
}

.product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 245, 255, 0.2);
	border-color: var(--primary-color);
}

.product-image {
	width: 100%;
	height: 120px;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 10px;
	position: relative;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.3s;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}

/* 订单列表样式 */
.order-item {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 15px;
	margin: 10px 15px;
	display: flex;
	gap: 15px;
	position: relative;
	overflow: hidden;
	align-items: center;
}

.order-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.order-image {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
}

.order-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.order-info {
	flex: 1;
}

.order-status {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
}

.status-pending {
	background: rgba(255, 193, 7, 0.2);
	color: #ffc107;
	border: 1px solid #ffc107;
}

.status-paid {
	background: rgba(0, 245, 255, 0.2);
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.status-completed {
	background: rgba(0, 255, 136, 0.2);
	color: var(--accent-color);
	border: 1px solid var(--accent-color);
}

/* 二维码样式 */
.qr-container {
	text-align: center;
	padding: 20px;
}

.qr-code {
	width: 150px;
	height: 150px;
	background: white;
	border-radius: 15px;
	margin: 0 auto 20px;
	padding: 10px;
	box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.qr-code img {
	width: 100%;
	height: 100%;
}

/* 统计卡片 */
.stats-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin: 15px;
}

.stat-card {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 5px;
}

/* 详情行样式 */
.detail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(42, 59, 92, 0.3);
}

.detail-row:last-child {
	border-bottom: none;
}

/* 余额明细项目样式 */
.balance-item {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 15px;
	margin: 10px 15px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s;
}

.balance-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.balance-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 245, 255, 0.2);
	border-color: var(--primary-color);
}

/* 推广项目样式 */
.promotion-item {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 20px;
	margin-bottom: 15px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s;
}

.promotion-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.promotion-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
	border-color: var(--primary-color);
}

.menu-item {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 33, 62, 0.8) 100%);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 15px 20px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: all 0.3s;
}

.menu-item:hover {
	border-color: var(--primary-color);
	box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

.menu-arrow {
	color: var(--text-secondary);
	font-size: 18px;
}

/* 底部导航科幻风格 */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
	border-top: 1px solid var(--border-color);
	display: flex;
	height: 70px;
	z-index: 1000;
	backdrop-filter: blur(10px);
	box-shadow: 0 -4px 20px rgba(0, 245, 255, 0.1);
}

.nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--text-secondary);
	transition: all 0.3s;
	padding: 8px 5px;
	position: relative;
	overflow: hidden;
}

.nav-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	transition: width 0.3s;
}

.nav-item.active::before {
	width: 60%;
}

.nav-item.active {
	color: var(--primary-color);
}

.nav-icon {
	width: 28px;
	height: 28px;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
}

.nav-text {
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
}

/* 商品详情页样式 */
.product-detail-image {
	width: 100%;
	height: 300px;
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
}

.product-detail-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.detail-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 30px;
}

/* 富文本编辑器样式 */
.rich-content {
	background: rgba(26, 26, 46, 0.3);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	padding: 20px;
	margin: 15px;
	min-height: 400px;
	backdrop-filter: blur(5px);
}

.rich-content h1, .rich-content h2, .rich-content h3 {
	color: var(--primary-color);
	margin-bottom: 15px;
}

.rich-content img {
	max-width: 100%;
	border-radius: 10px;
	margin: 15px 0;
}

.rich-content a {
	color: var(--accent-color);
	text-decoration: none;
}

.rich-content a:hover {
	color: var(--primary-color);
}

@media (max-width: 768px){
	.el-message-box{width:315px!important;}
}

.el-carousel__container{
	height: 200px;
}

/* 响应式设计 */
@media (min-width: 768px) {
	.header {
		padding: 20px 40px;
	}

	.top-nav {
		display: flex;
	}

	.page {
		max-width: 1200px;
		margin: 0 auto;
		padding-top: 90px;
		padding-bottom: 40px;
	}

	.bottom-nav {
		display: none;
	}

	.stats-container {
		grid-template-columns: repeat(4, 1fr);
	}

	.detail-actions {
		grid-template-columns: 1fr 1fr;
	}

	.product-detail-image{
		height: 450px;
	}

	.el-carousel__container{
		height: 350px;
	}
}

/* 特殊动画效果 */
@keyframes glow {
	0%, 100% { box-shadow: 0 0 5px rgba(0, 245, 255, 0.5); }
	50% { box-shadow: 0 0 20px rgba(0, 245, 255, 0.8), 0 0 30px rgba(0, 245, 255, 0.6); }
}

.glow-effect {
	animation: glow 2s infinite;
}

/* 加载动画 */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid var(--border-color);
	border-radius: 50%;
	border-top-color: var(--primary-color);
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}