/* #region 抽奖卡片及特效 */
.card-glow.coins {
	background: linear-gradient(135deg, #fff 30%, #ffc 50%, #ffc 80%, #fff 100%);
}

.card-glow.points {
	background: linear-gradient(45deg, #fff 0%, #cff 20%, #cff 50%, #fff 70%);
}

.lottery-card {
	position: relative;
	display: flex;
	overflow: hidden;
	border-radius: 16px;
	height: 300px;
	flex-direction: row;
	text-decoration: none;
	transform-style: preserve-3d;
	transition: all 0.4s ease;
}

/* 卡片介绍 */
.text-content {
	margin: 0 auto;
	align-items: center;
}

.card-glow i {
	font-size: 3.5em;
}

.card-glow.coins i {
	color: #f1c40f;
}

.card-glow.points i {
	color: #3498db;
}

.lottery-card h3 {
	font-size: 1.5em;
	color: #1a237e;
}

.lottery-card p {
	color: #666;
}

/* 卡片特效 */
.card-glow::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	z-index: -1;
	background: linear-gradient(45deg, 
		#ff0000, #ff7300, #fffb00, #48ff00, 
		#00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
	background-size: 400%;
	border-radius: 10px;
	opacity: 0;
	transition: 0.5s;
}

.card-glow:hover::before {
	opacity: 1;
	animation: rainbow-glow 20s linear infinite;
	filter: blur(5px);
}

@keyframes rainbow-glow {
	0% { background-position: 0 0; }
	50% { background-position: 400% 0; }
	100% { background-position: 0 0; }
}
/* #endregion */

/* #region 奖品展示 */
.stars-icons {
	font-size: 6px;
}

.swiper-slide span {
	transition: all 0.3s ease;
}

.swiper-slide:hover span {
	padding: 6px 14px;
}

.fa-star {
	transition: all 0.3s ease;
}

.swiper-slide:hover .fa-star {
	transform: translateY(-5px);
}

.stars-icons i:nth-child(1) { transition-delay: 0.1s; }
.stars-icons i:nth-child(2) { transition-delay: 0.2s; }
.stars-icons i:nth-child(3) { transition-delay: 0.3s; }
.stars-icons i:nth-child(4) { transition-delay: 0.4s; }
.stars-icons i:nth-child(5) { transition-delay: 0.5s; }
/* #endregion */

/* #region 幸运榜单 */
.lucky-list {
	background: white;
	border-radius: 12px;
	margin-top: 30px;
	padding: 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.lucky-list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.lucky-list-tabs {
	margin-right: 10px;
	display: flex;
	gap: 12px;
}

.lucky-list-tab {
	padding: 10px 20px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 1px solid #e0e0e0;
	background: white;
	color: #666;
}

.lucky-list-tab:hover {
	background: #f5f5f5;
	transform: translateY(-1px);
}

.lucky-list-tab.active {
	background: #1a73e8;
	color: white;
	border-color: #1a73e8;
	box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.lucky-message {
	margin: 20px 0;
	padding: 15px 20px;
	background: linear-gradient(135deg, #fff8e1, #fffde7);
	border-left: 4px solid #ffd54f;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.lucky-message i {
	font-size: 20px;
	color: #ffa000;
}

.lucky-message span {
	font-size: 15px;
	color: #424242;
	font-weight: 500;
}

.lucky-list-content {
	display: block;
	height: 320px;
	overflow: hidden;
	position: relative;
}

.stats-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	padding: 10px;
	background: #f8f9fa;
	border-radius: 12px;
	border: 1px solid #e0e0e0;
	gap: 20px;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.stat-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.stat-item:first-child .stat-icon {
	background: linear-gradient(135deg, #FF4D4F20, #FF4D4F40);
	color: #FF4D4F;
}

.stat-item:last-child .stat-icon {
	background: linear-gradient(135deg, #1a73e820, #1a73e840);
	color: #1a73e8;
}

.stat-content {
	text-align: left;
}

.stat-value {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	line-height: 1.2;
}

.stat-label {
	font-size: 14px;
	color: #666;
	margin-top: 2px;
}

.stat-divider {
	width: 1px;
	height: 40px;
	background: #e0e0e0;
}
/* #endregion */

/* #region 历史列表 */
#history-container {
	position: relative;
	width: 100%;
	margin: 0 auto;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background-color: #f9f9f9;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	overflow: hidden;
}

.history-pages-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.history-page {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	box-sizing: border-box;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.history-page.active {
	opacity: 1;
	pointer-events: auto;
	animation: none;
}

.history-page.animate-in-up {
	animation: slideInUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.history-page.animate-in-down {
	animation: slideInDown 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.history-page.animate-out-up {
	animation: slideOutUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.history-page.animate-out-down {
	animation: slideOutDown 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes slideInUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideInDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideOutUp {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(-100%);
		opacity: 0;
	}
}

@keyframes slideOutDown {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(100%);
		opacity: 0;
	}
}

.history-item {
	border-radius: 8px;
	margin: 0 0 8px;
	background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,245,0.9) 100%);
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	display: grid;
	grid-template-columns: 2fr 4fr 7fr 2fr 6fr;
	align-items: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.history-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(to bottom, #4facfe, #00f2fe);
}

.history-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.history-item div {
	padding: 10px;
	color: #555;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 
		0 0 10px rgba(0,0,0,0.5),
		0 0 20px rgba(0,0,0,0.2);
	font-size: 16px;
	font-weight: 600;
}

.history-item .type0 {
	color: #fffb00;
}

.history-item .type1 {
	color: #10ffff;
}

.no-data {
	padding: 40px;
	color: #666;
	font-size: 16px;
}
/* #endregion */

/* #region 特色功能展示 */
.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.feature-card {
	padding: 30px;
	transition: all 0.3s ease;
	border: 1px solid #eee;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: #f8f9fa;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon i {
	font-size: 2em;
	color: #3498db;
}
/* #endregion */

/* #region 信息区块 */
.info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: left;
}

.info-card {
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	border: 1px solid #eee;
	transition: transform 0.3s ease;
}

.info-card:hover {
	transform: translateY(-5px);
}

.info-card h3 {
	color: #1a237e;
	margin-bottom: 20px;
	font-size: 1.3em;
	position: relative;
	padding-left: 30px;
}

.info-card h3::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 2px;
	background: #bf953f;
}

.info-card ul {
	list-style: none;
		padding: 0;
}

.info-card li {
	padding: 10px 0;
	color: #666;
	position: relative;
	padding-left: 25px;
}

.info-card li::before {
	content: '•';
	color: #bf953f;
	position: absolute;
	left: 0;
	font-size: 1.5em;
	line-height: 1;
}
/* #endregion */