@charset "utf-8";

/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #333;
	background: #f5f7fa;
}

.por-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 顶部横幅 */
.activity-hero {
	width: 100%;
	background: #e8f4ff;
	overflow: hidden;
	max-height: 450px;
}

.hero-banner-img {
	width: 100%;
	height: 450px;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* 活动标签导航 */
.activity-tabs {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	position: sticky;
	top: 0;
	z-index: 100;
}

.tabs-wrapper {
	display: flex;
	justify-content: center;
	gap: 0;
}

.tab-item {
	padding: 18px 40px;
	font-size: 15px;
	color: #666;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
	position: relative;
}

.tab-item:hover {
	color: #0038ff;
}

.tab-item.active {
	color: #0038ff;
	border-bottom-color: #0038ff;
	font-weight: 500;
}

/* 活动内容区 */
.activity-content {
	padding: 30px 0 50px;
	background: #f5f7fa;
}

.activity-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
}

.tab-content {
	display: none;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.tab-content.active {
	display: grid !important;
}

/* 活动卡片 */
.activity-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e8e8e8;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.activity-card:hover {
	box-shadow: 0 6px 20px rgba(0, 56, 255, 0.12);
	transform: translateY(-4px);
	border-color: #0038ff;
}

.card-badge {
	position: absolute;
	top: 12px;
	right: 0;
	background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
	color: #fff;
	padding: 5px 14px;
	border-radius: 16px 0 0 16px;
	font-size: 11px;
	font-weight: 600;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.card-badge.hot {
	background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
	box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.card-badge.limited {
	background: linear-gradient(135deg, #ffa502 0%, #ffb732 100%);
	box-shadow: 0 2px 8px rgba(255, 165, 2, 0.3);
}

.card-badge.free {
	background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
	box-shadow: 0 2px 8px rgba(46, 213, 115, 0.3);
}

.card-header {
	padding: 20px 18px 14px;
	background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
	border-bottom: 2px solid #f0f2f5;
}

.card-title {
	font-size: 17px;
	color: #1a1a1a;
	margin-bottom: 6px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.3px;
}

.card-desc {
	font-size: 12px;
	color: #888;
	line-height: 1.5;
}

.card-body {
	padding: 18px;
	flex: 1;
	background: #fff;
}

.card-specs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	padding: 8px 12px;
	background: #f8f9fa;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.spec-row:hover {
	background: #e8f0ff;
}

.spec-label {
	color: #666;
	font-weight: 500;
}

.spec-value {
	color: #0038ff;
	font-weight: 700;
	font-size: 14px;
}

.card-footer {
	padding: 16px 18px 18px;
	background: #fafbfc;
	border-top: 1px solid #f0f2f5;
}

.card-price {
	text-align: center;
	margin-bottom: 12px;
	padding: 8px 0;
}

.price-num {
	font-size: 32px;
	color: #ff6b00;
	font-weight: 800;
	letter-spacing: -1px;
}

.price-unit {
	font-size: 14px;
	color: #999;
	margin-left: 4px;
	font-weight: 500;
}

.price-original {
	font-size: 12px;
	color: #999;
	text-decoration: line-through;
	margin-top: 4px;
}

.price-label {
	font-size: 16px;
	color: #0038ff;
	font-weight: 700;
}

.card-btn {
	display: block;
	width: 100%;
	padding: 11px 0;
	text-align: center;
	background: linear-gradient(135deg, #0038ff 0%, #0052ff 100%);
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 56, 255, 0.2);
	letter-spacing: 0.5px;
}

.card-btn:hover {
	background: linear-gradient(135deg, #0030cc 0%, #0042dd 100%);
	box-shadow: 0 6px 16px rgba(0, 56, 255, 0.3);
	transform: translateY(-2px);
}

/* 活动规则 */
.activity-rules {
	background: #fff;
	padding: 60px 0 80px;
}

.rules-title {
	font-size: 32px;
	color: #1a1a1a;
	text-align: center;
	margin-bottom: 50px;
	font-weight: 700;
	position: relative;
	padding-bottom: 16px;
}

.rules-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #0038ff 0%, #ff6b00 100%);
	border-radius: 2px;
}

.rules-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.rule-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 30px;
	background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
	border-radius: 16px;
	border: 2px solid #e8ecf5;
	transition: all 0.3s ease;
	text-align: center;
}

.rule-item:hover {
	border-color: #0038ff;
	box-shadow: 0 8px 24px rgba(0, 56, 255, 0.1);
	transform: translateY(-4px);
}

.rule-number {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #0038ff 0%, #0052ff 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 24px;
	box-shadow: 0 4px 16px rgba(0, 56, 255, 0.25);
}

.rule-content h3 {
	font-size: 18px;
	color: #1a1a1a;
	margin-bottom: 12px;
	font-weight: 700;
}

.rule-content p {
	font-size: 14px;
	color: #666;
	line-height: 1.8;
}

@media (max-width: 900px) {
	.rules-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.rule-item {
		padding: 30px 24px;
	}
}

/* 底部联系 */
.activity-footer {
	background: #fff;
	padding: 50px 0;
	border-top: 1px solid #e5e5e5;
}

.footer-content {
	text-align: center;
}

.footer-content h3 {
	font-size: 24px;
	color: #333;
	margin-bottom: 12px;
	font-weight: 600;
}

.footer-content p {
	font-size: 15px;
	color: #666;
	margin-bottom: 30px;
}

.footer-buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-btn {
	padding: 12px 32px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	background: #0038ff;
	color: #fff;
	border: 1px solid #0038ff;
}

.footer-btn:hover {
	background: #0030cc;
	border-color: #0030cc;
}

.footer-btn.outline {
	background: #fff;
	color: #0038ff;
}

.footer-btn.outline:hover {
	background: #f5f7fa;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.activity-list {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tab-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.activity-list {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tab-content {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tabs-wrapper {
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	.tab-item {
		padding: 16px 24px;
		white-space: nowrap;
	}
}

@media (max-width: 600px) {
	.activity-list {
		grid-template-columns: 1fr;
	}
	
	.tab-content {
		grid-template-columns: 1fr;
	}
	
	.tab-item {
		padding: 14px 20px;
		font-size: 14px;
	}
	
	.card-title {
		font-size: 16px;
	}
	
	.rules-title {
		font-size: 24px;
	}
	
	.rule-item {
		padding: 20px;
	}
	
	.footer-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.footer-btn {
		width: 100%;
		max-width: 300px;
	}
}

/* 确保选项卡内容正确显示 */
.activity-content .por-container {
	width: 100%;
}

.activity-list.tab-content {
	width: 100%;
	display: none;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.activity-list.tab-content.active {
	display: grid !important;
}
